PR libstdc++/91067 fix missing exports for filesystem iterators
[gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for package-unused version-unused.
4 #
5 #
6 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
7 #
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 as_myself=
91 case $0 in #((
92 *[\\/]* ) as_myself=$0 ;;
93 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
94 for as_dir in $PATH
95 do
96 IFS=$as_save_IFS
97 test -z "$as_dir" && as_dir=.
98 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
99 done
100 IFS=$as_save_IFS
101
102 ;;
103 esac
104 # We did not find ourselves, most probably we were run as `sh COMMAND'
105 # in which case we are not to be found in the path.
106 if test "x$as_myself" = x; then
107 as_myself=$0
108 fi
109 if test ! -f "$as_myself"; then
110 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
111 exit 1
112 fi
113
114 # Unset variables that we do not need and which cause bugs (e.g. in
115 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
116 # suppresses any "Segmentation fault" message there. '((' could
117 # trigger a bug in pdksh 5.2.14.
118 for as_var in BASH_ENV ENV MAIL MAILPATH
119 do eval test x\${$as_var+set} = xset \
120 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
121 done
122 PS1='$ '
123 PS2='> '
124 PS4='+ '
125
126 # NLS nuisances.
127 LC_ALL=C
128 export LC_ALL
129 LANGUAGE=C
130 export LANGUAGE
131
132 # CDPATH.
133 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
134
135 # Use a proper internal environment variable to ensure we don't fall
136 # into an infinite loop, continuously re-executing ourselves.
137 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
138 _as_can_reexec=no; export _as_can_reexec;
139 # We cannot yet assume a decent shell, so we have to provide a
140 # neutralization value for shells without unset; and this also
141 # works around shells that cannot unset nonexistent variables.
142 # Preserve -v and -x to the replacement shell.
143 BASH_ENV=/dev/null
144 ENV=/dev/null
145 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
146 case $- in # ((((
147 *v*x* | *x*v* ) as_opts=-vx ;;
148 *v* ) as_opts=-v ;;
149 *x* ) as_opts=-x ;;
150 * ) as_opts= ;;
151 esac
152 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
153 # Admittedly, this is quite paranoid, since all the known shells bail
154 # out after a failed `exec'.
155 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
156 as_fn_exit 255
157 fi
158 # We don't want this to propagate to other subprocesses.
159 { _as_can_reexec=; unset _as_can_reexec;}
160 if test "x$CONFIG_SHELL" = x; then
161 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
162 emulate sh
163 NULLCMD=:
164 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
165 # is contrary to our usage. Disable this feature.
166 alias -g '\${1+\"\$@\"}'='\"\$@\"'
167 setopt NO_GLOB_SUBST
168 else
169 case \`(set -o) 2>/dev/null\` in #(
170 *posix*) :
171 set -o posix ;; #(
172 *) :
173 ;;
174 esac
175 fi
176 "
177 as_required="as_fn_return () { (exit \$1); }
178 as_fn_success () { as_fn_return 0; }
179 as_fn_failure () { as_fn_return 1; }
180 as_fn_ret_success () { return 0; }
181 as_fn_ret_failure () { return 1; }
182
183 exitcode=0
184 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
185 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
186 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
187 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
188 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
189
190 else
191 exitcode=1; echo positional parameters were not saved.
192 fi
193 test x\$exitcode = x0 || exit 1
194 test -x / || exit 1"
195 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
196 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
197 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
198 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
199 test \$(( 1 + 1 )) = 2 || exit 1
200
201 test -n \"\${ZSH_VERSION+set}\${BASH_VERSION+set}\" || (
202 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
203 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
204 ECHO=\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO\$ECHO
205 PATH=/empty FPATH=/empty; export PATH FPATH
206 test \"X\`printf %s \$ECHO\`\" = \"X\$ECHO\" \\
207 || test \"X\`print -r -- \$ECHO\`\" = \"X\$ECHO\" ) || exit 1"
208 if (eval "$as_required") 2>/dev/null; then :
209 as_have_required=yes
210 else
211 as_have_required=no
212 fi
213 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
214
215 else
216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
217 as_found=false
218 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
219 do
220 IFS=$as_save_IFS
221 test -z "$as_dir" && as_dir=.
222 as_found=:
223 case $as_dir in #(
224 /*)
225 for as_base in sh bash ksh sh5; do
226 # Try only shells that exist, to save several forks.
227 as_shell=$as_dir/$as_base
228 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
229 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
230 CONFIG_SHELL=$as_shell as_have_required=yes
231 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
232 break 2
233 fi
234 fi
235 done;;
236 esac
237 as_found=false
238 done
239 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
240 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
241 CONFIG_SHELL=$SHELL as_have_required=yes
242 fi; }
243 IFS=$as_save_IFS
244
245
246 if test "x$CONFIG_SHELL" != x; then :
247 export CONFIG_SHELL
248 # We cannot yet assume a decent shell, so we have to provide a
249 # neutralization value for shells without unset; and this also
250 # works around shells that cannot unset nonexistent variables.
251 # Preserve -v and -x to the replacement shell.
252 BASH_ENV=/dev/null
253 ENV=/dev/null
254 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
255 case $- in # ((((
256 *v*x* | *x*v* ) as_opts=-vx ;;
257 *v* ) as_opts=-v ;;
258 *x* ) as_opts=-x ;;
259 * ) as_opts= ;;
260 esac
261 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
262 # Admittedly, this is quite paranoid, since all the known shells bail
263 # out after a failed `exec'.
264 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
265 exit 255
266 fi
267
268 if test x$as_have_required = xno; then :
269 $as_echo "$0: This script requires a shell more modern than all"
270 $as_echo "$0: the shells that I found on your system."
271 if test x${ZSH_VERSION+set} = xset ; then
272 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
273 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
274 else
275 $as_echo "$0: Please tell bug-autoconf@gnu.org about your system,
276 $0: including any error possibly output before this
277 $0: message. Then install a modern shell, or manually run
278 $0: the script under such a shell if you do have one."
279 fi
280 exit 1
281 fi
282 fi
283 fi
284 SHELL=${CONFIG_SHELL-/bin/sh}
285 export SHELL
286 # Unset more variables known to interfere with behavior of common tools.
287 CLICOLOR_FORCE= GREP_OPTIONS=
288 unset CLICOLOR_FORCE GREP_OPTIONS
289
290 ## --------------------- ##
291 ## M4sh Shell Functions. ##
292 ## --------------------- ##
293 # as_fn_unset VAR
294 # ---------------
295 # Portably unset VAR.
296 as_fn_unset ()
297 {
298 { eval $1=; unset $1;}
299 }
300 as_unset=as_fn_unset
301
302 # as_fn_set_status STATUS
303 # -----------------------
304 # Set $? to STATUS, without forking.
305 as_fn_set_status ()
306 {
307 return $1
308 } # as_fn_set_status
309
310 # as_fn_exit STATUS
311 # -----------------
312 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
313 as_fn_exit ()
314 {
315 set +e
316 as_fn_set_status $1
317 exit $1
318 } # as_fn_exit
319
320 # as_fn_mkdir_p
321 # -------------
322 # Create "$as_dir" as a directory, including parents if necessary.
323 as_fn_mkdir_p ()
324 {
325
326 case $as_dir in #(
327 -*) as_dir=./$as_dir;;
328 esac
329 test -d "$as_dir" || eval $as_mkdir_p || {
330 as_dirs=
331 while :; do
332 case $as_dir in #(
333 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
334 *) as_qdir=$as_dir;;
335 esac
336 as_dirs="'$as_qdir' $as_dirs"
337 as_dir=`$as_dirname -- "$as_dir" ||
338 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
339 X"$as_dir" : 'X\(//\)[^/]' \| \
340 X"$as_dir" : 'X\(//\)$' \| \
341 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
342 $as_echo X"$as_dir" |
343 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
344 s//\1/
345 q
346 }
347 /^X\(\/\/\)[^/].*/{
348 s//\1/
349 q
350 }
351 /^X\(\/\/\)$/{
352 s//\1/
353 q
354 }
355 /^X\(\/\).*/{
356 s//\1/
357 q
358 }
359 s/.*/./; q'`
360 test -d "$as_dir" && break
361 done
362 test -z "$as_dirs" || eval "mkdir $as_dirs"
363 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
364
365
366 } # as_fn_mkdir_p
367
368 # as_fn_executable_p FILE
369 # -----------------------
370 # Test if FILE is an executable regular file.
371 as_fn_executable_p ()
372 {
373 test -f "$1" && test -x "$1"
374 } # as_fn_executable_p
375 # as_fn_append VAR VALUE
376 # ----------------------
377 # Append the text in VALUE to the end of the definition contained in VAR. Take
378 # advantage of any shell optimizations that allow amortized linear growth over
379 # repeated appends, instead of the typical quadratic growth present in naive
380 # implementations.
381 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
382 eval 'as_fn_append ()
383 {
384 eval $1+=\$2
385 }'
386 else
387 as_fn_append ()
388 {
389 eval $1=\$$1\$2
390 }
391 fi # as_fn_append
392
393 # as_fn_arith ARG...
394 # ------------------
395 # Perform arithmetic evaluation on the ARGs, and store the result in the
396 # global $as_val. Take advantage of shells that can avoid forks. The arguments
397 # must be portable across $(()) and expr.
398 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
399 eval 'as_fn_arith ()
400 {
401 as_val=$(( $* ))
402 }'
403 else
404 as_fn_arith ()
405 {
406 as_val=`expr "$@" || test $? -eq 1`
407 }
408 fi # as_fn_arith
409
410
411 # as_fn_error STATUS ERROR [LINENO LOG_FD]
412 # ----------------------------------------
413 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
414 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
415 # script with STATUS, using 1 if that was 0.
416 as_fn_error ()
417 {
418 as_status=$1; test $as_status -eq 0 && as_status=1
419 if test "$4"; then
420 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
421 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
422 fi
423 $as_echo "$as_me: error: $2" >&2
424 as_fn_exit $as_status
425 } # as_fn_error
426
427 if expr a : '\(a\)' >/dev/null 2>&1 &&
428 test "X`expr 00001 : '.*\(...\)'`" = X001; then
429 as_expr=expr
430 else
431 as_expr=false
432 fi
433
434 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
435 as_basename=basename
436 else
437 as_basename=false
438 fi
439
440 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
441 as_dirname=dirname
442 else
443 as_dirname=false
444 fi
445
446 as_me=`$as_basename -- "$0" ||
447 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
448 X"$0" : 'X\(//\)$' \| \
449 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
450 $as_echo X/"$0" |
451 sed '/^.*\/\([^/][^/]*\)\/*$/{
452 s//\1/
453 q
454 }
455 /^X\/\(\/\/\)$/{
456 s//\1/
457 q
458 }
459 /^X\/\(\/\).*/{
460 s//\1/
461 q
462 }
463 s/.*/./; q'`
464
465 # Avoid depending upon Character Ranges.
466 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
467 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
468 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
469 as_cr_digits='0123456789'
470 as_cr_alnum=$as_cr_Letters$as_cr_digits
471
472
473 as_lineno_1=$LINENO as_lineno_1a=$LINENO
474 as_lineno_2=$LINENO as_lineno_2a=$LINENO
475 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
476 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
477 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
478 sed -n '
479 p
480 /[$]LINENO/=
481 ' <$as_myself |
482 sed '
483 s/[$]LINENO.*/&-/
484 t lineno
485 b
486 :lineno
487 N
488 :loop
489 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
490 t loop
491 s/-\n.*//
492 ' >$as_me.lineno &&
493 chmod +x "$as_me.lineno" ||
494 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
495
496 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
497 # already done that, so ensure we don't try to do so again and fall
498 # in an infinite loop. This has already happened in practice.
499 _as_can_reexec=no; export _as_can_reexec
500 # Don't try to exec as it changes $[0], causing all sort of problems
501 # (the dirname of $[0] is not the place where we might find the
502 # original and so on. Autoconf is especially sensitive to this).
503 . "./$as_me.lineno"
504 # Exit status is that of the last command.
505 exit
506 }
507
508 ECHO_C= ECHO_N= ECHO_T=
509 case `echo -n x` in #(((((
510 -n*)
511 case `echo 'xy\c'` in
512 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
513 xy) ECHO_C='\c';;
514 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
515 ECHO_T=' ';;
516 esac;;
517 *)
518 ECHO_N='-n';;
519 esac
520
521 rm -f conf$$ conf$$.exe conf$$.file
522 if test -d conf$$.dir; then
523 rm -f conf$$.dir/conf$$.file
524 else
525 rm -f conf$$.dir
526 mkdir conf$$.dir 2>/dev/null
527 fi
528 if (echo >conf$$.file) 2>/dev/null; then
529 if ln -s conf$$.file conf$$ 2>/dev/null; then
530 as_ln_s='ln -s'
531 # ... but there are two gotchas:
532 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
533 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
534 # In both cases, we have to default to `cp -pR'.
535 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
536 as_ln_s='cp -pR'
537 elif ln conf$$.file conf$$ 2>/dev/null; then
538 as_ln_s=ln
539 else
540 as_ln_s='cp -pR'
541 fi
542 else
543 as_ln_s='cp -pR'
544 fi
545 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
546 rmdir conf$$.dir 2>/dev/null
547
548 if mkdir -p . 2>/dev/null; then
549 as_mkdir_p='mkdir -p "$as_dir"'
550 else
551 test -d ./-p && rmdir ./-p
552 as_mkdir_p=false
553 fi
554
555 as_test_x='test -x'
556 as_executable_p=as_fn_executable_p
557
558 # Sed expression to map a string onto a valid CPP name.
559 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
560
561 # Sed expression to map a string onto a valid variable name.
562 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
563
564 SHELL=${CONFIG_SHELL-/bin/sh}
565
566
567 test -n "$DJDIR" || exec 7<&0 </dev/null
568 exec 6>&1
569
570 # Name of the host.
571 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
572 # so uname gets run too.
573 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
574
575 #
576 # Initializations.
577 #
578 ac_default_prefix=/usr/local
579 ac_clean_files=
580 ac_config_libobj_dir=.
581 LIBOBJS=
582 cross_compiling=no
583 subdirs=
584 MFLAGS=
585 MAKEFLAGS=
586
587 # Identity of this package.
588 PACKAGE_NAME='package-unused'
589 PACKAGE_TARNAME='libstdc++'
590 PACKAGE_VERSION='version-unused'
591 PACKAGE_STRING='package-unused version-unused'
592 PACKAGE_BUGREPORT=''
593 PACKAGE_URL=''
594
595 ac_unique_file="src/shared/hashtable-aux.cc"
596 # Factoring default headers for most tests.
597 ac_includes_default="\
598 #include <stdio.h>
599 #ifdef HAVE_SYS_TYPES_H
600 # include <sys/types.h>
601 #endif
602 #ifdef HAVE_SYS_STAT_H
603 # include <sys/stat.h>
604 #endif
605 #ifdef STDC_HEADERS
606 # include <stdlib.h>
607 # include <stddef.h>
608 #else
609 # ifdef HAVE_STDLIB_H
610 # include <stdlib.h>
611 # endif
612 #endif
613 #ifdef HAVE_STRING_H
614 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
615 # include <memory.h>
616 # endif
617 # include <string.h>
618 #endif
619 #ifdef HAVE_STRINGS_H
620 # include <strings.h>
621 #endif
622 #ifdef HAVE_INTTYPES_H
623 # include <inttypes.h>
624 #endif
625 #ifdef HAVE_STDINT_H
626 # include <stdint.h>
627 #endif
628 #ifdef HAVE_UNISTD_H
629 # include <unistd.h>
630 #endif"
631
632 ac_subst_vars='am__EXEEXT_FALSE
633 am__EXEEXT_TRUE
634 LTLIBOBJS
635 LIBOBJS
636 get_gcc_base_ver
637 WARN_FLAGS
638 OPTIMIZE_CXXFLAGS
639 TOPLEVEL_INCLUDES
640 GLIBCXX_INCLUDES
641 glibcxx_toolexeclibdir
642 glibcxx_toolexecdir
643 gxx_include_dir
644 glibcxx_prefixdir
645 EXTRA_CFLAGS
646 CPU_OPT_BITS_RANDOM
647 CPU_OPT_EXT_RANDOM
648 ERROR_CONSTANTS_SRCDIR
649 OS_INC_SRCDIR
650 ABI_TWEAKS_SRCDIR
651 CPU_DEFINES_SRCDIR
652 ATOMIC_FLAGS
653 ATOMIC_WORD_SRCDIR
654 ATOMICITY_SRCDIR
655 INCLUDE_DIR_NOTPARALLEL_FALSE
656 INCLUDE_DIR_NOTPARALLEL_TRUE
657 BUILD_PDF_FALSE
658 BUILD_PDF_TRUE
659 PDFLATEX
660 DBLATEX
661 BUILD_MAN_FALSE
662 BUILD_MAN_TRUE
663 BUILD_HTML_FALSE
664 BUILD_HTML_TRUE
665 BUILD_XML_FALSE
666 BUILD_XML_TRUE
667 BUILD_EPUB_FALSE
668 BUILD_EPUB_TRUE
669 XSL_STYLE_DIR
670 XMLLINT
671 XSLTPROC
672 XMLCATALOG
673 DOT
674 DOXYGEN
675 BUILD_INFO_FALSE
676 BUILD_INFO_TRUE
677 ENABLE_FILESYSTEM_TS_FALSE
678 ENABLE_FILESYSTEM_TS_TRUE
679 baseline_subdir_switch
680 baseline_dir
681 HWCAP_CFLAGS
682 GLIBCXX_LDBL_COMPAT_FALSE
683 GLIBCXX_LDBL_COMPAT_TRUE
684 LONG_DOUBLE_COMPAT_FLAGS
685 ENABLE_CXX11_ABI_FALSE
686 ENABLE_CXX11_ABI_TRUE
687 glibcxx_cxx98_abi
688 ENABLE_DUAL_ABI_FALSE
689 ENABLE_DUAL_ABI_TRUE
690 ENABLE_VISIBILITY_FALSE
691 ENABLE_VISIBILITY_TRUE
692 libtool_VERSION
693 ENABLE_SYMVERS_SUN_FALSE
694 ENABLE_SYMVERS_SUN_TRUE
695 ENABLE_SYMVERS_DARWIN_FALSE
696 ENABLE_SYMVERS_DARWIN_TRUE
697 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
698 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
699 ENABLE_SYMVERS_GNU_FALSE
700 ENABLE_SYMVERS_GNU_TRUE
701 ENABLE_SYMVERS_FALSE
702 ENABLE_SYMVERS_TRUE
703 port_specific_symbol_files
704 SYMVER_FILE
705 CXXFILT
706 LTLIBICONV
707 LIBICONV
708 OPT_LDFLAGS
709 SECTION_LDFLAGS
710 GLIBCXX_LIBS
711 ENABLE_VTABLE_VERIFY_FALSE
712 ENABLE_VTABLE_VERIFY_TRUE
713 VTV_CYGMIN_FALSE
714 VTV_CYGMIN_TRUE
715 VTV_CXXLINKFLAGS
716 VTV_PCH_CXXFLAGS
717 VTV_CXXFLAGS
718 ENABLE_WERROR_FALSE
719 ENABLE_WERROR_TRUE
720 ENABLE_PYTHONDIR_FALSE
721 ENABLE_PYTHONDIR_TRUE
722 python_mod_dir
723 ENABLE_EXTERN_TEMPLATE_FALSE
724 ENABLE_EXTERN_TEMPLATE_TRUE
725 EXTRA_CXX_FLAGS
726 GLIBCXX_BUILD_DEBUG_FALSE
727 GLIBCXX_BUILD_DEBUG_TRUE
728 DEBUG_FLAGS
729 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
730 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
731 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
732 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
733 GLIBCXX_C_HEADERS_C_STD_FALSE
734 GLIBCXX_C_HEADERS_C_STD_TRUE
735 GLIBCXX_C_HEADERS_C_FALSE
736 GLIBCXX_C_HEADERS_C_TRUE
737 C_INCLUDE_DIR
738 ALLOCATOR_NAME
739 ALLOCATOR_H
740 ENABLE_ALLOCATOR_NEW_FALSE
741 ENABLE_ALLOCATOR_NEW_TRUE
742 CLOCALE_INTERNAL_H
743 CLOCALE_CC
744 CTIME_CC
745 CTIME_H
746 CNUMERIC_CC
747 CMONEY_CC
748 CMESSAGES_CC
749 CCTYPE_CC
750 CCOLLATE_CC
751 CCODECVT_CC
752 CMESSAGES_H
753 CLOCALE_H
754 USE_NLS
755 glibcxx_localedir
756 glibcxx_POFILES
757 glibcxx_MOFILES
758 check_msgfmt
759 BASIC_FILE_CC
760 BASIC_FILE_H
761 CSTDIO_H
762 SECTION_FLAGS
763 ENABLE_FLOAT128_FALSE
764 ENABLE_FLOAT128_TRUE
765 thread_header
766 glibcxx_PCHFLAGS
767 GLIBCXX_BUILD_PCH_FALSE
768 GLIBCXX_BUILD_PCH_TRUE
769 GLIBCXX_HOSTED_FALSE
770 GLIBCXX_HOSTED_TRUE
771 glibcxx_compiler_shared_flag
772 glibcxx_compiler_pic_flag
773 glibcxx_lt_pic_flag
774 enable_static
775 enable_shared
776 lt_host_flags
777 CXXCPP
778 OTOOL64
779 OTOOL
780 LIPO
781 NMEDIT
782 DSYMUTIL
783 OBJDUMP
784 NM
785 ac_ct_DUMPBIN
786 DUMPBIN
787 LD
788 FGREP
789 SED
790 LIBTOOL
791 EGREP
792 GREP
793 CPP
794 MAINT
795 MAINTAINER_MODE_FALSE
796 MAINTAINER_MODE_TRUE
797 RANLIB
798 AR
799 AS
800 LN_S
801 toplevel_srcdir
802 toplevel_builddir
803 glibcxx_srcdir
804 glibcxx_builddir
805 ac_ct_CXX
806 CXXFLAGS
807 CXX
808 OBJEXT
809 EXEEXT
810 ac_ct_CC
811 CPPFLAGS
812 LDFLAGS
813 CFLAGS
814 CC
815 AM_BACKSLASH
816 AM_DEFAULT_VERBOSITY
817 AM_DEFAULT_V
818 AM_V
819 am__untar
820 am__tar
821 AMTAR
822 am__leading_dot
823 SET_MAKE
824 AWK
825 mkdir_p
826 MKDIR_P
827 INSTALL_STRIP_PROGRAM
828 STRIP
829 install_sh
830 MAKEINFO
831 AUTOHEADER
832 AUTOMAKE
833 AUTOCONF
834 ACLOCAL
835 VERSION
836 PACKAGE
837 CYGPATH_W
838 am__isrc
839 INSTALL_DATA
840 INSTALL_SCRIPT
841 INSTALL_PROGRAM
842 target_os
843 target_vendor
844 target_cpu
845 target
846 host_os
847 host_vendor
848 host_cpu
849 host
850 build_os
851 build_vendor
852 build_cpu
853 build
854 multi_basedir
855 target_alias
856 host_alias
857 build_alias
858 LIBS
859 ECHO_T
860 ECHO_N
861 ECHO_C
862 DEFS
863 mandir
864 localedir
865 libdir
866 psdir
867 pdfdir
868 dvidir
869 htmldir
870 infodir
871 docdir
872 oldincludedir
873 includedir
874 localstatedir
875 sharedstatedir
876 sysconfdir
877 datadir
878 datarootdir
879 libexecdir
880 sbindir
881 bindir
882 program_transform_name
883 prefix
884 exec_prefix
885 PACKAGE_URL
886 PACKAGE_BUGREPORT
887 PACKAGE_STRING
888 PACKAGE_VERSION
889 PACKAGE_TARNAME
890 PACKAGE_NAME
891 PATH_SEPARATOR
892 SHELL'
893 ac_subst_files=''
894 ac_user_opts='
895 enable_option_checking
896 enable_multilib
897 enable_silent_rules
898 with_target_subdir
899 with_cross_host
900 with_newlib
901 enable_maintainer_mode
902 enable_shared
903 enable_static
904 with_pic
905 enable_fast_install
906 with_gnu_ld
907 enable_libtool_lock
908 enable_hosted_libstdcxx
909 enable_libstdcxx_verbose
910 enable_libstdcxx_pch
911 with_libstdcxx_lock_policy
912 enable_cstdio
913 enable_clocale
914 enable_nls
915 enable_libstdcxx_allocator
916 enable_cheaders
917 enable_long_long
918 enable_wchar_t
919 enable_c99
920 enable_concept_checks
921 enable_libstdcxx_debug_flags
922 enable_libstdcxx_debug
923 enable_cxx_flags
924 enable_fully_dynamic_string
925 enable_extern_template
926 with_python_dir
927 enable_werror
928 enable_vtable_verify
929 enable_libstdcxx_time
930 enable_tls
931 enable_rpath
932 with_libiconv_prefix
933 with_system_libunwind
934 enable_linux_futex
935 enable_symvers
936 enable_libstdcxx_visibility
937 enable_libstdcxx_dual_abi
938 with_default_libstdcxx_abi
939 enable_libstdcxx_threads
940 enable_libstdcxx_filesystem_ts
941 enable_cet
942 with_gxx_include_dir
943 enable_version_specific_runtime_libs
944 with_gcc_major_version_only
945 '
946 ac_precious_vars='build_alias
947 host_alias
948 target_alias
949 CC
950 CFLAGS
951 LDFLAGS
952 LIBS
953 CPPFLAGS
954 CXX
955 CXXFLAGS
956 CCC
957 CPP
958 CXXCPP
959 CXXFILT'
960
961
962 # Initialize some variables set by options.
963 ac_init_help=
964 ac_init_version=false
965 ac_unrecognized_opts=
966 ac_unrecognized_sep=
967 # The variables have the same names as the options, with
968 # dashes changed to underlines.
969 cache_file=/dev/null
970 exec_prefix=NONE
971 no_create=
972 no_recursion=
973 prefix=NONE
974 program_prefix=NONE
975 program_suffix=NONE
976 program_transform_name=s,x,x,
977 silent=
978 site=
979 srcdir=
980 verbose=
981 x_includes=NONE
982 x_libraries=NONE
983
984 # Installation directory options.
985 # These are left unexpanded so users can "make install exec_prefix=/foo"
986 # and all the variables that are supposed to be based on exec_prefix
987 # by default will actually change.
988 # Use braces instead of parens because sh, perl, etc. also accept them.
989 # (The list follows the same order as the GNU Coding Standards.)
990 bindir='${exec_prefix}/bin'
991 sbindir='${exec_prefix}/sbin'
992 libexecdir='${exec_prefix}/libexec'
993 datarootdir='${prefix}/share'
994 datadir='${datarootdir}'
995 sysconfdir='${prefix}/etc'
996 sharedstatedir='${prefix}/com'
997 localstatedir='${prefix}/var'
998 includedir='${prefix}/include'
999 oldincludedir='/usr/include'
1000 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1001 infodir='${datarootdir}/info'
1002 htmldir='${docdir}'
1003 dvidir='${docdir}'
1004 pdfdir='${docdir}'
1005 psdir='${docdir}'
1006 libdir='${exec_prefix}/lib'
1007 localedir='${datarootdir}/locale'
1008 mandir='${datarootdir}/man'
1009
1010 ac_prev=
1011 ac_dashdash=
1012 for ac_option
1013 do
1014 # If the previous option needs an argument, assign it.
1015 if test -n "$ac_prev"; then
1016 eval $ac_prev=\$ac_option
1017 ac_prev=
1018 continue
1019 fi
1020
1021 case $ac_option in
1022 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1023 *=) ac_optarg= ;;
1024 *) ac_optarg=yes ;;
1025 esac
1026
1027 # Accept the important Cygnus configure options, so we can diagnose typos.
1028
1029 case $ac_dashdash$ac_option in
1030 --)
1031 ac_dashdash=yes ;;
1032
1033 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1034 ac_prev=bindir ;;
1035 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1036 bindir=$ac_optarg ;;
1037
1038 -build | --build | --buil | --bui | --bu)
1039 ac_prev=build_alias ;;
1040 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1041 build_alias=$ac_optarg ;;
1042
1043 -cache-file | --cache-file | --cache-fil | --cache-fi \
1044 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1045 ac_prev=cache_file ;;
1046 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1047 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1048 cache_file=$ac_optarg ;;
1049
1050 --config-cache | -C)
1051 cache_file=config.cache ;;
1052
1053 -datadir | --datadir | --datadi | --datad)
1054 ac_prev=datadir ;;
1055 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1056 datadir=$ac_optarg ;;
1057
1058 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1059 | --dataroo | --dataro | --datar)
1060 ac_prev=datarootdir ;;
1061 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1062 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1063 datarootdir=$ac_optarg ;;
1064
1065 -disable-* | --disable-*)
1066 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1067 # Reject names that are not valid shell variable names.
1068 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1069 as_fn_error $? "invalid feature name: $ac_useropt"
1070 ac_useropt_orig=$ac_useropt
1071 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1072 case $ac_user_opts in
1073 *"
1074 "enable_$ac_useropt"
1075 "*) ;;
1076 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1077 ac_unrecognized_sep=', ';;
1078 esac
1079 eval enable_$ac_useropt=no ;;
1080
1081 -docdir | --docdir | --docdi | --doc | --do)
1082 ac_prev=docdir ;;
1083 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1084 docdir=$ac_optarg ;;
1085
1086 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1087 ac_prev=dvidir ;;
1088 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1089 dvidir=$ac_optarg ;;
1090
1091 -enable-* | --enable-*)
1092 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1093 # Reject names that are not valid shell variable names.
1094 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1095 as_fn_error $? "invalid feature name: $ac_useropt"
1096 ac_useropt_orig=$ac_useropt
1097 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1098 case $ac_user_opts in
1099 *"
1100 "enable_$ac_useropt"
1101 "*) ;;
1102 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1103 ac_unrecognized_sep=', ';;
1104 esac
1105 eval enable_$ac_useropt=\$ac_optarg ;;
1106
1107 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1108 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1109 | --exec | --exe | --ex)
1110 ac_prev=exec_prefix ;;
1111 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1112 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1113 | --exec=* | --exe=* | --ex=*)
1114 exec_prefix=$ac_optarg ;;
1115
1116 -gas | --gas | --ga | --g)
1117 # Obsolete; use --with-gas.
1118 with_gas=yes ;;
1119
1120 -help | --help | --hel | --he | -h)
1121 ac_init_help=long ;;
1122 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1123 ac_init_help=recursive ;;
1124 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1125 ac_init_help=short ;;
1126
1127 -host | --host | --hos | --ho)
1128 ac_prev=host_alias ;;
1129 -host=* | --host=* | --hos=* | --ho=*)
1130 host_alias=$ac_optarg ;;
1131
1132 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1133 ac_prev=htmldir ;;
1134 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1135 | --ht=*)
1136 htmldir=$ac_optarg ;;
1137
1138 -includedir | --includedir | --includedi | --included | --include \
1139 | --includ | --inclu | --incl | --inc)
1140 ac_prev=includedir ;;
1141 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1142 | --includ=* | --inclu=* | --incl=* | --inc=*)
1143 includedir=$ac_optarg ;;
1144
1145 -infodir | --infodir | --infodi | --infod | --info | --inf)
1146 ac_prev=infodir ;;
1147 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1148 infodir=$ac_optarg ;;
1149
1150 -libdir | --libdir | --libdi | --libd)
1151 ac_prev=libdir ;;
1152 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1153 libdir=$ac_optarg ;;
1154
1155 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1156 | --libexe | --libex | --libe)
1157 ac_prev=libexecdir ;;
1158 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1159 | --libexe=* | --libex=* | --libe=*)
1160 libexecdir=$ac_optarg ;;
1161
1162 -localedir | --localedir | --localedi | --localed | --locale)
1163 ac_prev=localedir ;;
1164 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1165 localedir=$ac_optarg ;;
1166
1167 -localstatedir | --localstatedir | --localstatedi | --localstated \
1168 | --localstate | --localstat | --localsta | --localst | --locals)
1169 ac_prev=localstatedir ;;
1170 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1171 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1172 localstatedir=$ac_optarg ;;
1173
1174 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1175 ac_prev=mandir ;;
1176 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1177 mandir=$ac_optarg ;;
1178
1179 -nfp | --nfp | --nf)
1180 # Obsolete; use --without-fp.
1181 with_fp=no ;;
1182
1183 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1184 | --no-cr | --no-c | -n)
1185 no_create=yes ;;
1186
1187 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1188 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1189 no_recursion=yes ;;
1190
1191 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1192 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1193 | --oldin | --oldi | --old | --ol | --o)
1194 ac_prev=oldincludedir ;;
1195 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1196 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1197 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1198 oldincludedir=$ac_optarg ;;
1199
1200 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1201 ac_prev=prefix ;;
1202 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1203 prefix=$ac_optarg ;;
1204
1205 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1206 | --program-pre | --program-pr | --program-p)
1207 ac_prev=program_prefix ;;
1208 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1209 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1210 program_prefix=$ac_optarg ;;
1211
1212 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1213 | --program-suf | --program-su | --program-s)
1214 ac_prev=program_suffix ;;
1215 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1216 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1217 program_suffix=$ac_optarg ;;
1218
1219 -program-transform-name | --program-transform-name \
1220 | --program-transform-nam | --program-transform-na \
1221 | --program-transform-n | --program-transform- \
1222 | --program-transform | --program-transfor \
1223 | --program-transfo | --program-transf \
1224 | --program-trans | --program-tran \
1225 | --progr-tra | --program-tr | --program-t)
1226 ac_prev=program_transform_name ;;
1227 -program-transform-name=* | --program-transform-name=* \
1228 | --program-transform-nam=* | --program-transform-na=* \
1229 | --program-transform-n=* | --program-transform-=* \
1230 | --program-transform=* | --program-transfor=* \
1231 | --program-transfo=* | --program-transf=* \
1232 | --program-trans=* | --program-tran=* \
1233 | --progr-tra=* | --program-tr=* | --program-t=*)
1234 program_transform_name=$ac_optarg ;;
1235
1236 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1237 ac_prev=pdfdir ;;
1238 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1239 pdfdir=$ac_optarg ;;
1240
1241 -psdir | --psdir | --psdi | --psd | --ps)
1242 ac_prev=psdir ;;
1243 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1244 psdir=$ac_optarg ;;
1245
1246 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1247 | -silent | --silent | --silen | --sile | --sil)
1248 silent=yes ;;
1249
1250 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1251 ac_prev=sbindir ;;
1252 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1253 | --sbi=* | --sb=*)
1254 sbindir=$ac_optarg ;;
1255
1256 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1257 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1258 | --sharedst | --shareds | --shared | --share | --shar \
1259 | --sha | --sh)
1260 ac_prev=sharedstatedir ;;
1261 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1262 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1263 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1264 | --sha=* | --sh=*)
1265 sharedstatedir=$ac_optarg ;;
1266
1267 -site | --site | --sit)
1268 ac_prev=site ;;
1269 -site=* | --site=* | --sit=*)
1270 site=$ac_optarg ;;
1271
1272 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1273 ac_prev=srcdir ;;
1274 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1275 srcdir=$ac_optarg ;;
1276
1277 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1278 | --syscon | --sysco | --sysc | --sys | --sy)
1279 ac_prev=sysconfdir ;;
1280 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1281 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1282 sysconfdir=$ac_optarg ;;
1283
1284 -target | --target | --targe | --targ | --tar | --ta | --t)
1285 ac_prev=target_alias ;;
1286 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1287 target_alias=$ac_optarg ;;
1288
1289 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1290 verbose=yes ;;
1291
1292 -version | --version | --versio | --versi | --vers | -V)
1293 ac_init_version=: ;;
1294
1295 -with-* | --with-*)
1296 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1297 # Reject names that are not valid shell variable names.
1298 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1299 as_fn_error $? "invalid package name: $ac_useropt"
1300 ac_useropt_orig=$ac_useropt
1301 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1302 case $ac_user_opts in
1303 *"
1304 "with_$ac_useropt"
1305 "*) ;;
1306 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1307 ac_unrecognized_sep=', ';;
1308 esac
1309 eval with_$ac_useropt=\$ac_optarg ;;
1310
1311 -without-* | --without-*)
1312 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1313 # Reject names that are not valid shell variable names.
1314 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1315 as_fn_error $? "invalid package name: $ac_useropt"
1316 ac_useropt_orig=$ac_useropt
1317 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1318 case $ac_user_opts in
1319 *"
1320 "with_$ac_useropt"
1321 "*) ;;
1322 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1323 ac_unrecognized_sep=', ';;
1324 esac
1325 eval with_$ac_useropt=no ;;
1326
1327 --x)
1328 # Obsolete; use --with-x.
1329 with_x=yes ;;
1330
1331 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1332 | --x-incl | --x-inc | --x-in | --x-i)
1333 ac_prev=x_includes ;;
1334 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1335 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1336 x_includes=$ac_optarg ;;
1337
1338 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1339 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1340 ac_prev=x_libraries ;;
1341 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1342 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1343 x_libraries=$ac_optarg ;;
1344
1345 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1346 Try \`$0 --help' for more information"
1347 ;;
1348
1349 *=*)
1350 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1351 # Reject names that are not valid shell variable names.
1352 case $ac_envvar in #(
1353 '' | [0-9]* | *[!_$as_cr_alnum]* )
1354 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1355 esac
1356 eval $ac_envvar=\$ac_optarg
1357 export $ac_envvar ;;
1358
1359 *)
1360 # FIXME: should be removed in autoconf 3.0.
1361 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1362 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1363 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1364 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1365 ;;
1366
1367 esac
1368 done
1369
1370 if test -n "$ac_prev"; then
1371 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1372 as_fn_error $? "missing argument to $ac_option"
1373 fi
1374
1375 if test -n "$ac_unrecognized_opts"; then
1376 case $enable_option_checking in
1377 no) ;;
1378 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1379 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1380 esac
1381 fi
1382
1383 # Check all directory arguments for consistency.
1384 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1385 datadir sysconfdir sharedstatedir localstatedir includedir \
1386 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1387 libdir localedir mandir
1388 do
1389 eval ac_val=\$$ac_var
1390 # Remove trailing slashes.
1391 case $ac_val in
1392 */ )
1393 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1394 eval $ac_var=\$ac_val;;
1395 esac
1396 # Be sure to have absolute directory names.
1397 case $ac_val in
1398 [\\/$]* | ?:[\\/]* ) continue;;
1399 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1400 esac
1401 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1402 done
1403
1404 # There might be people who depend on the old broken behavior: `$host'
1405 # used to hold the argument of --host etc.
1406 # FIXME: To remove some day.
1407 build=$build_alias
1408 host=$host_alias
1409 target=$target_alias
1410
1411 # FIXME: To remove some day.
1412 if test "x$host_alias" != x; then
1413 if test "x$build_alias" = x; then
1414 cross_compiling=maybe
1415 elif test "x$build_alias" != "x$host_alias"; then
1416 cross_compiling=yes
1417 fi
1418 fi
1419
1420 ac_tool_prefix=
1421 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1422
1423 test "$silent" = yes && exec 6>/dev/null
1424
1425
1426 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1427 ac_ls_di=`ls -di .` &&
1428 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1429 as_fn_error $? "working directory cannot be determined"
1430 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1431 as_fn_error $? "pwd does not report name of working directory"
1432
1433
1434 # Find the source files, if location was not specified.
1435 if test -z "$srcdir"; then
1436 ac_srcdir_defaulted=yes
1437 # Try the directory containing this script, then the parent directory.
1438 ac_confdir=`$as_dirname -- "$as_myself" ||
1439 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1440 X"$as_myself" : 'X\(//\)[^/]' \| \
1441 X"$as_myself" : 'X\(//\)$' \| \
1442 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1443 $as_echo X"$as_myself" |
1444 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1445 s//\1/
1446 q
1447 }
1448 /^X\(\/\/\)[^/].*/{
1449 s//\1/
1450 q
1451 }
1452 /^X\(\/\/\)$/{
1453 s//\1/
1454 q
1455 }
1456 /^X\(\/\).*/{
1457 s//\1/
1458 q
1459 }
1460 s/.*/./; q'`
1461 srcdir=$ac_confdir
1462 if test ! -r "$srcdir/$ac_unique_file"; then
1463 srcdir=..
1464 fi
1465 else
1466 ac_srcdir_defaulted=no
1467 fi
1468 if test ! -r "$srcdir/$ac_unique_file"; then
1469 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1470 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1471 fi
1472 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1473 ac_abs_confdir=`(
1474 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1475 pwd)`
1476 # When building in place, set srcdir=.
1477 if test "$ac_abs_confdir" = "$ac_pwd"; then
1478 srcdir=.
1479 fi
1480 # Remove unnecessary trailing slashes from srcdir.
1481 # Double slashes in file names in object file debugging info
1482 # mess up M-x gdb in Emacs.
1483 case $srcdir in
1484 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1485 esac
1486 for ac_var in $ac_precious_vars; do
1487 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1488 eval ac_env_${ac_var}_value=\$${ac_var}
1489 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1490 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1491 done
1492
1493 #
1494 # Report the --help message.
1495 #
1496 if test "$ac_init_help" = "long"; then
1497 # Omit some internal or obsolete options to make the list less imposing.
1498 # This message is too long to be a string in the A/UX 3.1 sh.
1499 cat <<_ACEOF
1500 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1501
1502 Usage: $0 [OPTION]... [VAR=VALUE]...
1503
1504 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1505 VAR=VALUE. See below for descriptions of some of the useful variables.
1506
1507 Defaults for the options are specified in brackets.
1508
1509 Configuration:
1510 -h, --help display this help and exit
1511 --help=short display options specific to this package
1512 --help=recursive display the short help of all the included packages
1513 -V, --version display version information and exit
1514 -q, --quiet, --silent do not print \`checking ...' messages
1515 --cache-file=FILE cache test results in FILE [disabled]
1516 -C, --config-cache alias for \`--cache-file=config.cache'
1517 -n, --no-create do not create output files
1518 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1519
1520 Installation directories:
1521 --prefix=PREFIX install architecture-independent files in PREFIX
1522 [$ac_default_prefix]
1523 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1524 [PREFIX]
1525
1526 By default, \`make install' will install all the files in
1527 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1528 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1529 for instance \`--prefix=\$HOME'.
1530
1531 For better control, use the options below.
1532
1533 Fine tuning of the installation directories:
1534 --bindir=DIR user executables [EPREFIX/bin]
1535 --sbindir=DIR system admin executables [EPREFIX/sbin]
1536 --libexecdir=DIR program executables [EPREFIX/libexec]
1537 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1538 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1539 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1540 --libdir=DIR object code libraries [EPREFIX/lib]
1541 --includedir=DIR C header files [PREFIX/include]
1542 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1543 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1544 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1545 --infodir=DIR info documentation [DATAROOTDIR/info]
1546 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1547 --mandir=DIR man documentation [DATAROOTDIR/man]
1548 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1549 --htmldir=DIR html documentation [DOCDIR]
1550 --dvidir=DIR dvi documentation [DOCDIR]
1551 --pdfdir=DIR pdf documentation [DOCDIR]
1552 --psdir=DIR ps documentation [DOCDIR]
1553 _ACEOF
1554
1555 cat <<\_ACEOF
1556
1557 Program names:
1558 --program-prefix=PREFIX prepend PREFIX to installed program names
1559 --program-suffix=SUFFIX append SUFFIX to installed program names
1560 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1561
1562 System types:
1563 --build=BUILD configure for building on BUILD [guessed]
1564 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1565 --target=TARGET configure for building compilers for TARGET [HOST]
1566 _ACEOF
1567 fi
1568
1569 if test -n "$ac_init_help"; then
1570 case $ac_init_help in
1571 short | recursive ) echo "Configuration of package-unused version-unused:";;
1572 esac
1573 cat <<\_ACEOF
1574
1575 Optional Features:
1576 --disable-option-checking ignore unrecognized --enable/--with options
1577 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1578 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1579 --enable-multilib build many library versions (default)
1580 --enable-silent-rules less verbose build output (undo: "make V=1")
1581 --disable-silent-rules verbose build output (undo: "make V=0")
1582 --enable-maintainer-mode
1583 enable make rules and dependencies not useful (and
1584 sometimes confusing) to the casual installer
1585 --enable-shared[=PKGS] build shared libraries [default=yes]
1586 --enable-static[=PKGS] build static libraries [default=yes]
1587 --enable-fast-install[=PKGS]
1588 optimize for fast installation [default=yes]
1589 --disable-libtool-lock avoid locking (might break parallel builds)
1590 --disable-hosted-libstdcxx
1591 only build freestanding C++ runtime support
1592 --disable-libstdcxx-verbose
1593 disable termination messages to standard error
1594 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1595 [default=$is_hosted]
1596 --enable-cstdio[=PACKAGE]
1597 use target-specific I/O package [default=stdio]
1598 --enable-clocale[=MODEL]
1599 use MODEL for target locale package [default=auto]
1600 --enable-nls use Native Language Support (default)
1601 --enable-libstdcxx-allocator[=KIND]
1602 use KIND for target std::allocator base
1603 [default=auto]
1604 --enable-cheaders[=KIND]
1605 construct "C" headers for g++ [default=$c_model]
1606 --enable-long-long enable template specializations for 'long long'
1607 [default=yes]
1608 --enable-wchar_t enable template specializations for 'wchar_t'
1609 [default=yes]
1610 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1611 --enable-concept-checks use Boost-derived template checks [default=no]
1612 --enable-libstdcxx-debug-flags=FLAGS
1613 pass compiler FLAGS when building debug library
1614 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1615 --enable-libstdcxx-debug
1616 build extra debug library [default=no]
1617 --enable-cxx-flags=FLAGS
1618 pass compiler FLAGS when building library [default=]
1619 --enable-fully-dynamic-string
1620 do not put empty strings in per-process static
1621 memory [default=no]
1622 --enable-extern-template
1623 enable extern template [default=yes]
1624 --enable-werror turns on -Werror [default=no]
1625 --enable-vtable-verify enable vtable verify [default=no]
1626 --enable-libstdcxx-time[=KIND]
1627 use KIND for check type [default=auto]
1628 --enable-tls Use thread-local storage [default=yes]
1629 --disable-rpath do not hardcode runtime library paths
1630 --enable-linux-futex use the Linux futex system call [default=default]
1631 --enable-symvers[=STYLE]
1632 enables symbol versioning of the shared library
1633 [default=yes]
1634 --enable-libstdcxx-visibility
1635 enables visibility safe usage [default=yes]
1636 --enable-libstdcxx-dual-abi
1637 support two versions of std::string [default=yes]
1638 --enable-libstdcxx-threads
1639 enable C++11 threads support [default=auto]
1640 --enable-libstdcxx-filesystem-ts
1641 turns on ISO/IEC TS 18822 support [default=auto]
1642 --enable-cet enable Intel CET in target libraries [default=no]
1643 --enable-version-specific-runtime-libs
1644 Specify that runtime libraries should be installed
1645 in a compiler-specific directory
1646
1647 Optional Packages:
1648 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1649 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1650 --with-target-subdir=SUBDIR
1651 configuring in a subdirectory
1652 --with-cross-host=HOST configuring with a cross compiler
1653 --with-newlib assume newlib as a system C library
1654 --with-pic try to use only PIC/non-PIC objects [default=use
1655 both]
1656 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1657 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1658 synchronization policy for shared_ptr reference
1659 counting [default=auto]
1660 --with-python-dir the location to install Python modules. This path is
1661 relative starting from the prefix.
1662 --with-gnu-ld assume the C compiler uses GNU ld default=no
1663 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1664 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1665 --with-system-libunwind use installed libunwind
1666 --with-default-libstdcxx-abi
1667 set the std::string ABI to use by default
1668 --with-gxx-include-dir=DIR
1669 installation directory for include files
1670 --with-gcc-major-version-only
1671 use only GCC major number in filesystem paths
1672
1673 Some influential environment variables:
1674 CC C compiler command
1675 CFLAGS C compiler flags
1676 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1677 nonstandard directory <lib dir>
1678 LIBS libraries to pass to the linker, e.g. -l<library>
1679 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1680 you have headers in a nonstandard directory <include dir>
1681 CXX C++ compiler command
1682 CXXFLAGS C++ compiler flags
1683 CPP C preprocessor
1684 CXXCPP C++ preprocessor
1685 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1686 `c++filt', `gc++filt' on PATH.
1687
1688 Use these variables to override the choices made by `configure' or to help
1689 it to find libraries and programs with nonstandard names/locations.
1690
1691 Report bugs to the package provider.
1692 _ACEOF
1693 ac_status=$?
1694 fi
1695
1696 if test "$ac_init_help" = "recursive"; then
1697 # If there are subdirs, report their specific --help.
1698 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1699 test -d "$ac_dir" ||
1700 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1701 continue
1702 ac_builddir=.
1703
1704 case "$ac_dir" in
1705 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1706 *)
1707 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1708 # A ".." for each directory in $ac_dir_suffix.
1709 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1710 case $ac_top_builddir_sub in
1711 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1712 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1713 esac ;;
1714 esac
1715 ac_abs_top_builddir=$ac_pwd
1716 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1717 # for backward compatibility:
1718 ac_top_builddir=$ac_top_build_prefix
1719
1720 case $srcdir in
1721 .) # We are building in place.
1722 ac_srcdir=.
1723 ac_top_srcdir=$ac_top_builddir_sub
1724 ac_abs_top_srcdir=$ac_pwd ;;
1725 [\\/]* | ?:[\\/]* ) # Absolute name.
1726 ac_srcdir=$srcdir$ac_dir_suffix;
1727 ac_top_srcdir=$srcdir
1728 ac_abs_top_srcdir=$srcdir ;;
1729 *) # Relative name.
1730 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1731 ac_top_srcdir=$ac_top_build_prefix$srcdir
1732 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1733 esac
1734 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1735
1736 cd "$ac_dir" || { ac_status=$?; continue; }
1737 # Check for guested configure.
1738 if test -f "$ac_srcdir/configure.gnu"; then
1739 echo &&
1740 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1741 elif test -f "$ac_srcdir/configure"; then
1742 echo &&
1743 $SHELL "$ac_srcdir/configure" --help=recursive
1744 else
1745 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1746 fi || ac_status=$?
1747 cd "$ac_pwd" || { ac_status=$?; break; }
1748 done
1749 fi
1750
1751 test -n "$ac_init_help" && exit $ac_status
1752 if $ac_init_version; then
1753 cat <<\_ACEOF
1754 package-unused configure version-unused
1755 generated by GNU Autoconf 2.69
1756
1757 Copyright (C) 2012 Free Software Foundation, Inc.
1758 This configure script is free software; the Free Software Foundation
1759 gives unlimited permission to copy, distribute and modify it.
1760 _ACEOF
1761 exit
1762 fi
1763
1764 ## ------------------------ ##
1765 ## Autoconf initialization. ##
1766 ## ------------------------ ##
1767
1768 # ac_fn_c_try_compile LINENO
1769 # --------------------------
1770 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1771 ac_fn_c_try_compile ()
1772 {
1773 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1774 rm -f conftest.$ac_objext
1775 if { { ac_try="$ac_compile"
1776 case "(($ac_try" in
1777 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1778 *) ac_try_echo=$ac_try;;
1779 esac
1780 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1781 $as_echo "$ac_try_echo"; } >&5
1782 (eval "$ac_compile") 2>conftest.err
1783 ac_status=$?
1784 if test -s conftest.err; then
1785 grep -v '^ *+' conftest.err >conftest.er1
1786 cat conftest.er1 >&5
1787 mv -f conftest.er1 conftest.err
1788 fi
1789 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1790 test $ac_status = 0; } && {
1791 test -z "$ac_c_werror_flag" ||
1792 test ! -s conftest.err
1793 } && test -s conftest.$ac_objext; then :
1794 ac_retval=0
1795 else
1796 $as_echo "$as_me: failed program was:" >&5
1797 sed 's/^/| /' conftest.$ac_ext >&5
1798
1799 ac_retval=1
1800 fi
1801 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1802 as_fn_set_status $ac_retval
1803
1804 } # ac_fn_c_try_compile
1805
1806 # ac_fn_cxx_try_compile LINENO
1807 # ----------------------------
1808 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1809 ac_fn_cxx_try_compile ()
1810 {
1811 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1812 rm -f conftest.$ac_objext
1813 if { { ac_try="$ac_compile"
1814 case "(($ac_try" in
1815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1816 *) ac_try_echo=$ac_try;;
1817 esac
1818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1819 $as_echo "$ac_try_echo"; } >&5
1820 (eval "$ac_compile") 2>conftest.err
1821 ac_status=$?
1822 if test -s conftest.err; then
1823 grep -v '^ *+' conftest.err >conftest.er1
1824 cat conftest.er1 >&5
1825 mv -f conftest.er1 conftest.err
1826 fi
1827 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1828 test $ac_status = 0; } && {
1829 test -z "$ac_cxx_werror_flag" ||
1830 test ! -s conftest.err
1831 } && test -s conftest.$ac_objext; then :
1832 ac_retval=0
1833 else
1834 $as_echo "$as_me: failed program was:" >&5
1835 sed 's/^/| /' conftest.$ac_ext >&5
1836
1837 ac_retval=1
1838 fi
1839 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1840 as_fn_set_status $ac_retval
1841
1842 } # ac_fn_cxx_try_compile
1843
1844 # ac_fn_c_try_cpp LINENO
1845 # ----------------------
1846 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1847 ac_fn_c_try_cpp ()
1848 {
1849 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1850 if { { ac_try="$ac_cpp conftest.$ac_ext"
1851 case "(($ac_try" in
1852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1853 *) ac_try_echo=$ac_try;;
1854 esac
1855 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1856 $as_echo "$ac_try_echo"; } >&5
1857 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1858 ac_status=$?
1859 if test -s conftest.err; then
1860 grep -v '^ *+' conftest.err >conftest.er1
1861 cat conftest.er1 >&5
1862 mv -f conftest.er1 conftest.err
1863 fi
1864 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1865 test $ac_status = 0; } > conftest.i && {
1866 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1867 test ! -s conftest.err
1868 }; then :
1869 ac_retval=0
1870 else
1871 $as_echo "$as_me: failed program was:" >&5
1872 sed 's/^/| /' conftest.$ac_ext >&5
1873
1874 ac_retval=1
1875 fi
1876 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1877 as_fn_set_status $ac_retval
1878
1879 } # ac_fn_c_try_cpp
1880
1881 # ac_fn_c_try_link LINENO
1882 # -----------------------
1883 # Try to link conftest.$ac_ext, and return whether this succeeded.
1884 ac_fn_c_try_link ()
1885 {
1886 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1887 rm -f conftest.$ac_objext conftest$ac_exeext
1888 if { { ac_try="$ac_link"
1889 case "(($ac_try" in
1890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1891 *) ac_try_echo=$ac_try;;
1892 esac
1893 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1894 $as_echo "$ac_try_echo"; } >&5
1895 (eval "$ac_link") 2>conftest.err
1896 ac_status=$?
1897 if test -s conftest.err; then
1898 grep -v '^ *+' conftest.err >conftest.er1
1899 cat conftest.er1 >&5
1900 mv -f conftest.er1 conftest.err
1901 fi
1902 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1903 test $ac_status = 0; } && {
1904 test -z "$ac_c_werror_flag" ||
1905 test ! -s conftest.err
1906 } && test -s conftest$ac_exeext && {
1907 test "$cross_compiling" = yes ||
1908 test -x conftest$ac_exeext
1909 }; then :
1910 ac_retval=0
1911 else
1912 $as_echo "$as_me: failed program was:" >&5
1913 sed 's/^/| /' conftest.$ac_ext >&5
1914
1915 ac_retval=1
1916 fi
1917 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1918 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1919 # interfere with the next link command; also delete a directory that is
1920 # left behind by Apple's compiler. We do this before executing the actions.
1921 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1922 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1923 as_fn_set_status $ac_retval
1924
1925 } # ac_fn_c_try_link
1926
1927 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1928 # -------------------------------------------------------
1929 # Tests whether HEADER exists and can be compiled using the include files in
1930 # INCLUDES, setting the cache variable VAR accordingly.
1931 ac_fn_c_check_header_compile ()
1932 {
1933 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1935 $as_echo_n "checking for $2... " >&6; }
1936 if eval \${$3+:} false; then :
1937 $as_echo_n "(cached) " >&6
1938 else
1939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1940 /* end confdefs.h. */
1941 $4
1942 #include <$2>
1943 _ACEOF
1944 if ac_fn_c_try_compile "$LINENO"; then :
1945 eval "$3=yes"
1946 else
1947 eval "$3=no"
1948 fi
1949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1950 fi
1951 eval ac_res=\$$3
1952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1953 $as_echo "$ac_res" >&6; }
1954 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1955
1956 } # ac_fn_c_check_header_compile
1957
1958 # ac_fn_c_try_run LINENO
1959 # ----------------------
1960 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1961 # that executables *can* be run.
1962 ac_fn_c_try_run ()
1963 {
1964 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1965 if { { ac_try="$ac_link"
1966 case "(($ac_try" in
1967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1968 *) ac_try_echo=$ac_try;;
1969 esac
1970 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1971 $as_echo "$ac_try_echo"; } >&5
1972 (eval "$ac_link") 2>&5
1973 ac_status=$?
1974 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1975 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1976 { { case "(($ac_try" in
1977 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1978 *) ac_try_echo=$ac_try;;
1979 esac
1980 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1981 $as_echo "$ac_try_echo"; } >&5
1982 (eval "$ac_try") 2>&5
1983 ac_status=$?
1984 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1985 test $ac_status = 0; }; }; then :
1986 ac_retval=0
1987 else
1988 $as_echo "$as_me: program exited with status $ac_status" >&5
1989 $as_echo "$as_me: failed program was:" >&5
1990 sed 's/^/| /' conftest.$ac_ext >&5
1991
1992 ac_retval=$ac_status
1993 fi
1994 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1995 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1996 as_fn_set_status $ac_retval
1997
1998 } # ac_fn_c_try_run
1999
2000 # ac_fn_c_check_func LINENO FUNC VAR
2001 # ----------------------------------
2002 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2003 ac_fn_c_check_func ()
2004 {
2005 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2007 $as_echo_n "checking for $2... " >&6; }
2008 if eval \${$3+:} false; then :
2009 $as_echo_n "(cached) " >&6
2010 else
2011 if test x$gcc_no_link = xyes; then
2012 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2013 fi
2014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2015 /* end confdefs.h. */
2016 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2017 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2018 #define $2 innocuous_$2
2019
2020 /* System header to define __stub macros and hopefully few prototypes,
2021 which can conflict with char $2 (); below.
2022 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2023 <limits.h> exists even on freestanding compilers. */
2024
2025 #ifdef __STDC__
2026 # include <limits.h>
2027 #else
2028 # include <assert.h>
2029 #endif
2030
2031 #undef $2
2032
2033 /* Override any GCC internal prototype to avoid an error.
2034 Use char because int might match the return type of a GCC
2035 builtin and then its argument prototype would still apply. */
2036 #ifdef __cplusplus
2037 extern "C"
2038 #endif
2039 char $2 ();
2040 /* The GNU C library defines this for functions which it implements
2041 to always fail with ENOSYS. Some functions are actually named
2042 something starting with __ and the normal name is an alias. */
2043 #if defined __stub_$2 || defined __stub___$2
2044 choke me
2045 #endif
2046
2047 int
2048 main ()
2049 {
2050 return $2 ();
2051 ;
2052 return 0;
2053 }
2054 _ACEOF
2055 if ac_fn_c_try_link "$LINENO"; then :
2056 eval "$3=yes"
2057 else
2058 eval "$3=no"
2059 fi
2060 rm -f core conftest.err conftest.$ac_objext \
2061 conftest$ac_exeext conftest.$ac_ext
2062 fi
2063 eval ac_res=\$$3
2064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2065 $as_echo "$ac_res" >&6; }
2066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2067
2068 } # ac_fn_c_check_func
2069
2070 # ac_fn_cxx_try_cpp LINENO
2071 # ------------------------
2072 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2073 ac_fn_cxx_try_cpp ()
2074 {
2075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2076 if { { ac_try="$ac_cpp conftest.$ac_ext"
2077 case "(($ac_try" in
2078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2079 *) ac_try_echo=$ac_try;;
2080 esac
2081 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2082 $as_echo "$ac_try_echo"; } >&5
2083 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2084 ac_status=$?
2085 if test -s conftest.err; then
2086 grep -v '^ *+' conftest.err >conftest.er1
2087 cat conftest.er1 >&5
2088 mv -f conftest.er1 conftest.err
2089 fi
2090 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2091 test $ac_status = 0; } > conftest.i && {
2092 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2093 test ! -s conftest.err
2094 }; then :
2095 ac_retval=0
2096 else
2097 $as_echo "$as_me: failed program was:" >&5
2098 sed 's/^/| /' conftest.$ac_ext >&5
2099
2100 ac_retval=1
2101 fi
2102 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2103 as_fn_set_status $ac_retval
2104
2105 } # ac_fn_cxx_try_cpp
2106
2107 # ac_fn_cxx_try_link LINENO
2108 # -------------------------
2109 # Try to link conftest.$ac_ext, and return whether this succeeded.
2110 ac_fn_cxx_try_link ()
2111 {
2112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2113 rm -f conftest.$ac_objext conftest$ac_exeext
2114 if { { ac_try="$ac_link"
2115 case "(($ac_try" in
2116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2117 *) ac_try_echo=$ac_try;;
2118 esac
2119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2120 $as_echo "$ac_try_echo"; } >&5
2121 (eval "$ac_link") 2>conftest.err
2122 ac_status=$?
2123 if test -s conftest.err; then
2124 grep -v '^ *+' conftest.err >conftest.er1
2125 cat conftest.er1 >&5
2126 mv -f conftest.er1 conftest.err
2127 fi
2128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2129 test $ac_status = 0; } && {
2130 test -z "$ac_cxx_werror_flag" ||
2131 test ! -s conftest.err
2132 } && test -s conftest$ac_exeext && {
2133 test "$cross_compiling" = yes ||
2134 test -x conftest$ac_exeext
2135 }; then :
2136 ac_retval=0
2137 else
2138 $as_echo "$as_me: failed program was:" >&5
2139 sed 's/^/| /' conftest.$ac_ext >&5
2140
2141 ac_retval=1
2142 fi
2143 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2144 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2145 # interfere with the next link command; also delete a directory that is
2146 # left behind by Apple's compiler. We do this before executing the actions.
2147 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2148 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2149 as_fn_set_status $ac_retval
2150
2151 } # ac_fn_cxx_try_link
2152
2153 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2154 # -------------------------------------------------------
2155 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2156 # the include files in INCLUDES and setting the cache variable VAR
2157 # accordingly.
2158 ac_fn_c_check_header_mongrel ()
2159 {
2160 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2161 if eval \${$3+:} false; then :
2162 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2163 $as_echo_n "checking for $2... " >&6; }
2164 if eval \${$3+:} false; then :
2165 $as_echo_n "(cached) " >&6
2166 fi
2167 eval ac_res=\$$3
2168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2169 $as_echo "$ac_res" >&6; }
2170 else
2171 # Is the header compilable?
2172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2173 $as_echo_n "checking $2 usability... " >&6; }
2174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2175 /* end confdefs.h. */
2176 $4
2177 #include <$2>
2178 _ACEOF
2179 if ac_fn_c_try_compile "$LINENO"; then :
2180 ac_header_compiler=yes
2181 else
2182 ac_header_compiler=no
2183 fi
2184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2186 $as_echo "$ac_header_compiler" >&6; }
2187
2188 # Is the header present?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2190 $as_echo_n "checking $2 presence... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2193 #include <$2>
2194 _ACEOF
2195 if ac_fn_c_try_cpp "$LINENO"; then :
2196 ac_header_preproc=yes
2197 else
2198 ac_header_preproc=no
2199 fi
2200 rm -f conftest.err conftest.i conftest.$ac_ext
2201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2202 $as_echo "$ac_header_preproc" >&6; }
2203
2204 # So? What about this header?
2205 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2206 yes:no: )
2207 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2208 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2209 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2210 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2211 ;;
2212 no:yes:* )
2213 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2214 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2215 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2216 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2218 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2220 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2221 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2222 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2223 ;;
2224 esac
2225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2226 $as_echo_n "checking for $2... " >&6; }
2227 if eval \${$3+:} false; then :
2228 $as_echo_n "(cached) " >&6
2229 else
2230 eval "$3=\$ac_header_compiler"
2231 fi
2232 eval ac_res=\$$3
2233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2234 $as_echo "$ac_res" >&6; }
2235 fi
2236 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2237
2238 } # ac_fn_c_check_header_mongrel
2239
2240 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2241 # ---------------------------------------------------------
2242 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2243 # the include files in INCLUDES and setting the cache variable VAR
2244 # accordingly.
2245 ac_fn_cxx_check_header_mongrel ()
2246 {
2247 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2248 if eval \${$3+:} false; then :
2249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2250 $as_echo_n "checking for $2... " >&6; }
2251 if eval \${$3+:} false; then :
2252 $as_echo_n "(cached) " >&6
2253 fi
2254 eval ac_res=\$$3
2255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2256 $as_echo "$ac_res" >&6; }
2257 else
2258 # Is the header compilable?
2259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2260 $as_echo_n "checking $2 usability... " >&6; }
2261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2262 /* end confdefs.h. */
2263 $4
2264 #include <$2>
2265 _ACEOF
2266 if ac_fn_cxx_try_compile "$LINENO"; then :
2267 ac_header_compiler=yes
2268 else
2269 ac_header_compiler=no
2270 fi
2271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2273 $as_echo "$ac_header_compiler" >&6; }
2274
2275 # Is the header present?
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2277 $as_echo_n "checking $2 presence... " >&6; }
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2280 #include <$2>
2281 _ACEOF
2282 if ac_fn_cxx_try_cpp "$LINENO"; then :
2283 ac_header_preproc=yes
2284 else
2285 ac_header_preproc=no
2286 fi
2287 rm -f conftest.err conftest.i conftest.$ac_ext
2288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2289 $as_echo "$ac_header_preproc" >&6; }
2290
2291 # So? What about this header?
2292 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2293 yes:no: )
2294 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2295 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2296 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2297 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2298 ;;
2299 no:yes:* )
2300 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2301 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2302 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2303 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2305 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2306 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2307 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2308 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2309 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2310 ;;
2311 esac
2312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2313 $as_echo_n "checking for $2... " >&6; }
2314 if eval \${$3+:} false; then :
2315 $as_echo_n "(cached) " >&6
2316 else
2317 eval "$3=\$ac_header_compiler"
2318 fi
2319 eval ac_res=\$$3
2320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2321 $as_echo "$ac_res" >&6; }
2322 fi
2323 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2324
2325 } # ac_fn_cxx_check_header_mongrel
2326
2327 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2328 # --------------------------------------------
2329 # Tries to find the compile-time value of EXPR in a program that includes
2330 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2331 # computed
2332 ac_fn_c_compute_int ()
2333 {
2334 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2335 if test "$cross_compiling" = yes; then
2336 # Depending upon the size, compute the lo and hi bounds.
2337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2338 /* end confdefs.h. */
2339 $4
2340 int
2341 main ()
2342 {
2343 static int test_array [1 - 2 * !(($2) >= 0)];
2344 test_array [0] = 0;
2345 return test_array [0];
2346
2347 ;
2348 return 0;
2349 }
2350 _ACEOF
2351 if ac_fn_c_try_compile "$LINENO"; then :
2352 ac_lo=0 ac_mid=0
2353 while :; do
2354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2355 /* end confdefs.h. */
2356 $4
2357 int
2358 main ()
2359 {
2360 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2361 test_array [0] = 0;
2362 return test_array [0];
2363
2364 ;
2365 return 0;
2366 }
2367 _ACEOF
2368 if ac_fn_c_try_compile "$LINENO"; then :
2369 ac_hi=$ac_mid; break
2370 else
2371 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2372 if test $ac_lo -le $ac_mid; then
2373 ac_lo= ac_hi=
2374 break
2375 fi
2376 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2377 fi
2378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2379 done
2380 else
2381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2382 /* end confdefs.h. */
2383 $4
2384 int
2385 main ()
2386 {
2387 static int test_array [1 - 2 * !(($2) < 0)];
2388 test_array [0] = 0;
2389 return test_array [0];
2390
2391 ;
2392 return 0;
2393 }
2394 _ACEOF
2395 if ac_fn_c_try_compile "$LINENO"; then :
2396 ac_hi=-1 ac_mid=-1
2397 while :; do
2398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2399 /* end confdefs.h. */
2400 $4
2401 int
2402 main ()
2403 {
2404 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2405 test_array [0] = 0;
2406 return test_array [0];
2407
2408 ;
2409 return 0;
2410 }
2411 _ACEOF
2412 if ac_fn_c_try_compile "$LINENO"; then :
2413 ac_lo=$ac_mid; break
2414 else
2415 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2416 if test $ac_mid -le $ac_hi; then
2417 ac_lo= ac_hi=
2418 break
2419 fi
2420 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2421 fi
2422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2423 done
2424 else
2425 ac_lo= ac_hi=
2426 fi
2427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2428 fi
2429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2430 # Binary search between lo and hi bounds.
2431 while test "x$ac_lo" != "x$ac_hi"; do
2432 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2434 /* end confdefs.h. */
2435 $4
2436 int
2437 main ()
2438 {
2439 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2440 test_array [0] = 0;
2441 return test_array [0];
2442
2443 ;
2444 return 0;
2445 }
2446 _ACEOF
2447 if ac_fn_c_try_compile "$LINENO"; then :
2448 ac_hi=$ac_mid
2449 else
2450 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2451 fi
2452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2453 done
2454 case $ac_lo in #((
2455 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2456 '') ac_retval=1 ;;
2457 esac
2458 else
2459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2460 /* end confdefs.h. */
2461 $4
2462 static long int longval () { return $2; }
2463 static unsigned long int ulongval () { return $2; }
2464 #include <stdio.h>
2465 #include <stdlib.h>
2466 int
2467 main ()
2468 {
2469
2470 FILE *f = fopen ("conftest.val", "w");
2471 if (! f)
2472 return 1;
2473 if (($2) < 0)
2474 {
2475 long int i = longval ();
2476 if (i != ($2))
2477 return 1;
2478 fprintf (f, "%ld", i);
2479 }
2480 else
2481 {
2482 unsigned long int i = ulongval ();
2483 if (i != ($2))
2484 return 1;
2485 fprintf (f, "%lu", i);
2486 }
2487 /* Do not output a trailing newline, as this causes \r\n confusion
2488 on some platforms. */
2489 return ferror (f) || fclose (f) != 0;
2490
2491 ;
2492 return 0;
2493 }
2494 _ACEOF
2495 if ac_fn_c_try_run "$LINENO"; then :
2496 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2497 else
2498 ac_retval=1
2499 fi
2500 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2501 conftest.$ac_objext conftest.beam conftest.$ac_ext
2502 rm -f conftest.val
2503
2504 fi
2505 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2506 as_fn_set_status $ac_retval
2507
2508 } # ac_fn_c_compute_int
2509
2510 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2511 # -------------------------------------------
2512 # Tests whether TYPE exists after having included INCLUDES, setting cache
2513 # variable VAR accordingly.
2514 ac_fn_c_check_type ()
2515 {
2516 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2518 $as_echo_n "checking for $2... " >&6; }
2519 if eval \${$3+:} false; then :
2520 $as_echo_n "(cached) " >&6
2521 else
2522 eval "$3=no"
2523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2524 /* end confdefs.h. */
2525 $4
2526 int
2527 main ()
2528 {
2529 if (sizeof ($2))
2530 return 0;
2531 ;
2532 return 0;
2533 }
2534 _ACEOF
2535 if ac_fn_c_try_compile "$LINENO"; then :
2536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2537 /* end confdefs.h. */
2538 $4
2539 int
2540 main ()
2541 {
2542 if (sizeof (($2)))
2543 return 0;
2544 ;
2545 return 0;
2546 }
2547 _ACEOF
2548 if ac_fn_c_try_compile "$LINENO"; then :
2549
2550 else
2551 eval "$3=yes"
2552 fi
2553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2554 fi
2555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2556 fi
2557 eval ac_res=\$$3
2558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2559 $as_echo "$ac_res" >&6; }
2560 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2561
2562 } # ac_fn_c_check_type
2563
2564 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2565 # ---------------------------------------------
2566 # Tests whether TYPE exists after having included INCLUDES, setting cache
2567 # variable VAR accordingly.
2568 ac_fn_cxx_check_type ()
2569 {
2570 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2572 $as_echo_n "checking for $2... " >&6; }
2573 if eval \${$3+:} false; then :
2574 $as_echo_n "(cached) " >&6
2575 else
2576 eval "$3=no"
2577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2578 /* end confdefs.h. */
2579 $4
2580 int
2581 main ()
2582 {
2583 if (sizeof ($2))
2584 return 0;
2585 ;
2586 return 0;
2587 }
2588 _ACEOF
2589 if ac_fn_cxx_try_compile "$LINENO"; then :
2590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2591 /* end confdefs.h. */
2592 $4
2593 int
2594 main ()
2595 {
2596 if (sizeof (($2)))
2597 return 0;
2598 ;
2599 return 0;
2600 }
2601 _ACEOF
2602 if ac_fn_cxx_try_compile "$LINENO"; then :
2603
2604 else
2605 eval "$3=yes"
2606 fi
2607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2608 fi
2609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2610 fi
2611 eval ac_res=\$$3
2612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2613 $as_echo "$ac_res" >&6; }
2614 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2615
2616 } # ac_fn_cxx_check_type
2617 cat >config.log <<_ACEOF
2618 This file contains any messages produced by compilers while
2619 running configure, to aid debugging if configure makes a mistake.
2620
2621 It was created by package-unused $as_me version-unused, which was
2622 generated by GNU Autoconf 2.69. Invocation command line was
2623
2624 $ $0 $@
2625
2626 _ACEOF
2627 exec 5>>config.log
2628 {
2629 cat <<_ASUNAME
2630 ## --------- ##
2631 ## Platform. ##
2632 ## --------- ##
2633
2634 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2635 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2636 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2637 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2638 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2639
2640 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2641 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2642
2643 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2644 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2645 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2646 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2647 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2648 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2649 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2650
2651 _ASUNAME
2652
2653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2654 for as_dir in $PATH
2655 do
2656 IFS=$as_save_IFS
2657 test -z "$as_dir" && as_dir=.
2658 $as_echo "PATH: $as_dir"
2659 done
2660 IFS=$as_save_IFS
2661
2662 } >&5
2663
2664 cat >&5 <<_ACEOF
2665
2666
2667 ## ----------- ##
2668 ## Core tests. ##
2669 ## ----------- ##
2670
2671 _ACEOF
2672
2673
2674 # Keep a trace of the command line.
2675 # Strip out --no-create and --no-recursion so they do not pile up.
2676 # Strip out --silent because we don't want to record it for future runs.
2677 # Also quote any args containing shell meta-characters.
2678 # Make two passes to allow for proper duplicate-argument suppression.
2679 ac_configure_args=
2680 ac_configure_args0=
2681 ac_configure_args1=
2682 ac_must_keep_next=false
2683 for ac_pass in 1 2
2684 do
2685 for ac_arg
2686 do
2687 case $ac_arg in
2688 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2689 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2690 | -silent | --silent | --silen | --sile | --sil)
2691 continue ;;
2692 *\'*)
2693 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2694 esac
2695 case $ac_pass in
2696 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2697 2)
2698 as_fn_append ac_configure_args1 " '$ac_arg'"
2699 if test $ac_must_keep_next = true; then
2700 ac_must_keep_next=false # Got value, back to normal.
2701 else
2702 case $ac_arg in
2703 *=* | --config-cache | -C | -disable-* | --disable-* \
2704 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2705 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2706 | -with-* | --with-* | -without-* | --without-* | --x)
2707 case "$ac_configure_args0 " in
2708 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2709 esac
2710 ;;
2711 -* ) ac_must_keep_next=true ;;
2712 esac
2713 fi
2714 as_fn_append ac_configure_args " '$ac_arg'"
2715 ;;
2716 esac
2717 done
2718 done
2719 { ac_configure_args0=; unset ac_configure_args0;}
2720 { ac_configure_args1=; unset ac_configure_args1;}
2721
2722 # When interrupted or exit'd, cleanup temporary files, and complete
2723 # config.log. We remove comments because anyway the quotes in there
2724 # would cause problems or look ugly.
2725 # WARNING: Use '\'' to represent an apostrophe within the trap.
2726 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2727 trap 'exit_status=$?
2728 # Save into config.log some information that might help in debugging.
2729 {
2730 echo
2731
2732 $as_echo "## ---------------- ##
2733 ## Cache variables. ##
2734 ## ---------------- ##"
2735 echo
2736 # The following way of writing the cache mishandles newlines in values,
2737 (
2738 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2739 eval ac_val=\$$ac_var
2740 case $ac_val in #(
2741 *${as_nl}*)
2742 case $ac_var in #(
2743 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2744 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2745 esac
2746 case $ac_var in #(
2747 _ | IFS | as_nl) ;; #(
2748 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2749 *) { eval $ac_var=; unset $ac_var;} ;;
2750 esac ;;
2751 esac
2752 done
2753 (set) 2>&1 |
2754 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2755 *${as_nl}ac_space=\ *)
2756 sed -n \
2757 "s/'\''/'\''\\\\'\'''\''/g;
2758 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2759 ;; #(
2760 *)
2761 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2762 ;;
2763 esac |
2764 sort
2765 )
2766 echo
2767
2768 $as_echo "## ----------------- ##
2769 ## Output variables. ##
2770 ## ----------------- ##"
2771 echo
2772 for ac_var in $ac_subst_vars
2773 do
2774 eval ac_val=\$$ac_var
2775 case $ac_val in
2776 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2777 esac
2778 $as_echo "$ac_var='\''$ac_val'\''"
2779 done | sort
2780 echo
2781
2782 if test -n "$ac_subst_files"; then
2783 $as_echo "## ------------------- ##
2784 ## File substitutions. ##
2785 ## ------------------- ##"
2786 echo
2787 for ac_var in $ac_subst_files
2788 do
2789 eval ac_val=\$$ac_var
2790 case $ac_val in
2791 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2792 esac
2793 $as_echo "$ac_var='\''$ac_val'\''"
2794 done | sort
2795 echo
2796 fi
2797
2798 if test -s confdefs.h; then
2799 $as_echo "## ----------- ##
2800 ## confdefs.h. ##
2801 ## ----------- ##"
2802 echo
2803 cat confdefs.h
2804 echo
2805 fi
2806 test "$ac_signal" != 0 &&
2807 $as_echo "$as_me: caught signal $ac_signal"
2808 $as_echo "$as_me: exit $exit_status"
2809 } >&5
2810 rm -f core *.core core.conftest.* &&
2811 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2812 exit $exit_status
2813 ' 0
2814 for ac_signal in 1 2 13 15; do
2815 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2816 done
2817 ac_signal=0
2818
2819 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2820 rm -f -r conftest* confdefs.h
2821
2822 $as_echo "/* confdefs.h */" > confdefs.h
2823
2824 # Predefined preprocessor variables.
2825
2826 cat >>confdefs.h <<_ACEOF
2827 #define PACKAGE_NAME "$PACKAGE_NAME"
2828 _ACEOF
2829
2830 cat >>confdefs.h <<_ACEOF
2831 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2832 _ACEOF
2833
2834 cat >>confdefs.h <<_ACEOF
2835 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2836 _ACEOF
2837
2838 cat >>confdefs.h <<_ACEOF
2839 #define PACKAGE_STRING "$PACKAGE_STRING"
2840 _ACEOF
2841
2842 cat >>confdefs.h <<_ACEOF
2843 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2844 _ACEOF
2845
2846 cat >>confdefs.h <<_ACEOF
2847 #define PACKAGE_URL "$PACKAGE_URL"
2848 _ACEOF
2849
2850
2851 # Let the site file select an alternate cache file if it wants to.
2852 # Prefer an explicitly selected file to automatically selected ones.
2853 ac_site_file1=NONE
2854 ac_site_file2=NONE
2855 if test -n "$CONFIG_SITE"; then
2856 # We do not want a PATH search for config.site.
2857 case $CONFIG_SITE in #((
2858 -*) ac_site_file1=./$CONFIG_SITE;;
2859 */*) ac_site_file1=$CONFIG_SITE;;
2860 *) ac_site_file1=./$CONFIG_SITE;;
2861 esac
2862 elif test "x$prefix" != xNONE; then
2863 ac_site_file1=$prefix/share/config.site
2864 ac_site_file2=$prefix/etc/config.site
2865 else
2866 ac_site_file1=$ac_default_prefix/share/config.site
2867 ac_site_file2=$ac_default_prefix/etc/config.site
2868 fi
2869 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2870 do
2871 test "x$ac_site_file" = xNONE && continue
2872 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2873 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2874 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2875 sed 's/^/| /' "$ac_site_file" >&5
2876 . "$ac_site_file" \
2877 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2878 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2879 as_fn_error $? "failed to load site script $ac_site_file
2880 See \`config.log' for more details" "$LINENO" 5; }
2881 fi
2882 done
2883
2884 if test -r "$cache_file"; then
2885 # Some versions of bash will fail to source /dev/null (special files
2886 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2887 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2889 $as_echo "$as_me: loading cache $cache_file" >&6;}
2890 case $cache_file in
2891 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2892 *) . "./$cache_file";;
2893 esac
2894 fi
2895 else
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2897 $as_echo "$as_me: creating cache $cache_file" >&6;}
2898 >$cache_file
2899 fi
2900
2901 # Check that the precious variables saved in the cache have kept the same
2902 # value.
2903 ac_cache_corrupted=false
2904 for ac_var in $ac_precious_vars; do
2905 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2906 eval ac_new_set=\$ac_env_${ac_var}_set
2907 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2908 eval ac_new_val=\$ac_env_${ac_var}_value
2909 case $ac_old_set,$ac_new_set in
2910 set,)
2911 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2912 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2913 ac_cache_corrupted=: ;;
2914 ,set)
2915 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
2916 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2917 ac_cache_corrupted=: ;;
2918 ,);;
2919 *)
2920 if test "x$ac_old_val" != "x$ac_new_val"; then
2921 # differences in whitespace do not lead to failure.
2922 ac_old_val_w=`echo x $ac_old_val`
2923 ac_new_val_w=`echo x $ac_new_val`
2924 if test "$ac_old_val_w" != "$ac_new_val_w"; then
2925 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
2926 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2927 ac_cache_corrupted=:
2928 else
2929 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
2930 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
2931 eval $ac_var=\$ac_old_val
2932 fi
2933 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
2934 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
2935 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
2936 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
2937 fi;;
2938 esac
2939 # Pass precious variables to config.status.
2940 if test "$ac_new_set" = set; then
2941 case $ac_new_val in
2942 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2943 *) ac_arg=$ac_var=$ac_new_val ;;
2944 esac
2945 case " $ac_configure_args " in
2946 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2947 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
2948 esac
2949 fi
2950 done
2951 if $ac_cache_corrupted; then
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2953 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
2955 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2956 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
2957 fi
2958 ## -------------------- ##
2959 ## Main body of script. ##
2960 ## -------------------- ##
2961
2962 ac_ext=c
2963 ac_cpp='$CPP $CPPFLAGS'
2964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2967
2968
2969
2970
2971
2972
2973 ac_config_headers="$ac_config_headers config.h"
2974
2975
2976 # This works around the fact that libtool configuration may change LD
2977 # for this particular configuration, but some shells, instead of
2978 # keeping the changes in LD private, export them just because LD is
2979 # exported. Only used at the end of this file.
2980 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
2981
2982 # Find the rest of the source tree framework.
2983 # Default to --enable-multilib
2984 # Check whether --enable-multilib was given.
2985 if test "${enable_multilib+set}" = set; then :
2986 enableval=$enable_multilib; case "$enableval" in
2987 yes) multilib=yes ;;
2988 no) multilib=no ;;
2989 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
2990 esac
2991 else
2992 multilib=yes
2993 fi
2994
2995
2996 # We may get other options which we leave undocumented:
2997 # --with-target-subdir, --with-multisrctop, --with-multisubdir
2998 # See config-ml.in if you want the gory details.
2999
3000 if test "$srcdir" = "."; then
3001 if test "$with_target_subdir" != "."; then
3002 multi_basedir="$srcdir/$with_multisrctop../.."
3003 else
3004 multi_basedir="$srcdir/$with_multisrctop.."
3005 fi
3006 else
3007 multi_basedir="$srcdir/.."
3008 fi
3009
3010
3011 # Even if the default multilib is not a cross compilation,
3012 # it may be that some of the other multilibs are.
3013 if test $cross_compiling = no && test $multilib = yes \
3014 && test "x${with_multisubdir}" != x ; then
3015 cross_compiling=maybe
3016 fi
3017
3018 ac_config_commands="$ac_config_commands default-1"
3019
3020
3021 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3022 #
3023 # You will slowly go insane if you do not grok the following fact: when
3024 # building v3 as part of the compiler, the top-level /target/ becomes the
3025 # library's /host/. configure then causes --target to default to --host,
3026 # exactly like any other package using autoconf. Therefore, 'target' and
3027 # 'host' will always be the same. This makes sense both for native and
3028 # cross compilers, just think about it for a little while. :-)
3029 #
3030 # Also, if v3 is being configured as part of a cross compiler, the top-level
3031 # configure script will pass the "real" host as $with_cross_host.
3032 #
3033 # Do not delete or change the following two lines. For why, see
3034 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3035 ac_aux_dir=
3036 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3037 if test -f "$ac_dir/install-sh"; then
3038 ac_aux_dir=$ac_dir
3039 ac_install_sh="$ac_aux_dir/install-sh -c"
3040 break
3041 elif test -f "$ac_dir/install.sh"; then
3042 ac_aux_dir=$ac_dir
3043 ac_install_sh="$ac_aux_dir/install.sh -c"
3044 break
3045 elif test -f "$ac_dir/shtool"; then
3046 ac_aux_dir=$ac_dir
3047 ac_install_sh="$ac_aux_dir/shtool install -c"
3048 break
3049 fi
3050 done
3051 if test -z "$ac_aux_dir"; then
3052 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3053 fi
3054
3055 # These three variables are undocumented and unsupported,
3056 # and are intended to be withdrawn in a future Autoconf release.
3057 # They can cause serious problems if a builder's source tree is in a directory
3058 # whose full name contains unusual characters.
3059 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3060 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3061 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3062
3063
3064 # Make sure we can run config.sub.
3065 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3066 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3067
3068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3069 $as_echo_n "checking build system type... " >&6; }
3070 if ${ac_cv_build+:} false; then :
3071 $as_echo_n "(cached) " >&6
3072 else
3073 ac_build_alias=$build_alias
3074 test "x$ac_build_alias" = x &&
3075 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3076 test "x$ac_build_alias" = x &&
3077 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3078 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3079 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3080
3081 fi
3082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3083 $as_echo "$ac_cv_build" >&6; }
3084 case $ac_cv_build in
3085 *-*-*) ;;
3086 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3087 esac
3088 build=$ac_cv_build
3089 ac_save_IFS=$IFS; IFS='-'
3090 set x $ac_cv_build
3091 shift
3092 build_cpu=$1
3093 build_vendor=$2
3094 shift; shift
3095 # Remember, the first character of IFS is used to create $*,
3096 # except with old shells:
3097 build_os=$*
3098 IFS=$ac_save_IFS
3099 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3100
3101
3102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3103 $as_echo_n "checking host system type... " >&6; }
3104 if ${ac_cv_host+:} false; then :
3105 $as_echo_n "(cached) " >&6
3106 else
3107 if test "x$host_alias" = x; then
3108 ac_cv_host=$ac_cv_build
3109 else
3110 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3111 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3112 fi
3113
3114 fi
3115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3116 $as_echo "$ac_cv_host" >&6; }
3117 case $ac_cv_host in
3118 *-*-*) ;;
3119 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3120 esac
3121 host=$ac_cv_host
3122 ac_save_IFS=$IFS; IFS='-'
3123 set x $ac_cv_host
3124 shift
3125 host_cpu=$1
3126 host_vendor=$2
3127 shift; shift
3128 # Remember, the first character of IFS is used to create $*,
3129 # except with old shells:
3130 host_os=$*
3131 IFS=$ac_save_IFS
3132 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3133
3134
3135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3136 $as_echo_n "checking target system type... " >&6; }
3137 if ${ac_cv_target+:} false; then :
3138 $as_echo_n "(cached) " >&6
3139 else
3140 if test "x$target_alias" = x; then
3141 ac_cv_target=$ac_cv_host
3142 else
3143 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3144 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3145 fi
3146
3147 fi
3148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3149 $as_echo "$ac_cv_target" >&6; }
3150 case $ac_cv_target in
3151 *-*-*) ;;
3152 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3153 esac
3154 target=$ac_cv_target
3155 ac_save_IFS=$IFS; IFS='-'
3156 set x $ac_cv_target
3157 shift
3158 target_cpu=$1
3159 target_vendor=$2
3160 shift; shift
3161 # Remember, the first character of IFS is used to create $*,
3162 # except with old shells:
3163 target_os=$*
3164 IFS=$ac_save_IFS
3165 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3166
3167
3168 # The aliases save the names the user supplied, while $host etc.
3169 # will get canonicalized.
3170 test -n "$target_alias" &&
3171 test "$program_prefix$program_suffix$program_transform_name" = \
3172 NONENONEs,x,x, &&
3173 program_prefix=${target_alias}-
3174
3175 target_alias=${target_alias-$host_alias}
3176
3177 # Handy for debugging:
3178 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3179
3180 if test "$build" != "$host"; then
3181 # We are being configured with some form of cross compiler.
3182 GLIBCXX_IS_NATIVE=false
3183 case "$host","$target" in
3184 # Darwin crosses can use the host system's libraries and headers,
3185 # because of the fat library support. Of course, it must be the
3186 # same version of Darwin on both sides. Allow the user to
3187 # just say --target=foo-darwin without a version number to mean
3188 # "the version on this system".
3189 *-*-darwin*,*-*-darwin*)
3190 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3191 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3192 if test $hostos = $targetos -o $targetos = darwin ; then
3193 GLIBCXX_IS_NATIVE=true
3194 fi
3195 ;;
3196
3197 *)
3198
3199 ;;
3200 esac
3201 else
3202 GLIBCXX_IS_NATIVE=true
3203 fi
3204
3205 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3206 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3207 # 1.x: minimum required version
3208 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3209 # of other PACKAGE_* variables will, however, and there's nothing
3210 # we can do about that; they come from AC_INIT).
3211 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3212 # file in the top srcdir, etc, etc), so stop complaining.
3213 # no-dependencies: turns off auto dependency generation (just for now)
3214 # no-dist: we don't want 'dist' and related rules.
3215 # -Wall: turns on all automake warnings...
3216 # -Wno-portability: ...except this one, since GNU make is now required.
3217 am__api_version='1.15'
3218
3219 # Find a good install program. We prefer a C program (faster),
3220 # so one script is as good as another. But avoid the broken or
3221 # incompatible versions:
3222 # SysV /etc/install, /usr/sbin/install
3223 # SunOS /usr/etc/install
3224 # IRIX /sbin/install
3225 # AIX /bin/install
3226 # AmigaOS /C/install, which installs bootblocks on floppy discs
3227 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3228 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3229 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3230 # OS/2's system install, which has a completely different semantic
3231 # ./install, which can be erroneously created by make from ./install.sh.
3232 # Reject install programs that cannot install multiple files.
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3234 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3235 if test -z "$INSTALL"; then
3236 if ${ac_cv_path_install+:} false; then :
3237 $as_echo_n "(cached) " >&6
3238 else
3239 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3240 for as_dir in $PATH
3241 do
3242 IFS=$as_save_IFS
3243 test -z "$as_dir" && as_dir=.
3244 # Account for people who put trailing slashes in PATH elements.
3245 case $as_dir/ in #((
3246 ./ | .// | /[cC]/* | \
3247 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3248 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3249 /usr/ucb/* ) ;;
3250 *)
3251 # OSF1 and SCO ODT 3.0 have their own names for install.
3252 # Don't use installbsd from OSF since it installs stuff as root
3253 # by default.
3254 for ac_prog in ginstall scoinst install; do
3255 for ac_exec_ext in '' $ac_executable_extensions; do
3256 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3257 if test $ac_prog = install &&
3258 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3259 # AIX install. It has an incompatible calling convention.
3260 :
3261 elif test $ac_prog = install &&
3262 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3263 # program-specific install script used by HP pwplus--don't use.
3264 :
3265 else
3266 rm -rf conftest.one conftest.two conftest.dir
3267 echo one > conftest.one
3268 echo two > conftest.two
3269 mkdir conftest.dir
3270 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3271 test -s conftest.one && test -s conftest.two &&
3272 test -s conftest.dir/conftest.one &&
3273 test -s conftest.dir/conftest.two
3274 then
3275 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3276 break 3
3277 fi
3278 fi
3279 fi
3280 done
3281 done
3282 ;;
3283 esac
3284
3285 done
3286 IFS=$as_save_IFS
3287
3288 rm -rf conftest.one conftest.two conftest.dir
3289
3290 fi
3291 if test "${ac_cv_path_install+set}" = set; then
3292 INSTALL=$ac_cv_path_install
3293 else
3294 # As a last resort, use the slow shell script. Don't cache a
3295 # value for INSTALL within a source directory, because that will
3296 # break other packages using the cache if that directory is
3297 # removed, or if the value is a relative name.
3298 INSTALL=$ac_install_sh
3299 fi
3300 fi
3301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3302 $as_echo "$INSTALL" >&6; }
3303
3304 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3305 # It thinks the first close brace ends the variable substitution.
3306 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3307
3308 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3309
3310 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3311
3312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3313 $as_echo_n "checking whether build environment is sane... " >&6; }
3314 # Reject unsafe characters in $srcdir or the absolute working directory
3315 # name. Accept space and tab only in the latter.
3316 am_lf='
3317 '
3318 case `pwd` in
3319 *[\\\"\#\$\&\'\`$am_lf]*)
3320 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3321 esac
3322 case $srcdir in
3323 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3324 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3325 esac
3326
3327 # Do 'set' in a subshell so we don't clobber the current shell's
3328 # arguments. Must try -L first in case configure is actually a
3329 # symlink; some systems play weird games with the mod time of symlinks
3330 # (eg FreeBSD returns the mod time of the symlink's containing
3331 # directory).
3332 if (
3333 am_has_slept=no
3334 for am_try in 1 2; do
3335 echo "timestamp, slept: $am_has_slept" > conftest.file
3336 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3337 if test "$*" = "X"; then
3338 # -L didn't work.
3339 set X `ls -t "$srcdir/configure" conftest.file`
3340 fi
3341 if test "$*" != "X $srcdir/configure conftest.file" \
3342 && test "$*" != "X conftest.file $srcdir/configure"; then
3343
3344 # If neither matched, then we have a broken ls. This can happen
3345 # if, for instance, CONFIG_SHELL is bash and it inherits a
3346 # broken ls alias from the environment. This has actually
3347 # happened. Such a system could not be considered "sane".
3348 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3349 alias in your environment" "$LINENO" 5
3350 fi
3351 if test "$2" = conftest.file || test $am_try -eq 2; then
3352 break
3353 fi
3354 # Just in case.
3355 sleep 1
3356 am_has_slept=yes
3357 done
3358 test "$2" = conftest.file
3359 )
3360 then
3361 # Ok.
3362 :
3363 else
3364 as_fn_error $? "newly created file is older than distributed files!
3365 Check your system clock" "$LINENO" 5
3366 fi
3367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3368 $as_echo "yes" >&6; }
3369 # If we didn't sleep, we still need to ensure time stamps of config.status and
3370 # generated files are strictly newer.
3371 am_sleep_pid=
3372 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3373 ( sleep 1 ) &
3374 am_sleep_pid=$!
3375 fi
3376
3377 rm -f conftest.file
3378
3379 test "$program_prefix" != NONE &&
3380 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3381 # Use a double $ so make ignores it.
3382 test "$program_suffix" != NONE &&
3383 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3384 # Double any \ or $.
3385 # By default was `s,x,x', remove it if useless.
3386 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3387 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3388
3389 # Expand $ac_aux_dir to an absolute path.
3390 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3391
3392 if test x"${MISSING+set}" != xset; then
3393 case $am_aux_dir in
3394 *\ * | *\ *)
3395 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3396 *)
3397 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3398 esac
3399 fi
3400 # Use eval to expand $SHELL
3401 if eval "$MISSING --is-lightweight"; then
3402 am_missing_run="$MISSING "
3403 else
3404 am_missing_run=
3405 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3406 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3407 fi
3408
3409 if test x"${install_sh+set}" != xset; then
3410 case $am_aux_dir in
3411 *\ * | *\ *)
3412 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3413 *)
3414 install_sh="\${SHELL} $am_aux_dir/install-sh"
3415 esac
3416 fi
3417
3418 # Installed binaries are usually stripped using 'strip' when the user
3419 # run "make install-strip". However 'strip' might not be the right
3420 # tool to use in cross-compilation environments, therefore Automake
3421 # will honor the 'STRIP' environment variable to overrule this program.
3422 if test "$cross_compiling" != no; then
3423 if test -n "$ac_tool_prefix"; then
3424 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3425 set dummy ${ac_tool_prefix}strip; ac_word=$2
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3427 $as_echo_n "checking for $ac_word... " >&6; }
3428 if ${ac_cv_prog_STRIP+:} false; then :
3429 $as_echo_n "(cached) " >&6
3430 else
3431 if test -n "$STRIP"; then
3432 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3433 else
3434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3435 for as_dir in $PATH
3436 do
3437 IFS=$as_save_IFS
3438 test -z "$as_dir" && as_dir=.
3439 for ac_exec_ext in '' $ac_executable_extensions; do
3440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3441 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3443 break 2
3444 fi
3445 done
3446 done
3447 IFS=$as_save_IFS
3448
3449 fi
3450 fi
3451 STRIP=$ac_cv_prog_STRIP
3452 if test -n "$STRIP"; then
3453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3454 $as_echo "$STRIP" >&6; }
3455 else
3456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3457 $as_echo "no" >&6; }
3458 fi
3459
3460
3461 fi
3462 if test -z "$ac_cv_prog_STRIP"; then
3463 ac_ct_STRIP=$STRIP
3464 # Extract the first word of "strip", so it can be a program name with args.
3465 set dummy strip; ac_word=$2
3466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3467 $as_echo_n "checking for $ac_word... " >&6; }
3468 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3469 $as_echo_n "(cached) " >&6
3470 else
3471 if test -n "$ac_ct_STRIP"; then
3472 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3473 else
3474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3475 for as_dir in $PATH
3476 do
3477 IFS=$as_save_IFS
3478 test -z "$as_dir" && as_dir=.
3479 for ac_exec_ext in '' $ac_executable_extensions; do
3480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3481 ac_cv_prog_ac_ct_STRIP="strip"
3482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3483 break 2
3484 fi
3485 done
3486 done
3487 IFS=$as_save_IFS
3488
3489 fi
3490 fi
3491 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3492 if test -n "$ac_ct_STRIP"; then
3493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3494 $as_echo "$ac_ct_STRIP" >&6; }
3495 else
3496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3497 $as_echo "no" >&6; }
3498 fi
3499
3500 if test "x$ac_ct_STRIP" = x; then
3501 STRIP=":"
3502 else
3503 case $cross_compiling:$ac_tool_warned in
3504 yes:)
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3506 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3507 ac_tool_warned=yes ;;
3508 esac
3509 STRIP=$ac_ct_STRIP
3510 fi
3511 else
3512 STRIP="$ac_cv_prog_STRIP"
3513 fi
3514
3515 fi
3516 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3517
3518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3519 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3520 if test -z "$MKDIR_P"; then
3521 if ${ac_cv_path_mkdir+:} false; then :
3522 $as_echo_n "(cached) " >&6
3523 else
3524 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3525 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3526 do
3527 IFS=$as_save_IFS
3528 test -z "$as_dir" && as_dir=.
3529 for ac_prog in mkdir gmkdir; do
3530 for ac_exec_ext in '' $ac_executable_extensions; do
3531 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3532 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3533 'mkdir (GNU coreutils) '* | \
3534 'mkdir (coreutils) '* | \
3535 'mkdir (fileutils) '4.1*)
3536 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3537 break 3;;
3538 esac
3539 done
3540 done
3541 done
3542 IFS=$as_save_IFS
3543
3544 fi
3545
3546 test -d ./--version && rmdir ./--version
3547 if test "${ac_cv_path_mkdir+set}" = set; then
3548 MKDIR_P="$ac_cv_path_mkdir -p"
3549 else
3550 # As a last resort, use the slow shell script. Don't cache a
3551 # value for MKDIR_P within a source directory, because that will
3552 # break other packages using the cache if that directory is
3553 # removed, or if the value is a relative name.
3554 MKDIR_P="$ac_install_sh -d"
3555 fi
3556 fi
3557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3558 $as_echo "$MKDIR_P" >&6; }
3559
3560 for ac_prog in gawk mawk nawk awk
3561 do
3562 # Extract the first word of "$ac_prog", so it can be a program name with args.
3563 set dummy $ac_prog; ac_word=$2
3564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3565 $as_echo_n "checking for $ac_word... " >&6; }
3566 if ${ac_cv_prog_AWK+:} false; then :
3567 $as_echo_n "(cached) " >&6
3568 else
3569 if test -n "$AWK"; then
3570 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3571 else
3572 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3573 for as_dir in $PATH
3574 do
3575 IFS=$as_save_IFS
3576 test -z "$as_dir" && as_dir=.
3577 for ac_exec_ext in '' $ac_executable_extensions; do
3578 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3579 ac_cv_prog_AWK="$ac_prog"
3580 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3581 break 2
3582 fi
3583 done
3584 done
3585 IFS=$as_save_IFS
3586
3587 fi
3588 fi
3589 AWK=$ac_cv_prog_AWK
3590 if test -n "$AWK"; then
3591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3592 $as_echo "$AWK" >&6; }
3593 else
3594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3595 $as_echo "no" >&6; }
3596 fi
3597
3598
3599 test -n "$AWK" && break
3600 done
3601
3602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3603 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3604 set x ${MAKE-make}
3605 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3606 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3607 $as_echo_n "(cached) " >&6
3608 else
3609 cat >conftest.make <<\_ACEOF
3610 SHELL = /bin/sh
3611 all:
3612 @echo '@@@%%%=$(MAKE)=@@@%%%'
3613 _ACEOF
3614 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3615 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3616 *@@@%%%=?*=@@@%%%*)
3617 eval ac_cv_prog_make_${ac_make}_set=yes;;
3618 *)
3619 eval ac_cv_prog_make_${ac_make}_set=no;;
3620 esac
3621 rm -f conftest.make
3622 fi
3623 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3625 $as_echo "yes" >&6; }
3626 SET_MAKE=
3627 else
3628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3629 $as_echo "no" >&6; }
3630 SET_MAKE="MAKE=${MAKE-make}"
3631 fi
3632
3633 rm -rf .tst 2>/dev/null
3634 mkdir .tst 2>/dev/null
3635 if test -d .tst; then
3636 am__leading_dot=.
3637 else
3638 am__leading_dot=_
3639 fi
3640 rmdir .tst 2>/dev/null
3641
3642 # Check whether --enable-silent-rules was given.
3643 if test "${enable_silent_rules+set}" = set; then :
3644 enableval=$enable_silent_rules;
3645 fi
3646
3647 case $enable_silent_rules in # (((
3648 yes) AM_DEFAULT_VERBOSITY=0;;
3649 no) AM_DEFAULT_VERBOSITY=1;;
3650 *) AM_DEFAULT_VERBOSITY=1;;
3651 esac
3652 am_make=${MAKE-make}
3653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3654 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3655 if ${am_cv_make_support_nested_variables+:} false; then :
3656 $as_echo_n "(cached) " >&6
3657 else
3658 if $as_echo 'TRUE=$(BAR$(V))
3659 BAR0=false
3660 BAR1=true
3661 V=1
3662 am__doit:
3663 @$(TRUE)
3664 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3665 am_cv_make_support_nested_variables=yes
3666 else
3667 am_cv_make_support_nested_variables=no
3668 fi
3669 fi
3670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3671 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3672 if test $am_cv_make_support_nested_variables = yes; then
3673 AM_V='$(V)'
3674 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3675 else
3676 AM_V=$AM_DEFAULT_VERBOSITY
3677 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3678 fi
3679 AM_BACKSLASH='\'
3680
3681 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3682 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3683 # is not polluted with repeated "-I."
3684 am__isrc=' -I$(srcdir)'
3685 # test to see if srcdir already configured
3686 if test -f $srcdir/config.status; then
3687 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3688 fi
3689 fi
3690
3691 # test whether we have cygpath
3692 if test -z "$CYGPATH_W"; then
3693 if (cygpath --version) >/dev/null 2>/dev/null; then
3694 CYGPATH_W='cygpath -w'
3695 else
3696 CYGPATH_W=echo
3697 fi
3698 fi
3699
3700
3701 # Define the identity of the package.
3702 PACKAGE='libstdc++'
3703 VERSION='version-unused'
3704
3705
3706 # Some tools Automake needs.
3707
3708 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3709
3710
3711 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3712
3713
3714 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3715
3716
3717 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3718
3719
3720 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3721
3722 # For better backward compatibility. To be removed once Automake 1.9.x
3723 # dies out for good. For more background, see:
3724 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3725 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3726 mkdir_p='$(MKDIR_P)'
3727
3728 # We need awk for the "check" target (and possibly the TAP driver). The
3729 # system "awk" is bad on some platforms.
3730 # Always define AMTAR for backward compatibility. Yes, it's still used
3731 # in the wild :-( We should find a proper way to deprecate it ...
3732 AMTAR='$${TAR-tar}'
3733
3734
3735 # We'll loop over all known methods to create a tar archive until one works.
3736 _am_tools='gnutar pax cpio none'
3737
3738 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3739
3740
3741
3742
3743
3744
3745 # POSIX will say in a future version that running "rm -f" with no argument
3746 # is OK; and we want to be able to make that assumption in our Makefile
3747 # recipes. So use an aggressive probe to check that the usage we want is
3748 # actually supported "in the wild" to an acceptable degree.
3749 # See automake bug#10828.
3750 # To make any issue more visible, cause the running configure to be aborted
3751 # by default if the 'rm' program in use doesn't match our expectations; the
3752 # user can still override this though.
3753 if rm -f && rm -fr && rm -rf; then : OK; else
3754 cat >&2 <<'END'
3755 Oops!
3756
3757 Your 'rm' program seems unable to run without file operands specified
3758 on the command line, even when the '-f' option is present. This is contrary
3759 to the behaviour of most rm programs out there, and not conforming with
3760 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3761
3762 Please tell bug-automake@gnu.org about your system, including the value
3763 of your $PATH and any error possibly output before this message. This
3764 can help us improve future automake versions.
3765
3766 END
3767 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3768 echo 'Configuration will proceed anyway, since you have set the' >&2
3769 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3770 echo >&2
3771 else
3772 cat >&2 <<'END'
3773 Aborting the configuration process, to ensure you take notice of the issue.
3774
3775 You can download and install GNU coreutils to get an 'rm' implementation
3776 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3777
3778 If you want to complete the configuration process using your problematic
3779 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3780 to "yes", and re-run configure.
3781
3782 END
3783 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3784 fi
3785 fi
3786
3787
3788
3789
3790 # -fno-builtin must be present here so that a non-conflicting form of
3791 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3792
3793 save_CXXFLAGS="$CXXFLAGS"
3794 CXXFLAGS="$CXXFLAGS -fno-builtin"
3795 ac_ext=c
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3800 if test -n "$ac_tool_prefix"; then
3801 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3802 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3804 $as_echo_n "checking for $ac_word... " >&6; }
3805 if ${ac_cv_prog_CC+:} false; then :
3806 $as_echo_n "(cached) " >&6
3807 else
3808 if test -n "$CC"; then
3809 ac_cv_prog_CC="$CC" # Let the user override the test.
3810 else
3811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3812 for as_dir in $PATH
3813 do
3814 IFS=$as_save_IFS
3815 test -z "$as_dir" && as_dir=.
3816 for ac_exec_ext in '' $ac_executable_extensions; do
3817 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3818 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3819 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3820 break 2
3821 fi
3822 done
3823 done
3824 IFS=$as_save_IFS
3825
3826 fi
3827 fi
3828 CC=$ac_cv_prog_CC
3829 if test -n "$CC"; then
3830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3831 $as_echo "$CC" >&6; }
3832 else
3833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3834 $as_echo "no" >&6; }
3835 fi
3836
3837
3838 fi
3839 if test -z "$ac_cv_prog_CC"; then
3840 ac_ct_CC=$CC
3841 # Extract the first word of "gcc", so it can be a program name with args.
3842 set dummy gcc; ac_word=$2
3843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3844 $as_echo_n "checking for $ac_word... " >&6; }
3845 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3846 $as_echo_n "(cached) " >&6
3847 else
3848 if test -n "$ac_ct_CC"; then
3849 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3850 else
3851 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3852 for as_dir in $PATH
3853 do
3854 IFS=$as_save_IFS
3855 test -z "$as_dir" && as_dir=.
3856 for ac_exec_ext in '' $ac_executable_extensions; do
3857 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3858 ac_cv_prog_ac_ct_CC="gcc"
3859 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3860 break 2
3861 fi
3862 done
3863 done
3864 IFS=$as_save_IFS
3865
3866 fi
3867 fi
3868 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3869 if test -n "$ac_ct_CC"; then
3870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3871 $as_echo "$ac_ct_CC" >&6; }
3872 else
3873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3874 $as_echo "no" >&6; }
3875 fi
3876
3877 if test "x$ac_ct_CC" = x; then
3878 CC=""
3879 else
3880 case $cross_compiling:$ac_tool_warned in
3881 yes:)
3882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3883 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3884 ac_tool_warned=yes ;;
3885 esac
3886 CC=$ac_ct_CC
3887 fi
3888 else
3889 CC="$ac_cv_prog_CC"
3890 fi
3891
3892 if test -z "$CC"; then
3893 if test -n "$ac_tool_prefix"; then
3894 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3895 set dummy ${ac_tool_prefix}cc; ac_word=$2
3896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3897 $as_echo_n "checking for $ac_word... " >&6; }
3898 if ${ac_cv_prog_CC+:} false; then :
3899 $as_echo_n "(cached) " >&6
3900 else
3901 if test -n "$CC"; then
3902 ac_cv_prog_CC="$CC" # Let the user override the test.
3903 else
3904 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3905 for as_dir in $PATH
3906 do
3907 IFS=$as_save_IFS
3908 test -z "$as_dir" && as_dir=.
3909 for ac_exec_ext in '' $ac_executable_extensions; do
3910 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3911 ac_cv_prog_CC="${ac_tool_prefix}cc"
3912 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3913 break 2
3914 fi
3915 done
3916 done
3917 IFS=$as_save_IFS
3918
3919 fi
3920 fi
3921 CC=$ac_cv_prog_CC
3922 if test -n "$CC"; then
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3924 $as_echo "$CC" >&6; }
3925 else
3926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3927 $as_echo "no" >&6; }
3928 fi
3929
3930
3931 fi
3932 fi
3933 if test -z "$CC"; then
3934 # Extract the first word of "cc", so it can be a program name with args.
3935 set dummy cc; ac_word=$2
3936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3937 $as_echo_n "checking for $ac_word... " >&6; }
3938 if ${ac_cv_prog_CC+:} false; then :
3939 $as_echo_n "(cached) " >&6
3940 else
3941 if test -n "$CC"; then
3942 ac_cv_prog_CC="$CC" # Let the user override the test.
3943 else
3944 ac_prog_rejected=no
3945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3946 for as_dir in $PATH
3947 do
3948 IFS=$as_save_IFS
3949 test -z "$as_dir" && as_dir=.
3950 for ac_exec_ext in '' $ac_executable_extensions; do
3951 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3952 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
3953 ac_prog_rejected=yes
3954 continue
3955 fi
3956 ac_cv_prog_CC="cc"
3957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3958 break 2
3959 fi
3960 done
3961 done
3962 IFS=$as_save_IFS
3963
3964 if test $ac_prog_rejected = yes; then
3965 # We found a bogon in the path, so make sure we never use it.
3966 set dummy $ac_cv_prog_CC
3967 shift
3968 if test $# != 0; then
3969 # We chose a different compiler from the bogus one.
3970 # However, it has the same basename, so the bogon will be chosen
3971 # first if we set CC to just the basename; use the full file name.
3972 shift
3973 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
3974 fi
3975 fi
3976 fi
3977 fi
3978 CC=$ac_cv_prog_CC
3979 if test -n "$CC"; then
3980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3981 $as_echo "$CC" >&6; }
3982 else
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3984 $as_echo "no" >&6; }
3985 fi
3986
3987
3988 fi
3989 if test -z "$CC"; then
3990 if test -n "$ac_tool_prefix"; then
3991 for ac_prog in cl.exe
3992 do
3993 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
3994 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
3995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3996 $as_echo_n "checking for $ac_word... " >&6; }
3997 if ${ac_cv_prog_CC+:} false; then :
3998 $as_echo_n "(cached) " >&6
3999 else
4000 if test -n "$CC"; then
4001 ac_cv_prog_CC="$CC" # Let the user override the test.
4002 else
4003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4004 for as_dir in $PATH
4005 do
4006 IFS=$as_save_IFS
4007 test -z "$as_dir" && as_dir=.
4008 for ac_exec_ext in '' $ac_executable_extensions; do
4009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4010 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4012 break 2
4013 fi
4014 done
4015 done
4016 IFS=$as_save_IFS
4017
4018 fi
4019 fi
4020 CC=$ac_cv_prog_CC
4021 if test -n "$CC"; then
4022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4023 $as_echo "$CC" >&6; }
4024 else
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4026 $as_echo "no" >&6; }
4027 fi
4028
4029
4030 test -n "$CC" && break
4031 done
4032 fi
4033 if test -z "$CC"; then
4034 ac_ct_CC=$CC
4035 for ac_prog in cl.exe
4036 do
4037 # Extract the first word of "$ac_prog", so it can be a program name with args.
4038 set dummy $ac_prog; ac_word=$2
4039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4040 $as_echo_n "checking for $ac_word... " >&6; }
4041 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4042 $as_echo_n "(cached) " >&6
4043 else
4044 if test -n "$ac_ct_CC"; then
4045 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4046 else
4047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4048 for as_dir in $PATH
4049 do
4050 IFS=$as_save_IFS
4051 test -z "$as_dir" && as_dir=.
4052 for ac_exec_ext in '' $ac_executable_extensions; do
4053 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4054 ac_cv_prog_ac_ct_CC="$ac_prog"
4055 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4056 break 2
4057 fi
4058 done
4059 done
4060 IFS=$as_save_IFS
4061
4062 fi
4063 fi
4064 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4065 if test -n "$ac_ct_CC"; then
4066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4067 $as_echo "$ac_ct_CC" >&6; }
4068 else
4069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4070 $as_echo "no" >&6; }
4071 fi
4072
4073
4074 test -n "$ac_ct_CC" && break
4075 done
4076
4077 if test "x$ac_ct_CC" = x; then
4078 CC=""
4079 else
4080 case $cross_compiling:$ac_tool_warned in
4081 yes:)
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4083 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4084 ac_tool_warned=yes ;;
4085 esac
4086 CC=$ac_ct_CC
4087 fi
4088 fi
4089
4090 fi
4091
4092
4093 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4095 as_fn_error $? "no acceptable C compiler found in \$PATH
4096 See \`config.log' for more details" "$LINENO" 5; }
4097
4098 # Provide some information about the compiler.
4099 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4100 set X $ac_compile
4101 ac_compiler=$2
4102 for ac_option in --version -v -V -qversion; do
4103 { { ac_try="$ac_compiler $ac_option >&5"
4104 case "(($ac_try" in
4105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4106 *) ac_try_echo=$ac_try;;
4107 esac
4108 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4109 $as_echo "$ac_try_echo"; } >&5
4110 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4111 ac_status=$?
4112 if test -s conftest.err; then
4113 sed '10a\
4114 ... rest of stderr output deleted ...
4115 10q' conftest.err >conftest.er1
4116 cat conftest.er1 >&5
4117 fi
4118 rm -f conftest.er1 conftest.err
4119 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4120 test $ac_status = 0; }
4121 done
4122
4123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4124 /* end confdefs.h. */
4125
4126 int
4127 main ()
4128 {
4129
4130 ;
4131 return 0;
4132 }
4133 _ACEOF
4134 # FIXME: Cleanup?
4135 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4136 (eval $ac_link) 2>&5
4137 ac_status=$?
4138 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4139 test $ac_status = 0; }; then :
4140 gcc_no_link=no
4141 else
4142 gcc_no_link=yes
4143 fi
4144 if test x$gcc_no_link = xyes; then
4145 # Setting cross_compile will disable run tests; it will
4146 # also disable AC_CHECK_FILE but that's generally
4147 # correct if we can't link.
4148 cross_compiling=yes
4149 EXEEXT=
4150 else
4151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4152 /* end confdefs.h. */
4153
4154 int
4155 main ()
4156 {
4157
4158 ;
4159 return 0;
4160 }
4161 _ACEOF
4162 ac_clean_files_save=$ac_clean_files
4163 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4164 # Try to create an executable without -o first, disregard a.out.
4165 # It will help us diagnose broken compilers, and finding out an intuition
4166 # of exeext.
4167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4168 $as_echo_n "checking whether the C compiler works... " >&6; }
4169 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4170
4171 # The possible output files:
4172 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4173
4174 ac_rmfiles=
4175 for ac_file in $ac_files
4176 do
4177 case $ac_file in
4178 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4179 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4180 esac
4181 done
4182 rm -f $ac_rmfiles
4183
4184 if { { ac_try="$ac_link_default"
4185 case "(($ac_try" in
4186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4187 *) ac_try_echo=$ac_try;;
4188 esac
4189 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4190 $as_echo "$ac_try_echo"; } >&5
4191 (eval "$ac_link_default") 2>&5
4192 ac_status=$?
4193 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4194 test $ac_status = 0; }; then :
4195 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4196 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4197 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4198 # so that the user can short-circuit this test for compilers unknown to
4199 # Autoconf.
4200 for ac_file in $ac_files ''
4201 do
4202 test -f "$ac_file" || continue
4203 case $ac_file in
4204 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4205 ;;
4206 [ab].out )
4207 # We found the default executable, but exeext='' is most
4208 # certainly right.
4209 break;;
4210 *.* )
4211 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4212 then :; else
4213 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4214 fi
4215 # We set ac_cv_exeext here because the later test for it is not
4216 # safe: cross compilers may not add the suffix if given an `-o'
4217 # argument, so we may need to know it at that point already.
4218 # Even if this section looks crufty: it has the advantage of
4219 # actually working.
4220 break;;
4221 * )
4222 break;;
4223 esac
4224 done
4225 test "$ac_cv_exeext" = no && ac_cv_exeext=
4226
4227 else
4228 ac_file=''
4229 fi
4230 if test -z "$ac_file"; then :
4231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4232 $as_echo "no" >&6; }
4233 $as_echo "$as_me: failed program was:" >&5
4234 sed 's/^/| /' conftest.$ac_ext >&5
4235
4236 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4237 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4238 as_fn_error 77 "C compiler cannot create executables
4239 See \`config.log' for more details" "$LINENO" 5; }
4240 else
4241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4242 $as_echo "yes" >&6; }
4243 fi
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4245 $as_echo_n "checking for C compiler default output file name... " >&6; }
4246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4247 $as_echo "$ac_file" >&6; }
4248 ac_exeext=$ac_cv_exeext
4249
4250 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4251 ac_clean_files=$ac_clean_files_save
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4253 $as_echo_n "checking for suffix of executables... " >&6; }
4254 if { { ac_try="$ac_link"
4255 case "(($ac_try" in
4256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4257 *) ac_try_echo=$ac_try;;
4258 esac
4259 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4260 $as_echo "$ac_try_echo"; } >&5
4261 (eval "$ac_link") 2>&5
4262 ac_status=$?
4263 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4264 test $ac_status = 0; }; then :
4265 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4266 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4267 # work properly (i.e., refer to `conftest.exe'), while it won't with
4268 # `rm'.
4269 for ac_file in conftest.exe conftest conftest.*; do
4270 test -f "$ac_file" || continue
4271 case $ac_file in
4272 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4273 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4274 break;;
4275 * ) break;;
4276 esac
4277 done
4278 else
4279 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4280 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4281 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4282 See \`config.log' for more details" "$LINENO" 5; }
4283 fi
4284 rm -f conftest conftest$ac_cv_exeext
4285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4286 $as_echo "$ac_cv_exeext" >&6; }
4287
4288 rm -f conftest.$ac_ext
4289 EXEEXT=$ac_cv_exeext
4290 ac_exeext=$EXEEXT
4291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4292 /* end confdefs.h. */
4293 #include <stdio.h>
4294 int
4295 main ()
4296 {
4297 FILE *f = fopen ("conftest.out", "w");
4298 return ferror (f) || fclose (f) != 0;
4299
4300 ;
4301 return 0;
4302 }
4303 _ACEOF
4304 ac_clean_files="$ac_clean_files conftest.out"
4305 # Check that the compiler produces executables we can run. If not, either
4306 # the compiler is broken, or we cross compile.
4307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4308 $as_echo_n "checking whether we are cross compiling... " >&6; }
4309 if test "$cross_compiling" != yes; then
4310 { { ac_try="$ac_link"
4311 case "(($ac_try" in
4312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4313 *) ac_try_echo=$ac_try;;
4314 esac
4315 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4316 $as_echo "$ac_try_echo"; } >&5
4317 (eval "$ac_link") 2>&5
4318 ac_status=$?
4319 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4320 test $ac_status = 0; }
4321 if { ac_try='./conftest$ac_cv_exeext'
4322 { { case "(($ac_try" in
4323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4324 *) ac_try_echo=$ac_try;;
4325 esac
4326 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4327 $as_echo "$ac_try_echo"; } >&5
4328 (eval "$ac_try") 2>&5
4329 ac_status=$?
4330 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4331 test $ac_status = 0; }; }; then
4332 cross_compiling=no
4333 else
4334 if test "$cross_compiling" = maybe; then
4335 cross_compiling=yes
4336 else
4337 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4338 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4339 as_fn_error $? "cannot run C compiled programs.
4340 If you meant to cross compile, use \`--host'.
4341 See \`config.log' for more details" "$LINENO" 5; }
4342 fi
4343 fi
4344 fi
4345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4346 $as_echo "$cross_compiling" >&6; }
4347
4348 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4349 ac_clean_files=$ac_clean_files_save
4350 fi
4351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4352 $as_echo_n "checking for suffix of object files... " >&6; }
4353 if ${ac_cv_objext+:} false; then :
4354 $as_echo_n "(cached) " >&6
4355 else
4356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4357 /* end confdefs.h. */
4358
4359 int
4360 main ()
4361 {
4362
4363 ;
4364 return 0;
4365 }
4366 _ACEOF
4367 rm -f conftest.o conftest.obj
4368 if { { ac_try="$ac_compile"
4369 case "(($ac_try" in
4370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4371 *) ac_try_echo=$ac_try;;
4372 esac
4373 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4374 $as_echo "$ac_try_echo"; } >&5
4375 (eval "$ac_compile") 2>&5
4376 ac_status=$?
4377 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4378 test $ac_status = 0; }; then :
4379 for ac_file in conftest.o conftest.obj conftest.*; do
4380 test -f "$ac_file" || continue;
4381 case $ac_file in
4382 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4383 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4384 break;;
4385 esac
4386 done
4387 else
4388 $as_echo "$as_me: failed program was:" >&5
4389 sed 's/^/| /' conftest.$ac_ext >&5
4390
4391 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4392 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4393 as_fn_error $? "cannot compute suffix of object files: cannot compile
4394 See \`config.log' for more details" "$LINENO" 5; }
4395 fi
4396 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4397 fi
4398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4399 $as_echo "$ac_cv_objext" >&6; }
4400 OBJEXT=$ac_cv_objext
4401 ac_objext=$OBJEXT
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4403 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4404 if ${ac_cv_c_compiler_gnu+:} false; then :
4405 $as_echo_n "(cached) " >&6
4406 else
4407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4408 /* end confdefs.h. */
4409
4410 int
4411 main ()
4412 {
4413 #ifndef __GNUC__
4414 choke me
4415 #endif
4416
4417 ;
4418 return 0;
4419 }
4420 _ACEOF
4421 if ac_fn_c_try_compile "$LINENO"; then :
4422 ac_compiler_gnu=yes
4423 else
4424 ac_compiler_gnu=no
4425 fi
4426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4427 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4428
4429 fi
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4431 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4432 if test $ac_compiler_gnu = yes; then
4433 GCC=yes
4434 else
4435 GCC=
4436 fi
4437 ac_test_CFLAGS=${CFLAGS+set}
4438 ac_save_CFLAGS=$CFLAGS
4439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4440 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4441 if ${ac_cv_prog_cc_g+:} false; then :
4442 $as_echo_n "(cached) " >&6
4443 else
4444 ac_save_c_werror_flag=$ac_c_werror_flag
4445 ac_c_werror_flag=yes
4446 ac_cv_prog_cc_g=no
4447 CFLAGS="-g"
4448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4449 /* end confdefs.h. */
4450
4451 int
4452 main ()
4453 {
4454
4455 ;
4456 return 0;
4457 }
4458 _ACEOF
4459 if ac_fn_c_try_compile "$LINENO"; then :
4460 ac_cv_prog_cc_g=yes
4461 else
4462 CFLAGS=""
4463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4464 /* end confdefs.h. */
4465
4466 int
4467 main ()
4468 {
4469
4470 ;
4471 return 0;
4472 }
4473 _ACEOF
4474 if ac_fn_c_try_compile "$LINENO"; then :
4475
4476 else
4477 ac_c_werror_flag=$ac_save_c_werror_flag
4478 CFLAGS="-g"
4479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4480 /* end confdefs.h. */
4481
4482 int
4483 main ()
4484 {
4485
4486 ;
4487 return 0;
4488 }
4489 _ACEOF
4490 if ac_fn_c_try_compile "$LINENO"; then :
4491 ac_cv_prog_cc_g=yes
4492 fi
4493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4494 fi
4495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4496 fi
4497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4498 ac_c_werror_flag=$ac_save_c_werror_flag
4499 fi
4500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4501 $as_echo "$ac_cv_prog_cc_g" >&6; }
4502 if test "$ac_test_CFLAGS" = set; then
4503 CFLAGS=$ac_save_CFLAGS
4504 elif test $ac_cv_prog_cc_g = yes; then
4505 if test "$GCC" = yes; then
4506 CFLAGS="-g -O2"
4507 else
4508 CFLAGS="-g"
4509 fi
4510 else
4511 if test "$GCC" = yes; then
4512 CFLAGS="-O2"
4513 else
4514 CFLAGS=
4515 fi
4516 fi
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4518 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4519 if ${ac_cv_prog_cc_c89+:} false; then :
4520 $as_echo_n "(cached) " >&6
4521 else
4522 ac_cv_prog_cc_c89=no
4523 ac_save_CC=$CC
4524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4525 /* end confdefs.h. */
4526 #include <stdarg.h>
4527 #include <stdio.h>
4528 struct stat;
4529 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4530 struct buf { int x; };
4531 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4532 static char *e (p, i)
4533 char **p;
4534 int i;
4535 {
4536 return p[i];
4537 }
4538 static char *f (char * (*g) (char **, int), char **p, ...)
4539 {
4540 char *s;
4541 va_list v;
4542 va_start (v,p);
4543 s = g (p, va_arg (v,int));
4544 va_end (v);
4545 return s;
4546 }
4547
4548 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4549 function prototypes and stuff, but not '\xHH' hex character constants.
4550 These don't provoke an error unfortunately, instead are silently treated
4551 as 'x'. The following induces an error, until -std is added to get
4552 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4553 array size at least. It's necessary to write '\x00'==0 to get something
4554 that's true only with -std. */
4555 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4556
4557 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4558 inside strings and character constants. */
4559 #define FOO(x) 'x'
4560 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4561
4562 int test (int i, double x);
4563 struct s1 {int (*f) (int a);};
4564 struct s2 {int (*f) (double a);};
4565 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4566 int argc;
4567 char **argv;
4568 int
4569 main ()
4570 {
4571 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4572 ;
4573 return 0;
4574 }
4575 _ACEOF
4576 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4577 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4578 do
4579 CC="$ac_save_CC $ac_arg"
4580 if ac_fn_c_try_compile "$LINENO"; then :
4581 ac_cv_prog_cc_c89=$ac_arg
4582 fi
4583 rm -f core conftest.err conftest.$ac_objext
4584 test "x$ac_cv_prog_cc_c89" != "xno" && break
4585 done
4586 rm -f conftest.$ac_ext
4587 CC=$ac_save_CC
4588
4589 fi
4590 # AC_CACHE_VAL
4591 case "x$ac_cv_prog_cc_c89" in
4592 x)
4593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4594 $as_echo "none needed" >&6; } ;;
4595 xno)
4596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4597 $as_echo "unsupported" >&6; } ;;
4598 *)
4599 CC="$CC $ac_cv_prog_cc_c89"
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4601 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4602 esac
4603 if test "x$ac_cv_prog_cc_c89" != xno; then :
4604
4605 fi
4606
4607 ac_ext=c
4608 ac_cpp='$CPP $CPPFLAGS'
4609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4612
4613 ac_ext=c
4614 ac_cpp='$CPP $CPPFLAGS'
4615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4619 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4620 if ${am_cv_prog_cc_c_o+:} false; then :
4621 $as_echo_n "(cached) " >&6
4622 else
4623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4624 /* end confdefs.h. */
4625
4626 int
4627 main ()
4628 {
4629
4630 ;
4631 return 0;
4632 }
4633 _ACEOF
4634 # Make sure it works both with $CC and with simple cc.
4635 # Following AC_PROG_CC_C_O, we do the test twice because some
4636 # compilers refuse to overwrite an existing .o file with -o,
4637 # though they will create one.
4638 am_cv_prog_cc_c_o=yes
4639 for am_i in 1 2; do
4640 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4641 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4642 ac_status=$?
4643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4644 (exit $ac_status); } \
4645 && test -f conftest2.$ac_objext; then
4646 : OK
4647 else
4648 am_cv_prog_cc_c_o=no
4649 break
4650 fi
4651 done
4652 rm -f core conftest*
4653 unset am_i
4654 fi
4655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4656 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4657 if test "$am_cv_prog_cc_c_o" != yes; then
4658 # Losing compiler, so override with the script.
4659 # FIXME: It is wrong to rewrite CC.
4660 # But if we don't then we get into trouble of one sort or another.
4661 # A longer-term fix would be to have automake use am__CC in this case,
4662 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4663 CC="$am_aux_dir/compile $CC"
4664 fi
4665 ac_ext=c
4666 ac_cpp='$CPP $CPPFLAGS'
4667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4670
4671
4672 ac_ext=cpp
4673 ac_cpp='$CXXCPP $CPPFLAGS'
4674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4677 if test -z "$CXX"; then
4678 if test -n "$CCC"; then
4679 CXX=$CCC
4680 else
4681 if test -n "$ac_tool_prefix"; then
4682 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4683 do
4684 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4685 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4687 $as_echo_n "checking for $ac_word... " >&6; }
4688 if ${ac_cv_prog_CXX+:} false; then :
4689 $as_echo_n "(cached) " >&6
4690 else
4691 if test -n "$CXX"; then
4692 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4693 else
4694 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4695 for as_dir in $PATH
4696 do
4697 IFS=$as_save_IFS
4698 test -z "$as_dir" && as_dir=.
4699 for ac_exec_ext in '' $ac_executable_extensions; do
4700 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4701 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4702 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4703 break 2
4704 fi
4705 done
4706 done
4707 IFS=$as_save_IFS
4708
4709 fi
4710 fi
4711 CXX=$ac_cv_prog_CXX
4712 if test -n "$CXX"; then
4713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4714 $as_echo "$CXX" >&6; }
4715 else
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4717 $as_echo "no" >&6; }
4718 fi
4719
4720
4721 test -n "$CXX" && break
4722 done
4723 fi
4724 if test -z "$CXX"; then
4725 ac_ct_CXX=$CXX
4726 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4727 do
4728 # Extract the first word of "$ac_prog", so it can be a program name with args.
4729 set dummy $ac_prog; ac_word=$2
4730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4731 $as_echo_n "checking for $ac_word... " >&6; }
4732 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4733 $as_echo_n "(cached) " >&6
4734 else
4735 if test -n "$ac_ct_CXX"; then
4736 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4737 else
4738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4739 for as_dir in $PATH
4740 do
4741 IFS=$as_save_IFS
4742 test -z "$as_dir" && as_dir=.
4743 for ac_exec_ext in '' $ac_executable_extensions; do
4744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4745 ac_cv_prog_ac_ct_CXX="$ac_prog"
4746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4747 break 2
4748 fi
4749 done
4750 done
4751 IFS=$as_save_IFS
4752
4753 fi
4754 fi
4755 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4756 if test -n "$ac_ct_CXX"; then
4757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4758 $as_echo "$ac_ct_CXX" >&6; }
4759 else
4760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4761 $as_echo "no" >&6; }
4762 fi
4763
4764
4765 test -n "$ac_ct_CXX" && break
4766 done
4767
4768 if test "x$ac_ct_CXX" = x; then
4769 CXX="g++"
4770 else
4771 case $cross_compiling:$ac_tool_warned in
4772 yes:)
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4774 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4775 ac_tool_warned=yes ;;
4776 esac
4777 CXX=$ac_ct_CXX
4778 fi
4779 fi
4780
4781 fi
4782 fi
4783 # Provide some information about the compiler.
4784 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4785 set X $ac_compile
4786 ac_compiler=$2
4787 for ac_option in --version -v -V -qversion; do
4788 { { ac_try="$ac_compiler $ac_option >&5"
4789 case "(($ac_try" in
4790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4791 *) ac_try_echo=$ac_try;;
4792 esac
4793 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4794 $as_echo "$ac_try_echo"; } >&5
4795 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4796 ac_status=$?
4797 if test -s conftest.err; then
4798 sed '10a\
4799 ... rest of stderr output deleted ...
4800 10q' conftest.err >conftest.er1
4801 cat conftest.er1 >&5
4802 fi
4803 rm -f conftest.er1 conftest.err
4804 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4805 test $ac_status = 0; }
4806 done
4807
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4809 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4810 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4811 $as_echo_n "(cached) " >&6
4812 else
4813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4814 /* end confdefs.h. */
4815
4816 int
4817 main ()
4818 {
4819 #ifndef __GNUC__
4820 choke me
4821 #endif
4822
4823 ;
4824 return 0;
4825 }
4826 _ACEOF
4827 if ac_fn_cxx_try_compile "$LINENO"; then :
4828 ac_compiler_gnu=yes
4829 else
4830 ac_compiler_gnu=no
4831 fi
4832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4833 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4834
4835 fi
4836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4837 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4838 if test $ac_compiler_gnu = yes; then
4839 GXX=yes
4840 else
4841 GXX=
4842 fi
4843 ac_test_CXXFLAGS=${CXXFLAGS+set}
4844 ac_save_CXXFLAGS=$CXXFLAGS
4845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4846 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4847 if ${ac_cv_prog_cxx_g+:} false; then :
4848 $as_echo_n "(cached) " >&6
4849 else
4850 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4851 ac_cxx_werror_flag=yes
4852 ac_cv_prog_cxx_g=no
4853 CXXFLAGS="-g"
4854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4855 /* end confdefs.h. */
4856
4857 int
4858 main ()
4859 {
4860
4861 ;
4862 return 0;
4863 }
4864 _ACEOF
4865 if ac_fn_cxx_try_compile "$LINENO"; then :
4866 ac_cv_prog_cxx_g=yes
4867 else
4868 CXXFLAGS=""
4869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4870 /* end confdefs.h. */
4871
4872 int
4873 main ()
4874 {
4875
4876 ;
4877 return 0;
4878 }
4879 _ACEOF
4880 if ac_fn_cxx_try_compile "$LINENO"; then :
4881
4882 else
4883 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4884 CXXFLAGS="-g"
4885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4886 /* end confdefs.h. */
4887
4888 int
4889 main ()
4890 {
4891
4892 ;
4893 return 0;
4894 }
4895 _ACEOF
4896 if ac_fn_cxx_try_compile "$LINENO"; then :
4897 ac_cv_prog_cxx_g=yes
4898 fi
4899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4900 fi
4901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4902 fi
4903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4904 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4905 fi
4906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4907 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4908 if test "$ac_test_CXXFLAGS" = set; then
4909 CXXFLAGS=$ac_save_CXXFLAGS
4910 elif test $ac_cv_prog_cxx_g = yes; then
4911 if test "$GXX" = yes; then
4912 CXXFLAGS="-g -O2"
4913 else
4914 CXXFLAGS="-g"
4915 fi
4916 else
4917 if test "$GXX" = yes; then
4918 CXXFLAGS="-O2"
4919 else
4920 CXXFLAGS=
4921 fi
4922 fi
4923 ac_ext=c
4924 ac_cpp='$CPP $CPPFLAGS'
4925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4928
4929 CXXFLAGS="$save_CXXFLAGS"
4930
4931 # Runs configure.host, and assorted other critical bits. Sets
4932 # up critical shell variables.
4933
4934 ac_ext=c
4935 ac_cpp='$CPP $CPPFLAGS'
4936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
4940 $as_echo_n "checking how to run the C preprocessor... " >&6; }
4941 # On Suns, sometimes $CPP names a directory.
4942 if test -n "$CPP" && test -d "$CPP"; then
4943 CPP=
4944 fi
4945 if test -z "$CPP"; then
4946 if ${ac_cv_prog_CPP+:} false; then :
4947 $as_echo_n "(cached) " >&6
4948 else
4949 # Double quotes because CPP needs to be expanded
4950 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
4951 do
4952 ac_preproc_ok=false
4953 for ac_c_preproc_warn_flag in '' yes
4954 do
4955 # Use a header file that comes with gcc, so configuring glibc
4956 # with a fresh cross-compiler works.
4957 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
4958 # <limits.h> exists even on freestanding compilers.
4959 # On the NeXT, cc -E runs the code through the compiler's parser,
4960 # not just through cpp. "Syntax error" is here to catch this case.
4961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4962 /* end confdefs.h. */
4963 #ifdef __STDC__
4964 # include <limits.h>
4965 #else
4966 # include <assert.h>
4967 #endif
4968 Syntax error
4969 _ACEOF
4970 if ac_fn_c_try_cpp "$LINENO"; then :
4971
4972 else
4973 # Broken: fails on valid input.
4974 continue
4975 fi
4976 rm -f conftest.err conftest.i conftest.$ac_ext
4977
4978 # OK, works on sane cases. Now check whether nonexistent headers
4979 # can be detected and how.
4980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4981 /* end confdefs.h. */
4982 #include <ac_nonexistent.h>
4983 _ACEOF
4984 if ac_fn_c_try_cpp "$LINENO"; then :
4985 # Broken: success on invalid input.
4986 continue
4987 else
4988 # Passes both tests.
4989 ac_preproc_ok=:
4990 break
4991 fi
4992 rm -f conftest.err conftest.i conftest.$ac_ext
4993
4994 done
4995 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
4996 rm -f conftest.i conftest.err conftest.$ac_ext
4997 if $ac_preproc_ok; then :
4998 break
4999 fi
5000
5001 done
5002 ac_cv_prog_CPP=$CPP
5003
5004 fi
5005 CPP=$ac_cv_prog_CPP
5006 else
5007 ac_cv_prog_CPP=$CPP
5008 fi
5009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5010 $as_echo "$CPP" >&6; }
5011 ac_preproc_ok=false
5012 for ac_c_preproc_warn_flag in '' yes
5013 do
5014 # Use a header file that comes with gcc, so configuring glibc
5015 # with a fresh cross-compiler works.
5016 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5017 # <limits.h> exists even on freestanding compilers.
5018 # On the NeXT, cc -E runs the code through the compiler's parser,
5019 # not just through cpp. "Syntax error" is here to catch this case.
5020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5021 /* end confdefs.h. */
5022 #ifdef __STDC__
5023 # include <limits.h>
5024 #else
5025 # include <assert.h>
5026 #endif
5027 Syntax error
5028 _ACEOF
5029 if ac_fn_c_try_cpp "$LINENO"; then :
5030
5031 else
5032 # Broken: fails on valid input.
5033 continue
5034 fi
5035 rm -f conftest.err conftest.i conftest.$ac_ext
5036
5037 # OK, works on sane cases. Now check whether nonexistent headers
5038 # can be detected and how.
5039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5040 /* end confdefs.h. */
5041 #include <ac_nonexistent.h>
5042 _ACEOF
5043 if ac_fn_c_try_cpp "$LINENO"; then :
5044 # Broken: success on invalid input.
5045 continue
5046 else
5047 # Passes both tests.
5048 ac_preproc_ok=:
5049 break
5050 fi
5051 rm -f conftest.err conftest.i conftest.$ac_ext
5052
5053 done
5054 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5055 rm -f conftest.i conftest.err conftest.$ac_ext
5056 if $ac_preproc_ok; then :
5057
5058 else
5059 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5060 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5061 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5062 See \`config.log' for more details" "$LINENO" 5; }
5063 fi
5064
5065 ac_ext=c
5066 ac_cpp='$CPP $CPPFLAGS'
5067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5070
5071
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5073 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5074 if ${ac_cv_path_GREP+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 if test -z "$GREP"; then
5078 ac_path_GREP_found=false
5079 # Loop through the user's path and test for each of PROGNAME-LIST
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5082 do
5083 IFS=$as_save_IFS
5084 test -z "$as_dir" && as_dir=.
5085 for ac_prog in grep ggrep; do
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5088 as_fn_executable_p "$ac_path_GREP" || continue
5089 # Check for GNU ac_path_GREP and select it if it is found.
5090 # Check for GNU $ac_path_GREP
5091 case `"$ac_path_GREP" --version 2>&1` in
5092 *GNU*)
5093 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5094 *)
5095 ac_count=0
5096 $as_echo_n 0123456789 >"conftest.in"
5097 while :
5098 do
5099 cat "conftest.in" "conftest.in" >"conftest.tmp"
5100 mv "conftest.tmp" "conftest.in"
5101 cp "conftest.in" "conftest.nl"
5102 $as_echo 'GREP' >> "conftest.nl"
5103 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5104 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5105 as_fn_arith $ac_count + 1 && ac_count=$as_val
5106 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5107 # Best one so far, save it but keep looking for a better one
5108 ac_cv_path_GREP="$ac_path_GREP"
5109 ac_path_GREP_max=$ac_count
5110 fi
5111 # 10*(2^10) chars as input seems more than enough
5112 test $ac_count -gt 10 && break
5113 done
5114 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5115 esac
5116
5117 $ac_path_GREP_found && break 3
5118 done
5119 done
5120 done
5121 IFS=$as_save_IFS
5122 if test -z "$ac_cv_path_GREP"; then
5123 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5124 fi
5125 else
5126 ac_cv_path_GREP=$GREP
5127 fi
5128
5129 fi
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5131 $as_echo "$ac_cv_path_GREP" >&6; }
5132 GREP="$ac_cv_path_GREP"
5133
5134
5135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5136 $as_echo_n "checking for egrep... " >&6; }
5137 if ${ac_cv_path_EGREP+:} false; then :
5138 $as_echo_n "(cached) " >&6
5139 else
5140 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5141 then ac_cv_path_EGREP="$GREP -E"
5142 else
5143 if test -z "$EGREP"; then
5144 ac_path_EGREP_found=false
5145 # Loop through the user's path and test for each of PROGNAME-LIST
5146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5147 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5148 do
5149 IFS=$as_save_IFS
5150 test -z "$as_dir" && as_dir=.
5151 for ac_prog in egrep; do
5152 for ac_exec_ext in '' $ac_executable_extensions; do
5153 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5154 as_fn_executable_p "$ac_path_EGREP" || continue
5155 # Check for GNU ac_path_EGREP and select it if it is found.
5156 # Check for GNU $ac_path_EGREP
5157 case `"$ac_path_EGREP" --version 2>&1` in
5158 *GNU*)
5159 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5160 *)
5161 ac_count=0
5162 $as_echo_n 0123456789 >"conftest.in"
5163 while :
5164 do
5165 cat "conftest.in" "conftest.in" >"conftest.tmp"
5166 mv "conftest.tmp" "conftest.in"
5167 cp "conftest.in" "conftest.nl"
5168 $as_echo 'EGREP' >> "conftest.nl"
5169 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5170 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5171 as_fn_arith $ac_count + 1 && ac_count=$as_val
5172 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5173 # Best one so far, save it but keep looking for a better one
5174 ac_cv_path_EGREP="$ac_path_EGREP"
5175 ac_path_EGREP_max=$ac_count
5176 fi
5177 # 10*(2^10) chars as input seems more than enough
5178 test $ac_count -gt 10 && break
5179 done
5180 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5181 esac
5182
5183 $ac_path_EGREP_found && break 3
5184 done
5185 done
5186 done
5187 IFS=$as_save_IFS
5188 if test -z "$ac_cv_path_EGREP"; then
5189 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5190 fi
5191 else
5192 ac_cv_path_EGREP=$EGREP
5193 fi
5194
5195 fi
5196 fi
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5198 $as_echo "$ac_cv_path_EGREP" >&6; }
5199 EGREP="$ac_cv_path_EGREP"
5200
5201
5202
5203 # Keep these sync'd with the list in Makefile.am. The first provides an
5204 # expandable list at autoconf time; the second provides an expandable list
5205 # (i.e., shell variable) at configure time.
5206
5207 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/filesystem doc po testsuite python'
5208
5209 # These need to be absolute paths, yet at the same time need to
5210 # canonicalize only relative paths, because then amd will not unmount
5211 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5212 glibcxx_builddir=`${PWDCMD-pwd}`
5213 case $srcdir in
5214 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5215 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5216 esac
5217 toplevel_builddir=${glibcxx_builddir}/..
5218 toplevel_srcdir=${glibcxx_srcdir}/..
5219
5220
5221
5222
5223
5224 # We use these options to decide which functions to include. They are
5225 # set from the top level.
5226
5227 # Check whether --with-target-subdir was given.
5228 if test "${with_target_subdir+set}" = set; then :
5229 withval=$with_target_subdir;
5230 fi
5231
5232
5233
5234 # Check whether --with-cross-host was given.
5235 if test "${with_cross_host+set}" = set; then :
5236 withval=$with_cross_host;
5237 fi
5238
5239
5240
5241 # Check whether --with-newlib was given.
5242 if test "${with_newlib+set}" = set; then :
5243 withval=$with_newlib;
5244 fi
5245
5246
5247 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5248 # available). Uncomment the next line to force a particular method.
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5250 $as_echo_n "checking whether ln -s works... " >&6; }
5251 LN_S=$as_ln_s
5252 if test "$LN_S" = "ln -s"; then
5253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5254 $as_echo "yes" >&6; }
5255 else
5256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5257 $as_echo "no, using $LN_S" >&6; }
5258 fi
5259
5260 #LN_S='cp -p'
5261
5262 if test -n "$ac_tool_prefix"; then
5263 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5264 set dummy ${ac_tool_prefix}as; ac_word=$2
5265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5266 $as_echo_n "checking for $ac_word... " >&6; }
5267 if ${ac_cv_prog_AS+:} false; then :
5268 $as_echo_n "(cached) " >&6
5269 else
5270 if test -n "$AS"; then
5271 ac_cv_prog_AS="$AS" # Let the user override the test.
5272 else
5273 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5274 for as_dir in $PATH
5275 do
5276 IFS=$as_save_IFS
5277 test -z "$as_dir" && as_dir=.
5278 for ac_exec_ext in '' $ac_executable_extensions; do
5279 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5280 ac_cv_prog_AS="${ac_tool_prefix}as"
5281 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5282 break 2
5283 fi
5284 done
5285 done
5286 IFS=$as_save_IFS
5287
5288 fi
5289 fi
5290 AS=$ac_cv_prog_AS
5291 if test -n "$AS"; then
5292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5293 $as_echo "$AS" >&6; }
5294 else
5295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5296 $as_echo "no" >&6; }
5297 fi
5298
5299
5300 fi
5301 if test -z "$ac_cv_prog_AS"; then
5302 ac_ct_AS=$AS
5303 # Extract the first word of "as", so it can be a program name with args.
5304 set dummy as; ac_word=$2
5305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5306 $as_echo_n "checking for $ac_word... " >&6; }
5307 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5308 $as_echo_n "(cached) " >&6
5309 else
5310 if test -n "$ac_ct_AS"; then
5311 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5312 else
5313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5314 for as_dir in $PATH
5315 do
5316 IFS=$as_save_IFS
5317 test -z "$as_dir" && as_dir=.
5318 for ac_exec_ext in '' $ac_executable_extensions; do
5319 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5320 ac_cv_prog_ac_ct_AS="as"
5321 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5322 break 2
5323 fi
5324 done
5325 done
5326 IFS=$as_save_IFS
5327
5328 fi
5329 fi
5330 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5331 if test -n "$ac_ct_AS"; then
5332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5333 $as_echo "$ac_ct_AS" >&6; }
5334 else
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5336 $as_echo "no" >&6; }
5337 fi
5338
5339 if test "x$ac_ct_AS" = x; then
5340 AS=""
5341 else
5342 case $cross_compiling:$ac_tool_warned in
5343 yes:)
5344 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5345 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5346 ac_tool_warned=yes ;;
5347 esac
5348 AS=$ac_ct_AS
5349 fi
5350 else
5351 AS="$ac_cv_prog_AS"
5352 fi
5353
5354 if test -n "$ac_tool_prefix"; then
5355 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5356 set dummy ${ac_tool_prefix}ar; ac_word=$2
5357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5358 $as_echo_n "checking for $ac_word... " >&6; }
5359 if ${ac_cv_prog_AR+:} false; then :
5360 $as_echo_n "(cached) " >&6
5361 else
5362 if test -n "$AR"; then
5363 ac_cv_prog_AR="$AR" # Let the user override the test.
5364 else
5365 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5366 for as_dir in $PATH
5367 do
5368 IFS=$as_save_IFS
5369 test -z "$as_dir" && as_dir=.
5370 for ac_exec_ext in '' $ac_executable_extensions; do
5371 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5372 ac_cv_prog_AR="${ac_tool_prefix}ar"
5373 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5374 break 2
5375 fi
5376 done
5377 done
5378 IFS=$as_save_IFS
5379
5380 fi
5381 fi
5382 AR=$ac_cv_prog_AR
5383 if test -n "$AR"; then
5384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5385 $as_echo "$AR" >&6; }
5386 else
5387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5388 $as_echo "no" >&6; }
5389 fi
5390
5391
5392 fi
5393 if test -z "$ac_cv_prog_AR"; then
5394 ac_ct_AR=$AR
5395 # Extract the first word of "ar", so it can be a program name with args.
5396 set dummy ar; ac_word=$2
5397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5398 $as_echo_n "checking for $ac_word... " >&6; }
5399 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5400 $as_echo_n "(cached) " >&6
5401 else
5402 if test -n "$ac_ct_AR"; then
5403 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5404 else
5405 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5406 for as_dir in $PATH
5407 do
5408 IFS=$as_save_IFS
5409 test -z "$as_dir" && as_dir=.
5410 for ac_exec_ext in '' $ac_executable_extensions; do
5411 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5412 ac_cv_prog_ac_ct_AR="ar"
5413 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5414 break 2
5415 fi
5416 done
5417 done
5418 IFS=$as_save_IFS
5419
5420 fi
5421 fi
5422 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5423 if test -n "$ac_ct_AR"; then
5424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5425 $as_echo "$ac_ct_AR" >&6; }
5426 else
5427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5428 $as_echo "no" >&6; }
5429 fi
5430
5431 if test "x$ac_ct_AR" = x; then
5432 AR=""
5433 else
5434 case $cross_compiling:$ac_tool_warned in
5435 yes:)
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5438 ac_tool_warned=yes ;;
5439 esac
5440 AR=$ac_ct_AR
5441 fi
5442 else
5443 AR="$ac_cv_prog_AR"
5444 fi
5445
5446 if test -n "$ac_tool_prefix"; then
5447 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5448 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5450 $as_echo_n "checking for $ac_word... " >&6; }
5451 if ${ac_cv_prog_RANLIB+:} false; then :
5452 $as_echo_n "(cached) " >&6
5453 else
5454 if test -n "$RANLIB"; then
5455 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5456 else
5457 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5458 for as_dir in $PATH
5459 do
5460 IFS=$as_save_IFS
5461 test -z "$as_dir" && as_dir=.
5462 for ac_exec_ext in '' $ac_executable_extensions; do
5463 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5464 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5465 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5466 break 2
5467 fi
5468 done
5469 done
5470 IFS=$as_save_IFS
5471
5472 fi
5473 fi
5474 RANLIB=$ac_cv_prog_RANLIB
5475 if test -n "$RANLIB"; then
5476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5477 $as_echo "$RANLIB" >&6; }
5478 else
5479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5480 $as_echo "no" >&6; }
5481 fi
5482
5483
5484 fi
5485 if test -z "$ac_cv_prog_RANLIB"; then
5486 ac_ct_RANLIB=$RANLIB
5487 # Extract the first word of "ranlib", so it can be a program name with args.
5488 set dummy ranlib; ac_word=$2
5489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5490 $as_echo_n "checking for $ac_word... " >&6; }
5491 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5492 $as_echo_n "(cached) " >&6
5493 else
5494 if test -n "$ac_ct_RANLIB"; then
5495 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5496 else
5497 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5498 for as_dir in $PATH
5499 do
5500 IFS=$as_save_IFS
5501 test -z "$as_dir" && as_dir=.
5502 for ac_exec_ext in '' $ac_executable_extensions; do
5503 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5504 ac_cv_prog_ac_ct_RANLIB="ranlib"
5505 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5506 break 2
5507 fi
5508 done
5509 done
5510 IFS=$as_save_IFS
5511
5512 fi
5513 fi
5514 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5515 if test -n "$ac_ct_RANLIB"; then
5516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5517 $as_echo "$ac_ct_RANLIB" >&6; }
5518 else
5519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5520 $as_echo "no" >&6; }
5521 fi
5522
5523 if test "x$ac_ct_RANLIB" = x; then
5524 RANLIB="ranlib-not-found-in-path-error"
5525 else
5526 case $cross_compiling:$ac_tool_warned in
5527 yes:)
5528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5529 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5530 ac_tool_warned=yes ;;
5531 esac
5532 RANLIB=$ac_ct_RANLIB
5533 fi
5534 else
5535 RANLIB="$ac_cv_prog_RANLIB"
5536 fi
5537
5538
5539
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5541 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5542 # Check whether --enable-maintainer-mode was given.
5543 if test "${enable_maintainer_mode+set}" = set; then :
5544 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5545 else
5546 USE_MAINTAINER_MODE=no
5547 fi
5548
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5550 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5551 if test $USE_MAINTAINER_MODE = yes; then
5552 MAINTAINER_MODE_TRUE=
5553 MAINTAINER_MODE_FALSE='#'
5554 else
5555 MAINTAINER_MODE_TRUE='#'
5556 MAINTAINER_MODE_FALSE=
5557 fi
5558
5559 MAINT=$MAINTAINER_MODE_TRUE
5560
5561
5562
5563 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5564 # which are themselves conditionally expanded.
5565 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5566 ## other macros from doing the same. This should be automated.) -pme
5567
5568 # Check for C library flavor since GNU/Linux platforms use different
5569 # configuration directories depending on the C library in use.
5570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5571 /* end confdefs.h. */
5572
5573 #include <stdio.h>
5574 #if __UCLIBC__
5575 _using_uclibc
5576 #endif
5577
5578 _ACEOF
5579 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5580 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5581 uclibc=yes
5582 else
5583 uclibc=no
5584 fi
5585 rm -f conftest*
5586
5587
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5590
5591 #include <stdio.h>
5592 #if __BIONIC__
5593 _using_bionic
5594 #endif
5595
5596 _ACEOF
5597 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5598 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5599 bionic=yes
5600 else
5601 bionic=no
5602 fi
5603 rm -f conftest*
5604
5605
5606 # Find platform-specific directories containing configuration info.
5607 # Also possibly modify flags used elsewhere, as needed by the platform.
5608
5609 . $glibcxx_srcdir/configure.host
5610 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5611 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5613 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5614
5615
5616
5617 # Libtool setup.
5618 if test "x${with_newlib}" != "xyes"; then
5619 enable_dlopen=yes
5620
5621
5622
5623 fi
5624 case `pwd` in
5625 *\ * | *\ *)
5626 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5627 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5628 esac
5629
5630
5631
5632 macro_version='2.2.7a'
5633 macro_revision='1.3134'
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647 ltmain="$ac_aux_dir/ltmain.sh"
5648
5649 # Backslashify metacharacters that are still active within
5650 # double-quoted strings.
5651 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5652
5653 # Same as above, but do not quote variable references.
5654 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5655
5656 # Sed substitution to delay expansion of an escaped shell variable in a
5657 # double_quote_subst'ed string.
5658 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5659
5660 # Sed substitution to delay expansion of an escaped single quote.
5661 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5662
5663 # Sed substitution to avoid accidental globbing in evaled expressions
5664 no_glob_subst='s/\*/\\\*/g'
5665
5666 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5667 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5668 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5669
5670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5671 $as_echo_n "checking how to print strings... " >&6; }
5672 # Test print first, because it will be a builtin if present.
5673 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5674 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5675 ECHO='print -r --'
5676 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5677 ECHO='printf %s\n'
5678 else
5679 # Use this function as a fallback that always works.
5680 func_fallback_echo ()
5681 {
5682 eval 'cat <<_LTECHO_EOF
5683 $1
5684 _LTECHO_EOF'
5685 }
5686 ECHO='func_fallback_echo'
5687 fi
5688
5689 # func_echo_all arg...
5690 # Invoke $ECHO with all args, space-separated.
5691 func_echo_all ()
5692 {
5693 $ECHO ""
5694 }
5695
5696 case "$ECHO" in
5697 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5698 $as_echo "printf" >&6; } ;;
5699 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5700 $as_echo "print -r" >&6; } ;;
5701 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5702 $as_echo "cat" >&6; } ;;
5703 esac
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
5719 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
5720 if ${ac_cv_path_SED+:} false; then :
5721 $as_echo_n "(cached) " >&6
5722 else
5723 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
5724 for ac_i in 1 2 3 4 5 6 7; do
5725 ac_script="$ac_script$as_nl$ac_script"
5726 done
5727 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
5728 { ac_script=; unset ac_script;}
5729 if test -z "$SED"; then
5730 ac_path_SED_found=false
5731 # Loop through the user's path and test for each of PROGNAME-LIST
5732 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5733 for as_dir in $PATH
5734 do
5735 IFS=$as_save_IFS
5736 test -z "$as_dir" && as_dir=.
5737 for ac_prog in sed gsed; do
5738 for ac_exec_ext in '' $ac_executable_extensions; do
5739 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
5740 as_fn_executable_p "$ac_path_SED" || continue
5741 # Check for GNU ac_path_SED and select it if it is found.
5742 # Check for GNU $ac_path_SED
5743 case `"$ac_path_SED" --version 2>&1` in
5744 *GNU*)
5745 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
5746 *)
5747 ac_count=0
5748 $as_echo_n 0123456789 >"conftest.in"
5749 while :
5750 do
5751 cat "conftest.in" "conftest.in" >"conftest.tmp"
5752 mv "conftest.tmp" "conftest.in"
5753 cp "conftest.in" "conftest.nl"
5754 $as_echo '' >> "conftest.nl"
5755 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
5756 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5757 as_fn_arith $ac_count + 1 && ac_count=$as_val
5758 if test $ac_count -gt ${ac_path_SED_max-0}; then
5759 # Best one so far, save it but keep looking for a better one
5760 ac_cv_path_SED="$ac_path_SED"
5761 ac_path_SED_max=$ac_count
5762 fi
5763 # 10*(2^10) chars as input seems more than enough
5764 test $ac_count -gt 10 && break
5765 done
5766 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5767 esac
5768
5769 $ac_path_SED_found && break 3
5770 done
5771 done
5772 done
5773 IFS=$as_save_IFS
5774 if test -z "$ac_cv_path_SED"; then
5775 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
5776 fi
5777 else
5778 ac_cv_path_SED=$SED
5779 fi
5780
5781 fi
5782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
5783 $as_echo "$ac_cv_path_SED" >&6; }
5784 SED="$ac_cv_path_SED"
5785 rm -f conftest.sed
5786
5787 test -z "$SED" && SED=sed
5788 Xsed="$SED -e 1s/^X//"
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
5801 $as_echo_n "checking for fgrep... " >&6; }
5802 if ${ac_cv_path_FGREP+:} false; then :
5803 $as_echo_n "(cached) " >&6
5804 else
5805 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
5806 then ac_cv_path_FGREP="$GREP -F"
5807 else
5808 if test -z "$FGREP"; then
5809 ac_path_FGREP_found=false
5810 # Loop through the user's path and test for each of PROGNAME-LIST
5811 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5812 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5813 do
5814 IFS=$as_save_IFS
5815 test -z "$as_dir" && as_dir=.
5816 for ac_prog in fgrep; do
5817 for ac_exec_ext in '' $ac_executable_extensions; do
5818 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
5819 as_fn_executable_p "$ac_path_FGREP" || continue
5820 # Check for GNU ac_path_FGREP and select it if it is found.
5821 # Check for GNU $ac_path_FGREP
5822 case `"$ac_path_FGREP" --version 2>&1` in
5823 *GNU*)
5824 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
5825 *)
5826 ac_count=0
5827 $as_echo_n 0123456789 >"conftest.in"
5828 while :
5829 do
5830 cat "conftest.in" "conftest.in" >"conftest.tmp"
5831 mv "conftest.tmp" "conftest.in"
5832 cp "conftest.in" "conftest.nl"
5833 $as_echo 'FGREP' >> "conftest.nl"
5834 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
5835 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5836 as_fn_arith $ac_count + 1 && ac_count=$as_val
5837 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
5838 # Best one so far, save it but keep looking for a better one
5839 ac_cv_path_FGREP="$ac_path_FGREP"
5840 ac_path_FGREP_max=$ac_count
5841 fi
5842 # 10*(2^10) chars as input seems more than enough
5843 test $ac_count -gt 10 && break
5844 done
5845 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5846 esac
5847
5848 $ac_path_FGREP_found && break 3
5849 done
5850 done
5851 done
5852 IFS=$as_save_IFS
5853 if test -z "$ac_cv_path_FGREP"; then
5854 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5855 fi
5856 else
5857 ac_cv_path_FGREP=$FGREP
5858 fi
5859
5860 fi
5861 fi
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
5863 $as_echo "$ac_cv_path_FGREP" >&6; }
5864 FGREP="$ac_cv_path_FGREP"
5865
5866
5867 test -z "$GREP" && GREP=grep
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887 # Check whether --with-gnu-ld was given.
5888 if test "${with_gnu_ld+set}" = set; then :
5889 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
5890 else
5891 with_gnu_ld=no
5892 fi
5893
5894 ac_prog=ld
5895 if test "$GCC" = yes; then
5896 # Check if gcc -print-prog-name=ld gives a path.
5897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
5898 $as_echo_n "checking for ld used by $CC... " >&6; }
5899 case $host in
5900 *-*-mingw*)
5901 # gcc leaves a trailing carriage return which upsets mingw
5902 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
5903 *)
5904 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
5905 esac
5906 case $ac_prog in
5907 # Accept absolute paths.
5908 [\\/]* | ?:[\\/]*)
5909 re_direlt='/[^/][^/]*/\.\./'
5910 # Canonicalize the pathname of ld
5911 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
5912 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
5913 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
5914 done
5915 test -z "$LD" && LD="$ac_prog"
5916 ;;
5917 "")
5918 # If it fails, then pretend we aren't using GCC.
5919 ac_prog=ld
5920 ;;
5921 *)
5922 # If it is relative, then search for the first ld in PATH.
5923 with_gnu_ld=unknown
5924 ;;
5925 esac
5926 elif test "$with_gnu_ld" = yes; then
5927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
5928 $as_echo_n "checking for GNU ld... " >&6; }
5929 else
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
5931 $as_echo_n "checking for non-GNU ld... " >&6; }
5932 fi
5933 if ${lt_cv_path_LD+:} false; then :
5934 $as_echo_n "(cached) " >&6
5935 else
5936 if test -z "$LD"; then
5937 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
5938 for ac_dir in $PATH; do
5939 IFS="$lt_save_ifs"
5940 test -z "$ac_dir" && ac_dir=.
5941 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
5942 lt_cv_path_LD="$ac_dir/$ac_prog"
5943 # Check to see if the program is GNU ld. I'd rather use --version,
5944 # but apparently some variants of GNU ld only accept -v.
5945 # Break only if it was the GNU/non-GNU ld that we prefer.
5946 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
5947 *GNU* | *'with BFD'*)
5948 test "$with_gnu_ld" != no && break
5949 ;;
5950 *)
5951 test "$with_gnu_ld" != yes && break
5952 ;;
5953 esac
5954 fi
5955 done
5956 IFS="$lt_save_ifs"
5957 else
5958 lt_cv_path_LD="$LD" # Let the user override the test with a path.
5959 fi
5960 fi
5961
5962 LD="$lt_cv_path_LD"
5963 if test -n "$LD"; then
5964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5965 $as_echo "$LD" >&6; }
5966 else
5967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5968 $as_echo "no" >&6; }
5969 fi
5970 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
5971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
5972 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
5973 if ${lt_cv_prog_gnu_ld+:} false; then :
5974 $as_echo_n "(cached) " >&6
5975 else
5976 # I'd rather use --version here, but apparently some GNU lds only accept -v.
5977 case `$LD -v 2>&1 </dev/null` in
5978 *GNU* | *'with BFD'*)
5979 lt_cv_prog_gnu_ld=yes
5980 ;;
5981 *)
5982 lt_cv_prog_gnu_ld=no
5983 ;;
5984 esac
5985 fi
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
5987 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
5988 with_gnu_ld=$lt_cv_prog_gnu_ld
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
5999 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6000 if ${lt_cv_path_NM+:} false; then :
6001 $as_echo_n "(cached) " >&6
6002 else
6003 if test -n "$NM"; then
6004 # Let the user override the test.
6005 lt_cv_path_NM="$NM"
6006 else
6007 lt_nm_to_check="${ac_tool_prefix}nm"
6008 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6009 lt_nm_to_check="$lt_nm_to_check nm"
6010 fi
6011 for lt_tmp_nm in $lt_nm_to_check; do
6012 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6013 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6014 IFS="$lt_save_ifs"
6015 test -z "$ac_dir" && ac_dir=.
6016 tmp_nm="$ac_dir/$lt_tmp_nm"
6017 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6018 # Check to see if the nm accepts a BSD-compat flag.
6019 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6020 # nm: unknown option "B" ignored
6021 # Tru64's nm complains that /dev/null is an invalid object file
6022 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6023 */dev/null* | *'Invalid file or object type'*)
6024 lt_cv_path_NM="$tmp_nm -B"
6025 break
6026 ;;
6027 *)
6028 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6029 */dev/null*)
6030 lt_cv_path_NM="$tmp_nm -p"
6031 break
6032 ;;
6033 *)
6034 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6035 continue # so that we can try to find one that supports BSD flags
6036 ;;
6037 esac
6038 ;;
6039 esac
6040 fi
6041 done
6042 IFS="$lt_save_ifs"
6043 done
6044 : ${lt_cv_path_NM=no}
6045 fi
6046 fi
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6048 $as_echo "$lt_cv_path_NM" >&6; }
6049 if test "$lt_cv_path_NM" != "no"; then
6050 NM="$lt_cv_path_NM"
6051 else
6052 # Didn't find any BSD compatible name lister, look for dumpbin.
6053 if test -n "$DUMPBIN"; then :
6054 # Let the user override the test.
6055 else
6056 if test -n "$ac_tool_prefix"; then
6057 for ac_prog in dumpbin "link -dump"
6058 do
6059 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6060 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6062 $as_echo_n "checking for $ac_word... " >&6; }
6063 if ${ac_cv_prog_DUMPBIN+:} false; then :
6064 $as_echo_n "(cached) " >&6
6065 else
6066 if test -n "$DUMPBIN"; then
6067 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6068 else
6069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6070 for as_dir in $PATH
6071 do
6072 IFS=$as_save_IFS
6073 test -z "$as_dir" && as_dir=.
6074 for ac_exec_ext in '' $ac_executable_extensions; do
6075 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6076 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6077 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6078 break 2
6079 fi
6080 done
6081 done
6082 IFS=$as_save_IFS
6083
6084 fi
6085 fi
6086 DUMPBIN=$ac_cv_prog_DUMPBIN
6087 if test -n "$DUMPBIN"; then
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6089 $as_echo "$DUMPBIN" >&6; }
6090 else
6091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6092 $as_echo "no" >&6; }
6093 fi
6094
6095
6096 test -n "$DUMPBIN" && break
6097 done
6098 fi
6099 if test -z "$DUMPBIN"; then
6100 ac_ct_DUMPBIN=$DUMPBIN
6101 for ac_prog in dumpbin "link -dump"
6102 do
6103 # Extract the first word of "$ac_prog", so it can be a program name with args.
6104 set dummy $ac_prog; ac_word=$2
6105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6106 $as_echo_n "checking for $ac_word... " >&6; }
6107 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6108 $as_echo_n "(cached) " >&6
6109 else
6110 if test -n "$ac_ct_DUMPBIN"; then
6111 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6112 else
6113 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6114 for as_dir in $PATH
6115 do
6116 IFS=$as_save_IFS
6117 test -z "$as_dir" && as_dir=.
6118 for ac_exec_ext in '' $ac_executable_extensions; do
6119 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6120 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6121 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6122 break 2
6123 fi
6124 done
6125 done
6126 IFS=$as_save_IFS
6127
6128 fi
6129 fi
6130 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6131 if test -n "$ac_ct_DUMPBIN"; then
6132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6133 $as_echo "$ac_ct_DUMPBIN" >&6; }
6134 else
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6136 $as_echo "no" >&6; }
6137 fi
6138
6139
6140 test -n "$ac_ct_DUMPBIN" && break
6141 done
6142
6143 if test "x$ac_ct_DUMPBIN" = x; then
6144 DUMPBIN=":"
6145 else
6146 case $cross_compiling:$ac_tool_warned in
6147 yes:)
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6149 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6150 ac_tool_warned=yes ;;
6151 esac
6152 DUMPBIN=$ac_ct_DUMPBIN
6153 fi
6154 fi
6155
6156 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6157 *COFF*)
6158 DUMPBIN="$DUMPBIN -symbols"
6159 ;;
6160 *)
6161 DUMPBIN=:
6162 ;;
6163 esac
6164 fi
6165
6166 if test "$DUMPBIN" != ":"; then
6167 NM="$DUMPBIN"
6168 fi
6169 fi
6170 test -z "$NM" && NM=nm
6171
6172
6173
6174
6175
6176
6177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6178 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6179 if ${lt_cv_nm_interface+:} false; then :
6180 $as_echo_n "(cached) " >&6
6181 else
6182 lt_cv_nm_interface="BSD nm"
6183 echo "int some_variable = 0;" > conftest.$ac_ext
6184 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6185 (eval "$ac_compile" 2>conftest.err)
6186 cat conftest.err >&5
6187 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6188 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6189 cat conftest.err >&5
6190 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6191 cat conftest.out >&5
6192 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6193 lt_cv_nm_interface="MS dumpbin"
6194 fi
6195 rm -f conftest*
6196 fi
6197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6198 $as_echo "$lt_cv_nm_interface" >&6; }
6199
6200 # find the maximum length of command line arguments
6201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6202 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6203 if ${lt_cv_sys_max_cmd_len+:} false; then :
6204 $as_echo_n "(cached) " >&6
6205 else
6206 i=0
6207 teststring="ABCD"
6208
6209 case $build_os in
6210 msdosdjgpp*)
6211 # On DJGPP, this test can blow up pretty badly due to problems in libc
6212 # (any single argument exceeding 2000 bytes causes a buffer overrun
6213 # during glob expansion). Even if it were fixed, the result of this
6214 # check would be larger than it should be.
6215 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6216 ;;
6217
6218 gnu*)
6219 # Under GNU Hurd, this test is not required because there is
6220 # no limit to the length of command line arguments.
6221 # Libtool will interpret -1 as no limit whatsoever
6222 lt_cv_sys_max_cmd_len=-1;
6223 ;;
6224
6225 cygwin* | mingw* | cegcc*)
6226 # On Win9x/ME, this test blows up -- it succeeds, but takes
6227 # about 5 minutes as the teststring grows exponentially.
6228 # Worse, since 9x/ME are not pre-emptively multitasking,
6229 # you end up with a "frozen" computer, even though with patience
6230 # the test eventually succeeds (with a max line length of 256k).
6231 # Instead, let's just punt: use the minimum linelength reported by
6232 # all of the supported platforms: 8192 (on NT/2K/XP).
6233 lt_cv_sys_max_cmd_len=8192;
6234 ;;
6235
6236 mint*)
6237 # On MiNT this can take a long time and run out of memory.
6238 lt_cv_sys_max_cmd_len=8192;
6239 ;;
6240
6241 amigaos*)
6242 # On AmigaOS with pdksh, this test takes hours, literally.
6243 # So we just punt and use a minimum line length of 8192.
6244 lt_cv_sys_max_cmd_len=8192;
6245 ;;
6246
6247 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6248 # This has been around since 386BSD, at least. Likely further.
6249 if test -x /sbin/sysctl; then
6250 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6251 elif test -x /usr/sbin/sysctl; then
6252 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6253 else
6254 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6255 fi
6256 # And add a safety zone
6257 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6258 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6259 ;;
6260
6261 interix*)
6262 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6263 lt_cv_sys_max_cmd_len=196608
6264 ;;
6265
6266 osf*)
6267 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6268 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6269 # nice to cause kernel panics so lets avoid the loop below.
6270 # First set a reasonable default.
6271 lt_cv_sys_max_cmd_len=16384
6272 #
6273 if test -x /sbin/sysconfig; then
6274 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6275 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6276 esac
6277 fi
6278 ;;
6279 sco3.2v5*)
6280 lt_cv_sys_max_cmd_len=102400
6281 ;;
6282 sysv5* | sco5v6* | sysv4.2uw2*)
6283 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6284 if test -n "$kargmax"; then
6285 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6286 else
6287 lt_cv_sys_max_cmd_len=32768
6288 fi
6289 ;;
6290 *)
6291 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6292 if test -n "$lt_cv_sys_max_cmd_len"; then
6293 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6294 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6295 else
6296 # Make teststring a little bigger before we do anything with it.
6297 # a 1K string should be a reasonable start.
6298 for i in 1 2 3 4 5 6 7 8 ; do
6299 teststring=$teststring$teststring
6300 done
6301 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6302 # If test is not a shell built-in, we'll probably end up computing a
6303 # maximum length that is only half of the actual maximum length, but
6304 # we can't tell.
6305 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6306 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6307 test $i != 17 # 1/2 MB should be enough
6308 do
6309 i=`expr $i + 1`
6310 teststring=$teststring$teststring
6311 done
6312 # Only check the string length outside the loop.
6313 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6314 teststring=
6315 # Add a significant safety factor because C++ compilers can tack on
6316 # massive amounts of additional arguments before passing them to the
6317 # linker. It appears as though 1/2 is a usable value.
6318 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6319 fi
6320 ;;
6321 esac
6322
6323 fi
6324
6325 if test -n $lt_cv_sys_max_cmd_len ; then
6326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6327 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6328 else
6329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6330 $as_echo "none" >&6; }
6331 fi
6332 max_cmd_len=$lt_cv_sys_max_cmd_len
6333
6334
6335
6336
6337
6338
6339 : ${CP="cp -f"}
6340 : ${MV="mv -f"}
6341 : ${RM="rm -f"}
6342
6343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6344 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6345 # Try some XSI features
6346 xsi_shell=no
6347 ( _lt_dummy="a/b/c"
6348 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6349 = c,a/b,, \
6350 && eval 'test $(( 1 + 1 )) -eq 2 \
6351 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6352 && xsi_shell=yes
6353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6354 $as_echo "$xsi_shell" >&6; }
6355
6356
6357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6358 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6359 lt_shell_append=no
6360 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6361 >/dev/null 2>&1 \
6362 && lt_shell_append=yes
6363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6364 $as_echo "$lt_shell_append" >&6; }
6365
6366
6367 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6368 lt_unset=unset
6369 else
6370 lt_unset=false
6371 fi
6372
6373
6374
6375
6376
6377 # test EBCDIC or ASCII
6378 case `echo X|tr X '\101'` in
6379 A) # ASCII based system
6380 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6381 lt_SP2NL='tr \040 \012'
6382 lt_NL2SP='tr \015\012 \040\040'
6383 ;;
6384 *) # EBCDIC based system
6385 lt_SP2NL='tr \100 \n'
6386 lt_NL2SP='tr \r\n \100\100'
6387 ;;
6388 esac
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6399 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6400 if ${lt_cv_ld_reload_flag+:} false; then :
6401 $as_echo_n "(cached) " >&6
6402 else
6403 lt_cv_ld_reload_flag='-r'
6404 fi
6405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6406 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6407 reload_flag=$lt_cv_ld_reload_flag
6408 case $reload_flag in
6409 "" | " "*) ;;
6410 *) reload_flag=" $reload_flag" ;;
6411 esac
6412 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6413 case $host_os in
6414 darwin*)
6415 if test "$GCC" = yes; then
6416 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6417 else
6418 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6419 fi
6420 ;;
6421 esac
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431 if test -n "$ac_tool_prefix"; then
6432 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6433 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6435 $as_echo_n "checking for $ac_word... " >&6; }
6436 if ${ac_cv_prog_OBJDUMP+:} false; then :
6437 $as_echo_n "(cached) " >&6
6438 else
6439 if test -n "$OBJDUMP"; then
6440 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6441 else
6442 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6443 for as_dir in $PATH
6444 do
6445 IFS=$as_save_IFS
6446 test -z "$as_dir" && as_dir=.
6447 for ac_exec_ext in '' $ac_executable_extensions; do
6448 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6449 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6450 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6451 break 2
6452 fi
6453 done
6454 done
6455 IFS=$as_save_IFS
6456
6457 fi
6458 fi
6459 OBJDUMP=$ac_cv_prog_OBJDUMP
6460 if test -n "$OBJDUMP"; then
6461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6462 $as_echo "$OBJDUMP" >&6; }
6463 else
6464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6465 $as_echo "no" >&6; }
6466 fi
6467
6468
6469 fi
6470 if test -z "$ac_cv_prog_OBJDUMP"; then
6471 ac_ct_OBJDUMP=$OBJDUMP
6472 # Extract the first word of "objdump", so it can be a program name with args.
6473 set dummy objdump; ac_word=$2
6474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6475 $as_echo_n "checking for $ac_word... " >&6; }
6476 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6477 $as_echo_n "(cached) " >&6
6478 else
6479 if test -n "$ac_ct_OBJDUMP"; then
6480 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6481 else
6482 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6483 for as_dir in $PATH
6484 do
6485 IFS=$as_save_IFS
6486 test -z "$as_dir" && as_dir=.
6487 for ac_exec_ext in '' $ac_executable_extensions; do
6488 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6489 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6490 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6491 break 2
6492 fi
6493 done
6494 done
6495 IFS=$as_save_IFS
6496
6497 fi
6498 fi
6499 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6500 if test -n "$ac_ct_OBJDUMP"; then
6501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6502 $as_echo "$ac_ct_OBJDUMP" >&6; }
6503 else
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6505 $as_echo "no" >&6; }
6506 fi
6507
6508 if test "x$ac_ct_OBJDUMP" = x; then
6509 OBJDUMP="false"
6510 else
6511 case $cross_compiling:$ac_tool_warned in
6512 yes:)
6513 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6514 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6515 ac_tool_warned=yes ;;
6516 esac
6517 OBJDUMP=$ac_ct_OBJDUMP
6518 fi
6519 else
6520 OBJDUMP="$ac_cv_prog_OBJDUMP"
6521 fi
6522
6523 test -z "$OBJDUMP" && OBJDUMP=objdump
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6534 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6535 if ${lt_cv_deplibs_check_method+:} false; then :
6536 $as_echo_n "(cached) " >&6
6537 else
6538 lt_cv_file_magic_cmd='$MAGIC_CMD'
6539 lt_cv_file_magic_test_file=
6540 lt_cv_deplibs_check_method='unknown'
6541 # Need to set the preceding variable on all platforms that support
6542 # interlibrary dependencies.
6543 # 'none' -- dependencies not supported.
6544 # `unknown' -- same as none, but documents that we really don't know.
6545 # 'pass_all' -- all dependencies passed with no checks.
6546 # 'test_compile' -- check by making test program.
6547 # 'file_magic [[regex]]' -- check by looking for files in library path
6548 # which responds to the $file_magic_cmd with a given extended regex.
6549 # If you have `file' or equivalent on your system and you're not sure
6550 # whether `pass_all' will *always* work, you probably want this one.
6551
6552 case $host_os in
6553 aix[4-9]*)
6554 lt_cv_deplibs_check_method=pass_all
6555 ;;
6556
6557 beos*)
6558 lt_cv_deplibs_check_method=pass_all
6559 ;;
6560
6561 bsdi[45]*)
6562 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6563 lt_cv_file_magic_cmd='/usr/bin/file -L'
6564 lt_cv_file_magic_test_file=/shlib/libc.so
6565 ;;
6566
6567 cygwin*)
6568 # func_win32_libid is a shell function defined in ltmain.sh
6569 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6570 lt_cv_file_magic_cmd='func_win32_libid'
6571 ;;
6572
6573 mingw* | pw32*)
6574 # Base MSYS/MinGW do not provide the 'file' command needed by
6575 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6576 # unless we find 'file', for example because we are cross-compiling.
6577 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6578 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6579 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6580 lt_cv_file_magic_cmd='func_win32_libid'
6581 else
6582 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6583 lt_cv_file_magic_cmd='$OBJDUMP -f'
6584 fi
6585 ;;
6586
6587 cegcc*)
6588 # use the weaker test based on 'objdump'. See mingw*.
6589 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6590 lt_cv_file_magic_cmd='$OBJDUMP -f'
6591 ;;
6592
6593 darwin* | rhapsody*)
6594 lt_cv_deplibs_check_method=pass_all
6595 ;;
6596
6597 freebsd* | dragonfly*)
6598 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6599 case $host_cpu in
6600 i*86 )
6601 # Not sure whether the presence of OpenBSD here was a mistake.
6602 # Let's accept both of them until this is cleared up.
6603 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6604 lt_cv_file_magic_cmd=/usr/bin/file
6605 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6606 ;;
6607 esac
6608 else
6609 lt_cv_deplibs_check_method=pass_all
6610 fi
6611 ;;
6612
6613 gnu*)
6614 lt_cv_deplibs_check_method=pass_all
6615 ;;
6616
6617 haiku*)
6618 lt_cv_deplibs_check_method=pass_all
6619 ;;
6620
6621 hpux10.20* | hpux11*)
6622 lt_cv_file_magic_cmd=/usr/bin/file
6623 case $host_cpu in
6624 ia64*)
6625 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6626 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6627 ;;
6628 hppa*64*)
6629 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]'
6630 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6631 ;;
6632 *)
6633 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6634 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6635 ;;
6636 esac
6637 ;;
6638
6639 interix[3-9]*)
6640 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6641 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6642 ;;
6643
6644 irix5* | irix6* | nonstopux*)
6645 case $LD in
6646 *-32|*"-32 ") libmagic=32-bit;;
6647 *-n32|*"-n32 ") libmagic=N32;;
6648 *-64|*"-64 ") libmagic=64-bit;;
6649 *) libmagic=never-match;;
6650 esac
6651 lt_cv_deplibs_check_method=pass_all
6652 ;;
6653
6654 # This must be Linux ELF.
6655 linux* | k*bsd*-gnu | kopensolaris*-gnu)
6656 lt_cv_deplibs_check_method=pass_all
6657 ;;
6658
6659 netbsd*)
6660 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6661 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6662 else
6663 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6664 fi
6665 ;;
6666
6667 newos6*)
6668 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6669 lt_cv_file_magic_cmd=/usr/bin/file
6670 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6671 ;;
6672
6673 *nto* | *qnx*)
6674 lt_cv_deplibs_check_method=pass_all
6675 ;;
6676
6677 openbsd*)
6678 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6679 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6680 else
6681 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6682 fi
6683 ;;
6684
6685 osf3* | osf4* | osf5*)
6686 lt_cv_deplibs_check_method=pass_all
6687 ;;
6688
6689 rdos*)
6690 lt_cv_deplibs_check_method=pass_all
6691 ;;
6692
6693 solaris*)
6694 lt_cv_deplibs_check_method=pass_all
6695 ;;
6696
6697 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6698 lt_cv_deplibs_check_method=pass_all
6699 ;;
6700
6701 sysv4 | sysv4.3*)
6702 case $host_vendor in
6703 motorola)
6704 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]'
6705 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6706 ;;
6707 ncr)
6708 lt_cv_deplibs_check_method=pass_all
6709 ;;
6710 sequent)
6711 lt_cv_file_magic_cmd='/bin/file'
6712 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
6713 ;;
6714 sni)
6715 lt_cv_file_magic_cmd='/bin/file'
6716 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
6717 lt_cv_file_magic_test_file=/lib/libc.so
6718 ;;
6719 siemens)
6720 lt_cv_deplibs_check_method=pass_all
6721 ;;
6722 pc)
6723 lt_cv_deplibs_check_method=pass_all
6724 ;;
6725 esac
6726 ;;
6727
6728 tpf*)
6729 lt_cv_deplibs_check_method=pass_all
6730 ;;
6731 esac
6732
6733 fi
6734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
6735 $as_echo "$lt_cv_deplibs_check_method" >&6; }
6736 file_magic_cmd=$lt_cv_file_magic_cmd
6737 deplibs_check_method=$lt_cv_deplibs_check_method
6738 test -z "$deplibs_check_method" && deplibs_check_method=unknown
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751 if test -n "$ac_tool_prefix"; then
6752 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
6753 set dummy ${ac_tool_prefix}ar; ac_word=$2
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 $as_echo_n "checking for $ac_word... " >&6; }
6756 if ${ac_cv_prog_AR+:} false; then :
6757 $as_echo_n "(cached) " >&6
6758 else
6759 if test -n "$AR"; then
6760 ac_cv_prog_AR="$AR" # Let the user override the test.
6761 else
6762 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6763 for as_dir in $PATH
6764 do
6765 IFS=$as_save_IFS
6766 test -z "$as_dir" && as_dir=.
6767 for ac_exec_ext in '' $ac_executable_extensions; do
6768 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6769 ac_cv_prog_AR="${ac_tool_prefix}ar"
6770 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6771 break 2
6772 fi
6773 done
6774 done
6775 IFS=$as_save_IFS
6776
6777 fi
6778 fi
6779 AR=$ac_cv_prog_AR
6780 if test -n "$AR"; then
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6782 $as_echo "$AR" >&6; }
6783 else
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6785 $as_echo "no" >&6; }
6786 fi
6787
6788
6789 fi
6790 if test -z "$ac_cv_prog_AR"; then
6791 ac_ct_AR=$AR
6792 # Extract the first word of "ar", so it can be a program name with args.
6793 set dummy ar; ac_word=$2
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6795 $as_echo_n "checking for $ac_word... " >&6; }
6796 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6797 $as_echo_n "(cached) " >&6
6798 else
6799 if test -n "$ac_ct_AR"; then
6800 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6801 else
6802 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6803 for as_dir in $PATH
6804 do
6805 IFS=$as_save_IFS
6806 test -z "$as_dir" && as_dir=.
6807 for ac_exec_ext in '' $ac_executable_extensions; do
6808 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6809 ac_cv_prog_ac_ct_AR="ar"
6810 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6811 break 2
6812 fi
6813 done
6814 done
6815 IFS=$as_save_IFS
6816
6817 fi
6818 fi
6819 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6820 if test -n "$ac_ct_AR"; then
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6822 $as_echo "$ac_ct_AR" >&6; }
6823 else
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6825 $as_echo "no" >&6; }
6826 fi
6827
6828 if test "x$ac_ct_AR" = x; then
6829 AR="false"
6830 else
6831 case $cross_compiling:$ac_tool_warned in
6832 yes:)
6833 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6834 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6835 ac_tool_warned=yes ;;
6836 esac
6837 AR=$ac_ct_AR
6838 fi
6839 else
6840 AR="$ac_cv_prog_AR"
6841 fi
6842
6843 test -z "$AR" && AR=ar
6844 test -z "$AR_FLAGS" && AR_FLAGS=cru
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856 if test -n "$ac_tool_prefix"; then
6857 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6858 set dummy ${ac_tool_prefix}strip; ac_word=$2
6859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6860 $as_echo_n "checking for $ac_word... " >&6; }
6861 if ${ac_cv_prog_STRIP+:} false; then :
6862 $as_echo_n "(cached) " >&6
6863 else
6864 if test -n "$STRIP"; then
6865 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6866 else
6867 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6868 for as_dir in $PATH
6869 do
6870 IFS=$as_save_IFS
6871 test -z "$as_dir" && as_dir=.
6872 for ac_exec_ext in '' $ac_executable_extensions; do
6873 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6874 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6875 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6876 break 2
6877 fi
6878 done
6879 done
6880 IFS=$as_save_IFS
6881
6882 fi
6883 fi
6884 STRIP=$ac_cv_prog_STRIP
6885 if test -n "$STRIP"; then
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6887 $as_echo "$STRIP" >&6; }
6888 else
6889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6890 $as_echo "no" >&6; }
6891 fi
6892
6893
6894 fi
6895 if test -z "$ac_cv_prog_STRIP"; then
6896 ac_ct_STRIP=$STRIP
6897 # Extract the first word of "strip", so it can be a program name with args.
6898 set dummy strip; ac_word=$2
6899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6900 $as_echo_n "checking for $ac_word... " >&6; }
6901 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6902 $as_echo_n "(cached) " >&6
6903 else
6904 if test -n "$ac_ct_STRIP"; then
6905 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6906 else
6907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6908 for as_dir in $PATH
6909 do
6910 IFS=$as_save_IFS
6911 test -z "$as_dir" && as_dir=.
6912 for ac_exec_ext in '' $ac_executable_extensions; do
6913 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6914 ac_cv_prog_ac_ct_STRIP="strip"
6915 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6916 break 2
6917 fi
6918 done
6919 done
6920 IFS=$as_save_IFS
6921
6922 fi
6923 fi
6924 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6925 if test -n "$ac_ct_STRIP"; then
6926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6927 $as_echo "$ac_ct_STRIP" >&6; }
6928 else
6929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6930 $as_echo "no" >&6; }
6931 fi
6932
6933 if test "x$ac_ct_STRIP" = x; then
6934 STRIP=":"
6935 else
6936 case $cross_compiling:$ac_tool_warned in
6937 yes:)
6938 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6939 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6940 ac_tool_warned=yes ;;
6941 esac
6942 STRIP=$ac_ct_STRIP
6943 fi
6944 else
6945 STRIP="$ac_cv_prog_STRIP"
6946 fi
6947
6948 test -z "$STRIP" && STRIP=:
6949
6950
6951
6952
6953
6954
6955 if test -n "$ac_tool_prefix"; then
6956 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6957 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6959 $as_echo_n "checking for $ac_word... " >&6; }
6960 if ${ac_cv_prog_RANLIB+:} false; then :
6961 $as_echo_n "(cached) " >&6
6962 else
6963 if test -n "$RANLIB"; then
6964 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6965 else
6966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6967 for as_dir in $PATH
6968 do
6969 IFS=$as_save_IFS
6970 test -z "$as_dir" && as_dir=.
6971 for ac_exec_ext in '' $ac_executable_extensions; do
6972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6973 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6975 break 2
6976 fi
6977 done
6978 done
6979 IFS=$as_save_IFS
6980
6981 fi
6982 fi
6983 RANLIB=$ac_cv_prog_RANLIB
6984 if test -n "$RANLIB"; then
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6986 $as_echo "$RANLIB" >&6; }
6987 else
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6989 $as_echo "no" >&6; }
6990 fi
6991
6992
6993 fi
6994 if test -z "$ac_cv_prog_RANLIB"; then
6995 ac_ct_RANLIB=$RANLIB
6996 # Extract the first word of "ranlib", so it can be a program name with args.
6997 set dummy ranlib; ac_word=$2
6998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6999 $as_echo_n "checking for $ac_word... " >&6; }
7000 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7001 $as_echo_n "(cached) " >&6
7002 else
7003 if test -n "$ac_ct_RANLIB"; then
7004 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7005 else
7006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7007 for as_dir in $PATH
7008 do
7009 IFS=$as_save_IFS
7010 test -z "$as_dir" && as_dir=.
7011 for ac_exec_ext in '' $ac_executable_extensions; do
7012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7013 ac_cv_prog_ac_ct_RANLIB="ranlib"
7014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7015 break 2
7016 fi
7017 done
7018 done
7019 IFS=$as_save_IFS
7020
7021 fi
7022 fi
7023 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7024 if test -n "$ac_ct_RANLIB"; then
7025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7026 $as_echo "$ac_ct_RANLIB" >&6; }
7027 else
7028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7029 $as_echo "no" >&6; }
7030 fi
7031
7032 if test "x$ac_ct_RANLIB" = x; then
7033 RANLIB=":"
7034 else
7035 case $cross_compiling:$ac_tool_warned in
7036 yes:)
7037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7039 ac_tool_warned=yes ;;
7040 esac
7041 RANLIB=$ac_ct_RANLIB
7042 fi
7043 else
7044 RANLIB="$ac_cv_prog_RANLIB"
7045 fi
7046
7047 test -z "$RANLIB" && RANLIB=:
7048
7049
7050
7051
7052
7053
7054 # Determine commands to create old-style static archives.
7055 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7056 old_postinstall_cmds='chmod 644 $oldlib'
7057 old_postuninstall_cmds=
7058
7059 if test -n "$RANLIB"; then
7060 case $host_os in
7061 openbsd*)
7062 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7063 ;;
7064 *)
7065 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7066 ;;
7067 esac
7068 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7069 fi
7070
7071 case $host_os in
7072 darwin*)
7073 lock_old_archive_extraction=yes ;;
7074 *)
7075 lock_old_archive_extraction=no ;;
7076 esac
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116 # If no C compiler was specified, use CC.
7117 LTCC=${LTCC-"$CC"}
7118
7119 # If no C compiler flags were specified, use CFLAGS.
7120 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7121
7122 # Allow CC to be a program name with arguments.
7123 compiler=$CC
7124
7125
7126 # Check for command to grab the raw symbol name followed by C symbol from nm.
7127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7128 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7129 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7130 $as_echo_n "(cached) " >&6
7131 else
7132
7133 # These are sane defaults that work on at least a few old systems.
7134 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7135
7136 # Character class describing NM global symbol codes.
7137 symcode='[BCDEGRST]'
7138
7139 # Regexp to match symbols that can be accessed directly from C.
7140 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7141
7142 # Define system-specific variables.
7143 case $host_os in
7144 aix*)
7145 symcode='[BCDT]'
7146 ;;
7147 cygwin* | mingw* | pw32* | cegcc*)
7148 symcode='[ABCDGISTW]'
7149 ;;
7150 hpux*)
7151 if test "$host_cpu" = ia64; then
7152 symcode='[ABCDEGRST]'
7153 fi
7154 ;;
7155 irix* | nonstopux*)
7156 symcode='[BCDEGRST]'
7157 ;;
7158 osf*)
7159 symcode='[BCDEGQRST]'
7160 ;;
7161 solaris*)
7162 symcode='[BDRT]'
7163 ;;
7164 sco3.2v5*)
7165 symcode='[DT]'
7166 ;;
7167 sysv4.2uw2*)
7168 symcode='[DT]'
7169 ;;
7170 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7171 symcode='[ABDT]'
7172 ;;
7173 sysv4)
7174 symcode='[DFNSTU]'
7175 ;;
7176 esac
7177
7178 # If we're using GNU nm, then use its standard symbol codes.
7179 case `$NM -V 2>&1` in
7180 *GNU* | *'with BFD'*)
7181 symcode='[ABCDGIRSTW]' ;;
7182 esac
7183
7184 # Transform an extracted symbol line into a proper C declaration.
7185 # Some systems (esp. on ia64) link data and code symbols differently,
7186 # so use this general approach.
7187 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7188
7189 # Transform an extracted symbol line into symbol name and symbol address
7190 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7191 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'"
7192
7193 # Handle CRLF in mingw tool chain
7194 opt_cr=
7195 case $build_os in
7196 mingw*)
7197 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7198 ;;
7199 esac
7200
7201 # Try without a prefix underscore, then with it.
7202 for ac_symprfx in "" "_"; do
7203
7204 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7205 symxfrm="\\1 $ac_symprfx\\2 \\2"
7206
7207 # Write the raw and C identifiers.
7208 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7209 # Fake it for dumpbin and say T for any non-static function
7210 # and D for any global variable.
7211 # Also find C++ and __fastcall symbols from MSVC++,
7212 # which start with @ or ?.
7213 lt_cv_sys_global_symbol_pipe="$AWK '"\
7214 " {last_section=section; section=\$ 3};"\
7215 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7216 " \$ 0!~/External *\|/{next};"\
7217 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7218 " {if(hide[section]) next};"\
7219 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7220 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7221 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7222 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7223 " ' prfx=^$ac_symprfx"
7224 else
7225 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7226 fi
7227
7228 # Check to see that the pipe works correctly.
7229 pipe_works=no
7230
7231 rm -f conftest*
7232 cat > conftest.$ac_ext <<_LT_EOF
7233 #ifdef __cplusplus
7234 extern "C" {
7235 #endif
7236 char nm_test_var;
7237 void nm_test_func(void);
7238 void nm_test_func(void){}
7239 #ifdef __cplusplus
7240 }
7241 #endif
7242 int main(){nm_test_var='a';nm_test_func();return(0);}
7243 _LT_EOF
7244
7245 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7246 (eval $ac_compile) 2>&5
7247 ac_status=$?
7248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7249 test $ac_status = 0; }; then
7250 # Now try to grab the symbols.
7251 nlist=conftest.nm
7252 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7253 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7254 ac_status=$?
7255 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7256 test $ac_status = 0; } && test -s "$nlist"; then
7257 # Try sorting and uniquifying the output.
7258 if sort "$nlist" | uniq > "$nlist"T; then
7259 mv -f "$nlist"T "$nlist"
7260 else
7261 rm -f "$nlist"T
7262 fi
7263
7264 # Make sure that we snagged all the symbols we need.
7265 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7266 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7267 cat <<_LT_EOF > conftest.$ac_ext
7268 #ifdef __cplusplus
7269 extern "C" {
7270 #endif
7271
7272 _LT_EOF
7273 # Now generate the symbol file.
7274 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7275
7276 cat <<_LT_EOF >> conftest.$ac_ext
7277
7278 /* The mapping between symbol names and symbols. */
7279 const struct {
7280 const char *name;
7281 void *address;
7282 }
7283 lt__PROGRAM__LTX_preloaded_symbols[] =
7284 {
7285 { "@PROGRAM@", (void *) 0 },
7286 _LT_EOF
7287 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7288 cat <<\_LT_EOF >> conftest.$ac_ext
7289 {0, (void *) 0}
7290 };
7291
7292 /* This works around a problem in FreeBSD linker */
7293 #ifdef FREEBSD_WORKAROUND
7294 static const void *lt_preloaded_setup() {
7295 return lt__PROGRAM__LTX_preloaded_symbols;
7296 }
7297 #endif
7298
7299 #ifdef __cplusplus
7300 }
7301 #endif
7302 _LT_EOF
7303 # Now try linking the two files.
7304 mv conftest.$ac_objext conftstm.$ac_objext
7305 lt_save_LIBS="$LIBS"
7306 lt_save_CFLAGS="$CFLAGS"
7307 LIBS="conftstm.$ac_objext"
7308 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7309 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7310 (eval $ac_link) 2>&5
7311 ac_status=$?
7312 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7313 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7314 pipe_works=yes
7315 fi
7316 LIBS="$lt_save_LIBS"
7317 CFLAGS="$lt_save_CFLAGS"
7318 else
7319 echo "cannot find nm_test_func in $nlist" >&5
7320 fi
7321 else
7322 echo "cannot find nm_test_var in $nlist" >&5
7323 fi
7324 else
7325 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7326 fi
7327 else
7328 echo "$progname: failed program was:" >&5
7329 cat conftest.$ac_ext >&5
7330 fi
7331 rm -rf conftest* conftst*
7332
7333 # Do not use the global_symbol_pipe unless it works.
7334 if test "$pipe_works" = yes; then
7335 break
7336 else
7337 lt_cv_sys_global_symbol_pipe=
7338 fi
7339 done
7340
7341 fi
7342
7343 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7344 lt_cv_sys_global_symbol_to_cdecl=
7345 fi
7346 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7348 $as_echo "failed" >&6; }
7349 else
7350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7351 $as_echo "ok" >&6; }
7352 fi
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375 # Check whether --enable-libtool-lock was given.
7376 if test "${enable_libtool_lock+set}" = set; then :
7377 enableval=$enable_libtool_lock;
7378 fi
7379
7380 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7381
7382 # Some flags need to be propagated to the compiler or linker for good
7383 # libtool support.
7384 case $host in
7385 ia64-*-hpux*)
7386 # Find out which ABI we are using.
7387 echo 'int i;' > conftest.$ac_ext
7388 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7389 (eval $ac_compile) 2>&5
7390 ac_status=$?
7391 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7392 test $ac_status = 0; }; then
7393 case `/usr/bin/file conftest.$ac_objext` in
7394 *ELF-32*)
7395 HPUX_IA64_MODE="32"
7396 ;;
7397 *ELF-64*)
7398 HPUX_IA64_MODE="64"
7399 ;;
7400 esac
7401 fi
7402 rm -rf conftest*
7403 ;;
7404 *-*-irix6*)
7405 # Find out which ABI we are using.
7406 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7407 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7408 (eval $ac_compile) 2>&5
7409 ac_status=$?
7410 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7411 test $ac_status = 0; }; then
7412 if test "$lt_cv_prog_gnu_ld" = yes; then
7413 case `/usr/bin/file conftest.$ac_objext` in
7414 *32-bit*)
7415 LD="${LD-ld} -melf32bsmip"
7416 ;;
7417 *N32*)
7418 LD="${LD-ld} -melf32bmipn32"
7419 ;;
7420 *64-bit*)
7421 LD="${LD-ld} -melf64bmip"
7422 ;;
7423 esac
7424 else
7425 case `/usr/bin/file conftest.$ac_objext` in
7426 *32-bit*)
7427 LD="${LD-ld} -32"
7428 ;;
7429 *N32*)
7430 LD="${LD-ld} -n32"
7431 ;;
7432 *64-bit*)
7433 LD="${LD-ld} -64"
7434 ;;
7435 esac
7436 fi
7437 fi
7438 rm -rf conftest*
7439 ;;
7440
7441 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7442 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7443 # Find out which ABI we are using.
7444 echo 'int i;' > conftest.$ac_ext
7445 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7446 (eval $ac_compile) 2>&5
7447 ac_status=$?
7448 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7449 test $ac_status = 0; }; then
7450 case `/usr/bin/file conftest.o` in
7451 *32-bit*)
7452 case $host in
7453 x86_64-*kfreebsd*-gnu)
7454 LD="${LD-ld} -m elf_i386_fbsd"
7455 ;;
7456 x86_64-*linux*)
7457 case `/usr/bin/file conftest.o` in
7458 *x86-64*)
7459 LD="${LD-ld} -m elf32_x86_64"
7460 ;;
7461 *)
7462 LD="${LD-ld} -m elf_i386"
7463 ;;
7464 esac
7465 ;;
7466 powerpc64le-*linux*)
7467 LD="${LD-ld} -m elf32lppclinux"
7468 ;;
7469 powerpc64-*linux*)
7470 LD="${LD-ld} -m elf32ppclinux"
7471 ;;
7472 s390x-*linux*)
7473 LD="${LD-ld} -m elf_s390"
7474 ;;
7475 sparc64-*linux*)
7476 LD="${LD-ld} -m elf32_sparc"
7477 ;;
7478 esac
7479 ;;
7480 *64-bit*)
7481 case $host in
7482 x86_64-*kfreebsd*-gnu)
7483 LD="${LD-ld} -m elf_x86_64_fbsd"
7484 ;;
7485 x86_64-*linux*)
7486 LD="${LD-ld} -m elf_x86_64"
7487 ;;
7488 powerpcle-*linux*)
7489 LD="${LD-ld} -m elf64lppc"
7490 ;;
7491 powerpc-*linux*)
7492 LD="${LD-ld} -m elf64ppc"
7493 ;;
7494 s390*-*linux*|s390*-*tpf*)
7495 LD="${LD-ld} -m elf64_s390"
7496 ;;
7497 sparc*-*linux*)
7498 LD="${LD-ld} -m elf64_sparc"
7499 ;;
7500 esac
7501 ;;
7502 esac
7503 fi
7504 rm -rf conftest*
7505 ;;
7506
7507 *-*-sco3.2v5*)
7508 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7509 SAVE_CFLAGS="$CFLAGS"
7510 CFLAGS="$CFLAGS -belf"
7511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7512 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7513 if ${lt_cv_cc_needs_belf+:} false; then :
7514 $as_echo_n "(cached) " >&6
7515 else
7516 ac_ext=c
7517 ac_cpp='$CPP $CPPFLAGS'
7518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7521
7522 if test x$gcc_no_link = xyes; then
7523 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7524 fi
7525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7526 /* end confdefs.h. */
7527
7528 int
7529 main ()
7530 {
7531
7532 ;
7533 return 0;
7534 }
7535 _ACEOF
7536 if ac_fn_c_try_link "$LINENO"; then :
7537 lt_cv_cc_needs_belf=yes
7538 else
7539 lt_cv_cc_needs_belf=no
7540 fi
7541 rm -f core conftest.err conftest.$ac_objext \
7542 conftest$ac_exeext conftest.$ac_ext
7543 ac_ext=c
7544 ac_cpp='$CPP $CPPFLAGS'
7545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7548
7549 fi
7550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7551 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7552 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7553 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7554 CFLAGS="$SAVE_CFLAGS"
7555 fi
7556 ;;
7557 sparc*-*solaris*)
7558 # Find out which ABI we are using.
7559 echo 'int i;' > conftest.$ac_ext
7560 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7561 (eval $ac_compile) 2>&5
7562 ac_status=$?
7563 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7564 test $ac_status = 0; }; then
7565 case `/usr/bin/file conftest.o` in
7566 *64-bit*)
7567 case $lt_cv_prog_gnu_ld in
7568 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7569 *)
7570 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7571 LD="${LD-ld} -64"
7572 fi
7573 ;;
7574 esac
7575 ;;
7576 esac
7577 fi
7578 rm -rf conftest*
7579 ;;
7580 esac
7581
7582 need_locks="$enable_libtool_lock"
7583
7584
7585 case $host_os in
7586 rhapsody* | darwin*)
7587 if test -n "$ac_tool_prefix"; then
7588 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7589 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7591 $as_echo_n "checking for $ac_word... " >&6; }
7592 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7593 $as_echo_n "(cached) " >&6
7594 else
7595 if test -n "$DSYMUTIL"; then
7596 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7597 else
7598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7599 for as_dir in $PATH
7600 do
7601 IFS=$as_save_IFS
7602 test -z "$as_dir" && as_dir=.
7603 for ac_exec_ext in '' $ac_executable_extensions; do
7604 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7605 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7606 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7607 break 2
7608 fi
7609 done
7610 done
7611 IFS=$as_save_IFS
7612
7613 fi
7614 fi
7615 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7616 if test -n "$DSYMUTIL"; then
7617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7618 $as_echo "$DSYMUTIL" >&6; }
7619 else
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7621 $as_echo "no" >&6; }
7622 fi
7623
7624
7625 fi
7626 if test -z "$ac_cv_prog_DSYMUTIL"; then
7627 ac_ct_DSYMUTIL=$DSYMUTIL
7628 # Extract the first word of "dsymutil", so it can be a program name with args.
7629 set dummy dsymutil; ac_word=$2
7630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7631 $as_echo_n "checking for $ac_word... " >&6; }
7632 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7633 $as_echo_n "(cached) " >&6
7634 else
7635 if test -n "$ac_ct_DSYMUTIL"; then
7636 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7637 else
7638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7639 for as_dir in $PATH
7640 do
7641 IFS=$as_save_IFS
7642 test -z "$as_dir" && as_dir=.
7643 for ac_exec_ext in '' $ac_executable_extensions; do
7644 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7645 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7646 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7647 break 2
7648 fi
7649 done
7650 done
7651 IFS=$as_save_IFS
7652
7653 fi
7654 fi
7655 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7656 if test -n "$ac_ct_DSYMUTIL"; then
7657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7658 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7659 else
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7661 $as_echo "no" >&6; }
7662 fi
7663
7664 if test "x$ac_ct_DSYMUTIL" = x; then
7665 DSYMUTIL=":"
7666 else
7667 case $cross_compiling:$ac_tool_warned in
7668 yes:)
7669 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7670 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7671 ac_tool_warned=yes ;;
7672 esac
7673 DSYMUTIL=$ac_ct_DSYMUTIL
7674 fi
7675 else
7676 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7677 fi
7678
7679 if test -n "$ac_tool_prefix"; then
7680 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7681 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7683 $as_echo_n "checking for $ac_word... " >&6; }
7684 if ${ac_cv_prog_NMEDIT+:} false; then :
7685 $as_echo_n "(cached) " >&6
7686 else
7687 if test -n "$NMEDIT"; then
7688 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7689 else
7690 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7691 for as_dir in $PATH
7692 do
7693 IFS=$as_save_IFS
7694 test -z "$as_dir" && as_dir=.
7695 for ac_exec_ext in '' $ac_executable_extensions; do
7696 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7697 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7698 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7699 break 2
7700 fi
7701 done
7702 done
7703 IFS=$as_save_IFS
7704
7705 fi
7706 fi
7707 NMEDIT=$ac_cv_prog_NMEDIT
7708 if test -n "$NMEDIT"; then
7709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7710 $as_echo "$NMEDIT" >&6; }
7711 else
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7713 $as_echo "no" >&6; }
7714 fi
7715
7716
7717 fi
7718 if test -z "$ac_cv_prog_NMEDIT"; then
7719 ac_ct_NMEDIT=$NMEDIT
7720 # Extract the first word of "nmedit", so it can be a program name with args.
7721 set dummy nmedit; ac_word=$2
7722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7723 $as_echo_n "checking for $ac_word... " >&6; }
7724 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
7725 $as_echo_n "(cached) " >&6
7726 else
7727 if test -n "$ac_ct_NMEDIT"; then
7728 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
7729 else
7730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7731 for as_dir in $PATH
7732 do
7733 IFS=$as_save_IFS
7734 test -z "$as_dir" && as_dir=.
7735 for ac_exec_ext in '' $ac_executable_extensions; do
7736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7737 ac_cv_prog_ac_ct_NMEDIT="nmedit"
7738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7739 break 2
7740 fi
7741 done
7742 done
7743 IFS=$as_save_IFS
7744
7745 fi
7746 fi
7747 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
7748 if test -n "$ac_ct_NMEDIT"; then
7749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
7750 $as_echo "$ac_ct_NMEDIT" >&6; }
7751 else
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7753 $as_echo "no" >&6; }
7754 fi
7755
7756 if test "x$ac_ct_NMEDIT" = x; then
7757 NMEDIT=":"
7758 else
7759 case $cross_compiling:$ac_tool_warned in
7760 yes:)
7761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7762 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7763 ac_tool_warned=yes ;;
7764 esac
7765 NMEDIT=$ac_ct_NMEDIT
7766 fi
7767 else
7768 NMEDIT="$ac_cv_prog_NMEDIT"
7769 fi
7770
7771 if test -n "$ac_tool_prefix"; then
7772 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
7773 set dummy ${ac_tool_prefix}lipo; ac_word=$2
7774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7775 $as_echo_n "checking for $ac_word... " >&6; }
7776 if ${ac_cv_prog_LIPO+:} false; then :
7777 $as_echo_n "(cached) " >&6
7778 else
7779 if test -n "$LIPO"; then
7780 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
7781 else
7782 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7783 for as_dir in $PATH
7784 do
7785 IFS=$as_save_IFS
7786 test -z "$as_dir" && as_dir=.
7787 for ac_exec_ext in '' $ac_executable_extensions; do
7788 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7789 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
7790 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7791 break 2
7792 fi
7793 done
7794 done
7795 IFS=$as_save_IFS
7796
7797 fi
7798 fi
7799 LIPO=$ac_cv_prog_LIPO
7800 if test -n "$LIPO"; then
7801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
7802 $as_echo "$LIPO" >&6; }
7803 else
7804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7805 $as_echo "no" >&6; }
7806 fi
7807
7808
7809 fi
7810 if test -z "$ac_cv_prog_LIPO"; then
7811 ac_ct_LIPO=$LIPO
7812 # Extract the first word of "lipo", so it can be a program name with args.
7813 set dummy lipo; ac_word=$2
7814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7815 $as_echo_n "checking for $ac_word... " >&6; }
7816 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
7817 $as_echo_n "(cached) " >&6
7818 else
7819 if test -n "$ac_ct_LIPO"; then
7820 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
7821 else
7822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7823 for as_dir in $PATH
7824 do
7825 IFS=$as_save_IFS
7826 test -z "$as_dir" && as_dir=.
7827 for ac_exec_ext in '' $ac_executable_extensions; do
7828 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7829 ac_cv_prog_ac_ct_LIPO="lipo"
7830 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7831 break 2
7832 fi
7833 done
7834 done
7835 IFS=$as_save_IFS
7836
7837 fi
7838 fi
7839 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
7840 if test -n "$ac_ct_LIPO"; then
7841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
7842 $as_echo "$ac_ct_LIPO" >&6; }
7843 else
7844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7845 $as_echo "no" >&6; }
7846 fi
7847
7848 if test "x$ac_ct_LIPO" = x; then
7849 LIPO=":"
7850 else
7851 case $cross_compiling:$ac_tool_warned in
7852 yes:)
7853 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7854 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7855 ac_tool_warned=yes ;;
7856 esac
7857 LIPO=$ac_ct_LIPO
7858 fi
7859 else
7860 LIPO="$ac_cv_prog_LIPO"
7861 fi
7862
7863 if test -n "$ac_tool_prefix"; then
7864 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7865 set dummy ${ac_tool_prefix}otool; ac_word=$2
7866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7867 $as_echo_n "checking for $ac_word... " >&6; }
7868 if ${ac_cv_prog_OTOOL+:} false; then :
7869 $as_echo_n "(cached) " >&6
7870 else
7871 if test -n "$OTOOL"; then
7872 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7873 else
7874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7875 for as_dir in $PATH
7876 do
7877 IFS=$as_save_IFS
7878 test -z "$as_dir" && as_dir=.
7879 for ac_exec_ext in '' $ac_executable_extensions; do
7880 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7881 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7882 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7883 break 2
7884 fi
7885 done
7886 done
7887 IFS=$as_save_IFS
7888
7889 fi
7890 fi
7891 OTOOL=$ac_cv_prog_OTOOL
7892 if test -n "$OTOOL"; then
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7894 $as_echo "$OTOOL" >&6; }
7895 else
7896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7897 $as_echo "no" >&6; }
7898 fi
7899
7900
7901 fi
7902 if test -z "$ac_cv_prog_OTOOL"; then
7903 ac_ct_OTOOL=$OTOOL
7904 # Extract the first word of "otool", so it can be a program name with args.
7905 set dummy otool; ac_word=$2
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7907 $as_echo_n "checking for $ac_word... " >&6; }
7908 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7909 $as_echo_n "(cached) " >&6
7910 else
7911 if test -n "$ac_ct_OTOOL"; then
7912 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7913 else
7914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7915 for as_dir in $PATH
7916 do
7917 IFS=$as_save_IFS
7918 test -z "$as_dir" && as_dir=.
7919 for ac_exec_ext in '' $ac_executable_extensions; do
7920 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7921 ac_cv_prog_ac_ct_OTOOL="otool"
7922 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7923 break 2
7924 fi
7925 done
7926 done
7927 IFS=$as_save_IFS
7928
7929 fi
7930 fi
7931 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7932 if test -n "$ac_ct_OTOOL"; then
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7934 $as_echo "$ac_ct_OTOOL" >&6; }
7935 else
7936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7937 $as_echo "no" >&6; }
7938 fi
7939
7940 if test "x$ac_ct_OTOOL" = x; then
7941 OTOOL=":"
7942 else
7943 case $cross_compiling:$ac_tool_warned in
7944 yes:)
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7946 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7947 ac_tool_warned=yes ;;
7948 esac
7949 OTOOL=$ac_ct_OTOOL
7950 fi
7951 else
7952 OTOOL="$ac_cv_prog_OTOOL"
7953 fi
7954
7955 if test -n "$ac_tool_prefix"; then
7956 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
7957 set dummy ${ac_tool_prefix}otool64; ac_word=$2
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7959 $as_echo_n "checking for $ac_word... " >&6; }
7960 if ${ac_cv_prog_OTOOL64+:} false; then :
7961 $as_echo_n "(cached) " >&6
7962 else
7963 if test -n "$OTOOL64"; then
7964 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
7965 else
7966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7967 for as_dir in $PATH
7968 do
7969 IFS=$as_save_IFS
7970 test -z "$as_dir" && as_dir=.
7971 for ac_exec_ext in '' $ac_executable_extensions; do
7972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7973 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
7974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7975 break 2
7976 fi
7977 done
7978 done
7979 IFS=$as_save_IFS
7980
7981 fi
7982 fi
7983 OTOOL64=$ac_cv_prog_OTOOL64
7984 if test -n "$OTOOL64"; then
7985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
7986 $as_echo "$OTOOL64" >&6; }
7987 else
7988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7989 $as_echo "no" >&6; }
7990 fi
7991
7992
7993 fi
7994 if test -z "$ac_cv_prog_OTOOL64"; then
7995 ac_ct_OTOOL64=$OTOOL64
7996 # Extract the first word of "otool64", so it can be a program name with args.
7997 set dummy otool64; ac_word=$2
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7999 $as_echo_n "checking for $ac_word... " >&6; }
8000 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8001 $as_echo_n "(cached) " >&6
8002 else
8003 if test -n "$ac_ct_OTOOL64"; then
8004 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8005 else
8006 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8007 for as_dir in $PATH
8008 do
8009 IFS=$as_save_IFS
8010 test -z "$as_dir" && as_dir=.
8011 for ac_exec_ext in '' $ac_executable_extensions; do
8012 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8013 ac_cv_prog_ac_ct_OTOOL64="otool64"
8014 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8015 break 2
8016 fi
8017 done
8018 done
8019 IFS=$as_save_IFS
8020
8021 fi
8022 fi
8023 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8024 if test -n "$ac_ct_OTOOL64"; then
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8026 $as_echo "$ac_ct_OTOOL64" >&6; }
8027 else
8028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8029 $as_echo "no" >&6; }
8030 fi
8031
8032 if test "x$ac_ct_OTOOL64" = x; then
8033 OTOOL64=":"
8034 else
8035 case $cross_compiling:$ac_tool_warned in
8036 yes:)
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8038 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8039 ac_tool_warned=yes ;;
8040 esac
8041 OTOOL64=$ac_ct_OTOOL64
8042 fi
8043 else
8044 OTOOL64="$ac_cv_prog_OTOOL64"
8045 fi
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8074 $as_echo_n "checking for -single_module linker flag... " >&6; }
8075 if ${lt_cv_apple_cc_single_mod+:} false; then :
8076 $as_echo_n "(cached) " >&6
8077 else
8078 lt_cv_apple_cc_single_mod=no
8079 if test -z "${LT_MULTI_MODULE}"; then
8080 # By default we will add the -single_module flag. You can override
8081 # by either setting the environment variable LT_MULTI_MODULE
8082 # non-empty at configure time, or by adding -multi_module to the
8083 # link flags.
8084 rm -rf libconftest.dylib*
8085 echo "int foo(void){return 1;}" > conftest.c
8086 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8087 -dynamiclib -Wl,-single_module conftest.c" >&5
8088 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8089 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8090 _lt_result=$?
8091 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8092 lt_cv_apple_cc_single_mod=yes
8093 else
8094 cat conftest.err >&5
8095 fi
8096 rm -rf libconftest.dylib*
8097 rm -f conftest.*
8098 fi
8099 fi
8100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8101 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8103 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8104 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 lt_cv_ld_exported_symbols_list=no
8108 save_LDFLAGS=$LDFLAGS
8109 echo "_main" > conftest.sym
8110 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8111 if test x$gcc_no_link = xyes; then
8112 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8113 fi
8114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8115 /* end confdefs.h. */
8116
8117 int
8118 main ()
8119 {
8120
8121 ;
8122 return 0;
8123 }
8124 _ACEOF
8125 if ac_fn_c_try_link "$LINENO"; then :
8126 lt_cv_ld_exported_symbols_list=yes
8127 else
8128 lt_cv_ld_exported_symbols_list=no
8129 fi
8130 rm -f core conftest.err conftest.$ac_objext \
8131 conftest$ac_exeext conftest.$ac_ext
8132 LDFLAGS="$save_LDFLAGS"
8133
8134 fi
8135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8136 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8138 $as_echo_n "checking for -force_load linker flag... " >&6; }
8139 if ${lt_cv_ld_force_load+:} false; then :
8140 $as_echo_n "(cached) " >&6
8141 else
8142 lt_cv_ld_force_load=no
8143 cat > conftest.c << _LT_EOF
8144 int forced_loaded() { return 2;}
8145 _LT_EOF
8146 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8147 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8148 echo "$AR cru libconftest.a conftest.o" >&5
8149 $AR cru libconftest.a conftest.o 2>&5
8150 cat > conftest.c << _LT_EOF
8151 int main() { return 0;}
8152 _LT_EOF
8153 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8154 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8155 _lt_result=$?
8156 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8157 lt_cv_ld_force_load=yes
8158 else
8159 cat conftest.err >&5
8160 fi
8161 rm -f conftest.err libconftest.a conftest conftest.c
8162 rm -rf conftest.dSYM
8163
8164 fi
8165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8166 $as_echo "$lt_cv_ld_force_load" >&6; }
8167 case $host_os in
8168 rhapsody* | darwin1.[012])
8169 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8170 darwin1.*)
8171 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8172 darwin*) # darwin 5.x on
8173 # if running on 10.5 or later, the deployment target defaults
8174 # to the OS version, if on x86, and 10.4, the deployment
8175 # target defaults to 10.4. Don't you love it?
8176 case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
8177 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
8178 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8179 10.[012][,.]*)
8180 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8181 10.*)
8182 _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
8183 esac
8184 ;;
8185 esac
8186 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8187 _lt_dar_single_mod='$single_module'
8188 fi
8189 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8190 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8191 else
8192 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8193 fi
8194 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8195 _lt_dsymutil='~$DSYMUTIL $lib || :'
8196 else
8197 _lt_dsymutil=
8198 fi
8199 ;;
8200 esac
8201
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8203 $as_echo_n "checking for ANSI C header files... " >&6; }
8204 if ${ac_cv_header_stdc+:} false; then :
8205 $as_echo_n "(cached) " >&6
8206 else
8207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8208 /* end confdefs.h. */
8209 #include <stdlib.h>
8210 #include <stdarg.h>
8211 #include <string.h>
8212 #include <float.h>
8213
8214 int
8215 main ()
8216 {
8217
8218 ;
8219 return 0;
8220 }
8221 _ACEOF
8222 if ac_fn_c_try_compile "$LINENO"; then :
8223 ac_cv_header_stdc=yes
8224 else
8225 ac_cv_header_stdc=no
8226 fi
8227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8228
8229 if test $ac_cv_header_stdc = yes; then
8230 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8232 /* end confdefs.h. */
8233 #include <string.h>
8234
8235 _ACEOF
8236 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8237 $EGREP "memchr" >/dev/null 2>&1; then :
8238
8239 else
8240 ac_cv_header_stdc=no
8241 fi
8242 rm -f conftest*
8243
8244 fi
8245
8246 if test $ac_cv_header_stdc = yes; then
8247 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8249 /* end confdefs.h. */
8250 #include <stdlib.h>
8251
8252 _ACEOF
8253 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8254 $EGREP "free" >/dev/null 2>&1; then :
8255
8256 else
8257 ac_cv_header_stdc=no
8258 fi
8259 rm -f conftest*
8260
8261 fi
8262
8263 if test $ac_cv_header_stdc = yes; then
8264 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8265 if test "$cross_compiling" = yes; then :
8266 :
8267 else
8268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8269 /* end confdefs.h. */
8270 #include <ctype.h>
8271 #include <stdlib.h>
8272 #if ((' ' & 0x0FF) == 0x020)
8273 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8274 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8275 #else
8276 # define ISLOWER(c) \
8277 (('a' <= (c) && (c) <= 'i') \
8278 || ('j' <= (c) && (c) <= 'r') \
8279 || ('s' <= (c) && (c) <= 'z'))
8280 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8281 #endif
8282
8283 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8284 int
8285 main ()
8286 {
8287 int i;
8288 for (i = 0; i < 256; i++)
8289 if (XOR (islower (i), ISLOWER (i))
8290 || toupper (i) != TOUPPER (i))
8291 return 2;
8292 return 0;
8293 }
8294 _ACEOF
8295 if ac_fn_c_try_run "$LINENO"; then :
8296
8297 else
8298 ac_cv_header_stdc=no
8299 fi
8300 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8301 conftest.$ac_objext conftest.beam conftest.$ac_ext
8302 fi
8303
8304 fi
8305 fi
8306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8307 $as_echo "$ac_cv_header_stdc" >&6; }
8308 if test $ac_cv_header_stdc = yes; then
8309
8310 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8311
8312 fi
8313
8314 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8315 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8316 inttypes.h stdint.h unistd.h
8317 do :
8318 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8319 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8320 "
8321 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8322 cat >>confdefs.h <<_ACEOF
8323 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8324 _ACEOF
8325
8326 fi
8327
8328 done
8329
8330
8331 for ac_header in dlfcn.h
8332 do :
8333 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8334 "
8335 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8336 cat >>confdefs.h <<_ACEOF
8337 #define HAVE_DLFCN_H 1
8338 _ACEOF
8339
8340 fi
8341
8342 done
8343
8344
8345
8346
8347
8348
8349 # Set options
8350
8351
8352
8353
8354 enable_win32_dll=no
8355
8356
8357 # Check whether --enable-shared was given.
8358 if test "${enable_shared+set}" = set; then :
8359 enableval=$enable_shared; p=${PACKAGE-default}
8360 case $enableval in
8361 yes) enable_shared=yes ;;
8362 no) enable_shared=no ;;
8363 *)
8364 enable_shared=no
8365 # Look at the argument we got. We use all the common list separators.
8366 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8367 for pkg in $enableval; do
8368 IFS="$lt_save_ifs"
8369 if test "X$pkg" = "X$p"; then
8370 enable_shared=yes
8371 fi
8372 done
8373 IFS="$lt_save_ifs"
8374 ;;
8375 esac
8376 else
8377 enable_shared=yes
8378 fi
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388 # Check whether --enable-static was given.
8389 if test "${enable_static+set}" = set; then :
8390 enableval=$enable_static; p=${PACKAGE-default}
8391 case $enableval in
8392 yes) enable_static=yes ;;
8393 no) enable_static=no ;;
8394 *)
8395 enable_static=no
8396 # Look at the argument we got. We use all the common list separators.
8397 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8398 for pkg in $enableval; do
8399 IFS="$lt_save_ifs"
8400 if test "X$pkg" = "X$p"; then
8401 enable_static=yes
8402 fi
8403 done
8404 IFS="$lt_save_ifs"
8405 ;;
8406 esac
8407 else
8408 enable_static=yes
8409 fi
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420 # Check whether --with-pic was given.
8421 if test "${with_pic+set}" = set; then :
8422 withval=$with_pic; pic_mode="$withval"
8423 else
8424 pic_mode=default
8425 fi
8426
8427
8428 test -z "$pic_mode" && pic_mode=default
8429
8430
8431
8432
8433
8434
8435
8436 # Check whether --enable-fast-install was given.
8437 if test "${enable_fast_install+set}" = set; then :
8438 enableval=$enable_fast_install; p=${PACKAGE-default}
8439 case $enableval in
8440 yes) enable_fast_install=yes ;;
8441 no) enable_fast_install=no ;;
8442 *)
8443 enable_fast_install=no
8444 # Look at the argument we got. We use all the common list separators.
8445 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8446 for pkg in $enableval; do
8447 IFS="$lt_save_ifs"
8448 if test "X$pkg" = "X$p"; then
8449 enable_fast_install=yes
8450 fi
8451 done
8452 IFS="$lt_save_ifs"
8453 ;;
8454 esac
8455 else
8456 enable_fast_install=yes
8457 fi
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469 # This can be used to rebuild libtool when needed
8470 LIBTOOL_DEPS="$ltmain"
8471
8472 # Always use our own libtool.
8473 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500 test -z "$LN_S" && LN_S="ln -s"
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515 if test -n "${ZSH_VERSION+set}" ; then
8516 setopt NO_GLOB_SUBST
8517 fi
8518
8519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8520 $as_echo_n "checking for objdir... " >&6; }
8521 if ${lt_cv_objdir+:} false; then :
8522 $as_echo_n "(cached) " >&6
8523 else
8524 rm -f .libs 2>/dev/null
8525 mkdir .libs 2>/dev/null
8526 if test -d .libs; then
8527 lt_cv_objdir=.libs
8528 else
8529 # MS-DOS does not allow filenames that begin with a dot.
8530 lt_cv_objdir=_libs
8531 fi
8532 rmdir .libs 2>/dev/null
8533 fi
8534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8535 $as_echo "$lt_cv_objdir" >&6; }
8536 objdir=$lt_cv_objdir
8537
8538
8539
8540
8541
8542 cat >>confdefs.h <<_ACEOF
8543 #define LT_OBJDIR "$lt_cv_objdir/"
8544 _ACEOF
8545
8546
8547
8548
8549 case $host_os in
8550 aix3*)
8551 # AIX sometimes has problems with the GCC collect2 program. For some
8552 # reason, if we set the COLLECT_NAMES environment variable, the problems
8553 # vanish in a puff of smoke.
8554 if test "X${COLLECT_NAMES+set}" != Xset; then
8555 COLLECT_NAMES=
8556 export COLLECT_NAMES
8557 fi
8558 ;;
8559 esac
8560
8561 # Global variables:
8562 ofile=libtool
8563 can_build_shared=yes
8564
8565 # All known linkers require a `.a' archive for static linking (except MSVC,
8566 # which needs '.lib').
8567 libext=a
8568
8569 with_gnu_ld="$lt_cv_prog_gnu_ld"
8570
8571 old_CC="$CC"
8572 old_CFLAGS="$CFLAGS"
8573
8574 # Set sane defaults for various variables
8575 test -z "$CC" && CC=cc
8576 test -z "$LTCC" && LTCC=$CC
8577 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8578 test -z "$LD" && LD=ld
8579 test -z "$ac_objext" && ac_objext=o
8580
8581 for cc_temp in $compiler""; do
8582 case $cc_temp in
8583 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8584 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8585 \-*) ;;
8586 *) break;;
8587 esac
8588 done
8589 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8590
8591
8592 # Only perform the check for file, if the check method requires it
8593 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8594 case $deplibs_check_method in
8595 file_magic*)
8596 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8598 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8599 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8600 $as_echo_n "(cached) " >&6
8601 else
8602 case $MAGIC_CMD in
8603 [\\/*] | ?:[\\/]*)
8604 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8605 ;;
8606 *)
8607 lt_save_MAGIC_CMD="$MAGIC_CMD"
8608 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8609 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8610 for ac_dir in $ac_dummy; do
8611 IFS="$lt_save_ifs"
8612 test -z "$ac_dir" && ac_dir=.
8613 if test -f $ac_dir/${ac_tool_prefix}file; then
8614 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8615 if test -n "$file_magic_test_file"; then
8616 case $deplibs_check_method in
8617 "file_magic "*)
8618 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8619 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8620 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8621 $EGREP "$file_magic_regex" > /dev/null; then
8622 :
8623 else
8624 cat <<_LT_EOF 1>&2
8625
8626 *** Warning: the command libtool uses to detect shared libraries,
8627 *** $file_magic_cmd, produces output that libtool cannot recognize.
8628 *** The result is that libtool may fail to recognize shared libraries
8629 *** as such. This will affect the creation of libtool libraries that
8630 *** depend on shared libraries, but programs linked with such libtool
8631 *** libraries will work regardless of this problem. Nevertheless, you
8632 *** may want to report the problem to your system manager and/or to
8633 *** bug-libtool@gnu.org
8634
8635 _LT_EOF
8636 fi ;;
8637 esac
8638 fi
8639 break
8640 fi
8641 done
8642 IFS="$lt_save_ifs"
8643 MAGIC_CMD="$lt_save_MAGIC_CMD"
8644 ;;
8645 esac
8646 fi
8647
8648 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8649 if test -n "$MAGIC_CMD"; then
8650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8651 $as_echo "$MAGIC_CMD" >&6; }
8652 else
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8654 $as_echo "no" >&6; }
8655 fi
8656
8657
8658
8659
8660
8661 if test -z "$lt_cv_path_MAGIC_CMD"; then
8662 if test -n "$ac_tool_prefix"; then
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8664 $as_echo_n "checking for file... " >&6; }
8665 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 case $MAGIC_CMD in
8669 [\\/*] | ?:[\\/]*)
8670 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8671 ;;
8672 *)
8673 lt_save_MAGIC_CMD="$MAGIC_CMD"
8674 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8675 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8676 for ac_dir in $ac_dummy; do
8677 IFS="$lt_save_ifs"
8678 test -z "$ac_dir" && ac_dir=.
8679 if test -f $ac_dir/file; then
8680 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8681 if test -n "$file_magic_test_file"; then
8682 case $deplibs_check_method in
8683 "file_magic "*)
8684 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8685 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8686 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8687 $EGREP "$file_magic_regex" > /dev/null; then
8688 :
8689 else
8690 cat <<_LT_EOF 1>&2
8691
8692 *** Warning: the command libtool uses to detect shared libraries,
8693 *** $file_magic_cmd, produces output that libtool cannot recognize.
8694 *** The result is that libtool may fail to recognize shared libraries
8695 *** as such. This will affect the creation of libtool libraries that
8696 *** depend on shared libraries, but programs linked with such libtool
8697 *** libraries will work regardless of this problem. Nevertheless, you
8698 *** may want to report the problem to your system manager and/or to
8699 *** bug-libtool@gnu.org
8700
8701 _LT_EOF
8702 fi ;;
8703 esac
8704 fi
8705 break
8706 fi
8707 done
8708 IFS="$lt_save_ifs"
8709 MAGIC_CMD="$lt_save_MAGIC_CMD"
8710 ;;
8711 esac
8712 fi
8713
8714 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8715 if test -n "$MAGIC_CMD"; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8717 $as_echo "$MAGIC_CMD" >&6; }
8718 else
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8720 $as_echo "no" >&6; }
8721 fi
8722
8723
8724 else
8725 MAGIC_CMD=:
8726 fi
8727 fi
8728
8729 fi
8730 ;;
8731 esac
8732
8733 # Use C for the default configuration in the libtool script
8734
8735 lt_save_CC="$CC"
8736 ac_ext=c
8737 ac_cpp='$CPP $CPPFLAGS'
8738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8741
8742
8743 # Source file extension for C test sources.
8744 ac_ext=c
8745
8746 # Object file extension for compiled C test sources.
8747 objext=o
8748 objext=$objext
8749
8750 # Code to be used in simple compile tests
8751 lt_simple_compile_test_code="int some_variable = 0;"
8752
8753 # Code to be used in simple link tests
8754 lt_simple_link_test_code='int main(){return(0);}'
8755
8756
8757
8758
8759
8760
8761
8762 # If no C compiler was specified, use CC.
8763 LTCC=${LTCC-"$CC"}
8764
8765 # If no C compiler flags were specified, use CFLAGS.
8766 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
8767
8768 # Allow CC to be a program name with arguments.
8769 compiler=$CC
8770
8771 # Save the default compiler, since it gets overwritten when the other
8772 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
8773 compiler_DEFAULT=$CC
8774
8775 # save warnings/boilerplate of simple test code
8776 ac_outfile=conftest.$ac_objext
8777 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
8778 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8779 _lt_compiler_boilerplate=`cat conftest.err`
8780 $RM conftest*
8781
8782 ac_outfile=conftest.$ac_objext
8783 echo "$lt_simple_link_test_code" >conftest.$ac_ext
8784 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
8785 _lt_linker_boilerplate=`cat conftest.err`
8786 $RM -r conftest*
8787
8788
8789 ## CAVEAT EMPTOR:
8790 ## There is no encapsulation within the following macros, do not change
8791 ## the running order or otherwise move them around unless you know exactly
8792 ## what you are doing...
8793 if test -n "$compiler"; then
8794
8795 lt_prog_compiler_no_builtin_flag=
8796
8797 if test "$GCC" = yes; then
8798 case $cc_basename in
8799 nvcc*)
8800 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
8801 *)
8802 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
8803 esac
8804
8805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
8806 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
8807 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
8808 $as_echo_n "(cached) " >&6
8809 else
8810 lt_cv_prog_compiler_rtti_exceptions=no
8811 ac_outfile=conftest.$ac_objext
8812 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
8813 lt_compiler_flag="-fno-rtti -fno-exceptions"
8814 # Insert the option either (1) after the last *FLAGS variable, or
8815 # (2) before a word containing "conftest.", or (3) at the end.
8816 # Note that $ac_compile itself does not contain backslashes and begins
8817 # with a dollar sign (not a hyphen), so the echo should work correctly.
8818 # The option is referenced via a variable to avoid confusing sed.
8819 lt_compile=`echo "$ac_compile" | $SED \
8820 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
8821 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
8822 -e 's:$: $lt_compiler_flag:'`
8823 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
8824 (eval "$lt_compile" 2>conftest.err)
8825 ac_status=$?
8826 cat conftest.err >&5
8827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8828 if (exit $ac_status) && test -s "$ac_outfile"; then
8829 # The compiler can only warn and ignore the option if not recognized
8830 # So say no if there are warnings other than the usual output.
8831 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
8832 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
8833 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
8834 lt_cv_prog_compiler_rtti_exceptions=yes
8835 fi
8836 fi
8837 $RM conftest*
8838
8839 fi
8840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
8841 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
8842
8843 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
8844 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
8845 else
8846 :
8847 fi
8848
8849 fi
8850
8851
8852
8853
8854
8855
8856 lt_prog_compiler_wl=
8857 lt_prog_compiler_pic=
8858 lt_prog_compiler_static=
8859
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
8861 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
8862
8863 if test "$GCC" = yes; then
8864 lt_prog_compiler_wl='-Wl,'
8865 lt_prog_compiler_static='-static'
8866
8867 case $host_os in
8868 aix*)
8869 # All AIX code is PIC.
8870 if test "$host_cpu" = ia64; then
8871 # AIX 5 now supports IA64 processor
8872 lt_prog_compiler_static='-Bstatic'
8873 fi
8874 lt_prog_compiler_pic='-fPIC'
8875 ;;
8876
8877 amigaos*)
8878 case $host_cpu in
8879 powerpc)
8880 # see comment about AmigaOS4 .so support
8881 lt_prog_compiler_pic='-fPIC'
8882 ;;
8883 m68k)
8884 # FIXME: we need at least 68020 code to build shared libraries, but
8885 # adding the `-m68020' flag to GCC prevents building anything better,
8886 # like `-m68040'.
8887 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
8888 ;;
8889 esac
8890 ;;
8891
8892 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
8893 # PIC is the default for these OSes.
8894 ;;
8895
8896 mingw* | cygwin* | pw32* | os2* | cegcc*)
8897 # This hack is so that the source file can tell whether it is being
8898 # built for inclusion in a dll (and should export symbols for example).
8899 # Although the cygwin gcc ignores -fPIC, still need this for old-style
8900 # (--disable-auto-import) libraries
8901 lt_prog_compiler_pic='-DDLL_EXPORT'
8902 ;;
8903
8904 darwin* | rhapsody*)
8905 # PIC is the default on this platform
8906 # Common symbols not allowed in MH_DYLIB files
8907 lt_prog_compiler_pic='-fno-common'
8908 ;;
8909
8910 haiku*)
8911 # PIC is the default for Haiku.
8912 # The "-static" flag exists, but is broken.
8913 lt_prog_compiler_static=
8914 ;;
8915
8916 hpux*)
8917 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
8918 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
8919 # sets the default TLS model and affects inlining.
8920 case $host_cpu in
8921 hppa*64*)
8922 # +Z the default
8923 ;;
8924 *)
8925 lt_prog_compiler_pic='-fPIC'
8926 ;;
8927 esac
8928 ;;
8929
8930 interix[3-9]*)
8931 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
8932 # Instead, we relocate shared libraries at runtime.
8933 ;;
8934
8935 msdosdjgpp*)
8936 # Just because we use GCC doesn't mean we suddenly get shared libraries
8937 # on systems that don't support them.
8938 lt_prog_compiler_can_build_shared=no
8939 enable_shared=no
8940 ;;
8941
8942 *nto* | *qnx*)
8943 # QNX uses GNU C++, but need to define -shared option too, otherwise
8944 # it will coredump.
8945 lt_prog_compiler_pic='-fPIC -shared'
8946 ;;
8947
8948 sysv4*MP*)
8949 if test -d /usr/nec; then
8950 lt_prog_compiler_pic=-Kconform_pic
8951 fi
8952 ;;
8953
8954 *)
8955 lt_prog_compiler_pic='-fPIC'
8956 ;;
8957 esac
8958
8959 case $cc_basename in
8960 nvcc*) # Cuda Compiler Driver 2.2
8961 lt_prog_compiler_wl='-Xlinker '
8962 lt_prog_compiler_pic='-Xcompiler -fPIC'
8963 ;;
8964 esac
8965 else
8966 # PORTME Check for flag to pass linker flags through the system compiler.
8967 case $host_os in
8968 aix*)
8969 lt_prog_compiler_wl='-Wl,'
8970 if test "$host_cpu" = ia64; then
8971 # AIX 5 now supports IA64 processor
8972 lt_prog_compiler_static='-Bstatic'
8973 else
8974 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
8975 fi
8976 ;;
8977
8978 mingw* | cygwin* | pw32* | os2* | cegcc*)
8979 # This hack is so that the source file can tell whether it is being
8980 # built for inclusion in a dll (and should export symbols for example).
8981 lt_prog_compiler_pic='-DDLL_EXPORT'
8982 ;;
8983
8984 hpux9* | hpux10* | hpux11*)
8985 lt_prog_compiler_wl='-Wl,'
8986 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
8987 # not for PA HP-UX.
8988 case $host_cpu in
8989 hppa*64*|ia64*)
8990 # +Z the default
8991 ;;
8992 *)
8993 lt_prog_compiler_pic='+Z'
8994 ;;
8995 esac
8996 # Is there a better lt_prog_compiler_static that works with the bundled CC?
8997 lt_prog_compiler_static='${wl}-a ${wl}archive'
8998 ;;
8999
9000 irix5* | irix6* | nonstopux*)
9001 lt_prog_compiler_wl='-Wl,'
9002 # PIC (with -KPIC) is the default.
9003 lt_prog_compiler_static='-non_shared'
9004 ;;
9005
9006 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9007 case $cc_basename in
9008 # old Intel for x86_64 which still supported -KPIC.
9009 ecc*)
9010 lt_prog_compiler_wl='-Wl,'
9011 lt_prog_compiler_pic='-KPIC'
9012 lt_prog_compiler_static='-static'
9013 ;;
9014 # icc used to be incompatible with GCC.
9015 # ICC 10 doesn't accept -KPIC any more.
9016 icc* | ifort*)
9017 lt_prog_compiler_wl='-Wl,'
9018 lt_prog_compiler_pic='-fPIC'
9019 lt_prog_compiler_static='-static'
9020 ;;
9021 # Lahey Fortran 8.1.
9022 lf95*)
9023 lt_prog_compiler_wl='-Wl,'
9024 lt_prog_compiler_pic='--shared'
9025 lt_prog_compiler_static='--static'
9026 ;;
9027 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9028 # Portland Group compilers (*not* the Pentium gcc compiler,
9029 # which looks to be a dead project)
9030 lt_prog_compiler_wl='-Wl,'
9031 lt_prog_compiler_pic='-fpic'
9032 lt_prog_compiler_static='-Bstatic'
9033 ;;
9034 ccc*)
9035 lt_prog_compiler_wl='-Wl,'
9036 # All Alpha code is PIC.
9037 lt_prog_compiler_static='-non_shared'
9038 ;;
9039 xl* | bgxl* | bgf* | mpixl*)
9040 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9041 lt_prog_compiler_wl='-Wl,'
9042 lt_prog_compiler_pic='-qpic'
9043 lt_prog_compiler_static='-qstaticlink'
9044 ;;
9045 *)
9046 case `$CC -V 2>&1 | sed 5q` in
9047 *Sun\ F* | *Sun*Fortran*)
9048 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9049 lt_prog_compiler_pic='-KPIC'
9050 lt_prog_compiler_static='-Bstatic'
9051 lt_prog_compiler_wl=''
9052 ;;
9053 *Sun\ C*)
9054 # Sun C 5.9
9055 lt_prog_compiler_pic='-KPIC'
9056 lt_prog_compiler_static='-Bstatic'
9057 lt_prog_compiler_wl='-Wl,'
9058 ;;
9059 esac
9060 ;;
9061 esac
9062 ;;
9063
9064 newsos6)
9065 lt_prog_compiler_pic='-KPIC'
9066 lt_prog_compiler_static='-Bstatic'
9067 ;;
9068
9069 *nto* | *qnx*)
9070 # QNX uses GNU C++, but need to define -shared option too, otherwise
9071 # it will coredump.
9072 lt_prog_compiler_pic='-fPIC -shared'
9073 ;;
9074
9075 osf3* | osf4* | osf5*)
9076 lt_prog_compiler_wl='-Wl,'
9077 # All OSF/1 code is PIC.
9078 lt_prog_compiler_static='-non_shared'
9079 ;;
9080
9081 rdos*)
9082 lt_prog_compiler_static='-non_shared'
9083 ;;
9084
9085 solaris*)
9086 lt_prog_compiler_pic='-KPIC'
9087 lt_prog_compiler_static='-Bstatic'
9088 case $cc_basename in
9089 f77* | f90* | f95*)
9090 lt_prog_compiler_wl='-Qoption ld ';;
9091 *)
9092 lt_prog_compiler_wl='-Wl,';;
9093 esac
9094 ;;
9095
9096 sunos4*)
9097 lt_prog_compiler_wl='-Qoption ld '
9098 lt_prog_compiler_pic='-PIC'
9099 lt_prog_compiler_static='-Bstatic'
9100 ;;
9101
9102 sysv4 | sysv4.2uw2* | sysv4.3*)
9103 lt_prog_compiler_wl='-Wl,'
9104 lt_prog_compiler_pic='-KPIC'
9105 lt_prog_compiler_static='-Bstatic'
9106 ;;
9107
9108 sysv4*MP*)
9109 if test -d /usr/nec ;then
9110 lt_prog_compiler_pic='-Kconform_pic'
9111 lt_prog_compiler_static='-Bstatic'
9112 fi
9113 ;;
9114
9115 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9116 lt_prog_compiler_wl='-Wl,'
9117 lt_prog_compiler_pic='-KPIC'
9118 lt_prog_compiler_static='-Bstatic'
9119 ;;
9120
9121 unicos*)
9122 lt_prog_compiler_wl='-Wl,'
9123 lt_prog_compiler_can_build_shared=no
9124 ;;
9125
9126 uts4*)
9127 lt_prog_compiler_pic='-pic'
9128 lt_prog_compiler_static='-Bstatic'
9129 ;;
9130
9131 *)
9132 lt_prog_compiler_can_build_shared=no
9133 ;;
9134 esac
9135 fi
9136
9137 case $host_os in
9138 # For platforms which do not support PIC, -DPIC is meaningless:
9139 *djgpp*)
9140 lt_prog_compiler_pic=
9141 ;;
9142 *)
9143 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9144 ;;
9145 esac
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9147 $as_echo "$lt_prog_compiler_pic" >&6; }
9148
9149
9150
9151
9152
9153
9154 #
9155 # Check to make sure the PIC flag actually works.
9156 #
9157 if test -n "$lt_prog_compiler_pic"; then
9158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9159 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9160 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9161 $as_echo_n "(cached) " >&6
9162 else
9163 lt_cv_prog_compiler_pic_works=no
9164 ac_outfile=conftest.$ac_objext
9165 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9166 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9167 # Insert the option either (1) after the last *FLAGS variable, or
9168 # (2) before a word containing "conftest.", or (3) at the end.
9169 # Note that $ac_compile itself does not contain backslashes and begins
9170 # with a dollar sign (not a hyphen), so the echo should work correctly.
9171 # The option is referenced via a variable to avoid confusing sed.
9172 lt_compile=`echo "$ac_compile" | $SED \
9173 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9174 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9175 -e 's:$: $lt_compiler_flag:'`
9176 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9177 (eval "$lt_compile" 2>conftest.err)
9178 ac_status=$?
9179 cat conftest.err >&5
9180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9181 if (exit $ac_status) && test -s "$ac_outfile"; then
9182 # The compiler can only warn and ignore the option if not recognized
9183 # So say no if there are warnings other than the usual output.
9184 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9185 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9186 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9187 lt_cv_prog_compiler_pic_works=yes
9188 fi
9189 fi
9190 $RM conftest*
9191
9192 fi
9193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9194 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9195
9196 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9197 case $lt_prog_compiler_pic in
9198 "" | " "*) ;;
9199 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9200 esac
9201 else
9202 lt_prog_compiler_pic=
9203 lt_prog_compiler_can_build_shared=no
9204 fi
9205
9206 fi
9207
9208
9209
9210
9211
9212
9213 #
9214 # Check to make sure the static flag actually works.
9215 #
9216 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9218 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9219 if ${lt_cv_prog_compiler_static_works+:} false; then :
9220 $as_echo_n "(cached) " >&6
9221 else
9222 lt_cv_prog_compiler_static_works=no
9223 save_LDFLAGS="$LDFLAGS"
9224 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9225 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9226 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9227 # The linker can only warn and ignore the option if not recognized
9228 # So say no if there are warnings
9229 if test -s conftest.err; then
9230 # Append any errors to the config.log.
9231 cat conftest.err 1>&5
9232 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9233 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9234 if diff conftest.exp conftest.er2 >/dev/null; then
9235 lt_cv_prog_compiler_static_works=yes
9236 fi
9237 else
9238 lt_cv_prog_compiler_static_works=yes
9239 fi
9240 fi
9241 $RM -r conftest*
9242 LDFLAGS="$save_LDFLAGS"
9243
9244 fi
9245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9246 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9247
9248 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9249 :
9250 else
9251 lt_prog_compiler_static=
9252 fi
9253
9254
9255
9256
9257
9258
9259
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9261 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9262 if ${lt_cv_prog_compiler_c_o+:} false; then :
9263 $as_echo_n "(cached) " >&6
9264 else
9265 lt_cv_prog_compiler_c_o=no
9266 $RM -r conftest 2>/dev/null
9267 mkdir conftest
9268 cd conftest
9269 mkdir out
9270 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9271
9272 lt_compiler_flag="-o out/conftest2.$ac_objext"
9273 # Insert the option either (1) after the last *FLAGS variable, or
9274 # (2) before a word containing "conftest.", or (3) at the end.
9275 # Note that $ac_compile itself does not contain backslashes and begins
9276 # with a dollar sign (not a hyphen), so the echo should work correctly.
9277 lt_compile=`echo "$ac_compile" | $SED \
9278 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9279 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9280 -e 's:$: $lt_compiler_flag:'`
9281 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9282 (eval "$lt_compile" 2>out/conftest.err)
9283 ac_status=$?
9284 cat out/conftest.err >&5
9285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9286 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9287 then
9288 # The compiler can only warn and ignore the option if not recognized
9289 # So say no if there are warnings
9290 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9291 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9292 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9293 lt_cv_prog_compiler_c_o=yes
9294 fi
9295 fi
9296 chmod u+w . 2>&5
9297 $RM conftest*
9298 # SGI C++ compiler will create directory out/ii_files/ for
9299 # template instantiation
9300 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9301 $RM out/* && rmdir out
9302 cd ..
9303 $RM -r conftest
9304 $RM conftest*
9305
9306 fi
9307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9308 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9309
9310
9311
9312
9313
9314
9315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9316 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9317 if ${lt_cv_prog_compiler_c_o+:} false; then :
9318 $as_echo_n "(cached) " >&6
9319 else
9320 lt_cv_prog_compiler_c_o=no
9321 $RM -r conftest 2>/dev/null
9322 mkdir conftest
9323 cd conftest
9324 mkdir out
9325 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9326
9327 lt_compiler_flag="-o out/conftest2.$ac_objext"
9328 # Insert the option either (1) after the last *FLAGS variable, or
9329 # (2) before a word containing "conftest.", or (3) at the end.
9330 # Note that $ac_compile itself does not contain backslashes and begins
9331 # with a dollar sign (not a hyphen), so the echo should work correctly.
9332 lt_compile=`echo "$ac_compile" | $SED \
9333 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9334 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9335 -e 's:$: $lt_compiler_flag:'`
9336 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9337 (eval "$lt_compile" 2>out/conftest.err)
9338 ac_status=$?
9339 cat out/conftest.err >&5
9340 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9341 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9342 then
9343 # The compiler can only warn and ignore the option if not recognized
9344 # So say no if there are warnings
9345 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9346 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9347 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9348 lt_cv_prog_compiler_c_o=yes
9349 fi
9350 fi
9351 chmod u+w . 2>&5
9352 $RM conftest*
9353 # SGI C++ compiler will create directory out/ii_files/ for
9354 # template instantiation
9355 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9356 $RM out/* && rmdir out
9357 cd ..
9358 $RM -r conftest
9359 $RM conftest*
9360
9361 fi
9362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9363 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9364
9365
9366
9367
9368 hard_links="nottested"
9369 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9370 # do not overwrite the value of need_locks provided by the user
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9372 $as_echo_n "checking if we can lock with hard links... " >&6; }
9373 hard_links=yes
9374 $RM conftest*
9375 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9376 touch conftest.a
9377 ln conftest.a conftest.b 2>&5 || hard_links=no
9378 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9380 $as_echo "$hard_links" >&6; }
9381 if test "$hard_links" = no; then
9382 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9383 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9384 need_locks=warn
9385 fi
9386 else
9387 need_locks=no
9388 fi
9389
9390
9391
9392
9393
9394
9395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9396 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9397
9398 runpath_var=
9399 allow_undefined_flag=
9400 always_export_symbols=no
9401 archive_cmds=
9402 archive_expsym_cmds=
9403 compiler_needs_object=no
9404 enable_shared_with_static_runtimes=no
9405 export_dynamic_flag_spec=
9406 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9407 hardcode_automatic=no
9408 hardcode_direct=no
9409 hardcode_direct_absolute=no
9410 hardcode_libdir_flag_spec=
9411 hardcode_libdir_flag_spec_ld=
9412 hardcode_libdir_separator=
9413 hardcode_minus_L=no
9414 hardcode_shlibpath_var=unsupported
9415 inherit_rpath=no
9416 link_all_deplibs=unknown
9417 module_cmds=
9418 module_expsym_cmds=
9419 old_archive_from_new_cmds=
9420 old_archive_from_expsyms_cmds=
9421 thread_safe_flag_spec=
9422 whole_archive_flag_spec=
9423 # include_expsyms should be a list of space-separated symbols to be *always*
9424 # included in the symbol list
9425 include_expsyms=
9426 # exclude_expsyms can be an extended regexp of symbols to exclude
9427 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9428 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9429 # as well as any symbol that contains `d'.
9430 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9431 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9432 # platforms (ab)use it in PIC code, but their linkers get confused if
9433 # the symbol is explicitly referenced. Since portable code cannot
9434 # rely on this symbol name, it's probably fine to never include it in
9435 # preloaded symbol tables.
9436 # Exclude shared library initialization/finalization symbols.
9437 extract_expsyms_cmds=
9438
9439 case $host_os in
9440 cygwin* | mingw* | pw32* | cegcc*)
9441 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9442 # When not using gcc, we currently assume that we are using
9443 # Microsoft Visual C++.
9444 if test "$GCC" != yes; then
9445 with_gnu_ld=no
9446 fi
9447 ;;
9448 interix*)
9449 # we just hope/assume this is gcc and not c89 (= MSVC++)
9450 with_gnu_ld=yes
9451 ;;
9452 openbsd*)
9453 with_gnu_ld=no
9454 ;;
9455 esac
9456
9457 ld_shlibs=yes
9458
9459 # On some targets, GNU ld is compatible enough with the native linker
9460 # that we're better off using the native interface for both.
9461 lt_use_gnu_ld_interface=no
9462 if test "$with_gnu_ld" = yes; then
9463 case $host_os in
9464 aix*)
9465 # The AIX port of GNU ld has always aspired to compatibility
9466 # with the native linker. However, as the warning in the GNU ld
9467 # block says, versions before 2.19.5* couldn't really create working
9468 # shared libraries, regardless of the interface used.
9469 case `$LD -v 2>&1` in
9470 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9471 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9472 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9473 *)
9474 lt_use_gnu_ld_interface=yes
9475 ;;
9476 esac
9477 ;;
9478 *)
9479 lt_use_gnu_ld_interface=yes
9480 ;;
9481 esac
9482 fi
9483
9484 if test "$lt_use_gnu_ld_interface" = yes; then
9485 # If archive_cmds runs LD, not CC, wlarc should be empty
9486 wlarc='${wl}'
9487
9488 # Set some defaults for GNU ld with shared library support. These
9489 # are reset later if shared libraries are not supported. Putting them
9490 # here allows them to be overridden if necessary.
9491 runpath_var=LD_RUN_PATH
9492 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9493 export_dynamic_flag_spec='${wl}--export-dynamic'
9494 # ancient GNU ld didn't support --whole-archive et. al.
9495 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9496 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9497 else
9498 whole_archive_flag_spec=
9499 fi
9500 supports_anon_versioning=no
9501 case `$LD -v 2>&1` in
9502 *GNU\ gold*) supports_anon_versioning=yes ;;
9503 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9504 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9505 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9506 *\ 2.11.*) ;; # other 2.11 versions
9507 *) supports_anon_versioning=yes ;;
9508 esac
9509
9510 # See if GNU ld supports shared libraries.
9511 case $host_os in
9512 aix[3-9]*)
9513 # On AIX/PPC, the GNU linker is very broken
9514 if test "$host_cpu" != ia64; then
9515 ld_shlibs=no
9516 cat <<_LT_EOF 1>&2
9517
9518 *** Warning: the GNU linker, at least up to release 2.19, is reported
9519 *** to be unable to reliably create shared libraries on AIX.
9520 *** Therefore, libtool is disabling shared libraries support. If you
9521 *** really care for shared libraries, you may want to install binutils
9522 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9523 *** You will then need to restart the configuration process.
9524
9525 _LT_EOF
9526 fi
9527 ;;
9528
9529 amigaos*)
9530 case $host_cpu in
9531 powerpc)
9532 # see comment about AmigaOS4 .so support
9533 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9534 archive_expsym_cmds=''
9535 ;;
9536 m68k)
9537 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)'
9538 hardcode_libdir_flag_spec='-L$libdir'
9539 hardcode_minus_L=yes
9540 ;;
9541 esac
9542 ;;
9543
9544 beos*)
9545 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9546 allow_undefined_flag=unsupported
9547 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9548 # support --undefined. This deserves some investigation. FIXME
9549 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9550 else
9551 ld_shlibs=no
9552 fi
9553 ;;
9554
9555 cygwin* | mingw* | pw32* | cegcc*)
9556 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9557 # as there is no search path for DLLs.
9558 hardcode_libdir_flag_spec='-L$libdir'
9559 export_dynamic_flag_spec='${wl}--export-all-symbols'
9560 allow_undefined_flag=unsupported
9561 always_export_symbols=no
9562 enable_shared_with_static_runtimes=yes
9563 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9564
9565 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9566 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9567 # If the export-symbols file already is a .def file (1st line
9568 # is EXPORTS), use it as is; otherwise, prepend...
9569 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9570 cp $export_symbols $output_objdir/$soname.def;
9571 else
9572 echo EXPORTS > $output_objdir/$soname.def;
9573 cat $export_symbols >> $output_objdir/$soname.def;
9574 fi~
9575 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9576 else
9577 ld_shlibs=no
9578 fi
9579 ;;
9580
9581 haiku*)
9582 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9583 link_all_deplibs=yes
9584 ;;
9585
9586 interix[3-9]*)
9587 hardcode_direct=no
9588 hardcode_shlibpath_var=no
9589 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9590 export_dynamic_flag_spec='${wl}-E'
9591 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9592 # Instead, shared libraries are loaded at an image base (0x10000000 by
9593 # default) and relocated if they conflict, which is a slow very memory
9594 # consuming and fragmenting process. To avoid this, we pick a random,
9595 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9596 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9597 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9598 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'
9599 ;;
9600
9601 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu)
9602 tmp_diet=no
9603 if test "$host_os" = linux-dietlibc; then
9604 case $cc_basename in
9605 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9606 esac
9607 fi
9608 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9609 && test "$tmp_diet" = no
9610 then
9611 tmp_addflag=' $pic_flag'
9612 tmp_sharedflag='-shared'
9613 case $cc_basename,$host_cpu in
9614 pgcc*) # Portland Group C compiler
9615 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'
9616 tmp_addflag=' $pic_flag'
9617 ;;
9618 pgf77* | pgf90* | pgf95* | pgfortran*)
9619 # Portland Group f77 and f90 compilers
9620 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'
9621 tmp_addflag=' $pic_flag -Mnomain' ;;
9622 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9623 tmp_addflag=' -i_dynamic' ;;
9624 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9625 tmp_addflag=' -i_dynamic -nofor_main' ;;
9626 ifc* | ifort*) # Intel Fortran compiler
9627 tmp_addflag=' -nofor_main' ;;
9628 lf95*) # Lahey Fortran 8.1
9629 whole_archive_flag_spec=
9630 tmp_sharedflag='--shared' ;;
9631 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9632 tmp_sharedflag='-qmkshrobj'
9633 tmp_addflag= ;;
9634 nvcc*) # Cuda Compiler Driver 2.2
9635 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'
9636 compiler_needs_object=yes
9637 ;;
9638 esac
9639 case `$CC -V 2>&1 | sed 5q` in
9640 *Sun\ C*) # Sun C 5.9
9641 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'
9642 compiler_needs_object=yes
9643 tmp_sharedflag='-G' ;;
9644 *Sun\ F*) # Sun Fortran 8.3
9645 tmp_sharedflag='-G' ;;
9646 esac
9647 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9648
9649 if test "x$supports_anon_versioning" = xyes; then
9650 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9651 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9652 echo "local: *; };" >> $output_objdir/$libname.ver~
9653 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9654 fi
9655
9656 case $cc_basename in
9657 xlf* | bgf* | bgxlf* | mpixlf*)
9658 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9659 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9660 hardcode_libdir_flag_spec=
9661 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9662 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9663 if test "x$supports_anon_versioning" = xyes; then
9664 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9665 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9666 echo "local: *; };" >> $output_objdir/$libname.ver~
9667 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9668 fi
9669 ;;
9670 esac
9671 else
9672 ld_shlibs=no
9673 fi
9674 ;;
9675
9676 netbsd*)
9677 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9678 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9679 wlarc=
9680 else
9681 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9682 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9683 fi
9684 ;;
9685
9686 solaris*)
9687 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9688 ld_shlibs=no
9689 cat <<_LT_EOF 1>&2
9690
9691 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9692 *** create shared libraries on Solaris systems. Therefore, libtool
9693 *** is disabling shared libraries support. We urge you to upgrade GNU
9694 *** binutils to release 2.9.1 or newer. Another option is to modify
9695 *** your PATH or compiler configuration so that the native linker is
9696 *** used, and then restart.
9697
9698 _LT_EOF
9699 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9700 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9701 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9702 else
9703 ld_shlibs=no
9704 fi
9705 ;;
9706
9707 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9708 case `$LD -v 2>&1` in
9709 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
9710 ld_shlibs=no
9711 cat <<_LT_EOF 1>&2
9712
9713 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
9714 *** reliably create shared libraries on SCO systems. Therefore, libtool
9715 *** is disabling shared libraries support. We urge you to upgrade GNU
9716 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
9717 *** your PATH or compiler configuration so that the native linker is
9718 *** used, and then restart.
9719
9720 _LT_EOF
9721 ;;
9722 *)
9723 # For security reasons, it is highly recommended that you always
9724 # use absolute paths for naming shared libraries, and exclude the
9725 # DT_RUNPATH tag from executables and libraries. But doing so
9726 # requires that you compile everything twice, which is a pain.
9727 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9728 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9729 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9730 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9731 else
9732 ld_shlibs=no
9733 fi
9734 ;;
9735 esac
9736 ;;
9737
9738 sunos4*)
9739 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
9740 wlarc=
9741 hardcode_direct=yes
9742 hardcode_shlibpath_var=no
9743 ;;
9744
9745 *)
9746 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9747 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9748 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9749 else
9750 ld_shlibs=no
9751 fi
9752 ;;
9753 esac
9754
9755 if test "$ld_shlibs" = no; then
9756 runpath_var=
9757 hardcode_libdir_flag_spec=
9758 export_dynamic_flag_spec=
9759 whole_archive_flag_spec=
9760 fi
9761 else
9762 # PORTME fill in a description of your system's linker (not GNU ld)
9763 case $host_os in
9764 aix3*)
9765 allow_undefined_flag=unsupported
9766 always_export_symbols=yes
9767 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'
9768 # Note: this linker hardcodes the directories in LIBPATH if there
9769 # are no directories specified by -L.
9770 hardcode_minus_L=yes
9771 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
9772 # Neither direct hardcoding nor static linking is supported with a
9773 # broken collect2.
9774 hardcode_direct=unsupported
9775 fi
9776 ;;
9777
9778 aix[4-9]*)
9779 if test "$host_cpu" = ia64; then
9780 # On IA64, the linker does run time linking by default, so we don't
9781 # have to do anything special.
9782 aix_use_runtimelinking=no
9783 exp_sym_flag='-Bexport'
9784 no_entry_flag=""
9785 else
9786 # If we're using GNU nm, then we don't want the "-C" option.
9787 # -C means demangle to AIX nm, but means don't demangle with GNU nm
9788 # Also, AIX nm treats weak defined symbols like other global
9789 # defined symbols, whereas GNU nm marks them as "W".
9790 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
9791 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'
9792 else
9793 export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
9794 fi
9795 aix_use_runtimelinking=no
9796
9797 # Test if we are trying to use run time linking or normal
9798 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
9799 # need to do runtime linking.
9800 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
9801 for ld_flag in $LDFLAGS; do
9802 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
9803 aix_use_runtimelinking=yes
9804 break
9805 fi
9806 done
9807 ;;
9808 esac
9809
9810 exp_sym_flag='-bexport'
9811 no_entry_flag='-bnoentry'
9812 fi
9813
9814 # When large executables or shared objects are built, AIX ld can
9815 # have problems creating the table of contents. If linking a library
9816 # or program results in "error TOC overflow" add -mminimal-toc to
9817 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
9818 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
9819
9820 archive_cmds=''
9821 hardcode_direct=yes
9822 hardcode_direct_absolute=yes
9823 hardcode_libdir_separator=':'
9824 link_all_deplibs=yes
9825 file_list_spec='${wl}-f,'
9826
9827 if test "$GCC" = yes; then
9828 case $host_os in aix4.[012]|aix4.[012].*)
9829 # We only want to do this on AIX 4.2 and lower, the check
9830 # below for broken collect2 doesn't work under 4.3+
9831 collect2name=`${CC} -print-prog-name=collect2`
9832 if test -f "$collect2name" &&
9833 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
9834 then
9835 # We have reworked collect2
9836 :
9837 else
9838 # We have old collect2
9839 hardcode_direct=unsupported
9840 # It fails to find uninstalled libraries when the uninstalled
9841 # path is not listed in the libpath. Setting hardcode_minus_L
9842 # to unsupported forces relinking
9843 hardcode_minus_L=yes
9844 hardcode_libdir_flag_spec='-L$libdir'
9845 hardcode_libdir_separator=
9846 fi
9847 ;;
9848 esac
9849 shared_flag='-shared'
9850 if test "$aix_use_runtimelinking" = yes; then
9851 shared_flag="$shared_flag "'${wl}-G'
9852 fi
9853 else
9854 # not using gcc
9855 if test "$host_cpu" = ia64; then
9856 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
9857 # chokes on -Wl,-G. The following line is correct:
9858 shared_flag='-G'
9859 else
9860 if test "$aix_use_runtimelinking" = yes; then
9861 shared_flag='${wl}-G'
9862 else
9863 shared_flag='${wl}-bM:SRE'
9864 fi
9865 fi
9866 fi
9867
9868 export_dynamic_flag_spec='${wl}-bexpall'
9869 # It seems that -bexpall does not export symbols beginning with
9870 # underscore (_), so it is better to generate a list of symbols to export.
9871 always_export_symbols=yes
9872 if test "$aix_use_runtimelinking" = yes; then
9873 # Warning - without using the other runtime loading flags (-brtl),
9874 # -berok will link without error, but may produce a broken library.
9875 allow_undefined_flag='-berok'
9876 # Determine the default libpath from the value encoded in an
9877 # empty executable.
9878 if test x$gcc_no_link = xyes; then
9879 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9880 fi
9881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9882 /* end confdefs.h. */
9883
9884 int
9885 main ()
9886 {
9887
9888 ;
9889 return 0;
9890 }
9891 _ACEOF
9892 if ac_fn_c_try_link "$LINENO"; then :
9893
9894 lt_aix_libpath_sed='
9895 /Import File Strings/,/^$/ {
9896 /^0/ {
9897 s/^0 *\(.*\)$/\1/
9898 p
9899 }
9900 }'
9901 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9902 # Check for a 64-bit object if we didn't find anything.
9903 if test -z "$aix_libpath"; then
9904 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9905 fi
9906 fi
9907 rm -f core conftest.err conftest.$ac_objext \
9908 conftest$ac_exeext conftest.$ac_ext
9909 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9910
9911 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9912 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"
9913 else
9914 if test "$host_cpu" = ia64; then
9915 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
9916 allow_undefined_flag="-z nodefs"
9917 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"
9918 else
9919 # Determine the default libpath from the value encoded in an
9920 # empty executable.
9921 if test x$gcc_no_link = xyes; then
9922 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
9923 fi
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9926
9927 int
9928 main ()
9929 {
9930
9931 ;
9932 return 0;
9933 }
9934 _ACEOF
9935 if ac_fn_c_try_link "$LINENO"; then :
9936
9937 lt_aix_libpath_sed='
9938 /Import File Strings/,/^$/ {
9939 /^0/ {
9940 s/^0 *\(.*\)$/\1/
9941 p
9942 }
9943 }'
9944 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9945 # Check for a 64-bit object if we didn't find anything.
9946 if test -z "$aix_libpath"; then
9947 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
9948 fi
9949 fi
9950 rm -f core conftest.err conftest.$ac_objext \
9951 conftest$ac_exeext conftest.$ac_ext
9952 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
9953
9954 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
9955 # Warning - without using the other run time loading flags,
9956 # -berok will link without error, but may produce a broken library.
9957 no_undefined_flag=' ${wl}-bernotok'
9958 allow_undefined_flag=' ${wl}-berok'
9959 if test "$with_gnu_ld" = yes; then
9960 # We only use this code for GNU lds that support --whole-archive.
9961 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
9962 else
9963 # Exported symbols can be pulled into shared objects from archives
9964 whole_archive_flag_spec='$convenience'
9965 fi
9966 archive_cmds_need_lc=yes
9967 # This is similar to how AIX traditionally builds its shared libraries.
9968 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'
9969 fi
9970 fi
9971 ;;
9972
9973 amigaos*)
9974 case $host_cpu in
9975 powerpc)
9976 # see comment about AmigaOS4 .so support
9977 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9978 archive_expsym_cmds=''
9979 ;;
9980 m68k)
9981 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)'
9982 hardcode_libdir_flag_spec='-L$libdir'
9983 hardcode_minus_L=yes
9984 ;;
9985 esac
9986 ;;
9987
9988 bsdi[45]*)
9989 export_dynamic_flag_spec=-rdynamic
9990 ;;
9991
9992 cygwin* | mingw* | pw32* | cegcc*)
9993 # When not using gcc, we currently assume that we are using
9994 # Microsoft Visual C++.
9995 # hardcode_libdir_flag_spec is actually meaningless, as there is
9996 # no search path for DLLs.
9997 hardcode_libdir_flag_spec=' '
9998 allow_undefined_flag=unsupported
9999 # Tell ltmain to make .lib files, not .a files.
10000 libext=lib
10001 # Tell ltmain to make .dll files, not .so files.
10002 shrext_cmds=".dll"
10003 # FIXME: Setting linknames here is a bad hack.
10004 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10005 # The linker will automatically build a .lib file if we build a DLL.
10006 old_archive_from_new_cmds='true'
10007 # FIXME: Should let the user specify the lib program.
10008 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10009 fix_srcfile_path='`cygpath -w "$srcfile"`'
10010 enable_shared_with_static_runtimes=yes
10011 ;;
10012
10013 darwin* | rhapsody*)
10014
10015
10016 archive_cmds_need_lc=no
10017 hardcode_direct=no
10018 hardcode_automatic=yes
10019 hardcode_shlibpath_var=unsupported
10020 if test "$lt_cv_ld_force_load" = "yes"; then
10021 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\"`'
10022 else
10023 whole_archive_flag_spec=''
10024 fi
10025 link_all_deplibs=yes
10026 allow_undefined_flag="$_lt_dar_allow_undefined"
10027 case $cc_basename in
10028 ifort*) _lt_dar_can_shared=yes ;;
10029 *) _lt_dar_can_shared=$GCC ;;
10030 esac
10031 if test "$_lt_dar_can_shared" = "yes"; then
10032 output_verbose_link_cmd=func_echo_all
10033 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10034 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10035 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}"
10036 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}"
10037
10038 else
10039 ld_shlibs=no
10040 fi
10041
10042 ;;
10043
10044 dgux*)
10045 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10046 hardcode_libdir_flag_spec='-L$libdir'
10047 hardcode_shlibpath_var=no
10048 ;;
10049
10050 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10051 # support. Future versions do this automatically, but an explicit c++rt0.o
10052 # does not break anything, and helps significantly (at the cost of a little
10053 # extra space).
10054 freebsd2.2*)
10055 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10056 hardcode_libdir_flag_spec='-R$libdir'
10057 hardcode_direct=yes
10058 hardcode_shlibpath_var=no
10059 ;;
10060
10061 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10062 freebsd2.*)
10063 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10064 hardcode_direct=yes
10065 hardcode_minus_L=yes
10066 hardcode_shlibpath_var=no
10067 ;;
10068
10069 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10070 freebsd* | dragonfly*)
10071 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10072 hardcode_libdir_flag_spec='-R$libdir'
10073 hardcode_direct=yes
10074 hardcode_shlibpath_var=no
10075 ;;
10076
10077 hpux9*)
10078 if test "$GCC" = yes; then
10079 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'
10080 else
10081 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'
10082 fi
10083 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10084 hardcode_libdir_separator=:
10085 hardcode_direct=yes
10086
10087 # hardcode_minus_L: Not really in the search PATH,
10088 # but as the default location of the library.
10089 hardcode_minus_L=yes
10090 export_dynamic_flag_spec='${wl}-E'
10091 ;;
10092
10093 hpux10*)
10094 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10095 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10096 else
10097 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10098 fi
10099 if test "$with_gnu_ld" = no; then
10100 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10101 hardcode_libdir_flag_spec_ld='+b $libdir'
10102 hardcode_libdir_separator=:
10103 hardcode_direct=yes
10104 hardcode_direct_absolute=yes
10105 export_dynamic_flag_spec='${wl}-E'
10106 # hardcode_minus_L: Not really in the search PATH,
10107 # but as the default location of the library.
10108 hardcode_minus_L=yes
10109 fi
10110 ;;
10111
10112 hpux11*)
10113 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10114 case $host_cpu in
10115 hppa*64*)
10116 archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10117 ;;
10118 ia64*)
10119 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10120 ;;
10121 *)
10122 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10123 ;;
10124 esac
10125 else
10126 case $host_cpu in
10127 hppa*64*)
10128 archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10129 ;;
10130 ia64*)
10131 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10132 ;;
10133 *)
10134
10135 # Older versions of the 11.00 compiler do not understand -b yet
10136 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10138 $as_echo_n "checking if $CC understands -b... " >&6; }
10139 if ${lt_cv_prog_compiler__b+:} false; then :
10140 $as_echo_n "(cached) " >&6
10141 else
10142 lt_cv_prog_compiler__b=no
10143 save_LDFLAGS="$LDFLAGS"
10144 LDFLAGS="$LDFLAGS -b"
10145 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10146 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10147 # The linker can only warn and ignore the option if not recognized
10148 # So say no if there are warnings
10149 if test -s conftest.err; then
10150 # Append any errors to the config.log.
10151 cat conftest.err 1>&5
10152 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10153 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10154 if diff conftest.exp conftest.er2 >/dev/null; then
10155 lt_cv_prog_compiler__b=yes
10156 fi
10157 else
10158 lt_cv_prog_compiler__b=yes
10159 fi
10160 fi
10161 $RM -r conftest*
10162 LDFLAGS="$save_LDFLAGS"
10163
10164 fi
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10166 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10167
10168 if test x"$lt_cv_prog_compiler__b" = xyes; then
10169 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10170 else
10171 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10172 fi
10173
10174 ;;
10175 esac
10176 fi
10177 if test "$with_gnu_ld" = no; then
10178 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10179 hardcode_libdir_separator=:
10180
10181 case $host_cpu in
10182 hppa*64*|ia64*)
10183 hardcode_direct=no
10184 hardcode_shlibpath_var=no
10185 ;;
10186 *)
10187 hardcode_direct=yes
10188 hardcode_direct_absolute=yes
10189 export_dynamic_flag_spec='${wl}-E'
10190
10191 # hardcode_minus_L: Not really in the search PATH,
10192 # but as the default location of the library.
10193 hardcode_minus_L=yes
10194 ;;
10195 esac
10196 fi
10197 ;;
10198
10199 irix5* | irix6* | nonstopux*)
10200 if test "$GCC" = yes; then
10201 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'
10202 # Try to use the -exported_symbol ld option, if it does not
10203 # work, assume that -exports_file does not work either and
10204 # implicitly export all symbols.
10205 save_LDFLAGS="$LDFLAGS"
10206 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10207 if test x$gcc_no_link = xyes; then
10208 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10209 fi
10210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10211 /* end confdefs.h. */
10212 int foo(void) {}
10213 _ACEOF
10214 if ac_fn_c_try_link "$LINENO"; then :
10215 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'
10216
10217 fi
10218 rm -f core conftest.err conftest.$ac_objext \
10219 conftest$ac_exeext conftest.$ac_ext
10220 LDFLAGS="$save_LDFLAGS"
10221 else
10222 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'
10223 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'
10224 fi
10225 archive_cmds_need_lc='no'
10226 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10227 hardcode_libdir_separator=:
10228 inherit_rpath=yes
10229 link_all_deplibs=yes
10230 ;;
10231
10232 netbsd*)
10233 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10234 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10235 else
10236 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10237 fi
10238 hardcode_libdir_flag_spec='-R$libdir'
10239 hardcode_direct=yes
10240 hardcode_shlibpath_var=no
10241 ;;
10242
10243 newsos6)
10244 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10245 hardcode_direct=yes
10246 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10247 hardcode_libdir_separator=:
10248 hardcode_shlibpath_var=no
10249 ;;
10250
10251 *nto* | *qnx*)
10252 ;;
10253
10254 openbsd*)
10255 if test -f /usr/libexec/ld.so; then
10256 hardcode_direct=yes
10257 hardcode_shlibpath_var=no
10258 hardcode_direct_absolute=yes
10259 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10260 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10261 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10262 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10263 export_dynamic_flag_spec='${wl}-E'
10264 else
10265 case $host_os in
10266 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10267 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10268 hardcode_libdir_flag_spec='-R$libdir'
10269 ;;
10270 *)
10271 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10272 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10273 ;;
10274 esac
10275 fi
10276 else
10277 ld_shlibs=no
10278 fi
10279 ;;
10280
10281 os2*)
10282 hardcode_libdir_flag_spec='-L$libdir'
10283 hardcode_minus_L=yes
10284 allow_undefined_flag=unsupported
10285 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'
10286 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10287 ;;
10288
10289 osf3*)
10290 if test "$GCC" = yes; then
10291 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10292 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'
10293 else
10294 allow_undefined_flag=' -expect_unresolved \*'
10295 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'
10296 fi
10297 archive_cmds_need_lc='no'
10298 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10299 hardcode_libdir_separator=:
10300 ;;
10301
10302 osf4* | osf5*) # as osf3* with the addition of -msym flag
10303 if test "$GCC" = yes; then
10304 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10305 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'
10306 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10307 else
10308 allow_undefined_flag=' -expect_unresolved \*'
10309 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'
10310 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~
10311 $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'
10312
10313 # Both c and cxx compiler support -rpath directly
10314 hardcode_libdir_flag_spec='-rpath $libdir'
10315 fi
10316 archive_cmds_need_lc='no'
10317 hardcode_libdir_separator=:
10318 ;;
10319
10320 solaris*)
10321 no_undefined_flag=' -z defs'
10322 if test "$GCC" = yes; then
10323 wlarc='${wl}'
10324 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10325 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10326 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10327 else
10328 case `$CC -V 2>&1` in
10329 *"Compilers 5.0"*)
10330 wlarc=''
10331 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10332 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10333 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10334 ;;
10335 *)
10336 wlarc='${wl}'
10337 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10338 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10339 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10340 ;;
10341 esac
10342 fi
10343 hardcode_libdir_flag_spec='-R$libdir'
10344 hardcode_shlibpath_var=no
10345 case $host_os in
10346 solaris2.[0-5] | solaris2.[0-5].*) ;;
10347 *)
10348 # The compiler driver will combine and reorder linker options,
10349 # but understands `-z linker_flag'. GCC discards it without `$wl',
10350 # but is careful enough not to reorder.
10351 # Supported since Solaris 2.6 (maybe 2.5.1?)
10352 if test "$GCC" = yes; then
10353 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10354 else
10355 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10356 fi
10357 ;;
10358 esac
10359 link_all_deplibs=yes
10360 ;;
10361
10362 sunos4*)
10363 if test "x$host_vendor" = xsequent; then
10364 # Use $CC to link under sequent, because it throws in some extra .o
10365 # files that make .init and .fini sections work.
10366 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10367 else
10368 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10369 fi
10370 hardcode_libdir_flag_spec='-L$libdir'
10371 hardcode_direct=yes
10372 hardcode_minus_L=yes
10373 hardcode_shlibpath_var=no
10374 ;;
10375
10376 sysv4)
10377 case $host_vendor in
10378 sni)
10379 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10380 hardcode_direct=yes # is this really true???
10381 ;;
10382 siemens)
10383 ## LD is ld it makes a PLAMLIB
10384 ## CC just makes a GrossModule.
10385 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10386 reload_cmds='$CC -r -o $output$reload_objs'
10387 hardcode_direct=no
10388 ;;
10389 motorola)
10390 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10391 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10392 ;;
10393 esac
10394 runpath_var='LD_RUN_PATH'
10395 hardcode_shlibpath_var=no
10396 ;;
10397
10398 sysv4.3*)
10399 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10400 hardcode_shlibpath_var=no
10401 export_dynamic_flag_spec='-Bexport'
10402 ;;
10403
10404 sysv4*MP*)
10405 if test -d /usr/nec; then
10406 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10407 hardcode_shlibpath_var=no
10408 runpath_var=LD_RUN_PATH
10409 hardcode_runpath_var=yes
10410 ld_shlibs=yes
10411 fi
10412 ;;
10413
10414 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10415 no_undefined_flag='${wl}-z,text'
10416 archive_cmds_need_lc=no
10417 hardcode_shlibpath_var=no
10418 runpath_var='LD_RUN_PATH'
10419
10420 if test "$GCC" = yes; then
10421 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10422 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10423 else
10424 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10425 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10426 fi
10427 ;;
10428
10429 sysv5* | sco3.2v5* | sco5v6*)
10430 # Note: We can NOT use -z defs as we might desire, because we do not
10431 # link with -lc, and that would cause any symbols used from libc to
10432 # always be unresolved, which means just about no library would
10433 # ever link correctly. If we're not using GNU ld we use -z text
10434 # though, which does catch some bad symbols but isn't as heavy-handed
10435 # as -z defs.
10436 no_undefined_flag='${wl}-z,text'
10437 allow_undefined_flag='${wl}-z,nodefs'
10438 archive_cmds_need_lc=no
10439 hardcode_shlibpath_var=no
10440 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10441 hardcode_libdir_separator=':'
10442 link_all_deplibs=yes
10443 export_dynamic_flag_spec='${wl}-Bexport'
10444 runpath_var='LD_RUN_PATH'
10445
10446 if test "$GCC" = yes; then
10447 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10448 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10449 else
10450 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10451 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10452 fi
10453 ;;
10454
10455 uts4*)
10456 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10457 hardcode_libdir_flag_spec='-L$libdir'
10458 hardcode_shlibpath_var=no
10459 ;;
10460
10461 *)
10462 ld_shlibs=no
10463 ;;
10464 esac
10465
10466 if test x$host_vendor = xsni; then
10467 case $host in
10468 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10469 export_dynamic_flag_spec='${wl}-Blargedynsym'
10470 ;;
10471 esac
10472 fi
10473 fi
10474
10475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10476 $as_echo "$ld_shlibs" >&6; }
10477 test "$ld_shlibs" = no && can_build_shared=no
10478
10479 with_gnu_ld=$with_gnu_ld
10480
10481
10482
10483
10484
10485
10486
10487
10488
10489
10490
10491
10492
10493
10494
10495 #
10496 # Do we need to explicitly link libc?
10497 #
10498 case "x$archive_cmds_need_lc" in
10499 x|xyes)
10500 # Assume -lc should be added
10501 archive_cmds_need_lc=yes
10502
10503 if test "$enable_shared" = yes && test "$GCC" = yes; then
10504 case $archive_cmds in
10505 *'~'*)
10506 # FIXME: we may have to deal with multi-command sequences.
10507 ;;
10508 '$CC '*)
10509 # Test whether the compiler implicitly links with -lc since on some
10510 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10511 # to ld, don't add -lc before -lgcc.
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10513 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10514 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10515 $as_echo_n "(cached) " >&6
10516 else
10517 $RM conftest*
10518 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10519
10520 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10521 (eval $ac_compile) 2>&5
10522 ac_status=$?
10523 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10524 test $ac_status = 0; } 2>conftest.err; then
10525 soname=conftest
10526 lib=conftest
10527 libobjs=conftest.$ac_objext
10528 deplibs=
10529 wl=$lt_prog_compiler_wl
10530 pic_flag=$lt_prog_compiler_pic
10531 compiler_flags=-v
10532 linker_flags=-v
10533 verstring=
10534 output_objdir=.
10535 libname=conftest
10536 lt_save_allow_undefined_flag=$allow_undefined_flag
10537 allow_undefined_flag=
10538 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10539 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10540 ac_status=$?
10541 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10542 test $ac_status = 0; }
10543 then
10544 lt_cv_archive_cmds_need_lc=no
10545 else
10546 lt_cv_archive_cmds_need_lc=yes
10547 fi
10548 allow_undefined_flag=$lt_save_allow_undefined_flag
10549 else
10550 cat conftest.err 1>&5
10551 fi
10552 $RM conftest*
10553
10554 fi
10555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10556 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10557 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10558 ;;
10559 esac
10560 fi
10561 ;;
10562 esac
10563
10564
10565
10566
10567
10568
10569
10570
10571
10572
10573
10574
10575
10576
10577
10578
10579
10580
10581
10582
10583
10584
10585
10586
10587
10588
10589
10590
10591
10592
10593
10594
10595
10596
10597
10598
10599
10600
10601
10602
10603
10604
10605
10606
10607
10608
10609
10610
10611
10612
10613
10614
10615
10616
10617
10618
10619
10620
10621
10622
10623
10624
10625
10626
10627
10628
10629
10630
10631
10632
10633
10634
10635
10636
10637
10638
10639
10640
10641
10642
10643
10644
10645
10646
10647
10648
10649
10650
10651
10652
10653
10654
10655
10656
10657
10658
10659
10660
10661
10662
10663
10664
10665
10666
10667
10668
10669
10670
10671
10672
10673
10674
10675
10676
10677
10678
10679
10680
10681
10682
10683
10684
10685
10686
10687
10688
10689
10690
10691
10692
10693
10694
10695
10696
10697
10698
10699
10700
10701
10702
10703
10704
10705
10706
10707
10708
10709
10710
10711
10712
10713
10714
10715
10716
10717
10718
10719
10720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
10721 $as_echo_n "checking dynamic linker characteristics... " >&6; }
10722
10723 if test "$GCC" = yes; then
10724 case $host_os in
10725 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
10726 *) lt_awk_arg="/^libraries:/" ;;
10727 esac
10728 case $host_os in
10729 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
10730 *) lt_sed_strip_eq="s,=/,/,g" ;;
10731 esac
10732 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
10733 case $lt_search_path_spec in
10734 *\;*)
10735 # if the path contains ";" then we assume it to be the separator
10736 # otherwise default to the standard path separator (i.e. ":") - it is
10737 # assumed that no part of a normal pathname contains ";" but that should
10738 # okay in the real world where ";" in dirpaths is itself problematic.
10739 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
10740 ;;
10741 *)
10742 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
10743 ;;
10744 esac
10745 # Ok, now we have the path, separated by spaces, we can step through it
10746 # and add multilib dir if necessary.
10747 lt_tmp_lt_search_path_spec=
10748 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
10749 for lt_sys_path in $lt_search_path_spec; do
10750 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
10751 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
10752 else
10753 test -d "$lt_sys_path" && \
10754 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
10755 fi
10756 done
10757 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
10758 BEGIN {RS=" "; FS="/|\n";} {
10759 lt_foo="";
10760 lt_count=0;
10761 for (lt_i = NF; lt_i > 0; lt_i--) {
10762 if ($lt_i != "" && $lt_i != ".") {
10763 if ($lt_i == "..") {
10764 lt_count++;
10765 } else {
10766 if (lt_count == 0) {
10767 lt_foo="/" $lt_i lt_foo;
10768 } else {
10769 lt_count--;
10770 }
10771 }
10772 }
10773 }
10774 if (lt_foo != "") { lt_freq[lt_foo]++; }
10775 if (lt_freq[lt_foo] == 1) { print lt_foo; }
10776 }'`
10777 # AWK program above erroneously prepends '/' to C:/dos/paths
10778 # for these hosts.
10779 case $host_os in
10780 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
10781 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
10782 esac
10783 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
10784 else
10785 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
10786 fi
10787 library_names_spec=
10788 libname_spec='lib$name'
10789 soname_spec=
10790 shrext_cmds=".so"
10791 postinstall_cmds=
10792 postuninstall_cmds=
10793 finish_cmds=
10794 finish_eval=
10795 shlibpath_var=
10796 shlibpath_overrides_runpath=unknown
10797 version_type=none
10798 dynamic_linker="$host_os ld.so"
10799 sys_lib_dlsearch_path_spec="/lib /usr/lib"
10800 need_lib_prefix=unknown
10801 hardcode_into_libs=no
10802
10803 # when you set need_version to no, make sure it does not cause -set_version
10804 # flags to be left without arguments
10805 need_version=unknown
10806
10807 case $host_os in
10808 aix3*)
10809 version_type=linux
10810 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
10811 shlibpath_var=LIBPATH
10812
10813 # AIX 3 has no versioning support, so we append a major version to the name.
10814 soname_spec='${libname}${release}${shared_ext}$major'
10815 ;;
10816
10817 aix[4-9]*)
10818 version_type=linux
10819 need_lib_prefix=no
10820 need_version=no
10821 hardcode_into_libs=yes
10822 if test "$host_cpu" = ia64; then
10823 # AIX 5 supports IA64
10824 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
10825 shlibpath_var=LD_LIBRARY_PATH
10826 else
10827 # With GCC up to 2.95.x, collect2 would create an import file
10828 # for dependence libraries. The import file would start with
10829 # the line `#! .'. This would cause the generated library to
10830 # depend on `.', always an invalid library. This was fixed in
10831 # development snapshots of GCC prior to 3.0.
10832 case $host_os in
10833 aix4 | aix4.[01] | aix4.[01].*)
10834 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
10835 echo ' yes '
10836 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
10837 :
10838 else
10839 can_build_shared=no
10840 fi
10841 ;;
10842 esac
10843 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
10844 # soname into executable. Probably we can add versioning support to
10845 # collect2, so additional links can be useful in future.
10846 if test "$aix_use_runtimelinking" = yes; then
10847 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
10848 # instead of lib<name>.a to let people know that these are not
10849 # typical AIX shared libraries.
10850 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10851 else
10852 # We preserve .a as extension for shared libraries through AIX4.2
10853 # and later when we are not doing run time linking.
10854 library_names_spec='${libname}${release}.a $libname.a'
10855 soname_spec='${libname}${release}${shared_ext}$major'
10856 fi
10857 shlibpath_var=LIBPATH
10858 fi
10859 ;;
10860
10861 amigaos*)
10862 case $host_cpu in
10863 powerpc)
10864 # Since July 2007 AmigaOS4 officially supports .so libraries.
10865 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
10866 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10867 ;;
10868 m68k)
10869 library_names_spec='$libname.ixlibrary $libname.a'
10870 # Create ${libname}_ixlibrary.a entries in /sys/libs.
10871 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'
10872 ;;
10873 esac
10874 ;;
10875
10876 beos*)
10877 library_names_spec='${libname}${shared_ext}'
10878 dynamic_linker="$host_os ld.so"
10879 shlibpath_var=LIBRARY_PATH
10880 ;;
10881
10882 bsdi[45]*)
10883 version_type=linux
10884 need_version=no
10885 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
10886 soname_spec='${libname}${release}${shared_ext}$major'
10887 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
10888 shlibpath_var=LD_LIBRARY_PATH
10889 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
10890 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
10891 # the default ld.so.conf also contains /usr/contrib/lib and
10892 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
10893 # libtool to hard-code these into programs
10894 ;;
10895
10896 cygwin* | mingw* | pw32* | cegcc*)
10897 version_type=windows
10898 shrext_cmds=".dll"
10899 need_version=no
10900 need_lib_prefix=no
10901
10902 case $GCC,$host_os in
10903 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
10904 library_names_spec='$libname.dll.a'
10905 # DLL is installed to $(libdir)/../bin by postinstall_cmds
10906 postinstall_cmds='base_file=`basename \${file}`~
10907 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
10908 dldir=$destdir/`dirname \$dlpath`~
10909 test -d \$dldir || mkdir -p \$dldir~
10910 $install_prog $dir/$dlname \$dldir/$dlname~
10911 chmod a+x \$dldir/$dlname~
10912 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
10913 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
10914 fi'
10915 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
10916 dlpath=$dir/\$dldll~
10917 $RM \$dlpath'
10918 shlibpath_overrides_runpath=yes
10919
10920 case $host_os in
10921 cygwin*)
10922 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
10923 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10924
10925 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
10926 ;;
10927 mingw* | cegcc*)
10928 # MinGW DLLs use traditional 'lib' prefix
10929 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10930 ;;
10931 pw32*)
10932 # pw32 DLLs use 'pw' prefix rather than 'lib'
10933 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
10934 ;;
10935 esac
10936 ;;
10937
10938 *)
10939 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
10940 ;;
10941 esac
10942 dynamic_linker='Win32 ld.exe'
10943 # FIXME: first we should search . and the directory the executable is in
10944 shlibpath_var=PATH
10945 ;;
10946
10947 darwin* | rhapsody*)
10948 dynamic_linker="$host_os dyld"
10949 version_type=darwin
10950 need_lib_prefix=no
10951 need_version=no
10952 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
10953 soname_spec='${libname}${release}${major}$shared_ext'
10954 shlibpath_overrides_runpath=yes
10955 shlibpath_var=DYLD_LIBRARY_PATH
10956 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
10957
10958 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
10959 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
10960 ;;
10961
10962 dgux*)
10963 version_type=linux
10964 need_lib_prefix=no
10965 need_version=no
10966 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
10967 soname_spec='${libname}${release}${shared_ext}$major'
10968 shlibpath_var=LD_LIBRARY_PATH
10969 ;;
10970
10971 freebsd* | dragonfly*)
10972 # DragonFly does not have aout. When/if they implement a new
10973 # versioning mechanism, adjust this.
10974 if test -x /usr/bin/objformat; then
10975 objformat=`/usr/bin/objformat`
10976 else
10977 case $host_os in
10978 freebsd[23].*) objformat=aout ;;
10979 *) objformat=elf ;;
10980 esac
10981 fi
10982 version_type=freebsd-$objformat
10983 case $version_type in
10984 freebsd-elf*)
10985 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
10986 need_version=no
10987 need_lib_prefix=no
10988 ;;
10989 freebsd-*)
10990 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
10991 need_version=yes
10992 ;;
10993 esac
10994 shlibpath_var=LD_LIBRARY_PATH
10995 case $host_os in
10996 freebsd2.*)
10997 shlibpath_overrides_runpath=yes
10998 ;;
10999 freebsd3.[01]* | freebsdelf3.[01]*)
11000 shlibpath_overrides_runpath=yes
11001 hardcode_into_libs=yes
11002 ;;
11003 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11004 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11005 shlibpath_overrides_runpath=no
11006 hardcode_into_libs=yes
11007 ;;
11008 *) # from 4.6 on, and DragonFly
11009 shlibpath_overrides_runpath=yes
11010 hardcode_into_libs=yes
11011 ;;
11012 esac
11013 ;;
11014
11015 gnu*)
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 soname_spec='${libname}${release}${shared_ext}$major'
11021 shlibpath_var=LD_LIBRARY_PATH
11022 hardcode_into_libs=yes
11023 ;;
11024
11025 haiku*)
11026 version_type=linux
11027 need_lib_prefix=no
11028 need_version=no
11029 dynamic_linker="$host_os runtime_loader"
11030 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11031 soname_spec='${libname}${release}${shared_ext}$major'
11032 shlibpath_var=LIBRARY_PATH
11033 shlibpath_overrides_runpath=yes
11034 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11035 hardcode_into_libs=yes
11036 ;;
11037
11038 hpux9* | hpux10* | hpux11*)
11039 # Give a soname corresponding to the major version so that dld.sl refuses to
11040 # link against other versions.
11041 version_type=sunos
11042 need_lib_prefix=no
11043 need_version=no
11044 case $host_cpu in
11045 ia64*)
11046 shrext_cmds='.so'
11047 hardcode_into_libs=yes
11048 dynamic_linker="$host_os dld.so"
11049 shlibpath_var=LD_LIBRARY_PATH
11050 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11051 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11052 soname_spec='${libname}${release}${shared_ext}$major'
11053 if test "X$HPUX_IA64_MODE" = X32; then
11054 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11055 else
11056 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11057 fi
11058 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11059 ;;
11060 hppa*64*)
11061 shrext_cmds='.sl'
11062 hardcode_into_libs=yes
11063 dynamic_linker="$host_os dld.sl"
11064 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11065 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11066 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11067 soname_spec='${libname}${release}${shared_ext}$major'
11068 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11069 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11070 ;;
11071 *)
11072 shrext_cmds='.sl'
11073 dynamic_linker="$host_os dld.sl"
11074 shlibpath_var=SHLIB_PATH
11075 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11076 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11077 soname_spec='${libname}${release}${shared_ext}$major'
11078 ;;
11079 esac
11080 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11081 postinstall_cmds='chmod 555 $lib'
11082 # or fails outright, so override atomically:
11083 install_override_mode=555
11084 ;;
11085
11086 interix[3-9]*)
11087 version_type=linux
11088 need_lib_prefix=no
11089 need_version=no
11090 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11091 soname_spec='${libname}${release}${shared_ext}$major'
11092 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11093 shlibpath_var=LD_LIBRARY_PATH
11094 shlibpath_overrides_runpath=no
11095 hardcode_into_libs=yes
11096 ;;
11097
11098 irix5* | irix6* | nonstopux*)
11099 case $host_os in
11100 nonstopux*) version_type=nonstopux ;;
11101 *)
11102 if test "$lt_cv_prog_gnu_ld" = yes; then
11103 version_type=linux
11104 else
11105 version_type=irix
11106 fi ;;
11107 esac
11108 need_lib_prefix=no
11109 need_version=no
11110 soname_spec='${libname}${release}${shared_ext}$major'
11111 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11112 case $host_os in
11113 irix5* | nonstopux*)
11114 libsuff= shlibsuff=
11115 ;;
11116 *)
11117 case $LD in # libtool.m4 will add one of these switches to LD
11118 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11119 libsuff= shlibsuff= libmagic=32-bit;;
11120 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11121 libsuff=32 shlibsuff=N32 libmagic=N32;;
11122 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11123 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11124 *) libsuff= shlibsuff= libmagic=never-match;;
11125 esac
11126 ;;
11127 esac
11128 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11129 shlibpath_overrides_runpath=no
11130 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11131 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11132 hardcode_into_libs=yes
11133 ;;
11134
11135 # No shared lib support for Linux oldld, aout, or coff.
11136 linux*oldld* | linux*aout* | linux*coff*)
11137 dynamic_linker=no
11138 ;;
11139
11140 # This must be Linux ELF.
11141 linux* | k*bsd*-gnu | kopensolaris*-gnu)
11142 version_type=linux
11143 need_lib_prefix=no
11144 need_version=no
11145 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11146 soname_spec='${libname}${release}${shared_ext}$major'
11147 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11148 shlibpath_var=LD_LIBRARY_PATH
11149 shlibpath_overrides_runpath=no
11150
11151 # Some binutils ld are patched to set DT_RUNPATH
11152 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11153 $as_echo_n "(cached) " >&6
11154 else
11155 lt_cv_shlibpath_overrides_runpath=no
11156 save_LDFLAGS=$LDFLAGS
11157 save_libdir=$libdir
11158 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11159 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11160 if test x$gcc_no_link = xyes; then
11161 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11162 fi
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11165
11166 int
11167 main ()
11168 {
11169
11170 ;
11171 return 0;
11172 }
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11176 lt_cv_shlibpath_overrides_runpath=yes
11177 fi
11178 fi
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LDFLAGS=$save_LDFLAGS
11182 libdir=$save_libdir
11183
11184 fi
11185
11186 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11187
11188 # This implies no fast_install, which is unacceptable.
11189 # Some rework will be needed to allow for fast_install
11190 # before this can be enabled.
11191 hardcode_into_libs=yes
11192
11193 # Append ld.so.conf contents to the search path
11194 if test -f /etc/ld.so.conf; then
11195 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' ' '`
11196 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11197 fi
11198
11199 # We used to test for /lib/ld.so.1 and disable shared libraries on
11200 # powerpc, because MkLinux only supported shared libraries with the
11201 # GNU dynamic linker. Since this was broken with cross compilers,
11202 # most powerpc-linux boxes support dynamic linking these days and
11203 # people can always --disable-shared, the test was removed, and we
11204 # assume the GNU/Linux dynamic linker is in use.
11205 dynamic_linker='GNU/Linux ld.so'
11206 ;;
11207
11208 netbsd*)
11209 version_type=sunos
11210 need_lib_prefix=no
11211 need_version=no
11212 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11213 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11214 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11215 dynamic_linker='NetBSD (a.out) ld.so'
11216 else
11217 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11218 soname_spec='${libname}${release}${shared_ext}$major'
11219 dynamic_linker='NetBSD ld.elf_so'
11220 fi
11221 shlibpath_var=LD_LIBRARY_PATH
11222 shlibpath_overrides_runpath=yes
11223 hardcode_into_libs=yes
11224 ;;
11225
11226 newsos6)
11227 version_type=linux
11228 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11229 shlibpath_var=LD_LIBRARY_PATH
11230 shlibpath_overrides_runpath=yes
11231 ;;
11232
11233 *nto* | *qnx*)
11234 version_type=qnx
11235 need_lib_prefix=no
11236 need_version=no
11237 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11238 soname_spec='${libname}${release}${shared_ext}$major'
11239 shlibpath_var=LD_LIBRARY_PATH
11240 shlibpath_overrides_runpath=no
11241 hardcode_into_libs=yes
11242 dynamic_linker='ldqnx.so'
11243 ;;
11244
11245 openbsd*)
11246 version_type=sunos
11247 sys_lib_dlsearch_path_spec="/usr/lib"
11248 need_lib_prefix=no
11249 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11250 case $host_os in
11251 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11252 *) need_version=no ;;
11253 esac
11254 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11255 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11256 shlibpath_var=LD_LIBRARY_PATH
11257 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11258 case $host_os in
11259 openbsd2.[89] | openbsd2.[89].*)
11260 shlibpath_overrides_runpath=no
11261 ;;
11262 *)
11263 shlibpath_overrides_runpath=yes
11264 ;;
11265 esac
11266 else
11267 shlibpath_overrides_runpath=yes
11268 fi
11269 ;;
11270
11271 os2*)
11272 libname_spec='$name'
11273 shrext_cmds=".dll"
11274 need_lib_prefix=no
11275 library_names_spec='$libname${shared_ext} $libname.a'
11276 dynamic_linker='OS/2 ld.exe'
11277 shlibpath_var=LIBPATH
11278 ;;
11279
11280 osf3* | osf4* | osf5*)
11281 version_type=osf
11282 need_lib_prefix=no
11283 need_version=no
11284 soname_spec='${libname}${release}${shared_ext}$major'
11285 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11286 shlibpath_var=LD_LIBRARY_PATH
11287 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11288 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11289 ;;
11290
11291 rdos*)
11292 dynamic_linker=no
11293 ;;
11294
11295 solaris*)
11296 version_type=linux
11297 need_lib_prefix=no
11298 need_version=no
11299 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11300 soname_spec='${libname}${release}${shared_ext}$major'
11301 shlibpath_var=LD_LIBRARY_PATH
11302 shlibpath_overrides_runpath=yes
11303 hardcode_into_libs=yes
11304 # ldd complains unless libraries are executable
11305 postinstall_cmds='chmod +x $lib'
11306 ;;
11307
11308 sunos4*)
11309 version_type=sunos
11310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11311 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11312 shlibpath_var=LD_LIBRARY_PATH
11313 shlibpath_overrides_runpath=yes
11314 if test "$with_gnu_ld" = yes; then
11315 need_lib_prefix=no
11316 fi
11317 need_version=yes
11318 ;;
11319
11320 sysv4 | sysv4.3*)
11321 version_type=linux
11322 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11323 soname_spec='${libname}${release}${shared_ext}$major'
11324 shlibpath_var=LD_LIBRARY_PATH
11325 case $host_vendor in
11326 sni)
11327 shlibpath_overrides_runpath=no
11328 need_lib_prefix=no
11329 runpath_var=LD_RUN_PATH
11330 ;;
11331 siemens)
11332 need_lib_prefix=no
11333 ;;
11334 motorola)
11335 need_lib_prefix=no
11336 need_version=no
11337 shlibpath_overrides_runpath=no
11338 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11339 ;;
11340 esac
11341 ;;
11342
11343 sysv4*MP*)
11344 if test -d /usr/nec ;then
11345 version_type=linux
11346 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11347 soname_spec='$libname${shared_ext}.$major'
11348 shlibpath_var=LD_LIBRARY_PATH
11349 fi
11350 ;;
11351
11352 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11353 version_type=freebsd-elf
11354 need_lib_prefix=no
11355 need_version=no
11356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11357 soname_spec='${libname}${release}${shared_ext}$major'
11358 shlibpath_var=LD_LIBRARY_PATH
11359 shlibpath_overrides_runpath=yes
11360 hardcode_into_libs=yes
11361 if test "$with_gnu_ld" = yes; then
11362 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11363 else
11364 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11365 case $host_os in
11366 sco3.2v5*)
11367 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11368 ;;
11369 esac
11370 fi
11371 sys_lib_dlsearch_path_spec='/usr/lib'
11372 ;;
11373
11374 tpf*)
11375 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11376 version_type=linux
11377 need_lib_prefix=no
11378 need_version=no
11379 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11380 shlibpath_var=LD_LIBRARY_PATH
11381 shlibpath_overrides_runpath=no
11382 hardcode_into_libs=yes
11383 ;;
11384
11385 uts4*)
11386 version_type=linux
11387 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11388 soname_spec='${libname}${release}${shared_ext}$major'
11389 shlibpath_var=LD_LIBRARY_PATH
11390 ;;
11391
11392 *)
11393 dynamic_linker=no
11394 ;;
11395 esac
11396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11397 $as_echo "$dynamic_linker" >&6; }
11398 test "$dynamic_linker" = no && can_build_shared=no
11399
11400 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11401 if test "$GCC" = yes; then
11402 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11403 fi
11404
11405 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11406 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11407 fi
11408 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11409 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11410 fi
11411
11412
11413
11414
11415
11416
11417
11418
11419
11420
11421
11422
11423
11424
11425
11426
11427
11428
11429
11430
11431
11432
11433
11434
11435
11436
11437
11438
11439
11440
11441
11442
11443
11444
11445
11446
11447
11448
11449
11450
11451
11452
11453
11454
11455
11456
11457
11458
11459
11460
11461
11462
11463
11464
11465
11466
11467
11468
11469
11470
11471
11472
11473
11474
11475
11476
11477
11478
11479
11480
11481
11482
11483
11484
11485
11486
11487
11488
11489
11490
11491
11492
11493
11494
11495
11496
11497
11498
11499
11500
11501
11502
11503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11504 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11505 hardcode_action=
11506 if test -n "$hardcode_libdir_flag_spec" ||
11507 test -n "$runpath_var" ||
11508 test "X$hardcode_automatic" = "Xyes" ; then
11509
11510 # We can hardcode non-existent directories.
11511 if test "$hardcode_direct" != no &&
11512 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11513 # have to relink, otherwise we might link with an installed library
11514 # when we should be linking with a yet-to-be-installed one
11515 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11516 test "$hardcode_minus_L" != no; then
11517 # Linking always hardcodes the temporary library directory.
11518 hardcode_action=relink
11519 else
11520 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11521 hardcode_action=immediate
11522 fi
11523 else
11524 # We cannot hardcode anything, or else we can only hardcode existing
11525 # directories.
11526 hardcode_action=unsupported
11527 fi
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11529 $as_echo "$hardcode_action" >&6; }
11530
11531 if test "$hardcode_action" = relink ||
11532 test "$inherit_rpath" = yes; then
11533 # Fast installation is not supported
11534 enable_fast_install=no
11535 elif test "$shlibpath_overrides_runpath" = yes ||
11536 test "$enable_shared" = no; then
11537 # Fast installation is not necessary
11538 enable_fast_install=needless
11539 fi
11540
11541
11542
11543
11544
11545
11546 if test "x$enable_dlopen" != xyes; then
11547 enable_dlopen=unknown
11548 enable_dlopen_self=unknown
11549 enable_dlopen_self_static=unknown
11550 else
11551 lt_cv_dlopen=no
11552 lt_cv_dlopen_libs=
11553
11554 case $host_os in
11555 beos*)
11556 lt_cv_dlopen="load_add_on"
11557 lt_cv_dlopen_libs=
11558 lt_cv_dlopen_self=yes
11559 ;;
11560
11561 mingw* | pw32* | cegcc*)
11562 lt_cv_dlopen="LoadLibrary"
11563 lt_cv_dlopen_libs=
11564 ;;
11565
11566 cygwin*)
11567 lt_cv_dlopen="dlopen"
11568 lt_cv_dlopen_libs=
11569 ;;
11570
11571 darwin*)
11572 # if libdl is installed we need to link against it
11573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11574 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11575 if ${ac_cv_lib_dl_dlopen+:} false; then :
11576 $as_echo_n "(cached) " >&6
11577 else
11578 ac_check_lib_save_LIBS=$LIBS
11579 LIBS="-ldl $LIBS"
11580 if test x$gcc_no_link = xyes; then
11581 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11582 fi
11583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11584 /* end confdefs.h. */
11585
11586 /* Override any GCC internal prototype to avoid an error.
11587 Use char because int might match the return type of a GCC
11588 builtin and then its argument prototype would still apply. */
11589 #ifdef __cplusplus
11590 extern "C"
11591 #endif
11592 char dlopen ();
11593 int
11594 main ()
11595 {
11596 return dlopen ();
11597 ;
11598 return 0;
11599 }
11600 _ACEOF
11601 if ac_fn_c_try_link "$LINENO"; then :
11602 ac_cv_lib_dl_dlopen=yes
11603 else
11604 ac_cv_lib_dl_dlopen=no
11605 fi
11606 rm -f core conftest.err conftest.$ac_objext \
11607 conftest$ac_exeext conftest.$ac_ext
11608 LIBS=$ac_check_lib_save_LIBS
11609 fi
11610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11611 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11612 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11613 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11614 else
11615
11616 lt_cv_dlopen="dyld"
11617 lt_cv_dlopen_libs=
11618 lt_cv_dlopen_self=yes
11619
11620 fi
11621
11622 ;;
11623
11624 *)
11625 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11626 if test "x$ac_cv_func_shl_load" = xyes; then :
11627 lt_cv_dlopen="shl_load"
11628 else
11629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11630 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11631 if ${ac_cv_lib_dld_shl_load+:} false; then :
11632 $as_echo_n "(cached) " >&6
11633 else
11634 ac_check_lib_save_LIBS=$LIBS
11635 LIBS="-ldld $LIBS"
11636 if test x$gcc_no_link = xyes; then
11637 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11638 fi
11639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11640 /* end confdefs.h. */
11641
11642 /* Override any GCC internal prototype to avoid an error.
11643 Use char because int might match the return type of a GCC
11644 builtin and then its argument prototype would still apply. */
11645 #ifdef __cplusplus
11646 extern "C"
11647 #endif
11648 char shl_load ();
11649 int
11650 main ()
11651 {
11652 return shl_load ();
11653 ;
11654 return 0;
11655 }
11656 _ACEOF
11657 if ac_fn_c_try_link "$LINENO"; then :
11658 ac_cv_lib_dld_shl_load=yes
11659 else
11660 ac_cv_lib_dld_shl_load=no
11661 fi
11662 rm -f core conftest.err conftest.$ac_objext \
11663 conftest$ac_exeext conftest.$ac_ext
11664 LIBS=$ac_check_lib_save_LIBS
11665 fi
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11667 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11668 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11669 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11670 else
11671 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11672 if test "x$ac_cv_func_dlopen" = xyes; then :
11673 lt_cv_dlopen="dlopen"
11674 else
11675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11676 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11677 if ${ac_cv_lib_dl_dlopen+:} false; then :
11678 $as_echo_n "(cached) " >&6
11679 else
11680 ac_check_lib_save_LIBS=$LIBS
11681 LIBS="-ldl $LIBS"
11682 if test x$gcc_no_link = xyes; then
11683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11684 fi
11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11687
11688 /* Override any GCC internal prototype to avoid an error.
11689 Use char because int might match the return type of a GCC
11690 builtin and then its argument prototype would still apply. */
11691 #ifdef __cplusplus
11692 extern "C"
11693 #endif
11694 char dlopen ();
11695 int
11696 main ()
11697 {
11698 return dlopen ();
11699 ;
11700 return 0;
11701 }
11702 _ACEOF
11703 if ac_fn_c_try_link "$LINENO"; then :
11704 ac_cv_lib_dl_dlopen=yes
11705 else
11706 ac_cv_lib_dl_dlopen=no
11707 fi
11708 rm -f core conftest.err conftest.$ac_objext \
11709 conftest$ac_exeext conftest.$ac_ext
11710 LIBS=$ac_check_lib_save_LIBS
11711 fi
11712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11713 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11714 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11715 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11716 else
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
11718 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
11719 if ${ac_cv_lib_svld_dlopen+:} false; then :
11720 $as_echo_n "(cached) " >&6
11721 else
11722 ac_check_lib_save_LIBS=$LIBS
11723 LIBS="-lsvld $LIBS"
11724 if test x$gcc_no_link = xyes; then
11725 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11726 fi
11727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11728 /* end confdefs.h. */
11729
11730 /* Override any GCC internal prototype to avoid an error.
11731 Use char because int might match the return type of a GCC
11732 builtin and then its argument prototype would still apply. */
11733 #ifdef __cplusplus
11734 extern "C"
11735 #endif
11736 char dlopen ();
11737 int
11738 main ()
11739 {
11740 return dlopen ();
11741 ;
11742 return 0;
11743 }
11744 _ACEOF
11745 if ac_fn_c_try_link "$LINENO"; then :
11746 ac_cv_lib_svld_dlopen=yes
11747 else
11748 ac_cv_lib_svld_dlopen=no
11749 fi
11750 rm -f core conftest.err conftest.$ac_objext \
11751 conftest$ac_exeext conftest.$ac_ext
11752 LIBS=$ac_check_lib_save_LIBS
11753 fi
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
11755 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
11756 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
11757 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
11758 else
11759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
11760 $as_echo_n "checking for dld_link in -ldld... " >&6; }
11761 if ${ac_cv_lib_dld_dld_link+:} false; then :
11762 $as_echo_n "(cached) " >&6
11763 else
11764 ac_check_lib_save_LIBS=$LIBS
11765 LIBS="-ldld $LIBS"
11766 if test x$gcc_no_link = xyes; then
11767 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11768 fi
11769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11770 /* end confdefs.h. */
11771
11772 /* Override any GCC internal prototype to avoid an error.
11773 Use char because int might match the return type of a GCC
11774 builtin and then its argument prototype would still apply. */
11775 #ifdef __cplusplus
11776 extern "C"
11777 #endif
11778 char dld_link ();
11779 int
11780 main ()
11781 {
11782 return dld_link ();
11783 ;
11784 return 0;
11785 }
11786 _ACEOF
11787 if ac_fn_c_try_link "$LINENO"; then :
11788 ac_cv_lib_dld_dld_link=yes
11789 else
11790 ac_cv_lib_dld_dld_link=no
11791 fi
11792 rm -f core conftest.err conftest.$ac_objext \
11793 conftest$ac_exeext conftest.$ac_ext
11794 LIBS=$ac_check_lib_save_LIBS
11795 fi
11796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
11797 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
11798 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
11799 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
11800 fi
11801
11802
11803 fi
11804
11805
11806 fi
11807
11808
11809 fi
11810
11811
11812 fi
11813
11814
11815 fi
11816
11817 ;;
11818 esac
11819
11820 if test "x$lt_cv_dlopen" != xno; then
11821 enable_dlopen=yes
11822 else
11823 enable_dlopen=no
11824 fi
11825
11826 case $lt_cv_dlopen in
11827 dlopen)
11828 save_CPPFLAGS="$CPPFLAGS"
11829 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
11830
11831 save_LDFLAGS="$LDFLAGS"
11832 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
11833
11834 save_LIBS="$LIBS"
11835 LIBS="$lt_cv_dlopen_libs $LIBS"
11836
11837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
11838 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
11839 if ${lt_cv_dlopen_self+:} false; then :
11840 $as_echo_n "(cached) " >&6
11841 else
11842 if test "$cross_compiling" = yes; then :
11843 lt_cv_dlopen_self=cross
11844 else
11845 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11846 lt_status=$lt_dlunknown
11847 cat > conftest.$ac_ext <<_LT_EOF
11848 #line 11848 "configure"
11849 #include "confdefs.h"
11850
11851 #if HAVE_DLFCN_H
11852 #include <dlfcn.h>
11853 #endif
11854
11855 #include <stdio.h>
11856
11857 #ifdef RTLD_GLOBAL
11858 # define LT_DLGLOBAL RTLD_GLOBAL
11859 #else
11860 # ifdef DL_GLOBAL
11861 # define LT_DLGLOBAL DL_GLOBAL
11862 # else
11863 # define LT_DLGLOBAL 0
11864 # endif
11865 #endif
11866
11867 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11868 find out it does not work in some platform. */
11869 #ifndef LT_DLLAZY_OR_NOW
11870 # ifdef RTLD_LAZY
11871 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11872 # else
11873 # ifdef DL_LAZY
11874 # define LT_DLLAZY_OR_NOW DL_LAZY
11875 # else
11876 # ifdef RTLD_NOW
11877 # define LT_DLLAZY_OR_NOW RTLD_NOW
11878 # else
11879 # ifdef DL_NOW
11880 # define LT_DLLAZY_OR_NOW DL_NOW
11881 # else
11882 # define LT_DLLAZY_OR_NOW 0
11883 # endif
11884 # endif
11885 # endif
11886 # endif
11887 #endif
11888
11889 /* When -fvisbility=hidden is used, assume the code has been annotated
11890 correspondingly for the symbols needed. */
11891 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11892 void fnord () __attribute__((visibility("default")));
11893 #endif
11894
11895 void fnord () { int i=42; }
11896 int main ()
11897 {
11898 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
11899 int status = $lt_dlunknown;
11900
11901 if (self)
11902 {
11903 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
11904 else
11905 {
11906 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
11907 else puts (dlerror ());
11908 }
11909 /* dlclose (self); */
11910 }
11911 else
11912 puts (dlerror ());
11913
11914 return status;
11915 }
11916 _LT_EOF
11917 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
11918 (eval $ac_link) 2>&5
11919 ac_status=$?
11920 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
11921 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
11922 (./conftest; exit; ) >&5 2>/dev/null
11923 lt_status=$?
11924 case x$lt_status in
11925 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
11926 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
11927 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
11928 esac
11929 else :
11930 # compilation failed
11931 lt_cv_dlopen_self=no
11932 fi
11933 fi
11934 rm -fr conftest*
11935
11936
11937 fi
11938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
11939 $as_echo "$lt_cv_dlopen_self" >&6; }
11940
11941 if test "x$lt_cv_dlopen_self" = xyes; then
11942 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
11943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
11944 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
11945 if ${lt_cv_dlopen_self_static+:} false; then :
11946 $as_echo_n "(cached) " >&6
11947 else
11948 if test "$cross_compiling" = yes; then :
11949 lt_cv_dlopen_self_static=cross
11950 else
11951 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
11952 lt_status=$lt_dlunknown
11953 cat > conftest.$ac_ext <<_LT_EOF
11954 #line 11954 "configure"
11955 #include "confdefs.h"
11956
11957 #if HAVE_DLFCN_H
11958 #include <dlfcn.h>
11959 #endif
11960
11961 #include <stdio.h>
11962
11963 #ifdef RTLD_GLOBAL
11964 # define LT_DLGLOBAL RTLD_GLOBAL
11965 #else
11966 # ifdef DL_GLOBAL
11967 # define LT_DLGLOBAL DL_GLOBAL
11968 # else
11969 # define LT_DLGLOBAL 0
11970 # endif
11971 #endif
11972
11973 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
11974 find out it does not work in some platform. */
11975 #ifndef LT_DLLAZY_OR_NOW
11976 # ifdef RTLD_LAZY
11977 # define LT_DLLAZY_OR_NOW RTLD_LAZY
11978 # else
11979 # ifdef DL_LAZY
11980 # define LT_DLLAZY_OR_NOW DL_LAZY
11981 # else
11982 # ifdef RTLD_NOW
11983 # define LT_DLLAZY_OR_NOW RTLD_NOW
11984 # else
11985 # ifdef DL_NOW
11986 # define LT_DLLAZY_OR_NOW DL_NOW
11987 # else
11988 # define LT_DLLAZY_OR_NOW 0
11989 # endif
11990 # endif
11991 # endif
11992 # endif
11993 #endif
11994
11995 /* When -fvisbility=hidden is used, assume the code has been annotated
11996 correspondingly for the symbols needed. */
11997 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
11998 void fnord () __attribute__((visibility("default")));
11999 #endif
12000
12001 void fnord () { int i=42; }
12002 int main ()
12003 {
12004 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12005 int status = $lt_dlunknown;
12006
12007 if (self)
12008 {
12009 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12010 else
12011 {
12012 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12013 else puts (dlerror ());
12014 }
12015 /* dlclose (self); */
12016 }
12017 else
12018 puts (dlerror ());
12019
12020 return status;
12021 }
12022 _LT_EOF
12023 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12024 (eval $ac_link) 2>&5
12025 ac_status=$?
12026 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12027 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12028 (./conftest; exit; ) >&5 2>/dev/null
12029 lt_status=$?
12030 case x$lt_status in
12031 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12032 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12033 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12034 esac
12035 else :
12036 # compilation failed
12037 lt_cv_dlopen_self_static=no
12038 fi
12039 fi
12040 rm -fr conftest*
12041
12042
12043 fi
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12045 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12046 fi
12047
12048 CPPFLAGS="$save_CPPFLAGS"
12049 LDFLAGS="$save_LDFLAGS"
12050 LIBS="$save_LIBS"
12051 ;;
12052 esac
12053
12054 case $lt_cv_dlopen_self in
12055 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12056 *) enable_dlopen_self=unknown ;;
12057 esac
12058
12059 case $lt_cv_dlopen_self_static in
12060 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12061 *) enable_dlopen_self_static=unknown ;;
12062 esac
12063 fi
12064
12065
12066
12067
12068
12069
12070
12071
12072
12073
12074
12075
12076
12077
12078
12079
12080
12081 striplib=
12082 old_striplib=
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12084 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12085 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12086 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12087 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12089 $as_echo "yes" >&6; }
12090 else
12091 # FIXME - insert some real tests, host_os isn't really good enough
12092 case $host_os in
12093 darwin*)
12094 if test -n "$STRIP" ; then
12095 striplib="$STRIP -x"
12096 old_striplib="$STRIP -S"
12097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12098 $as_echo "yes" >&6; }
12099 else
12100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12101 $as_echo "no" >&6; }
12102 fi
12103 ;;
12104 *)
12105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12106 $as_echo "no" >&6; }
12107 ;;
12108 esac
12109 fi
12110
12111
12112
12113
12114
12115
12116
12117
12118
12119
12120
12121
12122 # Report which library types will actually be built
12123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12124 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12126 $as_echo "$can_build_shared" >&6; }
12127
12128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12129 $as_echo_n "checking whether to build shared libraries... " >&6; }
12130 test "$can_build_shared" = "no" && enable_shared=no
12131
12132 # On AIX, shared libraries and static libraries use the same namespace, and
12133 # are all built from PIC.
12134 case $host_os in
12135 aix3*)
12136 test "$enable_shared" = yes && enable_static=no
12137 if test -n "$RANLIB"; then
12138 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12139 postinstall_cmds='$RANLIB $lib'
12140 fi
12141 ;;
12142
12143 aix[4-9]*)
12144 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12145 test "$enable_shared" = yes && enable_static=no
12146 fi
12147 ;;
12148 esac
12149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12150 $as_echo "$enable_shared" >&6; }
12151
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12153 $as_echo_n "checking whether to build static libraries... " >&6; }
12154 # Make sure either enable_shared or enable_static is yes.
12155 test "$enable_shared" = yes || enable_static=yes
12156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12157 $as_echo "$enable_static" >&6; }
12158
12159
12160
12161
12162 fi
12163 ac_ext=c
12164 ac_cpp='$CPP $CPPFLAGS'
12165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12168
12169 CC="$lt_save_CC"
12170
12171 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12172 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12173 (test "X$CXX" != "Xg++"))) ; then
12174 ac_ext=cpp
12175 ac_cpp='$CXXCPP $CPPFLAGS'
12176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12180 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12181 if test -z "$CXXCPP"; then
12182 if ${ac_cv_prog_CXXCPP+:} false; then :
12183 $as_echo_n "(cached) " >&6
12184 else
12185 # Double quotes because CXXCPP needs to be expanded
12186 for CXXCPP in "$CXX -E" "/lib/cpp"
12187 do
12188 ac_preproc_ok=false
12189 for ac_cxx_preproc_warn_flag in '' yes
12190 do
12191 # Use a header file that comes with gcc, so configuring glibc
12192 # with a fresh cross-compiler works.
12193 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12194 # <limits.h> exists even on freestanding compilers.
12195 # On the NeXT, cc -E runs the code through the compiler's parser,
12196 # not just through cpp. "Syntax error" is here to catch this case.
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12199 #ifdef __STDC__
12200 # include <limits.h>
12201 #else
12202 # include <assert.h>
12203 #endif
12204 Syntax error
12205 _ACEOF
12206 if ac_fn_cxx_try_cpp "$LINENO"; then :
12207
12208 else
12209 # Broken: fails on valid input.
12210 continue
12211 fi
12212 rm -f conftest.err conftest.i conftest.$ac_ext
12213
12214 # OK, works on sane cases. Now check whether nonexistent headers
12215 # can be detected and how.
12216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12217 /* end confdefs.h. */
12218 #include <ac_nonexistent.h>
12219 _ACEOF
12220 if ac_fn_cxx_try_cpp "$LINENO"; then :
12221 # Broken: success on invalid input.
12222 continue
12223 else
12224 # Passes both tests.
12225 ac_preproc_ok=:
12226 break
12227 fi
12228 rm -f conftest.err conftest.i conftest.$ac_ext
12229
12230 done
12231 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12232 rm -f conftest.i conftest.err conftest.$ac_ext
12233 if $ac_preproc_ok; then :
12234 break
12235 fi
12236
12237 done
12238 ac_cv_prog_CXXCPP=$CXXCPP
12239
12240 fi
12241 CXXCPP=$ac_cv_prog_CXXCPP
12242 else
12243 ac_cv_prog_CXXCPP=$CXXCPP
12244 fi
12245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12246 $as_echo "$CXXCPP" >&6; }
12247 ac_preproc_ok=false
12248 for ac_cxx_preproc_warn_flag in '' yes
12249 do
12250 # Use a header file that comes with gcc, so configuring glibc
12251 # with a fresh cross-compiler works.
12252 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12253 # <limits.h> exists even on freestanding compilers.
12254 # On the NeXT, cc -E runs the code through the compiler's parser,
12255 # not just through cpp. "Syntax error" is here to catch this case.
12256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12257 /* end confdefs.h. */
12258 #ifdef __STDC__
12259 # include <limits.h>
12260 #else
12261 # include <assert.h>
12262 #endif
12263 Syntax error
12264 _ACEOF
12265 if ac_fn_cxx_try_cpp "$LINENO"; then :
12266
12267 else
12268 # Broken: fails on valid input.
12269 continue
12270 fi
12271 rm -f conftest.err conftest.i conftest.$ac_ext
12272
12273 # OK, works on sane cases. Now check whether nonexistent headers
12274 # can be detected and how.
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12277 #include <ac_nonexistent.h>
12278 _ACEOF
12279 if ac_fn_cxx_try_cpp "$LINENO"; then :
12280 # Broken: success on invalid input.
12281 continue
12282 else
12283 # Passes both tests.
12284 ac_preproc_ok=:
12285 break
12286 fi
12287 rm -f conftest.err conftest.i conftest.$ac_ext
12288
12289 done
12290 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12291 rm -f conftest.i conftest.err conftest.$ac_ext
12292 if $ac_preproc_ok; then :
12293
12294 else
12295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12297 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12298 See \`config.log' for more details" "$LINENO" 5; }
12299 fi
12300
12301 ac_ext=c
12302 ac_cpp='$CPP $CPPFLAGS'
12303 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12304 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12305 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12306
12307 else
12308 _lt_caught_CXX_error=yes
12309 fi
12310
12311 ac_ext=cpp
12312 ac_cpp='$CXXCPP $CPPFLAGS'
12313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12316
12317 archive_cmds_need_lc_CXX=no
12318 allow_undefined_flag_CXX=
12319 always_export_symbols_CXX=no
12320 archive_expsym_cmds_CXX=
12321 compiler_needs_object_CXX=no
12322 export_dynamic_flag_spec_CXX=
12323 hardcode_direct_CXX=no
12324 hardcode_direct_absolute_CXX=no
12325 hardcode_libdir_flag_spec_CXX=
12326 hardcode_libdir_flag_spec_ld_CXX=
12327 hardcode_libdir_separator_CXX=
12328 hardcode_minus_L_CXX=no
12329 hardcode_shlibpath_var_CXX=unsupported
12330 hardcode_automatic_CXX=no
12331 inherit_rpath_CXX=no
12332 module_cmds_CXX=
12333 module_expsym_cmds_CXX=
12334 link_all_deplibs_CXX=unknown
12335 old_archive_cmds_CXX=$old_archive_cmds
12336 reload_flag_CXX=$reload_flag
12337 reload_cmds_CXX=$reload_cmds
12338 no_undefined_flag_CXX=
12339 whole_archive_flag_spec_CXX=
12340 enable_shared_with_static_runtimes_CXX=no
12341
12342 # Source file extension for C++ test sources.
12343 ac_ext=cpp
12344
12345 # Object file extension for compiled C++ test sources.
12346 objext=o
12347 objext_CXX=$objext
12348
12349 # No sense in running all these tests if we already determined that
12350 # the CXX compiler isn't working. Some variables (like enable_shared)
12351 # are currently assumed to apply to all compilers on this platform,
12352 # and will be corrupted by setting them based on a non-working compiler.
12353 if test "$_lt_caught_CXX_error" != yes; then
12354 # Code to be used in simple compile tests
12355 lt_simple_compile_test_code="int some_variable = 0;"
12356
12357 # Code to be used in simple link tests
12358 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12359
12360 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12361
12362
12363
12364
12365
12366
12367 # If no C compiler was specified, use CC.
12368 LTCC=${LTCC-"$CC"}
12369
12370 # If no C compiler flags were specified, use CFLAGS.
12371 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12372
12373 # Allow CC to be a program name with arguments.
12374 compiler=$CC
12375
12376
12377 # save warnings/boilerplate of simple test code
12378 ac_outfile=conftest.$ac_objext
12379 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12380 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12381 _lt_compiler_boilerplate=`cat conftest.err`
12382 $RM conftest*
12383
12384 ac_outfile=conftest.$ac_objext
12385 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12386 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12387 _lt_linker_boilerplate=`cat conftest.err`
12388 $RM -r conftest*
12389
12390
12391 # Allow CC to be a program name with arguments.
12392 lt_save_CC=$CC
12393 lt_save_LD=$LD
12394 lt_save_GCC=$GCC
12395 GCC=$GXX
12396 lt_save_with_gnu_ld=$with_gnu_ld
12397 lt_save_path_LD=$lt_cv_path_LD
12398 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12399 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12400 else
12401 $as_unset lt_cv_prog_gnu_ld
12402 fi
12403 if test -n "${lt_cv_path_LDCXX+set}"; then
12404 lt_cv_path_LD=$lt_cv_path_LDCXX
12405 else
12406 $as_unset lt_cv_path_LD
12407 fi
12408 test -z "${LDCXX+set}" || LD=$LDCXX
12409 CC=${CXX-"c++"}
12410 compiler=$CC
12411 compiler_CXX=$CC
12412 for cc_temp in $compiler""; do
12413 case $cc_temp in
12414 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12415 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12416 \-*) ;;
12417 *) break;;
12418 esac
12419 done
12420 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12421
12422
12423 if test -n "$compiler"; then
12424 # We don't want -fno-exception when compiling C++ code, so set the
12425 # no_builtin_flag separately
12426 if test "$GXX" = yes; then
12427 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12428 else
12429 lt_prog_compiler_no_builtin_flag_CXX=
12430 fi
12431
12432 if test "$GXX" = yes; then
12433 # Set up default GNU C++ configuration
12434
12435
12436
12437 # Check whether --with-gnu-ld was given.
12438 if test "${with_gnu_ld+set}" = set; then :
12439 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12440 else
12441 with_gnu_ld=no
12442 fi
12443
12444 ac_prog=ld
12445 if test "$GCC" = yes; then
12446 # Check if gcc -print-prog-name=ld gives a path.
12447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12448 $as_echo_n "checking for ld used by $CC... " >&6; }
12449 case $host in
12450 *-*-mingw*)
12451 # gcc leaves a trailing carriage return which upsets mingw
12452 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12453 *)
12454 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12455 esac
12456 case $ac_prog in
12457 # Accept absolute paths.
12458 [\\/]* | ?:[\\/]*)
12459 re_direlt='/[^/][^/]*/\.\./'
12460 # Canonicalize the pathname of ld
12461 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12462 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12463 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12464 done
12465 test -z "$LD" && LD="$ac_prog"
12466 ;;
12467 "")
12468 # If it fails, then pretend we aren't using GCC.
12469 ac_prog=ld
12470 ;;
12471 *)
12472 # If it is relative, then search for the first ld in PATH.
12473 with_gnu_ld=unknown
12474 ;;
12475 esac
12476 elif test "$with_gnu_ld" = yes; then
12477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12478 $as_echo_n "checking for GNU ld... " >&6; }
12479 else
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12481 $as_echo_n "checking for non-GNU ld... " >&6; }
12482 fi
12483 if ${lt_cv_path_LD+:} false; then :
12484 $as_echo_n "(cached) " >&6
12485 else
12486 if test -z "$LD"; then
12487 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12488 for ac_dir in $PATH; do
12489 IFS="$lt_save_ifs"
12490 test -z "$ac_dir" && ac_dir=.
12491 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12492 lt_cv_path_LD="$ac_dir/$ac_prog"
12493 # Check to see if the program is GNU ld. I'd rather use --version,
12494 # but apparently some variants of GNU ld only accept -v.
12495 # Break only if it was the GNU/non-GNU ld that we prefer.
12496 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12497 *GNU* | *'with BFD'*)
12498 test "$with_gnu_ld" != no && break
12499 ;;
12500 *)
12501 test "$with_gnu_ld" != yes && break
12502 ;;
12503 esac
12504 fi
12505 done
12506 IFS="$lt_save_ifs"
12507 else
12508 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12509 fi
12510 fi
12511
12512 LD="$lt_cv_path_LD"
12513 if test -n "$LD"; then
12514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12515 $as_echo "$LD" >&6; }
12516 else
12517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12518 $as_echo "no" >&6; }
12519 fi
12520 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12522 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12523 if ${lt_cv_prog_gnu_ld+:} false; then :
12524 $as_echo_n "(cached) " >&6
12525 else
12526 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12527 case `$LD -v 2>&1 </dev/null` in
12528 *GNU* | *'with BFD'*)
12529 lt_cv_prog_gnu_ld=yes
12530 ;;
12531 *)
12532 lt_cv_prog_gnu_ld=no
12533 ;;
12534 esac
12535 fi
12536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12537 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12538 with_gnu_ld=$lt_cv_prog_gnu_ld
12539
12540
12541
12542
12543
12544
12545
12546 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12547 # archiving commands below assume that GNU ld is being used.
12548 if test "$with_gnu_ld" = yes; then
12549 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12550 archive_expsym_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
12551
12552 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12553 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12554
12555 # If archive_cmds runs LD, not CC, wlarc should be empty
12556 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12557 # investigate it a little bit more. (MM)
12558 wlarc='${wl}'
12559
12560 # ancient GNU ld didn't support --whole-archive et. al.
12561 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12562 $GREP 'no-whole-archive' > /dev/null; then
12563 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12564 else
12565 whole_archive_flag_spec_CXX=
12566 fi
12567 else
12568 with_gnu_ld=no
12569 wlarc=
12570
12571 # A generic and very simple default shared library creation
12572 # command for GNU C++ for the case where it uses the native
12573 # linker, instead of GNU ld. If possible, this setting should
12574 # overridden to take advantage of the native linker features on
12575 # the platform it is being used on.
12576 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12577 fi
12578
12579 # Commands to make compiler produce verbose output that lists
12580 # what "hidden" libraries, object files and flags are used when
12581 # linking a shared library.
12582 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12583
12584 else
12585 GXX=no
12586 with_gnu_ld=no
12587 wlarc=
12588 fi
12589
12590 # PORTME: fill in a description of your system's C++ link characteristics
12591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12592 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12593 ld_shlibs_CXX=yes
12594 case $host_os in
12595 aix3*)
12596 # FIXME: insert proper C++ library support
12597 ld_shlibs_CXX=no
12598 ;;
12599 aix[4-9]*)
12600 if test "$host_cpu" = ia64; then
12601 # On IA64, the linker does run time linking by default, so we don't
12602 # have to do anything special.
12603 aix_use_runtimelinking=no
12604 exp_sym_flag='-Bexport'
12605 no_entry_flag=""
12606 else
12607 aix_use_runtimelinking=no
12608
12609 # Test if we are trying to use run time linking or normal
12610 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12611 # need to do runtime linking.
12612 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12613 for ld_flag in $LDFLAGS; do
12614 case $ld_flag in
12615 *-brtl*)
12616 aix_use_runtimelinking=yes
12617 break
12618 ;;
12619 esac
12620 done
12621 ;;
12622 esac
12623
12624 exp_sym_flag='-bexport'
12625 no_entry_flag='-bnoentry'
12626 fi
12627
12628 # When large executables or shared objects are built, AIX ld can
12629 # have problems creating the table of contents. If linking a library
12630 # or program results in "error TOC overflow" add -mminimal-toc to
12631 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12632 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12633
12634 archive_cmds_CXX=''
12635 hardcode_direct_CXX=yes
12636 hardcode_direct_absolute_CXX=yes
12637 hardcode_libdir_separator_CXX=':'
12638 link_all_deplibs_CXX=yes
12639 file_list_spec_CXX='${wl}-f,'
12640
12641 if test "$GXX" = yes; then
12642 case $host_os in aix4.[012]|aix4.[012].*)
12643 # We only want to do this on AIX 4.2 and lower, the check
12644 # below for broken collect2 doesn't work under 4.3+
12645 collect2name=`${CC} -print-prog-name=collect2`
12646 if test -f "$collect2name" &&
12647 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12648 then
12649 # We have reworked collect2
12650 :
12651 else
12652 # We have old collect2
12653 hardcode_direct_CXX=unsupported
12654 # It fails to find uninstalled libraries when the uninstalled
12655 # path is not listed in the libpath. Setting hardcode_minus_L
12656 # to unsupported forces relinking
12657 hardcode_minus_L_CXX=yes
12658 hardcode_libdir_flag_spec_CXX='-L$libdir'
12659 hardcode_libdir_separator_CXX=
12660 fi
12661 esac
12662 shared_flag='-shared'
12663 if test "$aix_use_runtimelinking" = yes; then
12664 shared_flag="$shared_flag "'${wl}-G'
12665 fi
12666 else
12667 # not using gcc
12668 if test "$host_cpu" = ia64; then
12669 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12670 # chokes on -Wl,-G. The following line is correct:
12671 shared_flag='-G'
12672 else
12673 if test "$aix_use_runtimelinking" = yes; then
12674 shared_flag='${wl}-G'
12675 else
12676 shared_flag='${wl}-bM:SRE'
12677 fi
12678 fi
12679 fi
12680
12681 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12682 # It seems that -bexpall does not export symbols beginning with
12683 # underscore (_), so it is better to generate a list of symbols to
12684 # export.
12685 always_export_symbols_CXX=yes
12686 if test "$aix_use_runtimelinking" = yes; then
12687 # Warning - without using the other runtime loading flags (-brtl),
12688 # -berok will link without error, but may produce a broken library.
12689 allow_undefined_flag_CXX='-berok'
12690 # Determine the default libpath from the value encoded in an empty
12691 # executable.
12692 if test x$gcc_no_link = xyes; then
12693 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12694 fi
12695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12696 /* end confdefs.h. */
12697
12698 int
12699 main ()
12700 {
12701
12702 ;
12703 return 0;
12704 }
12705 _ACEOF
12706 if ac_fn_cxx_try_link "$LINENO"; then :
12707
12708 lt_aix_libpath_sed='
12709 /Import File Strings/,/^$/ {
12710 /^0/ {
12711 s/^0 *\(.*\)$/\1/
12712 p
12713 }
12714 }'
12715 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12716 # Check for a 64-bit object if we didn't find anything.
12717 if test -z "$aix_libpath"; then
12718 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12719 fi
12720 fi
12721 rm -f core conftest.err conftest.$ac_objext \
12722 conftest$ac_exeext conftest.$ac_ext
12723 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12724
12725 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12726
12727 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"
12728 else
12729 if test "$host_cpu" = ia64; then
12730 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
12731 allow_undefined_flag_CXX="-z nodefs"
12732 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"
12733 else
12734 # Determine the default libpath from the value encoded in an
12735 # empty executable.
12736 if test x$gcc_no_link = xyes; then
12737 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12738 fi
12739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12740 /* end confdefs.h. */
12741
12742 int
12743 main ()
12744 {
12745
12746 ;
12747 return 0;
12748 }
12749 _ACEOF
12750 if ac_fn_cxx_try_link "$LINENO"; then :
12751
12752 lt_aix_libpath_sed='
12753 /Import File Strings/,/^$/ {
12754 /^0/ {
12755 s/^0 *\(.*\)$/\1/
12756 p
12757 }
12758 }'
12759 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12760 # Check for a 64-bit object if we didn't find anything.
12761 if test -z "$aix_libpath"; then
12762 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
12763 fi
12764 fi
12765 rm -f core conftest.err conftest.$ac_objext \
12766 conftest$ac_exeext conftest.$ac_ext
12767 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
12768
12769 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
12770 # Warning - without using the other run time loading flags,
12771 # -berok will link without error, but may produce a broken library.
12772 no_undefined_flag_CXX=' ${wl}-bernotok'
12773 allow_undefined_flag_CXX=' ${wl}-berok'
12774 if test "$with_gnu_ld" = yes; then
12775 # We only use this code for GNU lds that support --whole-archive.
12776 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
12777 else
12778 # Exported symbols can be pulled into shared objects from archives
12779 whole_archive_flag_spec_CXX='$convenience'
12780 fi
12781 archive_cmds_need_lc_CXX=yes
12782 # This is similar to how AIX traditionally builds its shared
12783 # libraries.
12784 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'
12785 fi
12786 fi
12787 ;;
12788
12789 beos*)
12790 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
12791 allow_undefined_flag_CXX=unsupported
12792 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
12793 # support --undefined. This deserves some investigation. FIXME
12794 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12795 else
12796 ld_shlibs_CXX=no
12797 fi
12798 ;;
12799
12800 chorus*)
12801 case $cc_basename in
12802 *)
12803 # FIXME: insert proper C++ library support
12804 ld_shlibs_CXX=no
12805 ;;
12806 esac
12807 ;;
12808
12809 cygwin* | mingw* | pw32* | cegcc*)
12810 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
12811 # as there is no search path for DLLs.
12812 hardcode_libdir_flag_spec_CXX='-L$libdir'
12813 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
12814 allow_undefined_flag_CXX=unsupported
12815 always_export_symbols_CXX=no
12816 enable_shared_with_static_runtimes_CXX=yes
12817
12818 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
12819 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'
12820 # If the export-symbols file already is a .def file (1st line
12821 # is EXPORTS), use it as is; otherwise, prepend...
12822 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
12823 cp $export_symbols $output_objdir/$soname.def;
12824 else
12825 echo EXPORTS > $output_objdir/$soname.def;
12826 cat $export_symbols >> $output_objdir/$soname.def;
12827 fi~
12828 $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'
12829 else
12830 ld_shlibs_CXX=no
12831 fi
12832 ;;
12833 darwin* | rhapsody*)
12834
12835
12836 archive_cmds_need_lc_CXX=no
12837 hardcode_direct_CXX=no
12838 hardcode_automatic_CXX=yes
12839 hardcode_shlibpath_var_CXX=unsupported
12840 if test "$lt_cv_ld_force_load" = "yes"; then
12841 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\"`'
12842 else
12843 whole_archive_flag_spec_CXX=''
12844 fi
12845 link_all_deplibs_CXX=yes
12846 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
12847 case $cc_basename in
12848 ifort*) _lt_dar_can_shared=yes ;;
12849 *) _lt_dar_can_shared=$GCC ;;
12850 esac
12851 if test "$_lt_dar_can_shared" = "yes"; then
12852 output_verbose_link_cmd=func_echo_all
12853 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}"
12854 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
12855 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}"
12856 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}"
12857 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
12858 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}"
12859 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}"
12860 fi
12861
12862 else
12863 ld_shlibs_CXX=no
12864 fi
12865
12866 ;;
12867
12868 dgux*)
12869 case $cc_basename in
12870 ec++*)
12871 # FIXME: insert proper C++ library support
12872 ld_shlibs_CXX=no
12873 ;;
12874 ghcx*)
12875 # Green Hills C++ Compiler
12876 # FIXME: insert proper C++ library support
12877 ld_shlibs_CXX=no
12878 ;;
12879 *)
12880 # FIXME: insert proper C++ library support
12881 ld_shlibs_CXX=no
12882 ;;
12883 esac
12884 ;;
12885
12886 freebsd2.*)
12887 # C++ shared libraries reported to be fairly broken before
12888 # switch to ELF
12889 ld_shlibs_CXX=no
12890 ;;
12891
12892 freebsd-elf*)
12893 archive_cmds_need_lc_CXX=no
12894 ;;
12895
12896 freebsd* | dragonfly*)
12897 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
12898 # conventions
12899 ld_shlibs_CXX=yes
12900 ;;
12901
12902 gnu*)
12903 ;;
12904
12905 haiku*)
12906 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
12907 link_all_deplibs_CXX=yes
12908 ;;
12909
12910 hpux9*)
12911 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12912 hardcode_libdir_separator_CXX=:
12913 export_dynamic_flag_spec_CXX='${wl}-E'
12914 hardcode_direct_CXX=yes
12915 hardcode_minus_L_CXX=yes # Not in the search PATH,
12916 # but as the default
12917 # location of the library.
12918
12919 case $cc_basename in
12920 CC*)
12921 # FIXME: insert proper C++ library support
12922 ld_shlibs_CXX=no
12923 ;;
12924 aCC*)
12925 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'
12926 # Commands to make compiler produce verbose output that lists
12927 # what "hidden" libraries, object files and flags are used when
12928 # linking a shared library.
12929 #
12930 # There doesn't appear to be a way to prevent this compiler from
12931 # explicitly linking system object files so we need to strip them
12932 # from the output so that they don't get included in the library
12933 # dependencies.
12934 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"'
12935 ;;
12936 *)
12937 if test "$GXX" = yes; then
12938 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'
12939 else
12940 # FIXME: insert proper C++ library support
12941 ld_shlibs_CXX=no
12942 fi
12943 ;;
12944 esac
12945 ;;
12946
12947 hpux10*|hpux11*)
12948 if test $with_gnu_ld = no; then
12949 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
12950 hardcode_libdir_separator_CXX=:
12951
12952 case $host_cpu in
12953 hppa*64*|ia64*)
12954 ;;
12955 *)
12956 export_dynamic_flag_spec_CXX='${wl}-E'
12957 ;;
12958 esac
12959 fi
12960 case $host_cpu in
12961 hppa*64*|ia64*)
12962 hardcode_direct_CXX=no
12963 hardcode_shlibpath_var_CXX=no
12964 ;;
12965 *)
12966 hardcode_direct_CXX=yes
12967 hardcode_direct_absolute_CXX=yes
12968 hardcode_minus_L_CXX=yes # Not in the search PATH,
12969 # but as the default
12970 # location of the library.
12971 ;;
12972 esac
12973
12974 case $cc_basename in
12975 CC*)
12976 # FIXME: insert proper C++ library support
12977 ld_shlibs_CXX=no
12978 ;;
12979 aCC*)
12980 case $host_cpu in
12981 hppa*64*)
12982 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12983 ;;
12984 ia64*)
12985 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12986 ;;
12987 *)
12988 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
12989 ;;
12990 esac
12991 # Commands to make compiler produce verbose output that lists
12992 # what "hidden" libraries, object files and flags are used when
12993 # linking a shared library.
12994 #
12995 # There doesn't appear to be a way to prevent this compiler from
12996 # explicitly linking system object files so we need to strip them
12997 # from the output so that they don't get included in the library
12998 # dependencies.
12999 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"'
13000 ;;
13001 *)
13002 if test "$GXX" = yes; then
13003 if test $with_gnu_ld = no; then
13004 case $host_cpu in
13005 hppa*64*)
13006 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13007 ;;
13008 ia64*)
13009 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13010 ;;
13011 *)
13012 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'
13013 ;;
13014 esac
13015 fi
13016 else
13017 # FIXME: insert proper C++ library support
13018 ld_shlibs_CXX=no
13019 fi
13020 ;;
13021 esac
13022 ;;
13023
13024 interix[3-9]*)
13025 hardcode_direct_CXX=no
13026 hardcode_shlibpath_var_CXX=no
13027 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13028 export_dynamic_flag_spec_CXX='${wl}-E'
13029 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13030 # Instead, shared libraries are loaded at an image base (0x10000000 by
13031 # default) and relocated if they conflict, which is a slow very memory
13032 # consuming and fragmenting process. To avoid this, we pick a random,
13033 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13034 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13035 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'
13036 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'
13037 ;;
13038 irix5* | irix6*)
13039 case $cc_basename in
13040 CC*)
13041 # SGI C++
13042 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'
13043
13044 # Archives containing C++ object files must be created using
13045 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13046 # necessary to make sure instantiated templates are included
13047 # in the archive.
13048 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13049 ;;
13050 *)
13051 if test "$GXX" = yes; then
13052 if test "$with_gnu_ld" = no; then
13053 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'
13054 else
13055 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'
13056 fi
13057 fi
13058 link_all_deplibs_CXX=yes
13059 ;;
13060 esac
13061 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13062 hardcode_libdir_separator_CXX=:
13063 inherit_rpath_CXX=yes
13064 ;;
13065
13066 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13067 case $cc_basename in
13068 KCC*)
13069 # Kuck and Associates, Inc. (KAI) C++ Compiler
13070
13071 # KCC will only create a shared library if the output file
13072 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13073 # to its proper name (with version) after linking.
13074 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'
13075 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'
13076 # Commands to make compiler produce verbose output that lists
13077 # what "hidden" libraries, object files and flags are used when
13078 # linking a shared library.
13079 #
13080 # There doesn't appear to be a way to prevent this compiler from
13081 # explicitly linking system object files so we need to strip them
13082 # from the output so that they don't get included in the library
13083 # dependencies.
13084 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"'
13085
13086 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13087 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13088
13089 # Archives containing C++ object files must be created using
13090 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13091 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13092 ;;
13093 icpc* | ecpc* )
13094 # Intel C++
13095 with_gnu_ld=yes
13096 # version 8.0 and above of icpc choke on multiply defined symbols
13097 # if we add $predep_objects and $postdep_objects, however 7.1 and
13098 # earlier do not add the objects themselves.
13099 case `$CC -V 2>&1` in
13100 *"Version 7."*)
13101 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13102 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'
13103 ;;
13104 *) # Version 8.0 or newer
13105 tmp_idyn=
13106 case $host_cpu in
13107 ia64*) tmp_idyn=' -i_dynamic';;
13108 esac
13109 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13110 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'
13111 ;;
13112 esac
13113 archive_cmds_need_lc_CXX=no
13114 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13115 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13116 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13117 ;;
13118 pgCC* | pgcpp*)
13119 # Portland Group C++ compiler
13120 case `$CC -V` in
13121 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13122 prelink_cmds_CXX='tpldir=Template.dir~
13123 rm -rf $tpldir~
13124 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13125 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13126 old_archive_cmds_CXX='tpldir=Template.dir~
13127 rm -rf $tpldir~
13128 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13129 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13130 $RANLIB $oldlib'
13131 archive_cmds_CXX='tpldir=Template.dir~
13132 rm -rf $tpldir~
13133 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13134 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13135 archive_expsym_cmds_CXX='tpldir=Template.dir~
13136 rm -rf $tpldir~
13137 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13138 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname ${wl}-retain-symbols-file ${wl}$export_symbols -o $lib'
13139 ;;
13140 *) # Version 6 and above use weak symbols
13141 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13142 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'
13143 ;;
13144 esac
13145
13146 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13147 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13148 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'
13149 ;;
13150 cxx*)
13151 # Compaq C++
13152 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13153 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'
13154
13155 runpath_var=LD_RUN_PATH
13156 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13157 hardcode_libdir_separator_CXX=:
13158
13159 # Commands to make compiler produce verbose output that lists
13160 # what "hidden" libraries, object files and flags are used when
13161 # linking a shared library.
13162 #
13163 # There doesn't appear to be a way to prevent this compiler from
13164 # explicitly linking system object files so we need to strip them
13165 # from the output so that they don't get included in the library
13166 # dependencies.
13167 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'
13168 ;;
13169 xl* | mpixl* | bgxl*)
13170 # IBM XL 8.0 on PPC, with GNU ld
13171 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13172 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13173 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13174 if test "x$supports_anon_versioning" = xyes; then
13175 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13176 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13177 echo "local: *; };" >> $output_objdir/$libname.ver~
13178 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13179 fi
13180 ;;
13181 *)
13182 case `$CC -V 2>&1 | sed 5q` in
13183 *Sun\ C*)
13184 # Sun C++ 5.9
13185 no_undefined_flag_CXX=' -zdefs'
13186 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13187 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'
13188 hardcode_libdir_flag_spec_CXX='-R$libdir'
13189 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'
13190 compiler_needs_object_CXX=yes
13191
13192 # Not sure whether something based on
13193 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13194 # would be better.
13195 output_verbose_link_cmd='func_echo_all'
13196
13197 # Archives containing C++ object files must be created using
13198 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13199 # necessary to make sure instantiated templates are included
13200 # in the archive.
13201 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13202 ;;
13203 esac
13204 ;;
13205 esac
13206 ;;
13207
13208 lynxos*)
13209 # FIXME: insert proper C++ library support
13210 ld_shlibs_CXX=no
13211 ;;
13212
13213 m88k*)
13214 # FIXME: insert proper C++ library support
13215 ld_shlibs_CXX=no
13216 ;;
13217
13218 mvs*)
13219 case $cc_basename in
13220 cxx*)
13221 # FIXME: insert proper C++ library support
13222 ld_shlibs_CXX=no
13223 ;;
13224 *)
13225 # FIXME: insert proper C++ library support
13226 ld_shlibs_CXX=no
13227 ;;
13228 esac
13229 ;;
13230
13231 netbsd*)
13232 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13233 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13234 wlarc=
13235 hardcode_libdir_flag_spec_CXX='-R$libdir'
13236 hardcode_direct_CXX=yes
13237 hardcode_shlibpath_var_CXX=no
13238 fi
13239 # Workaround some broken pre-1.5 toolchains
13240 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13241 ;;
13242
13243 *nto* | *qnx*)
13244 ld_shlibs_CXX=yes
13245 ;;
13246
13247 openbsd2*)
13248 # C++ shared libraries are fairly broken
13249 ld_shlibs_CXX=no
13250 ;;
13251
13252 openbsd*)
13253 if test -f /usr/libexec/ld.so; then
13254 hardcode_direct_CXX=yes
13255 hardcode_shlibpath_var_CXX=no
13256 hardcode_direct_absolute_CXX=yes
13257 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13258 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13259 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13260 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13261 export_dynamic_flag_spec_CXX='${wl}-E'
13262 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13263 fi
13264 output_verbose_link_cmd=func_echo_all
13265 else
13266 ld_shlibs_CXX=no
13267 fi
13268 ;;
13269
13270 osf3* | osf4* | osf5*)
13271 case $cc_basename in
13272 KCC*)
13273 # Kuck and Associates, Inc. (KAI) C++ Compiler
13274
13275 # KCC will only create a shared library if the output file
13276 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13277 # to its proper name (with version) after linking.
13278 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'
13279
13280 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13281 hardcode_libdir_separator_CXX=:
13282
13283 # Archives containing C++ object files must be created using
13284 # the KAI C++ compiler.
13285 case $host in
13286 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13287 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13288 esac
13289 ;;
13290 RCC*)
13291 # Rational C++ 2.4.1
13292 # FIXME: insert proper C++ library support
13293 ld_shlibs_CXX=no
13294 ;;
13295 cxx*)
13296 case $host in
13297 osf3*)
13298 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13299 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'
13300 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13301 ;;
13302 *)
13303 allow_undefined_flag_CXX=' -expect_unresolved \*'
13304 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'
13305 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13306 echo "-hidden">> $lib.exp~
13307 $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~
13308 $RM $lib.exp'
13309 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13310 ;;
13311 esac
13312
13313 hardcode_libdir_separator_CXX=:
13314
13315 # Commands to make compiler produce verbose output that lists
13316 # what "hidden" libraries, object files and flags are used when
13317 # linking a shared library.
13318 #
13319 # There doesn't appear to be a way to prevent this compiler from
13320 # explicitly linking system object files so we need to strip them
13321 # from the output so that they don't get included in the library
13322 # dependencies.
13323 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"'
13324 ;;
13325 *)
13326 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13327 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13328 case $host in
13329 osf3*)
13330 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'
13331 ;;
13332 *)
13333 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'
13334 ;;
13335 esac
13336
13337 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13338 hardcode_libdir_separator_CXX=:
13339
13340 # Commands to make compiler produce verbose output that lists
13341 # what "hidden" libraries, object files and flags are used when
13342 # linking a shared library.
13343 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13344
13345 else
13346 # FIXME: insert proper C++ library support
13347 ld_shlibs_CXX=no
13348 fi
13349 ;;
13350 esac
13351 ;;
13352
13353 psos*)
13354 # FIXME: insert proper C++ library support
13355 ld_shlibs_CXX=no
13356 ;;
13357
13358 sunos4*)
13359 case $cc_basename in
13360 CC*)
13361 # Sun C++ 4.x
13362 # FIXME: insert proper C++ library support
13363 ld_shlibs_CXX=no
13364 ;;
13365 lcc*)
13366 # Lucid
13367 # FIXME: insert proper C++ library support
13368 ld_shlibs_CXX=no
13369 ;;
13370 *)
13371 # FIXME: insert proper C++ library support
13372 ld_shlibs_CXX=no
13373 ;;
13374 esac
13375 ;;
13376
13377 solaris*)
13378 case $cc_basename in
13379 CC*)
13380 # Sun C++ 4.2, 5.x and Centerline C++
13381 archive_cmds_need_lc_CXX=yes
13382 no_undefined_flag_CXX=' -zdefs'
13383 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13384 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13385 $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'
13386
13387 hardcode_libdir_flag_spec_CXX='-R$libdir'
13388 hardcode_shlibpath_var_CXX=no
13389 case $host_os in
13390 solaris2.[0-5] | solaris2.[0-5].*) ;;
13391 *)
13392 # The compiler driver will combine and reorder linker options,
13393 # but understands `-z linker_flag'.
13394 # Supported since Solaris 2.6 (maybe 2.5.1?)
13395 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13396 ;;
13397 esac
13398 link_all_deplibs_CXX=yes
13399
13400 output_verbose_link_cmd='func_echo_all'
13401
13402 # Archives containing C++ object files must be created using
13403 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13404 # necessary to make sure instantiated templates are included
13405 # in the archive.
13406 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13407 ;;
13408 gcx*)
13409 # Green Hills C++ Compiler
13410 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13411
13412 # The C++ compiler must be used to create the archive.
13413 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13414 ;;
13415 *)
13416 # GNU C++ compiler with Solaris linker
13417 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13418 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13419 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13420 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13421 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13422 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13423
13424 # Commands to make compiler produce verbose output that lists
13425 # what "hidden" libraries, object files and flags are used when
13426 # linking a shared library.
13427 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13428 else
13429 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13430 # platform.
13431 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13432 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13433 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13434
13435 # Commands to make compiler produce verbose output that lists
13436 # what "hidden" libraries, object files and flags are used when
13437 # linking a shared library.
13438 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13439 fi
13440
13441 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13442 case $host_os in
13443 solaris2.[0-5] | solaris2.[0-5].*) ;;
13444 *)
13445 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13446 ;;
13447 esac
13448 fi
13449 ;;
13450 esac
13451 ;;
13452
13453 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13454 no_undefined_flag_CXX='${wl}-z,text'
13455 archive_cmds_need_lc_CXX=no
13456 hardcode_shlibpath_var_CXX=no
13457 runpath_var='LD_RUN_PATH'
13458
13459 case $cc_basename in
13460 CC*)
13461 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13462 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13463 ;;
13464 *)
13465 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13466 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13467 ;;
13468 esac
13469 ;;
13470
13471 sysv5* | sco3.2v5* | sco5v6*)
13472 # Note: We can NOT use -z defs as we might desire, because we do not
13473 # link with -lc, and that would cause any symbols used from libc to
13474 # always be unresolved, which means just about no library would
13475 # ever link correctly. If we're not using GNU ld we use -z text
13476 # though, which does catch some bad symbols but isn't as heavy-handed
13477 # as -z defs.
13478 no_undefined_flag_CXX='${wl}-z,text'
13479 allow_undefined_flag_CXX='${wl}-z,nodefs'
13480 archive_cmds_need_lc_CXX=no
13481 hardcode_shlibpath_var_CXX=no
13482 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13483 hardcode_libdir_separator_CXX=':'
13484 link_all_deplibs_CXX=yes
13485 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13486 runpath_var='LD_RUN_PATH'
13487
13488 case $cc_basename in
13489 CC*)
13490 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13491 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13492 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13493 '"$old_archive_cmds_CXX"
13494 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13495 '"$reload_cmds_CXX"
13496 ;;
13497 *)
13498 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13499 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13500 ;;
13501 esac
13502 ;;
13503
13504 tandem*)
13505 case $cc_basename in
13506 NCC*)
13507 # NonStop-UX NCC 3.20
13508 # FIXME: insert proper C++ library support
13509 ld_shlibs_CXX=no
13510 ;;
13511 *)
13512 # FIXME: insert proper C++ library support
13513 ld_shlibs_CXX=no
13514 ;;
13515 esac
13516 ;;
13517
13518 vxworks*)
13519 # FIXME: insert proper C++ library support
13520 ld_shlibs_CXX=no
13521 ;;
13522
13523 *)
13524 # FIXME: insert proper C++ library support
13525 ld_shlibs_CXX=no
13526 ;;
13527 esac
13528
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13530 $as_echo "$ld_shlibs_CXX" >&6; }
13531 test "$ld_shlibs_CXX" = no && can_build_shared=no
13532
13533 GCC_CXX="$GXX"
13534 LD_CXX="$LD"
13535
13536 ## CAVEAT EMPTOR:
13537 ## There is no encapsulation within the following macros, do not change
13538 ## the running order or otherwise move them around unless you know exactly
13539 ## what you are doing...
13540 # Dependencies to place before and after the object being linked:
13541 predep_objects_CXX=
13542 postdep_objects_CXX=
13543 predeps_CXX=
13544 postdeps_CXX=
13545 compiler_lib_search_path_CXX=
13546
13547 cat > conftest.$ac_ext <<_LT_EOF
13548 class Foo
13549 {
13550 public:
13551 Foo (void) { a = 0; }
13552 private:
13553 int a;
13554 };
13555 _LT_EOF
13556
13557 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13558 (eval $ac_compile) 2>&5
13559 ac_status=$?
13560 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13561 test $ac_status = 0; }; then
13562 # Parse the compiler output and extract the necessary
13563 # objects, libraries and library flags.
13564
13565 # Sentinel used to keep track of whether or not we are before
13566 # the conftest object file.
13567 pre_test_object_deps_done=no
13568
13569 for p in `eval "$output_verbose_link_cmd"`; do
13570 case $p in
13571
13572 -L* | -R* | -l*)
13573 # Some compilers place space between "-{L,R}" and the path.
13574 # Remove the space.
13575 if test $p = "-L" ||
13576 test $p = "-R"; then
13577 prev=$p
13578 continue
13579 else
13580 prev=
13581 fi
13582
13583 if test "$pre_test_object_deps_done" = no; then
13584 case $p in
13585 -L* | -R*)
13586 # Internal compiler library paths should come after those
13587 # provided the user. The postdeps already come after the
13588 # user supplied libs so there is no need to process them.
13589 if test -z "$compiler_lib_search_path_CXX"; then
13590 compiler_lib_search_path_CXX="${prev}${p}"
13591 else
13592 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13593 fi
13594 ;;
13595 # The "-l" case would never come before the object being
13596 # linked, so don't bother handling this case.
13597 esac
13598 else
13599 if test -z "$postdeps_CXX"; then
13600 postdeps_CXX="${prev}${p}"
13601 else
13602 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13603 fi
13604 fi
13605 ;;
13606
13607 *.$objext)
13608 # This assumes that the test object file only shows up
13609 # once in the compiler output.
13610 if test "$p" = "conftest.$objext"; then
13611 pre_test_object_deps_done=yes
13612 continue
13613 fi
13614
13615 if test "$pre_test_object_deps_done" = no; then
13616 if test -z "$predep_objects_CXX"; then
13617 predep_objects_CXX="$p"
13618 else
13619 predep_objects_CXX="$predep_objects_CXX $p"
13620 fi
13621 else
13622 if test -z "$postdep_objects_CXX"; then
13623 postdep_objects_CXX="$p"
13624 else
13625 postdep_objects_CXX="$postdep_objects_CXX $p"
13626 fi
13627 fi
13628 ;;
13629
13630 *) ;; # Ignore the rest.
13631
13632 esac
13633 done
13634
13635 # Clean up.
13636 rm -f a.out a.exe
13637 else
13638 echo "libtool.m4: error: problem compiling CXX test program"
13639 fi
13640
13641 $RM -f confest.$objext
13642
13643 # PORTME: override above test on systems where it is broken
13644 case $host_os in
13645 interix[3-9]*)
13646 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13647 # hack all around it, let's just trust "g++" to DTRT.
13648 predep_objects_CXX=
13649 postdep_objects_CXX=
13650 postdeps_CXX=
13651 ;;
13652
13653 linux*)
13654 case `$CC -V 2>&1 | sed 5q` in
13655 *Sun\ C*)
13656 # Sun C++ 5.9
13657
13658 # The more standards-conforming stlport4 library is
13659 # incompatible with the Cstd library. Avoid specifying
13660 # it if it's in CXXFLAGS. Ignore libCrun as
13661 # -library=stlport4 depends on it.
13662 case " $CXX $CXXFLAGS " in
13663 *" -library=stlport4 "*)
13664 solaris_use_stlport4=yes
13665 ;;
13666 esac
13667
13668 if test "$solaris_use_stlport4" != yes; then
13669 postdeps_CXX='-library=Cstd -library=Crun'
13670 fi
13671 ;;
13672 esac
13673 ;;
13674
13675 solaris*)
13676 case $cc_basename in
13677 CC*)
13678 # The more standards-conforming stlport4 library is
13679 # incompatible with the Cstd library. Avoid specifying
13680 # it if it's in CXXFLAGS. Ignore libCrun as
13681 # -library=stlport4 depends on it.
13682 case " $CXX $CXXFLAGS " in
13683 *" -library=stlport4 "*)
13684 solaris_use_stlport4=yes
13685 ;;
13686 esac
13687
13688 # Adding this requires a known-good setup of shared libraries for
13689 # Sun compiler versions before 5.6, else PIC objects from an old
13690 # archive will be linked into the output, leading to subtle bugs.
13691 if test "$solaris_use_stlport4" != yes; then
13692 postdeps_CXX='-library=Cstd -library=Crun'
13693 fi
13694 ;;
13695 esac
13696 ;;
13697 esac
13698
13699
13700 case " $postdeps_CXX " in
13701 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13702 esac
13703 compiler_lib_search_dirs_CXX=
13704 if test -n "${compiler_lib_search_path_CXX}"; then
13705 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13706 fi
13707
13708
13709
13710
13711
13712
13713
13714
13715
13716
13717
13718
13719
13720
13721
13722
13723
13724
13725
13726
13727
13728
13729
13730
13731
13732
13733
13734
13735
13736
13737
13738 lt_prog_compiler_wl_CXX=
13739 lt_prog_compiler_pic_CXX=
13740 lt_prog_compiler_static_CXX=
13741
13742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
13743 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
13744
13745 # C++ specific cases for pic, static, wl, etc.
13746 if test "$GXX" = yes; then
13747 lt_prog_compiler_wl_CXX='-Wl,'
13748 lt_prog_compiler_static_CXX='-static'
13749
13750 case $host_os in
13751 aix*)
13752 # All AIX code is PIC.
13753 if test "$host_cpu" = ia64; then
13754 # AIX 5 now supports IA64 processor
13755 lt_prog_compiler_static_CXX='-Bstatic'
13756 fi
13757 lt_prog_compiler_pic_CXX='-fPIC'
13758 ;;
13759
13760 amigaos*)
13761 case $host_cpu in
13762 powerpc)
13763 # see comment about AmigaOS4 .so support
13764 lt_prog_compiler_pic_CXX='-fPIC'
13765 ;;
13766 m68k)
13767 # FIXME: we need at least 68020 code to build shared libraries, but
13768 # adding the `-m68020' flag to GCC prevents building anything better,
13769 # like `-m68040'.
13770 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
13771 ;;
13772 esac
13773 ;;
13774
13775 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
13776 # PIC is the default for these OSes.
13777 ;;
13778 mingw* | cygwin* | os2* | pw32* | cegcc*)
13779 # This hack is so that the source file can tell whether it is being
13780 # built for inclusion in a dll (and should export symbols for example).
13781 # Although the cygwin gcc ignores -fPIC, still need this for old-style
13782 # (--disable-auto-import) libraries
13783 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
13784 ;;
13785 darwin* | rhapsody*)
13786 # PIC is the default on this platform
13787 # Common symbols not allowed in MH_DYLIB files
13788 lt_prog_compiler_pic_CXX='-fno-common'
13789 ;;
13790 *djgpp*)
13791 # DJGPP does not support shared libraries at all
13792 lt_prog_compiler_pic_CXX=
13793 ;;
13794 haiku*)
13795 # PIC is the default for Haiku.
13796 # The "-static" flag exists, but is broken.
13797 lt_prog_compiler_static_CXX=
13798 ;;
13799 interix[3-9]*)
13800 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
13801 # Instead, we relocate shared libraries at runtime.
13802 ;;
13803 sysv4*MP*)
13804 if test -d /usr/nec; then
13805 lt_prog_compiler_pic_CXX=-Kconform_pic
13806 fi
13807 ;;
13808 hpux*)
13809 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
13810 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
13811 # sets the default TLS model and affects inlining.
13812 case $host_cpu in
13813 hppa*64*)
13814 ;;
13815 *)
13816 lt_prog_compiler_pic_CXX='-fPIC'
13817 ;;
13818 esac
13819 ;;
13820 *qnx* | *nto*)
13821 # QNX uses GNU C++, but need to define -shared option too, otherwise
13822 # it will coredump.
13823 lt_prog_compiler_pic_CXX='-fPIC -shared'
13824 ;;
13825 *)
13826 lt_prog_compiler_pic_CXX='-fPIC'
13827 ;;
13828 esac
13829 else
13830 case $host_os in
13831 aix[4-9]*)
13832 # All AIX code is PIC.
13833 if test "$host_cpu" = ia64; then
13834 # AIX 5 now supports IA64 processor
13835 lt_prog_compiler_static_CXX='-Bstatic'
13836 else
13837 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
13838 fi
13839 ;;
13840 chorus*)
13841 case $cc_basename in
13842 cxch68*)
13843 # Green Hills C++ Compiler
13844 # _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"
13845 ;;
13846 esac
13847 ;;
13848 dgux*)
13849 case $cc_basename in
13850 ec++*)
13851 lt_prog_compiler_pic_CXX='-KPIC'
13852 ;;
13853 ghcx*)
13854 # Green Hills C++ Compiler
13855 lt_prog_compiler_pic_CXX='-pic'
13856 ;;
13857 *)
13858 ;;
13859 esac
13860 ;;
13861 freebsd* | dragonfly*)
13862 # FreeBSD uses GNU C++
13863 ;;
13864 hpux9* | hpux10* | hpux11*)
13865 case $cc_basename in
13866 CC*)
13867 lt_prog_compiler_wl_CXX='-Wl,'
13868 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13869 if test "$host_cpu" != ia64; then
13870 lt_prog_compiler_pic_CXX='+Z'
13871 fi
13872 ;;
13873 aCC*)
13874 lt_prog_compiler_wl_CXX='-Wl,'
13875 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
13876 case $host_cpu in
13877 hppa*64*|ia64*)
13878 # +Z the default
13879 ;;
13880 *)
13881 lt_prog_compiler_pic_CXX='+Z'
13882 ;;
13883 esac
13884 ;;
13885 *)
13886 ;;
13887 esac
13888 ;;
13889 interix*)
13890 # This is c89, which is MS Visual C++ (no shared libs)
13891 # Anyone wants to do a port?
13892 ;;
13893 irix5* | irix6* | nonstopux*)
13894 case $cc_basename in
13895 CC*)
13896 lt_prog_compiler_wl_CXX='-Wl,'
13897 lt_prog_compiler_static_CXX='-non_shared'
13898 # CC pic flag -KPIC is the default.
13899 ;;
13900 *)
13901 ;;
13902 esac
13903 ;;
13904 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13905 case $cc_basename in
13906 KCC*)
13907 # KAI C++ Compiler
13908 lt_prog_compiler_wl_CXX='--backend -Wl,'
13909 lt_prog_compiler_pic_CXX='-fPIC'
13910 ;;
13911 ecpc* )
13912 # old Intel C++ for x86_64 which still supported -KPIC.
13913 lt_prog_compiler_wl_CXX='-Wl,'
13914 lt_prog_compiler_pic_CXX='-KPIC'
13915 lt_prog_compiler_static_CXX='-static'
13916 ;;
13917 icpc* )
13918 # Intel C++, used to be incompatible with GCC.
13919 # ICC 10 doesn't accept -KPIC any more.
13920 lt_prog_compiler_wl_CXX='-Wl,'
13921 lt_prog_compiler_pic_CXX='-fPIC'
13922 lt_prog_compiler_static_CXX='-static'
13923 ;;
13924 pgCC* | pgcpp*)
13925 # Portland Group C++ compiler
13926 lt_prog_compiler_wl_CXX='-Wl,'
13927 lt_prog_compiler_pic_CXX='-fpic'
13928 lt_prog_compiler_static_CXX='-Bstatic'
13929 ;;
13930 cxx*)
13931 # Compaq C++
13932 # Make sure the PIC flag is empty. It appears that all Alpha
13933 # Linux and Compaq Tru64 Unix objects are PIC.
13934 lt_prog_compiler_pic_CXX=
13935 lt_prog_compiler_static_CXX='-non_shared'
13936 ;;
13937 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
13938 # IBM XL 8.0, 9.0 on PPC and BlueGene
13939 lt_prog_compiler_wl_CXX='-Wl,'
13940 lt_prog_compiler_pic_CXX='-qpic'
13941 lt_prog_compiler_static_CXX='-qstaticlink'
13942 ;;
13943 *)
13944 case `$CC -V 2>&1 | sed 5q` in
13945 *Sun\ C*)
13946 # Sun C++ 5.9
13947 lt_prog_compiler_pic_CXX='-KPIC'
13948 lt_prog_compiler_static_CXX='-Bstatic'
13949 lt_prog_compiler_wl_CXX='-Qoption ld '
13950 ;;
13951 esac
13952 ;;
13953 esac
13954 ;;
13955 lynxos*)
13956 ;;
13957 m88k*)
13958 ;;
13959 mvs*)
13960 case $cc_basename in
13961 cxx*)
13962 lt_prog_compiler_pic_CXX='-W c,exportall'
13963 ;;
13964 *)
13965 ;;
13966 esac
13967 ;;
13968 netbsd*)
13969 ;;
13970 *qnx* | *nto*)
13971 # QNX uses GNU C++, but need to define -shared option too, otherwise
13972 # it will coredump.
13973 lt_prog_compiler_pic_CXX='-fPIC -shared'
13974 ;;
13975 osf3* | osf4* | osf5*)
13976 case $cc_basename in
13977 KCC*)
13978 lt_prog_compiler_wl_CXX='--backend -Wl,'
13979 ;;
13980 RCC*)
13981 # Rational C++ 2.4.1
13982 lt_prog_compiler_pic_CXX='-pic'
13983 ;;
13984 cxx*)
13985 # Digital/Compaq C++
13986 lt_prog_compiler_wl_CXX='-Wl,'
13987 # Make sure the PIC flag is empty. It appears that all Alpha
13988 # Linux and Compaq Tru64 Unix objects are PIC.
13989 lt_prog_compiler_pic_CXX=
13990 lt_prog_compiler_static_CXX='-non_shared'
13991 ;;
13992 *)
13993 ;;
13994 esac
13995 ;;
13996 psos*)
13997 ;;
13998 solaris*)
13999 case $cc_basename in
14000 CC*)
14001 # Sun C++ 4.2, 5.x and Centerline C++
14002 lt_prog_compiler_pic_CXX='-KPIC'
14003 lt_prog_compiler_static_CXX='-Bstatic'
14004 lt_prog_compiler_wl_CXX='-Qoption ld '
14005 ;;
14006 gcx*)
14007 # Green Hills C++ Compiler
14008 lt_prog_compiler_pic_CXX='-PIC'
14009 ;;
14010 *)
14011 ;;
14012 esac
14013 ;;
14014 sunos4*)
14015 case $cc_basename in
14016 CC*)
14017 # Sun C++ 4.x
14018 lt_prog_compiler_pic_CXX='-pic'
14019 lt_prog_compiler_static_CXX='-Bstatic'
14020 ;;
14021 lcc*)
14022 # Lucid
14023 lt_prog_compiler_pic_CXX='-pic'
14024 ;;
14025 *)
14026 ;;
14027 esac
14028 ;;
14029 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14030 case $cc_basename in
14031 CC*)
14032 lt_prog_compiler_wl_CXX='-Wl,'
14033 lt_prog_compiler_pic_CXX='-KPIC'
14034 lt_prog_compiler_static_CXX='-Bstatic'
14035 ;;
14036 esac
14037 ;;
14038 tandem*)
14039 case $cc_basename in
14040 NCC*)
14041 # NonStop-UX NCC 3.20
14042 lt_prog_compiler_pic_CXX='-KPIC'
14043 ;;
14044 *)
14045 ;;
14046 esac
14047 ;;
14048 vxworks*)
14049 ;;
14050 *)
14051 lt_prog_compiler_can_build_shared_CXX=no
14052 ;;
14053 esac
14054 fi
14055
14056 case $host_os in
14057 # For platforms which do not support PIC, -DPIC is meaningless:
14058 *djgpp*)
14059 lt_prog_compiler_pic_CXX=
14060 ;;
14061 *)
14062 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14063 ;;
14064 esac
14065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14066 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14067
14068
14069
14070 #
14071 # Check to make sure the PIC flag actually works.
14072 #
14073 if test -n "$lt_prog_compiler_pic_CXX"; then
14074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14075 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14076 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14077 $as_echo_n "(cached) " >&6
14078 else
14079 lt_cv_prog_compiler_pic_works_CXX=no
14080 ac_outfile=conftest.$ac_objext
14081 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14082 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14083 # Insert the option either (1) after the last *FLAGS variable, or
14084 # (2) before a word containing "conftest.", or (3) at the end.
14085 # Note that $ac_compile itself does not contain backslashes and begins
14086 # with a dollar sign (not a hyphen), so the echo should work correctly.
14087 # The option is referenced via a variable to avoid confusing sed.
14088 lt_compile=`echo "$ac_compile" | $SED \
14089 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14090 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14091 -e 's:$: $lt_compiler_flag:'`
14092 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14093 (eval "$lt_compile" 2>conftest.err)
14094 ac_status=$?
14095 cat conftest.err >&5
14096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14097 if (exit $ac_status) && test -s "$ac_outfile"; then
14098 # The compiler can only warn and ignore the option if not recognized
14099 # So say no if there are warnings other than the usual output.
14100 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14101 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14102 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14103 lt_cv_prog_compiler_pic_works_CXX=yes
14104 fi
14105 fi
14106 $RM conftest*
14107
14108 fi
14109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14110 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14111
14112 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14113 case $lt_prog_compiler_pic_CXX in
14114 "" | " "*) ;;
14115 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14116 esac
14117 else
14118 lt_prog_compiler_pic_CXX=
14119 lt_prog_compiler_can_build_shared_CXX=no
14120 fi
14121
14122 fi
14123
14124
14125
14126 #
14127 # Check to make sure the static flag actually works.
14128 #
14129 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14131 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14132 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14133 $as_echo_n "(cached) " >&6
14134 else
14135 lt_cv_prog_compiler_static_works_CXX=no
14136 save_LDFLAGS="$LDFLAGS"
14137 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14138 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14139 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14140 # The linker can only warn and ignore the option if not recognized
14141 # So say no if there are warnings
14142 if test -s conftest.err; then
14143 # Append any errors to the config.log.
14144 cat conftest.err 1>&5
14145 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14146 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14147 if diff conftest.exp conftest.er2 >/dev/null; then
14148 lt_cv_prog_compiler_static_works_CXX=yes
14149 fi
14150 else
14151 lt_cv_prog_compiler_static_works_CXX=yes
14152 fi
14153 fi
14154 $RM -r conftest*
14155 LDFLAGS="$save_LDFLAGS"
14156
14157 fi
14158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14159 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14160
14161 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14162 :
14163 else
14164 lt_prog_compiler_static_CXX=
14165 fi
14166
14167
14168
14169
14170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14171 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14172 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14173 $as_echo_n "(cached) " >&6
14174 else
14175 lt_cv_prog_compiler_c_o_CXX=no
14176 $RM -r conftest 2>/dev/null
14177 mkdir conftest
14178 cd conftest
14179 mkdir out
14180 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14181
14182 lt_compiler_flag="-o out/conftest2.$ac_objext"
14183 # Insert the option either (1) after the last *FLAGS variable, or
14184 # (2) before a word containing "conftest.", or (3) at the end.
14185 # Note that $ac_compile itself does not contain backslashes and begins
14186 # with a dollar sign (not a hyphen), so the echo should work correctly.
14187 lt_compile=`echo "$ac_compile" | $SED \
14188 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14189 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14190 -e 's:$: $lt_compiler_flag:'`
14191 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14192 (eval "$lt_compile" 2>out/conftest.err)
14193 ac_status=$?
14194 cat out/conftest.err >&5
14195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14196 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14197 then
14198 # The compiler can only warn and ignore the option if not recognized
14199 # So say no if there are warnings
14200 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14201 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14202 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14203 lt_cv_prog_compiler_c_o_CXX=yes
14204 fi
14205 fi
14206 chmod u+w . 2>&5
14207 $RM conftest*
14208 # SGI C++ compiler will create directory out/ii_files/ for
14209 # template instantiation
14210 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14211 $RM out/* && rmdir out
14212 cd ..
14213 $RM -r conftest
14214 $RM conftest*
14215
14216 fi
14217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14218 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14219
14220
14221
14222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14223 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14224 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14225 $as_echo_n "(cached) " >&6
14226 else
14227 lt_cv_prog_compiler_c_o_CXX=no
14228 $RM -r conftest 2>/dev/null
14229 mkdir conftest
14230 cd conftest
14231 mkdir out
14232 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14233
14234 lt_compiler_flag="-o out/conftest2.$ac_objext"
14235 # Insert the option either (1) after the last *FLAGS variable, or
14236 # (2) before a word containing "conftest.", or (3) at the end.
14237 # Note that $ac_compile itself does not contain backslashes and begins
14238 # with a dollar sign (not a hyphen), so the echo should work correctly.
14239 lt_compile=`echo "$ac_compile" | $SED \
14240 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14241 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14242 -e 's:$: $lt_compiler_flag:'`
14243 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14244 (eval "$lt_compile" 2>out/conftest.err)
14245 ac_status=$?
14246 cat out/conftest.err >&5
14247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14248 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14249 then
14250 # The compiler can only warn and ignore the option if not recognized
14251 # So say no if there are warnings
14252 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14253 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14254 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14255 lt_cv_prog_compiler_c_o_CXX=yes
14256 fi
14257 fi
14258 chmod u+w . 2>&5
14259 $RM conftest*
14260 # SGI C++ compiler will create directory out/ii_files/ for
14261 # template instantiation
14262 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14263 $RM out/* && rmdir out
14264 cd ..
14265 $RM -r conftest
14266 $RM conftest*
14267
14268 fi
14269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14270 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14271
14272
14273
14274
14275 hard_links="nottested"
14276 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14277 # do not overwrite the value of need_locks provided by the user
14278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14279 $as_echo_n "checking if we can lock with hard links... " >&6; }
14280 hard_links=yes
14281 $RM conftest*
14282 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14283 touch conftest.a
14284 ln conftest.a conftest.b 2>&5 || hard_links=no
14285 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14287 $as_echo "$hard_links" >&6; }
14288 if test "$hard_links" = no; then
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14290 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14291 need_locks=warn
14292 fi
14293 else
14294 need_locks=no
14295 fi
14296
14297
14298
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14300 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14301
14302 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14303 case $host_os in
14304 aix[4-9]*)
14305 # If we're using GNU nm, then we don't want the "-C" option.
14306 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14307 # Also, AIX nm treats weak defined symbols like other global defined
14308 # symbols, whereas GNU nm marks them as "W".
14309 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14310 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'
14311 else
14312 export_symbols_cmds_CXX='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B") || (\$ 2 == "L")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
14313 fi
14314 ;;
14315 pw32*)
14316 export_symbols_cmds_CXX="$ltdll_cmds"
14317 ;;
14318 cygwin* | mingw* | cegcc*)
14319 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'
14320 ;;
14321 *)
14322 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14323 ;;
14324 esac
14325 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14326
14327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14328 $as_echo "$ld_shlibs_CXX" >&6; }
14329 test "$ld_shlibs_CXX" = no && can_build_shared=no
14330
14331 with_gnu_ld_CXX=$with_gnu_ld
14332
14333
14334
14335
14336
14337
14338 #
14339 # Do we need to explicitly link libc?
14340 #
14341 case "x$archive_cmds_need_lc_CXX" in
14342 x|xyes)
14343 # Assume -lc should be added
14344 archive_cmds_need_lc_CXX=yes
14345
14346 if test "$enable_shared" = yes && test "$GCC" = yes; then
14347 case $archive_cmds_CXX in
14348 *'~'*)
14349 # FIXME: we may have to deal with multi-command sequences.
14350 ;;
14351 '$CC '*)
14352 # Test whether the compiler implicitly links with -lc since on some
14353 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14354 # to ld, don't add -lc before -lgcc.
14355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14356 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14357 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14358 $as_echo_n "(cached) " >&6
14359 else
14360 $RM conftest*
14361 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14362
14363 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14364 (eval $ac_compile) 2>&5
14365 ac_status=$?
14366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14367 test $ac_status = 0; } 2>conftest.err; then
14368 soname=conftest
14369 lib=conftest
14370 libobjs=conftest.$ac_objext
14371 deplibs=
14372 wl=$lt_prog_compiler_wl_CXX
14373 pic_flag=$lt_prog_compiler_pic_CXX
14374 compiler_flags=-v
14375 linker_flags=-v
14376 verstring=
14377 output_objdir=.
14378 libname=conftest
14379 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14380 allow_undefined_flag_CXX=
14381 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14382 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14383 ac_status=$?
14384 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14385 test $ac_status = 0; }
14386 then
14387 lt_cv_archive_cmds_need_lc_CXX=no
14388 else
14389 lt_cv_archive_cmds_need_lc_CXX=yes
14390 fi
14391 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14392 else
14393 cat conftest.err 1>&5
14394 fi
14395 $RM conftest*
14396
14397 fi
14398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14399 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14400 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14401 ;;
14402 esac
14403 fi
14404 ;;
14405 esac
14406
14407
14408
14409
14410
14411
14412
14413
14414
14415
14416
14417
14418
14419
14420
14421
14422
14423
14424
14425
14426
14427
14428
14429
14430
14431
14432
14433
14434
14435
14436
14437
14438
14439
14440
14441
14442
14443
14444
14445
14446
14447
14448
14449
14450
14451
14452
14453
14454
14455
14456
14457
14458
14459
14460
14461
14462
14463
14464
14465
14466
14467
14468
14469
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14471 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14472
14473 library_names_spec=
14474 libname_spec='lib$name'
14475 soname_spec=
14476 shrext_cmds=".so"
14477 postinstall_cmds=
14478 postuninstall_cmds=
14479 finish_cmds=
14480 finish_eval=
14481 shlibpath_var=
14482 shlibpath_overrides_runpath=unknown
14483 version_type=none
14484 dynamic_linker="$host_os ld.so"
14485 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14486 need_lib_prefix=unknown
14487 hardcode_into_libs=no
14488
14489 # when you set need_version to no, make sure it does not cause -set_version
14490 # flags to be left without arguments
14491 need_version=unknown
14492
14493 case $host_os in
14494 aix3*)
14495 version_type=linux
14496 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14497 shlibpath_var=LIBPATH
14498
14499 # AIX 3 has no versioning support, so we append a major version to the name.
14500 soname_spec='${libname}${release}${shared_ext}$major'
14501 ;;
14502
14503 aix[4-9]*)
14504 version_type=linux
14505 need_lib_prefix=no
14506 need_version=no
14507 hardcode_into_libs=yes
14508 if test "$host_cpu" = ia64; then
14509 # AIX 5 supports IA64
14510 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14511 shlibpath_var=LD_LIBRARY_PATH
14512 else
14513 # With GCC up to 2.95.x, collect2 would create an import file
14514 # for dependence libraries. The import file would start with
14515 # the line `#! .'. This would cause the generated library to
14516 # depend on `.', always an invalid library. This was fixed in
14517 # development snapshots of GCC prior to 3.0.
14518 case $host_os in
14519 aix4 | aix4.[01] | aix4.[01].*)
14520 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14521 echo ' yes '
14522 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14523 :
14524 else
14525 can_build_shared=no
14526 fi
14527 ;;
14528 esac
14529 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14530 # soname into executable. Probably we can add versioning support to
14531 # collect2, so additional links can be useful in future.
14532 if test "$aix_use_runtimelinking" = yes; then
14533 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14534 # instead of lib<name>.a to let people know that these are not
14535 # typical AIX shared libraries.
14536 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14537 else
14538 # We preserve .a as extension for shared libraries through AIX4.2
14539 # and later when we are not doing run time linking.
14540 library_names_spec='${libname}${release}.a $libname.a'
14541 soname_spec='${libname}${release}${shared_ext}$major'
14542 fi
14543 shlibpath_var=LIBPATH
14544 fi
14545 ;;
14546
14547 amigaos*)
14548 case $host_cpu in
14549 powerpc)
14550 # Since July 2007 AmigaOS4 officially supports .so libraries.
14551 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14552 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14553 ;;
14554 m68k)
14555 library_names_spec='$libname.ixlibrary $libname.a'
14556 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14557 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'
14558 ;;
14559 esac
14560 ;;
14561
14562 beos*)
14563 library_names_spec='${libname}${shared_ext}'
14564 dynamic_linker="$host_os ld.so"
14565 shlibpath_var=LIBRARY_PATH
14566 ;;
14567
14568 bsdi[45]*)
14569 version_type=linux
14570 need_version=no
14571 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14572 soname_spec='${libname}${release}${shared_ext}$major'
14573 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14574 shlibpath_var=LD_LIBRARY_PATH
14575 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14576 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14577 # the default ld.so.conf also contains /usr/contrib/lib and
14578 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14579 # libtool to hard-code these into programs
14580 ;;
14581
14582 cygwin* | mingw* | pw32* | cegcc*)
14583 version_type=windows
14584 shrext_cmds=".dll"
14585 need_version=no
14586 need_lib_prefix=no
14587
14588 case $GCC,$host_os in
14589 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14590 library_names_spec='$libname.dll.a'
14591 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14592 postinstall_cmds='base_file=`basename \${file}`~
14593 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14594 dldir=$destdir/`dirname \$dlpath`~
14595 test -d \$dldir || mkdir -p \$dldir~
14596 $install_prog $dir/$dlname \$dldir/$dlname~
14597 chmod a+x \$dldir/$dlname~
14598 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14599 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14600 fi'
14601 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14602 dlpath=$dir/\$dldll~
14603 $RM \$dlpath'
14604 shlibpath_overrides_runpath=yes
14605
14606 case $host_os in
14607 cygwin*)
14608 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14609 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14610
14611 ;;
14612 mingw* | cegcc*)
14613 # MinGW DLLs use traditional 'lib' prefix
14614 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14615 ;;
14616 pw32*)
14617 # pw32 DLLs use 'pw' prefix rather than 'lib'
14618 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14619 ;;
14620 esac
14621 ;;
14622
14623 *)
14624 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14625 ;;
14626 esac
14627 dynamic_linker='Win32 ld.exe'
14628 # FIXME: first we should search . and the directory the executable is in
14629 shlibpath_var=PATH
14630 ;;
14631
14632 darwin* | rhapsody*)
14633 dynamic_linker="$host_os dyld"
14634 version_type=darwin
14635 need_lib_prefix=no
14636 need_version=no
14637 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14638 soname_spec='${libname}${release}${major}$shared_ext'
14639 shlibpath_overrides_runpath=yes
14640 shlibpath_var=DYLD_LIBRARY_PATH
14641 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14642
14643 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14644 ;;
14645
14646 dgux*)
14647 version_type=linux
14648 need_lib_prefix=no
14649 need_version=no
14650 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14651 soname_spec='${libname}${release}${shared_ext}$major'
14652 shlibpath_var=LD_LIBRARY_PATH
14653 ;;
14654
14655 freebsd* | dragonfly*)
14656 # DragonFly does not have aout. When/if they implement a new
14657 # versioning mechanism, adjust this.
14658 if test -x /usr/bin/objformat; then
14659 objformat=`/usr/bin/objformat`
14660 else
14661 case $host_os in
14662 freebsd[23].*) objformat=aout ;;
14663 *) objformat=elf ;;
14664 esac
14665 fi
14666 version_type=freebsd-$objformat
14667 case $version_type in
14668 freebsd-elf*)
14669 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14670 need_version=no
14671 need_lib_prefix=no
14672 ;;
14673 freebsd-*)
14674 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14675 need_version=yes
14676 ;;
14677 esac
14678 shlibpath_var=LD_LIBRARY_PATH
14679 case $host_os in
14680 freebsd2.*)
14681 shlibpath_overrides_runpath=yes
14682 ;;
14683 freebsd3.[01]* | freebsdelf3.[01]*)
14684 shlibpath_overrides_runpath=yes
14685 hardcode_into_libs=yes
14686 ;;
14687 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14688 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14689 shlibpath_overrides_runpath=no
14690 hardcode_into_libs=yes
14691 ;;
14692 *) # from 4.6 on, and DragonFly
14693 shlibpath_overrides_runpath=yes
14694 hardcode_into_libs=yes
14695 ;;
14696 esac
14697 ;;
14698
14699 gnu*)
14700 version_type=linux
14701 need_lib_prefix=no
14702 need_version=no
14703 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14704 soname_spec='${libname}${release}${shared_ext}$major'
14705 shlibpath_var=LD_LIBRARY_PATH
14706 hardcode_into_libs=yes
14707 ;;
14708
14709 haiku*)
14710 version_type=linux
14711 need_lib_prefix=no
14712 need_version=no
14713 dynamic_linker="$host_os runtime_loader"
14714 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14715 soname_spec='${libname}${release}${shared_ext}$major'
14716 shlibpath_var=LIBRARY_PATH
14717 shlibpath_overrides_runpath=yes
14718 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14719 hardcode_into_libs=yes
14720 ;;
14721
14722 hpux9* | hpux10* | hpux11*)
14723 # Give a soname corresponding to the major version so that dld.sl refuses to
14724 # link against other versions.
14725 version_type=sunos
14726 need_lib_prefix=no
14727 need_version=no
14728 case $host_cpu in
14729 ia64*)
14730 shrext_cmds='.so'
14731 hardcode_into_libs=yes
14732 dynamic_linker="$host_os dld.so"
14733 shlibpath_var=LD_LIBRARY_PATH
14734 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14735 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14736 soname_spec='${libname}${release}${shared_ext}$major'
14737 if test "X$HPUX_IA64_MODE" = X32; then
14738 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
14739 else
14740 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
14741 fi
14742 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14743 ;;
14744 hppa*64*)
14745 shrext_cmds='.sl'
14746 hardcode_into_libs=yes
14747 dynamic_linker="$host_os dld.sl"
14748 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
14749 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
14750 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14751 soname_spec='${libname}${release}${shared_ext}$major'
14752 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
14753 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
14754 ;;
14755 *)
14756 shrext_cmds='.sl'
14757 dynamic_linker="$host_os dld.sl"
14758 shlibpath_var=SHLIB_PATH
14759 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
14760 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14761 soname_spec='${libname}${release}${shared_ext}$major'
14762 ;;
14763 esac
14764 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
14765 postinstall_cmds='chmod 555 $lib'
14766 # or fails outright, so override atomically:
14767 install_override_mode=555
14768 ;;
14769
14770 interix[3-9]*)
14771 version_type=linux
14772 need_lib_prefix=no
14773 need_version=no
14774 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14775 soname_spec='${libname}${release}${shared_ext}$major'
14776 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
14777 shlibpath_var=LD_LIBRARY_PATH
14778 shlibpath_overrides_runpath=no
14779 hardcode_into_libs=yes
14780 ;;
14781
14782 irix5* | irix6* | nonstopux*)
14783 case $host_os in
14784 nonstopux*) version_type=nonstopux ;;
14785 *)
14786 if test "$lt_cv_prog_gnu_ld" = yes; then
14787 version_type=linux
14788 else
14789 version_type=irix
14790 fi ;;
14791 esac
14792 need_lib_prefix=no
14793 need_version=no
14794 soname_spec='${libname}${release}${shared_ext}$major'
14795 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
14796 case $host_os in
14797 irix5* | nonstopux*)
14798 libsuff= shlibsuff=
14799 ;;
14800 *)
14801 case $LD in # libtool.m4 will add one of these switches to LD
14802 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
14803 libsuff= shlibsuff= libmagic=32-bit;;
14804 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
14805 libsuff=32 shlibsuff=N32 libmagic=N32;;
14806 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
14807 libsuff=64 shlibsuff=64 libmagic=64-bit;;
14808 *) libsuff= shlibsuff= libmagic=never-match;;
14809 esac
14810 ;;
14811 esac
14812 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
14813 shlibpath_overrides_runpath=no
14814 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
14815 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
14816 hardcode_into_libs=yes
14817 ;;
14818
14819 # No shared lib support for Linux oldld, aout, or coff.
14820 linux*oldld* | linux*aout* | linux*coff*)
14821 dynamic_linker=no
14822 ;;
14823
14824 # This must be Linux ELF.
14825 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14826 version_type=linux
14827 need_lib_prefix=no
14828 need_version=no
14829 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14830 soname_spec='${libname}${release}${shared_ext}$major'
14831 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
14832 shlibpath_var=LD_LIBRARY_PATH
14833 shlibpath_overrides_runpath=no
14834
14835 # Some binutils ld are patched to set DT_RUNPATH
14836 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
14837 $as_echo_n "(cached) " >&6
14838 else
14839 lt_cv_shlibpath_overrides_runpath=no
14840 save_LDFLAGS=$LDFLAGS
14841 save_libdir=$libdir
14842 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
14843 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
14844 if test x$gcc_no_link = xyes; then
14845 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
14846 fi
14847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14848 /* end confdefs.h. */
14849
14850 int
14851 main ()
14852 {
14853
14854 ;
14855 return 0;
14856 }
14857 _ACEOF
14858 if ac_fn_cxx_try_link "$LINENO"; then :
14859 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
14860 lt_cv_shlibpath_overrides_runpath=yes
14861 fi
14862 fi
14863 rm -f core conftest.err conftest.$ac_objext \
14864 conftest$ac_exeext conftest.$ac_ext
14865 LDFLAGS=$save_LDFLAGS
14866 libdir=$save_libdir
14867
14868 fi
14869
14870 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
14871
14872 # This implies no fast_install, which is unacceptable.
14873 # Some rework will be needed to allow for fast_install
14874 # before this can be enabled.
14875 hardcode_into_libs=yes
14876
14877 # Append ld.so.conf contents to the search path
14878 if test -f /etc/ld.so.conf; then
14879 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' ' '`
14880 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
14881 fi
14882
14883 # We used to test for /lib/ld.so.1 and disable shared libraries on
14884 # powerpc, because MkLinux only supported shared libraries with the
14885 # GNU dynamic linker. Since this was broken with cross compilers,
14886 # most powerpc-linux boxes support dynamic linking these days and
14887 # people can always --disable-shared, the test was removed, and we
14888 # assume the GNU/Linux dynamic linker is in use.
14889 dynamic_linker='GNU/Linux ld.so'
14890 ;;
14891
14892 netbsd*)
14893 version_type=sunos
14894 need_lib_prefix=no
14895 need_version=no
14896 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
14897 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14898 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14899 dynamic_linker='NetBSD (a.out) ld.so'
14900 else
14901 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
14902 soname_spec='${libname}${release}${shared_ext}$major'
14903 dynamic_linker='NetBSD ld.elf_so'
14904 fi
14905 shlibpath_var=LD_LIBRARY_PATH
14906 shlibpath_overrides_runpath=yes
14907 hardcode_into_libs=yes
14908 ;;
14909
14910 newsos6)
14911 version_type=linux
14912 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14913 shlibpath_var=LD_LIBRARY_PATH
14914 shlibpath_overrides_runpath=yes
14915 ;;
14916
14917 *nto* | *qnx*)
14918 version_type=qnx
14919 need_lib_prefix=no
14920 need_version=no
14921 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14922 soname_spec='${libname}${release}${shared_ext}$major'
14923 shlibpath_var=LD_LIBRARY_PATH
14924 shlibpath_overrides_runpath=no
14925 hardcode_into_libs=yes
14926 dynamic_linker='ldqnx.so'
14927 ;;
14928
14929 openbsd*)
14930 version_type=sunos
14931 sys_lib_dlsearch_path_spec="/usr/lib"
14932 need_lib_prefix=no
14933 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
14934 case $host_os in
14935 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
14936 *) need_version=no ;;
14937 esac
14938 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14939 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
14940 shlibpath_var=LD_LIBRARY_PATH
14941 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
14942 case $host_os in
14943 openbsd2.[89] | openbsd2.[89].*)
14944 shlibpath_overrides_runpath=no
14945 ;;
14946 *)
14947 shlibpath_overrides_runpath=yes
14948 ;;
14949 esac
14950 else
14951 shlibpath_overrides_runpath=yes
14952 fi
14953 ;;
14954
14955 os2*)
14956 libname_spec='$name'
14957 shrext_cmds=".dll"
14958 need_lib_prefix=no
14959 library_names_spec='$libname${shared_ext} $libname.a'
14960 dynamic_linker='OS/2 ld.exe'
14961 shlibpath_var=LIBPATH
14962 ;;
14963
14964 osf3* | osf4* | osf5*)
14965 version_type=osf
14966 need_lib_prefix=no
14967 need_version=no
14968 soname_spec='${libname}${release}${shared_ext}$major'
14969 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14970 shlibpath_var=LD_LIBRARY_PATH
14971 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
14972 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
14973 ;;
14974
14975 rdos*)
14976 dynamic_linker=no
14977 ;;
14978
14979 solaris*)
14980 version_type=linux
14981 need_lib_prefix=no
14982 need_version=no
14983 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14984 soname_spec='${libname}${release}${shared_ext}$major'
14985 shlibpath_var=LD_LIBRARY_PATH
14986 shlibpath_overrides_runpath=yes
14987 hardcode_into_libs=yes
14988 # ldd complains unless libraries are executable
14989 postinstall_cmds='chmod +x $lib'
14990 ;;
14991
14992 sunos4*)
14993 version_type=sunos
14994 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
14995 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
14996 shlibpath_var=LD_LIBRARY_PATH
14997 shlibpath_overrides_runpath=yes
14998 if test "$with_gnu_ld" = yes; then
14999 need_lib_prefix=no
15000 fi
15001 need_version=yes
15002 ;;
15003
15004 sysv4 | sysv4.3*)
15005 version_type=linux
15006 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15007 soname_spec='${libname}${release}${shared_ext}$major'
15008 shlibpath_var=LD_LIBRARY_PATH
15009 case $host_vendor in
15010 sni)
15011 shlibpath_overrides_runpath=no
15012 need_lib_prefix=no
15013 runpath_var=LD_RUN_PATH
15014 ;;
15015 siemens)
15016 need_lib_prefix=no
15017 ;;
15018 motorola)
15019 need_lib_prefix=no
15020 need_version=no
15021 shlibpath_overrides_runpath=no
15022 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15023 ;;
15024 esac
15025 ;;
15026
15027 sysv4*MP*)
15028 if test -d /usr/nec ;then
15029 version_type=linux
15030 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15031 soname_spec='$libname${shared_ext}.$major'
15032 shlibpath_var=LD_LIBRARY_PATH
15033 fi
15034 ;;
15035
15036 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15037 version_type=freebsd-elf
15038 need_lib_prefix=no
15039 need_version=no
15040 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15041 soname_spec='${libname}${release}${shared_ext}$major'
15042 shlibpath_var=LD_LIBRARY_PATH
15043 shlibpath_overrides_runpath=yes
15044 hardcode_into_libs=yes
15045 if test "$with_gnu_ld" = yes; then
15046 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15047 else
15048 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15049 case $host_os in
15050 sco3.2v5*)
15051 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15052 ;;
15053 esac
15054 fi
15055 sys_lib_dlsearch_path_spec='/usr/lib'
15056 ;;
15057
15058 tpf*)
15059 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15060 version_type=linux
15061 need_lib_prefix=no
15062 need_version=no
15063 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15064 shlibpath_var=LD_LIBRARY_PATH
15065 shlibpath_overrides_runpath=no
15066 hardcode_into_libs=yes
15067 ;;
15068
15069 uts4*)
15070 version_type=linux
15071 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15072 soname_spec='${libname}${release}${shared_ext}$major'
15073 shlibpath_var=LD_LIBRARY_PATH
15074 ;;
15075
15076 *)
15077 dynamic_linker=no
15078 ;;
15079 esac
15080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15081 $as_echo "$dynamic_linker" >&6; }
15082 test "$dynamic_linker" = no && can_build_shared=no
15083
15084 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15085 if test "$GCC" = yes; then
15086 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15087 fi
15088
15089 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15090 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15091 fi
15092 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15093 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15094 fi
15095
15096
15097
15098
15099
15100
15101
15102
15103
15104
15105
15106
15107
15108
15109
15110
15111
15112
15113
15114
15115
15116
15117
15118
15119
15120
15121
15122
15123
15124
15125
15126
15127
15128
15129
15130
15131
15132
15133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15134 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15135 hardcode_action_CXX=
15136 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15137 test -n "$runpath_var_CXX" ||
15138 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15139
15140 # We can hardcode non-existent directories.
15141 if test "$hardcode_direct_CXX" != no &&
15142 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15143 # have to relink, otherwise we might link with an installed library
15144 # when we should be linking with a yet-to-be-installed one
15145 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15146 test "$hardcode_minus_L_CXX" != no; then
15147 # Linking always hardcodes the temporary library directory.
15148 hardcode_action_CXX=relink
15149 else
15150 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15151 hardcode_action_CXX=immediate
15152 fi
15153 else
15154 # We cannot hardcode anything, or else we can only hardcode existing
15155 # directories.
15156 hardcode_action_CXX=unsupported
15157 fi
15158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15159 $as_echo "$hardcode_action_CXX" >&6; }
15160
15161 if test "$hardcode_action_CXX" = relink ||
15162 test "$inherit_rpath_CXX" = yes; then
15163 # Fast installation is not supported
15164 enable_fast_install=no
15165 elif test "$shlibpath_overrides_runpath" = yes ||
15166 test "$enable_shared" = no; then
15167 # Fast installation is not necessary
15168 enable_fast_install=needless
15169 fi
15170
15171
15172
15173
15174
15175
15176
15177 fi # test -n "$compiler"
15178
15179 CC=$lt_save_CC
15180 LDCXX=$LD
15181 LD=$lt_save_LD
15182 GCC=$lt_save_GCC
15183 with_gnu_ld=$lt_save_with_gnu_ld
15184 lt_cv_path_LDCXX=$lt_cv_path_LD
15185 lt_cv_path_LD=$lt_save_path_LD
15186 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15187 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15188 fi # test "$_lt_caught_CXX_error" != yes
15189
15190 ac_ext=c
15191 ac_cpp='$CPP $CPPFLAGS'
15192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15195
15196
15197
15198
15199
15200
15201
15202
15203
15204
15205
15206
15207
15208 ac_config_commands="$ac_config_commands libtool"
15209
15210
15211
15212
15213 # Only expand once:
15214
15215
15216
15217
15218
15219 case $host in
15220 *-cygwin* | *-mingw*)
15221 # 'host' will be top-level target in the case of a target lib,
15222 # we must compare to with_cross_host to decide if this is a native
15223 # or cross-compiler and select where to install dlls appropriately.
15224 if test -n "$with_cross_host" &&
15225 test x"$with_cross_host" != x"no"; then
15226 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15227 else
15228 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15229 fi
15230 ;;
15231 *)
15232 lt_host_flags=
15233 ;;
15234 esac
15235
15236
15237
15238
15239
15240
15241 if test "$enable_vtable_verify" = yes; then
15242 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15243 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15244 fi
15245
15246
15247 # libtool variables for C++ shared and position-independent compiles.
15248 #
15249 # Use glibcxx_lt_pic_flag to designate the automake variable
15250 # used to encapsulate the default libtool approach to creating objects
15251 # with position-independent code. Default: -prefer-pic.
15252 #
15253 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15254 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15255 #
15256 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15257 # creating position-independent objects. This varies with the target
15258 # hardware and operating system, but is often: -DPIC -fPIC.
15259 if test "$enable_shared" = yes; then
15260 glibcxx_lt_pic_flag="-prefer-pic"
15261 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15262 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15263
15264 else
15265 glibcxx_lt_pic_flag=
15266 glibcxx_compiler_pic_flag=
15267 glibcxx_compiler_shared_flag=
15268 fi
15269
15270
15271
15272
15273 # Override the libtool's pic_flag and pic_mode.
15274 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15275 # NB: this impacts --with-pic and --without-pic.
15276 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15277 pic_mode='default'
15278
15279 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15280 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15281
15282 # Possibly disable most of the library.
15283 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15284 ## than just ignoring the results. Faster /and/ more correct, win win.
15285
15286 # Check whether --enable-hosted-libstdcxx was given.
15287 if test "${enable_hosted_libstdcxx+set}" = set; then :
15288 enableval=$enable_hosted_libstdcxx;
15289 else
15290 case "$host" in
15291 arm*-*-symbianelf*)
15292 enable_hosted_libstdcxx=no
15293 ;;
15294 *)
15295 enable_hosted_libstdcxx=yes
15296 ;;
15297 esac
15298 fi
15299
15300 if test "$enable_hosted_libstdcxx" = no; then
15301 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15302 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15303 is_hosted=no
15304 hosted_define=0
15305 enable_abi_check=no
15306 enable_libstdcxx_pch=no
15307 else
15308 is_hosted=yes
15309 hosted_define=1
15310 fi
15311
15312
15313 cat >>confdefs.h <<_ACEOF
15314 #define _GLIBCXX_HOSTED $hosted_define
15315 _ACEOF
15316
15317
15318
15319 # Enable descriptive messages to standard output on termination.
15320
15321 # Check whether --enable-libstdcxx-verbose was given.
15322 if test "${enable_libstdcxx_verbose+set}" = set; then :
15323 enableval=$enable_libstdcxx_verbose;
15324 else
15325 enable_libstdcxx_verbose=yes
15326 fi
15327
15328 if test x"$enable_libstdcxx_verbose" = xyes; then
15329 verbose_define=1
15330 else
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15332 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15333 verbose_define=0
15334 fi
15335
15336 cat >>confdefs.h <<_ACEOF
15337 #define _GLIBCXX_VERBOSE $verbose_define
15338 _ACEOF
15339
15340
15341
15342 # Enable compiler support that doesn't require linking.
15343
15344 # Check whether --enable-libstdcxx-pch was given.
15345 if test "${enable_libstdcxx_pch+set}" = set; then :
15346 enableval=$enable_libstdcxx_pch;
15347 case "$enableval" in
15348 yes|no) ;;
15349 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15350 esac
15351
15352 else
15353 enable_libstdcxx_pch=$is_hosted
15354 fi
15355
15356
15357 if test $enable_libstdcxx_pch = yes; then
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15359 $as_echo_n "checking for compiler with PCH support... " >&6; }
15360 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15363 ac_save_CXXFLAGS="$CXXFLAGS"
15364 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15365
15366 ac_ext=cpp
15367 ac_cpp='$CXXCPP $CPPFLAGS'
15368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15371
15372 echo '#include <math.h>' > conftest.h
15373 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15374 -o conftest.h.gch 1>&5 2>&1 &&
15375 echo '#error "pch failed"' > conftest.h &&
15376 echo '#include "conftest.h"' > conftest.cc &&
15377 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15378 then
15379 glibcxx_cv_prog_CXX_pch=yes
15380 else
15381 glibcxx_cv_prog_CXX_pch=no
15382 fi
15383 rm -f conftest*
15384 CXXFLAGS=$ac_save_CXXFLAGS
15385 ac_ext=c
15386 ac_cpp='$CPP $CPPFLAGS'
15387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15390
15391
15392 fi
15393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15394 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15395 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15396 fi
15397
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15399 $as_echo_n "checking for enabled PCH... " >&6; }
15400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15401 $as_echo "$enable_libstdcxx_pch" >&6; }
15402
15403
15404 if test $enable_libstdcxx_pch = yes; then
15405 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15406 else
15407 glibcxx_PCHFLAGS=""
15408 fi
15409
15410
15411
15412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15413 $as_echo_n "checking for thread model used by GCC... " >&6; }
15414 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15416 $as_echo "$target_thread_file" >&6; }
15417
15418 case $target_thread_file in
15419 aix) thread_header=config/rs6000/gthr-aix.h ;;
15420 dce) thread_header=config/pa/gthr-dce.h ;;
15421 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15422 lynx) thread_header=config/gthr-lynx.h ;;
15423 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15424 posix) thread_header=gthr-posix.h ;;
15425 rtems) thread_header=config/gthr-rtems.h ;;
15426 single) thread_header=gthr-single.h ;;
15427 tpf) thread_header=config/s390/gthr-tpf.h ;;
15428 vxworks) thread_header=config/gthr-vxworks.h ;;
15429 win32) thread_header=config/i386/gthr-win32.h ;;
15430 esac
15431
15432
15433
15434
15435
15436 ac_ext=cpp
15437 ac_cpp='$CXXCPP $CPPFLAGS'
15438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15441
15442 old_CXXFLAGS="$CXXFLAGS"
15443
15444 # Do link tests if possible, instead asm tests, limited to some platforms
15445 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15446 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15447 atomic_builtins_link_tests=no
15448 if test x$gcc_no_link != xyes; then
15449 # Can do link tests. Limit to some tested platforms
15450 case "$host" in
15451 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15452 atomic_builtins_link_tests=yes
15453 ;;
15454 esac
15455 fi
15456
15457 if test x$atomic_builtins_link_tests = xyes; then
15458
15459 # Do link tests.
15460
15461 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15462
15463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15464 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15465 if ${glibcxx_cv_atomic_bool+:} false; then :
15466 $as_echo_n "(cached) " >&6
15467 else
15468
15469 if test x$gcc_no_link = xyes; then
15470 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15471 fi
15472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15473 /* end confdefs.h. */
15474
15475 int
15476 main ()
15477 {
15478 typedef bool atomic_type;
15479 atomic_type c1;
15480 atomic_type c2;
15481 atomic_type c3(0);
15482 // N.B. __atomic_fetch_add is not supported for bool.
15483 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15484 __ATOMIC_RELAXED);
15485 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15486 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15487
15488 ;
15489 return 0;
15490 }
15491 _ACEOF
15492 if ac_fn_cxx_try_link "$LINENO"; then :
15493 glibcxx_cv_atomic_bool=yes
15494 else
15495 glibcxx_cv_atomic_bool=no
15496 fi
15497 rm -f core conftest.err conftest.$ac_objext \
15498 conftest$ac_exeext conftest.$ac_ext
15499
15500 fi
15501
15502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15503 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15504
15505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15506 $as_echo_n "checking for atomic builtins for short... " >&6; }
15507 if ${glibcxx_cv_atomic_short+:} false; then :
15508 $as_echo_n "(cached) " >&6
15509 else
15510
15511 if test x$gcc_no_link = xyes; then
15512 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15513 fi
15514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15515 /* end confdefs.h. */
15516
15517 int
15518 main ()
15519 {
15520 typedef short atomic_type;
15521 atomic_type c1;
15522 atomic_type c2;
15523 atomic_type c3(0);
15524 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15525 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15526 __ATOMIC_RELAXED);
15527 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15528 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15529
15530 ;
15531 return 0;
15532 }
15533 _ACEOF
15534 if ac_fn_cxx_try_link "$LINENO"; then :
15535 glibcxx_cv_atomic_short=yes
15536 else
15537 glibcxx_cv_atomic_short=no
15538 fi
15539 rm -f core conftest.err conftest.$ac_objext \
15540 conftest$ac_exeext conftest.$ac_ext
15541
15542 fi
15543
15544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15545 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15546
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15548 $as_echo_n "checking for atomic builtins for int... " >&6; }
15549 if ${glibcxx_cv_atomic_int+:} false; then :
15550 $as_echo_n "(cached) " >&6
15551 else
15552
15553 if test x$gcc_no_link = xyes; then
15554 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15555 fi
15556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15557 /* end confdefs.h. */
15558
15559 int
15560 main ()
15561 {
15562 typedef int atomic_type;
15563 atomic_type c1;
15564 atomic_type c2;
15565 atomic_type c3(0);
15566 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15567 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15568 __ATOMIC_RELAXED);
15569 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15570 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15571
15572 ;
15573 return 0;
15574 }
15575 _ACEOF
15576 if ac_fn_cxx_try_link "$LINENO"; then :
15577 glibcxx_cv_atomic_int=yes
15578 else
15579 glibcxx_cv_atomic_int=no
15580 fi
15581 rm -f core conftest.err conftest.$ac_objext \
15582 conftest$ac_exeext conftest.$ac_ext
15583
15584 fi
15585
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15587 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15588
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15590 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15591 if ${glibcxx_cv_atomic_long_long+:} false; then :
15592 $as_echo_n "(cached) " >&6
15593 else
15594
15595 if test x$gcc_no_link = xyes; then
15596 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15597 fi
15598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15599 /* end confdefs.h. */
15600
15601 int
15602 main ()
15603 {
15604 typedef long long atomic_type;
15605 atomic_type c1;
15606 atomic_type c2;
15607 atomic_type c3(0);
15608 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15609 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15610 __ATOMIC_RELAXED);
15611 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15612 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15613
15614 ;
15615 return 0;
15616 }
15617 _ACEOF
15618 if ac_fn_cxx_try_link "$LINENO"; then :
15619 glibcxx_cv_atomic_long_long=yes
15620 else
15621 glibcxx_cv_atomic_long_long=no
15622 fi
15623 rm -f core conftest.err conftest.$ac_objext \
15624 conftest$ac_exeext conftest.$ac_ext
15625
15626 fi
15627
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15629 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15630
15631 else
15632
15633 # Do asm tests.
15634
15635 # Compile unoptimized.
15636 CXXFLAGS='-O0 -S'
15637
15638 # Fake what AC_TRY_COMPILE does.
15639
15640 cat > conftest.$ac_ext << EOF
15641 #line 15641 "configure"
15642 int main()
15643 {
15644 typedef bool atomic_type;
15645 atomic_type c1;
15646 atomic_type c2;
15647 atomic_type c3(0);
15648 // N.B. __atomic_fetch_add is not supported for bool.
15649 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15650 __ATOMIC_RELAXED);
15651 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15652 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15653
15654 return 0;
15655 }
15656 EOF
15657
15658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15659 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15660 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15661 (eval $ac_compile) 2>&5
15662 ac_status=$?
15663 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15664 test $ac_status = 0; }; then
15665 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15666 glibcxx_cv_atomic_bool=no
15667 else
15668 glibcxx_cv_atomic_bool=yes
15669 fi
15670 fi
15671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15672 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15673 rm -f conftest*
15674
15675 cat > conftest.$ac_ext << EOF
15676 #line 15676 "configure"
15677 int main()
15678 {
15679 typedef short atomic_type;
15680 atomic_type c1;
15681 atomic_type c2;
15682 atomic_type c3(0);
15683 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15684 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15685 __ATOMIC_RELAXED);
15686 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15687 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15688
15689 return 0;
15690 }
15691 EOF
15692
15693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15694 $as_echo_n "checking for atomic builtins for short... " >&6; }
15695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15696 (eval $ac_compile) 2>&5
15697 ac_status=$?
15698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15699 test $ac_status = 0; }; then
15700 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15701 glibcxx_cv_atomic_short=no
15702 else
15703 glibcxx_cv_atomic_short=yes
15704 fi
15705 fi
15706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15707 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15708 rm -f conftest*
15709
15710 cat > conftest.$ac_ext << EOF
15711 #line 15711 "configure"
15712 int main()
15713 {
15714 // NB: _Atomic_word not necessarily int.
15715 typedef int atomic_type;
15716 atomic_type c1;
15717 atomic_type c2;
15718 atomic_type c3(0);
15719 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15720 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15721 __ATOMIC_RELAXED);
15722 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15723 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15724
15725 return 0;
15726 }
15727 EOF
15728
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15730 $as_echo_n "checking for atomic builtins for int... " >&6; }
15731 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15732 (eval $ac_compile) 2>&5
15733 ac_status=$?
15734 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15735 test $ac_status = 0; }; then
15736 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15737 glibcxx_cv_atomic_int=no
15738 else
15739 glibcxx_cv_atomic_int=yes
15740 fi
15741 fi
15742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15743 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15744 rm -f conftest*
15745
15746 cat > conftest.$ac_ext << EOF
15747 #line 15747 "configure"
15748 int main()
15749 {
15750 typedef long long atomic_type;
15751 atomic_type c1;
15752 atomic_type c2;
15753 atomic_type c3(0);
15754 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15755 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15756 __ATOMIC_RELAXED);
15757 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15758 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15759
15760 return 0;
15761 }
15762 EOF
15763
15764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15765 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15766 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15767 (eval $ac_compile) 2>&5
15768 ac_status=$?
15769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15770 test $ac_status = 0; }; then
15771 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15772 glibcxx_cv_atomic_long_long=no
15773 else
15774 glibcxx_cv_atomic_long_long=yes
15775 fi
15776 fi
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15778 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15779 rm -f conftest*
15780
15781 fi
15782
15783 CXXFLAGS="$old_CXXFLAGS"
15784 ac_ext=c
15785 ac_cpp='$CPP $CPPFLAGS'
15786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15789
15790
15791 # Set atomicity_dir to builtins if all but the long long test above passes,
15792 # or if the builtins were already chosen (e.g. by configure.host).
15793 if { test "$glibcxx_cv_atomic_bool" = yes \
15794 && test "$glibcxx_cv_atomic_short" = yes \
15795 && test "$glibcxx_cv_atomic_int" = yes; } \
15796 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15797
15798 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15799
15800 atomicity_dir=cpu/generic/atomicity_builtins
15801 fi
15802
15803 # If still generic, set to mutex.
15804 if test $atomicity_dir = "cpu/generic" ; then
15805 atomicity_dir=cpu/generic/atomicity_mutex
15806 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15807 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15808 if test "x$target_thread_file" = xsingle; then
15809 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15810 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15811 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15812 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15813 else
15814 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15815 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15817 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15818 fi
15819 fi
15820
15821
15822
15823
15824
15825 # Check whether --with-libstdcxx-lock-policy was given.
15826 if test "${with_libstdcxx_lock_policy+set}" = set; then :
15827 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
15828 else
15829 libstdcxx_atomic_lock_policy=auto
15830 fi
15831
15832
15833 case "$libstdcxx_atomic_lock_policy" in
15834 atomic|mutex|auto) ;;
15835 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
15836 esac
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
15838 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
15839
15840 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
15841
15842 ac_ext=cpp
15843 ac_cpp='$CXXCPP $CPPFLAGS'
15844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15847
15848 ac_save_CXXFLAGS="$CXXFLAGS"
15849
15850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15851 /* end confdefs.h. */
15852
15853 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
15854 # error "No 2-byte compare-and-swap"
15855 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
15856 # error "No 4-byte compare-and-swap"
15857 #endif
15858
15859 int
15860 main ()
15861 {
15862
15863 ;
15864 return 0;
15865 }
15866 _ACEOF
15867 if ac_fn_cxx_try_compile "$LINENO"; then :
15868 libstdcxx_atomic_lock_policy=atomic
15869 else
15870 libstdcxx_atomic_lock_policy=mutex
15871 fi
15872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15873 ac_ext=c
15874 ac_cpp='$CPP $CPPFLAGS'
15875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15878
15879 CXXFLAGS="$ac_save_CXXFLAGS"
15880 fi
15881
15882 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
15884 $as_echo "atomic" >&6; }
15885
15886 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
15887
15888 else
15889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
15890 $as_echo "mutex" >&6; }
15891 fi
15892
15893
15894
15895
15896 # Fake what AC_TRY_COMPILE does, without linking as this is
15897 # unnecessary for this test.
15898
15899 cat > conftest.$ac_ext << EOF
15900 #line 15900 "configure"
15901 int main()
15902 {
15903 _Decimal32 d1;
15904 _Decimal64 d2;
15905 _Decimal128 d3;
15906 return 0;
15907 }
15908 EOF
15909
15910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15911 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15912 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15913 (eval $ac_compile) 2>&5
15914 ac_status=$?
15915 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15916 test $ac_status = 0; }; then
15917
15918 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15919
15920 enable_dfp=yes
15921 else
15922 enable_dfp=no
15923 fi
15924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15925 $as_echo "$enable_dfp" >&6; }
15926 rm -f conftest*
15927
15928
15929
15930
15931 ac_ext=cpp
15932 ac_cpp='$CXXCPP $CPPFLAGS'
15933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15936
15937
15938 # Fake what AC_TRY_COMPILE does, without linking as this is
15939 # unnecessary for this test.
15940
15941 cat > conftest.$ac_ext << EOF
15942 #line 15942 "configure"
15943 template<typename T1, typename T2>
15944 struct same
15945 { typedef T2 type; };
15946
15947 template<typename T>
15948 struct same<T, T>;
15949
15950 int main()
15951 {
15952 typename same<long, __int128>::type i1;
15953 typename same<long long, __int128>::type i2;
15954 }
15955 EOF
15956
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15958 $as_echo_n "checking for __int128... " >&6; }
15959 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15960 (eval $ac_compile) 2>&5
15961 ac_status=$?
15962 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15963 test $ac_status = 0; }; then
15964
15965 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15966
15967 enable_int128=yes
15968 else
15969 enable_int128=no
15970 fi
15971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15972 $as_echo "$enable_int128" >&6; }
15973 rm -f conftest*
15974
15975 cat > conftest.$ac_ext << EOF
15976 #line 15976 "configure"
15977 template<typename T1, typename T2>
15978 struct same
15979 { typedef T2 type; };
15980
15981 template<typename T>
15982 struct same<T, T>;
15983
15984 int main()
15985 {
15986 typename same<double, __float128>::type f1;
15987 typename same<long double, __float128>::type f2;
15988 }
15989 EOF
15990
15991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15992 $as_echo_n "checking for __float128... " >&6; }
15993 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15994 (eval $ac_compile) 2>&5
15995 ac_status=$?
15996 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15997 test $ac_status = 0; }; then
15998 enable_float128=yes
15999 else
16000 enable_float128=no
16001 fi
16002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16003 $as_echo "$enable_float128" >&6; }
16004
16005 rm -f conftest*
16006
16007 ac_ext=c
16008 ac_cpp='$CPP $CPPFLAGS'
16009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16012
16013
16014 if test "$enable_float128" = yes; then
16015 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16016 fi
16017
16018 # Checks for compiler support that doesn't require linking.
16019
16020 # All these tests are for C++; save the language and the compiler flags.
16021 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16022 # found in GLIBCXX_CONFIGURE.
16023
16024 ac_ext=cpp
16025 ac_cpp='$CXXCPP $CPPFLAGS'
16026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16029
16030 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16031 ac_save_CXXFLAGS="$CXXFLAGS"
16032
16033 # Check for -ffunction-sections -fdata-sections
16034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16035 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16036 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16038 /* end confdefs.h. */
16039 int foo; void bar() { };
16040 int
16041 main ()
16042 {
16043
16044 ;
16045 return 0;
16046 }
16047 _ACEOF
16048 if ac_fn_cxx_try_compile "$LINENO"; then :
16049 ac_fdsections=yes
16050 else
16051 ac_fdsections=no
16052 fi
16053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16054 if test "$ac_test_CXXFLAGS" = set; then
16055 CXXFLAGS="$ac_save_CXXFLAGS"
16056 else
16057 # this is the suspicious part
16058 CXXFLAGS=''
16059 fi
16060 if test x"$ac_fdsections" = x"yes"; then
16061 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16062 fi
16063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16064 $as_echo "$ac_fdsections" >&6; }
16065
16066 ac_ext=c
16067 ac_cpp='$CPP $CPPFLAGS'
16068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16071
16072
16073
16074
16075 # Enable all the variable C++ runtime options that don't require linking.
16076
16077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16078 $as_echo_n "checking for underlying I/O to use... " >&6; }
16079 # Check whether --enable-cstdio was given.
16080 if test "${enable_cstdio+set}" = set; then :
16081 enableval=$enable_cstdio;
16082 case "$enableval" in
16083 stdio) ;;
16084 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16085 esac
16086
16087 else
16088 enable_cstdio=stdio
16089 fi
16090
16091
16092
16093 # Now that libio has been removed, you can have any color you want as long
16094 # as it's black. This is one big no-op until other packages are added, but
16095 # showing the framework never hurts.
16096 case ${enable_cstdio} in
16097 stdio)
16098 CSTDIO_H=config/io/c_io_stdio.h
16099 BASIC_FILE_H=config/io/basic_file_stdio.h
16100 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16102 $as_echo "stdio" >&6; }
16103 ;;
16104 esac
16105
16106
16107
16108
16109
16110
16111 # Check whether --enable-clocale was given.
16112 if test "${enable_clocale+set}" = set; then :
16113 enableval=$enable_clocale;
16114 case "$enableval" in
16115 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16116 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16117 esac
16118
16119 else
16120 enable_clocale=auto
16121 fi
16122
16123
16124
16125 # Deal with gettext issues. Default to not using it (=no) until we detect
16126 # support for it later. Let the user turn it off via --e/d, but let that
16127 # default to on for easier handling.
16128 USE_NLS=no
16129 # Check whether --enable-nls was given.
16130 if test "${enable_nls+set}" = set; then :
16131 enableval=$enable_nls;
16132 else
16133 enable_nls=yes
16134 fi
16135
16136
16137 # Either a known package, or "auto"
16138 if test $enable_clocale = no || test $enable_clocale = yes; then
16139 enable_clocale=auto
16140 fi
16141 enable_clocale_flag=$enable_clocale
16142
16143 # Probe for locale model to use if none specified.
16144 # Default to "generic".
16145 if test $enable_clocale_flag = auto; then
16146 case ${target_os} in
16147 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16148 enable_clocale_flag=gnu
16149 ;;
16150 darwin*)
16151 enable_clocale_flag=darwin
16152 ;;
16153 dragonfly* | freebsd*)
16154 enable_clocale_flag=dragonfly
16155 ;;
16156 openbsd*)
16157 enable_clocale_flag=newlib
16158 ;;
16159 *)
16160 if test x"$with_newlib" = x"yes"; then
16161 enable_clocale_flag=newlib
16162 else
16163 enable_clocale_flag=generic
16164 fi
16165 ;;
16166 esac
16167 fi
16168
16169 # Sanity check model, and test for special functionality.
16170 if test $enable_clocale_flag = gnu; then
16171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16172 /* end confdefs.h. */
16173
16174 #include <features.h>
16175 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16176 _GLIBCXX_ok
16177 #endif
16178
16179 _ACEOF
16180 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16181 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16182 enable_clocale_flag=gnu
16183 else
16184 enable_clocale_flag=generic
16185 fi
16186 rm -f conftest*
16187
16188
16189 # Set it to scream when it hurts.
16190 ac_save_CFLAGS="$CFLAGS"
16191 CFLAGS="-Wimplicit-function-declaration -Werror"
16192
16193 # Use strxfrm_l if available.
16194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16195 /* end confdefs.h. */
16196 #define _GNU_SOURCE 1
16197 #include <string.h>
16198 #include <locale.h>
16199 int
16200 main ()
16201 {
16202 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16203 ;
16204 return 0;
16205 }
16206 _ACEOF
16207 if ac_fn_c_try_compile "$LINENO"; then :
16208
16209 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16210
16211 fi
16212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16213
16214 # Use strerror_l if available.
16215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16216 /* end confdefs.h. */
16217 #define _GNU_SOURCE 1
16218 #include <string.h>
16219 #include <locale.h>
16220 int
16221 main ()
16222 {
16223 __locale_t loc; strerror_l(5, loc);
16224 ;
16225 return 0;
16226 }
16227 _ACEOF
16228 if ac_fn_c_try_compile "$LINENO"; then :
16229
16230 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16231
16232 fi
16233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16234
16235 CFLAGS="$ac_save_CFLAGS"
16236 fi
16237
16238 # Perhaps use strerror_r if available, and strerror_l isn't.
16239 ac_save_CFLAGS="$CFLAGS"
16240 CFLAGS="-Wimplicit-function-declaration -Werror"
16241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16242 /* end confdefs.h. */
16243 #define _GNU_SOURCE 1
16244 #include <string.h>
16245 #include <locale.h>
16246 int
16247 main ()
16248 {
16249 char s[128]; strerror_r(5, s, 128);
16250 ;
16251 return 0;
16252 }
16253 _ACEOF
16254 if ac_fn_c_try_compile "$LINENO"; then :
16255
16256 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16257
16258 fi
16259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16260 CFLAGS="$ac_save_CFLAGS"
16261
16262 # Set configure bits for specified locale package
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16264 $as_echo_n "checking for C locale to use... " >&6; }
16265 case ${enable_clocale_flag} in
16266 generic)
16267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16268 $as_echo "generic" >&6; }
16269
16270 CLOCALE_H=config/locale/generic/c_locale.h
16271 CLOCALE_CC=config/locale/generic/c_locale.cc
16272 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16273 CCOLLATE_CC=config/locale/generic/collate_members.cc
16274 CCTYPE_CC=config/locale/generic/ctype_members.cc
16275 CMESSAGES_H=config/locale/generic/messages_members.h
16276 CMESSAGES_CC=config/locale/generic/messages_members.cc
16277 CMONEY_CC=config/locale/generic/monetary_members.cc
16278 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16279 CTIME_H=config/locale/generic/time_members.h
16280 CTIME_CC=config/locale/generic/time_members.cc
16281 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16282 ;;
16283 darwin)
16284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16285 $as_echo "darwin" >&6; }
16286
16287 CLOCALE_H=config/locale/generic/c_locale.h
16288 CLOCALE_CC=config/locale/generic/c_locale.cc
16289 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16290 CCOLLATE_CC=config/locale/generic/collate_members.cc
16291 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16292 CMESSAGES_H=config/locale/generic/messages_members.h
16293 CMESSAGES_CC=config/locale/generic/messages_members.cc
16294 CMONEY_CC=config/locale/generic/monetary_members.cc
16295 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16296 CTIME_H=config/locale/generic/time_members.h
16297 CTIME_CC=config/locale/generic/time_members.cc
16298 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16299 ;;
16300
16301 dragonfly)
16302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16303 $as_echo "dragonfly or freebsd" >&6; }
16304
16305 CLOCALE_H=config/locale/dragonfly/c_locale.h
16306 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16307 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16308 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16309 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16310 CMESSAGES_H=config/locale/generic/messages_members.h
16311 CMESSAGES_CC=config/locale/generic/messages_members.cc
16312 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16313 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16314 CTIME_H=config/locale/dragonfly/time_members.h
16315 CTIME_CC=config/locale/dragonfly/time_members.cc
16316 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16317 ;;
16318
16319 gnu)
16320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16321 $as_echo "gnu" >&6; }
16322
16323 # Declare intention to use gettext, and add support for specific
16324 # languages.
16325 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16326 ALL_LINGUAS="de fr"
16327
16328 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16329 # Extract the first word of "msgfmt", so it can be a program name with args.
16330 set dummy msgfmt; ac_word=$2
16331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16332 $as_echo_n "checking for $ac_word... " >&6; }
16333 if ${ac_cv_prog_check_msgfmt+:} false; then :
16334 $as_echo_n "(cached) " >&6
16335 else
16336 if test -n "$check_msgfmt"; then
16337 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16338 else
16339 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16340 for as_dir in $PATH
16341 do
16342 IFS=$as_save_IFS
16343 test -z "$as_dir" && as_dir=.
16344 for ac_exec_ext in '' $ac_executable_extensions; do
16345 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16346 ac_cv_prog_check_msgfmt="yes"
16347 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16348 break 2
16349 fi
16350 done
16351 done
16352 IFS=$as_save_IFS
16353
16354 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16355 fi
16356 fi
16357 check_msgfmt=$ac_cv_prog_check_msgfmt
16358 if test -n "$check_msgfmt"; then
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16360 $as_echo "$check_msgfmt" >&6; }
16361 else
16362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16363 $as_echo "no" >&6; }
16364 fi
16365
16366
16367 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16368 USE_NLS=yes
16369 fi
16370 # Export the build objects.
16371 for ling in $ALL_LINGUAS; do \
16372 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16373 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16374 done
16375
16376
16377
16378 CLOCALE_H=config/locale/gnu/c_locale.h
16379 CLOCALE_CC=config/locale/gnu/c_locale.cc
16380 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16381 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16382 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16383 CMESSAGES_H=config/locale/gnu/messages_members.h
16384 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16385 CMONEY_CC=config/locale/gnu/monetary_members.cc
16386 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16387 CTIME_H=config/locale/gnu/time_members.h
16388 CTIME_CC=config/locale/gnu/time_members.cc
16389 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16390 ;;
16391 ieee_1003.1-2001)
16392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16393 $as_echo "IEEE 1003.1" >&6; }
16394
16395 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16396 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16397 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16398 CCOLLATE_CC=config/locale/generic/collate_members.cc
16399 CCTYPE_CC=config/locale/generic/ctype_members.cc
16400 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16401 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16402 CMONEY_CC=config/locale/generic/monetary_members.cc
16403 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16404 CTIME_H=config/locale/generic/time_members.h
16405 CTIME_CC=config/locale/generic/time_members.cc
16406 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16407 ;;
16408 newlib)
16409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16410 $as_echo "newlib" >&6; }
16411
16412 CLOCALE_H=config/locale/generic/c_locale.h
16413 CLOCALE_CC=config/locale/generic/c_locale.cc
16414 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16415 CCOLLATE_CC=config/locale/generic/collate_members.cc
16416 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16417 CMESSAGES_H=config/locale/generic/messages_members.h
16418 CMESSAGES_CC=config/locale/generic/messages_members.cc
16419 CMONEY_CC=config/locale/generic/monetary_members.cc
16420 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16421 CTIME_H=config/locale/generic/time_members.h
16422 CTIME_CC=config/locale/generic/time_members.cc
16423 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16424 ;;
16425 esac
16426
16427 # This is where the testsuite looks for locale catalogs, using the
16428 # -DLOCALEDIR define during testsuite compilation.
16429 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16430
16431
16432 # A standalone libintl (e.g., GNU libintl) may be in use.
16433 if test $USE_NLS = yes; then
16434 for ac_header in libintl.h
16435 do :
16436 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16437 if test "x$ac_cv_header_libintl_h" = xyes; then :
16438 cat >>confdefs.h <<_ACEOF
16439 #define HAVE_LIBINTL_H 1
16440 _ACEOF
16441
16442 else
16443 USE_NLS=no
16444 fi
16445
16446 done
16447
16448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16449 $as_echo_n "checking for library containing gettext... " >&6; }
16450 if ${ac_cv_search_gettext+:} false; then :
16451 $as_echo_n "(cached) " >&6
16452 else
16453 ac_func_search_save_LIBS=$LIBS
16454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16456
16457 /* Override any GCC internal prototype to avoid an error.
16458 Use char because int might match the return type of a GCC
16459 builtin and then its argument prototype would still apply. */
16460 #ifdef __cplusplus
16461 extern "C"
16462 #endif
16463 char gettext ();
16464 int
16465 main ()
16466 {
16467 return gettext ();
16468 ;
16469 return 0;
16470 }
16471 _ACEOF
16472 for ac_lib in '' intl; do
16473 if test -z "$ac_lib"; then
16474 ac_res="none required"
16475 else
16476 ac_res=-l$ac_lib
16477 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16478 fi
16479 if test x$gcc_no_link = xyes; then
16480 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16481 fi
16482 if ac_fn_c_try_link "$LINENO"; then :
16483 ac_cv_search_gettext=$ac_res
16484 fi
16485 rm -f core conftest.err conftest.$ac_objext \
16486 conftest$ac_exeext
16487 if ${ac_cv_search_gettext+:} false; then :
16488 break
16489 fi
16490 done
16491 if ${ac_cv_search_gettext+:} false; then :
16492
16493 else
16494 ac_cv_search_gettext=no
16495 fi
16496 rm conftest.$ac_ext
16497 LIBS=$ac_func_search_save_LIBS
16498 fi
16499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16500 $as_echo "$ac_cv_search_gettext" >&6; }
16501 ac_res=$ac_cv_search_gettext
16502 if test "$ac_res" != no; then :
16503 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16504
16505 else
16506 USE_NLS=no
16507 fi
16508
16509 fi
16510 if test $USE_NLS = yes; then
16511
16512 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16513
16514 fi
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530
16531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16532 $as_echo_n "checking for std::allocator base class... " >&6; }
16533 # Check whether --enable-libstdcxx-allocator was given.
16534 if test "${enable_libstdcxx_allocator+set}" = set; then :
16535 enableval=$enable_libstdcxx_allocator;
16536 case "$enableval" in
16537 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16538 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16539 esac
16540
16541 else
16542 enable_libstdcxx_allocator=auto
16543 fi
16544
16545
16546
16547 # If they didn't use this option switch, or if they specified --enable
16548 # with no specific model, we'll have to look for one. If they
16549 # specified --disable (???), do likewise.
16550 if test $enable_libstdcxx_allocator = no ||
16551 test $enable_libstdcxx_allocator = yes;
16552 then
16553 enable_libstdcxx_allocator=auto
16554 fi
16555
16556 # Either a known package, or "auto". Auto implies the default choice
16557 # for a particular platform.
16558 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16559
16560 # Probe for host-specific support if no specific model is specified.
16561 # Default to "new".
16562 if test $enable_libstdcxx_allocator_flag = auto; then
16563 case ${target_os} in
16564 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16565 enable_libstdcxx_allocator_flag=new
16566 ;;
16567 *)
16568 enable_libstdcxx_allocator_flag=new
16569 ;;
16570 esac
16571 fi
16572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16573 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16574
16575
16576 # Set configure bits for specified locale package
16577 case ${enable_libstdcxx_allocator_flag} in
16578 bitmap)
16579 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16580 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16581 ;;
16582 malloc)
16583 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16584 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16585 ;;
16586 mt)
16587 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16588 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16589 ;;
16590 new)
16591 ALLOCATOR_H=config/allocator/new_allocator_base.h
16592 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16593 ;;
16594 pool)
16595 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16596 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16597 ;;
16598 esac
16599
16600
16601
16602
16603
16604
16605 # Check whether --enable-cheaders was given.
16606 if test "${enable_cheaders+set}" = set; then :
16607 enableval=$enable_cheaders;
16608 case "$enableval" in
16609 c|c_std|c_global) ;;
16610 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16611 esac
16612
16613 else
16614 enable_cheaders=$c_model
16615 fi
16616
16617
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16619 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16620
16621 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16622
16623 # Allow overrides to configure.host here.
16624 if test $enable_cheaders = c_global; then
16625 c_compatibility=yes
16626 fi
16627
16628
16629
16630
16631
16632
16633
16634 # Check whether --enable-long-long was given.
16635 if test "${enable_long_long+set}" = set; then :
16636 enableval=$enable_long_long;
16637 case "$enableval" in
16638 yes|no) ;;
16639 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16640 esac
16641
16642 else
16643 enable_long_long=yes
16644 fi
16645
16646
16647 if test $enable_long_long = yes; then
16648
16649 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16650
16651 fi
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16653 $as_echo_n "checking for enabled long long specializations... " >&6; }
16654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16655 $as_echo "$enable_long_long" >&6; }
16656
16657
16658 # Check whether --enable-wchar_t was given.
16659 if test "${enable_wchar_t+set}" = set; then :
16660 enableval=$enable_wchar_t;
16661 case "$enableval" in
16662 yes|no) ;;
16663 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16664 esac
16665
16666 else
16667 enable_wchar_t=yes
16668 fi
16669
16670
16671
16672 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16673 for ac_header in wchar.h
16674 do :
16675 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16676 if test "x$ac_cv_header_wchar_h" = xyes; then :
16677 cat >>confdefs.h <<_ACEOF
16678 #define HAVE_WCHAR_H 1
16679 _ACEOF
16680 ac_has_wchar_h=yes
16681 else
16682 ac_has_wchar_h=no
16683 fi
16684
16685 done
16686
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16688 $as_echo_n "checking for mbstate_t... " >&6; }
16689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16690 /* end confdefs.h. */
16691 #include <wchar.h>
16692 int
16693 main ()
16694 {
16695 mbstate_t teststate;
16696 ;
16697 return 0;
16698 }
16699 _ACEOF
16700 if ac_fn_c_try_compile "$LINENO"; then :
16701 have_mbstate_t=yes
16702 else
16703 have_mbstate_t=no
16704 fi
16705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16707 $as_echo "$have_mbstate_t" >&6; }
16708 if test x"$have_mbstate_t" = xyes; then
16709
16710 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16711
16712 fi
16713
16714 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16715 # ac_has_wchar_h.
16716 for ac_header in wctype.h
16717 do :
16718 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16719 if test "x$ac_cv_header_wctype_h" = xyes; then :
16720 cat >>confdefs.h <<_ACEOF
16721 #define HAVE_WCTYPE_H 1
16722 _ACEOF
16723 ac_has_wctype_h=yes
16724 else
16725 ac_has_wctype_h=no
16726 fi
16727
16728 done
16729
16730
16731 if test x"$enable_wchar_t" = x"yes"; then
16732
16733
16734 ac_ext=cpp
16735 ac_cpp='$CXXCPP $CPPFLAGS'
16736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16739
16740
16741 if test x"$ac_has_wchar_h" = xyes &&
16742 test x"$ac_has_wctype_h" = xyes; then
16743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16744 /* end confdefs.h. */
16745 #include <wchar.h>
16746 #include <stddef.h>
16747 wint_t i;
16748 long l = WEOF;
16749 long j = WCHAR_MIN;
16750 long k = WCHAR_MAX;
16751 namespace test
16752 {
16753 using ::btowc;
16754 using ::fgetwc;
16755 using ::fgetws;
16756 using ::fputwc;
16757 using ::fputws;
16758 using ::fwide;
16759 using ::fwprintf;
16760 using ::fwscanf;
16761 using ::getwc;
16762 using ::getwchar;
16763 using ::mbrlen;
16764 using ::mbrtowc;
16765 using ::mbsinit;
16766 using ::mbsrtowcs;
16767 using ::putwc;
16768 using ::putwchar;
16769 using ::swprintf;
16770 using ::swscanf;
16771 using ::ungetwc;
16772 using ::vfwprintf;
16773 using ::vswprintf;
16774 using ::vwprintf;
16775 using ::wcrtomb;
16776 using ::wcscat;
16777 using ::wcschr;
16778 using ::wcscmp;
16779 using ::wcscoll;
16780 using ::wcscpy;
16781 using ::wcscspn;
16782 using ::wcsftime;
16783 using ::wcslen;
16784 using ::wcsncat;
16785 using ::wcsncmp;
16786 using ::wcsncpy;
16787 using ::wcspbrk;
16788 using ::wcsrchr;
16789 using ::wcsrtombs;
16790 using ::wcsspn;
16791 using ::wcsstr;
16792 using ::wcstod;
16793 using ::wcstok;
16794 using ::wcstol;
16795 using ::wcstoul;
16796 using ::wcsxfrm;
16797 using ::wctob;
16798 using ::wmemchr;
16799 using ::wmemcmp;
16800 using ::wmemcpy;
16801 using ::wmemmove;
16802 using ::wmemset;
16803 using ::wprintf;
16804 using ::wscanf;
16805 }
16806
16807 int
16808 main ()
16809 {
16810
16811 ;
16812 return 0;
16813 }
16814 _ACEOF
16815 if ac_fn_cxx_try_compile "$LINENO"; then :
16816
16817 else
16818 enable_wchar_t=no
16819 fi
16820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16821 else
16822 enable_wchar_t=no
16823 fi
16824
16825 ac_ext=c
16826 ac_cpp='$CPP $CPPFLAGS'
16827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16830
16831 fi
16832
16833 if test x"$enable_wchar_t" = x"yes"; then
16834
16835 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16836
16837 fi
16838
16839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16840 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16842 $as_echo "$enable_wchar_t" >&6; }
16843
16844
16845
16846 # Check whether --enable-c99 was given.
16847 if test "${enable_c99+set}" = set; then :
16848 enableval=$enable_c99;
16849 case "$enableval" in
16850 yes|no) ;;
16851 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16852 esac
16853
16854 else
16855 enable_c99=yes
16856 fi
16857
16858
16859
16860 if test x"$enable_c99" = x"yes"; then
16861
16862 ac_ext=cpp
16863 ac_cpp='$CXXCPP $CPPFLAGS'
16864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16867
16868
16869 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16870 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16871 # to be spuriously enabled.
16872 ac_save_CXXFLAGS="$CXXFLAGS"
16873 CXXFLAGS="$CXXFLAGS -std=c++98"
16874 ac_save_LIBS="$LIBS"
16875 ac_save_gcc_no_link="$gcc_no_link"
16876
16877 if test x$gcc_no_link != xyes; then
16878 # Use -fno-exceptions to that the C driver can link these tests without
16879 # hitting undefined references to personality routines.
16880 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16882 $as_echo_n "checking for sin in -lm... " >&6; }
16883 if ${ac_cv_lib_m_sin+:} false; then :
16884 $as_echo_n "(cached) " >&6
16885 else
16886 ac_check_lib_save_LIBS=$LIBS
16887 LIBS="-lm $LIBS"
16888 if test x$gcc_no_link = xyes; then
16889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16890 fi
16891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16892 /* end confdefs.h. */
16893
16894 /* Override any GCC internal prototype to avoid an error.
16895 Use char because int might match the return type of a GCC
16896 builtin and then its argument prototype would still apply. */
16897 #ifdef __cplusplus
16898 extern "C"
16899 #endif
16900 char sin ();
16901 int
16902 main ()
16903 {
16904 return sin ();
16905 ;
16906 return 0;
16907 }
16908 _ACEOF
16909 if ac_fn_cxx_try_link "$LINENO"; then :
16910 ac_cv_lib_m_sin=yes
16911 else
16912 ac_cv_lib_m_sin=no
16913 fi
16914 rm -f core conftest.err conftest.$ac_objext \
16915 conftest$ac_exeext conftest.$ac_ext
16916 LIBS=$ac_check_lib_save_LIBS
16917 fi
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16919 $as_echo "$ac_cv_lib_m_sin" >&6; }
16920 if test "x$ac_cv_lib_m_sin" = xyes; then :
16921 LIBS="$LIBS -lm"
16922 else
16923
16924 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16925 gcc_no_link=yes
16926
16927 fi
16928
16929 fi
16930
16931 # Check for the existence of <math.h> functions used if C99 is enabled.
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16933 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16934 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
16935 $as_echo_n "(cached) " >&6
16936 else
16937
16938 if test x$gcc_no_link = xyes; then
16939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16940 /* end confdefs.h. */
16941 #include <math.h>
16942 volatile double d1, d2;
16943 volatile int i;
16944 int
16945 main ()
16946 {
16947 i = fpclassify(d1);
16948 i = isfinite(d1);
16949 i = isinf(d1);
16950 i = isnan(d1);
16951 i = isnormal(d1);
16952 i = signbit(d1);
16953 i = isgreater(d1, d2);
16954 i = isgreaterequal(d1, d2);
16955 i = isless(d1, d2);
16956 i = islessequal(d1, d2);
16957 i = islessgreater(d1, d2);
16958 i = islessgreater(d1, d2);
16959 i = isunordered(d1, d2);
16960
16961 ;
16962 return 0;
16963 }
16964 _ACEOF
16965 if ac_fn_cxx_try_compile "$LINENO"; then :
16966 glibcxx_cv_c99_math_cxx98=yes
16967 else
16968 glibcxx_cv_c99_math_cxx98=no
16969 fi
16970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16971 else
16972 if test x$gcc_no_link = xyes; then
16973 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16974 fi
16975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16976 /* end confdefs.h. */
16977 #include <math.h>
16978 volatile double d1, d2;
16979 volatile int i;
16980 int
16981 main ()
16982 {
16983 i = fpclassify(d1);
16984 i = isfinite(d1);
16985 i = isinf(d1);
16986 i = isnan(d1);
16987 i = isnormal(d1);
16988 i = signbit(d1);
16989 i = isgreater(d1, d2);
16990 i = isgreaterequal(d1, d2);
16991 i = isless(d1, d2);
16992 i = islessequal(d1, d2);
16993 i = islessgreater(d1, d2);
16994 i = islessgreater(d1, d2);
16995 i = isunordered(d1, d2);
16996
16997 ;
16998 return 0;
16999 }
17000 _ACEOF
17001 if ac_fn_cxx_try_link "$LINENO"; then :
17002 glibcxx_cv_c99_math_cxx98=yes
17003 else
17004 glibcxx_cv_c99_math_cxx98=no
17005 fi
17006 rm -f core conftest.err conftest.$ac_objext \
17007 conftest$ac_exeext conftest.$ac_ext
17008 fi
17009
17010 fi
17011
17012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17013 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17014 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17015
17016 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17017
17018 fi
17019
17020 # Check for the existence of <complex.h> complex math functions.
17021 # This is necessary even though libstdc++ uses the builtin versions
17022 # of these functions, because if the builtin cannot be used, a reference
17023 # to the library function is emitted.
17024 for ac_header in tgmath.h
17025 do :
17026 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17027 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17028 cat >>confdefs.h <<_ACEOF
17029 #define HAVE_TGMATH_H 1
17030 _ACEOF
17031 ac_has_tgmath_h=yes
17032 else
17033 ac_has_tgmath_h=no
17034 fi
17035
17036 done
17037
17038 for ac_header in complex.h
17039 do :
17040 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17041 if test "x$ac_cv_header_complex_h" = xyes; then :
17042 cat >>confdefs.h <<_ACEOF
17043 #define HAVE_COMPLEX_H 1
17044 _ACEOF
17045 ac_has_complex_h=yes
17046 else
17047 ac_has_complex_h=no
17048 fi
17049
17050 done
17051
17052 if test x"$ac_has_complex_h" = x"yes"; then
17053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17054 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17055 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17056 $as_echo_n "(cached) " >&6
17057 else
17058
17059 if test x$gcc_no_link = xyes; then
17060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17061 /* end confdefs.h. */
17062 #include <complex.h>
17063 typedef __complex__ float float_type;
17064 typedef __complex__ double double_type;
17065 typedef __complex__ long double ld_type;
17066 volatile float_type tmpf;
17067 volatile double_type tmpd;
17068 volatile ld_type tmpld;
17069 volatile float f;
17070 volatile double d;
17071 volatile long double ld;
17072 int
17073 main ()
17074 {
17075 f = cabsf(tmpf);
17076 f = cargf(tmpf);
17077 tmpf = ccosf(tmpf);
17078 tmpf = ccoshf(tmpf);
17079 tmpf = cexpf(tmpf);
17080 tmpf = clogf(tmpf);
17081 tmpf = csinf(tmpf);
17082 tmpf = csinhf(tmpf);
17083 tmpf = csqrtf(tmpf);
17084 tmpf = ctanf(tmpf);
17085 tmpf = ctanhf(tmpf);
17086 tmpf = cpowf(tmpf, tmpf);
17087 tmpf = cprojf(tmpf);
17088 d = cabs(tmpd);
17089 d = carg(tmpd);
17090 tmpd = ccos(tmpd);
17091 tmpd = ccosh(tmpd);
17092 tmpd = cexp(tmpd);
17093 tmpd = clog(tmpd);
17094 tmpd = csin(tmpd);
17095 tmpd = csinh(tmpd);
17096 tmpd = csqrt(tmpd);
17097 tmpd = ctan(tmpd);
17098 tmpd = ctanh(tmpd);
17099 tmpd = cpow(tmpd, tmpd);
17100 tmpd = cproj(tmpd);
17101 ld = cabsl(tmpld);
17102 ld = cargl(tmpld);
17103 tmpld = ccosl(tmpld);
17104 tmpld = ccoshl(tmpld);
17105 tmpld = cexpl(tmpld);
17106 tmpld = clogl(tmpld);
17107 tmpld = csinl(tmpld);
17108 tmpld = csinhl(tmpld);
17109 tmpld = csqrtl(tmpld);
17110 tmpld = ctanl(tmpld);
17111 tmpld = ctanhl(tmpld);
17112 tmpld = cpowl(tmpld, tmpld);
17113 tmpld = cprojl(tmpld);
17114
17115 ;
17116 return 0;
17117 }
17118 _ACEOF
17119 if ac_fn_cxx_try_compile "$LINENO"; then :
17120 glibcxx_cv_c99_complex_cxx98=yes
17121 else
17122 glibcxx_cv_c99_complex_cxx98=no
17123 fi
17124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17125 else
17126 if test x$gcc_no_link = xyes; then
17127 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17128 fi
17129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17130 /* end confdefs.h. */
17131 #include <complex.h>
17132 typedef __complex__ float float_type;
17133 typedef __complex__ double double_type;
17134 typedef __complex__ long double ld_type;
17135 volatile float_type tmpf;
17136 volatile double_type tmpd;
17137 volatile ld_type tmpld;
17138 volatile float f;
17139 volatile double d;
17140 volatile long double ld;
17141 int
17142 main ()
17143 {
17144 f = cabsf(tmpf);
17145 f = cargf(tmpf);
17146 tmpf = ccosf(tmpf);
17147 tmpf = ccoshf(tmpf);
17148 tmpf = cexpf(tmpf);
17149 tmpf = clogf(tmpf);
17150 tmpf = csinf(tmpf);
17151 tmpf = csinhf(tmpf);
17152 tmpf = csqrtf(tmpf);
17153 tmpf = ctanf(tmpf);
17154 tmpf = ctanhf(tmpf);
17155 tmpf = cpowf(tmpf, tmpf);
17156 tmpf = cprojf(tmpf);
17157 d = cabs(tmpd);
17158 d = carg(tmpd);
17159 tmpd = ccos(tmpd);
17160 tmpd = ccosh(tmpd);
17161 tmpd = cexp(tmpd);
17162 tmpd = clog(tmpd);
17163 tmpd = csin(tmpd);
17164 tmpd = csinh(tmpd);
17165 tmpd = csqrt(tmpd);
17166 tmpd = ctan(tmpd);
17167 tmpd = ctanh(tmpd);
17168 tmpd = cpow(tmpd, tmpd);
17169 tmpd = cproj(tmpd);
17170 ld = cabsl(tmpld);
17171 ld = cargl(tmpld);
17172 tmpld = ccosl(tmpld);
17173 tmpld = ccoshl(tmpld);
17174 tmpld = cexpl(tmpld);
17175 tmpld = clogl(tmpld);
17176 tmpld = csinl(tmpld);
17177 tmpld = csinhl(tmpld);
17178 tmpld = csqrtl(tmpld);
17179 tmpld = ctanl(tmpld);
17180 tmpld = ctanhl(tmpld);
17181 tmpld = cpowl(tmpld, tmpld);
17182 tmpld = cprojl(tmpld);
17183
17184 ;
17185 return 0;
17186 }
17187 _ACEOF
17188 if ac_fn_cxx_try_link "$LINENO"; then :
17189 glibcxx_cv_c99_complex_cxx98=yes
17190 else
17191 glibcxx_cv_c99_complex_cxx98=no
17192 fi
17193 rm -f core conftest.err conftest.$ac_objext \
17194 conftest$ac_exeext conftest.$ac_ext
17195 fi
17196
17197 fi
17198
17199 fi
17200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17201 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17202 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17203
17204 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17205
17206 fi
17207
17208 # Check for the existence in <stdio.h> of vscanf, et. al.
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17210 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17211 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17212 $as_echo_n "(cached) " >&6
17213 else
17214
17215 if test x$gcc_no_link = xyes; then
17216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17217 /* end confdefs.h. */
17218 #include <stdio.h>
17219 #include <stdarg.h>
17220 void foo(char* fmt, ...)
17221 {
17222 va_list args; va_start(args, fmt);
17223 vfscanf(stderr, "%i", args);
17224 vscanf("%i", args);
17225 vsnprintf(fmt, 0, "%i", args);
17226 vsscanf(fmt, "%i", args);
17227 snprintf(fmt, 0, "%i");
17228 }
17229 int
17230 main ()
17231 {
17232
17233 ;
17234 return 0;
17235 }
17236 _ACEOF
17237 if ac_fn_cxx_try_compile "$LINENO"; then :
17238 glibcxx_cv_c99_stdio_cxx98=yes
17239 else
17240 glibcxx_cv_c99_stdio_cxx98=no
17241 fi
17242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17243 else
17244 if test x$gcc_no_link = xyes; then
17245 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17246 fi
17247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17248 /* end confdefs.h. */
17249 #include <stdio.h>
17250 #include <stdarg.h>
17251 void foo(char* fmt, ...)
17252 {
17253 va_list args; va_start(args, fmt);
17254 vfscanf(stderr, "%i", args);
17255 vscanf("%i", args);
17256 vsnprintf(fmt, 0, "%i", args);
17257 vsscanf(fmt, "%i", args);
17258 snprintf(fmt, 0, "%i");
17259 }
17260 int
17261 main ()
17262 {
17263
17264 ;
17265 return 0;
17266 }
17267 _ACEOF
17268 if ac_fn_cxx_try_link "$LINENO"; then :
17269 glibcxx_cv_c99_stdio_cxx98=yes
17270 else
17271 glibcxx_cv_c99_stdio_cxx98=no
17272 fi
17273 rm -f core conftest.err conftest.$ac_objext \
17274 conftest$ac_exeext conftest.$ac_ext
17275 fi
17276
17277 fi
17278
17279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17280 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17281 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17282
17283 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17284
17285 fi
17286
17287 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17289 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17290 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17291 $as_echo_n "(cached) " >&6
17292 else
17293
17294 if test x$gcc_no_link = xyes; then
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17297 #include <stdlib.h>
17298 volatile float f;
17299 volatile long double ld;
17300 volatile unsigned long long ll;
17301 lldiv_t mydivt;
17302 int
17303 main ()
17304 {
17305 char* tmp;
17306 f = strtof("gnu", &tmp);
17307 ld = strtold("gnu", &tmp);
17308 ll = strtoll("gnu", &tmp, 10);
17309 ll = strtoull("gnu", &tmp, 10);
17310 ll = llabs(10);
17311 mydivt = lldiv(10,1);
17312 ll = mydivt.quot;
17313 ll = mydivt.rem;
17314 ll = atoll("10");
17315 _Exit(0);
17316
17317 ;
17318 return 0;
17319 }
17320 _ACEOF
17321 if ac_fn_cxx_try_compile "$LINENO"; then :
17322 glibcxx_cv_c99_stdlib_cxx98=yes
17323 else
17324 glibcxx_cv_c99_stdlib_cxx98=no
17325 fi
17326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17327 else
17328 if test x$gcc_no_link = xyes; then
17329 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17330 fi
17331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17332 /* end confdefs.h. */
17333 #include <stdlib.h>
17334 volatile float f;
17335 volatile long double ld;
17336 volatile unsigned long long ll;
17337 lldiv_t mydivt;
17338 int
17339 main ()
17340 {
17341 char* tmp;
17342 f = strtof("gnu", &tmp);
17343 ld = strtold("gnu", &tmp);
17344 ll = strtoll("gnu", &tmp, 10);
17345 ll = strtoull("gnu", &tmp, 10);
17346 ll = llabs(10);
17347 mydivt = lldiv(10,1);
17348 ll = mydivt.quot;
17349 ll = mydivt.rem;
17350 ll = atoll("10");
17351 _Exit(0);
17352
17353 ;
17354 return 0;
17355 }
17356 _ACEOF
17357 if ac_fn_cxx_try_link "$LINENO"; then :
17358 glibcxx_cv_c99_stdlib_cxx98=yes
17359 else
17360 glibcxx_cv_c99_stdlib_cxx98=no
17361 fi
17362 rm -f core conftest.err conftest.$ac_objext \
17363 conftest$ac_exeext conftest.$ac_ext
17364 fi
17365
17366 fi
17367
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17369 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17370 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17371
17372 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17373
17374 fi
17375
17376 # Check for the existence in <wchar.h> of wcstold, etc.
17377 if test x"$ac_has_wchar_h" = xyes &&
17378 test x"$ac_has_wctype_h" = xyes; then
17379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17380 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17381 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17382 $as_echo_n "(cached) " >&6
17383 else
17384
17385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17386 /* end confdefs.h. */
17387 #include <wchar.h>
17388 namespace test
17389 {
17390 using ::wcstold;
17391 using ::wcstoll;
17392 using ::wcstoull;
17393 }
17394
17395 int
17396 main ()
17397 {
17398
17399 ;
17400 return 0;
17401 }
17402 _ACEOF
17403 if ac_fn_cxx_try_compile "$LINENO"; then :
17404 glibcxx_cv_c99_wchar_cxx98=yes
17405 else
17406 glibcxx_cv_c99_wchar_cxx98=no
17407 fi
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17409
17410 fi
17411
17412
17413 # Checks for wide character functions that may not be present.
17414 # Injection of these is wrapped with guard macros.
17415 # NB: only put functions here, instead of immediately above, if
17416 # absolutely necessary.
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419 #include <wchar.h>
17420 namespace test { using ::vfwscanf; }
17421 int
17422 main ()
17423 {
17424
17425 ;
17426 return 0;
17427 }
17428 _ACEOF
17429 if ac_fn_cxx_try_compile "$LINENO"; then :
17430
17431 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17432
17433 fi
17434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17435
17436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17437 /* end confdefs.h. */
17438 #include <wchar.h>
17439 namespace test { using ::vswscanf; }
17440 int
17441 main ()
17442 {
17443
17444 ;
17445 return 0;
17446 }
17447 _ACEOF
17448 if ac_fn_cxx_try_compile "$LINENO"; then :
17449
17450 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17451
17452 fi
17453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17454
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17457 #include <wchar.h>
17458 namespace test { using ::vwscanf; }
17459 int
17460 main ()
17461 {
17462
17463 ;
17464 return 0;
17465 }
17466 _ACEOF
17467 if ac_fn_cxx_try_compile "$LINENO"; then :
17468
17469 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17470
17471 fi
17472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17473
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 #include <wchar.h>
17477 namespace test { using ::wcstof; }
17478 int
17479 main ()
17480 {
17481
17482 ;
17483 return 0;
17484 }
17485 _ACEOF
17486 if ac_fn_cxx_try_compile "$LINENO"; then :
17487
17488 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17489
17490 fi
17491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17492
17493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17495 #include <wctype.h>
17496 int
17497 main ()
17498 {
17499 wint_t t; int i = iswblank(t);
17500 ;
17501 return 0;
17502 }
17503 _ACEOF
17504 if ac_fn_cxx_try_compile "$LINENO"; then :
17505
17506 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17507
17508 fi
17509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17510
17511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17512 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17513 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17514
17515 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17516
17517 fi
17518 fi
17519
17520 # Option parsed, now set things appropriately.
17521 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17522 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17523 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17524 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17525 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17526 enable_c99=no;
17527 else
17528
17529 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17530
17531 fi
17532
17533 gcc_no_link="$ac_save_gcc_no_link"
17534 LIBS="$ac_save_LIBS"
17535 CXXFLAGS="$ac_save_CXXFLAGS"
17536 ac_ext=c
17537 ac_cpp='$CPP $CPPFLAGS'
17538 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17539 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17540 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17541
17542
17543
17544 ac_ext=cpp
17545 ac_cpp='$CXXCPP $CPPFLAGS'
17546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17549
17550
17551 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17552 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17553 ac_save_CXXFLAGS="$CXXFLAGS"
17554 CXXFLAGS="$CXXFLAGS -std=c++11"
17555 ac_save_LIBS="$LIBS"
17556 ac_save_gcc_no_link="$gcc_no_link"
17557
17558 if test x$gcc_no_link != xyes; then
17559 # Use -fno-exceptions to that the C driver can link these tests without
17560 # hitting undefined references to personality routines.
17561 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17563 $as_echo_n "checking for sin in -lm... " >&6; }
17564 if ${ac_cv_lib_m_sin+:} false; then :
17565 $as_echo_n "(cached) " >&6
17566 else
17567 ac_check_lib_save_LIBS=$LIBS
17568 LIBS="-lm $LIBS"
17569 if test x$gcc_no_link = xyes; then
17570 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17571 fi
17572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17573 /* end confdefs.h. */
17574
17575 /* Override any GCC internal prototype to avoid an error.
17576 Use char because int might match the return type of a GCC
17577 builtin and then its argument prototype would still apply. */
17578 #ifdef __cplusplus
17579 extern "C"
17580 #endif
17581 char sin ();
17582 int
17583 main ()
17584 {
17585 return sin ();
17586 ;
17587 return 0;
17588 }
17589 _ACEOF
17590 if ac_fn_cxx_try_link "$LINENO"; then :
17591 ac_cv_lib_m_sin=yes
17592 else
17593 ac_cv_lib_m_sin=no
17594 fi
17595 rm -f core conftest.err conftest.$ac_objext \
17596 conftest$ac_exeext conftest.$ac_ext
17597 LIBS=$ac_check_lib_save_LIBS
17598 fi
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17600 $as_echo "$ac_cv_lib_m_sin" >&6; }
17601 if test "x$ac_cv_lib_m_sin" = xyes; then :
17602 LIBS="$LIBS -lm"
17603 else
17604
17605 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17606 gcc_no_link=yes
17607
17608 fi
17609
17610 fi
17611
17612 # Check for the existence of <math.h> functions used if C99 is enabled.
17613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17614 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17615 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17616 $as_echo_n "(cached) " >&6
17617 else
17618
17619 if test x$gcc_no_link = xyes; then
17620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17621 /* end confdefs.h. */
17622 #include <math.h>
17623 volatile double d1, d2;
17624 volatile int i;
17625 int
17626 main ()
17627 {
17628 i = fpclassify(d1);
17629 i = isfinite(d1);
17630 i = isinf(d1);
17631 i = isnan(d1);
17632 i = isnormal(d1);
17633 i = signbit(d1);
17634 i = isgreater(d1, d2);
17635 i = isgreaterequal(d1, d2);
17636 i = isless(d1, d2);
17637 i = islessequal(d1, d2);
17638 i = islessgreater(d1, d2);
17639 i = islessgreater(d1, d2);
17640 i = isunordered(d1, d2);
17641
17642 ;
17643 return 0;
17644 }
17645 _ACEOF
17646 if ac_fn_cxx_try_compile "$LINENO"; then :
17647 glibcxx_cv_c99_math_cxx11=yes
17648 else
17649 glibcxx_cv_c99_math_cxx11=no
17650 fi
17651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17652 else
17653 if test x$gcc_no_link = xyes; then
17654 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17655 fi
17656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17657 /* end confdefs.h. */
17658 #include <math.h>
17659 volatile double d1, d2;
17660 volatile int i;
17661 int
17662 main ()
17663 {
17664 i = fpclassify(d1);
17665 i = isfinite(d1);
17666 i = isinf(d1);
17667 i = isnan(d1);
17668 i = isnormal(d1);
17669 i = signbit(d1);
17670 i = isgreater(d1, d2);
17671 i = isgreaterequal(d1, d2);
17672 i = isless(d1, d2);
17673 i = islessequal(d1, d2);
17674 i = islessgreater(d1, d2);
17675 i = islessgreater(d1, d2);
17676 i = isunordered(d1, d2);
17677
17678 ;
17679 return 0;
17680 }
17681 _ACEOF
17682 if ac_fn_cxx_try_link "$LINENO"; then :
17683 glibcxx_cv_c99_math_cxx11=yes
17684 else
17685 glibcxx_cv_c99_math_cxx11=no
17686 fi
17687 rm -f core conftest.err conftest.$ac_objext \
17688 conftest$ac_exeext conftest.$ac_ext
17689 fi
17690
17691 fi
17692
17693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17694 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17695 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17696
17697 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17698
17699 fi
17700
17701 # Check for the existence of <complex.h> complex math functions.
17702 # This is necessary even though libstdc++ uses the builtin versions
17703 # of these functions, because if the builtin cannot be used, a reference
17704 # to the library function is emitted.
17705 for ac_header in tgmath.h
17706 do :
17707 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17708 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17709 cat >>confdefs.h <<_ACEOF
17710 #define HAVE_TGMATH_H 1
17711 _ACEOF
17712 ac_has_tgmath_h=yes
17713 else
17714 ac_has_tgmath_h=no
17715 fi
17716
17717 done
17718
17719 for ac_header in complex.h
17720 do :
17721 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17722 if test "x$ac_cv_header_complex_h" = xyes; then :
17723 cat >>confdefs.h <<_ACEOF
17724 #define HAVE_COMPLEX_H 1
17725 _ACEOF
17726 ac_has_complex_h=yes
17727 else
17728 ac_has_complex_h=no
17729 fi
17730
17731 done
17732
17733 if test x"$ac_has_complex_h" = x"yes"; then
17734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17735 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17736 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17737 $as_echo_n "(cached) " >&6
17738 else
17739
17740 if test x$gcc_no_link = xyes; then
17741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17742 /* end confdefs.h. */
17743 #include <complex.h>
17744 typedef __complex__ float float_type;
17745 typedef __complex__ double double_type;
17746 typedef __complex__ long double ld_type;
17747 volatile float_type tmpf;
17748 volatile double_type tmpd;
17749 volatile ld_type tmpld;
17750 volatile float f;
17751 volatile double d;
17752 volatile long double ld;
17753 int
17754 main ()
17755 {
17756 f = cabsf(tmpf);
17757 f = cargf(tmpf);
17758 tmpf = ccosf(tmpf);
17759 tmpf = ccoshf(tmpf);
17760 tmpf = cexpf(tmpf);
17761 tmpf = clogf(tmpf);
17762 tmpf = csinf(tmpf);
17763 tmpf = csinhf(tmpf);
17764 tmpf = csqrtf(tmpf);
17765 tmpf = ctanf(tmpf);
17766 tmpf = ctanhf(tmpf);
17767 tmpf = cpowf(tmpf, tmpf);
17768 tmpf = cprojf(tmpf);
17769 d = cabs(tmpd);
17770 d = carg(tmpd);
17771 tmpd = ccos(tmpd);
17772 tmpd = ccosh(tmpd);
17773 tmpd = cexp(tmpd);
17774 tmpd = clog(tmpd);
17775 tmpd = csin(tmpd);
17776 tmpd = csinh(tmpd);
17777 tmpd = csqrt(tmpd);
17778 tmpd = ctan(tmpd);
17779 tmpd = ctanh(tmpd);
17780 tmpd = cpow(tmpd, tmpd);
17781 tmpd = cproj(tmpd);
17782 ld = cabsl(tmpld);
17783 ld = cargl(tmpld);
17784 tmpld = ccosl(tmpld);
17785 tmpld = ccoshl(tmpld);
17786 tmpld = cexpl(tmpld);
17787 tmpld = clogl(tmpld);
17788 tmpld = csinl(tmpld);
17789 tmpld = csinhl(tmpld);
17790 tmpld = csqrtl(tmpld);
17791 tmpld = ctanl(tmpld);
17792 tmpld = ctanhl(tmpld);
17793 tmpld = cpowl(tmpld, tmpld);
17794 tmpld = cprojl(tmpld);
17795
17796 ;
17797 return 0;
17798 }
17799 _ACEOF
17800 if ac_fn_cxx_try_compile "$LINENO"; then :
17801 glibcxx_cv_c99_complex_cxx11=yes
17802 else
17803 glibcxx_cv_c99_complex_cxx11=no
17804 fi
17805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17806 else
17807 if test x$gcc_no_link = xyes; then
17808 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17809 fi
17810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17811 /* end confdefs.h. */
17812 #include <complex.h>
17813 typedef __complex__ float float_type;
17814 typedef __complex__ double double_type;
17815 typedef __complex__ long double ld_type;
17816 volatile float_type tmpf;
17817 volatile double_type tmpd;
17818 volatile ld_type tmpld;
17819 volatile float f;
17820 volatile double d;
17821 volatile long double ld;
17822 int
17823 main ()
17824 {
17825 f = cabsf(tmpf);
17826 f = cargf(tmpf);
17827 tmpf = ccosf(tmpf);
17828 tmpf = ccoshf(tmpf);
17829 tmpf = cexpf(tmpf);
17830 tmpf = clogf(tmpf);
17831 tmpf = csinf(tmpf);
17832 tmpf = csinhf(tmpf);
17833 tmpf = csqrtf(tmpf);
17834 tmpf = ctanf(tmpf);
17835 tmpf = ctanhf(tmpf);
17836 tmpf = cpowf(tmpf, tmpf);
17837 tmpf = cprojf(tmpf);
17838 d = cabs(tmpd);
17839 d = carg(tmpd);
17840 tmpd = ccos(tmpd);
17841 tmpd = ccosh(tmpd);
17842 tmpd = cexp(tmpd);
17843 tmpd = clog(tmpd);
17844 tmpd = csin(tmpd);
17845 tmpd = csinh(tmpd);
17846 tmpd = csqrt(tmpd);
17847 tmpd = ctan(tmpd);
17848 tmpd = ctanh(tmpd);
17849 tmpd = cpow(tmpd, tmpd);
17850 tmpd = cproj(tmpd);
17851 ld = cabsl(tmpld);
17852 ld = cargl(tmpld);
17853 tmpld = ccosl(tmpld);
17854 tmpld = ccoshl(tmpld);
17855 tmpld = cexpl(tmpld);
17856 tmpld = clogl(tmpld);
17857 tmpld = csinl(tmpld);
17858 tmpld = csinhl(tmpld);
17859 tmpld = csqrtl(tmpld);
17860 tmpld = ctanl(tmpld);
17861 tmpld = ctanhl(tmpld);
17862 tmpld = cpowl(tmpld, tmpld);
17863 tmpld = cprojl(tmpld);
17864
17865 ;
17866 return 0;
17867 }
17868 _ACEOF
17869 if ac_fn_cxx_try_link "$LINENO"; then :
17870 glibcxx_cv_c99_complex_cxx11=yes
17871 else
17872 glibcxx_cv_c99_complex_cxx11=no
17873 fi
17874 rm -f core conftest.err conftest.$ac_objext \
17875 conftest$ac_exeext conftest.$ac_ext
17876 fi
17877
17878 fi
17879
17880 fi
17881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17882 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17883 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17884
17885 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17886
17887 fi
17888
17889 # Check for the existence in <stdio.h> of vscanf, et. al.
17890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17891 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17892 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
17893 $as_echo_n "(cached) " >&6
17894 else
17895
17896 if test x$gcc_no_link = xyes; then
17897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17898 /* end confdefs.h. */
17899 #include <stdio.h>
17900 #include <stdarg.h>
17901 void foo(char* fmt, ...)
17902 {
17903 va_list args; va_start(args, fmt);
17904 vfscanf(stderr, "%i", args);
17905 vscanf("%i", args);
17906 vsnprintf(fmt, 0, "%i", args);
17907 vsscanf(fmt, "%i", args);
17908 snprintf(fmt, 0, "%i");
17909 }
17910 int
17911 main ()
17912 {
17913
17914 ;
17915 return 0;
17916 }
17917 _ACEOF
17918 if ac_fn_cxx_try_compile "$LINENO"; then :
17919 glibcxx_cv_c99_stdio_cxx11=yes
17920 else
17921 glibcxx_cv_c99_stdio_cxx11=no
17922 fi
17923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17924 else
17925 if test x$gcc_no_link = xyes; then
17926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17927 fi
17928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17929 /* end confdefs.h. */
17930 #include <stdio.h>
17931 #include <stdarg.h>
17932 void foo(char* fmt, ...)
17933 {
17934 va_list args; va_start(args, fmt);
17935 vfscanf(stderr, "%i", args);
17936 vscanf("%i", args);
17937 vsnprintf(fmt, 0, "%i", args);
17938 vsscanf(fmt, "%i", args);
17939 snprintf(fmt, 0, "%i");
17940 }
17941 int
17942 main ()
17943 {
17944
17945 ;
17946 return 0;
17947 }
17948 _ACEOF
17949 if ac_fn_cxx_try_link "$LINENO"; then :
17950 glibcxx_cv_c99_stdio_cxx11=yes
17951 else
17952 glibcxx_cv_c99_stdio_cxx11=no
17953 fi
17954 rm -f core conftest.err conftest.$ac_objext \
17955 conftest$ac_exeext conftest.$ac_ext
17956 fi
17957
17958 fi
17959
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17961 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17962 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17963
17964 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17965
17966 fi
17967
17968 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17970 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17971 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
17972 $as_echo_n "(cached) " >&6
17973 else
17974
17975 if test x$gcc_no_link = xyes; then
17976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17977 /* end confdefs.h. */
17978 #include <stdlib.h>
17979 volatile float f;
17980 volatile long double ld;
17981 volatile unsigned long long ll;
17982 lldiv_t mydivt;
17983 int
17984 main ()
17985 {
17986 char* tmp;
17987 f = strtof("gnu", &tmp);
17988 ld = strtold("gnu", &tmp);
17989 ll = strtoll("gnu", &tmp, 10);
17990 ll = strtoull("gnu", &tmp, 10);
17991 ll = llabs(10);
17992 mydivt = lldiv(10,1);
17993 ll = mydivt.quot;
17994 ll = mydivt.rem;
17995 ll = atoll("10");
17996 _Exit(0);
17997
17998 ;
17999 return 0;
18000 }
18001 _ACEOF
18002 if ac_fn_cxx_try_compile "$LINENO"; then :
18003 glibcxx_cv_c99_stdlib_cxx11=yes
18004 else
18005 glibcxx_cv_c99_stdlib_cxx11=no
18006 fi
18007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18008 else
18009 if test x$gcc_no_link = xyes; then
18010 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18011 fi
18012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18013 /* end confdefs.h. */
18014 #include <stdlib.h>
18015 volatile float f;
18016 volatile long double ld;
18017 volatile unsigned long long ll;
18018 lldiv_t mydivt;
18019 int
18020 main ()
18021 {
18022 char* tmp;
18023 f = strtof("gnu", &tmp);
18024 ld = strtold("gnu", &tmp);
18025 ll = strtoll("gnu", &tmp, 10);
18026 ll = strtoull("gnu", &tmp, 10);
18027 ll = llabs(10);
18028 mydivt = lldiv(10,1);
18029 ll = mydivt.quot;
18030 ll = mydivt.rem;
18031 ll = atoll("10");
18032 _Exit(0);
18033
18034 ;
18035 return 0;
18036 }
18037 _ACEOF
18038 if ac_fn_cxx_try_link "$LINENO"; then :
18039 glibcxx_cv_c99_stdlib_cxx11=yes
18040 else
18041 glibcxx_cv_c99_stdlib_cxx11=no
18042 fi
18043 rm -f core conftest.err conftest.$ac_objext \
18044 conftest$ac_exeext conftest.$ac_ext
18045 fi
18046
18047 fi
18048
18049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18050 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18051 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18052
18053 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18054
18055 fi
18056
18057 # Check for the existence in <wchar.h> of wcstold, etc.
18058 if test x"$ac_has_wchar_h" = xyes &&
18059 test x"$ac_has_wctype_h" = xyes; then
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18061 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18062 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18063 $as_echo_n "(cached) " >&6
18064 else
18065
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18068 #include <wchar.h>
18069 namespace test
18070 {
18071 using ::wcstold;
18072 using ::wcstoll;
18073 using ::wcstoull;
18074 }
18075
18076 int
18077 main ()
18078 {
18079
18080 ;
18081 return 0;
18082 }
18083 _ACEOF
18084 if ac_fn_cxx_try_compile "$LINENO"; then :
18085 glibcxx_cv_c99_wchar_cxx11=yes
18086 else
18087 glibcxx_cv_c99_wchar_cxx11=no
18088 fi
18089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18090
18091 fi
18092
18093
18094 # Checks for wide character functions that may not be present.
18095 # Injection of these is wrapped with guard macros.
18096 # NB: only put functions here, instead of immediately above, if
18097 # absolutely necessary.
18098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18099 /* end confdefs.h. */
18100 #include <wchar.h>
18101 namespace test { using ::vfwscanf; }
18102 int
18103 main ()
18104 {
18105
18106 ;
18107 return 0;
18108 }
18109 _ACEOF
18110 if ac_fn_cxx_try_compile "$LINENO"; then :
18111
18112 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18113
18114 fi
18115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18116
18117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18118 /* end confdefs.h. */
18119 #include <wchar.h>
18120 namespace test { using ::vswscanf; }
18121 int
18122 main ()
18123 {
18124
18125 ;
18126 return 0;
18127 }
18128 _ACEOF
18129 if ac_fn_cxx_try_compile "$LINENO"; then :
18130
18131 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18132
18133 fi
18134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18135
18136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18137 /* end confdefs.h. */
18138 #include <wchar.h>
18139 namespace test { using ::vwscanf; }
18140 int
18141 main ()
18142 {
18143
18144 ;
18145 return 0;
18146 }
18147 _ACEOF
18148 if ac_fn_cxx_try_compile "$LINENO"; then :
18149
18150 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18151
18152 fi
18153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18154
18155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18156 /* end confdefs.h. */
18157 #include <wchar.h>
18158 namespace test { using ::wcstof; }
18159 int
18160 main ()
18161 {
18162
18163 ;
18164 return 0;
18165 }
18166 _ACEOF
18167 if ac_fn_cxx_try_compile "$LINENO"; then :
18168
18169 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18170
18171 fi
18172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18173
18174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18175 /* end confdefs.h. */
18176 #include <wctype.h>
18177 int
18178 main ()
18179 {
18180 wint_t t; int i = iswblank(t);
18181 ;
18182 return 0;
18183 }
18184 _ACEOF
18185 if ac_fn_cxx_try_compile "$LINENO"; then :
18186
18187 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18188
18189 fi
18190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18191
18192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18193 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18194 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18195
18196 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18197
18198 fi
18199 fi
18200
18201 gcc_no_link="$ac_save_gcc_no_link"
18202 LIBS="$ac_save_LIBS"
18203 CXXFLAGS="$ac_save_CXXFLAGS"
18204 ac_ext=c
18205 ac_cpp='$CPP $CPPFLAGS'
18206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18209
18210 fi
18211
18212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18213 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18215 $as_echo "$enable_c99" >&6; }
18216
18217
18218 # Check whether --enable-concept-checks was given.
18219 if test "${enable_concept_checks+set}" = set; then :
18220 enableval=$enable_concept_checks;
18221 case "$enableval" in
18222 yes|no) ;;
18223 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18224 esac
18225
18226 else
18227 enable_concept_checks=no
18228 fi
18229
18230
18231 if test $enable_concept_checks = yes; then
18232
18233 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18234
18235 fi
18236
18237
18238 # Check whether --enable-libstdcxx-debug-flags was given.
18239 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18240 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18241 xno | x) enable_libstdcxx_debug_flags= ;;
18242 x-*) ;;
18243 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18244 esac
18245 else
18246 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18247 fi
18248
18249
18250
18251 # Option parsed, now set things appropriately
18252 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18253
18254
18255 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18256 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18257
18258
18259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18260 $as_echo_n "checking for additional debug build... " >&6; }
18261 skip_debug_build=
18262 # Check whether --enable-libstdcxx-debug was given.
18263 if test "${enable_libstdcxx_debug+set}" = set; then :
18264 enableval=$enable_libstdcxx_debug;
18265 case "$enableval" in
18266 yes|no) ;;
18267 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18268 esac
18269
18270 else
18271 enable_libstdcxx_debug=no
18272 fi
18273
18274
18275 if test x$enable_libstdcxx_debug = xyes; then
18276 if test -f $toplevel_builddir/../stage_final \
18277 && test -f $toplevel_builddir/../stage_current; then
18278 stage_final=`cat $toplevel_builddir/../stage_final`
18279 stage_current=`cat $toplevel_builddir/../stage_current`
18280 if test x$stage_current != x$stage_final ; then
18281 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18282 enable_libstdcxx_debug=no
18283 fi
18284 fi
18285 fi
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18287 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18288
18289
18290
18291
18292 enable_parallel=no;
18293
18294 # See if configured libgomp/omp.h exists. (libgomp may be in
18295 # noconfigdirs but not explicitly disabled.)
18296 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18297 enable_parallel=yes;
18298 else
18299 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18300 $as_echo "$as_me: target-libgomp not built" >&6;}
18301 fi
18302
18303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18304 $as_echo_n "checking for parallel mode support... " >&6; }
18305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18306 $as_echo "$enable_parallel" >&6; }
18307
18308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18309 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18310 # Check whether --enable-cxx-flags was given.
18311 if test "${enable_cxx_flags+set}" = set; then :
18312 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18313 xno | x) enable_cxx_flags= ;;
18314 x-*) ;;
18315 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18316 esac
18317 else
18318 enable_cxx_flags=
18319 fi
18320
18321
18322
18323 # Run through flags (either default or command-line) and set anything
18324 # extra (e.g., #defines) that must accompany particular g++ options.
18325 if test -n "$enable_cxx_flags"; then
18326 for f in $enable_cxx_flags; do
18327 case "$f" in
18328 -fhonor-std) ;;
18329 -*) ;;
18330 *) # and we're trying to pass /what/ exactly?
18331 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18332 esac
18333 done
18334 fi
18335
18336 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18338 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18339
18340
18341
18342 # Check whether --enable-fully-dynamic-string was given.
18343 if test "${enable_fully_dynamic_string+set}" = set; then :
18344 enableval=$enable_fully_dynamic_string;
18345 case "$enableval" in
18346 yes|no) ;;
18347 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18348 esac
18349
18350 else
18351 enable_fully_dynamic_string=no
18352 fi
18353
18354
18355 if test $enable_fully_dynamic_string = yes; then
18356 enable_fully_dynamic_string_def=1
18357 else
18358 enable_fully_dynamic_string_def=0
18359 fi
18360
18361 cat >>confdefs.h <<_ACEOF
18362 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18363 _ACEOF
18364
18365
18366
18367
18368 # Check whether --enable-extern-template was given.
18369 if test "${enable_extern_template+set}" = set; then :
18370 enableval=$enable_extern_template;
18371 case "$enableval" in
18372 yes|no) ;;
18373 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18374 esac
18375
18376 else
18377 enable_extern_template=yes
18378 fi
18379
18380
18381
18382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18383 $as_echo_n "checking for extern template support... " >&6; }
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18385 $as_echo "$enable_extern_template" >&6; }
18386
18387
18388
18389
18390
18391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18392 $as_echo_n "checking for custom python install directory... " >&6; }
18393
18394 # Check whether --with-python-dir was given.
18395 if test "${with_python_dir+set}" = set; then :
18396 withval=$with_python_dir; with_python_dir=$withval
18397 else
18398 with_python_dir="no"
18399 fi
18400
18401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18402 $as_echo "${with_python_dir}" >&6; }
18403
18404 # Needed for installing Python modules during make install.
18405 python_mod_dir="${with_python_dir}"
18406
18407
18408
18409
18410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18411 $as_echo_n "checking for -Werror... " >&6; }
18412 # Check whether --enable-werror was given.
18413 if test "${enable_werror+set}" = set; then :
18414 enableval=$enable_werror;
18415 case "$enableval" in
18416 yes|no) ;;
18417 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18418 esac
18419
18420 else
18421 enable_werror=no
18422 fi
18423
18424
18425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18426 $as_echo "$enable_werror" >&6; }
18427
18428
18429
18430
18431 # Check whether --enable-vtable-verify was given.
18432 if test "${enable_vtable_verify+set}" = set; then :
18433 enableval=$enable_vtable_verify;
18434 case "$enableval" in
18435 yes|no) ;;
18436 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18437 esac
18438
18439 else
18440 enable_vtable_verify=no
18441 fi
18442
18443
18444
18445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18446 $as_echo_n "checking for vtable verify support... " >&6; }
18447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18448 $as_echo "$enable_vtable_verify" >&6; }
18449
18450 vtv_cygmin=no
18451 if test $enable_vtable_verify = yes; then
18452 case ${target_os} in
18453 cygwin*|mingw32*)
18454 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18455 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18456 vtv_cygmin=yes
18457 ;;
18458 darwin*)
18459 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18460 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18461 ;;
18462 solaris2*)
18463 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18464 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18465 ;;
18466 *)
18467 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18468 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18469 ;;
18470 esac
18471 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18472 else
18473 VTV_CXXFLAGS=
18474 VTV_PCH_CXXFLAGS=
18475 VTV_CXXLINKFLAGS=
18476 fi
18477
18478
18479
18480
18481 if test x$vtv_cygmin = xyes; then
18482 VTV_CYGMIN_TRUE=
18483 VTV_CYGMIN_FALSE='#'
18484 else
18485 VTV_CYGMIN_TRUE='#'
18486 VTV_CYGMIN_FALSE=
18487 fi
18488
18489
18490
18491
18492 # Checks for operating systems support that doesn't require linking.
18493
18494
18495
18496 ac_ext=cpp
18497 ac_cpp='$CXXCPP $CPPFLAGS'
18498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18501
18502 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18503 # and we don't need a declaration for C++14 anyway.
18504 ac_save_CXXFLAGS="$CXXFLAGS"
18505 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18506
18507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18508 $as_echo_n "checking for gets declaration... " >&6; }
18509 if ${glibcxx_cv_gets+:} false; then :
18510 $as_echo_n "(cached) " >&6
18511 else
18512
18513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18514 /* end confdefs.h. */
18515 #include <stdio.h>
18516 namespace test
18517 {
18518 using ::gets;
18519 }
18520
18521 _ACEOF
18522 if ac_fn_cxx_try_compile "$LINENO"; then :
18523 glibcxx_cv_gets=yes
18524 else
18525 glibcxx_cv_gets=no
18526
18527 fi
18528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18529 fi
18530
18531
18532 if test $glibcxx_cv_gets = yes; then
18533
18534 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18535
18536 fi
18537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18538 $as_echo "$glibcxx_cv_gets" >&6; }
18539
18540 CXXFLAGS="$ac_save_CXXFLAGS"
18541 ac_ext=c
18542 ac_cpp='$CPP $CPPFLAGS'
18543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18546
18547
18548
18549
18550
18551 ac_ext=cpp
18552 ac_cpp='$CXXCPP $CPPFLAGS'
18553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18556
18557 ac_save_CXXFLAGS="$CXXFLAGS"
18558 CXXFLAGS="$CXXFLAGS -std=c++11"
18559
18560 case "$host" in
18561 *-*-solaris2.*)
18562 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18563 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18565 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18566 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18567 $as_echo_n "(cached) " >&6
18568 else
18569
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18572 #include <math.h>
18573 #undef isfinite
18574 namespace std {
18575 inline bool isfinite(float __x)
18576 { return __builtin_isfinite(__x); }
18577 }
18578
18579 _ACEOF
18580 if ac_fn_cxx_try_compile "$LINENO"; then :
18581 glibcxx_cv_math11_fp_overload=no
18582 else
18583 glibcxx_cv_math11_fp_overload=yes
18584
18585 fi
18586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18587 fi
18588
18589
18590 # autoheader cannot handle indented templates.
18591
18592
18593 if test $glibcxx_cv_math11_fp_overload = yes; then
18594 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18595
18596 fi
18597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18598 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18599
18600 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18601 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18603 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18604 if ${glibcxx_cv_math11_int_overload+:} false; then :
18605 $as_echo_n "(cached) " >&6
18606 else
18607
18608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18609 /* end confdefs.h. */
18610 #include <math.h>
18611 namespace std {
18612 template<typename _Tp>
18613 struct __is_integer;
18614 template<>
18615 struct __is_integer<int>
18616 {
18617 enum { __value = 1 };
18618 };
18619 }
18620 namespace __gnu_cxx {
18621 template<bool, typename>
18622 struct __enable_if;
18623 template<typename _Tp>
18624 struct __enable_if<true, _Tp>
18625 { typedef _Tp __type; };
18626 }
18627 namespace std {
18628 template<typename _Tp>
18629 constexpr typename __gnu_cxx::__enable_if
18630 <__is_integer<_Tp>::__value, double>::__type
18631 log2(_Tp __x)
18632 { return __builtin_log2(__x); }
18633 }
18634 int
18635 main (void)
18636 {
18637 int i = 1000;
18638 return std::log2(i);
18639 }
18640
18641 _ACEOF
18642 if ac_fn_cxx_try_compile "$LINENO"; then :
18643 glibcxx_cv_math11_int_overload=no
18644 else
18645 glibcxx_cv_math11_int_overload=yes
18646
18647 fi
18648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18649 fi
18650
18651
18652 # autoheader cannot handle indented templates.
18653
18654
18655 if test $glibcxx_cv_math11_int_overload = yes; then
18656 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18657
18658 fi
18659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18660 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18661 ;;
18662 *)
18663 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18664 # functions (instead of or as well as the C99 generic macros) then we
18665 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18666 # and must use the ones from <math.h> instead.
18667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18668 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18669 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18670 $as_echo_n "(cached) " >&6
18671 else
18672
18673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18674 /* end confdefs.h. */
18675 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18676 #include <math.h>
18677 #undef isinf
18678 namespace std {
18679 using ::isinf;
18680 bool isinf(float);
18681 bool isinf(long double);
18682 }
18683 using std::isinf;
18684 bool b = isinf(0.0);
18685
18686 _ACEOF
18687 if ac_fn_cxx_try_compile "$LINENO"; then :
18688 glibcxx_cv_obsolete_isinf=yes
18689 else
18690 glibcxx_cv_obsolete_isinf=no
18691
18692 fi
18693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18694 fi
18695
18696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18697 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18698 if test $glibcxx_cv_obsolete_isinf = yes; then
18699
18700 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18701
18702 fi
18703
18704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18705 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18706 if ${glibcxx_cv_obsolete_isnan+:} false; then :
18707 $as_echo_n "(cached) " >&6
18708 else
18709
18710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18711 /* end confdefs.h. */
18712 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18713 #include <math.h>
18714 #undef isnan
18715 namespace std {
18716 using ::isnan;
18717 bool isnan(float);
18718 bool isnan(long double);
18719 }
18720 using std::isnan;
18721 bool b = isnan(0.0);
18722
18723 _ACEOF
18724 if ac_fn_cxx_try_compile "$LINENO"; then :
18725 glibcxx_cv_obsolete_isnan=yes
18726 else
18727 glibcxx_cv_obsolete_isnan=no
18728
18729 fi
18730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18731 fi
18732
18733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18734 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18735 if test $glibcxx_cv_obsolete_isnan = yes; then
18736
18737 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18738
18739 fi
18740 ;;
18741 esac
18742
18743 CXXFLAGS="$ac_save_CXXFLAGS"
18744 ac_ext=c
18745 ac_cpp='$CPP $CPPFLAGS'
18746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18749
18750
18751
18752
18753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18754 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18755 if ${glibcxx_cv_system_error1+:} false; then :
18756 $as_echo_n "(cached) " >&6
18757 else
18758
18759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18760 /* end confdefs.h. */
18761 #include <errno.h>
18762 int
18763 main ()
18764 {
18765 int i = EOWNERDEAD;
18766 ;
18767 return 0;
18768 }
18769 _ACEOF
18770 if ac_fn_c_try_compile "$LINENO"; then :
18771 glibcxx_cv_system_error1=yes
18772 else
18773 glibcxx_cv_system_error1=no
18774 fi
18775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18776
18777 fi
18778
18779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18780 $as_echo "$glibcxx_cv_system_error1" >&6; }
18781 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18782
18783 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18784
18785 fi
18786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18787 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18788 if ${glibcxx_cv_system_error2+:} false; then :
18789 $as_echo_n "(cached) " >&6
18790 else
18791
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18794 #include <errno.h>
18795 int
18796 main ()
18797 {
18798 int i = ENOTRECOVERABLE;
18799 ;
18800 return 0;
18801 }
18802 _ACEOF
18803 if ac_fn_c_try_compile "$LINENO"; then :
18804 glibcxx_cv_system_error2=yes
18805 else
18806 glibcxx_cv_system_error2=no
18807 fi
18808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18809
18810 fi
18811
18812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18813 $as_echo "$glibcxx_cv_system_error2" >&6; }
18814 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18815
18816 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18817
18818 fi
18819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18820 $as_echo_n "checking for ENOLINK... " >&6; }
18821 if ${glibcxx_cv_system_error3+:} false; then :
18822 $as_echo_n "(cached) " >&6
18823 else
18824
18825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18826 /* end confdefs.h. */
18827 #include <errno.h>
18828 int
18829 main ()
18830 {
18831 int i = ENOLINK;
18832 ;
18833 return 0;
18834 }
18835 _ACEOF
18836 if ac_fn_c_try_compile "$LINENO"; then :
18837 glibcxx_cv_system_error3=yes
18838 else
18839 glibcxx_cv_system_error3=no
18840 fi
18841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18842
18843 fi
18844
18845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18846 $as_echo "$glibcxx_cv_system_error3" >&6; }
18847 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18848
18849 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18850
18851 fi
18852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18853 $as_echo_n "checking for EPROTO... " >&6; }
18854 if ${glibcxx_cv_system_error4+:} false; then :
18855 $as_echo_n "(cached) " >&6
18856 else
18857
18858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18859 /* end confdefs.h. */
18860 #include <errno.h>
18861 int
18862 main ()
18863 {
18864 int i = EPROTO;
18865 ;
18866 return 0;
18867 }
18868 _ACEOF
18869 if ac_fn_c_try_compile "$LINENO"; then :
18870 glibcxx_cv_system_error4=yes
18871 else
18872 glibcxx_cv_system_error4=no
18873 fi
18874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18875
18876 fi
18877
18878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18879 $as_echo "$glibcxx_cv_system_error4" >&6; }
18880 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18881
18882 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18883
18884 fi
18885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18886 $as_echo_n "checking for ENODATA... " >&6; }
18887 if ${glibcxx_cv_system_error5+:} false; then :
18888 $as_echo_n "(cached) " >&6
18889 else
18890
18891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18892 /* end confdefs.h. */
18893 #include <errno.h>
18894 int
18895 main ()
18896 {
18897 int i = ENODATA;
18898 ;
18899 return 0;
18900 }
18901 _ACEOF
18902 if ac_fn_c_try_compile "$LINENO"; then :
18903 glibcxx_cv_system_error5=yes
18904 else
18905 glibcxx_cv_system_error5=no
18906 fi
18907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18908
18909 fi
18910
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18912 $as_echo "$glibcxx_cv_system_error5" >&6; }
18913 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18914
18915 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18916
18917 fi
18918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18919 $as_echo_n "checking for ENOSR... " >&6; }
18920 if ${glibcxx_cv_system_error6+:} false; then :
18921 $as_echo_n "(cached) " >&6
18922 else
18923
18924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18925 /* end confdefs.h. */
18926 #include <errno.h>
18927 int
18928 main ()
18929 {
18930 int i = ENOSR;
18931 ;
18932 return 0;
18933 }
18934 _ACEOF
18935 if ac_fn_c_try_compile "$LINENO"; then :
18936 glibcxx_cv_system_error6=yes
18937 else
18938 glibcxx_cv_system_error6=no
18939 fi
18940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18941
18942 fi
18943
18944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18945 $as_echo "$glibcxx_cv_system_error6" >&6; }
18946 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18947
18948 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18949
18950 fi
18951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18952 $as_echo_n "checking for ENOSTR... " >&6; }
18953 if ${glibcxx_cv_system_error7+:} false; then :
18954 $as_echo_n "(cached) " >&6
18955 else
18956
18957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18958 /* end confdefs.h. */
18959 #include <errno.h>
18960 int
18961 main ()
18962 {
18963 int i = ENOSTR;
18964 ;
18965 return 0;
18966 }
18967 _ACEOF
18968 if ac_fn_c_try_compile "$LINENO"; then :
18969 glibcxx_cv_system_error7=yes
18970 else
18971 glibcxx_cv_system_error7=no
18972 fi
18973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18974
18975 fi
18976
18977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18978 $as_echo "$glibcxx_cv_system_error7" >&6; }
18979 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18980
18981 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18982
18983 fi
18984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18985 $as_echo_n "checking for ETIME... " >&6; }
18986 if ${glibcxx_cv_system_error8+:} false; then :
18987 $as_echo_n "(cached) " >&6
18988 else
18989
18990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18991 /* end confdefs.h. */
18992 #include <errno.h>
18993 int
18994 main ()
18995 {
18996 int i = ETIME;
18997 ;
18998 return 0;
18999 }
19000 _ACEOF
19001 if ac_fn_c_try_compile "$LINENO"; then :
19002 glibcxx_cv_system_error8=yes
19003 else
19004 glibcxx_cv_system_error8=no
19005 fi
19006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19007
19008 fi
19009
19010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
19011 $as_echo "$glibcxx_cv_system_error8" >&6; }
19012 if test x"$glibcxx_cv_system_error8" = x"yes"; then
19013
19014 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
19015
19016 fi
19017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
19018 $as_echo_n "checking for EBADMSG... " >&6; }
19019 if ${glibcxx_cv_system_error9+:} false; then :
19020 $as_echo_n "(cached) " >&6
19021 else
19022
19023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19024 /* end confdefs.h. */
19025 #include <errno.h>
19026 int
19027 main ()
19028 {
19029 int i = EBADMSG;
19030 ;
19031 return 0;
19032 }
19033 _ACEOF
19034 if ac_fn_c_try_compile "$LINENO"; then :
19035 glibcxx_cv_system_error9=yes
19036 else
19037 glibcxx_cv_system_error9=no
19038 fi
19039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19040
19041 fi
19042
19043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
19044 $as_echo "$glibcxx_cv_system_error9" >&6; }
19045 if test x"$glibcxx_cv_system_error9" = x"yes"; then
19046
19047 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
19048
19049 fi
19050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
19051 $as_echo_n "checking for ECANCELED... " >&6; }
19052 if ${glibcxx_cv_system_error10+:} false; then :
19053 $as_echo_n "(cached) " >&6
19054 else
19055
19056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19057 /* end confdefs.h. */
19058 #include <errno.h>
19059 int
19060 main ()
19061 {
19062 int i = ECANCELED;
19063 ;
19064 return 0;
19065 }
19066 _ACEOF
19067 if ac_fn_c_try_compile "$LINENO"; then :
19068 glibcxx_cv_system_error10=yes
19069 else
19070 glibcxx_cv_system_error10=no
19071 fi
19072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19073
19074 fi
19075
19076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
19077 $as_echo "$glibcxx_cv_system_error10" >&6; }
19078 if test x"$glibcxx_cv_system_error10" = x"yes"; then
19079
19080 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
19081
19082 fi
19083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
19084 $as_echo_n "checking for EOVERFLOW... " >&6; }
19085 if ${glibcxx_cv_system_error11+:} false; then :
19086 $as_echo_n "(cached) " >&6
19087 else
19088
19089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19090 /* end confdefs.h. */
19091 #include <errno.h>
19092 int
19093 main ()
19094 {
19095 int i = EOVERFLOW;
19096 ;
19097 return 0;
19098 }
19099 _ACEOF
19100 if ac_fn_c_try_compile "$LINENO"; then :
19101 glibcxx_cv_system_error11=yes
19102 else
19103 glibcxx_cv_system_error11=no
19104 fi
19105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19106
19107 fi
19108
19109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19110 $as_echo "$glibcxx_cv_system_error11" >&6; }
19111 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19112
19113 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19114
19115 fi
19116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19117 $as_echo_n "checking for ENOTSUP... " >&6; }
19118 if ${glibcxx_cv_system_error12+:} false; then :
19119 $as_echo_n "(cached) " >&6
19120 else
19121
19122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19123 /* end confdefs.h. */
19124 #include <errno.h>
19125 int
19126 main ()
19127 {
19128 int i = ENOTSUP;
19129 ;
19130 return 0;
19131 }
19132 _ACEOF
19133 if ac_fn_c_try_compile "$LINENO"; then :
19134 glibcxx_cv_system_error12=yes
19135 else
19136 glibcxx_cv_system_error12=no
19137 fi
19138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19139
19140 fi
19141
19142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19143 $as_echo "$glibcxx_cv_system_error12" >&6; }
19144 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19145
19146 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19147
19148 fi
19149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19150 $as_echo_n "checking for EIDRM... " >&6; }
19151 if ${glibcxx_cv_system_error13+:} false; then :
19152 $as_echo_n "(cached) " >&6
19153 else
19154
19155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19156 /* end confdefs.h. */
19157 #include <errno.h>
19158 int
19159 main ()
19160 {
19161 int i = EIDRM;
19162 ;
19163 return 0;
19164 }
19165 _ACEOF
19166 if ac_fn_c_try_compile "$LINENO"; then :
19167 glibcxx_cv_system_error13=yes
19168 else
19169 glibcxx_cv_system_error13=no
19170 fi
19171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19172
19173 fi
19174
19175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19176 $as_echo "$glibcxx_cv_system_error13" >&6; }
19177 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19178
19179 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19180
19181 fi
19182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19183 $as_echo_n "checking for ETXTBSY... " >&6; }
19184 if ${glibcxx_cv_system_error14+:} false; then :
19185 $as_echo_n "(cached) " >&6
19186 else
19187
19188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19189 /* end confdefs.h. */
19190 #include <errno.h>
19191 int
19192 main ()
19193 {
19194 int i = ETXTBSY;
19195 ;
19196 return 0;
19197 }
19198 _ACEOF
19199 if ac_fn_c_try_compile "$LINENO"; then :
19200 glibcxx_cv_system_error14=yes
19201 else
19202 glibcxx_cv_system_error14=no
19203 fi
19204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19205
19206 fi
19207
19208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19209 $as_echo "$glibcxx_cv_system_error14" >&6; }
19210 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19211
19212 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19213
19214 fi
19215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19216 $as_echo_n "checking for ECHILD... " >&6; }
19217 if ${glibcxx_cv_system_error15+:} false; then :
19218 $as_echo_n "(cached) " >&6
19219 else
19220
19221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19222 /* end confdefs.h. */
19223 #include <errno.h>
19224 int
19225 main ()
19226 {
19227 int i = ECHILD;
19228 ;
19229 return 0;
19230 }
19231 _ACEOF
19232 if ac_fn_c_try_compile "$LINENO"; then :
19233 glibcxx_cv_system_error15=yes
19234 else
19235 glibcxx_cv_system_error15=no
19236 fi
19237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19238
19239 fi
19240
19241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19242 $as_echo "$glibcxx_cv_system_error15" >&6; }
19243 if test x"$glibcxx_cv_system_error15" = x"yes"; then
19244
19245 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19246
19247 fi
19248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19249 $as_echo_n "checking for ENOSPC... " >&6; }
19250 if ${glibcxx_cv_system_error16+:} false; then :
19251 $as_echo_n "(cached) " >&6
19252 else
19253
19254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19255 /* end confdefs.h. */
19256 #include <errno.h>
19257 int
19258 main ()
19259 {
19260 int i = ENOSPC;
19261 ;
19262 return 0;
19263 }
19264 _ACEOF
19265 if ac_fn_c_try_compile "$LINENO"; then :
19266 glibcxx_cv_system_error16=yes
19267 else
19268 glibcxx_cv_system_error16=no
19269 fi
19270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19271
19272 fi
19273
19274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19275 $as_echo "$glibcxx_cv_system_error16" >&6; }
19276 if test x"$glibcxx_cv_system_error16" = x"yes"; then
19277
19278 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19279
19280 fi
19281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19282 $as_echo_n "checking for EPERM... " >&6; }
19283 if ${glibcxx_cv_system_error17+:} false; then :
19284 $as_echo_n "(cached) " >&6
19285 else
19286
19287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19288 /* end confdefs.h. */
19289 #include <errno.h>
19290 int
19291 main ()
19292 {
19293 int i = EPERM;
19294 ;
19295 return 0;
19296 }
19297 _ACEOF
19298 if ac_fn_c_try_compile "$LINENO"; then :
19299 glibcxx_cv_system_error17=yes
19300 else
19301 glibcxx_cv_system_error17=no
19302 fi
19303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19304
19305 fi
19306
19307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19308 $as_echo "$glibcxx_cv_system_error17" >&6; }
19309 if test x"$glibcxx_cv_system_error17" = x"yes"; then
19310
19311 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19312
19313 fi
19314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19315 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19316 if ${glibcxx_cv_system_error18+:} false; then :
19317 $as_echo_n "(cached) " >&6
19318 else
19319
19320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19321 /* end confdefs.h. */
19322 #include <errno.h>
19323 int
19324 main ()
19325 {
19326 int i = ETIMEDOUT;
19327 ;
19328 return 0;
19329 }
19330 _ACEOF
19331 if ac_fn_c_try_compile "$LINENO"; then :
19332 glibcxx_cv_system_error18=yes
19333 else
19334 glibcxx_cv_system_error18=no
19335 fi
19336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19337
19338 fi
19339
19340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19341 $as_echo "$glibcxx_cv_system_error18" >&6; }
19342 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19343
19344 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19345
19346 fi
19347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19348 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19349 if ${glibcxx_cv_system_error19+:} false; then :
19350 $as_echo_n "(cached) " >&6
19351 else
19352
19353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19354 /* end confdefs.h. */
19355 #include <errno.h>
19356 int
19357 main ()
19358 {
19359 int i = EWOULDBLOCK;
19360 ;
19361 return 0;
19362 }
19363 _ACEOF
19364 if ac_fn_c_try_compile "$LINENO"; then :
19365 glibcxx_cv_system_error19=yes
19366 else
19367 glibcxx_cv_system_error19=no
19368 fi
19369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19370
19371 fi
19372
19373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19374 $as_echo "$glibcxx_cv_system_error19" >&6; }
19375 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19376
19377 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19378
19379 fi
19380
19381
19382
19383
19384 # Test uchar.h.
19385 for ac_header in uchar.h
19386 do :
19387 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19388 if test "x$ac_cv_header_uchar_h" = xyes; then :
19389 cat >>confdefs.h <<_ACEOF
19390 #define HAVE_UCHAR_H 1
19391 _ACEOF
19392 ac_has_uchar_h=yes
19393 else
19394 ac_has_uchar_h=no
19395 fi
19396
19397 done
19398
19399
19400
19401 ac_ext=cpp
19402 ac_cpp='$CXXCPP $CPPFLAGS'
19403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19406
19407 ac_save_CXXFLAGS="$CXXFLAGS"
19408 CXXFLAGS="$CXXFLAGS -std=c++11"
19409
19410 if test x"$ac_has_uchar_h" = x"yes"; then
19411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19412 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 #include <uchar.h>
19416 #ifdef __STDC_UTF_16__
19417 long i = __STDC_UTF_16__;
19418 #endif
19419 #ifdef __STDC_UTF_32__
19420 long j = __STDC_UTF_32__;
19421 #endif
19422 namespace test
19423 {
19424 using ::c16rtomb;
19425 using ::c32rtomb;
19426 using ::mbrtoc16;
19427 using ::mbrtoc32;
19428 }
19429
19430 int
19431 main ()
19432 {
19433
19434 ;
19435 return 0;
19436 }
19437 _ACEOF
19438 if ac_fn_cxx_try_compile "$LINENO"; then :
19439 ac_c11_uchar_cxx11=yes
19440 else
19441 ac_c11_uchar_cxx11=no
19442 fi
19443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19444 else
19445 ac_c11_uchar_cxx11=no
19446 fi
19447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19448 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19449 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19450
19451 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19452
19453 fi
19454
19455 CXXFLAGS="$ac_save_CXXFLAGS"
19456 ac_ext=c
19457 ac_cpp='$CPP $CPPFLAGS'
19458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19461
19462
19463
19464 # For the streamoff typedef.
19465
19466
19467
19468 ac_ext=cpp
19469 ac_cpp='$CXXCPP $CPPFLAGS'
19470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19473
19474
19475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19476 $as_echo_n "checking for int64_t... " >&6; }
19477 if ${glibcxx_cv_INT64_T+:} false; then :
19478 $as_echo_n "(cached) " >&6
19479 else
19480
19481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19482 /* end confdefs.h. */
19483 #include <stdint.h>
19484 int
19485 main ()
19486 {
19487 int64_t var;
19488 ;
19489 return 0;
19490 }
19491 _ACEOF
19492 if ac_fn_cxx_try_compile "$LINENO"; then :
19493 glibcxx_cv_INT64_T=yes
19494 else
19495 glibcxx_cv_INT64_T=no
19496 fi
19497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19498
19499 fi
19500
19501
19502 if test $glibcxx_cv_INT64_T = yes; then
19503
19504 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19505
19506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19507 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19508
19509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19510 $as_echo_n "checking for int64_t as long... " >&6; }
19511 if ${glibcxx_cv_int64_t_long+:} false; then :
19512 $as_echo_n "(cached) " >&6
19513 else
19514
19515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19516 /* end confdefs.h. */
19517 #include <stdint.h>
19518 template<typename, typename> struct same { enum { value = -1 }; };
19519 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19520 int array[same<int64_t, long>::value];
19521 int
19522 main ()
19523 {
19524
19525 ;
19526 return 0;
19527 }
19528 _ACEOF
19529 if ac_fn_cxx_try_compile "$LINENO"; then :
19530 glibcxx_cv_int64_t_long=yes
19531 else
19532 glibcxx_cv_int64_t_long=no
19533 fi
19534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19535
19536 fi
19537
19538
19539 if test $glibcxx_cv_int64_t_long = yes; then
19540
19541 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19542
19543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19544 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19545 fi
19546
19547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19548 $as_echo_n "checking for int64_t as long long... " >&6; }
19549 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19550 $as_echo_n "(cached) " >&6
19551 else
19552
19553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19554 /* end confdefs.h. */
19555 #include <stdint.h>
19556 template<typename, typename> struct same { enum { value = -1 }; };
19557 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19558 int array[same<int64_t, long long>::value];
19559 int
19560 main ()
19561 {
19562
19563 ;
19564 return 0;
19565 }
19566 _ACEOF
19567 if ac_fn_cxx_try_compile "$LINENO"; then :
19568 glibcxx_cv_int64_t_long_long=yes
19569 else
19570 glibcxx_cv_int64_t_long_long=no
19571 fi
19572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19573
19574 fi
19575
19576
19577 if test $glibcxx_cv_int64_t_long_long = yes; then
19578
19579 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19580
19581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19582 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19583 fi
19584 fi
19585
19586 ac_ext=c
19587 ac_cpp='$CPP $CPPFLAGS'
19588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19591
19592
19593
19594 # For LFS support.
19595
19596
19597 ac_ext=cpp
19598 ac_cpp='$CXXCPP $CPPFLAGS'
19599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19602
19603 ac_save_CXXFLAGS="$CXXFLAGS"
19604 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19606 $as_echo_n "checking for LFS support... " >&6; }
19607 if ${glibcxx_cv_LFS+:} false; then :
19608 $as_echo_n "(cached) " >&6
19609 else
19610
19611 if test x$gcc_no_link = xyes; then
19612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19613 /* end confdefs.h. */
19614 #include <unistd.h>
19615 #include <stdio.h>
19616 #include <sys/stat.h>
19617
19618 int
19619 main ()
19620 {
19621 FILE* fp;
19622 fopen64("t", "w");
19623 fseeko64(fp, 0, SEEK_CUR);
19624 ftello64(fp);
19625 lseek64(1, 0, SEEK_CUR);
19626 struct stat64 buf;
19627 fstat64(1, &buf);
19628 ;
19629 return 0;
19630 }
19631 _ACEOF
19632 if ac_fn_cxx_try_compile "$LINENO"; then :
19633 glibcxx_cv_LFS=yes
19634 else
19635 glibcxx_cv_LFS=no
19636 fi
19637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19638 else
19639 if test x$gcc_no_link = xyes; then
19640 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19641 fi
19642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19643 /* end confdefs.h. */
19644 #include <unistd.h>
19645 #include <stdio.h>
19646 #include <sys/stat.h>
19647
19648 int
19649 main ()
19650 {
19651 FILE* fp;
19652 fopen64("t", "w");
19653 fseeko64(fp, 0, SEEK_CUR);
19654 ftello64(fp);
19655 lseek64(1, 0, SEEK_CUR);
19656 struct stat64 buf;
19657 fstat64(1, &buf);
19658 ;
19659 return 0;
19660 }
19661 _ACEOF
19662 if ac_fn_cxx_try_link "$LINENO"; then :
19663 glibcxx_cv_LFS=yes
19664 else
19665 glibcxx_cv_LFS=no
19666 fi
19667 rm -f core conftest.err conftest.$ac_objext \
19668 conftest$ac_exeext conftest.$ac_ext
19669 fi
19670
19671 fi
19672
19673 if test $glibcxx_cv_LFS = yes; then
19674
19675 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19676
19677 fi
19678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19679 $as_echo "$glibcxx_cv_LFS" >&6; }
19680 CXXFLAGS="$ac_save_CXXFLAGS"
19681 ac_ext=c
19682 ac_cpp='$CPP $CPPFLAGS'
19683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19686
19687
19688
19689 # For showmanyc_helper().
19690 for ac_header in sys/ioctl.h sys/filio.h
19691 do :
19692 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19693 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19694 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19695 cat >>confdefs.h <<_ACEOF
19696 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19697 _ACEOF
19698
19699 fi
19700
19701 done
19702
19703
19704
19705
19706 ac_ext=cpp
19707 ac_cpp='$CXXCPP $CPPFLAGS'
19708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19711
19712 ac_save_CXXFLAGS="$CXXFLAGS"
19713 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19714
19715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19716 $as_echo_n "checking for poll... " >&6; }
19717 if ${glibcxx_cv_POLL+:} false; then :
19718 $as_echo_n "(cached) " >&6
19719 else
19720
19721 if test x$gcc_no_link = xyes; then
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19724 #include <poll.h>
19725 int
19726 main ()
19727 {
19728 struct pollfd pfd[1];
19729 pfd[0].events = POLLIN;
19730 poll(pfd, 1, 0);
19731 ;
19732 return 0;
19733 }
19734 _ACEOF
19735 if ac_fn_cxx_try_compile "$LINENO"; then :
19736 glibcxx_cv_POLL=yes
19737 else
19738 glibcxx_cv_POLL=no
19739 fi
19740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19741 else
19742 if test x$gcc_no_link = xyes; then
19743 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19744 fi
19745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19746 /* end confdefs.h. */
19747 #include <poll.h>
19748 int
19749 main ()
19750 {
19751 struct pollfd pfd[1];
19752 pfd[0].events = POLLIN;
19753 poll(pfd, 1, 0);
19754 ;
19755 return 0;
19756 }
19757 _ACEOF
19758 if ac_fn_cxx_try_link "$LINENO"; then :
19759 glibcxx_cv_POLL=yes
19760 else
19761 glibcxx_cv_POLL=no
19762 fi
19763 rm -f core conftest.err conftest.$ac_objext \
19764 conftest$ac_exeext conftest.$ac_ext
19765 fi
19766
19767 fi
19768
19769 if test $glibcxx_cv_POLL = yes; then
19770
19771 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19772
19773 fi
19774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19775 $as_echo "$glibcxx_cv_POLL" >&6; }
19776
19777 CXXFLAGS="$ac_save_CXXFLAGS"
19778 ac_ext=c
19779 ac_cpp='$CPP $CPPFLAGS'
19780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19783
19784
19785
19786
19787
19788 ac_ext=cpp
19789 ac_cpp='$CXXCPP $CPPFLAGS'
19790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19793
19794 ac_save_CXXFLAGS="$CXXFLAGS"
19795 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19796
19797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19798 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19799 if ${glibcxx_cv_S_ISREG+:} false; then :
19800 $as_echo_n "(cached) " >&6
19801 else
19802
19803 if test x$gcc_no_link = xyes; then
19804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19805 /* end confdefs.h. */
19806 #include <sys/stat.h>
19807 int
19808 main ()
19809 {
19810 struct stat buffer;
19811 fstat(0, &buffer);
19812 S_ISREG(buffer.st_mode);
19813 ;
19814 return 0;
19815 }
19816 _ACEOF
19817 if ac_fn_cxx_try_compile "$LINENO"; then :
19818 glibcxx_cv_S_ISREG=yes
19819 else
19820 glibcxx_cv_S_ISREG=no
19821 fi
19822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19823 else
19824 if test x$gcc_no_link = xyes; then
19825 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19826 fi
19827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19828 /* end confdefs.h. */
19829 #include <sys/stat.h>
19830 int
19831 main ()
19832 {
19833 struct stat buffer;
19834 fstat(0, &buffer);
19835 S_ISREG(buffer.st_mode);
19836 ;
19837 return 0;
19838 }
19839 _ACEOF
19840 if ac_fn_cxx_try_link "$LINENO"; then :
19841 glibcxx_cv_S_ISREG=yes
19842 else
19843 glibcxx_cv_S_ISREG=no
19844 fi
19845 rm -f core conftest.err conftest.$ac_objext \
19846 conftest$ac_exeext conftest.$ac_ext
19847 fi
19848
19849 fi
19850
19851 if ${glibcxx_cv_S_IFREG+:} false; then :
19852 $as_echo_n "(cached) " >&6
19853 else
19854
19855 if test x$gcc_no_link = xyes; then
19856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19857 /* end confdefs.h. */
19858 #include <sys/stat.h>
19859 int
19860 main ()
19861 {
19862 struct stat buffer;
19863 fstat(0, &buffer);
19864 S_IFREG & buffer.st_mode;
19865 ;
19866 return 0;
19867 }
19868 _ACEOF
19869 if ac_fn_cxx_try_compile "$LINENO"; then :
19870 glibcxx_cv_S_IFREG=yes
19871 else
19872 glibcxx_cv_S_IFREG=no
19873 fi
19874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19875 else
19876 if test x$gcc_no_link = xyes; then
19877 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19878 fi
19879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19880 /* end confdefs.h. */
19881 #include <sys/stat.h>
19882 int
19883 main ()
19884 {
19885 struct stat buffer;
19886 fstat(0, &buffer);
19887 S_IFREG & buffer.st_mode;
19888 ;
19889 return 0;
19890 }
19891 _ACEOF
19892 if ac_fn_cxx_try_link "$LINENO"; then :
19893 glibcxx_cv_S_IFREG=yes
19894 else
19895 glibcxx_cv_S_IFREG=no
19896 fi
19897 rm -f core conftest.err conftest.$ac_objext \
19898 conftest$ac_exeext conftest.$ac_ext
19899 fi
19900
19901 fi
19902
19903 res=no
19904 if test $glibcxx_cv_S_ISREG = yes; then
19905
19906 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19907
19908 res=S_ISREG
19909 elif test $glibcxx_cv_S_IFREG = yes; then
19910
19911 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19912
19913 res=S_IFREG
19914 fi
19915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19916 $as_echo "$res" >&6; }
19917
19918 CXXFLAGS="$ac_save_CXXFLAGS"
19919 ac_ext=c
19920 ac_cpp='$CPP $CPPFLAGS'
19921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19924
19925
19926
19927 # For xsputn_2().
19928 for ac_header in sys/uio.h
19929 do :
19930 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19931 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19932 cat >>confdefs.h <<_ACEOF
19933 #define HAVE_SYS_UIO_H 1
19934 _ACEOF
19935
19936 fi
19937
19938 done
19939
19940
19941
19942
19943 ac_ext=cpp
19944 ac_cpp='$CXXCPP $CPPFLAGS'
19945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19948
19949 ac_save_CXXFLAGS="$CXXFLAGS"
19950 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19951
19952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19953 $as_echo_n "checking for writev... " >&6; }
19954 if ${glibcxx_cv_WRITEV+:} false; then :
19955 $as_echo_n "(cached) " >&6
19956 else
19957
19958 if test x$gcc_no_link = xyes; then
19959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19960 /* end confdefs.h. */
19961 #include <sys/uio.h>
19962 int
19963 main ()
19964 {
19965 struct iovec iov[2];
19966 writev(0, iov, 0);
19967 ;
19968 return 0;
19969 }
19970 _ACEOF
19971 if ac_fn_cxx_try_compile "$LINENO"; then :
19972 glibcxx_cv_WRITEV=yes
19973 else
19974 glibcxx_cv_WRITEV=no
19975 fi
19976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19977 else
19978 if test x$gcc_no_link = xyes; then
19979 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19980 fi
19981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19982 /* end confdefs.h. */
19983 #include <sys/uio.h>
19984 int
19985 main ()
19986 {
19987 struct iovec iov[2];
19988 writev(0, iov, 0);
19989 ;
19990 return 0;
19991 }
19992 _ACEOF
19993 if ac_fn_cxx_try_link "$LINENO"; then :
19994 glibcxx_cv_WRITEV=yes
19995 else
19996 glibcxx_cv_WRITEV=no
19997 fi
19998 rm -f core conftest.err conftest.$ac_objext \
19999 conftest$ac_exeext conftest.$ac_ext
20000 fi
20001
20002 fi
20003
20004 if test $glibcxx_cv_WRITEV = yes; then
20005
20006 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
20007
20008 fi
20009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
20010 $as_echo "$glibcxx_cv_WRITEV" >&6; }
20011
20012 CXXFLAGS="$ac_save_CXXFLAGS"
20013 ac_ext=c
20014 ac_cpp='$CPP $CPPFLAGS'
20015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20018
20019
20020
20021 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20022 # so that the check is done with the C compiler (not C++).
20023 # Checking with C++ can break a canadian cross build if either
20024 # file does not exist in C but does in C++.
20025 for ac_header in fenv.h complex.h
20026 do :
20027 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20028 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20029 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20030 cat >>confdefs.h <<_ACEOF
20031 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20032 _ACEOF
20033
20034 fi
20035
20036 done
20037
20038
20039 # For C99 support to TR1.
20040
20041
20042
20043 ac_ext=cpp
20044 ac_cpp='$CXXCPP $CPPFLAGS'
20045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20048
20049
20050 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20051 # undefined and fake C99 facilities may be spuriously enabled.
20052 ac_save_CXXFLAGS="$CXXFLAGS"
20053 CXXFLAGS="$CXXFLAGS -std=c++98"
20054
20055 # Check for the existence of <complex.h> complex math functions used
20056 # by tr1/complex.
20057 for ac_header in complex.h
20058 do :
20059 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20060 if test "x$ac_cv_header_complex_h" = xyes; then :
20061 cat >>confdefs.h <<_ACEOF
20062 #define HAVE_COMPLEX_H 1
20063 _ACEOF
20064 ac_has_complex_h=yes
20065 else
20066 ac_has_complex_h=no
20067 fi
20068
20069 done
20070
20071 ac_c99_complex_tr1=no;
20072 if test x"$ac_has_complex_h" = x"yes"; then
20073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20074 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20076 /* end confdefs.h. */
20077 #include <complex.h>
20078 int
20079 main ()
20080 {
20081 typedef __complex__ float float_type; float_type tmpf;
20082 cacosf(tmpf);
20083 casinf(tmpf);
20084 catanf(tmpf);
20085 cacoshf(tmpf);
20086 casinhf(tmpf);
20087 catanhf(tmpf);
20088 typedef __complex__ double double_type; double_type tmpd;
20089 cacos(tmpd);
20090 casin(tmpd);
20091 catan(tmpd);
20092 cacosh(tmpd);
20093 casinh(tmpd);
20094 catanh(tmpd);
20095 typedef __complex__ long double ld_type; ld_type tmpld;
20096 cacosl(tmpld);
20097 casinl(tmpld);
20098 catanl(tmpld);
20099 cacoshl(tmpld);
20100 casinhl(tmpld);
20101 catanhl(tmpld);
20102
20103 ;
20104 return 0;
20105 }
20106 _ACEOF
20107 if ac_fn_cxx_try_compile "$LINENO"; then :
20108 ac_c99_complex_tr1=yes
20109 else
20110 ac_c99_complex_tr1=no
20111 fi
20112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20113 fi
20114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20115 $as_echo "$ac_c99_complex_tr1" >&6; }
20116 if test x"$ac_c99_complex_tr1" = x"yes"; then
20117
20118 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20119
20120 fi
20121
20122 # Check for the existence of <ctype.h> functions.
20123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20124 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20125 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20126 $as_echo_n "(cached) " >&6
20127 else
20128
20129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20130 /* end confdefs.h. */
20131 #include <ctype.h>
20132 int
20133 main ()
20134 {
20135 int ch;
20136 int ret;
20137 ret = isblank(ch);
20138
20139 ;
20140 return 0;
20141 }
20142 _ACEOF
20143 if ac_fn_cxx_try_compile "$LINENO"; then :
20144 glibcxx_cv_c99_ctype_tr1=yes
20145 else
20146 glibcxx_cv_c99_ctype_tr1=no
20147 fi
20148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20149
20150 fi
20151
20152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20153 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20154 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20155
20156 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20157
20158 fi
20159
20160 # Check for the existence of <fenv.h> functions.
20161 for ac_header in fenv.h
20162 do :
20163 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20164 if test "x$ac_cv_header_fenv_h" = xyes; then :
20165 cat >>confdefs.h <<_ACEOF
20166 #define HAVE_FENV_H 1
20167 _ACEOF
20168 ac_has_fenv_h=yes
20169 else
20170 ac_has_fenv_h=no
20171 fi
20172
20173 done
20174
20175 ac_c99_fenv_tr1=no;
20176 if test x"$ac_has_fenv_h" = x"yes"; then
20177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20178 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20180 /* end confdefs.h. */
20181 #include <fenv.h>
20182 int
20183 main ()
20184 {
20185 int except, mode;
20186 fexcept_t* pflag;
20187 fenv_t* penv;
20188 int ret;
20189 ret = feclearexcept(except);
20190 ret = fegetexceptflag(pflag, except);
20191 ret = feraiseexcept(except);
20192 ret = fesetexceptflag(pflag, except);
20193 ret = fetestexcept(except);
20194 ret = fegetround();
20195 ret = fesetround(mode);
20196 ret = fegetenv(penv);
20197 ret = feholdexcept(penv);
20198 ret = fesetenv(penv);
20199 ret = feupdateenv(penv);
20200
20201 ;
20202 return 0;
20203 }
20204 _ACEOF
20205 if ac_fn_cxx_try_compile "$LINENO"; then :
20206 ac_c99_fenv_tr1=yes
20207 else
20208 ac_c99_fenv_tr1=no
20209 fi
20210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20211 fi
20212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20213 $as_echo "$ac_c99_fenv_tr1" >&6; }
20214 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20215
20216 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20217
20218 fi
20219
20220 # Check for the existence of <stdint.h> types.
20221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20222 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20223 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20224 $as_echo_n "(cached) " >&6
20225 else
20226
20227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20228 /* end confdefs.h. */
20229 #define __STDC_LIMIT_MACROS
20230 #define __STDC_CONSTANT_MACROS
20231 #include <stdint.h>
20232 int
20233 main ()
20234 {
20235 typedef int8_t my_int8_t;
20236 my_int8_t i8 = INT8_MIN;
20237 i8 = INT8_MAX;
20238 typedef int16_t my_int16_t;
20239 my_int16_t i16 = INT16_MIN;
20240 i16 = INT16_MAX;
20241 typedef int32_t my_int32_t;
20242 my_int32_t i32 = INT32_MIN;
20243 i32 = INT32_MAX;
20244 typedef int64_t my_int64_t;
20245 my_int64_t i64 = INT64_MIN;
20246 i64 = INT64_MAX;
20247 typedef int_fast8_t my_int_fast8_t;
20248 my_int_fast8_t if8 = INT_FAST8_MIN;
20249 if8 = INT_FAST8_MAX;
20250 typedef int_fast16_t my_int_fast16_t;
20251 my_int_fast16_t if16 = INT_FAST16_MIN;
20252 if16 = INT_FAST16_MAX;
20253 typedef int_fast32_t my_int_fast32_t;
20254 my_int_fast32_t if32 = INT_FAST32_MIN;
20255 if32 = INT_FAST32_MAX;
20256 typedef int_fast64_t my_int_fast64_t;
20257 my_int_fast64_t if64 = INT_FAST64_MIN;
20258 if64 = INT_FAST64_MAX;
20259 typedef int_least8_t my_int_least8_t;
20260 my_int_least8_t il8 = INT_LEAST8_MIN;
20261 il8 = INT_LEAST8_MAX;
20262 typedef int_least16_t my_int_least16_t;
20263 my_int_least16_t il16 = INT_LEAST16_MIN;
20264 il16 = INT_LEAST16_MAX;
20265 typedef int_least32_t my_int_least32_t;
20266 my_int_least32_t il32 = INT_LEAST32_MIN;
20267 il32 = INT_LEAST32_MAX;
20268 typedef int_least64_t my_int_least64_t;
20269 my_int_least64_t il64 = INT_LEAST64_MIN;
20270 il64 = INT_LEAST64_MAX;
20271 typedef intmax_t my_intmax_t;
20272 my_intmax_t im = INTMAX_MAX;
20273 im = INTMAX_MIN;
20274 typedef intptr_t my_intptr_t;
20275 my_intptr_t ip = INTPTR_MAX;
20276 ip = INTPTR_MIN;
20277 typedef uint8_t my_uint8_t;
20278 my_uint8_t ui8 = UINT8_MAX;
20279 ui8 = UINT8_MAX;
20280 typedef uint16_t my_uint16_t;
20281 my_uint16_t ui16 = UINT16_MAX;
20282 ui16 = UINT16_MAX;
20283 typedef uint32_t my_uint32_t;
20284 my_uint32_t ui32 = UINT32_MAX;
20285 ui32 = UINT32_MAX;
20286 typedef uint64_t my_uint64_t;
20287 my_uint64_t ui64 = UINT64_MAX;
20288 ui64 = UINT64_MAX;
20289 typedef uint_fast8_t my_uint_fast8_t;
20290 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20291 uif8 = UINT_FAST8_MAX;
20292 typedef uint_fast16_t my_uint_fast16_t;
20293 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20294 uif16 = UINT_FAST16_MAX;
20295 typedef uint_fast32_t my_uint_fast32_t;
20296 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20297 uif32 = UINT_FAST32_MAX;
20298 typedef uint_fast64_t my_uint_fast64_t;
20299 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20300 uif64 = UINT_FAST64_MAX;
20301 typedef uint_least8_t my_uint_least8_t;
20302 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20303 uil8 = UINT_LEAST8_MAX;
20304 typedef uint_least16_t my_uint_least16_t;
20305 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20306 uil16 = UINT_LEAST16_MAX;
20307 typedef uint_least32_t my_uint_least32_t;
20308 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20309 uil32 = UINT_LEAST32_MAX;
20310 typedef uint_least64_t my_uint_least64_t;
20311 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20312 uil64 = UINT_LEAST64_MAX;
20313 typedef uintmax_t my_uintmax_t;
20314 my_uintmax_t uim = UINTMAX_MAX;
20315 uim = UINTMAX_MAX;
20316 typedef uintptr_t my_uintptr_t;
20317 my_uintptr_t uip = UINTPTR_MAX;
20318 uip = UINTPTR_MAX;
20319
20320 ;
20321 return 0;
20322 }
20323 _ACEOF
20324 if ac_fn_cxx_try_compile "$LINENO"; then :
20325 glibcxx_cv_c99_stdint_tr1=yes
20326 else
20327 glibcxx_cv_c99_stdint_tr1=no
20328 fi
20329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20330
20331 fi
20332
20333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20334 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20335 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20336
20337 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20338
20339 fi
20340
20341 # Check for the existence of <math.h> functions.
20342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20343 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20344 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20345 $as_echo_n "(cached) " >&6
20346 else
20347
20348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20349 /* end confdefs.h. */
20350 #include <math.h>
20351 int
20352 main ()
20353 {
20354 typedef double_t my_double_t;
20355 typedef float_t my_float_t;
20356 acosh(0.0);
20357 acoshf(0.0f);
20358 acoshl(0.0l);
20359 asinh(0.0);
20360 asinhf(0.0f);
20361 asinhl(0.0l);
20362 atanh(0.0);
20363 atanhf(0.0f);
20364 atanhl(0.0l);
20365 cbrt(0.0);
20366 cbrtf(0.0f);
20367 cbrtl(0.0l);
20368 copysign(0.0, 0.0);
20369 copysignf(0.0f, 0.0f);
20370 copysignl(0.0l, 0.0l);
20371 erf(0.0);
20372 erff(0.0f);
20373 erfl(0.0l);
20374 erfc(0.0);
20375 erfcf(0.0f);
20376 erfcl(0.0l);
20377 exp2(0.0);
20378 exp2f(0.0f);
20379 exp2l(0.0l);
20380 expm1(0.0);
20381 expm1f(0.0f);
20382 expm1l(0.0l);
20383 fdim(0.0, 0.0);
20384 fdimf(0.0f, 0.0f);
20385 fdiml(0.0l, 0.0l);
20386 fma(0.0, 0.0, 0.0);
20387 fmaf(0.0f, 0.0f, 0.0f);
20388 fmal(0.0l, 0.0l, 0.0l);
20389 fmax(0.0, 0.0);
20390 fmaxf(0.0f, 0.0f);
20391 fmaxl(0.0l, 0.0l);
20392 fmin(0.0, 0.0);
20393 fminf(0.0f, 0.0f);
20394 fminl(0.0l, 0.0l);
20395 hypot(0.0, 0.0);
20396 hypotf(0.0f, 0.0f);
20397 hypotl(0.0l, 0.0l);
20398 ilogb(0.0);
20399 ilogbf(0.0f);
20400 ilogbl(0.0l);
20401 lgamma(0.0);
20402 lgammaf(0.0f);
20403 lgammal(0.0l);
20404 #ifndef __APPLE__ /* see below */
20405 llrint(0.0);
20406 llrintf(0.0f);
20407 llrintl(0.0l);
20408 llround(0.0);
20409 llroundf(0.0f);
20410 llroundl(0.0l);
20411 #endif
20412 log1p(0.0);
20413 log1pf(0.0f);
20414 log1pl(0.0l);
20415 log2(0.0);
20416 log2f(0.0f);
20417 log2l(0.0l);
20418 logb(0.0);
20419 logbf(0.0f);
20420 logbl(0.0l);
20421 lrint(0.0);
20422 lrintf(0.0f);
20423 lrintl(0.0l);
20424 lround(0.0);
20425 lroundf(0.0f);
20426 lroundl(0.0l);
20427 nan(0);
20428 nanf(0);
20429 nanl(0);
20430 nearbyint(0.0);
20431 nearbyintf(0.0f);
20432 nearbyintl(0.0l);
20433 nextafter(0.0, 0.0);
20434 nextafterf(0.0f, 0.0f);
20435 nextafterl(0.0l, 0.0l);
20436 nexttoward(0.0, 0.0);
20437 nexttowardf(0.0f, 0.0f);
20438 nexttowardl(0.0l, 0.0l);
20439 remainder(0.0, 0.0);
20440 remainderf(0.0f, 0.0f);
20441 remainderl(0.0l, 0.0l);
20442 remquo(0.0, 0.0, 0);
20443 remquof(0.0f, 0.0f, 0);
20444 remquol(0.0l, 0.0l, 0);
20445 rint(0.0);
20446 rintf(0.0f);
20447 rintl(0.0l);
20448 round(0.0);
20449 roundf(0.0f);
20450 roundl(0.0l);
20451 scalbln(0.0, 0l);
20452 scalblnf(0.0f, 0l);
20453 scalblnl(0.0l, 0l);
20454 scalbn(0.0, 0);
20455 scalbnf(0.0f, 0);
20456 scalbnl(0.0l, 0);
20457 tgamma(0.0);
20458 tgammaf(0.0f);
20459 tgammal(0.0l);
20460 trunc(0.0);
20461 truncf(0.0f);
20462 truncl(0.0l);
20463
20464 ;
20465 return 0;
20466 }
20467 _ACEOF
20468 if ac_fn_cxx_try_compile "$LINENO"; then :
20469 glibcxx_cv_c99_math_tr1=yes
20470 else
20471 glibcxx_cv_c99_math_tr1=no
20472 fi
20473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20474
20475 fi
20476
20477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20478 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20479 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20480
20481 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20482
20483
20484 case "${target_os}" in
20485 darwin*)
20486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20487 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20488 if ${glibcxx_cv_c99_math_llround+:} false; then :
20489 $as_echo_n "(cached) " >&6
20490 else
20491
20492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20493 /* end confdefs.h. */
20494 #include <math.h>
20495 int
20496 main ()
20497 {
20498 llrint(0.0);
20499 llrintf(0.0f);
20500 llrintl(0.0l);
20501 llround(0.0);
20502 llroundf(0.0f);
20503 llroundl(0.0l);
20504
20505 ;
20506 return 0;
20507 }
20508 _ACEOF
20509 if ac_fn_cxx_try_compile "$LINENO"; then :
20510 glibcxx_cv_c99_math_llround=yes
20511 else
20512 glibcxx_cv_c99_math_llround=no
20513 fi
20514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20515
20516 fi
20517
20518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20519 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20520 ;;
20521 esac
20522 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20523
20524 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20525
20526 fi
20527 fi
20528
20529 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20530 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20531 ac_c99_inttypes_tr1=no;
20532 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20534 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20536 /* end confdefs.h. */
20537 #include <inttypes.h>
20538 int
20539 main ()
20540 {
20541 intmax_t i, numer, denom, base;
20542 const char* s;
20543 char** endptr;
20544 intmax_t ret = imaxabs(i);
20545 imaxdiv_t dret = imaxdiv(numer, denom);
20546 ret = strtoimax(s, endptr, base);
20547 uintmax_t uret = strtoumax(s, endptr, base);
20548
20549 ;
20550 return 0;
20551 }
20552 _ACEOF
20553 if ac_fn_cxx_try_compile "$LINENO"; then :
20554 ac_c99_inttypes_tr1=yes
20555 else
20556 ac_c99_inttypes_tr1=no
20557 fi
20558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20559 fi
20560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20561 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20562 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20563
20564 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20565
20566 fi
20567
20568 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20569 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20570 ac_c99_inttypes_wchar_t_tr1=no;
20571 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20573 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20575 /* end confdefs.h. */
20576 #include <inttypes.h>
20577 int
20578 main ()
20579 {
20580 intmax_t base;
20581 const wchar_t* s;
20582 wchar_t** endptr;
20583 intmax_t ret = wcstoimax(s, endptr, base);
20584 uintmax_t uret = wcstoumax(s, endptr, base);
20585
20586 ;
20587 return 0;
20588 }
20589 _ACEOF
20590 if ac_fn_cxx_try_compile "$LINENO"; then :
20591 ac_c99_inttypes_wchar_t_tr1=yes
20592 else
20593 ac_c99_inttypes_wchar_t_tr1=no
20594 fi
20595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20596 fi
20597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20598 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20599 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20600
20601 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20602
20603 fi
20604
20605 # Check for the existence of the <stdbool.h> header.
20606 for ac_header in stdbool.h
20607 do :
20608 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20609 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20610 cat >>confdefs.h <<_ACEOF
20611 #define HAVE_STDBOOL_H 1
20612 _ACEOF
20613
20614 fi
20615
20616 done
20617
20618
20619 # Check for the existence of the <stdalign.h> header.
20620 for ac_header in stdalign.h
20621 do :
20622 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20623 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20624 cat >>confdefs.h <<_ACEOF
20625 #define HAVE_STDALIGN_H 1
20626 _ACEOF
20627
20628 fi
20629
20630 done
20631
20632
20633 CXXFLAGS="$ac_save_CXXFLAGS"
20634 ac_ext=c
20635 ac_cpp='$CPP $CPPFLAGS'
20636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20639
20640
20641
20642 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20643
20644
20645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20646 $as_echo_n "checking for the value of EOF... " >&6; }
20647 if ${glibcxx_cv_stdio_eof+:} false; then :
20648 $as_echo_n "(cached) " >&6
20649 else
20650
20651 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20652
20653 else
20654 as_fn_error $? "computing EOF failed" "$LINENO" 5
20655 fi
20656
20657
20658 fi
20659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20660 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20661
20662 cat >>confdefs.h <<_ACEOF
20663 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20664 _ACEOF
20665
20666
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20668 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20669 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20670 $as_echo_n "(cached) " >&6
20671 else
20672
20673 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20674
20675 else
20676 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20677 fi
20678
20679
20680 fi
20681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20682 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20683
20684 cat >>confdefs.h <<_ACEOF
20685 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20686 _ACEOF
20687
20688
20689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20690 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20691 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20692 $as_echo_n "(cached) " >&6
20693 else
20694
20695 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20696
20697 else
20698 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20699 fi
20700
20701
20702 fi
20703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20704 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20705
20706 cat >>confdefs.h <<_ACEOF
20707 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20708 _ACEOF
20709
20710
20711
20712 # For gettimeofday support.
20713
20714
20715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20716 $as_echo_n "checking for gettimeofday... " >&6; }
20717
20718
20719 ac_ext=cpp
20720 ac_cpp='$CXXCPP $CPPFLAGS'
20721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20724
20725 ac_save_CXXFLAGS="$CXXFLAGS"
20726 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20727
20728 ac_has_gettimeofday=no;
20729 for ac_header in sys/time.h
20730 do :
20731 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20732 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20733 cat >>confdefs.h <<_ACEOF
20734 #define HAVE_SYS_TIME_H 1
20735 _ACEOF
20736 ac_has_sys_time_h=yes
20737 else
20738 ac_has_sys_time_h=no
20739 fi
20740
20741 done
20742
20743 if test x"$ac_has_sys_time_h" = x"yes"; then
20744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20745 $as_echo_n "checking for gettimeofday... " >&6; }
20746 if test x$gcc_no_link = xyes; then
20747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20748 /* end confdefs.h. */
20749 #include <sys/time.h>
20750 int
20751 main ()
20752 {
20753 timeval tv; gettimeofday(&tv, 0);
20754 ;
20755 return 0;
20756 }
20757 _ACEOF
20758 if ac_fn_cxx_try_compile "$LINENO"; then :
20759 ac_has_gettimeofday=yes
20760 else
20761 ac_has_gettimeofday=no
20762 fi
20763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20764 else
20765 if test x$gcc_no_link = xyes; then
20766 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20767 fi
20768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20769 /* end confdefs.h. */
20770 #include <sys/time.h>
20771 int
20772 main ()
20773 {
20774 timeval tv; gettimeofday(&tv, 0);
20775 ;
20776 return 0;
20777 }
20778 _ACEOF
20779 if ac_fn_cxx_try_link "$LINENO"; then :
20780 ac_has_gettimeofday=yes
20781 else
20782 ac_has_gettimeofday=no
20783 fi
20784 rm -f core conftest.err conftest.$ac_objext \
20785 conftest$ac_exeext conftest.$ac_ext
20786 fi
20787
20788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20789 $as_echo "$ac_has_gettimeofday" >&6; }
20790 fi
20791
20792 if test x"$ac_has_gettimeofday" = x"yes"; then
20793
20794 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20795
20796 fi
20797
20798 CXXFLAGS="$ac_save_CXXFLAGS"
20799 ac_ext=c
20800 ac_cpp='$CPP $CPPFLAGS'
20801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20804
20805
20806
20807 # For clock_gettime, nanosleep and sched_yield support.
20808
20809
20810 # Check whether --enable-libstdcxx-time was given.
20811 if test "${enable_libstdcxx_time+set}" = set; then :
20812 enableval=$enable_libstdcxx_time;
20813 case "$enableval" in
20814 yes|no|rt) ;;
20815 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20816 esac
20817
20818 else
20819 enable_libstdcxx_time=auto
20820 fi
20821
20822
20823
20824
20825 ac_ext=cpp
20826 ac_cpp='$CXXCPP $CPPFLAGS'
20827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20830
20831 ac_save_CXXFLAGS="$CXXFLAGS"
20832 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20833 ac_save_LIBS="$LIBS"
20834
20835 ac_has_clock_monotonic=no
20836 ac_has_clock_realtime=no
20837 ac_has_nanosleep=no
20838 ac_has_sched_yield=no
20839
20840 if test x"$enable_libstdcxx_time" = x"auto"; then
20841
20842 case "${target_os}" in
20843 cygwin*)
20844 ac_has_nanosleep=yes
20845 ;;
20846 darwin*)
20847 ac_has_nanosleep=yes
20848 ac_has_sched_yield=yes
20849 ;;
20850 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20852 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20854 /* end confdefs.h. */
20855 #include <features.h>
20856 int
20857 main ()
20858 {
20859
20860 #if ! __GLIBC_PREREQ(2, 17)
20861 #error
20862 #endif
20863
20864 ;
20865 return 0;
20866 }
20867 _ACEOF
20868 if ac_fn_cxx_try_compile "$LINENO"; then :
20869 glibcxx_glibc217=yes
20870 else
20871 glibcxx_glibc217=no
20872 fi
20873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20875 $as_echo "$glibcxx_glibc217" >&6; }
20876
20877 if test x"$glibcxx_glibc217" = x"yes"; then
20878 ac_has_clock_monotonic=yes
20879 ac_has_clock_realtime=yes
20880 fi
20881 ac_has_nanosleep=yes
20882 ac_has_sched_yield=yes
20883 ;;
20884 freebsd*|netbsd*|dragonfly*|rtems*)
20885 ac_has_clock_monotonic=yes
20886 ac_has_clock_realtime=yes
20887 ac_has_nanosleep=yes
20888 ac_has_sched_yield=yes
20889 ;;
20890 openbsd*)
20891 ac_has_clock_monotonic=yes
20892 ac_has_clock_realtime=yes
20893 ac_has_nanosleep=yes
20894 ;;
20895 solaris*)
20896 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20897 ac_has_clock_monotonic=yes
20898 ac_has_clock_realtime=yes
20899 ac_has_nanosleep=yes
20900 ac_has_sched_yield=yes
20901 ;;
20902 esac
20903
20904 elif test x"$enable_libstdcxx_time" != x"no"; then
20905
20906 if test x"$enable_libstdcxx_time" = x"rt"; then
20907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20908 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20909 if ${ac_cv_search_clock_gettime+:} false; then :
20910 $as_echo_n "(cached) " >&6
20911 else
20912 ac_func_search_save_LIBS=$LIBS
20913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20914 /* end confdefs.h. */
20915
20916 /* Override any GCC internal prototype to avoid an error.
20917 Use char because int might match the return type of a GCC
20918 builtin and then its argument prototype would still apply. */
20919 #ifdef __cplusplus
20920 extern "C"
20921 #endif
20922 char clock_gettime ();
20923 int
20924 main ()
20925 {
20926 return clock_gettime ();
20927 ;
20928 return 0;
20929 }
20930 _ACEOF
20931 for ac_lib in '' rt posix4; do
20932 if test -z "$ac_lib"; then
20933 ac_res="none required"
20934 else
20935 ac_res=-l$ac_lib
20936 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20937 fi
20938 if test x$gcc_no_link = xyes; then
20939 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20940 fi
20941 if ac_fn_cxx_try_link "$LINENO"; then :
20942 ac_cv_search_clock_gettime=$ac_res
20943 fi
20944 rm -f core conftest.err conftest.$ac_objext \
20945 conftest$ac_exeext
20946 if ${ac_cv_search_clock_gettime+:} false; then :
20947 break
20948 fi
20949 done
20950 if ${ac_cv_search_clock_gettime+:} false; then :
20951
20952 else
20953 ac_cv_search_clock_gettime=no
20954 fi
20955 rm conftest.$ac_ext
20956 LIBS=$ac_func_search_save_LIBS
20957 fi
20958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20959 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20960 ac_res=$ac_cv_search_clock_gettime
20961 if test "$ac_res" != no; then :
20962 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20963
20964 fi
20965
20966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20967 $as_echo_n "checking for library containing nanosleep... " >&6; }
20968 if ${ac_cv_search_nanosleep+:} false; then :
20969 $as_echo_n "(cached) " >&6
20970 else
20971 ac_func_search_save_LIBS=$LIBS
20972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20973 /* end confdefs.h. */
20974
20975 /* Override any GCC internal prototype to avoid an error.
20976 Use char because int might match the return type of a GCC
20977 builtin and then its argument prototype would still apply. */
20978 #ifdef __cplusplus
20979 extern "C"
20980 #endif
20981 char nanosleep ();
20982 int
20983 main ()
20984 {
20985 return nanosleep ();
20986 ;
20987 return 0;
20988 }
20989 _ACEOF
20990 for ac_lib in '' rt posix4; do
20991 if test -z "$ac_lib"; then
20992 ac_res="none required"
20993 else
20994 ac_res=-l$ac_lib
20995 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20996 fi
20997 if test x$gcc_no_link = xyes; then
20998 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20999 fi
21000 if ac_fn_cxx_try_link "$LINENO"; then :
21001 ac_cv_search_nanosleep=$ac_res
21002 fi
21003 rm -f core conftest.err conftest.$ac_objext \
21004 conftest$ac_exeext
21005 if ${ac_cv_search_nanosleep+:} false; then :
21006 break
21007 fi
21008 done
21009 if ${ac_cv_search_nanosleep+:} false; then :
21010
21011 else
21012 ac_cv_search_nanosleep=no
21013 fi
21014 rm conftest.$ac_ext
21015 LIBS=$ac_func_search_save_LIBS
21016 fi
21017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21018 $as_echo "$ac_cv_search_nanosleep" >&6; }
21019 ac_res=$ac_cv_search_nanosleep
21020 if test "$ac_res" != no; then :
21021 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21022
21023 fi
21024
21025 else
21026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21027 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21028 if ${ac_cv_search_clock_gettime+:} false; then :
21029 $as_echo_n "(cached) " >&6
21030 else
21031 ac_func_search_save_LIBS=$LIBS
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21034
21035 /* Override any GCC internal prototype to avoid an error.
21036 Use char because int might match the return type of a GCC
21037 builtin and then its argument prototype would still apply. */
21038 #ifdef __cplusplus
21039 extern "C"
21040 #endif
21041 char clock_gettime ();
21042 int
21043 main ()
21044 {
21045 return clock_gettime ();
21046 ;
21047 return 0;
21048 }
21049 _ACEOF
21050 for ac_lib in '' posix4; do
21051 if test -z "$ac_lib"; then
21052 ac_res="none required"
21053 else
21054 ac_res=-l$ac_lib
21055 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21056 fi
21057 if test x$gcc_no_link = xyes; then
21058 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21059 fi
21060 if ac_fn_cxx_try_link "$LINENO"; then :
21061 ac_cv_search_clock_gettime=$ac_res
21062 fi
21063 rm -f core conftest.err conftest.$ac_objext \
21064 conftest$ac_exeext
21065 if ${ac_cv_search_clock_gettime+:} false; then :
21066 break
21067 fi
21068 done
21069 if ${ac_cv_search_clock_gettime+:} false; then :
21070
21071 else
21072 ac_cv_search_clock_gettime=no
21073 fi
21074 rm conftest.$ac_ext
21075 LIBS=$ac_func_search_save_LIBS
21076 fi
21077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21078 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21079 ac_res=$ac_cv_search_clock_gettime
21080 if test "$ac_res" != no; then :
21081 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21082
21083 fi
21084
21085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21086 $as_echo_n "checking for library containing nanosleep... " >&6; }
21087 if ${ac_cv_search_nanosleep+:} false; then :
21088 $as_echo_n "(cached) " >&6
21089 else
21090 ac_func_search_save_LIBS=$LIBS
21091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21092 /* end confdefs.h. */
21093
21094 /* Override any GCC internal prototype to avoid an error.
21095 Use char because int might match the return type of a GCC
21096 builtin and then its argument prototype would still apply. */
21097 #ifdef __cplusplus
21098 extern "C"
21099 #endif
21100 char nanosleep ();
21101 int
21102 main ()
21103 {
21104 return nanosleep ();
21105 ;
21106 return 0;
21107 }
21108 _ACEOF
21109 for ac_lib in '' posix4; do
21110 if test -z "$ac_lib"; then
21111 ac_res="none required"
21112 else
21113 ac_res=-l$ac_lib
21114 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21115 fi
21116 if test x$gcc_no_link = xyes; then
21117 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21118 fi
21119 if ac_fn_cxx_try_link "$LINENO"; then :
21120 ac_cv_search_nanosleep=$ac_res
21121 fi
21122 rm -f core conftest.err conftest.$ac_objext \
21123 conftest$ac_exeext
21124 if ${ac_cv_search_nanosleep+:} false; then :
21125 break
21126 fi
21127 done
21128 if ${ac_cv_search_nanosleep+:} false; then :
21129
21130 else
21131 ac_cv_search_nanosleep=no
21132 fi
21133 rm conftest.$ac_ext
21134 LIBS=$ac_func_search_save_LIBS
21135 fi
21136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21137 $as_echo "$ac_cv_search_nanosleep" >&6; }
21138 ac_res=$ac_cv_search_nanosleep
21139 if test "$ac_res" != no; then :
21140 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21141
21142 fi
21143
21144 fi
21145
21146 case "$ac_cv_search_clock_gettime" in
21147 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21148 ;;
21149 esac
21150 case "$ac_cv_search_nanosleep" in
21151 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21152 ;;
21153 esac
21154
21155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21156 $as_echo_n "checking for library containing sched_yield... " >&6; }
21157 if ${ac_cv_search_sched_yield+:} false; then :
21158 $as_echo_n "(cached) " >&6
21159 else
21160 ac_func_search_save_LIBS=$LIBS
21161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21162 /* end confdefs.h. */
21163
21164 /* Override any GCC internal prototype to avoid an error.
21165 Use char because int might match the return type of a GCC
21166 builtin and then its argument prototype would still apply. */
21167 #ifdef __cplusplus
21168 extern "C"
21169 #endif
21170 char sched_yield ();
21171 int
21172 main ()
21173 {
21174 return sched_yield ();
21175 ;
21176 return 0;
21177 }
21178 _ACEOF
21179 for ac_lib in '' rt posix4; do
21180 if test -z "$ac_lib"; then
21181 ac_res="none required"
21182 else
21183 ac_res=-l$ac_lib
21184 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21185 fi
21186 if test x$gcc_no_link = xyes; then
21187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21188 fi
21189 if ac_fn_cxx_try_link "$LINENO"; then :
21190 ac_cv_search_sched_yield=$ac_res
21191 fi
21192 rm -f core conftest.err conftest.$ac_objext \
21193 conftest$ac_exeext
21194 if ${ac_cv_search_sched_yield+:} false; then :
21195 break
21196 fi
21197 done
21198 if ${ac_cv_search_sched_yield+:} false; then :
21199
21200 else
21201 ac_cv_search_sched_yield=no
21202 fi
21203 rm conftest.$ac_ext
21204 LIBS=$ac_func_search_save_LIBS
21205 fi
21206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21207 $as_echo "$ac_cv_search_sched_yield" >&6; }
21208 ac_res=$ac_cv_search_sched_yield
21209 if test "$ac_res" != no; then :
21210 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21211
21212 fi
21213
21214
21215 case "$ac_cv_search_sched_yield" in
21216 -lposix4*)
21217 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21218 ac_has_sched_yield=yes
21219 ;;
21220 -lrt*)
21221 if test x"$enable_libstdcxx_time" = x"rt"; then
21222 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21223 ac_has_sched_yield=yes
21224 fi
21225 ;;
21226 *)
21227 ac_has_sched_yield=yes
21228 ;;
21229 esac
21230
21231 for ac_header in unistd.h
21232 do :
21233 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21234 if test "x$ac_cv_header_unistd_h" = xyes; then :
21235 cat >>confdefs.h <<_ACEOF
21236 #define HAVE_UNISTD_H 1
21237 _ACEOF
21238 ac_has_unistd_h=yes
21239 else
21240 ac_has_unistd_h=no
21241 fi
21242
21243 done
21244
21245
21246 if test x"$ac_has_unistd_h" = x"yes"; then
21247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21248 $as_echo_n "checking for monotonic clock... " >&6; }
21249 if test x$gcc_no_link = xyes; then
21250 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21251 fi
21252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21253 /* end confdefs.h. */
21254 #include <unistd.h>
21255 #include <time.h>
21256
21257 int
21258 main ()
21259 {
21260 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21261 timespec tp;
21262 #endif
21263 clock_gettime(CLOCK_MONOTONIC, &tp);
21264
21265 ;
21266 return 0;
21267 }
21268 _ACEOF
21269 if ac_fn_cxx_try_link "$LINENO"; then :
21270 ac_has_clock_monotonic=yes
21271 else
21272 ac_has_clock_monotonic=no
21273 fi
21274 rm -f core conftest.err conftest.$ac_objext \
21275 conftest$ac_exeext conftest.$ac_ext
21276
21277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21278 $as_echo "$ac_has_clock_monotonic" >&6; }
21279
21280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21281 $as_echo_n "checking for realtime clock... " >&6; }
21282 if test x$gcc_no_link = xyes; then
21283 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21284 fi
21285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21286 /* end confdefs.h. */
21287 #include <unistd.h>
21288 #include <time.h>
21289
21290 int
21291 main ()
21292 {
21293 #if _POSIX_TIMERS > 0
21294 timespec tp;
21295 #endif
21296 clock_gettime(CLOCK_REALTIME, &tp);
21297
21298 ;
21299 return 0;
21300 }
21301 _ACEOF
21302 if ac_fn_cxx_try_link "$LINENO"; then :
21303 ac_has_clock_realtime=yes
21304 else
21305 ac_has_clock_realtime=no
21306 fi
21307 rm -f core conftest.err conftest.$ac_objext \
21308 conftest$ac_exeext conftest.$ac_ext
21309
21310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21311 $as_echo "$ac_has_clock_realtime" >&6; }
21312
21313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21314 $as_echo_n "checking for nanosleep... " >&6; }
21315 if test x$gcc_no_link = xyes; then
21316 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21317 fi
21318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21319 /* end confdefs.h. */
21320 #include <unistd.h>
21321 #include <time.h>
21322
21323 int
21324 main ()
21325 {
21326 #if _POSIX_TIMERS > 0
21327 timespec tp;
21328 #endif
21329 nanosleep(&tp, 0);
21330
21331 ;
21332 return 0;
21333 }
21334 _ACEOF
21335 if ac_fn_cxx_try_link "$LINENO"; then :
21336 ac_has_nanosleep=yes
21337 else
21338 ac_has_nanosleep=no
21339 fi
21340 rm -f core conftest.err conftest.$ac_objext \
21341 conftest$ac_exeext conftest.$ac_ext
21342
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21344 $as_echo "$ac_has_nanosleep" >&6; }
21345 fi
21346 fi
21347
21348 if test x"$ac_has_clock_monotonic" != x"yes"; then
21349 case ${target_os} in
21350 linux*)
21351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21352 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21354 /* end confdefs.h. */
21355 #include <unistd.h>
21356 #include <time.h>
21357 #include <sys/syscall.h>
21358
21359 int
21360 main ()
21361 {
21362 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21363 timespec tp;
21364 #endif
21365 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21366 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21367
21368 ;
21369 return 0;
21370 }
21371 _ACEOF
21372 if ac_fn_cxx_try_compile "$LINENO"; then :
21373 ac_has_clock_monotonic_syscall=yes
21374 else
21375 ac_has_clock_monotonic_syscall=no
21376 fi
21377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21379 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21380 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21381
21382 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21383
21384 ac_has_clock_monotonic=yes
21385 ac_has_clock_realtime=yes
21386 fi;;
21387 esac
21388 fi
21389
21390 if test x"$ac_has_clock_monotonic" = x"yes"; then
21391
21392 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21393
21394 fi
21395
21396 if test x"$ac_has_clock_realtime" = x"yes"; then
21397
21398 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21399
21400 fi
21401
21402 if test x"$ac_has_sched_yield" = x"yes"; then
21403
21404 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21405
21406 fi
21407
21408 if test x"$ac_has_nanosleep" = x"yes"; then
21409
21410 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21411
21412 else
21413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21414 $as_echo_n "checking for sleep... " >&6; }
21415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21416 /* end confdefs.h. */
21417 #include <unistd.h>
21418 int
21419 main ()
21420 {
21421 sleep(1)
21422 ;
21423 return 0;
21424 }
21425 _ACEOF
21426 if ac_fn_cxx_try_compile "$LINENO"; then :
21427 ac_has_sleep=yes
21428 else
21429 ac_has_sleep=no
21430 fi
21431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21432 if test x"$ac_has_sleep" = x"yes"; then
21433
21434 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21435
21436 fi
21437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21438 $as_echo "$ac_has_sleep" >&6; }
21439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21440 $as_echo_n "checking for usleep... " >&6; }
21441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21442 /* end confdefs.h. */
21443 #include <unistd.h>
21444 int
21445 main ()
21446 {
21447 sleep(1);
21448 usleep(100);
21449 ;
21450 return 0;
21451 }
21452 _ACEOF
21453 if ac_fn_cxx_try_compile "$LINENO"; then :
21454 ac_has_usleep=yes
21455 else
21456 ac_has_usleep=no
21457 fi
21458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21459 if test x"$ac_has_usleep" = x"yes"; then
21460
21461 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21462
21463 fi
21464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21465 $as_echo "$ac_has_usleep" >&6; }
21466 fi
21467
21468 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21470 $as_echo_n "checking for Sleep... " >&6; }
21471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21472 /* end confdefs.h. */
21473 #include <windows.h>
21474 int
21475 main ()
21476 {
21477 Sleep(1)
21478 ;
21479 return 0;
21480 }
21481 _ACEOF
21482 if ac_fn_cxx_try_compile "$LINENO"; then :
21483 ac_has_win32_sleep=yes
21484 else
21485 ac_has_win32_sleep=no
21486 fi
21487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21488 if test x"$ac_has_win32_sleep" = x"yes"; then
21489
21490 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21491
21492 fi
21493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21494 $as_echo "$ac_has_win32_sleep" >&6; }
21495 fi
21496
21497
21498
21499 CXXFLAGS="$ac_save_CXXFLAGS"
21500 LIBS="$ac_save_LIBS"
21501 ac_ext=c
21502 ac_cpp='$CPP $CPPFLAGS'
21503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21506
21507
21508
21509 # Check for tmpnam which is obsolescent in POSIX.1-2008
21510
21511 ac_ext=cpp
21512 ac_cpp='$CXXCPP $CPPFLAGS'
21513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21516
21517 ac_save_CXXFLAGS="$CXXFLAGS"
21518 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21520 $as_echo_n "checking for tmpnam... " >&6; }
21521 if ${glibcxx_cv_TMPNAM+:} false; then :
21522 $as_echo_n "(cached) " >&6
21523 else
21524 if test x$gcc_no_link = xyes; then
21525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21526 /* end confdefs.h. */
21527 #include <stdio.h>
21528 int
21529 main ()
21530 {
21531 char *tmp = tmpnam(NULL);
21532 ;
21533 return 0;
21534 }
21535 _ACEOF
21536 if ac_fn_cxx_try_compile "$LINENO"; then :
21537 glibcxx_cv_TMPNAM=yes
21538 else
21539 glibcxx_cv_TMPNAM=no
21540 fi
21541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21542 else
21543 if test x$gcc_no_link = xyes; then
21544 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21545 fi
21546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21547 /* end confdefs.h. */
21548 #include <stdio.h>
21549 int
21550 main ()
21551 {
21552 char *tmp = tmpnam(NULL);
21553 ;
21554 return 0;
21555 }
21556 _ACEOF
21557 if ac_fn_cxx_try_link "$LINENO"; then :
21558 glibcxx_cv_TMPNAM=yes
21559 else
21560 glibcxx_cv_TMPNAM=no
21561 fi
21562 rm -f core conftest.err conftest.$ac_objext \
21563 conftest$ac_exeext conftest.$ac_ext
21564 fi
21565
21566 fi
21567
21568 if test $glibcxx_cv_TMPNAM = yes; then
21569
21570 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21571
21572 fi
21573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21574 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21575 CXXFLAGS="$ac_save_CXXFLAGS"
21576 ac_ext=c
21577 ac_cpp='$CPP $CPPFLAGS'
21578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21581
21582
21583
21584
21585 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21586 if test "x$ac_cv_header_locale_h" = xyes; then :
21587
21588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21589 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21590 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21591 $as_echo_n "(cached) " >&6
21592 else
21593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21594 /* end confdefs.h. */
21595 #include <locale.h>
21596 int
21597 main ()
21598 {
21599 return LC_MESSAGES
21600 ;
21601 return 0;
21602 }
21603 _ACEOF
21604 if ac_fn_c_try_compile "$LINENO"; then :
21605 ac_cv_val_LC_MESSAGES=yes
21606 else
21607 ac_cv_val_LC_MESSAGES=no
21608 fi
21609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21610 fi
21611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21612 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21613 if test $ac_cv_val_LC_MESSAGES = yes; then
21614
21615 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21616
21617 fi
21618
21619 fi
21620
21621
21622
21623
21624 # For hardware_concurrency
21625 for ac_header in sys/sysinfo.h
21626 do :
21627 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21628 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21629 cat >>confdefs.h <<_ACEOF
21630 #define HAVE_SYS_SYSINFO_H 1
21631 _ACEOF
21632
21633 fi
21634
21635 done
21636
21637
21638
21639
21640 ac_ext=cpp
21641 ac_cpp='$CXXCPP $CPPFLAGS'
21642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21645
21646 ac_save_CXXFLAGS="$CXXFLAGS"
21647 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21648
21649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21650 $as_echo_n "checking for get_nprocs... " >&6; }
21651 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21652 $as_echo_n "(cached) " >&6
21653 else
21654
21655 if test x$gcc_no_link = xyes; then
21656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21657 /* end confdefs.h. */
21658 #include <sys/sysinfo.h>
21659 int
21660 main ()
21661 {
21662 int n = get_nprocs();
21663 ;
21664 return 0;
21665 }
21666 _ACEOF
21667 if ac_fn_cxx_try_compile "$LINENO"; then :
21668 glibcxx_cv_GET_NPROCS=yes
21669 else
21670 glibcxx_cv_GET_NPROCS=no
21671 fi
21672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21673 else
21674 if test x$gcc_no_link = xyes; then
21675 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21676 fi
21677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21678 /* end confdefs.h. */
21679 #include <sys/sysinfo.h>
21680 int
21681 main ()
21682 {
21683 int n = get_nprocs();
21684 ;
21685 return 0;
21686 }
21687 _ACEOF
21688 if ac_fn_cxx_try_link "$LINENO"; then :
21689 glibcxx_cv_GET_NPROCS=yes
21690 else
21691 glibcxx_cv_GET_NPROCS=no
21692 fi
21693 rm -f core conftest.err conftest.$ac_objext \
21694 conftest$ac_exeext conftest.$ac_ext
21695 fi
21696
21697 fi
21698
21699 if test $glibcxx_cv_GET_NPROCS = yes; then
21700
21701 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21702
21703 fi
21704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21705 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21706
21707 CXXFLAGS="$ac_save_CXXFLAGS"
21708 ac_ext=c
21709 ac_cpp='$CPP $CPPFLAGS'
21710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21713
21714
21715 for ac_header in unistd.h
21716 do :
21717 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21718 if test "x$ac_cv_header_unistd_h" = xyes; then :
21719 cat >>confdefs.h <<_ACEOF
21720 #define HAVE_UNISTD_H 1
21721 _ACEOF
21722
21723 fi
21724
21725 done
21726
21727
21728
21729
21730 ac_ext=cpp
21731 ac_cpp='$CXXCPP $CPPFLAGS'
21732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21735
21736 ac_save_CXXFLAGS="$CXXFLAGS"
21737 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21738
21739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21740 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21741 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21742 $as_echo_n "(cached) " >&6
21743 else
21744
21745 if test x$gcc_no_link = xyes; then
21746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21747 /* end confdefs.h. */
21748 #include <unistd.h>
21749 int
21750 main ()
21751 {
21752 int n = sysconf(_SC_NPROCESSORS_ONLN);
21753 ;
21754 return 0;
21755 }
21756 _ACEOF
21757 if ac_fn_cxx_try_compile "$LINENO"; then :
21758 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21759 else
21760 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21761 fi
21762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21763 else
21764 if test x$gcc_no_link = xyes; then
21765 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21766 fi
21767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21768 /* end confdefs.h. */
21769 #include <unistd.h>
21770 int
21771 main ()
21772 {
21773 int n = sysconf(_SC_NPROCESSORS_ONLN);
21774 ;
21775 return 0;
21776 }
21777 _ACEOF
21778 if ac_fn_cxx_try_link "$LINENO"; then :
21779 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21780 else
21781 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21782 fi
21783 rm -f core conftest.err conftest.$ac_objext \
21784 conftest$ac_exeext conftest.$ac_ext
21785 fi
21786
21787 fi
21788
21789 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21790
21791 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21792
21793 fi
21794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21795 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21796
21797 CXXFLAGS="$ac_save_CXXFLAGS"
21798 ac_ext=c
21799 ac_cpp='$CPP $CPPFLAGS'
21800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21803
21804
21805
21806
21807
21808 ac_ext=cpp
21809 ac_cpp='$CXXCPP $CPPFLAGS'
21810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21813
21814 ac_save_CXXFLAGS="$CXXFLAGS"
21815 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21816
21817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21818 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21819 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21820 $as_echo_n "(cached) " >&6
21821 else
21822
21823 if test x$gcc_no_link = xyes; then
21824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21825 /* end confdefs.h. */
21826 #include <unistd.h>
21827 int
21828 main ()
21829 {
21830 int n = sysconf(_SC_NPROC_ONLN);
21831 ;
21832 return 0;
21833 }
21834 _ACEOF
21835 if ac_fn_cxx_try_compile "$LINENO"; then :
21836 glibcxx_cv_SC_NPROC_ONLN=yes
21837 else
21838 glibcxx_cv_SC_NPROC_ONLN=no
21839 fi
21840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21841 else
21842 if test x$gcc_no_link = xyes; then
21843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21844 fi
21845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21846 /* end confdefs.h. */
21847 #include <unistd.h>
21848 int
21849 main ()
21850 {
21851 int n = sysconf(_SC_NPROC_ONLN);
21852 ;
21853 return 0;
21854 }
21855 _ACEOF
21856 if ac_fn_cxx_try_link "$LINENO"; then :
21857 glibcxx_cv_SC_NPROC_ONLN=yes
21858 else
21859 glibcxx_cv_SC_NPROC_ONLN=no
21860 fi
21861 rm -f core conftest.err conftest.$ac_objext \
21862 conftest$ac_exeext conftest.$ac_ext
21863 fi
21864
21865 fi
21866
21867 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21868
21869 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21870
21871 fi
21872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21873 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21874
21875 CXXFLAGS="$ac_save_CXXFLAGS"
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
21884
21885
21886 ac_ext=cpp
21887 ac_cpp='$CXXCPP $CPPFLAGS'
21888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21891
21892 ac_save_CXXFLAGS="$CXXFLAGS"
21893 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21894
21895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21896 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21897 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21898 $as_echo_n "(cached) " >&6
21899 else
21900
21901 if test x$gcc_no_link = xyes; then
21902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21903 /* end confdefs.h. */
21904 #include <pthread.h>
21905 int
21906 main ()
21907 {
21908 int n = pthread_num_processors_np();
21909 ;
21910 return 0;
21911 }
21912 _ACEOF
21913 if ac_fn_cxx_try_compile "$LINENO"; then :
21914 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21915 else
21916 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21917 fi
21918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21919 else
21920 if test x$gcc_no_link = xyes; then
21921 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21922 fi
21923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21924 /* end confdefs.h. */
21925 #include <pthread.h>
21926 int
21927 main ()
21928 {
21929 int n = pthread_num_processors_np();
21930 ;
21931 return 0;
21932 }
21933 _ACEOF
21934 if ac_fn_cxx_try_link "$LINENO"; then :
21935 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21936 else
21937 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21938 fi
21939 rm -f core conftest.err conftest.$ac_objext \
21940 conftest$ac_exeext conftest.$ac_ext
21941 fi
21942
21943 fi
21944
21945 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21946
21947 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21948
21949 fi
21950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21951 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21952
21953 CXXFLAGS="$ac_save_CXXFLAGS"
21954 ac_ext=c
21955 ac_cpp='$CPP $CPPFLAGS'
21956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21959
21960
21961
21962
21963
21964 ac_ext=cpp
21965 ac_cpp='$CXXCPP $CPPFLAGS'
21966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21969
21970 ac_save_CXXFLAGS="$CXXFLAGS"
21971 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21972
21973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21974 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21975 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21976 $as_echo_n "(cached) " >&6
21977 else
21978
21979 if test x$gcc_no_link = xyes; then
21980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21981 /* end confdefs.h. */
21982
21983 #include <stddef.h>
21984 #include <sys/sysctl.h>
21985
21986 int
21987 main ()
21988 {
21989
21990 int count;
21991 size_t size = sizeof(count);
21992 int mib[] = { CTL_HW, HW_NCPU };
21993 sysctl(mib, 2, &count, &size, NULL, 0);
21994
21995 ;
21996 return 0;
21997 }
21998 _ACEOF
21999 if ac_fn_cxx_try_compile "$LINENO"; then :
22000 glibcxx_cv_SYSCTL_HW_NCPU=yes
22001 else
22002 glibcxx_cv_SYSCTL_HW_NCPU=no
22003 fi
22004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22005 else
22006 if test x$gcc_no_link = xyes; then
22007 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22008 fi
22009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22010 /* end confdefs.h. */
22011
22012 #include <stddef.h>
22013 #include <sys/sysctl.h>
22014
22015 int
22016 main ()
22017 {
22018
22019 int count;
22020 size_t size = sizeof(count);
22021 int mib[] = { CTL_HW, HW_NCPU };
22022 sysctl(mib, 2, &count, &size, NULL, 0);
22023
22024 ;
22025 return 0;
22026 }
22027 _ACEOF
22028 if ac_fn_cxx_try_link "$LINENO"; then :
22029 glibcxx_cv_SYSCTL_HW_NCPU=yes
22030 else
22031 glibcxx_cv_SYSCTL_HW_NCPU=no
22032 fi
22033 rm -f core conftest.err conftest.$ac_objext \
22034 conftest$ac_exeext conftest.$ac_ext
22035 fi
22036
22037 fi
22038
22039 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22040
22041 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22042
22043 fi
22044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22045 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22046
22047 CXXFLAGS="$ac_save_CXXFLAGS"
22048 ac_ext=c
22049 ac_cpp='$CPP $CPPFLAGS'
22050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22053
22054
22055
22056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22057 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22058 # Note that this test has to be run with the C language.
22059 # Otherwise, sdt.h will try to include some headers from
22060 # libstdc++ itself.
22061
22062 ac_ext=c
22063 ac_cpp='$CPP $CPPFLAGS'
22064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22067
22068 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22069 $as_echo_n "(cached) " >&6
22070 else
22071
22072 # Because we have to run the test in C, we use grep rather
22073 # than the compiler to check for the bug. The bug is that
22074 # were strings without trailing whitespace, causing g++
22075 # to look for operator"". The pattern searches for the fixed
22076 # output.
22077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22078 /* end confdefs.h. */
22079
22080 #include <sys/sdt.h>
22081 int f() { STAP_PROBE(hi, bob); }
22082
22083 _ACEOF
22084 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22085 $EGREP " \",\" " >/dev/null 2>&1; then :
22086 glibcxx_cv_sys_sdt_h=yes
22087 else
22088 glibcxx_cv_sys_sdt_h=no
22089 fi
22090 rm -f conftest*
22091
22092
22093 fi
22094
22095 ac_ext=c
22096 ac_cpp='$CPP $CPPFLAGS'
22097 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22098 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22099 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22100
22101 if test $glibcxx_cv_sys_sdt_h = yes; then
22102
22103 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22104
22105 fi
22106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22107 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22108
22109
22110 # Check for available headers.
22111 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22112 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22113 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22114 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22115 wchar.h wctype.h linux/types.h
22116 do :
22117 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22118 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22119 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22120 cat >>confdefs.h <<_ACEOF
22121 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22122 _ACEOF
22123
22124 fi
22125
22126 done
22127
22128
22129 for ac_header in linux/random.h
22130 do :
22131 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22132 # include <linux/types.h>
22133 #endif
22134
22135 "
22136 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22137 cat >>confdefs.h <<_ACEOF
22138 #define HAVE_LINUX_RANDOM_H 1
22139 _ACEOF
22140
22141 fi
22142
22143 done
22144
22145
22146 # Only do link tests if native. Else, hardcode.
22147 if $GLIBCXX_IS_NATIVE; then
22148
22149 # We can do more elaborate tests that assume a working linker.
22150 CANADIAN=no
22151
22152
22153
22154 # Check whether --with-gnu-ld was given.
22155 if test "${with_gnu_ld+set}" = set; then :
22156 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22157 else
22158 with_gnu_ld=no
22159 fi
22160
22161 ac_prog=ld
22162 if test "$GCC" = yes; then
22163 # Check if gcc -print-prog-name=ld gives a path.
22164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22165 $as_echo_n "checking for ld used by $CC... " >&6; }
22166 case $host in
22167 *-*-mingw*)
22168 # gcc leaves a trailing carriage return which upsets mingw
22169 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22170 *)
22171 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22172 esac
22173 case $ac_prog in
22174 # Accept absolute paths.
22175 [\\/]* | ?:[\\/]*)
22176 re_direlt='/[^/][^/]*/\.\./'
22177 # Canonicalize the pathname of ld
22178 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22179 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22180 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22181 done
22182 test -z "$LD" && LD="$ac_prog"
22183 ;;
22184 "")
22185 # If it fails, then pretend we aren't using GCC.
22186 ac_prog=ld
22187 ;;
22188 *)
22189 # If it is relative, then search for the first ld in PATH.
22190 with_gnu_ld=unknown
22191 ;;
22192 esac
22193 elif test "$with_gnu_ld" = yes; then
22194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22195 $as_echo_n "checking for GNU ld... " >&6; }
22196 else
22197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22198 $as_echo_n "checking for non-GNU ld... " >&6; }
22199 fi
22200 if ${lt_cv_path_LD+:} false; then :
22201 $as_echo_n "(cached) " >&6
22202 else
22203 if test -z "$LD"; then
22204 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22205 for ac_dir in $PATH; do
22206 IFS="$lt_save_ifs"
22207 test -z "$ac_dir" && ac_dir=.
22208 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22209 lt_cv_path_LD="$ac_dir/$ac_prog"
22210 # Check to see if the program is GNU ld. I'd rather use --version,
22211 # but apparently some variants of GNU ld only accept -v.
22212 # Break only if it was the GNU/non-GNU ld that we prefer.
22213 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22214 *GNU* | *'with BFD'*)
22215 test "$with_gnu_ld" != no && break
22216 ;;
22217 *)
22218 test "$with_gnu_ld" != yes && break
22219 ;;
22220 esac
22221 fi
22222 done
22223 IFS="$lt_save_ifs"
22224 else
22225 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22226 fi
22227 fi
22228
22229 LD="$lt_cv_path_LD"
22230 if test -n "$LD"; then
22231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22232 $as_echo "$LD" >&6; }
22233 else
22234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22235 $as_echo "no" >&6; }
22236 fi
22237 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22239 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22240 if ${lt_cv_prog_gnu_ld+:} false; then :
22241 $as_echo_n "(cached) " >&6
22242 else
22243 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22244 case `$LD -v 2>&1 </dev/null` in
22245 *GNU* | *'with BFD'*)
22246 lt_cv_prog_gnu_ld=yes
22247 ;;
22248 *)
22249 lt_cv_prog_gnu_ld=no
22250 ;;
22251 esac
22252 fi
22253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22254 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22255 with_gnu_ld=$lt_cv_prog_gnu_ld
22256
22257
22258
22259
22260
22261
22262
22263 # If we're not using GNU ld, then there's no point in even trying these
22264 # tests. Check for that first. We should have already tested for gld
22265 # by now (in libtool), but require it now just to be safe...
22266 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22267 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22268
22269
22270
22271 # The name set by libtool depends on the version of libtool. Shame on us
22272 # for depending on an impl detail, but c'est la vie. Older versions used
22273 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22274 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22275 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22276 # set (hence we're using an older libtool), then set it.
22277 if test x${with_gnu_ld+set} != xset; then
22278 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22279 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22280 with_gnu_ld=no
22281 else
22282 with_gnu_ld=$ac_cv_prog_gnu_ld
22283 fi
22284 fi
22285
22286 # Start by getting the version number. I think the libtool test already
22287 # does some of this, but throws away the result.
22288 glibcxx_ld_is_gold=no
22289 if test x"$with_gnu_ld" = x"yes"; then
22290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22291 $as_echo_n "checking for ld version... " >&6; }
22292
22293 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22294 glibcxx_ld_is_gold=yes
22295 fi
22296 ldver=`$LD --version 2>/dev/null |
22297 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'`
22298
22299 glibcxx_gnu_ld_version=`echo $ldver | \
22300 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22302 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22303 fi
22304
22305 # Set --gc-sections.
22306 glibcxx_have_gc_sections=no
22307 if test "$glibcxx_ld_is_gold" = "yes"; then
22308 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22309 glibcxx_have_gc_sections=yes
22310 fi
22311 else
22312 glibcxx_gcsections_min_ld=21602
22313 if test x"$with_gnu_ld" = x"yes" &&
22314 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22315 glibcxx_have_gc_sections=yes
22316 fi
22317 fi
22318 if test "$glibcxx_have_gc_sections" = "yes"; then
22319 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22320 # NB: This flag only works reliably after 2.16.1. Configure tests
22321 # for this are difficult, so hard wire a value that should work.
22322
22323 ac_test_CFLAGS="${CFLAGS+set}"
22324 ac_save_CFLAGS="$CFLAGS"
22325 CFLAGS='-Wl,--gc-sections'
22326
22327 # Check for -Wl,--gc-sections
22328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22329 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22330 if test x$gcc_no_link = xyes; then
22331 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22332 fi
22333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22334 /* end confdefs.h. */
22335 int one(void) { return 1; }
22336 int two(void) { return 2; }
22337
22338 int
22339 main ()
22340 {
22341 two();
22342 ;
22343 return 0;
22344 }
22345 _ACEOF
22346 if ac_fn_c_try_link "$LINENO"; then :
22347 ac_gcsections=yes
22348 else
22349 ac_gcsections=no
22350 fi
22351 rm -f core conftest.err conftest.$ac_objext \
22352 conftest$ac_exeext conftest.$ac_ext
22353 if test "$ac_gcsections" = "yes"; then
22354 rm -f conftest.c
22355 touch conftest.c
22356 if $CC -c conftest.c; then
22357 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22358 grep "Warning: gc-sections option ignored" > /dev/null; then
22359 ac_gcsections=no
22360 fi
22361 fi
22362 rm -f conftest.c conftest.o conftest
22363 fi
22364 if test "$ac_gcsections" = "yes"; then
22365 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22366 fi
22367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22368 $as_echo "$ac_gcsections" >&6; }
22369
22370 if test "$ac_test_CFLAGS" = set; then
22371 CFLAGS="$ac_save_CFLAGS"
22372 else
22373 # this is the suspicious part
22374 CFLAGS=''
22375 fi
22376 fi
22377
22378 # Set -z,relro.
22379 # Note this is only for shared objects.
22380 ac_ld_relro=no
22381 if test x"$with_gnu_ld" = x"yes"; then
22382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22383 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22384 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22385 if test -n "$cxx_z_relo"; then
22386 OPT_LDFLAGS="-Wl,-z,relro"
22387 ac_ld_relro=yes
22388 fi
22389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22390 $as_echo "$ac_ld_relro" >&6; }
22391 fi
22392
22393 # Set linker optimization flags.
22394 if test x"$with_gnu_ld" = x"yes"; then
22395 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22396 fi
22397
22398
22399
22400
22401
22402 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22403 ac_save_CXXFLAGS="$CXXFLAGS"
22404 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22405
22406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22407 $as_echo_n "checking for sin in -lm... " >&6; }
22408 if ${ac_cv_lib_m_sin+:} false; then :
22409 $as_echo_n "(cached) " >&6
22410 else
22411 ac_check_lib_save_LIBS=$LIBS
22412 LIBS="-lm $LIBS"
22413 if test x$gcc_no_link = xyes; then
22414 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22415 fi
22416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22417 /* end confdefs.h. */
22418
22419 /* Override any GCC internal prototype to avoid an error.
22420 Use char because int might match the return type of a GCC
22421 builtin and then its argument prototype would still apply. */
22422 #ifdef __cplusplus
22423 extern "C"
22424 #endif
22425 char sin ();
22426 int
22427 main ()
22428 {
22429 return sin ();
22430 ;
22431 return 0;
22432 }
22433 _ACEOF
22434 if ac_fn_c_try_link "$LINENO"; then :
22435 ac_cv_lib_m_sin=yes
22436 else
22437 ac_cv_lib_m_sin=no
22438 fi
22439 rm -f core conftest.err conftest.$ac_objext \
22440 conftest$ac_exeext conftest.$ac_ext
22441 LIBS=$ac_check_lib_save_LIBS
22442 fi
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22444 $as_echo "$ac_cv_lib_m_sin" >&6; }
22445 if test "x$ac_cv_lib_m_sin" = xyes; then :
22446 libm="-lm"
22447 fi
22448
22449 ac_save_LIBS="$LIBS"
22450 LIBS="$LIBS $libm"
22451
22452
22453
22454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22455 $as_echo_n "checking for isinf declaration... " >&6; }
22456 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22457 if ${glibcxx_cv_func_isinf_use+:} false; then :
22458 $as_echo_n "(cached) " >&6
22459 else
22460
22461
22462 ac_ext=cpp
22463 ac_cpp='$CXXCPP $CPPFLAGS'
22464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22467
22468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22469 /* end confdefs.h. */
22470 #include <math.h>
22471 #ifdef HAVE_IEEEFP_H
22472 #include <ieeefp.h>
22473 #endif
22474
22475 int
22476 main ()
22477 {
22478 isinf(0);
22479 ;
22480 return 0;
22481 }
22482 _ACEOF
22483 if ac_fn_cxx_try_compile "$LINENO"; then :
22484 glibcxx_cv_func_isinf_use=yes
22485 else
22486 glibcxx_cv_func_isinf_use=no
22487 fi
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22489 ac_ext=c
22490 ac_cpp='$CPP $CPPFLAGS'
22491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22494
22495
22496 fi
22497
22498 fi
22499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22500 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22501
22502 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22503 for ac_func in isinf
22504 do :
22505 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22506 if test "x$ac_cv_func_isinf" = xyes; then :
22507 cat >>confdefs.h <<_ACEOF
22508 #define HAVE_ISINF 1
22509 _ACEOF
22510
22511 fi
22512 done
22513
22514 else
22515
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22517 $as_echo_n "checking for _isinf declaration... " >&6; }
22518 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22519 if ${glibcxx_cv_func__isinf_use+:} false; then :
22520 $as_echo_n "(cached) " >&6
22521 else
22522
22523
22524 ac_ext=cpp
22525 ac_cpp='$CXXCPP $CPPFLAGS'
22526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22529
22530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22531 /* end confdefs.h. */
22532 #include <math.h>
22533 #ifdef HAVE_IEEEFP_H
22534 #include <ieeefp.h>
22535 #endif
22536
22537 int
22538 main ()
22539 {
22540 _isinf(0);
22541 ;
22542 return 0;
22543 }
22544 _ACEOF
22545 if ac_fn_cxx_try_compile "$LINENO"; then :
22546 glibcxx_cv_func__isinf_use=yes
22547 else
22548 glibcxx_cv_func__isinf_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__isinf_use" >&5
22562 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22563
22564 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22565 for ac_func in _isinf
22566 do :
22567 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22568 if test "x$ac_cv_func__isinf" = xyes; then :
22569 cat >>confdefs.h <<_ACEOF
22570 #define HAVE__ISINF 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 isnan declaration" >&5
22584 $as_echo_n "checking for isnan declaration... " >&6; }
22585 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22586 if ${glibcxx_cv_func_isnan_use+:} false; 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 #ifdef HAVE_IEEEFP_H
22601 #include <ieeefp.h>
22602 #endif
22603
22604 int
22605 main ()
22606 {
22607 isnan(0);
22608 ;
22609 return 0;
22610 }
22611 _ACEOF
22612 if ac_fn_cxx_try_compile "$LINENO"; then :
22613 glibcxx_cv_func_isnan_use=yes
22614 else
22615 glibcxx_cv_func_isnan_use=no
22616 fi
22617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22618 ac_ext=c
22619 ac_cpp='$CPP $CPPFLAGS'
22620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22623
22624
22625 fi
22626
22627 fi
22628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22629 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22630
22631 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22632 for ac_func in isnan
22633 do :
22634 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22635 if test "x$ac_cv_func_isnan" = xyes; then :
22636 cat >>confdefs.h <<_ACEOF
22637 #define HAVE_ISNAN 1
22638 _ACEOF
22639
22640 fi
22641 done
22642
22643 else
22644
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22646 $as_echo_n "checking for _isnan declaration... " >&6; }
22647 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22648 if ${glibcxx_cv_func__isnan_use+:} false; then :
22649 $as_echo_n "(cached) " >&6
22650 else
22651
22652
22653 ac_ext=cpp
22654 ac_cpp='$CXXCPP $CPPFLAGS'
22655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22658
22659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22660 /* end confdefs.h. */
22661 #include <math.h>
22662 #ifdef HAVE_IEEEFP_H
22663 #include <ieeefp.h>
22664 #endif
22665
22666 int
22667 main ()
22668 {
22669 _isnan(0);
22670 ;
22671 return 0;
22672 }
22673 _ACEOF
22674 if ac_fn_cxx_try_compile "$LINENO"; then :
22675 glibcxx_cv_func__isnan_use=yes
22676 else
22677 glibcxx_cv_func__isnan_use=no
22678 fi
22679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22680 ac_ext=c
22681 ac_cpp='$CPP $CPPFLAGS'
22682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22685
22686
22687 fi
22688
22689 fi
22690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22691 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22692
22693 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22694 for ac_func in _isnan
22695 do :
22696 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22697 if test "x$ac_cv_func__isnan" = xyes; then :
22698 cat >>confdefs.h <<_ACEOF
22699 #define HAVE__ISNAN 1
22700 _ACEOF
22701
22702 fi
22703 done
22704
22705 fi
22706 fi
22707
22708
22709
22710
22711
22712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22713 $as_echo_n "checking for finite declaration... " >&6; }
22714 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22715 if ${glibcxx_cv_func_finite_use+:} false; then :
22716 $as_echo_n "(cached) " >&6
22717 else
22718
22719
22720 ac_ext=cpp
22721 ac_cpp='$CXXCPP $CPPFLAGS'
22722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22725
22726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22727 /* end confdefs.h. */
22728 #include <math.h>
22729 #ifdef HAVE_IEEEFP_H
22730 #include <ieeefp.h>
22731 #endif
22732
22733 int
22734 main ()
22735 {
22736 finite(0);
22737 ;
22738 return 0;
22739 }
22740 _ACEOF
22741 if ac_fn_cxx_try_compile "$LINENO"; then :
22742 glibcxx_cv_func_finite_use=yes
22743 else
22744 glibcxx_cv_func_finite_use=no
22745 fi
22746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22747 ac_ext=c
22748 ac_cpp='$CPP $CPPFLAGS'
22749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22752
22753
22754 fi
22755
22756 fi
22757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22758 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22759
22760 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22761 for ac_func in finite
22762 do :
22763 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22764 if test "x$ac_cv_func_finite" = xyes; then :
22765 cat >>confdefs.h <<_ACEOF
22766 #define HAVE_FINITE 1
22767 _ACEOF
22768
22769 fi
22770 done
22771
22772 else
22773
22774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22775 $as_echo_n "checking for _finite declaration... " >&6; }
22776 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22777 if ${glibcxx_cv_func__finite_use+:} false; then :
22778 $as_echo_n "(cached) " >&6
22779 else
22780
22781
22782 ac_ext=cpp
22783 ac_cpp='$CXXCPP $CPPFLAGS'
22784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22787
22788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22789 /* end confdefs.h. */
22790 #include <math.h>
22791 #ifdef HAVE_IEEEFP_H
22792 #include <ieeefp.h>
22793 #endif
22794
22795 int
22796 main ()
22797 {
22798 _finite(0);
22799 ;
22800 return 0;
22801 }
22802 _ACEOF
22803 if ac_fn_cxx_try_compile "$LINENO"; then :
22804 glibcxx_cv_func__finite_use=yes
22805 else
22806 glibcxx_cv_func__finite_use=no
22807 fi
22808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22809 ac_ext=c
22810 ac_cpp='$CPP $CPPFLAGS'
22811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22814
22815
22816 fi
22817
22818 fi
22819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22820 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22821
22822 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22823 for ac_func in _finite
22824 do :
22825 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22826 if test "x$ac_cv_func__finite" = xyes; then :
22827 cat >>confdefs.h <<_ACEOF
22828 #define HAVE__FINITE 1
22829 _ACEOF
22830
22831 fi
22832 done
22833
22834 fi
22835 fi
22836
22837
22838
22839
22840
22841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22842 $as_echo_n "checking for sincos declaration... " >&6; }
22843 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22844 if ${glibcxx_cv_func_sincos_use+:} false; then :
22845 $as_echo_n "(cached) " >&6
22846 else
22847
22848
22849 ac_ext=cpp
22850 ac_cpp='$CXXCPP $CPPFLAGS'
22851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22854
22855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22856 /* end confdefs.h. */
22857 #include <math.h>
22858 int
22859 main ()
22860 {
22861 sincos(0, 0, 0);
22862 ;
22863 return 0;
22864 }
22865 _ACEOF
22866 if ac_fn_cxx_try_compile "$LINENO"; then :
22867 glibcxx_cv_func_sincos_use=yes
22868 else
22869 glibcxx_cv_func_sincos_use=no
22870 fi
22871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22872 ac_ext=c
22873 ac_cpp='$CPP $CPPFLAGS'
22874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22877
22878
22879 fi
22880
22881 fi
22882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22883 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22884
22885 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22886 for ac_func in sincos
22887 do :
22888 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22889 if test "x$ac_cv_func_sincos" = xyes; then :
22890 cat >>confdefs.h <<_ACEOF
22891 #define HAVE_SINCOS 1
22892 _ACEOF
22893
22894 fi
22895 done
22896
22897 else
22898
22899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22900 $as_echo_n "checking for _sincos declaration... " >&6; }
22901 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22902 if ${glibcxx_cv_func__sincos_use+:} false; then :
22903 $as_echo_n "(cached) " >&6
22904 else
22905
22906
22907 ac_ext=cpp
22908 ac_cpp='$CXXCPP $CPPFLAGS'
22909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22912
22913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22914 /* end confdefs.h. */
22915 #include <math.h>
22916 int
22917 main ()
22918 {
22919 _sincos(0, 0, 0);
22920 ;
22921 return 0;
22922 }
22923 _ACEOF
22924 if ac_fn_cxx_try_compile "$LINENO"; then :
22925 glibcxx_cv_func__sincos_use=yes
22926 else
22927 glibcxx_cv_func__sincos_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__sincos_use" >&5
22941 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22942
22943 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22944 for ac_func in _sincos
22945 do :
22946 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22947 if test "x$ac_cv_func__sincos" = xyes; then :
22948 cat >>confdefs.h <<_ACEOF
22949 #define HAVE__SINCOS 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 fpclass declaration" >&5
22963 $as_echo_n "checking for fpclass declaration... " >&6; }
22964 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22965 if ${glibcxx_cv_func_fpclass_use+:} false; 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 #ifdef HAVE_IEEEFP_H
22980 #include <ieeefp.h>
22981 #endif
22982
22983 int
22984 main ()
22985 {
22986 fpclass(0);
22987 ;
22988 return 0;
22989 }
22990 _ACEOF
22991 if ac_fn_cxx_try_compile "$LINENO"; then :
22992 glibcxx_cv_func_fpclass_use=yes
22993 else
22994 glibcxx_cv_func_fpclass_use=no
22995 fi
22996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22997 ac_ext=c
22998 ac_cpp='$CPP $CPPFLAGS'
22999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23002
23003
23004 fi
23005
23006 fi
23007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
23008 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
23009
23010 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
23011 for ac_func in fpclass
23012 do :
23013 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23014 if test "x$ac_cv_func_fpclass" = xyes; then :
23015 cat >>confdefs.h <<_ACEOF
23016 #define HAVE_FPCLASS 1
23017 _ACEOF
23018
23019 fi
23020 done
23021
23022 else
23023
23024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23025 $as_echo_n "checking for _fpclass declaration... " >&6; }
23026 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23027 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23028 $as_echo_n "(cached) " >&6
23029 else
23030
23031
23032 ac_ext=cpp
23033 ac_cpp='$CXXCPP $CPPFLAGS'
23034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23037
23038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23039 /* end confdefs.h. */
23040 #include <math.h>
23041 #ifdef HAVE_IEEEFP_H
23042 #include <ieeefp.h>
23043 #endif
23044
23045 int
23046 main ()
23047 {
23048 _fpclass(0);
23049 ;
23050 return 0;
23051 }
23052 _ACEOF
23053 if ac_fn_cxx_try_compile "$LINENO"; then :
23054 glibcxx_cv_func__fpclass_use=yes
23055 else
23056 glibcxx_cv_func__fpclass_use=no
23057 fi
23058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23059 ac_ext=c
23060 ac_cpp='$CPP $CPPFLAGS'
23061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23064
23065
23066 fi
23067
23068 fi
23069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23070 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23071
23072 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23073 for ac_func in _fpclass
23074 do :
23075 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23076 if test "x$ac_cv_func__fpclass" = xyes; then :
23077 cat >>confdefs.h <<_ACEOF
23078 #define HAVE__FPCLASS 1
23079 _ACEOF
23080
23081 fi
23082 done
23083
23084 fi
23085 fi
23086
23087
23088
23089
23090
23091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23092 $as_echo_n "checking for qfpclass declaration... " >&6; }
23093 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23094 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23095 $as_echo_n "(cached) " >&6
23096 else
23097
23098
23099 ac_ext=cpp
23100 ac_cpp='$CXXCPP $CPPFLAGS'
23101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23104
23105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23106 /* end confdefs.h. */
23107 #include <math.h>
23108 #ifdef HAVE_IEEEFP_H
23109 #include <ieeefp.h>
23110 #endif
23111
23112 int
23113 main ()
23114 {
23115 qfpclass(0);
23116 ;
23117 return 0;
23118 }
23119 _ACEOF
23120 if ac_fn_cxx_try_compile "$LINENO"; then :
23121 glibcxx_cv_func_qfpclass_use=yes
23122 else
23123 glibcxx_cv_func_qfpclass_use=no
23124 fi
23125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23126 ac_ext=c
23127 ac_cpp='$CPP $CPPFLAGS'
23128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23131
23132
23133 fi
23134
23135 fi
23136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23137 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23138
23139 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23140 for ac_func in qfpclass
23141 do :
23142 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23143 if test "x$ac_cv_func_qfpclass" = xyes; then :
23144 cat >>confdefs.h <<_ACEOF
23145 #define HAVE_QFPCLASS 1
23146 _ACEOF
23147
23148 fi
23149 done
23150
23151 else
23152
23153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23154 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23155 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23156 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23157 $as_echo_n "(cached) " >&6
23158 else
23159
23160
23161 ac_ext=cpp
23162 ac_cpp='$CXXCPP $CPPFLAGS'
23163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23166
23167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23168 /* end confdefs.h. */
23169 #include <math.h>
23170 #ifdef HAVE_IEEEFP_H
23171 #include <ieeefp.h>
23172 #endif
23173
23174 int
23175 main ()
23176 {
23177 _qfpclass(0);
23178 ;
23179 return 0;
23180 }
23181 _ACEOF
23182 if ac_fn_cxx_try_compile "$LINENO"; then :
23183 glibcxx_cv_func__qfpclass_use=yes
23184 else
23185 glibcxx_cv_func__qfpclass_use=no
23186 fi
23187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23188 ac_ext=c
23189 ac_cpp='$CPP $CPPFLAGS'
23190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23193
23194
23195 fi
23196
23197 fi
23198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23199 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23200
23201 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23202 for ac_func in _qfpclass
23203 do :
23204 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23205 if test "x$ac_cv_func__qfpclass" = xyes; then :
23206 cat >>confdefs.h <<_ACEOF
23207 #define HAVE__QFPCLASS 1
23208 _ACEOF
23209
23210 fi
23211 done
23212
23213 fi
23214 fi
23215
23216
23217
23218
23219
23220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23221 $as_echo_n "checking for hypot declaration... " >&6; }
23222 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23223 if ${glibcxx_cv_func_hypot_use+:} false; then :
23224 $as_echo_n "(cached) " >&6
23225 else
23226
23227
23228 ac_ext=cpp
23229 ac_cpp='$CXXCPP $CPPFLAGS'
23230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23233
23234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23235 /* end confdefs.h. */
23236 #include <math.h>
23237 int
23238 main ()
23239 {
23240 hypot(0, 0);
23241 ;
23242 return 0;
23243 }
23244 _ACEOF
23245 if ac_fn_cxx_try_compile "$LINENO"; then :
23246 glibcxx_cv_func_hypot_use=yes
23247 else
23248 glibcxx_cv_func_hypot_use=no
23249 fi
23250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23251 ac_ext=c
23252 ac_cpp='$CPP $CPPFLAGS'
23253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23256
23257
23258 fi
23259
23260 fi
23261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23262 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23263
23264 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23265 for ac_func in hypot
23266 do :
23267 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23268 if test "x$ac_cv_func_hypot" = xyes; then :
23269 cat >>confdefs.h <<_ACEOF
23270 #define HAVE_HYPOT 1
23271 _ACEOF
23272
23273 fi
23274 done
23275
23276 else
23277
23278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23279 $as_echo_n "checking for _hypot declaration... " >&6; }
23280 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23281 if ${glibcxx_cv_func__hypot_use+:} false; then :
23282 $as_echo_n "(cached) " >&6
23283 else
23284
23285
23286 ac_ext=cpp
23287 ac_cpp='$CXXCPP $CPPFLAGS'
23288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23291
23292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23293 /* end confdefs.h. */
23294 #include <math.h>
23295 int
23296 main ()
23297 {
23298 _hypot(0, 0);
23299 ;
23300 return 0;
23301 }
23302 _ACEOF
23303 if ac_fn_cxx_try_compile "$LINENO"; then :
23304 glibcxx_cv_func__hypot_use=yes
23305 else
23306 glibcxx_cv_func__hypot_use=no
23307 fi
23308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23309 ac_ext=c
23310 ac_cpp='$CPP $CPPFLAGS'
23311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23314
23315
23316 fi
23317
23318 fi
23319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23320 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23321
23322 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23323 for ac_func in _hypot
23324 do :
23325 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23326 if test "x$ac_cv_func__hypot" = xyes; then :
23327 cat >>confdefs.h <<_ACEOF
23328 #define HAVE__HYPOT 1
23329 _ACEOF
23330
23331 fi
23332 done
23333
23334 fi
23335 fi
23336
23337
23338
23339
23340
23341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23342 $as_echo_n "checking for float trig functions... " >&6; }
23343 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23344 $as_echo_n "(cached) " >&6
23345 else
23346
23347
23348 ac_ext=cpp
23349 ac_cpp='$CXXCPP $CPPFLAGS'
23350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23353
23354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23355 /* end confdefs.h. */
23356 #include <math.h>
23357 int
23358 main ()
23359 {
23360 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23361 ;
23362 return 0;
23363 }
23364 _ACEOF
23365 if ac_fn_cxx_try_compile "$LINENO"; then :
23366 glibcxx_cv_func_float_trig_use=yes
23367 else
23368 glibcxx_cv_func_float_trig_use=no
23369 fi
23370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23371 ac_ext=c
23372 ac_cpp='$CPP $CPPFLAGS'
23373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23376
23377 fi
23378
23379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23380 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23381 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23382 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23383 do :
23384 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23385 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23386 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23387 cat >>confdefs.h <<_ACEOF
23388 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23389 _ACEOF
23390
23391 fi
23392 done
23393
23394 else
23395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23396 $as_echo_n "checking for _float trig functions... " >&6; }
23397 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23398 $as_echo_n "(cached) " >&6
23399 else
23400
23401
23402 ac_ext=cpp
23403 ac_cpp='$CXXCPP $CPPFLAGS'
23404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23407
23408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23409 /* end confdefs.h. */
23410 #include <math.h>
23411 int
23412 main ()
23413 {
23414 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23415 ;
23416 return 0;
23417 }
23418 _ACEOF
23419 if ac_fn_cxx_try_compile "$LINENO"; then :
23420 glibcxx_cv_func__float_trig_use=yes
23421 else
23422 glibcxx_cv_func__float_trig_use=no
23423 fi
23424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23425 ac_ext=c
23426 ac_cpp='$CPP $CPPFLAGS'
23427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23430
23431 fi
23432
23433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23434 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23435 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23436 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23437 do :
23438 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23439 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23440 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23441 cat >>confdefs.h <<_ACEOF
23442 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23443 _ACEOF
23444
23445 fi
23446 done
23447
23448 fi
23449 fi
23450
23451
23452
23453
23454
23455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23456 $as_echo_n "checking for float round functions... " >&6; }
23457 if ${glibcxx_cv_func_float_round_use+:} false; 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 ceilf (0); floorf (0);
23475 ;
23476 return 0;
23477 }
23478 _ACEOF
23479 if ac_fn_cxx_try_compile "$LINENO"; then :
23480 glibcxx_cv_func_float_round_use=yes
23481 else
23482 glibcxx_cv_func_float_round_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 fi
23492
23493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23494 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23495 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23496 for ac_func in ceilf floorf
23497 do :
23498 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23499 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23500 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23501 cat >>confdefs.h <<_ACEOF
23502 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23503 _ACEOF
23504
23505 fi
23506 done
23507
23508 else
23509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23510 $as_echo_n "checking for _float round functions... " >&6; }
23511 if ${glibcxx_cv_func__float_round_use+:} false; then :
23512 $as_echo_n "(cached) " >&6
23513 else
23514
23515
23516 ac_ext=cpp
23517 ac_cpp='$CXXCPP $CPPFLAGS'
23518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23521
23522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23523 /* end confdefs.h. */
23524 #include <math.h>
23525 int
23526 main ()
23527 {
23528 _ceilf (0); _floorf (0);
23529 ;
23530 return 0;
23531 }
23532 _ACEOF
23533 if ac_fn_cxx_try_compile "$LINENO"; then :
23534 glibcxx_cv_func__float_round_use=yes
23535 else
23536 glibcxx_cv_func__float_round_use=no
23537 fi
23538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23539 ac_ext=c
23540 ac_cpp='$CPP $CPPFLAGS'
23541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23544
23545 fi
23546
23547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23548 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23549 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23550 for ac_func in _ceilf _floorf
23551 do :
23552 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23553 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23554 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23555 cat >>confdefs.h <<_ACEOF
23556 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23557 _ACEOF
23558
23559 fi
23560 done
23561
23562 fi
23563 fi
23564
23565
23566
23567
23568
23569
23570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23571 $as_echo_n "checking for expf declaration... " >&6; }
23572 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23573 if ${glibcxx_cv_func_expf_use+:} false; then :
23574 $as_echo_n "(cached) " >&6
23575 else
23576
23577
23578 ac_ext=cpp
23579 ac_cpp='$CXXCPP $CPPFLAGS'
23580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23583
23584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23585 /* end confdefs.h. */
23586 #include <math.h>
23587 #ifdef HAVE_IEEEFP_H
23588 #include <ieeefp.h>
23589 #endif
23590
23591 int
23592 main ()
23593 {
23594 expf(0);
23595 ;
23596 return 0;
23597 }
23598 _ACEOF
23599 if ac_fn_cxx_try_compile "$LINENO"; then :
23600 glibcxx_cv_func_expf_use=yes
23601 else
23602 glibcxx_cv_func_expf_use=no
23603 fi
23604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23605 ac_ext=c
23606 ac_cpp='$CPP $CPPFLAGS'
23607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23610
23611
23612 fi
23613
23614 fi
23615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23616 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23617
23618 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23619 for ac_func in expf
23620 do :
23621 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23622 if test "x$ac_cv_func_expf" = xyes; then :
23623 cat >>confdefs.h <<_ACEOF
23624 #define HAVE_EXPF 1
23625 _ACEOF
23626
23627 fi
23628 done
23629
23630 else
23631
23632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23633 $as_echo_n "checking for _expf declaration... " >&6; }
23634 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23635 if ${glibcxx_cv_func__expf_use+:} false; then :
23636 $as_echo_n "(cached) " >&6
23637 else
23638
23639
23640 ac_ext=cpp
23641 ac_cpp='$CXXCPP $CPPFLAGS'
23642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23645
23646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23647 /* end confdefs.h. */
23648 #include <math.h>
23649 #ifdef HAVE_IEEEFP_H
23650 #include <ieeefp.h>
23651 #endif
23652
23653 int
23654 main ()
23655 {
23656 _expf(0);
23657 ;
23658 return 0;
23659 }
23660 _ACEOF
23661 if ac_fn_cxx_try_compile "$LINENO"; then :
23662 glibcxx_cv_func__expf_use=yes
23663 else
23664 glibcxx_cv_func__expf_use=no
23665 fi
23666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23667 ac_ext=c
23668 ac_cpp='$CPP $CPPFLAGS'
23669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23672
23673
23674 fi
23675
23676 fi
23677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23678 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23679
23680 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23681 for ac_func in _expf
23682 do :
23683 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23684 if test "x$ac_cv_func__expf" = xyes; then :
23685 cat >>confdefs.h <<_ACEOF
23686 #define HAVE__EXPF 1
23687 _ACEOF
23688
23689 fi
23690 done
23691
23692 fi
23693 fi
23694
23695
23696
23697
23698
23699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23700 $as_echo_n "checking for isnanf declaration... " >&6; }
23701 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23702 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23703 $as_echo_n "(cached) " >&6
23704 else
23705
23706
23707 ac_ext=cpp
23708 ac_cpp='$CXXCPP $CPPFLAGS'
23709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23712
23713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23714 /* end confdefs.h. */
23715 #include <math.h>
23716 #ifdef HAVE_IEEEFP_H
23717 #include <ieeefp.h>
23718 #endif
23719
23720 int
23721 main ()
23722 {
23723 isnanf(0);
23724 ;
23725 return 0;
23726 }
23727 _ACEOF
23728 if ac_fn_cxx_try_compile "$LINENO"; then :
23729 glibcxx_cv_func_isnanf_use=yes
23730 else
23731 glibcxx_cv_func_isnanf_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
23741 fi
23742
23743 fi
23744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23745 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23746
23747 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23748 for ac_func in isnanf
23749 do :
23750 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23751 if test "x$ac_cv_func_isnanf" = xyes; then :
23752 cat >>confdefs.h <<_ACEOF
23753 #define HAVE_ISNANF 1
23754 _ACEOF
23755
23756 fi
23757 done
23758
23759 else
23760
23761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23762 $as_echo_n "checking for _isnanf declaration... " >&6; }
23763 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23764 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23765 $as_echo_n "(cached) " >&6
23766 else
23767
23768
23769 ac_ext=cpp
23770 ac_cpp='$CXXCPP $CPPFLAGS'
23771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23774
23775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23776 /* end confdefs.h. */
23777 #include <math.h>
23778 #ifdef HAVE_IEEEFP_H
23779 #include <ieeefp.h>
23780 #endif
23781
23782 int
23783 main ()
23784 {
23785 _isnanf(0);
23786 ;
23787 return 0;
23788 }
23789 _ACEOF
23790 if ac_fn_cxx_try_compile "$LINENO"; then :
23791 glibcxx_cv_func__isnanf_use=yes
23792 else
23793 glibcxx_cv_func__isnanf_use=no
23794 fi
23795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23796 ac_ext=c
23797 ac_cpp='$CPP $CPPFLAGS'
23798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23801
23802
23803 fi
23804
23805 fi
23806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23807 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23808
23809 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23810 for ac_func in _isnanf
23811 do :
23812 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23813 if test "x$ac_cv_func__isnanf" = xyes; then :
23814 cat >>confdefs.h <<_ACEOF
23815 #define HAVE__ISNANF 1
23816 _ACEOF
23817
23818 fi
23819 done
23820
23821 fi
23822 fi
23823
23824
23825
23826
23827
23828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23829 $as_echo_n "checking for isinff declaration... " >&6; }
23830 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23831 if ${glibcxx_cv_func_isinff_use+:} false; then :
23832 $as_echo_n "(cached) " >&6
23833 else
23834
23835
23836 ac_ext=cpp
23837 ac_cpp='$CXXCPP $CPPFLAGS'
23838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23841
23842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23843 /* end confdefs.h. */
23844 #include <math.h>
23845 #ifdef HAVE_IEEEFP_H
23846 #include <ieeefp.h>
23847 #endif
23848
23849 int
23850 main ()
23851 {
23852 isinff(0);
23853 ;
23854 return 0;
23855 }
23856 _ACEOF
23857 if ac_fn_cxx_try_compile "$LINENO"; then :
23858 glibcxx_cv_func_isinff_use=yes
23859 else
23860 glibcxx_cv_func_isinff_use=no
23861 fi
23862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23863 ac_ext=c
23864 ac_cpp='$CPP $CPPFLAGS'
23865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23868
23869
23870 fi
23871
23872 fi
23873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23874 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23875
23876 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23877 for ac_func in isinff
23878 do :
23879 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23880 if test "x$ac_cv_func_isinff" = xyes; then :
23881 cat >>confdefs.h <<_ACEOF
23882 #define HAVE_ISINFF 1
23883 _ACEOF
23884
23885 fi
23886 done
23887
23888 else
23889
23890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23891 $as_echo_n "checking for _isinff declaration... " >&6; }
23892 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23893 if ${glibcxx_cv_func__isinff_use+:} false; then :
23894 $as_echo_n "(cached) " >&6
23895 else
23896
23897
23898 ac_ext=cpp
23899 ac_cpp='$CXXCPP $CPPFLAGS'
23900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23903
23904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23905 /* end confdefs.h. */
23906 #include <math.h>
23907 #ifdef HAVE_IEEEFP_H
23908 #include <ieeefp.h>
23909 #endif
23910
23911 int
23912 main ()
23913 {
23914 _isinff(0);
23915 ;
23916 return 0;
23917 }
23918 _ACEOF
23919 if ac_fn_cxx_try_compile "$LINENO"; then :
23920 glibcxx_cv_func__isinff_use=yes
23921 else
23922 glibcxx_cv_func__isinff_use=no
23923 fi
23924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23925 ac_ext=c
23926 ac_cpp='$CPP $CPPFLAGS'
23927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23930
23931
23932 fi
23933
23934 fi
23935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23936 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23937
23938 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23939 for ac_func in _isinff
23940 do :
23941 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23942 if test "x$ac_cv_func__isinff" = xyes; then :
23943 cat >>confdefs.h <<_ACEOF
23944 #define HAVE__ISINFF 1
23945 _ACEOF
23946
23947 fi
23948 done
23949
23950 fi
23951 fi
23952
23953
23954
23955
23956
23957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23958 $as_echo_n "checking for atan2f declaration... " >&6; }
23959 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23960 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23961 $as_echo_n "(cached) " >&6
23962 else
23963
23964
23965 ac_ext=cpp
23966 ac_cpp='$CXXCPP $CPPFLAGS'
23967 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23968 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23969 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23970
23971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23972 /* end confdefs.h. */
23973 #include <math.h>
23974 int
23975 main ()
23976 {
23977 atan2f(0, 0);
23978 ;
23979 return 0;
23980 }
23981 _ACEOF
23982 if ac_fn_cxx_try_compile "$LINENO"; then :
23983 glibcxx_cv_func_atan2f_use=yes
23984 else
23985 glibcxx_cv_func_atan2f_use=no
23986 fi
23987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23988 ac_ext=c
23989 ac_cpp='$CPP $CPPFLAGS'
23990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23993
23994
23995 fi
23996
23997 fi
23998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23999 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
24000
24001 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
24002 for ac_func in atan2f
24003 do :
24004 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
24005 if test "x$ac_cv_func_atan2f" = xyes; then :
24006 cat >>confdefs.h <<_ACEOF
24007 #define HAVE_ATAN2F 1
24008 _ACEOF
24009
24010 fi
24011 done
24012
24013 else
24014
24015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24016 $as_echo_n "checking for _atan2f declaration... " >&6; }
24017 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24018 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24019 $as_echo_n "(cached) " >&6
24020 else
24021
24022
24023 ac_ext=cpp
24024 ac_cpp='$CXXCPP $CPPFLAGS'
24025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24028
24029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24030 /* end confdefs.h. */
24031 #include <math.h>
24032 int
24033 main ()
24034 {
24035 _atan2f(0, 0);
24036 ;
24037 return 0;
24038 }
24039 _ACEOF
24040 if ac_fn_cxx_try_compile "$LINENO"; then :
24041 glibcxx_cv_func__atan2f_use=yes
24042 else
24043 glibcxx_cv_func__atan2f_use=no
24044 fi
24045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24046 ac_ext=c
24047 ac_cpp='$CPP $CPPFLAGS'
24048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24051
24052
24053 fi
24054
24055 fi
24056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24057 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24058
24059 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24060 for ac_func in _atan2f
24061 do :
24062 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24063 if test "x$ac_cv_func__atan2f" = xyes; then :
24064 cat >>confdefs.h <<_ACEOF
24065 #define HAVE__ATAN2F 1
24066 _ACEOF
24067
24068 fi
24069 done
24070
24071 fi
24072 fi
24073
24074
24075
24076
24077
24078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24079 $as_echo_n "checking for fabsf declaration... " >&6; }
24080 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24081 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24082 $as_echo_n "(cached) " >&6
24083 else
24084
24085
24086 ac_ext=cpp
24087 ac_cpp='$CXXCPP $CPPFLAGS'
24088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24091
24092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24093 /* end confdefs.h. */
24094 #include <math.h>
24095 #ifdef HAVE_IEEEFP_H
24096 #include <ieeefp.h>
24097 #endif
24098
24099 int
24100 main ()
24101 {
24102 fabsf(0);
24103 ;
24104 return 0;
24105 }
24106 _ACEOF
24107 if ac_fn_cxx_try_compile "$LINENO"; then :
24108 glibcxx_cv_func_fabsf_use=yes
24109 else
24110 glibcxx_cv_func_fabsf_use=no
24111 fi
24112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24113 ac_ext=c
24114 ac_cpp='$CPP $CPPFLAGS'
24115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24118
24119
24120 fi
24121
24122 fi
24123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24124 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24125
24126 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24127 for ac_func in fabsf
24128 do :
24129 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24130 if test "x$ac_cv_func_fabsf" = xyes; then :
24131 cat >>confdefs.h <<_ACEOF
24132 #define HAVE_FABSF 1
24133 _ACEOF
24134
24135 fi
24136 done
24137
24138 else
24139
24140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24141 $as_echo_n "checking for _fabsf declaration... " >&6; }
24142 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24143 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24144 $as_echo_n "(cached) " >&6
24145 else
24146
24147
24148 ac_ext=cpp
24149 ac_cpp='$CXXCPP $CPPFLAGS'
24150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24153
24154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24155 /* end confdefs.h. */
24156 #include <math.h>
24157 #ifdef HAVE_IEEEFP_H
24158 #include <ieeefp.h>
24159 #endif
24160
24161 int
24162 main ()
24163 {
24164 _fabsf(0);
24165 ;
24166 return 0;
24167 }
24168 _ACEOF
24169 if ac_fn_cxx_try_compile "$LINENO"; then :
24170 glibcxx_cv_func__fabsf_use=yes
24171 else
24172 glibcxx_cv_func__fabsf_use=no
24173 fi
24174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24175 ac_ext=c
24176 ac_cpp='$CPP $CPPFLAGS'
24177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24180
24181
24182 fi
24183
24184 fi
24185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24186 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24187
24188 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24189 for ac_func in _fabsf
24190 do :
24191 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24192 if test "x$ac_cv_func__fabsf" = xyes; then :
24193 cat >>confdefs.h <<_ACEOF
24194 #define HAVE__FABSF 1
24195 _ACEOF
24196
24197 fi
24198 done
24199
24200 fi
24201 fi
24202
24203
24204
24205
24206
24207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24208 $as_echo_n "checking for fmodf declaration... " >&6; }
24209 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24210 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24211 $as_echo_n "(cached) " >&6
24212 else
24213
24214
24215 ac_ext=cpp
24216 ac_cpp='$CXXCPP $CPPFLAGS'
24217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24220
24221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24222 /* end confdefs.h. */
24223 #include <math.h>
24224 int
24225 main ()
24226 {
24227 fmodf(0, 0);
24228 ;
24229 return 0;
24230 }
24231 _ACEOF
24232 if ac_fn_cxx_try_compile "$LINENO"; then :
24233 glibcxx_cv_func_fmodf_use=yes
24234 else
24235 glibcxx_cv_func_fmodf_use=no
24236 fi
24237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24238 ac_ext=c
24239 ac_cpp='$CPP $CPPFLAGS'
24240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24243
24244
24245 fi
24246
24247 fi
24248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24249 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24250
24251 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24252 for ac_func in fmodf
24253 do :
24254 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24255 if test "x$ac_cv_func_fmodf" = xyes; then :
24256 cat >>confdefs.h <<_ACEOF
24257 #define HAVE_FMODF 1
24258 _ACEOF
24259
24260 fi
24261 done
24262
24263 else
24264
24265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24266 $as_echo_n "checking for _fmodf declaration... " >&6; }
24267 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24268 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24269 $as_echo_n "(cached) " >&6
24270 else
24271
24272
24273 ac_ext=cpp
24274 ac_cpp='$CXXCPP $CPPFLAGS'
24275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24278
24279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24280 /* end confdefs.h. */
24281 #include <math.h>
24282 int
24283 main ()
24284 {
24285 _fmodf(0, 0);
24286 ;
24287 return 0;
24288 }
24289 _ACEOF
24290 if ac_fn_cxx_try_compile "$LINENO"; then :
24291 glibcxx_cv_func__fmodf_use=yes
24292 else
24293 glibcxx_cv_func__fmodf_use=no
24294 fi
24295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24296 ac_ext=c
24297 ac_cpp='$CPP $CPPFLAGS'
24298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24301
24302
24303 fi
24304
24305 fi
24306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24307 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24308
24309 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24310 for ac_func in _fmodf
24311 do :
24312 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24313 if test "x$ac_cv_func__fmodf" = xyes; then :
24314 cat >>confdefs.h <<_ACEOF
24315 #define HAVE__FMODF 1
24316 _ACEOF
24317
24318 fi
24319 done
24320
24321 fi
24322 fi
24323
24324
24325
24326
24327
24328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24329 $as_echo_n "checking for frexpf declaration... " >&6; }
24330 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24331 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24332 $as_echo_n "(cached) " >&6
24333 else
24334
24335
24336 ac_ext=cpp
24337 ac_cpp='$CXXCPP $CPPFLAGS'
24338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24341
24342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24343 /* end confdefs.h. */
24344 #include <math.h>
24345 int
24346 main ()
24347 {
24348 frexpf(0, 0);
24349 ;
24350 return 0;
24351 }
24352 _ACEOF
24353 if ac_fn_cxx_try_compile "$LINENO"; then :
24354 glibcxx_cv_func_frexpf_use=yes
24355 else
24356 glibcxx_cv_func_frexpf_use=no
24357 fi
24358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24359 ac_ext=c
24360 ac_cpp='$CPP $CPPFLAGS'
24361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24364
24365
24366 fi
24367
24368 fi
24369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24370 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24371
24372 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24373 for ac_func in frexpf
24374 do :
24375 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24376 if test "x$ac_cv_func_frexpf" = xyes; then :
24377 cat >>confdefs.h <<_ACEOF
24378 #define HAVE_FREXPF 1
24379 _ACEOF
24380
24381 fi
24382 done
24383
24384 else
24385
24386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24387 $as_echo_n "checking for _frexpf declaration... " >&6; }
24388 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24389 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24390 $as_echo_n "(cached) " >&6
24391 else
24392
24393
24394 ac_ext=cpp
24395 ac_cpp='$CXXCPP $CPPFLAGS'
24396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24399
24400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24401 /* end confdefs.h. */
24402 #include <math.h>
24403 int
24404 main ()
24405 {
24406 _frexpf(0, 0);
24407 ;
24408 return 0;
24409 }
24410 _ACEOF
24411 if ac_fn_cxx_try_compile "$LINENO"; then :
24412 glibcxx_cv_func__frexpf_use=yes
24413 else
24414 glibcxx_cv_func__frexpf_use=no
24415 fi
24416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24417 ac_ext=c
24418 ac_cpp='$CPP $CPPFLAGS'
24419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24422
24423
24424 fi
24425
24426 fi
24427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24428 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24429
24430 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24431 for ac_func in _frexpf
24432 do :
24433 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24434 if test "x$ac_cv_func__frexpf" = xyes; then :
24435 cat >>confdefs.h <<_ACEOF
24436 #define HAVE__FREXPF 1
24437 _ACEOF
24438
24439 fi
24440 done
24441
24442 fi
24443 fi
24444
24445
24446
24447
24448
24449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24450 $as_echo_n "checking for hypotf declaration... " >&6; }
24451 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24452 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24453 $as_echo_n "(cached) " >&6
24454 else
24455
24456
24457 ac_ext=cpp
24458 ac_cpp='$CXXCPP $CPPFLAGS'
24459 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24460 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24461 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24462
24463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24464 /* end confdefs.h. */
24465 #include <math.h>
24466 int
24467 main ()
24468 {
24469 hypotf(0, 0);
24470 ;
24471 return 0;
24472 }
24473 _ACEOF
24474 if ac_fn_cxx_try_compile "$LINENO"; then :
24475 glibcxx_cv_func_hypotf_use=yes
24476 else
24477 glibcxx_cv_func_hypotf_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_hypotf_use" >&5
24491 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24492
24493 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24494 for ac_func in hypotf
24495 do :
24496 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24497 if test "x$ac_cv_func_hypotf" = xyes; then :
24498 cat >>confdefs.h <<_ACEOF
24499 #define HAVE_HYPOTF 1
24500 _ACEOF
24501
24502 fi
24503 done
24504
24505 else
24506
24507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24508 $as_echo_n "checking for _hypotf declaration... " >&6; }
24509 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24510 if ${glibcxx_cv_func__hypotf_use+:} false; 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 int
24525 main ()
24526 {
24527 _hypotf(0, 0);
24528 ;
24529 return 0;
24530 }
24531 _ACEOF
24532 if ac_fn_cxx_try_compile "$LINENO"; then :
24533 glibcxx_cv_func__hypotf_use=yes
24534 else
24535 glibcxx_cv_func__hypotf_use=no
24536 fi
24537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24538 ac_ext=c
24539 ac_cpp='$CPP $CPPFLAGS'
24540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24543
24544
24545 fi
24546
24547 fi
24548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24549 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24550
24551 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24552 for ac_func in _hypotf
24553 do :
24554 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24555 if test "x$ac_cv_func__hypotf" = xyes; then :
24556 cat >>confdefs.h <<_ACEOF
24557 #define HAVE__HYPOTF 1
24558 _ACEOF
24559
24560 fi
24561 done
24562
24563 fi
24564 fi
24565
24566
24567
24568
24569
24570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24571 $as_echo_n "checking for ldexpf declaration... " >&6; }
24572 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24573 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24574 $as_echo_n "(cached) " >&6
24575 else
24576
24577
24578 ac_ext=cpp
24579 ac_cpp='$CXXCPP $CPPFLAGS'
24580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24583
24584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24585 /* end confdefs.h. */
24586 #include <math.h>
24587 int
24588 main ()
24589 {
24590 ldexpf(0, 0);
24591 ;
24592 return 0;
24593 }
24594 _ACEOF
24595 if ac_fn_cxx_try_compile "$LINENO"; then :
24596 glibcxx_cv_func_ldexpf_use=yes
24597 else
24598 glibcxx_cv_func_ldexpf_use=no
24599 fi
24600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24601 ac_ext=c
24602 ac_cpp='$CPP $CPPFLAGS'
24603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24606
24607
24608 fi
24609
24610 fi
24611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24612 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24613
24614 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24615 for ac_func in ldexpf
24616 do :
24617 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24618 if test "x$ac_cv_func_ldexpf" = xyes; then :
24619 cat >>confdefs.h <<_ACEOF
24620 #define HAVE_LDEXPF 1
24621 _ACEOF
24622
24623 fi
24624 done
24625
24626 else
24627
24628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24629 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24630 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24631 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24632 $as_echo_n "(cached) " >&6
24633 else
24634
24635
24636 ac_ext=cpp
24637 ac_cpp='$CXXCPP $CPPFLAGS'
24638 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24639 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24640 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24641
24642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24643 /* end confdefs.h. */
24644 #include <math.h>
24645 int
24646 main ()
24647 {
24648 _ldexpf(0, 0);
24649 ;
24650 return 0;
24651 }
24652 _ACEOF
24653 if ac_fn_cxx_try_compile "$LINENO"; then :
24654 glibcxx_cv_func__ldexpf_use=yes
24655 else
24656 glibcxx_cv_func__ldexpf_use=no
24657 fi
24658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24659 ac_ext=c
24660 ac_cpp='$CPP $CPPFLAGS'
24661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24664
24665
24666 fi
24667
24668 fi
24669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24670 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24671
24672 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24673 for ac_func in _ldexpf
24674 do :
24675 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24676 if test "x$ac_cv_func__ldexpf" = xyes; then :
24677 cat >>confdefs.h <<_ACEOF
24678 #define HAVE__LDEXPF 1
24679 _ACEOF
24680
24681 fi
24682 done
24683
24684 fi
24685 fi
24686
24687
24688
24689
24690
24691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24692 $as_echo_n "checking for logf declaration... " >&6; }
24693 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24694 if ${glibcxx_cv_func_logf_use+:} false; then :
24695 $as_echo_n "(cached) " >&6
24696 else
24697
24698
24699 ac_ext=cpp
24700 ac_cpp='$CXXCPP $CPPFLAGS'
24701 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24702 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24703 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24704
24705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24706 /* end confdefs.h. */
24707 #include <math.h>
24708 #ifdef HAVE_IEEEFP_H
24709 #include <ieeefp.h>
24710 #endif
24711
24712 int
24713 main ()
24714 {
24715 logf(0);
24716 ;
24717 return 0;
24718 }
24719 _ACEOF
24720 if ac_fn_cxx_try_compile "$LINENO"; then :
24721 glibcxx_cv_func_logf_use=yes
24722 else
24723 glibcxx_cv_func_logf_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_logf_use" >&5
24737 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24738
24739 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24740 for ac_func in logf
24741 do :
24742 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24743 if test "x$ac_cv_func_logf" = xyes; then :
24744 cat >>confdefs.h <<_ACEOF
24745 #define HAVE_LOGF 1
24746 _ACEOF
24747
24748 fi
24749 done
24750
24751 else
24752
24753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24754 $as_echo_n "checking for _logf declaration... " >&6; }
24755 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24756 if ${glibcxx_cv_func__logf_use+:} false; 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 #ifdef HAVE_IEEEFP_H
24771 #include <ieeefp.h>
24772 #endif
24773
24774 int
24775 main ()
24776 {
24777 _logf(0);
24778 ;
24779 return 0;
24780 }
24781 _ACEOF
24782 if ac_fn_cxx_try_compile "$LINENO"; then :
24783 glibcxx_cv_func__logf_use=yes
24784 else
24785 glibcxx_cv_func__logf_use=no
24786 fi
24787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24788 ac_ext=c
24789 ac_cpp='$CPP $CPPFLAGS'
24790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24793
24794
24795 fi
24796
24797 fi
24798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24799 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24800
24801 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24802 for ac_func in _logf
24803 do :
24804 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24805 if test "x$ac_cv_func__logf" = xyes; then :
24806 cat >>confdefs.h <<_ACEOF
24807 #define HAVE__LOGF 1
24808 _ACEOF
24809
24810 fi
24811 done
24812
24813 fi
24814 fi
24815
24816
24817
24818
24819
24820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24821 $as_echo_n "checking for log10f declaration... " >&6; }
24822 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24823 if ${glibcxx_cv_func_log10f_use+:} false; then :
24824 $as_echo_n "(cached) " >&6
24825 else
24826
24827
24828 ac_ext=cpp
24829 ac_cpp='$CXXCPP $CPPFLAGS'
24830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24833
24834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24835 /* end confdefs.h. */
24836 #include <math.h>
24837 #ifdef HAVE_IEEEFP_H
24838 #include <ieeefp.h>
24839 #endif
24840
24841 int
24842 main ()
24843 {
24844 log10f(0);
24845 ;
24846 return 0;
24847 }
24848 _ACEOF
24849 if ac_fn_cxx_try_compile "$LINENO"; then :
24850 glibcxx_cv_func_log10f_use=yes
24851 else
24852 glibcxx_cv_func_log10f_use=no
24853 fi
24854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24855 ac_ext=c
24856 ac_cpp='$CPP $CPPFLAGS'
24857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24860
24861
24862 fi
24863
24864 fi
24865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24866 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24867
24868 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24869 for ac_func in log10f
24870 do :
24871 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24872 if test "x$ac_cv_func_log10f" = xyes; then :
24873 cat >>confdefs.h <<_ACEOF
24874 #define HAVE_LOG10F 1
24875 _ACEOF
24876
24877 fi
24878 done
24879
24880 else
24881
24882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24883 $as_echo_n "checking for _log10f declaration... " >&6; }
24884 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24885 if ${glibcxx_cv_func__log10f_use+:} false; then :
24886 $as_echo_n "(cached) " >&6
24887 else
24888
24889
24890 ac_ext=cpp
24891 ac_cpp='$CXXCPP $CPPFLAGS'
24892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24895
24896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24897 /* end confdefs.h. */
24898 #include <math.h>
24899 #ifdef HAVE_IEEEFP_H
24900 #include <ieeefp.h>
24901 #endif
24902
24903 int
24904 main ()
24905 {
24906 _log10f(0);
24907 ;
24908 return 0;
24909 }
24910 _ACEOF
24911 if ac_fn_cxx_try_compile "$LINENO"; then :
24912 glibcxx_cv_func__log10f_use=yes
24913 else
24914 glibcxx_cv_func__log10f_use=no
24915 fi
24916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24917 ac_ext=c
24918 ac_cpp='$CPP $CPPFLAGS'
24919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24922
24923
24924 fi
24925
24926 fi
24927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24928 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24929
24930 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24931 for ac_func in _log10f
24932 do :
24933 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24934 if test "x$ac_cv_func__log10f" = xyes; then :
24935 cat >>confdefs.h <<_ACEOF
24936 #define HAVE__LOG10F 1
24937 _ACEOF
24938
24939 fi
24940 done
24941
24942 fi
24943 fi
24944
24945
24946
24947
24948
24949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24950 $as_echo_n "checking for modff declaration... " >&6; }
24951 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24952 if ${glibcxx_cv_func_modff_use+:} false; then :
24953 $as_echo_n "(cached) " >&6
24954 else
24955
24956
24957 ac_ext=cpp
24958 ac_cpp='$CXXCPP $CPPFLAGS'
24959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24962
24963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24964 /* end confdefs.h. */
24965 #include <math.h>
24966 int
24967 main ()
24968 {
24969 modff(0, 0);
24970 ;
24971 return 0;
24972 }
24973 _ACEOF
24974 if ac_fn_cxx_try_compile "$LINENO"; then :
24975 glibcxx_cv_func_modff_use=yes
24976 else
24977 glibcxx_cv_func_modff_use=no
24978 fi
24979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24980 ac_ext=c
24981 ac_cpp='$CPP $CPPFLAGS'
24982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24985
24986
24987 fi
24988
24989 fi
24990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24991 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24992
24993 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24994 for ac_func in modff
24995 do :
24996 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24997 if test "x$ac_cv_func_modff" = xyes; then :
24998 cat >>confdefs.h <<_ACEOF
24999 #define HAVE_MODFF 1
25000 _ACEOF
25001
25002 fi
25003 done
25004
25005 else
25006
25007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
25008 $as_echo_n "checking for _modff declaration... " >&6; }
25009 if test x${glibcxx_cv_func__modff_use+set} != xset; then
25010 if ${glibcxx_cv_func__modff_use+:} false; then :
25011 $as_echo_n "(cached) " >&6
25012 else
25013
25014
25015 ac_ext=cpp
25016 ac_cpp='$CXXCPP $CPPFLAGS'
25017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25020
25021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25022 /* end confdefs.h. */
25023 #include <math.h>
25024 int
25025 main ()
25026 {
25027 _modff(0, 0);
25028 ;
25029 return 0;
25030 }
25031 _ACEOF
25032 if ac_fn_cxx_try_compile "$LINENO"; then :
25033 glibcxx_cv_func__modff_use=yes
25034 else
25035 glibcxx_cv_func__modff_use=no
25036 fi
25037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25038 ac_ext=c
25039 ac_cpp='$CPP $CPPFLAGS'
25040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25043
25044
25045 fi
25046
25047 fi
25048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25049 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25050
25051 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25052 for ac_func in _modff
25053 do :
25054 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25055 if test "x$ac_cv_func__modff" = xyes; then :
25056 cat >>confdefs.h <<_ACEOF
25057 #define HAVE__MODFF 1
25058 _ACEOF
25059
25060 fi
25061 done
25062
25063 fi
25064 fi
25065
25066
25067
25068
25069
25070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25071 $as_echo_n "checking for modf declaration... " >&6; }
25072 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25073 if ${glibcxx_cv_func_modf_use+:} false; then :
25074 $as_echo_n "(cached) " >&6
25075 else
25076
25077
25078 ac_ext=cpp
25079 ac_cpp='$CXXCPP $CPPFLAGS'
25080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25083
25084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25085 /* end confdefs.h. */
25086 #include <math.h>
25087 int
25088 main ()
25089 {
25090 modf(0, 0);
25091 ;
25092 return 0;
25093 }
25094 _ACEOF
25095 if ac_fn_cxx_try_compile "$LINENO"; then :
25096 glibcxx_cv_func_modf_use=yes
25097 else
25098 glibcxx_cv_func_modf_use=no
25099 fi
25100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25101 ac_ext=c
25102 ac_cpp='$CPP $CPPFLAGS'
25103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25106
25107
25108 fi
25109
25110 fi
25111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25112 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25113
25114 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25115 for ac_func in modf
25116 do :
25117 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25118 if test "x$ac_cv_func_modf" = xyes; then :
25119 cat >>confdefs.h <<_ACEOF
25120 #define HAVE_MODF 1
25121 _ACEOF
25122
25123 fi
25124 done
25125
25126 else
25127
25128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25129 $as_echo_n "checking for _modf declaration... " >&6; }
25130 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25131 if ${glibcxx_cv_func__modf_use+:} false; then :
25132 $as_echo_n "(cached) " >&6
25133 else
25134
25135
25136 ac_ext=cpp
25137 ac_cpp='$CXXCPP $CPPFLAGS'
25138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25141
25142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25143 /* end confdefs.h. */
25144 #include <math.h>
25145 int
25146 main ()
25147 {
25148 _modf(0, 0);
25149 ;
25150 return 0;
25151 }
25152 _ACEOF
25153 if ac_fn_cxx_try_compile "$LINENO"; then :
25154 glibcxx_cv_func__modf_use=yes
25155 else
25156 glibcxx_cv_func__modf_use=no
25157 fi
25158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25159 ac_ext=c
25160 ac_cpp='$CPP $CPPFLAGS'
25161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25164
25165
25166 fi
25167
25168 fi
25169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25170 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25171
25172 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25173 for ac_func in _modf
25174 do :
25175 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25176 if test "x$ac_cv_func__modf" = xyes; then :
25177 cat >>confdefs.h <<_ACEOF
25178 #define HAVE__MODF 1
25179 _ACEOF
25180
25181 fi
25182 done
25183
25184 fi
25185 fi
25186
25187
25188
25189
25190
25191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25192 $as_echo_n "checking for powf declaration... " >&6; }
25193 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25194 if ${glibcxx_cv_func_powf_use+:} false; then :
25195 $as_echo_n "(cached) " >&6
25196 else
25197
25198
25199 ac_ext=cpp
25200 ac_cpp='$CXXCPP $CPPFLAGS'
25201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25204
25205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25206 /* end confdefs.h. */
25207 #include <math.h>
25208 int
25209 main ()
25210 {
25211 powf(0, 0);
25212 ;
25213 return 0;
25214 }
25215 _ACEOF
25216 if ac_fn_cxx_try_compile "$LINENO"; then :
25217 glibcxx_cv_func_powf_use=yes
25218 else
25219 glibcxx_cv_func_powf_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_powf_use" >&5
25233 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25234
25235 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25236 for ac_func in powf
25237 do :
25238 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25239 if test "x$ac_cv_func_powf" = xyes; then :
25240 cat >>confdefs.h <<_ACEOF
25241 #define HAVE_POWF 1
25242 _ACEOF
25243
25244 fi
25245 done
25246
25247 else
25248
25249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25250 $as_echo_n "checking for _powf declaration... " >&6; }
25251 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25252 if ${glibcxx_cv_func__powf_use+:} false; 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 int
25267 main ()
25268 {
25269 _powf(0, 0);
25270 ;
25271 return 0;
25272 }
25273 _ACEOF
25274 if ac_fn_cxx_try_compile "$LINENO"; then :
25275 glibcxx_cv_func__powf_use=yes
25276 else
25277 glibcxx_cv_func__powf_use=no
25278 fi
25279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25280 ac_ext=c
25281 ac_cpp='$CPP $CPPFLAGS'
25282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25285
25286
25287 fi
25288
25289 fi
25290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25291 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25292
25293 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25294 for ac_func in _powf
25295 do :
25296 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25297 if test "x$ac_cv_func__powf" = xyes; then :
25298 cat >>confdefs.h <<_ACEOF
25299 #define HAVE__POWF 1
25300 _ACEOF
25301
25302 fi
25303 done
25304
25305 fi
25306 fi
25307
25308
25309
25310
25311
25312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25313 $as_echo_n "checking for sqrtf declaration... " >&6; }
25314 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25315 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25316 $as_echo_n "(cached) " >&6
25317 else
25318
25319
25320 ac_ext=cpp
25321 ac_cpp='$CXXCPP $CPPFLAGS'
25322 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25323 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25324 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25325
25326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25327 /* end confdefs.h. */
25328 #include <math.h>
25329 #ifdef HAVE_IEEEFP_H
25330 #include <ieeefp.h>
25331 #endif
25332
25333 int
25334 main ()
25335 {
25336 sqrtf(0);
25337 ;
25338 return 0;
25339 }
25340 _ACEOF
25341 if ac_fn_cxx_try_compile "$LINENO"; then :
25342 glibcxx_cv_func_sqrtf_use=yes
25343 else
25344 glibcxx_cv_func_sqrtf_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_sqrtf_use" >&5
25358 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25359
25360 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25361 for ac_func in sqrtf
25362 do :
25363 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25364 if test "x$ac_cv_func_sqrtf" = xyes; then :
25365 cat >>confdefs.h <<_ACEOF
25366 #define HAVE_SQRTF 1
25367 _ACEOF
25368
25369 fi
25370 done
25371
25372 else
25373
25374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25375 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25376 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25377 if ${glibcxx_cv_func__sqrtf_use+:} false; 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 #ifdef HAVE_IEEEFP_H
25392 #include <ieeefp.h>
25393 #endif
25394
25395 int
25396 main ()
25397 {
25398 _sqrtf(0);
25399 ;
25400 return 0;
25401 }
25402 _ACEOF
25403 if ac_fn_cxx_try_compile "$LINENO"; then :
25404 glibcxx_cv_func__sqrtf_use=yes
25405 else
25406 glibcxx_cv_func__sqrtf_use=no
25407 fi
25408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25409 ac_ext=c
25410 ac_cpp='$CPP $CPPFLAGS'
25411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25414
25415
25416 fi
25417
25418 fi
25419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25420 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25421
25422 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25423 for ac_func in _sqrtf
25424 do :
25425 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25426 if test "x$ac_cv_func__sqrtf" = xyes; then :
25427 cat >>confdefs.h <<_ACEOF
25428 #define HAVE__SQRTF 1
25429 _ACEOF
25430
25431 fi
25432 done
25433
25434 fi
25435 fi
25436
25437
25438
25439
25440
25441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25442 $as_echo_n "checking for sincosf declaration... " >&6; }
25443 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25444 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25445 $as_echo_n "(cached) " >&6
25446 else
25447
25448
25449 ac_ext=cpp
25450 ac_cpp='$CXXCPP $CPPFLAGS'
25451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25454
25455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25456 /* end confdefs.h. */
25457 #include <math.h>
25458 int
25459 main ()
25460 {
25461 sincosf(0, 0, 0);
25462 ;
25463 return 0;
25464 }
25465 _ACEOF
25466 if ac_fn_cxx_try_compile "$LINENO"; then :
25467 glibcxx_cv_func_sincosf_use=yes
25468 else
25469 glibcxx_cv_func_sincosf_use=no
25470 fi
25471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25472 ac_ext=c
25473 ac_cpp='$CPP $CPPFLAGS'
25474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25477
25478
25479 fi
25480
25481 fi
25482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25483 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25484
25485 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25486 for ac_func in sincosf
25487 do :
25488 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25489 if test "x$ac_cv_func_sincosf" = xyes; then :
25490 cat >>confdefs.h <<_ACEOF
25491 #define HAVE_SINCOSF 1
25492 _ACEOF
25493
25494 fi
25495 done
25496
25497 else
25498
25499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25500 $as_echo_n "checking for _sincosf declaration... " >&6; }
25501 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25502 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25503 $as_echo_n "(cached) " >&6
25504 else
25505
25506
25507 ac_ext=cpp
25508 ac_cpp='$CXXCPP $CPPFLAGS'
25509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25512
25513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25514 /* end confdefs.h. */
25515 #include <math.h>
25516 int
25517 main ()
25518 {
25519 _sincosf(0, 0, 0);
25520 ;
25521 return 0;
25522 }
25523 _ACEOF
25524 if ac_fn_cxx_try_compile "$LINENO"; then :
25525 glibcxx_cv_func__sincosf_use=yes
25526 else
25527 glibcxx_cv_func__sincosf_use=no
25528 fi
25529 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25530 ac_ext=c
25531 ac_cpp='$CPP $CPPFLAGS'
25532 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25533 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25534 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25535
25536
25537 fi
25538
25539 fi
25540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25541 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25542
25543 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25544 for ac_func in _sincosf
25545 do :
25546 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25547 if test "x$ac_cv_func__sincosf" = xyes; then :
25548 cat >>confdefs.h <<_ACEOF
25549 #define HAVE__SINCOSF 1
25550 _ACEOF
25551
25552 fi
25553 done
25554
25555 fi
25556 fi
25557
25558
25559
25560
25561
25562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25563 $as_echo_n "checking for finitef declaration... " >&6; }
25564 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25565 if ${glibcxx_cv_func_finitef_use+:} false; then :
25566 $as_echo_n "(cached) " >&6
25567 else
25568
25569
25570 ac_ext=cpp
25571 ac_cpp='$CXXCPP $CPPFLAGS'
25572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25575
25576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25577 /* end confdefs.h. */
25578 #include <math.h>
25579 #ifdef HAVE_IEEEFP_H
25580 #include <ieeefp.h>
25581 #endif
25582
25583 int
25584 main ()
25585 {
25586 finitef(0);
25587 ;
25588 return 0;
25589 }
25590 _ACEOF
25591 if ac_fn_cxx_try_compile "$LINENO"; then :
25592 glibcxx_cv_func_finitef_use=yes
25593 else
25594 glibcxx_cv_func_finitef_use=no
25595 fi
25596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25597 ac_ext=c
25598 ac_cpp='$CPP $CPPFLAGS'
25599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25602
25603
25604 fi
25605
25606 fi
25607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25608 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25609
25610 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25611 for ac_func in finitef
25612 do :
25613 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25614 if test "x$ac_cv_func_finitef" = xyes; then :
25615 cat >>confdefs.h <<_ACEOF
25616 #define HAVE_FINITEF 1
25617 _ACEOF
25618
25619 fi
25620 done
25621
25622 else
25623
25624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25625 $as_echo_n "checking for _finitef declaration... " >&6; }
25626 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25627 if ${glibcxx_cv_func__finitef_use+:} false; then :
25628 $as_echo_n "(cached) " >&6
25629 else
25630
25631
25632 ac_ext=cpp
25633 ac_cpp='$CXXCPP $CPPFLAGS'
25634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25637
25638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25639 /* end confdefs.h. */
25640 #include <math.h>
25641 #ifdef HAVE_IEEEFP_H
25642 #include <ieeefp.h>
25643 #endif
25644
25645 int
25646 main ()
25647 {
25648 _finitef(0);
25649 ;
25650 return 0;
25651 }
25652 _ACEOF
25653 if ac_fn_cxx_try_compile "$LINENO"; then :
25654 glibcxx_cv_func__finitef_use=yes
25655 else
25656 glibcxx_cv_func__finitef_use=no
25657 fi
25658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25659 ac_ext=c
25660 ac_cpp='$CPP $CPPFLAGS'
25661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25664
25665
25666 fi
25667
25668 fi
25669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25670 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25671
25672 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25673 for ac_func in _finitef
25674 do :
25675 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25676 if test "x$ac_cv_func__finitef" = xyes; then :
25677 cat >>confdefs.h <<_ACEOF
25678 #define HAVE__FINITEF 1
25679 _ACEOF
25680
25681 fi
25682 done
25683
25684 fi
25685 fi
25686
25687
25688
25689
25690
25691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25692 $as_echo_n "checking for long double trig functions... " >&6; }
25693 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25694 $as_echo_n "(cached) " >&6
25695 else
25696
25697
25698 ac_ext=cpp
25699 ac_cpp='$CXXCPP $CPPFLAGS'
25700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25703
25704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25705 /* end confdefs.h. */
25706 #include <math.h>
25707 int
25708 main ()
25709 {
25710 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25711 ;
25712 return 0;
25713 }
25714 _ACEOF
25715 if ac_fn_cxx_try_compile "$LINENO"; then :
25716 glibcxx_cv_func_long_double_trig_use=yes
25717 else
25718 glibcxx_cv_func_long_double_trig_use=no
25719 fi
25720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25721 ac_ext=c
25722 ac_cpp='$CPP $CPPFLAGS'
25723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25726
25727 fi
25728
25729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25730 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25731 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25732 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25733 do :
25734 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25735 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25736 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25737 cat >>confdefs.h <<_ACEOF
25738 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25739 _ACEOF
25740
25741 fi
25742 done
25743
25744 else
25745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25746 $as_echo_n "checking for _long double trig functions... " >&6; }
25747 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25748 $as_echo_n "(cached) " >&6
25749 else
25750
25751
25752 ac_ext=cpp
25753 ac_cpp='$CXXCPP $CPPFLAGS'
25754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25757
25758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25759 /* end confdefs.h. */
25760 #include <math.h>
25761 int
25762 main ()
25763 {
25764 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25765 ;
25766 return 0;
25767 }
25768 _ACEOF
25769 if ac_fn_cxx_try_compile "$LINENO"; then :
25770 glibcxx_cv_func__long_double_trig_use=yes
25771 else
25772 glibcxx_cv_func__long_double_trig_use=no
25773 fi
25774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25775 ac_ext=c
25776 ac_cpp='$CPP $CPPFLAGS'
25777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25780
25781 fi
25782
25783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25784 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25785 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25786 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25787 do :
25788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25790 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25791 cat >>confdefs.h <<_ACEOF
25792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25793 _ACEOF
25794
25795 fi
25796 done
25797
25798 fi
25799 fi
25800
25801
25802
25803
25804
25805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25806 $as_echo_n "checking for long double round functions... " >&6; }
25807 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25808 $as_echo_n "(cached) " >&6
25809 else
25810
25811
25812 ac_ext=cpp
25813 ac_cpp='$CXXCPP $CPPFLAGS'
25814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25817
25818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25819 /* end confdefs.h. */
25820 #include <math.h>
25821 int
25822 main ()
25823 {
25824 ceill (0); floorl (0);
25825 ;
25826 return 0;
25827 }
25828 _ACEOF
25829 if ac_fn_cxx_try_compile "$LINENO"; then :
25830 glibcxx_cv_func_long_double_round_use=yes
25831 else
25832 glibcxx_cv_func_long_double_round_use=no
25833 fi
25834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25835 ac_ext=c
25836 ac_cpp='$CPP $CPPFLAGS'
25837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25840
25841 fi
25842
25843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25844 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25845 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25846 for ac_func in ceill floorl
25847 do :
25848 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25849 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25850 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25851 cat >>confdefs.h <<_ACEOF
25852 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25853 _ACEOF
25854
25855 fi
25856 done
25857
25858 else
25859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25860 $as_echo_n "checking for _long double round functions... " >&6; }
25861 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25862 $as_echo_n "(cached) " >&6
25863 else
25864
25865
25866 ac_ext=cpp
25867 ac_cpp='$CXXCPP $CPPFLAGS'
25868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25871
25872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25873 /* end confdefs.h. */
25874 #include <math.h>
25875 int
25876 main ()
25877 {
25878 _ceill (0); _floorl (0);
25879 ;
25880 return 0;
25881 }
25882 _ACEOF
25883 if ac_fn_cxx_try_compile "$LINENO"; then :
25884 glibcxx_cv_func__long_double_round_use=yes
25885 else
25886 glibcxx_cv_func__long_double_round_use=no
25887 fi
25888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25889 ac_ext=c
25890 ac_cpp='$CPP $CPPFLAGS'
25891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25894
25895 fi
25896
25897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25898 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25899 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25900 for ac_func in _ceill _floorl
25901 do :
25902 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25903 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25904 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25905 cat >>confdefs.h <<_ACEOF
25906 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25907 _ACEOF
25908
25909 fi
25910 done
25911
25912 fi
25913 fi
25914
25915
25916
25917
25918
25919
25920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25921 $as_echo_n "checking for isnanl declaration... " >&6; }
25922 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25923 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25924 $as_echo_n "(cached) " >&6
25925 else
25926
25927
25928 ac_ext=cpp
25929 ac_cpp='$CXXCPP $CPPFLAGS'
25930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25933
25934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25935 /* end confdefs.h. */
25936 #include <math.h>
25937 #ifdef HAVE_IEEEFP_H
25938 #include <ieeefp.h>
25939 #endif
25940
25941 int
25942 main ()
25943 {
25944 isnanl(0);
25945 ;
25946 return 0;
25947 }
25948 _ACEOF
25949 if ac_fn_cxx_try_compile "$LINENO"; then :
25950 glibcxx_cv_func_isnanl_use=yes
25951 else
25952 glibcxx_cv_func_isnanl_use=no
25953 fi
25954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25955 ac_ext=c
25956 ac_cpp='$CPP $CPPFLAGS'
25957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25960
25961
25962 fi
25963
25964 fi
25965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25966 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25967
25968 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25969 for ac_func in isnanl
25970 do :
25971 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25972 if test "x$ac_cv_func_isnanl" = xyes; then :
25973 cat >>confdefs.h <<_ACEOF
25974 #define HAVE_ISNANL 1
25975 _ACEOF
25976
25977 fi
25978 done
25979
25980 else
25981
25982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25983 $as_echo_n "checking for _isnanl declaration... " >&6; }
25984 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25985 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25986 $as_echo_n "(cached) " >&6
25987 else
25988
25989
25990 ac_ext=cpp
25991 ac_cpp='$CXXCPP $CPPFLAGS'
25992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25995
25996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25997 /* end confdefs.h. */
25998 #include <math.h>
25999 #ifdef HAVE_IEEEFP_H
26000 #include <ieeefp.h>
26001 #endif
26002
26003 int
26004 main ()
26005 {
26006 _isnanl(0);
26007 ;
26008 return 0;
26009 }
26010 _ACEOF
26011 if ac_fn_cxx_try_compile "$LINENO"; then :
26012 glibcxx_cv_func__isnanl_use=yes
26013 else
26014 glibcxx_cv_func__isnanl_use=no
26015 fi
26016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26017 ac_ext=c
26018 ac_cpp='$CPP $CPPFLAGS'
26019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26022
26023
26024 fi
26025
26026 fi
26027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26028 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26029
26030 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26031 for ac_func in _isnanl
26032 do :
26033 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26034 if test "x$ac_cv_func__isnanl" = xyes; then :
26035 cat >>confdefs.h <<_ACEOF
26036 #define HAVE__ISNANL 1
26037 _ACEOF
26038
26039 fi
26040 done
26041
26042 fi
26043 fi
26044
26045
26046
26047
26048
26049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26050 $as_echo_n "checking for isinfl declaration... " >&6; }
26051 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26052 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26053 $as_echo_n "(cached) " >&6
26054 else
26055
26056
26057 ac_ext=cpp
26058 ac_cpp='$CXXCPP $CPPFLAGS'
26059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26062
26063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26064 /* end confdefs.h. */
26065 #include <math.h>
26066 #ifdef HAVE_IEEEFP_H
26067 #include <ieeefp.h>
26068 #endif
26069
26070 int
26071 main ()
26072 {
26073 isinfl(0);
26074 ;
26075 return 0;
26076 }
26077 _ACEOF
26078 if ac_fn_cxx_try_compile "$LINENO"; then :
26079 glibcxx_cv_func_isinfl_use=yes
26080 else
26081 glibcxx_cv_func_isinfl_use=no
26082 fi
26083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26084 ac_ext=c
26085 ac_cpp='$CPP $CPPFLAGS'
26086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26089
26090
26091 fi
26092
26093 fi
26094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26095 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26096
26097 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26098 for ac_func in isinfl
26099 do :
26100 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26101 if test "x$ac_cv_func_isinfl" = xyes; then :
26102 cat >>confdefs.h <<_ACEOF
26103 #define HAVE_ISINFL 1
26104 _ACEOF
26105
26106 fi
26107 done
26108
26109 else
26110
26111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26112 $as_echo_n "checking for _isinfl declaration... " >&6; }
26113 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26114 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26115 $as_echo_n "(cached) " >&6
26116 else
26117
26118
26119 ac_ext=cpp
26120 ac_cpp='$CXXCPP $CPPFLAGS'
26121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26124
26125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26126 /* end confdefs.h. */
26127 #include <math.h>
26128 #ifdef HAVE_IEEEFP_H
26129 #include <ieeefp.h>
26130 #endif
26131
26132 int
26133 main ()
26134 {
26135 _isinfl(0);
26136 ;
26137 return 0;
26138 }
26139 _ACEOF
26140 if ac_fn_cxx_try_compile "$LINENO"; then :
26141 glibcxx_cv_func__isinfl_use=yes
26142 else
26143 glibcxx_cv_func__isinfl_use=no
26144 fi
26145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26146 ac_ext=c
26147 ac_cpp='$CPP $CPPFLAGS'
26148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26151
26152
26153 fi
26154
26155 fi
26156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26157 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26158
26159 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26160 for ac_func in _isinfl
26161 do :
26162 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26163 if test "x$ac_cv_func__isinfl" = xyes; then :
26164 cat >>confdefs.h <<_ACEOF
26165 #define HAVE__ISINFL 1
26166 _ACEOF
26167
26168 fi
26169 done
26170
26171 fi
26172 fi
26173
26174
26175
26176
26177
26178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26179 $as_echo_n "checking for atan2l declaration... " >&6; }
26180 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26181 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26182 $as_echo_n "(cached) " >&6
26183 else
26184
26185
26186 ac_ext=cpp
26187 ac_cpp='$CXXCPP $CPPFLAGS'
26188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26191
26192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26193 /* end confdefs.h. */
26194 #include <math.h>
26195 int
26196 main ()
26197 {
26198 atan2l(0, 0);
26199 ;
26200 return 0;
26201 }
26202 _ACEOF
26203 if ac_fn_cxx_try_compile "$LINENO"; then :
26204 glibcxx_cv_func_atan2l_use=yes
26205 else
26206 glibcxx_cv_func_atan2l_use=no
26207 fi
26208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26209 ac_ext=c
26210 ac_cpp='$CPP $CPPFLAGS'
26211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26214
26215
26216 fi
26217
26218 fi
26219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26220 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26221
26222 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26223 for ac_func in atan2l
26224 do :
26225 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26226 if test "x$ac_cv_func_atan2l" = xyes; then :
26227 cat >>confdefs.h <<_ACEOF
26228 #define HAVE_ATAN2L 1
26229 _ACEOF
26230
26231 fi
26232 done
26233
26234 else
26235
26236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26237 $as_echo_n "checking for _atan2l declaration... " >&6; }
26238 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26239 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26240 $as_echo_n "(cached) " >&6
26241 else
26242
26243
26244 ac_ext=cpp
26245 ac_cpp='$CXXCPP $CPPFLAGS'
26246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26249
26250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26251 /* end confdefs.h. */
26252 #include <math.h>
26253 int
26254 main ()
26255 {
26256 _atan2l(0, 0);
26257 ;
26258 return 0;
26259 }
26260 _ACEOF
26261 if ac_fn_cxx_try_compile "$LINENO"; then :
26262 glibcxx_cv_func__atan2l_use=yes
26263 else
26264 glibcxx_cv_func__atan2l_use=no
26265 fi
26266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26267 ac_ext=c
26268 ac_cpp='$CPP $CPPFLAGS'
26269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26272
26273
26274 fi
26275
26276 fi
26277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26278 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26279
26280 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26281 for ac_func in _atan2l
26282 do :
26283 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26284 if test "x$ac_cv_func__atan2l" = xyes; then :
26285 cat >>confdefs.h <<_ACEOF
26286 #define HAVE__ATAN2L 1
26287 _ACEOF
26288
26289 fi
26290 done
26291
26292 fi
26293 fi
26294
26295
26296
26297
26298
26299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26300 $as_echo_n "checking for expl declaration... " >&6; }
26301 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26302 if ${glibcxx_cv_func_expl_use+:} false; then :
26303 $as_echo_n "(cached) " >&6
26304 else
26305
26306
26307 ac_ext=cpp
26308 ac_cpp='$CXXCPP $CPPFLAGS'
26309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26312
26313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26314 /* end confdefs.h. */
26315 #include <math.h>
26316 #ifdef HAVE_IEEEFP_H
26317 #include <ieeefp.h>
26318 #endif
26319
26320 int
26321 main ()
26322 {
26323 expl(0);
26324 ;
26325 return 0;
26326 }
26327 _ACEOF
26328 if ac_fn_cxx_try_compile "$LINENO"; then :
26329 glibcxx_cv_func_expl_use=yes
26330 else
26331 glibcxx_cv_func_expl_use=no
26332 fi
26333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26334 ac_ext=c
26335 ac_cpp='$CPP $CPPFLAGS'
26336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26339
26340
26341 fi
26342
26343 fi
26344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26345 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26346
26347 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26348 for ac_func in expl
26349 do :
26350 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26351 if test "x$ac_cv_func_expl" = xyes; then :
26352 cat >>confdefs.h <<_ACEOF
26353 #define HAVE_EXPL 1
26354 _ACEOF
26355
26356 fi
26357 done
26358
26359 else
26360
26361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26362 $as_echo_n "checking for _expl declaration... " >&6; }
26363 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26364 if ${glibcxx_cv_func__expl_use+:} false; then :
26365 $as_echo_n "(cached) " >&6
26366 else
26367
26368
26369 ac_ext=cpp
26370 ac_cpp='$CXXCPP $CPPFLAGS'
26371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26374
26375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26376 /* end confdefs.h. */
26377 #include <math.h>
26378 #ifdef HAVE_IEEEFP_H
26379 #include <ieeefp.h>
26380 #endif
26381
26382 int
26383 main ()
26384 {
26385 _expl(0);
26386 ;
26387 return 0;
26388 }
26389 _ACEOF
26390 if ac_fn_cxx_try_compile "$LINENO"; then :
26391 glibcxx_cv_func__expl_use=yes
26392 else
26393 glibcxx_cv_func__expl_use=no
26394 fi
26395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26396 ac_ext=c
26397 ac_cpp='$CPP $CPPFLAGS'
26398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26401
26402
26403 fi
26404
26405 fi
26406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26407 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26408
26409 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26410 for ac_func in _expl
26411 do :
26412 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26413 if test "x$ac_cv_func__expl" = xyes; then :
26414 cat >>confdefs.h <<_ACEOF
26415 #define HAVE__EXPL 1
26416 _ACEOF
26417
26418 fi
26419 done
26420
26421 fi
26422 fi
26423
26424
26425
26426
26427
26428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26429 $as_echo_n "checking for fabsl declaration... " >&6; }
26430 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26431 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26432 $as_echo_n "(cached) " >&6
26433 else
26434
26435
26436 ac_ext=cpp
26437 ac_cpp='$CXXCPP $CPPFLAGS'
26438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26441
26442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26443 /* end confdefs.h. */
26444 #include <math.h>
26445 #ifdef HAVE_IEEEFP_H
26446 #include <ieeefp.h>
26447 #endif
26448
26449 int
26450 main ()
26451 {
26452 fabsl(0);
26453 ;
26454 return 0;
26455 }
26456 _ACEOF
26457 if ac_fn_cxx_try_compile "$LINENO"; then :
26458 glibcxx_cv_func_fabsl_use=yes
26459 else
26460 glibcxx_cv_func_fabsl_use=no
26461 fi
26462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26463 ac_ext=c
26464 ac_cpp='$CPP $CPPFLAGS'
26465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26468
26469
26470 fi
26471
26472 fi
26473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26474 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26475
26476 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26477 for ac_func in fabsl
26478 do :
26479 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26480 if test "x$ac_cv_func_fabsl" = xyes; then :
26481 cat >>confdefs.h <<_ACEOF
26482 #define HAVE_FABSL 1
26483 _ACEOF
26484
26485 fi
26486 done
26487
26488 else
26489
26490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26491 $as_echo_n "checking for _fabsl declaration... " >&6; }
26492 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26493 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26494 $as_echo_n "(cached) " >&6
26495 else
26496
26497
26498 ac_ext=cpp
26499 ac_cpp='$CXXCPP $CPPFLAGS'
26500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26503
26504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26505 /* end confdefs.h. */
26506 #include <math.h>
26507 #ifdef HAVE_IEEEFP_H
26508 #include <ieeefp.h>
26509 #endif
26510
26511 int
26512 main ()
26513 {
26514 _fabsl(0);
26515 ;
26516 return 0;
26517 }
26518 _ACEOF
26519 if ac_fn_cxx_try_compile "$LINENO"; then :
26520 glibcxx_cv_func__fabsl_use=yes
26521 else
26522 glibcxx_cv_func__fabsl_use=no
26523 fi
26524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26525 ac_ext=c
26526 ac_cpp='$CPP $CPPFLAGS'
26527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26530
26531
26532 fi
26533
26534 fi
26535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26536 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26537
26538 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26539 for ac_func in _fabsl
26540 do :
26541 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26542 if test "x$ac_cv_func__fabsl" = xyes; then :
26543 cat >>confdefs.h <<_ACEOF
26544 #define HAVE__FABSL 1
26545 _ACEOF
26546
26547 fi
26548 done
26549
26550 fi
26551 fi
26552
26553
26554
26555
26556
26557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26558 $as_echo_n "checking for fmodl declaration... " >&6; }
26559 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26560 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26561 $as_echo_n "(cached) " >&6
26562 else
26563
26564
26565 ac_ext=cpp
26566 ac_cpp='$CXXCPP $CPPFLAGS'
26567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26570
26571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26572 /* end confdefs.h. */
26573 #include <math.h>
26574 int
26575 main ()
26576 {
26577 fmodl(0, 0);
26578 ;
26579 return 0;
26580 }
26581 _ACEOF
26582 if ac_fn_cxx_try_compile "$LINENO"; then :
26583 glibcxx_cv_func_fmodl_use=yes
26584 else
26585 glibcxx_cv_func_fmodl_use=no
26586 fi
26587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26588 ac_ext=c
26589 ac_cpp='$CPP $CPPFLAGS'
26590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26593
26594
26595 fi
26596
26597 fi
26598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26599 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26600
26601 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26602 for ac_func in fmodl
26603 do :
26604 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26605 if test "x$ac_cv_func_fmodl" = xyes; then :
26606 cat >>confdefs.h <<_ACEOF
26607 #define HAVE_FMODL 1
26608 _ACEOF
26609
26610 fi
26611 done
26612
26613 else
26614
26615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26616 $as_echo_n "checking for _fmodl declaration... " >&6; }
26617 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26618 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26619 $as_echo_n "(cached) " >&6
26620 else
26621
26622
26623 ac_ext=cpp
26624 ac_cpp='$CXXCPP $CPPFLAGS'
26625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26628
26629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26630 /* end confdefs.h. */
26631 #include <math.h>
26632 int
26633 main ()
26634 {
26635 _fmodl(0, 0);
26636 ;
26637 return 0;
26638 }
26639 _ACEOF
26640 if ac_fn_cxx_try_compile "$LINENO"; then :
26641 glibcxx_cv_func__fmodl_use=yes
26642 else
26643 glibcxx_cv_func__fmodl_use=no
26644 fi
26645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26646 ac_ext=c
26647 ac_cpp='$CPP $CPPFLAGS'
26648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26651
26652
26653 fi
26654
26655 fi
26656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26657 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26658
26659 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26660 for ac_func in _fmodl
26661 do :
26662 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26663 if test "x$ac_cv_func__fmodl" = xyes; then :
26664 cat >>confdefs.h <<_ACEOF
26665 #define HAVE__FMODL 1
26666 _ACEOF
26667
26668 fi
26669 done
26670
26671 fi
26672 fi
26673
26674
26675
26676
26677
26678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26679 $as_echo_n "checking for frexpl declaration... " >&6; }
26680 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26681 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26682 $as_echo_n "(cached) " >&6
26683 else
26684
26685
26686 ac_ext=cpp
26687 ac_cpp='$CXXCPP $CPPFLAGS'
26688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26691
26692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26693 /* end confdefs.h. */
26694 #include <math.h>
26695 int
26696 main ()
26697 {
26698 frexpl(0, 0);
26699 ;
26700 return 0;
26701 }
26702 _ACEOF
26703 if ac_fn_cxx_try_compile "$LINENO"; then :
26704 glibcxx_cv_func_frexpl_use=yes
26705 else
26706 glibcxx_cv_func_frexpl_use=no
26707 fi
26708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26709 ac_ext=c
26710 ac_cpp='$CPP $CPPFLAGS'
26711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26714
26715
26716 fi
26717
26718 fi
26719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26720 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26721
26722 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26723 for ac_func in frexpl
26724 do :
26725 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26726 if test "x$ac_cv_func_frexpl" = xyes; then :
26727 cat >>confdefs.h <<_ACEOF
26728 #define HAVE_FREXPL 1
26729 _ACEOF
26730
26731 fi
26732 done
26733
26734 else
26735
26736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26737 $as_echo_n "checking for _frexpl declaration... " >&6; }
26738 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26739 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26740 $as_echo_n "(cached) " >&6
26741 else
26742
26743
26744 ac_ext=cpp
26745 ac_cpp='$CXXCPP $CPPFLAGS'
26746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26749
26750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26751 /* end confdefs.h. */
26752 #include <math.h>
26753 int
26754 main ()
26755 {
26756 _frexpl(0, 0);
26757 ;
26758 return 0;
26759 }
26760 _ACEOF
26761 if ac_fn_cxx_try_compile "$LINENO"; then :
26762 glibcxx_cv_func__frexpl_use=yes
26763 else
26764 glibcxx_cv_func__frexpl_use=no
26765 fi
26766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26767 ac_ext=c
26768 ac_cpp='$CPP $CPPFLAGS'
26769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26772
26773
26774 fi
26775
26776 fi
26777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26778 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26779
26780 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26781 for ac_func in _frexpl
26782 do :
26783 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26784 if test "x$ac_cv_func__frexpl" = xyes; then :
26785 cat >>confdefs.h <<_ACEOF
26786 #define HAVE__FREXPL 1
26787 _ACEOF
26788
26789 fi
26790 done
26791
26792 fi
26793 fi
26794
26795
26796
26797
26798
26799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26800 $as_echo_n "checking for hypotl declaration... " >&6; }
26801 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26802 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26803 $as_echo_n "(cached) " >&6
26804 else
26805
26806
26807 ac_ext=cpp
26808 ac_cpp='$CXXCPP $CPPFLAGS'
26809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26812
26813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26814 /* end confdefs.h. */
26815 #include <math.h>
26816 int
26817 main ()
26818 {
26819 hypotl(0, 0);
26820 ;
26821 return 0;
26822 }
26823 _ACEOF
26824 if ac_fn_cxx_try_compile "$LINENO"; then :
26825 glibcxx_cv_func_hypotl_use=yes
26826 else
26827 glibcxx_cv_func_hypotl_use=no
26828 fi
26829 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26830 ac_ext=c
26831 ac_cpp='$CPP $CPPFLAGS'
26832 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26833 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26834 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26835
26836
26837 fi
26838
26839 fi
26840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26841 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26842
26843 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26844 for ac_func in hypotl
26845 do :
26846 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26847 if test "x$ac_cv_func_hypotl" = xyes; then :
26848 cat >>confdefs.h <<_ACEOF
26849 #define HAVE_HYPOTL 1
26850 _ACEOF
26851
26852 fi
26853 done
26854
26855 else
26856
26857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26858 $as_echo_n "checking for _hypotl declaration... " >&6; }
26859 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26860 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26861 $as_echo_n "(cached) " >&6
26862 else
26863
26864
26865 ac_ext=cpp
26866 ac_cpp='$CXXCPP $CPPFLAGS'
26867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26870
26871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26872 /* end confdefs.h. */
26873 #include <math.h>
26874 int
26875 main ()
26876 {
26877 _hypotl(0, 0);
26878 ;
26879 return 0;
26880 }
26881 _ACEOF
26882 if ac_fn_cxx_try_compile "$LINENO"; then :
26883 glibcxx_cv_func__hypotl_use=yes
26884 else
26885 glibcxx_cv_func__hypotl_use=no
26886 fi
26887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26888 ac_ext=c
26889 ac_cpp='$CPP $CPPFLAGS'
26890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26893
26894
26895 fi
26896
26897 fi
26898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26899 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26900
26901 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26902 for ac_func in _hypotl
26903 do :
26904 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26905 if test "x$ac_cv_func__hypotl" = xyes; then :
26906 cat >>confdefs.h <<_ACEOF
26907 #define HAVE__HYPOTL 1
26908 _ACEOF
26909
26910 fi
26911 done
26912
26913 fi
26914 fi
26915
26916
26917
26918
26919
26920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26921 $as_echo_n "checking for ldexpl declaration... " >&6; }
26922 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26923 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26924 $as_echo_n "(cached) " >&6
26925 else
26926
26927
26928 ac_ext=cpp
26929 ac_cpp='$CXXCPP $CPPFLAGS'
26930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26933
26934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26935 /* end confdefs.h. */
26936 #include <math.h>
26937 int
26938 main ()
26939 {
26940 ldexpl(0, 0);
26941 ;
26942 return 0;
26943 }
26944 _ACEOF
26945 if ac_fn_cxx_try_compile "$LINENO"; then :
26946 glibcxx_cv_func_ldexpl_use=yes
26947 else
26948 glibcxx_cv_func_ldexpl_use=no
26949 fi
26950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26951 ac_ext=c
26952 ac_cpp='$CPP $CPPFLAGS'
26953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26956
26957
26958 fi
26959
26960 fi
26961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26962 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26963
26964 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26965 for ac_func in ldexpl
26966 do :
26967 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26968 if test "x$ac_cv_func_ldexpl" = xyes; then :
26969 cat >>confdefs.h <<_ACEOF
26970 #define HAVE_LDEXPL 1
26971 _ACEOF
26972
26973 fi
26974 done
26975
26976 else
26977
26978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26979 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26980 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26981 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26982 $as_echo_n "(cached) " >&6
26983 else
26984
26985
26986 ac_ext=cpp
26987 ac_cpp='$CXXCPP $CPPFLAGS'
26988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26991
26992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26993 /* end confdefs.h. */
26994 #include <math.h>
26995 int
26996 main ()
26997 {
26998 _ldexpl(0, 0);
26999 ;
27000 return 0;
27001 }
27002 _ACEOF
27003 if ac_fn_cxx_try_compile "$LINENO"; then :
27004 glibcxx_cv_func__ldexpl_use=yes
27005 else
27006 glibcxx_cv_func__ldexpl_use=no
27007 fi
27008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27009 ac_ext=c
27010 ac_cpp='$CPP $CPPFLAGS'
27011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27014
27015
27016 fi
27017
27018 fi
27019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27020 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27021
27022 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27023 for ac_func in _ldexpl
27024 do :
27025 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27026 if test "x$ac_cv_func__ldexpl" = xyes; then :
27027 cat >>confdefs.h <<_ACEOF
27028 #define HAVE__LDEXPL 1
27029 _ACEOF
27030
27031 fi
27032 done
27033
27034 fi
27035 fi
27036
27037
27038
27039
27040
27041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27042 $as_echo_n "checking for logl declaration... " >&6; }
27043 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27044 if ${glibcxx_cv_func_logl_use+:} false; then :
27045 $as_echo_n "(cached) " >&6
27046 else
27047
27048
27049 ac_ext=cpp
27050 ac_cpp='$CXXCPP $CPPFLAGS'
27051 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27052 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27053 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27054
27055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27056 /* end confdefs.h. */
27057 #include <math.h>
27058 #ifdef HAVE_IEEEFP_H
27059 #include <ieeefp.h>
27060 #endif
27061
27062 int
27063 main ()
27064 {
27065 logl(0);
27066 ;
27067 return 0;
27068 }
27069 _ACEOF
27070 if ac_fn_cxx_try_compile "$LINENO"; then :
27071 glibcxx_cv_func_logl_use=yes
27072 else
27073 glibcxx_cv_func_logl_use=no
27074 fi
27075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27076 ac_ext=c
27077 ac_cpp='$CPP $CPPFLAGS'
27078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27081
27082
27083 fi
27084
27085 fi
27086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27087 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27088
27089 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27090 for ac_func in logl
27091 do :
27092 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27093 if test "x$ac_cv_func_logl" = xyes; then :
27094 cat >>confdefs.h <<_ACEOF
27095 #define HAVE_LOGL 1
27096 _ACEOF
27097
27098 fi
27099 done
27100
27101 else
27102
27103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27104 $as_echo_n "checking for _logl declaration... " >&6; }
27105 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27106 if ${glibcxx_cv_func__logl_use+:} false; then :
27107 $as_echo_n "(cached) " >&6
27108 else
27109
27110
27111 ac_ext=cpp
27112 ac_cpp='$CXXCPP $CPPFLAGS'
27113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27116
27117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27118 /* end confdefs.h. */
27119 #include <math.h>
27120 #ifdef HAVE_IEEEFP_H
27121 #include <ieeefp.h>
27122 #endif
27123
27124 int
27125 main ()
27126 {
27127 _logl(0);
27128 ;
27129 return 0;
27130 }
27131 _ACEOF
27132 if ac_fn_cxx_try_compile "$LINENO"; then :
27133 glibcxx_cv_func__logl_use=yes
27134 else
27135 glibcxx_cv_func__logl_use=no
27136 fi
27137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27138 ac_ext=c
27139 ac_cpp='$CPP $CPPFLAGS'
27140 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27141 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27142 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27143
27144
27145 fi
27146
27147 fi
27148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27149 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27150
27151 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27152 for ac_func in _logl
27153 do :
27154 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27155 if test "x$ac_cv_func__logl" = xyes; then :
27156 cat >>confdefs.h <<_ACEOF
27157 #define HAVE__LOGL 1
27158 _ACEOF
27159
27160 fi
27161 done
27162
27163 fi
27164 fi
27165
27166
27167
27168
27169
27170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27171 $as_echo_n "checking for log10l declaration... " >&6; }
27172 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27173 if ${glibcxx_cv_func_log10l_use+:} false; then :
27174 $as_echo_n "(cached) " >&6
27175 else
27176
27177
27178 ac_ext=cpp
27179 ac_cpp='$CXXCPP $CPPFLAGS'
27180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27183
27184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27185 /* end confdefs.h. */
27186 #include <math.h>
27187 #ifdef HAVE_IEEEFP_H
27188 #include <ieeefp.h>
27189 #endif
27190
27191 int
27192 main ()
27193 {
27194 log10l(0);
27195 ;
27196 return 0;
27197 }
27198 _ACEOF
27199 if ac_fn_cxx_try_compile "$LINENO"; then :
27200 glibcxx_cv_func_log10l_use=yes
27201 else
27202 glibcxx_cv_func_log10l_use=no
27203 fi
27204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27205 ac_ext=c
27206 ac_cpp='$CPP $CPPFLAGS'
27207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27210
27211
27212 fi
27213
27214 fi
27215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27216 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27217
27218 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27219 for ac_func in log10l
27220 do :
27221 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27222 if test "x$ac_cv_func_log10l" = xyes; then :
27223 cat >>confdefs.h <<_ACEOF
27224 #define HAVE_LOG10L 1
27225 _ACEOF
27226
27227 fi
27228 done
27229
27230 else
27231
27232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27233 $as_echo_n "checking for _log10l declaration... " >&6; }
27234 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27235 if ${glibcxx_cv_func__log10l_use+:} false; then :
27236 $as_echo_n "(cached) " >&6
27237 else
27238
27239
27240 ac_ext=cpp
27241 ac_cpp='$CXXCPP $CPPFLAGS'
27242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27245
27246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27247 /* end confdefs.h. */
27248 #include <math.h>
27249 #ifdef HAVE_IEEEFP_H
27250 #include <ieeefp.h>
27251 #endif
27252
27253 int
27254 main ()
27255 {
27256 _log10l(0);
27257 ;
27258 return 0;
27259 }
27260 _ACEOF
27261 if ac_fn_cxx_try_compile "$LINENO"; then :
27262 glibcxx_cv_func__log10l_use=yes
27263 else
27264 glibcxx_cv_func__log10l_use=no
27265 fi
27266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27267 ac_ext=c
27268 ac_cpp='$CPP $CPPFLAGS'
27269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27272
27273
27274 fi
27275
27276 fi
27277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27278 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27279
27280 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27281 for ac_func in _log10l
27282 do :
27283 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27284 if test "x$ac_cv_func__log10l" = xyes; then :
27285 cat >>confdefs.h <<_ACEOF
27286 #define HAVE__LOG10L 1
27287 _ACEOF
27288
27289 fi
27290 done
27291
27292 fi
27293 fi
27294
27295
27296
27297
27298
27299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27300 $as_echo_n "checking for modfl declaration... " >&6; }
27301 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27302 if ${glibcxx_cv_func_modfl_use+:} false; then :
27303 $as_echo_n "(cached) " >&6
27304 else
27305
27306
27307 ac_ext=cpp
27308 ac_cpp='$CXXCPP $CPPFLAGS'
27309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27312
27313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27314 /* end confdefs.h. */
27315 #include <math.h>
27316 int
27317 main ()
27318 {
27319 modfl(0, 0);
27320 ;
27321 return 0;
27322 }
27323 _ACEOF
27324 if ac_fn_cxx_try_compile "$LINENO"; then :
27325 glibcxx_cv_func_modfl_use=yes
27326 else
27327 glibcxx_cv_func_modfl_use=no
27328 fi
27329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27330 ac_ext=c
27331 ac_cpp='$CPP $CPPFLAGS'
27332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27335
27336
27337 fi
27338
27339 fi
27340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27341 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27342
27343 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27344 for ac_func in modfl
27345 do :
27346 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27347 if test "x$ac_cv_func_modfl" = xyes; then :
27348 cat >>confdefs.h <<_ACEOF
27349 #define HAVE_MODFL 1
27350 _ACEOF
27351
27352 fi
27353 done
27354
27355 else
27356
27357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27358 $as_echo_n "checking for _modfl declaration... " >&6; }
27359 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27360 if ${glibcxx_cv_func__modfl_use+:} false; then :
27361 $as_echo_n "(cached) " >&6
27362 else
27363
27364
27365 ac_ext=cpp
27366 ac_cpp='$CXXCPP $CPPFLAGS'
27367 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27368 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27369 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27370
27371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27372 /* end confdefs.h. */
27373 #include <math.h>
27374 int
27375 main ()
27376 {
27377 _modfl(0, 0);
27378 ;
27379 return 0;
27380 }
27381 _ACEOF
27382 if ac_fn_cxx_try_compile "$LINENO"; then :
27383 glibcxx_cv_func__modfl_use=yes
27384 else
27385 glibcxx_cv_func__modfl_use=no
27386 fi
27387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27388 ac_ext=c
27389 ac_cpp='$CPP $CPPFLAGS'
27390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27393
27394
27395 fi
27396
27397 fi
27398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27399 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27400
27401 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27402 for ac_func in _modfl
27403 do :
27404 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27405 if test "x$ac_cv_func__modfl" = xyes; then :
27406 cat >>confdefs.h <<_ACEOF
27407 #define HAVE__MODFL 1
27408 _ACEOF
27409
27410 fi
27411 done
27412
27413 fi
27414 fi
27415
27416
27417
27418
27419
27420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27421 $as_echo_n "checking for powl declaration... " >&6; }
27422 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27423 if ${glibcxx_cv_func_powl_use+:} false; then :
27424 $as_echo_n "(cached) " >&6
27425 else
27426
27427
27428 ac_ext=cpp
27429 ac_cpp='$CXXCPP $CPPFLAGS'
27430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27433
27434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27435 /* end confdefs.h. */
27436 #include <math.h>
27437 int
27438 main ()
27439 {
27440 powl(0, 0);
27441 ;
27442 return 0;
27443 }
27444 _ACEOF
27445 if ac_fn_cxx_try_compile "$LINENO"; then :
27446 glibcxx_cv_func_powl_use=yes
27447 else
27448 glibcxx_cv_func_powl_use=no
27449 fi
27450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27451 ac_ext=c
27452 ac_cpp='$CPP $CPPFLAGS'
27453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27456
27457
27458 fi
27459
27460 fi
27461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27462 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27463
27464 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27465 for ac_func in powl
27466 do :
27467 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27468 if test "x$ac_cv_func_powl" = xyes; then :
27469 cat >>confdefs.h <<_ACEOF
27470 #define HAVE_POWL 1
27471 _ACEOF
27472
27473 fi
27474 done
27475
27476 else
27477
27478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27479 $as_echo_n "checking for _powl declaration... " >&6; }
27480 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27481 if ${glibcxx_cv_func__powl_use+:} false; then :
27482 $as_echo_n "(cached) " >&6
27483 else
27484
27485
27486 ac_ext=cpp
27487 ac_cpp='$CXXCPP $CPPFLAGS'
27488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27491
27492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27493 /* end confdefs.h. */
27494 #include <math.h>
27495 int
27496 main ()
27497 {
27498 _powl(0, 0);
27499 ;
27500 return 0;
27501 }
27502 _ACEOF
27503 if ac_fn_cxx_try_compile "$LINENO"; then :
27504 glibcxx_cv_func__powl_use=yes
27505 else
27506 glibcxx_cv_func__powl_use=no
27507 fi
27508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27509 ac_ext=c
27510 ac_cpp='$CPP $CPPFLAGS'
27511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27514
27515
27516 fi
27517
27518 fi
27519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27520 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27521
27522 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27523 for ac_func in _powl
27524 do :
27525 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27526 if test "x$ac_cv_func__powl" = xyes; then :
27527 cat >>confdefs.h <<_ACEOF
27528 #define HAVE__POWL 1
27529 _ACEOF
27530
27531 fi
27532 done
27533
27534 fi
27535 fi
27536
27537
27538
27539
27540
27541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27542 $as_echo_n "checking for sqrtl declaration... " >&6; }
27543 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27544 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27545 $as_echo_n "(cached) " >&6
27546 else
27547
27548
27549 ac_ext=cpp
27550 ac_cpp='$CXXCPP $CPPFLAGS'
27551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27554
27555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27556 /* end confdefs.h. */
27557 #include <math.h>
27558 #ifdef HAVE_IEEEFP_H
27559 #include <ieeefp.h>
27560 #endif
27561
27562 int
27563 main ()
27564 {
27565 sqrtl(0);
27566 ;
27567 return 0;
27568 }
27569 _ACEOF
27570 if ac_fn_cxx_try_compile "$LINENO"; then :
27571 glibcxx_cv_func_sqrtl_use=yes
27572 else
27573 glibcxx_cv_func_sqrtl_use=no
27574 fi
27575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27576 ac_ext=c
27577 ac_cpp='$CPP $CPPFLAGS'
27578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27581
27582
27583 fi
27584
27585 fi
27586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27587 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27588
27589 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27590 for ac_func in sqrtl
27591 do :
27592 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27593 if test "x$ac_cv_func_sqrtl" = xyes; then :
27594 cat >>confdefs.h <<_ACEOF
27595 #define HAVE_SQRTL 1
27596 _ACEOF
27597
27598 fi
27599 done
27600
27601 else
27602
27603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27604 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27605 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27606 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27607 $as_echo_n "(cached) " >&6
27608 else
27609
27610
27611 ac_ext=cpp
27612 ac_cpp='$CXXCPP $CPPFLAGS'
27613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27616
27617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27618 /* end confdefs.h. */
27619 #include <math.h>
27620 #ifdef HAVE_IEEEFP_H
27621 #include <ieeefp.h>
27622 #endif
27623
27624 int
27625 main ()
27626 {
27627 _sqrtl(0);
27628 ;
27629 return 0;
27630 }
27631 _ACEOF
27632 if ac_fn_cxx_try_compile "$LINENO"; then :
27633 glibcxx_cv_func__sqrtl_use=yes
27634 else
27635 glibcxx_cv_func__sqrtl_use=no
27636 fi
27637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27638 ac_ext=c
27639 ac_cpp='$CPP $CPPFLAGS'
27640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27643
27644
27645 fi
27646
27647 fi
27648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27649 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27650
27651 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27652 for ac_func in _sqrtl
27653 do :
27654 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27655 if test "x$ac_cv_func__sqrtl" = xyes; then :
27656 cat >>confdefs.h <<_ACEOF
27657 #define HAVE__SQRTL 1
27658 _ACEOF
27659
27660 fi
27661 done
27662
27663 fi
27664 fi
27665
27666
27667
27668
27669
27670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27671 $as_echo_n "checking for sincosl declaration... " >&6; }
27672 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27673 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27674 $as_echo_n "(cached) " >&6
27675 else
27676
27677
27678 ac_ext=cpp
27679 ac_cpp='$CXXCPP $CPPFLAGS'
27680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27683
27684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27685 /* end confdefs.h. */
27686 #include <math.h>
27687 int
27688 main ()
27689 {
27690 sincosl(0, 0, 0);
27691 ;
27692 return 0;
27693 }
27694 _ACEOF
27695 if ac_fn_cxx_try_compile "$LINENO"; then :
27696 glibcxx_cv_func_sincosl_use=yes
27697 else
27698 glibcxx_cv_func_sincosl_use=no
27699 fi
27700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27701 ac_ext=c
27702 ac_cpp='$CPP $CPPFLAGS'
27703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27706
27707
27708 fi
27709
27710 fi
27711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27712 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27713
27714 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27715 for ac_func in sincosl
27716 do :
27717 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27718 if test "x$ac_cv_func_sincosl" = xyes; then :
27719 cat >>confdefs.h <<_ACEOF
27720 #define HAVE_SINCOSL 1
27721 _ACEOF
27722
27723 fi
27724 done
27725
27726 else
27727
27728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27729 $as_echo_n "checking for _sincosl declaration... " >&6; }
27730 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27731 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27732 $as_echo_n "(cached) " >&6
27733 else
27734
27735
27736 ac_ext=cpp
27737 ac_cpp='$CXXCPP $CPPFLAGS'
27738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27741
27742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27743 /* end confdefs.h. */
27744 #include <math.h>
27745 int
27746 main ()
27747 {
27748 _sincosl(0, 0, 0);
27749 ;
27750 return 0;
27751 }
27752 _ACEOF
27753 if ac_fn_cxx_try_compile "$LINENO"; then :
27754 glibcxx_cv_func__sincosl_use=yes
27755 else
27756 glibcxx_cv_func__sincosl_use=no
27757 fi
27758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27759 ac_ext=c
27760 ac_cpp='$CPP $CPPFLAGS'
27761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27764
27765
27766 fi
27767
27768 fi
27769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27770 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27771
27772 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27773 for ac_func in _sincosl
27774 do :
27775 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27776 if test "x$ac_cv_func__sincosl" = xyes; then :
27777 cat >>confdefs.h <<_ACEOF
27778 #define HAVE__SINCOSL 1
27779 _ACEOF
27780
27781 fi
27782 done
27783
27784 fi
27785 fi
27786
27787
27788
27789
27790
27791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27792 $as_echo_n "checking for finitel declaration... " >&6; }
27793 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27794 if ${glibcxx_cv_func_finitel_use+:} false; then :
27795 $as_echo_n "(cached) " >&6
27796 else
27797
27798
27799 ac_ext=cpp
27800 ac_cpp='$CXXCPP $CPPFLAGS'
27801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27804
27805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27806 /* end confdefs.h. */
27807 #include <math.h>
27808 #ifdef HAVE_IEEEFP_H
27809 #include <ieeefp.h>
27810 #endif
27811
27812 int
27813 main ()
27814 {
27815 finitel(0);
27816 ;
27817 return 0;
27818 }
27819 _ACEOF
27820 if ac_fn_cxx_try_compile "$LINENO"; then :
27821 glibcxx_cv_func_finitel_use=yes
27822 else
27823 glibcxx_cv_func_finitel_use=no
27824 fi
27825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27826 ac_ext=c
27827 ac_cpp='$CPP $CPPFLAGS'
27828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27831
27832
27833 fi
27834
27835 fi
27836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27837 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27838
27839 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27840 for ac_func in finitel
27841 do :
27842 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27843 if test "x$ac_cv_func_finitel" = xyes; then :
27844 cat >>confdefs.h <<_ACEOF
27845 #define HAVE_FINITEL 1
27846 _ACEOF
27847
27848 fi
27849 done
27850
27851 else
27852
27853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27854 $as_echo_n "checking for _finitel declaration... " >&6; }
27855 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27856 if ${glibcxx_cv_func__finitel_use+:} false; then :
27857 $as_echo_n "(cached) " >&6
27858 else
27859
27860
27861 ac_ext=cpp
27862 ac_cpp='$CXXCPP $CPPFLAGS'
27863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27866
27867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27868 /* end confdefs.h. */
27869 #include <math.h>
27870 #ifdef HAVE_IEEEFP_H
27871 #include <ieeefp.h>
27872 #endif
27873
27874 int
27875 main ()
27876 {
27877 _finitel(0);
27878 ;
27879 return 0;
27880 }
27881 _ACEOF
27882 if ac_fn_cxx_try_compile "$LINENO"; then :
27883 glibcxx_cv_func__finitel_use=yes
27884 else
27885 glibcxx_cv_func__finitel_use=no
27886 fi
27887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27888 ac_ext=c
27889 ac_cpp='$CPP $CPPFLAGS'
27890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27893
27894
27895 fi
27896
27897 fi
27898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27899 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27900
27901 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27902 for ac_func in _finitel
27903 do :
27904 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27905 if test "x$ac_cv_func__finitel" = xyes; then :
27906 cat >>confdefs.h <<_ACEOF
27907 #define HAVE__FINITEL 1
27908 _ACEOF
27909
27910 fi
27911 done
27912
27913 fi
27914 fi
27915
27916
27917
27918
27919 LIBS="$ac_save_LIBS"
27920 CXXFLAGS="$ac_save_CXXFLAGS"
27921
27922
27923 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27924 ac_save_CXXFLAGS="$CXXFLAGS"
27925 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27926
27927
27928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27929 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27930 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27931 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27932 $as_echo_n "(cached) " >&6
27933 else
27934
27935
27936 ac_ext=cpp
27937 ac_cpp='$CXXCPP $CPPFLAGS'
27938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27941
27942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27943 /* end confdefs.h. */
27944 #include <stdlib.h>
27945 int
27946 main ()
27947 {
27948 at_quick_exit(0);
27949 ;
27950 return 0;
27951 }
27952 _ACEOF
27953 if ac_fn_cxx_try_compile "$LINENO"; then :
27954 glibcxx_cv_func_at_quick_exit_use=yes
27955 else
27956 glibcxx_cv_func_at_quick_exit_use=no
27957 fi
27958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27959 ac_ext=c
27960 ac_cpp='$CPP $CPPFLAGS'
27961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27964
27965
27966 fi
27967
27968 fi
27969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27970 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27971 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27972 for ac_func in at_quick_exit
27973 do :
27974 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27975 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27976 cat >>confdefs.h <<_ACEOF
27977 #define HAVE_AT_QUICK_EXIT 1
27978 _ACEOF
27979
27980 fi
27981 done
27982
27983 fi
27984
27985
27986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27987 $as_echo_n "checking for quick_exit declaration... " >&6; }
27988 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27989 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27990 $as_echo_n "(cached) " >&6
27991 else
27992
27993
27994 ac_ext=cpp
27995 ac_cpp='$CXXCPP $CPPFLAGS'
27996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27999
28000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28001 /* end confdefs.h. */
28002 #include <stdlib.h>
28003 int
28004 main ()
28005 {
28006 quick_exit(0);
28007 ;
28008 return 0;
28009 }
28010 _ACEOF
28011 if ac_fn_cxx_try_compile "$LINENO"; then :
28012 glibcxx_cv_func_quick_exit_use=yes
28013 else
28014 glibcxx_cv_func_quick_exit_use=no
28015 fi
28016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28017 ac_ext=c
28018 ac_cpp='$CPP $CPPFLAGS'
28019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28022
28023
28024 fi
28025
28026 fi
28027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28028 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28029 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28030 for ac_func in quick_exit
28031 do :
28032 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28033 if test "x$ac_cv_func_quick_exit" = xyes; then :
28034 cat >>confdefs.h <<_ACEOF
28035 #define HAVE_QUICK_EXIT 1
28036 _ACEOF
28037
28038 fi
28039 done
28040
28041 fi
28042
28043
28044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28045 $as_echo_n "checking for strtold declaration... " >&6; }
28046 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28047 if ${glibcxx_cv_func_strtold_use+:} false; then :
28048 $as_echo_n "(cached) " >&6
28049 else
28050
28051
28052 ac_ext=cpp
28053 ac_cpp='$CXXCPP $CPPFLAGS'
28054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28057
28058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28059 /* end confdefs.h. */
28060 #include <stdlib.h>
28061 int
28062 main ()
28063 {
28064 strtold(0, 0);
28065 ;
28066 return 0;
28067 }
28068 _ACEOF
28069 if ac_fn_cxx_try_compile "$LINENO"; then :
28070 glibcxx_cv_func_strtold_use=yes
28071 else
28072 glibcxx_cv_func_strtold_use=no
28073 fi
28074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28075 ac_ext=c
28076 ac_cpp='$CPP $CPPFLAGS'
28077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28080
28081
28082 fi
28083
28084 fi
28085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28086 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28087 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28088 for ac_func in strtold
28089 do :
28090 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28091 if test "x$ac_cv_func_strtold" = xyes; then :
28092 cat >>confdefs.h <<_ACEOF
28093 #define HAVE_STRTOLD 1
28094 _ACEOF
28095
28096 fi
28097 done
28098
28099 fi
28100
28101
28102
28103
28104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28105 $as_echo_n "checking for strtof declaration... " >&6; }
28106 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28107 if ${glibcxx_cv_func_strtof_use+:} false; then :
28108 $as_echo_n "(cached) " >&6
28109 else
28110
28111
28112 ac_ext=cpp
28113 ac_cpp='$CXXCPP $CPPFLAGS'
28114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28117
28118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28119 /* end confdefs.h. */
28120 #include <stdlib.h>
28121 int
28122 main ()
28123 {
28124 strtof(0, 0);
28125 ;
28126 return 0;
28127 }
28128 _ACEOF
28129 if ac_fn_cxx_try_compile "$LINENO"; then :
28130 glibcxx_cv_func_strtof_use=yes
28131 else
28132 glibcxx_cv_func_strtof_use=no
28133 fi
28134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28135 ac_ext=c
28136 ac_cpp='$CPP $CPPFLAGS'
28137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28140
28141
28142 fi
28143
28144 fi
28145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28146 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28147 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28148 for ac_func in strtof
28149 do :
28150 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28151 if test "x$ac_cv_func_strtof" = xyes; then :
28152 cat >>confdefs.h <<_ACEOF
28153 #define HAVE_STRTOF 1
28154 _ACEOF
28155
28156 fi
28157 done
28158
28159 fi
28160
28161
28162
28163
28164 CXXFLAGS="$ac_save_CXXFLAGS"
28165
28166
28167 # For /dev/random and /dev/urandom for std::random_device.
28168
28169
28170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28171 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28172 if ${glibcxx_cv_dev_random+:} false; then :
28173 $as_echo_n "(cached) " >&6
28174 else
28175
28176 if test -r /dev/random && test -r /dev/urandom; then
28177 ## For MSys environment the test above is detected as false-positive
28178 ## on mingw-targets. So disable it explicitly for them.
28179 case ${target_os} in
28180 *mingw*) glibcxx_cv_dev_random=no ;;
28181 *) glibcxx_cv_dev_random=yes ;;
28182 esac
28183 else
28184 glibcxx_cv_dev_random=no;
28185 fi
28186
28187 fi
28188
28189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28190 $as_echo "$glibcxx_cv_dev_random" >&6; }
28191
28192 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28193
28194 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28195
28196
28197 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28198
28199 fi
28200
28201
28202
28203 # For TLS support.
28204
28205
28206 # Check whether --enable-tls was given.
28207 if test "${enable_tls+set}" = set; then :
28208 enableval=$enable_tls;
28209 case "$enableval" in
28210 yes|no) ;;
28211 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28212 esac
28213
28214 else
28215 enable_tls=yes
28216 fi
28217
28218
28219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28220 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28221 if ${gcc_cv_have_tls+:} false; then :
28222 $as_echo_n "(cached) " >&6
28223 else
28224
28225 if test "$cross_compiling" = yes; then :
28226 if test x$gcc_no_link = xyes; then
28227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28228 fi
28229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28230 /* end confdefs.h. */
28231 __thread int a; int b; int main() { return a = b; }
28232 _ACEOF
28233 if ac_fn_c_try_link "$LINENO"; then :
28234 chktls_save_LDFLAGS="$LDFLAGS"
28235 case $host in
28236 *-*-linux*)
28237 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28238 ;;
28239 esac
28240 chktls_save_CFLAGS="$CFLAGS"
28241 CFLAGS="-fPIC $CFLAGS"
28242 if test x$gcc_no_link = xyes; then
28243 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28244 fi
28245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28246 /* end confdefs.h. */
28247 int f() { return 0; }
28248 _ACEOF
28249 if ac_fn_c_try_link "$LINENO"; then :
28250 if test x$gcc_no_link = xyes; then
28251 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28252 fi
28253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28254 /* end confdefs.h. */
28255 __thread int a; int b; int f() { return a = b; }
28256 _ACEOF
28257 if ac_fn_c_try_link "$LINENO"; then :
28258 gcc_cv_have_tls=yes
28259 else
28260 gcc_cv_have_tls=no
28261 fi
28262 rm -f core conftest.err conftest.$ac_objext \
28263 conftest$ac_exeext conftest.$ac_ext
28264 else
28265 gcc_cv_have_tls=yes
28266 fi
28267 rm -f core conftest.err conftest.$ac_objext \
28268 conftest$ac_exeext conftest.$ac_ext
28269 CFLAGS="$chktls_save_CFLAGS"
28270 LDFLAGS="$chktls_save_LDFLAGS"
28271 else
28272 gcc_cv_have_tls=no
28273 fi
28274 rm -f core conftest.err conftest.$ac_objext \
28275 conftest$ac_exeext conftest.$ac_ext
28276
28277
28278 else
28279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28280 /* end confdefs.h. */
28281 __thread int a; int b; int main() { return a = b; }
28282 _ACEOF
28283 if ac_fn_c_try_run "$LINENO"; then :
28284 chktls_save_LDFLAGS="$LDFLAGS"
28285 LDFLAGS="-static $LDFLAGS"
28286 if test x$gcc_no_link = xyes; then
28287 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28288 fi
28289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28290 /* end confdefs.h. */
28291 int main() { return 0; }
28292 _ACEOF
28293 if ac_fn_c_try_link "$LINENO"; then :
28294 if test "$cross_compiling" = yes; then :
28295 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28296 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28297 as_fn_error $? "cannot run test program while cross compiling
28298 See \`config.log' for more details" "$LINENO" 5; }
28299 else
28300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28301 /* end confdefs.h. */
28302 __thread int a; int b; int main() { return a = b; }
28303 _ACEOF
28304 if ac_fn_c_try_run "$LINENO"; then :
28305 gcc_cv_have_tls=yes
28306 else
28307 gcc_cv_have_tls=no
28308 fi
28309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28310 conftest.$ac_objext conftest.beam conftest.$ac_ext
28311 fi
28312
28313 else
28314 gcc_cv_have_tls=yes
28315 fi
28316 rm -f core conftest.err conftest.$ac_objext \
28317 conftest$ac_exeext conftest.$ac_ext
28318 LDFLAGS="$chktls_save_LDFLAGS"
28319 if test $gcc_cv_have_tls = yes; then
28320 chktls_save_CFLAGS="$CFLAGS"
28321 thread_CFLAGS=failed
28322 for flag in '' '-pthread' '-lpthread'; do
28323 CFLAGS="$flag $chktls_save_CFLAGS"
28324 if test x$gcc_no_link = xyes; then
28325 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28326 fi
28327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28328 /* end confdefs.h. */
28329 #include <pthread.h>
28330 void *g(void *d) { return NULL; }
28331 int
28332 main ()
28333 {
28334 pthread_t t; pthread_create(&t,NULL,g,NULL);
28335 ;
28336 return 0;
28337 }
28338 _ACEOF
28339 if ac_fn_c_try_link "$LINENO"; then :
28340 thread_CFLAGS="$flag"
28341 fi
28342 rm -f core conftest.err conftest.$ac_objext \
28343 conftest$ac_exeext conftest.$ac_ext
28344 if test "X$thread_CFLAGS" != Xfailed; then
28345 break
28346 fi
28347 done
28348 CFLAGS="$chktls_save_CFLAGS"
28349 if test "X$thread_CFLAGS" != Xfailed; then
28350 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28351 if test "$cross_compiling" = yes; then :
28352 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28353 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28354 as_fn_error $? "cannot run test program while cross compiling
28355 See \`config.log' for more details" "$LINENO" 5; }
28356 else
28357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28358 /* end confdefs.h. */
28359 #include <pthread.h>
28360 __thread int a;
28361 static int *volatile a_in_other_thread;
28362 static void *
28363 thread_func (void *arg)
28364 {
28365 a_in_other_thread = &a;
28366 return (void *)0;
28367 }
28368 int
28369 main ()
28370 {
28371 pthread_t thread;
28372 void *thread_retval;
28373 int *volatile a_in_main_thread;
28374 a_in_main_thread = &a;
28375 if (pthread_create (&thread, (pthread_attr_t *)0,
28376 thread_func, (void *)0))
28377 return 0;
28378 if (pthread_join (thread, &thread_retval))
28379 return 0;
28380 return (a_in_other_thread == a_in_main_thread);
28381 ;
28382 return 0;
28383 }
28384 _ACEOF
28385 if ac_fn_c_try_run "$LINENO"; then :
28386 gcc_cv_have_tls=yes
28387 else
28388 gcc_cv_have_tls=no
28389 fi
28390 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28391 conftest.$ac_objext conftest.beam conftest.$ac_ext
28392 fi
28393
28394 CFLAGS="$chktls_save_CFLAGS"
28395 fi
28396 fi
28397 else
28398 gcc_cv_have_tls=no
28399 fi
28400 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28401 conftest.$ac_objext conftest.beam conftest.$ac_ext
28402 fi
28403
28404 fi
28405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28406 $as_echo "$gcc_cv_have_tls" >&6; }
28407 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28408
28409 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28410
28411 fi
28412
28413 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28414 do :
28415 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28416 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28417 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28418 cat >>confdefs.h <<_ACEOF
28419 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28420 _ACEOF
28421
28422 fi
28423 done
28424
28425 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28426 do :
28427 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28428 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28429 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28430 cat >>confdefs.h <<_ACEOF
28431 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28432 _ACEOF
28433
28434 fi
28435 done
28436
28437 for ac_func in _wfopen
28438 do :
28439 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28440 if test "x$ac_cv_func__wfopen" = xyes; then :
28441 cat >>confdefs.h <<_ACEOF
28442 #define HAVE__WFOPEN 1
28443 _ACEOF
28444
28445 fi
28446 done
28447
28448
28449 # C11 functions for C++17 library
28450 for ac_func in timespec_get
28451 do :
28452 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28453 if test "x$ac_cv_func_timespec_get" = xyes; then :
28454 cat >>confdefs.h <<_ACEOF
28455 #define HAVE_TIMESPEC_GET 1
28456 _ACEOF
28457
28458 fi
28459 done
28460
28461
28462 # For Networking TS.
28463 for ac_func in sockatmark
28464 do :
28465 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28466 if test "x$ac_cv_func_sockatmark" = xyes; then :
28467 cat >>confdefs.h <<_ACEOF
28468 #define HAVE_SOCKATMARK 1
28469 _ACEOF
28470
28471 fi
28472 done
28473
28474
28475 # For iconv support.
28476
28477 if test "X$prefix" = "XNONE"; then
28478 acl_final_prefix="$ac_default_prefix"
28479 else
28480 acl_final_prefix="$prefix"
28481 fi
28482 if test "X$exec_prefix" = "XNONE"; then
28483 acl_final_exec_prefix='${prefix}'
28484 else
28485 acl_final_exec_prefix="$exec_prefix"
28486 fi
28487 acl_save_prefix="$prefix"
28488 prefix="$acl_final_prefix"
28489 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28490 prefix="$acl_save_prefix"
28491
28492
28493 # Check whether --with-gnu-ld was given.
28494 if test "${with_gnu_ld+set}" = set; then :
28495 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28496 else
28497 with_gnu_ld=no
28498 fi
28499
28500 # Prepare PATH_SEPARATOR.
28501 # The user is always right.
28502 if test "${PATH_SEPARATOR+set}" != set; then
28503 echo "#! /bin/sh" >conf$$.sh
28504 echo "exit 0" >>conf$$.sh
28505 chmod +x conf$$.sh
28506 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28507 PATH_SEPARATOR=';'
28508 else
28509 PATH_SEPARATOR=:
28510 fi
28511 rm -f conf$$.sh
28512 fi
28513 ac_prog=ld
28514 if test "$GCC" = yes; then
28515 # Check if gcc -print-prog-name=ld gives a path.
28516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28517 $as_echo_n "checking for ld used by GCC... " >&6; }
28518 case $host in
28519 *-*-mingw*)
28520 # gcc leaves a trailing carriage return which upsets mingw
28521 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28522 *)
28523 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28524 esac
28525 case $ac_prog in
28526 # Accept absolute paths.
28527 [\\/]* | [A-Za-z]:[\\/]*)
28528 re_direlt='/[^/][^/]*/\.\./'
28529 # Canonicalize the path of ld
28530 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28531 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28532 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28533 done
28534 test -z "$LD" && LD="$ac_prog"
28535 ;;
28536 "")
28537 # If it fails, then pretend we aren't using GCC.
28538 ac_prog=ld
28539 ;;
28540 *)
28541 # If it is relative, then search for the first ld in PATH.
28542 with_gnu_ld=unknown
28543 ;;
28544 esac
28545 elif test "$with_gnu_ld" = yes; then
28546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28547 $as_echo_n "checking for GNU ld... " >&6; }
28548 else
28549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28550 $as_echo_n "checking for non-GNU ld... " >&6; }
28551 fi
28552 if ${acl_cv_path_LD+:} false; then :
28553 $as_echo_n "(cached) " >&6
28554 else
28555 if test -z "$LD"; then
28556 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28557 for ac_dir in $PATH; do
28558 test -z "$ac_dir" && ac_dir=.
28559 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28560 acl_cv_path_LD="$ac_dir/$ac_prog"
28561 # Check to see if the program is GNU ld. I'd rather use --version,
28562 # but apparently some GNU ld's only accept -v.
28563 # Break only if it was the GNU/non-GNU ld that we prefer.
28564 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28565 test "$with_gnu_ld" != no && break
28566 else
28567 test "$with_gnu_ld" != yes && break
28568 fi
28569 fi
28570 done
28571 IFS="$ac_save_ifs"
28572 else
28573 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28574 fi
28575 fi
28576
28577 LD="$acl_cv_path_LD"
28578 if test -n "$LD"; then
28579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28580 $as_echo "$LD" >&6; }
28581 else
28582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28583 $as_echo "no" >&6; }
28584 fi
28585 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28587 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28588 if ${acl_cv_prog_gnu_ld+:} false; then :
28589 $as_echo_n "(cached) " >&6
28590 else
28591 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28592 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28593 acl_cv_prog_gnu_ld=yes
28594 else
28595 acl_cv_prog_gnu_ld=no
28596 fi
28597 fi
28598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28599 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28600 with_gnu_ld=$acl_cv_prog_gnu_ld
28601
28602
28603
28604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28605 $as_echo_n "checking for shared library run path origin... " >&6; }
28606 if ${acl_cv_rpath+:} false; then :
28607 $as_echo_n "(cached) " >&6
28608 else
28609
28610 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28611 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28612 . ./conftest.sh
28613 rm -f ./conftest.sh
28614 acl_cv_rpath=done
28615
28616 fi
28617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28618 $as_echo "$acl_cv_rpath" >&6; }
28619 wl="$acl_cv_wl"
28620 libext="$acl_cv_libext"
28621 shlibext="$acl_cv_shlibext"
28622 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28623 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28624 hardcode_direct="$acl_cv_hardcode_direct"
28625 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28626 # Check whether --enable-rpath was given.
28627 if test "${enable_rpath+set}" = set; then :
28628 enableval=$enable_rpath; :
28629 else
28630 enable_rpath=yes
28631 fi
28632
28633
28634
28635
28636
28637
28638
28639
28640 use_additional=yes
28641
28642 acl_save_prefix="$prefix"
28643 prefix="$acl_final_prefix"
28644 acl_save_exec_prefix="$exec_prefix"
28645 exec_prefix="$acl_final_exec_prefix"
28646
28647 eval additional_includedir=\"$includedir\"
28648 eval additional_libdir=\"$libdir\"
28649
28650 exec_prefix="$acl_save_exec_prefix"
28651 prefix="$acl_save_prefix"
28652
28653
28654 # Check whether --with-libiconv-prefix was given.
28655 if test "${with_libiconv_prefix+set}" = set; then :
28656 withval=$with_libiconv_prefix;
28657 if test "X$withval" = "Xno"; then
28658 use_additional=no
28659 else
28660 if test "X$withval" = "X"; then
28661
28662 acl_save_prefix="$prefix"
28663 prefix="$acl_final_prefix"
28664 acl_save_exec_prefix="$exec_prefix"
28665 exec_prefix="$acl_final_exec_prefix"
28666
28667 eval additional_includedir=\"$includedir\"
28668 eval additional_libdir=\"$libdir\"
28669
28670 exec_prefix="$acl_save_exec_prefix"
28671 prefix="$acl_save_prefix"
28672
28673 else
28674 additional_includedir="$withval/include"
28675 additional_libdir="$withval/lib"
28676 fi
28677 fi
28678
28679 fi
28680
28681 LIBICONV=
28682 LTLIBICONV=
28683 INCICONV=
28684 rpathdirs=
28685 ltrpathdirs=
28686 names_already_handled=
28687 names_next_round='iconv '
28688 while test -n "$names_next_round"; do
28689 names_this_round="$names_next_round"
28690 names_next_round=
28691 for name in $names_this_round; do
28692 already_handled=
28693 for n in $names_already_handled; do
28694 if test "$n" = "$name"; then
28695 already_handled=yes
28696 break
28697 fi
28698 done
28699 if test -z "$already_handled"; then
28700 names_already_handled="$names_already_handled $name"
28701 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28702 eval value=\"\$HAVE_LIB$uppername\"
28703 if test -n "$value"; then
28704 if test "$value" = yes; then
28705 eval value=\"\$LIB$uppername\"
28706 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28707 eval value=\"\$LTLIB$uppername\"
28708 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28709 else
28710 :
28711 fi
28712 else
28713 found_dir=
28714 found_la=
28715 found_so=
28716 found_a=
28717 if test $use_additional = yes; then
28718 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28719 found_dir="$additional_libdir"
28720 found_so="$additional_libdir/lib$name.$shlibext"
28721 if test -f "$additional_libdir/lib$name.la"; then
28722 found_la="$additional_libdir/lib$name.la"
28723 fi
28724 else
28725 if test -f "$additional_libdir/lib$name.$libext"; then
28726 found_dir="$additional_libdir"
28727 found_a="$additional_libdir/lib$name.$libext"
28728 if test -f "$additional_libdir/lib$name.la"; then
28729 found_la="$additional_libdir/lib$name.la"
28730 fi
28731 fi
28732 fi
28733 fi
28734 if test "X$found_dir" = "X"; then
28735 for x in $LDFLAGS $LTLIBICONV; do
28736
28737 acl_save_prefix="$prefix"
28738 prefix="$acl_final_prefix"
28739 acl_save_exec_prefix="$exec_prefix"
28740 exec_prefix="$acl_final_exec_prefix"
28741 eval x=\"$x\"
28742 exec_prefix="$acl_save_exec_prefix"
28743 prefix="$acl_save_prefix"
28744
28745 case "$x" in
28746 -L*)
28747 dir=`echo "X$x" | sed -e 's/^X-L//'`
28748 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28749 found_dir="$dir"
28750 found_so="$dir/lib$name.$shlibext"
28751 if test -f "$dir/lib$name.la"; then
28752 found_la="$dir/lib$name.la"
28753 fi
28754 else
28755 if test -f "$dir/lib$name.$libext"; then
28756 found_dir="$dir"
28757 found_a="$dir/lib$name.$libext"
28758 if test -f "$dir/lib$name.la"; then
28759 found_la="$dir/lib$name.la"
28760 fi
28761 fi
28762 fi
28763 ;;
28764 esac
28765 if test "X$found_dir" != "X"; then
28766 break
28767 fi
28768 done
28769 fi
28770 if test "X$found_dir" != "X"; then
28771 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28772 if test "X$found_so" != "X"; then
28773 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28774 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28775 else
28776 haveit=
28777 for x in $ltrpathdirs; do
28778 if test "X$x" = "X$found_dir"; then
28779 haveit=yes
28780 break
28781 fi
28782 done
28783 if test -z "$haveit"; then
28784 ltrpathdirs="$ltrpathdirs $found_dir"
28785 fi
28786 if test "$hardcode_direct" = yes; then
28787 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28788 else
28789 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28790 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28791 haveit=
28792 for x in $rpathdirs; do
28793 if test "X$x" = "X$found_dir"; then
28794 haveit=yes
28795 break
28796 fi
28797 done
28798 if test -z "$haveit"; then
28799 rpathdirs="$rpathdirs $found_dir"
28800 fi
28801 else
28802 haveit=
28803 for x in $LDFLAGS $LIBICONV; do
28804
28805 acl_save_prefix="$prefix"
28806 prefix="$acl_final_prefix"
28807 acl_save_exec_prefix="$exec_prefix"
28808 exec_prefix="$acl_final_exec_prefix"
28809 eval x=\"$x\"
28810 exec_prefix="$acl_save_exec_prefix"
28811 prefix="$acl_save_prefix"
28812
28813 if test "X$x" = "X-L$found_dir"; then
28814 haveit=yes
28815 break
28816 fi
28817 done
28818 if test -z "$haveit"; then
28819 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28820 fi
28821 if test "$hardcode_minus_L" != no; then
28822 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28823 else
28824 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28825 fi
28826 fi
28827 fi
28828 fi
28829 else
28830 if test "X$found_a" != "X"; then
28831 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28832 else
28833 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28834 fi
28835 fi
28836 additional_includedir=
28837 case "$found_dir" in
28838 */lib | */lib/)
28839 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28840 additional_includedir="$basedir/include"
28841 ;;
28842 esac
28843 if test "X$additional_includedir" != "X"; then
28844 if test "X$additional_includedir" != "X/usr/include"; then
28845 haveit=
28846 if test "X$additional_includedir" = "X/usr/local/include"; then
28847 if test -n "$GCC"; then
28848 case $host_os in
28849 linux*) haveit=yes;;
28850 esac
28851 fi
28852 fi
28853 if test -z "$haveit"; then
28854 for x in $CPPFLAGS $INCICONV; do
28855
28856 acl_save_prefix="$prefix"
28857 prefix="$acl_final_prefix"
28858 acl_save_exec_prefix="$exec_prefix"
28859 exec_prefix="$acl_final_exec_prefix"
28860 eval x=\"$x\"
28861 exec_prefix="$acl_save_exec_prefix"
28862 prefix="$acl_save_prefix"
28863
28864 if test "X$x" = "X-I$additional_includedir"; then
28865 haveit=yes
28866 break
28867 fi
28868 done
28869 if test -z "$haveit"; then
28870 if test -d "$additional_includedir"; then
28871 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28872 fi
28873 fi
28874 fi
28875 fi
28876 fi
28877 if test -n "$found_la"; then
28878 save_libdir="$libdir"
28879 case "$found_la" in
28880 */* | *\\*) . "$found_la" ;;
28881 *) . "./$found_la" ;;
28882 esac
28883 libdir="$save_libdir"
28884 for dep in $dependency_libs; do
28885 case "$dep" in
28886 -L*)
28887 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28888 if test "X$additional_libdir" != "X/usr/lib"; then
28889 haveit=
28890 if test "X$additional_libdir" = "X/usr/local/lib"; then
28891 if test -n "$GCC"; then
28892 case $host_os in
28893 linux*) haveit=yes;;
28894 esac
28895 fi
28896 fi
28897 if test -z "$haveit"; then
28898 haveit=
28899 for x in $LDFLAGS $LIBICONV; do
28900
28901 acl_save_prefix="$prefix"
28902 prefix="$acl_final_prefix"
28903 acl_save_exec_prefix="$exec_prefix"
28904 exec_prefix="$acl_final_exec_prefix"
28905 eval x=\"$x\"
28906 exec_prefix="$acl_save_exec_prefix"
28907 prefix="$acl_save_prefix"
28908
28909 if test "X$x" = "X-L$additional_libdir"; then
28910 haveit=yes
28911 break
28912 fi
28913 done
28914 if test -z "$haveit"; then
28915 if test -d "$additional_libdir"; then
28916 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28917 fi
28918 fi
28919 haveit=
28920 for x in $LDFLAGS $LTLIBICONV; do
28921
28922 acl_save_prefix="$prefix"
28923 prefix="$acl_final_prefix"
28924 acl_save_exec_prefix="$exec_prefix"
28925 exec_prefix="$acl_final_exec_prefix"
28926 eval x=\"$x\"
28927 exec_prefix="$acl_save_exec_prefix"
28928 prefix="$acl_save_prefix"
28929
28930 if test "X$x" = "X-L$additional_libdir"; then
28931 haveit=yes
28932 break
28933 fi
28934 done
28935 if test -z "$haveit"; then
28936 if test -d "$additional_libdir"; then
28937 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28938 fi
28939 fi
28940 fi
28941 fi
28942 ;;
28943 -R*)
28944 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28945 if test "$enable_rpath" != no; then
28946 haveit=
28947 for x in $rpathdirs; do
28948 if test "X$x" = "X$dir"; then
28949 haveit=yes
28950 break
28951 fi
28952 done
28953 if test -z "$haveit"; then
28954 rpathdirs="$rpathdirs $dir"
28955 fi
28956 haveit=
28957 for x in $ltrpathdirs; do
28958 if test "X$x" = "X$dir"; then
28959 haveit=yes
28960 break
28961 fi
28962 done
28963 if test -z "$haveit"; then
28964 ltrpathdirs="$ltrpathdirs $dir"
28965 fi
28966 fi
28967 ;;
28968 -l*)
28969 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28970 ;;
28971 *.la)
28972 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28973 ;;
28974 *)
28975 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28976 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28977 ;;
28978 esac
28979 done
28980 fi
28981 else
28982 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28983 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28984 fi
28985 fi
28986 fi
28987 done
28988 done
28989 if test "X$rpathdirs" != "X"; then
28990 if test -n "$hardcode_libdir_separator"; then
28991 alldirs=
28992 for found_dir in $rpathdirs; do
28993 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28994 done
28995 acl_save_libdir="$libdir"
28996 libdir="$alldirs"
28997 eval flag=\"$hardcode_libdir_flag_spec\"
28998 libdir="$acl_save_libdir"
28999 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29000 else
29001 for found_dir in $rpathdirs; do
29002 acl_save_libdir="$libdir"
29003 libdir="$found_dir"
29004 eval flag=\"$hardcode_libdir_flag_spec\"
29005 libdir="$acl_save_libdir"
29006 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
29007 done
29008 fi
29009 fi
29010 if test "X$ltrpathdirs" != "X"; then
29011 for found_dir in $ltrpathdirs; do
29012 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29013 done
29014 fi
29015
29016
29017
29018
29019
29020
29021
29022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29023 $as_echo_n "checking for iconv... " >&6; }
29024 if ${am_cv_func_iconv+:} false; then :
29025 $as_echo_n "(cached) " >&6
29026 else
29027
29028 am_cv_func_iconv="no, consider installing GNU libiconv"
29029 am_cv_lib_iconv=no
29030 am_save_CPPFLAGS="$CPPFLAGS"
29031 CPPFLAGS="$CPPFLAGS $INCICONV"
29032 if test x$gcc_no_link = xyes; then
29033 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29034 fi
29035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29036 /* end confdefs.h. */
29037 #include <stdlib.h>
29038 #include <iconv.h>
29039 int
29040 main ()
29041 {
29042 iconv_t cd = iconv_open("","");
29043 iconv(cd,NULL,NULL,NULL,NULL);
29044 iconv_close(cd);
29045 ;
29046 return 0;
29047 }
29048 _ACEOF
29049 if ac_fn_c_try_link "$LINENO"; then :
29050 am_cv_func_iconv=yes
29051 fi
29052 rm -f core conftest.err conftest.$ac_objext \
29053 conftest$ac_exeext conftest.$ac_ext
29054 CPPFLAGS="$am_save_CPPFLAGS"
29055
29056 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29057 for _libs in .libs _libs; do
29058 am_save_CPPFLAGS="$CPPFLAGS"
29059 am_save_LIBS="$LIBS"
29060 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29061 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29062 if test x$gcc_no_link = xyes; then
29063 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29064 fi
29065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29066 /* end confdefs.h. */
29067 #include <stdlib.h>
29068 #include <iconv.h>
29069 int
29070 main ()
29071 {
29072 iconv_t cd = iconv_open("","");
29073 iconv(cd,NULL,NULL,NULL,NULL);
29074 iconv_close(cd);
29075 ;
29076 return 0;
29077 }
29078 _ACEOF
29079 if ac_fn_c_try_link "$LINENO"; then :
29080 INCICONV="-I../libiconv/include"
29081 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29082 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29083 am_cv_lib_iconv=yes
29084 am_cv_func_iconv=yes
29085 fi
29086 rm -f core conftest.err conftest.$ac_objext \
29087 conftest$ac_exeext conftest.$ac_ext
29088 CPPFLAGS="$am_save_CPPFLAGS"
29089 LIBS="$am_save_LIBS"
29090 if test "$am_cv_func_iconv" = "yes"; then
29091 break
29092 fi
29093 done
29094 fi
29095
29096 if test "$am_cv_func_iconv" != yes; then
29097 am_save_CPPFLAGS="$CPPFLAGS"
29098 am_save_LIBS="$LIBS"
29099 CPPFLAGS="$CPPFLAGS $INCICONV"
29100 LIBS="$LIBS $LIBICONV"
29101 if test x$gcc_no_link = xyes; then
29102 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29103 fi
29104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29105 /* end confdefs.h. */
29106 #include <stdlib.h>
29107 #include <iconv.h>
29108 int
29109 main ()
29110 {
29111 iconv_t cd = iconv_open("","");
29112 iconv(cd,NULL,NULL,NULL,NULL);
29113 iconv_close(cd);
29114 ;
29115 return 0;
29116 }
29117 _ACEOF
29118 if ac_fn_c_try_link "$LINENO"; then :
29119 am_cv_lib_iconv=yes
29120 am_cv_func_iconv=yes
29121 fi
29122 rm -f core conftest.err conftest.$ac_objext \
29123 conftest$ac_exeext conftest.$ac_ext
29124 CPPFLAGS="$am_save_CPPFLAGS"
29125 LIBS="$am_save_LIBS"
29126 fi
29127
29128 fi
29129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29130 $as_echo "$am_cv_func_iconv" >&6; }
29131 if test "$am_cv_func_iconv" = yes; then
29132
29133 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29134
29135 fi
29136 if test "$am_cv_lib_iconv" = yes; then
29137
29138 for element in $INCICONV; do
29139 haveit=
29140 for x in $CPPFLAGS; do
29141
29142 acl_save_prefix="$prefix"
29143 prefix="$acl_final_prefix"
29144 acl_save_exec_prefix="$exec_prefix"
29145 exec_prefix="$acl_final_exec_prefix"
29146 eval x=\"$x\"
29147 exec_prefix="$acl_save_exec_prefix"
29148 prefix="$acl_save_prefix"
29149
29150 if test "X$x" = "X$element"; then
29151 haveit=yes
29152 break
29153 fi
29154 done
29155 if test -z "$haveit"; then
29156 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29157 fi
29158 done
29159
29160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29161 $as_echo_n "checking how to link with libiconv... " >&6; }
29162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29163 $as_echo "$LIBICONV" >&6; }
29164 else
29165 LIBICONV=
29166 LTLIBICONV=
29167 fi
29168
29169
29170
29171 if test "$am_cv_func_iconv" = yes; then
29172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29173 $as_echo_n "checking for iconv declaration... " >&6; }
29174 if ${am_cv_proto_iconv+:} false; then :
29175 $as_echo_n "(cached) " >&6
29176 else
29177
29178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29179 /* end confdefs.h. */
29180
29181 #include <stdlib.h>
29182 #include <iconv.h>
29183 extern
29184 #ifdef __cplusplus
29185 "C"
29186 #endif
29187 #if defined(__STDC__) || defined(__cplusplus)
29188 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29189 #else
29190 size_t iconv();
29191 #endif
29192
29193 int
29194 main ()
29195 {
29196
29197 ;
29198 return 0;
29199 }
29200 _ACEOF
29201 if ac_fn_c_try_compile "$LINENO"; then :
29202 am_cv_proto_iconv_arg1=""
29203 else
29204 am_cv_proto_iconv_arg1="const"
29205 fi
29206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29207 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);"
29208 fi
29209
29210 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29212 }$am_cv_proto_iconv" >&5
29213 $as_echo "${ac_t:-
29214 }$am_cv_proto_iconv" >&6; }
29215
29216 cat >>confdefs.h <<_ACEOF
29217 #define ICONV_CONST $am_cv_proto_iconv_arg1
29218 _ACEOF
29219
29220 fi
29221
29222
29223 else
29224
29225 # This lets us hard-code the functionality we know we'll have in the cross
29226 # target environment. "Let" is a sugar-coated word placed on an especially
29227 # dull and tedious hack, actually.
29228 #
29229 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29230 # that involve linking, can't be used:
29231 # "cannot open sim-crt0.o"
29232 # "cannot open crt0.o"
29233 # etc. All this is because there currently exists no unified, consistent
29234 # way for top level CC information to be passed down to target directories:
29235 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29236 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29237 # crosses can be removed.
29238
29239 # If Canadian cross, then don't pick up tools from the build directory.
29240 # Used only in GLIBCXX_EXPORT_INCLUDES.
29241 if test -n "$with_cross_host" &&
29242 test x"$build_alias" != x"$with_cross_host" &&
29243 test x"$build" != x"$target";
29244 then
29245 CANADIAN=yes
29246 else
29247 CANADIAN=no
29248 fi
29249
29250 # Construct crosses by hand, eliminating bits that need ld...
29251 # GLIBCXX_CHECK_MATH_SUPPORT
29252
29253 # First, test for "known" system libraries. We may be using newlib even
29254 # on a hosted environment.
29255 if test "x${with_newlib}" = "xyes"; then
29256 os_include_dir="os/newlib"
29257 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29258
29259
29260 # GLIBCXX_CHECK_STDLIB_SUPPORT
29261 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29262
29263
29264 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29265
29266 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29267
29268 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29269
29270 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29271
29272 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29273
29274 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29275
29276 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29277
29278 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29279
29280 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29281
29282 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29283
29284 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29285
29286 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29287
29288 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29289
29290 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29291
29292 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29293
29294 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29295
29296 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29297
29298 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29299
29300 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29301
29302 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29303
29304 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29305
29306 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29307
29308
29309 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29310
29311 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29312
29313 else
29314
29315 # Base decisions on target environment.
29316 case "${host}" in
29317 arm*-*-symbianelf*)
29318 # This is a freestanding configuration; there is nothing to do here.
29319 ;;
29320
29321 avr*-*-*)
29322 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29323
29324 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29325
29326 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29327
29328 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29329
29330 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29331
29332 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29333
29334 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29335
29336 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29337
29338 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29339
29340 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29341
29342 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29343
29344 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29345
29346 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29347
29348 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29349
29350 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29351
29352 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29353
29354 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29355
29356 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29357
29358 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29359
29360 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29361
29362 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29363
29364 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29365
29366 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29367
29368 ;;
29369
29370 mips*-sde-elf*)
29371 # These definitions are for the SDE C library rather than newlib.
29372 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29373
29374
29375 # All these tests are for C++; save the language and the compiler flags.
29376 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29377 # found in GLIBCXX_CONFIGURE.
29378
29379 ac_ext=cpp
29380 ac_cpp='$CXXCPP $CPPFLAGS'
29381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29384
29385 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29386 ac_save_CXXFLAGS="$CXXFLAGS"
29387
29388 # Check for -ffunction-sections -fdata-sections
29389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29390 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29391 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29393 /* end confdefs.h. */
29394 int foo; void bar() { };
29395 int
29396 main ()
29397 {
29398
29399 ;
29400 return 0;
29401 }
29402 _ACEOF
29403 if ac_fn_cxx_try_compile "$LINENO"; then :
29404 ac_fdsections=yes
29405 else
29406 ac_fdsections=no
29407 fi
29408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29409 if test "$ac_test_CXXFLAGS" = set; then
29410 CXXFLAGS="$ac_save_CXXFLAGS"
29411 else
29412 # this is the suspicious part
29413 CXXFLAGS=''
29414 fi
29415 if test x"$ac_fdsections" = x"yes"; then
29416 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29417 fi
29418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29419 $as_echo "$ac_fdsections" >&6; }
29420
29421 ac_ext=c
29422 ac_cpp='$CPP $CPPFLAGS'
29423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29426
29427
29428
29429
29430 # If we're not using GNU ld, then there's no point in even trying these
29431 # tests. Check for that first. We should have already tested for gld
29432 # by now (in libtool), but require it now just to be safe...
29433 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29434 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29435
29436
29437
29438 # The name set by libtool depends on the version of libtool. Shame on us
29439 # for depending on an impl detail, but c'est la vie. Older versions used
29440 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29441 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29442 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29443 # set (hence we're using an older libtool), then set it.
29444 if test x${with_gnu_ld+set} != xset; then
29445 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29446 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29447 with_gnu_ld=no
29448 else
29449 with_gnu_ld=$ac_cv_prog_gnu_ld
29450 fi
29451 fi
29452
29453 # Start by getting the version number. I think the libtool test already
29454 # does some of this, but throws away the result.
29455 glibcxx_ld_is_gold=no
29456 if test x"$with_gnu_ld" = x"yes"; then
29457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29458 $as_echo_n "checking for ld version... " >&6; }
29459
29460 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29461 glibcxx_ld_is_gold=yes
29462 fi
29463 ldver=`$LD --version 2>/dev/null |
29464 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'`
29465
29466 glibcxx_gnu_ld_version=`echo $ldver | \
29467 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29469 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29470 fi
29471
29472 # Set --gc-sections.
29473 glibcxx_have_gc_sections=no
29474 if test "$glibcxx_ld_is_gold" = "yes"; then
29475 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29476 glibcxx_have_gc_sections=yes
29477 fi
29478 else
29479 glibcxx_gcsections_min_ld=21602
29480 if test x"$with_gnu_ld" = x"yes" &&
29481 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29482 glibcxx_have_gc_sections=yes
29483 fi
29484 fi
29485 if test "$glibcxx_have_gc_sections" = "yes"; then
29486 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29487 # NB: This flag only works reliably after 2.16.1. Configure tests
29488 # for this are difficult, so hard wire a value that should work.
29489
29490 ac_test_CFLAGS="${CFLAGS+set}"
29491 ac_save_CFLAGS="$CFLAGS"
29492 CFLAGS='-Wl,--gc-sections'
29493
29494 # Check for -Wl,--gc-sections
29495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29496 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29497 if test x$gcc_no_link = xyes; then
29498 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29499 fi
29500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29501 /* end confdefs.h. */
29502 int one(void) { return 1; }
29503 int two(void) { return 2; }
29504
29505 int
29506 main ()
29507 {
29508 two();
29509 ;
29510 return 0;
29511 }
29512 _ACEOF
29513 if ac_fn_c_try_link "$LINENO"; then :
29514 ac_gcsections=yes
29515 else
29516 ac_gcsections=no
29517 fi
29518 rm -f core conftest.err conftest.$ac_objext \
29519 conftest$ac_exeext conftest.$ac_ext
29520 if test "$ac_gcsections" = "yes"; then
29521 rm -f conftest.c
29522 touch conftest.c
29523 if $CC -c conftest.c; then
29524 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29525 grep "Warning: gc-sections option ignored" > /dev/null; then
29526 ac_gcsections=no
29527 fi
29528 fi
29529 rm -f conftest.c conftest.o conftest
29530 fi
29531 if test "$ac_gcsections" = "yes"; then
29532 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29533 fi
29534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29535 $as_echo "$ac_gcsections" >&6; }
29536
29537 if test "$ac_test_CFLAGS" = set; then
29538 CFLAGS="$ac_save_CFLAGS"
29539 else
29540 # this is the suspicious part
29541 CFLAGS=''
29542 fi
29543 fi
29544
29545 # Set -z,relro.
29546 # Note this is only for shared objects.
29547 ac_ld_relro=no
29548 if test x"$with_gnu_ld" = x"yes"; then
29549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29550 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29551 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29552 if test -n "$cxx_z_relo"; then
29553 OPT_LDFLAGS="-Wl,-z,relro"
29554 ac_ld_relro=yes
29555 fi
29556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29557 $as_echo "$ac_ld_relro" >&6; }
29558 fi
29559
29560 # Set linker optimization flags.
29561 if test x"$with_gnu_ld" = x"yes"; then
29562 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29563 fi
29564
29565
29566
29567
29568
29569 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29570 ac_save_CXXFLAGS="$CXXFLAGS"
29571 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29572
29573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29574 $as_echo_n "checking for sin in -lm... " >&6; }
29575 if ${ac_cv_lib_m_sin+:} false; then :
29576 $as_echo_n "(cached) " >&6
29577 else
29578 ac_check_lib_save_LIBS=$LIBS
29579 LIBS="-lm $LIBS"
29580 if test x$gcc_no_link = xyes; then
29581 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29582 fi
29583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29584 /* end confdefs.h. */
29585
29586 /* Override any GCC internal prototype to avoid an error.
29587 Use char because int might match the return type of a GCC
29588 builtin and then its argument prototype would still apply. */
29589 #ifdef __cplusplus
29590 extern "C"
29591 #endif
29592 char sin ();
29593 int
29594 main ()
29595 {
29596 return sin ();
29597 ;
29598 return 0;
29599 }
29600 _ACEOF
29601 if ac_fn_c_try_link "$LINENO"; then :
29602 ac_cv_lib_m_sin=yes
29603 else
29604 ac_cv_lib_m_sin=no
29605 fi
29606 rm -f core conftest.err conftest.$ac_objext \
29607 conftest$ac_exeext conftest.$ac_ext
29608 LIBS=$ac_check_lib_save_LIBS
29609 fi
29610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29611 $as_echo "$ac_cv_lib_m_sin" >&6; }
29612 if test "x$ac_cv_lib_m_sin" = xyes; then :
29613 libm="-lm"
29614 fi
29615
29616 ac_save_LIBS="$LIBS"
29617 LIBS="$LIBS $libm"
29618
29619
29620
29621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29622 $as_echo_n "checking for isinf declaration... " >&6; }
29623 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29624 if ${glibcxx_cv_func_isinf_use+:} false; then :
29625 $as_echo_n "(cached) " >&6
29626 else
29627
29628
29629 ac_ext=cpp
29630 ac_cpp='$CXXCPP $CPPFLAGS'
29631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29634
29635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29636 /* end confdefs.h. */
29637 #include <math.h>
29638 #ifdef HAVE_IEEEFP_H
29639 #include <ieeefp.h>
29640 #endif
29641
29642 int
29643 main ()
29644 {
29645 isinf(0);
29646 ;
29647 return 0;
29648 }
29649 _ACEOF
29650 if ac_fn_cxx_try_compile "$LINENO"; then :
29651 glibcxx_cv_func_isinf_use=yes
29652 else
29653 glibcxx_cv_func_isinf_use=no
29654 fi
29655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29656 ac_ext=c
29657 ac_cpp='$CPP $CPPFLAGS'
29658 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29659 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29660 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29661
29662
29663 fi
29664
29665 fi
29666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29667 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29668
29669 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29670 for ac_func in isinf
29671 do :
29672 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29673 if test "x$ac_cv_func_isinf" = xyes; then :
29674 cat >>confdefs.h <<_ACEOF
29675 #define HAVE_ISINF 1
29676 _ACEOF
29677
29678 fi
29679 done
29680
29681 else
29682
29683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29684 $as_echo_n "checking for _isinf declaration... " >&6; }
29685 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29686 if ${glibcxx_cv_func__isinf_use+:} false; then :
29687 $as_echo_n "(cached) " >&6
29688 else
29689
29690
29691 ac_ext=cpp
29692 ac_cpp='$CXXCPP $CPPFLAGS'
29693 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29694 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29695 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29696
29697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29698 /* end confdefs.h. */
29699 #include <math.h>
29700 #ifdef HAVE_IEEEFP_H
29701 #include <ieeefp.h>
29702 #endif
29703
29704 int
29705 main ()
29706 {
29707 _isinf(0);
29708 ;
29709 return 0;
29710 }
29711 _ACEOF
29712 if ac_fn_cxx_try_compile "$LINENO"; then :
29713 glibcxx_cv_func__isinf_use=yes
29714 else
29715 glibcxx_cv_func__isinf_use=no
29716 fi
29717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29718 ac_ext=c
29719 ac_cpp='$CPP $CPPFLAGS'
29720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29723
29724
29725 fi
29726
29727 fi
29728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29729 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29730
29731 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29732 for ac_func in _isinf
29733 do :
29734 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29735 if test "x$ac_cv_func__isinf" = xyes; then :
29736 cat >>confdefs.h <<_ACEOF
29737 #define HAVE__ISINF 1
29738 _ACEOF
29739
29740 fi
29741 done
29742
29743 fi
29744 fi
29745
29746
29747
29748
29749
29750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29751 $as_echo_n "checking for isnan declaration... " >&6; }
29752 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29753 if ${glibcxx_cv_func_isnan_use+:} false; then :
29754 $as_echo_n "(cached) " >&6
29755 else
29756
29757
29758 ac_ext=cpp
29759 ac_cpp='$CXXCPP $CPPFLAGS'
29760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29763
29764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29765 /* end confdefs.h. */
29766 #include <math.h>
29767 #ifdef HAVE_IEEEFP_H
29768 #include <ieeefp.h>
29769 #endif
29770
29771 int
29772 main ()
29773 {
29774 isnan(0);
29775 ;
29776 return 0;
29777 }
29778 _ACEOF
29779 if ac_fn_cxx_try_compile "$LINENO"; then :
29780 glibcxx_cv_func_isnan_use=yes
29781 else
29782 glibcxx_cv_func_isnan_use=no
29783 fi
29784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29785 ac_ext=c
29786 ac_cpp='$CPP $CPPFLAGS'
29787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29790
29791
29792 fi
29793
29794 fi
29795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29796 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29797
29798 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29799 for ac_func in isnan
29800 do :
29801 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29802 if test "x$ac_cv_func_isnan" = xyes; then :
29803 cat >>confdefs.h <<_ACEOF
29804 #define HAVE_ISNAN 1
29805 _ACEOF
29806
29807 fi
29808 done
29809
29810 else
29811
29812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29813 $as_echo_n "checking for _isnan declaration... " >&6; }
29814 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29815 if ${glibcxx_cv_func__isnan_use+:} false; then :
29816 $as_echo_n "(cached) " >&6
29817 else
29818
29819
29820 ac_ext=cpp
29821 ac_cpp='$CXXCPP $CPPFLAGS'
29822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29825
29826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29827 /* end confdefs.h. */
29828 #include <math.h>
29829 #ifdef HAVE_IEEEFP_H
29830 #include <ieeefp.h>
29831 #endif
29832
29833 int
29834 main ()
29835 {
29836 _isnan(0);
29837 ;
29838 return 0;
29839 }
29840 _ACEOF
29841 if ac_fn_cxx_try_compile "$LINENO"; then :
29842 glibcxx_cv_func__isnan_use=yes
29843 else
29844 glibcxx_cv_func__isnan_use=no
29845 fi
29846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29847 ac_ext=c
29848 ac_cpp='$CPP $CPPFLAGS'
29849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29852
29853
29854 fi
29855
29856 fi
29857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29858 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29859
29860 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29861 for ac_func in _isnan
29862 do :
29863 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29864 if test "x$ac_cv_func__isnan" = xyes; then :
29865 cat >>confdefs.h <<_ACEOF
29866 #define HAVE__ISNAN 1
29867 _ACEOF
29868
29869 fi
29870 done
29871
29872 fi
29873 fi
29874
29875
29876
29877
29878
29879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29880 $as_echo_n "checking for finite declaration... " >&6; }
29881 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29882 if ${glibcxx_cv_func_finite_use+:} false; then :
29883 $as_echo_n "(cached) " >&6
29884 else
29885
29886
29887 ac_ext=cpp
29888 ac_cpp='$CXXCPP $CPPFLAGS'
29889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29892
29893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29894 /* end confdefs.h. */
29895 #include <math.h>
29896 #ifdef HAVE_IEEEFP_H
29897 #include <ieeefp.h>
29898 #endif
29899
29900 int
29901 main ()
29902 {
29903 finite(0);
29904 ;
29905 return 0;
29906 }
29907 _ACEOF
29908 if ac_fn_cxx_try_compile "$LINENO"; then :
29909 glibcxx_cv_func_finite_use=yes
29910 else
29911 glibcxx_cv_func_finite_use=no
29912 fi
29913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29914 ac_ext=c
29915 ac_cpp='$CPP $CPPFLAGS'
29916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29919
29920
29921 fi
29922
29923 fi
29924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29925 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29926
29927 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29928 for ac_func in finite
29929 do :
29930 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29931 if test "x$ac_cv_func_finite" = xyes; then :
29932 cat >>confdefs.h <<_ACEOF
29933 #define HAVE_FINITE 1
29934 _ACEOF
29935
29936 fi
29937 done
29938
29939 else
29940
29941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29942 $as_echo_n "checking for _finite declaration... " >&6; }
29943 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29944 if ${glibcxx_cv_func__finite_use+:} false; then :
29945 $as_echo_n "(cached) " >&6
29946 else
29947
29948
29949 ac_ext=cpp
29950 ac_cpp='$CXXCPP $CPPFLAGS'
29951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29954
29955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29956 /* end confdefs.h. */
29957 #include <math.h>
29958 #ifdef HAVE_IEEEFP_H
29959 #include <ieeefp.h>
29960 #endif
29961
29962 int
29963 main ()
29964 {
29965 _finite(0);
29966 ;
29967 return 0;
29968 }
29969 _ACEOF
29970 if ac_fn_cxx_try_compile "$LINENO"; then :
29971 glibcxx_cv_func__finite_use=yes
29972 else
29973 glibcxx_cv_func__finite_use=no
29974 fi
29975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29976 ac_ext=c
29977 ac_cpp='$CPP $CPPFLAGS'
29978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29981
29982
29983 fi
29984
29985 fi
29986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29987 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29988
29989 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29990 for ac_func in _finite
29991 do :
29992 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29993 if test "x$ac_cv_func__finite" = xyes; then :
29994 cat >>confdefs.h <<_ACEOF
29995 #define HAVE__FINITE 1
29996 _ACEOF
29997
29998 fi
29999 done
30000
30001 fi
30002 fi
30003
30004
30005
30006
30007
30008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
30009 $as_echo_n "checking for sincos declaration... " >&6; }
30010 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
30011 if ${glibcxx_cv_func_sincos_use+:} false; then :
30012 $as_echo_n "(cached) " >&6
30013 else
30014
30015
30016 ac_ext=cpp
30017 ac_cpp='$CXXCPP $CPPFLAGS'
30018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30021
30022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30023 /* end confdefs.h. */
30024 #include <math.h>
30025 int
30026 main ()
30027 {
30028 sincos(0, 0, 0);
30029 ;
30030 return 0;
30031 }
30032 _ACEOF
30033 if ac_fn_cxx_try_compile "$LINENO"; then :
30034 glibcxx_cv_func_sincos_use=yes
30035 else
30036 glibcxx_cv_func_sincos_use=no
30037 fi
30038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30039 ac_ext=c
30040 ac_cpp='$CPP $CPPFLAGS'
30041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30044
30045
30046 fi
30047
30048 fi
30049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30050 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30051
30052 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30053 for ac_func in sincos
30054 do :
30055 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30056 if test "x$ac_cv_func_sincos" = xyes; then :
30057 cat >>confdefs.h <<_ACEOF
30058 #define HAVE_SINCOS 1
30059 _ACEOF
30060
30061 fi
30062 done
30063
30064 else
30065
30066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30067 $as_echo_n "checking for _sincos declaration... " >&6; }
30068 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30069 if ${glibcxx_cv_func__sincos_use+:} false; then :
30070 $as_echo_n "(cached) " >&6
30071 else
30072
30073
30074 ac_ext=cpp
30075 ac_cpp='$CXXCPP $CPPFLAGS'
30076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30079
30080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30081 /* end confdefs.h. */
30082 #include <math.h>
30083 int
30084 main ()
30085 {
30086 _sincos(0, 0, 0);
30087 ;
30088 return 0;
30089 }
30090 _ACEOF
30091 if ac_fn_cxx_try_compile "$LINENO"; then :
30092 glibcxx_cv_func__sincos_use=yes
30093 else
30094 glibcxx_cv_func__sincos_use=no
30095 fi
30096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30097 ac_ext=c
30098 ac_cpp='$CPP $CPPFLAGS'
30099 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30100 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30101 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30102
30103
30104 fi
30105
30106 fi
30107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30108 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30109
30110 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30111 for ac_func in _sincos
30112 do :
30113 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30114 if test "x$ac_cv_func__sincos" = xyes; then :
30115 cat >>confdefs.h <<_ACEOF
30116 #define HAVE__SINCOS 1
30117 _ACEOF
30118
30119 fi
30120 done
30121
30122 fi
30123 fi
30124
30125
30126
30127
30128
30129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30130 $as_echo_n "checking for fpclass declaration... " >&6; }
30131 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30132 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30133 $as_echo_n "(cached) " >&6
30134 else
30135
30136
30137 ac_ext=cpp
30138 ac_cpp='$CXXCPP $CPPFLAGS'
30139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30142
30143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30144 /* end confdefs.h. */
30145 #include <math.h>
30146 #ifdef HAVE_IEEEFP_H
30147 #include <ieeefp.h>
30148 #endif
30149
30150 int
30151 main ()
30152 {
30153 fpclass(0);
30154 ;
30155 return 0;
30156 }
30157 _ACEOF
30158 if ac_fn_cxx_try_compile "$LINENO"; then :
30159 glibcxx_cv_func_fpclass_use=yes
30160 else
30161 glibcxx_cv_func_fpclass_use=no
30162 fi
30163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30164 ac_ext=c
30165 ac_cpp='$CPP $CPPFLAGS'
30166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30169
30170
30171 fi
30172
30173 fi
30174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30175 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30176
30177 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30178 for ac_func in fpclass
30179 do :
30180 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30181 if test "x$ac_cv_func_fpclass" = xyes; then :
30182 cat >>confdefs.h <<_ACEOF
30183 #define HAVE_FPCLASS 1
30184 _ACEOF
30185
30186 fi
30187 done
30188
30189 else
30190
30191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30192 $as_echo_n "checking for _fpclass declaration... " >&6; }
30193 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30194 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30195 $as_echo_n "(cached) " >&6
30196 else
30197
30198
30199 ac_ext=cpp
30200 ac_cpp='$CXXCPP $CPPFLAGS'
30201 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30202 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30203 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30204
30205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30206 /* end confdefs.h. */
30207 #include <math.h>
30208 #ifdef HAVE_IEEEFP_H
30209 #include <ieeefp.h>
30210 #endif
30211
30212 int
30213 main ()
30214 {
30215 _fpclass(0);
30216 ;
30217 return 0;
30218 }
30219 _ACEOF
30220 if ac_fn_cxx_try_compile "$LINENO"; then :
30221 glibcxx_cv_func__fpclass_use=yes
30222 else
30223 glibcxx_cv_func__fpclass_use=no
30224 fi
30225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30226 ac_ext=c
30227 ac_cpp='$CPP $CPPFLAGS'
30228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30231
30232
30233 fi
30234
30235 fi
30236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30237 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30238
30239 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30240 for ac_func in _fpclass
30241 do :
30242 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30243 if test "x$ac_cv_func__fpclass" = xyes; then :
30244 cat >>confdefs.h <<_ACEOF
30245 #define HAVE__FPCLASS 1
30246 _ACEOF
30247
30248 fi
30249 done
30250
30251 fi
30252 fi
30253
30254
30255
30256
30257
30258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30259 $as_echo_n "checking for qfpclass declaration... " >&6; }
30260 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30261 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30262 $as_echo_n "(cached) " >&6
30263 else
30264
30265
30266 ac_ext=cpp
30267 ac_cpp='$CXXCPP $CPPFLAGS'
30268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30271
30272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30273 /* end confdefs.h. */
30274 #include <math.h>
30275 #ifdef HAVE_IEEEFP_H
30276 #include <ieeefp.h>
30277 #endif
30278
30279 int
30280 main ()
30281 {
30282 qfpclass(0);
30283 ;
30284 return 0;
30285 }
30286 _ACEOF
30287 if ac_fn_cxx_try_compile "$LINENO"; then :
30288 glibcxx_cv_func_qfpclass_use=yes
30289 else
30290 glibcxx_cv_func_qfpclass_use=no
30291 fi
30292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30293 ac_ext=c
30294 ac_cpp='$CPP $CPPFLAGS'
30295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30298
30299
30300 fi
30301
30302 fi
30303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30304 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30305
30306 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30307 for ac_func in qfpclass
30308 do :
30309 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30310 if test "x$ac_cv_func_qfpclass" = xyes; then :
30311 cat >>confdefs.h <<_ACEOF
30312 #define HAVE_QFPCLASS 1
30313 _ACEOF
30314
30315 fi
30316 done
30317
30318 else
30319
30320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30321 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30322 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30323 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30324 $as_echo_n "(cached) " >&6
30325 else
30326
30327
30328 ac_ext=cpp
30329 ac_cpp='$CXXCPP $CPPFLAGS'
30330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30333
30334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30335 /* end confdefs.h. */
30336 #include <math.h>
30337 #ifdef HAVE_IEEEFP_H
30338 #include <ieeefp.h>
30339 #endif
30340
30341 int
30342 main ()
30343 {
30344 _qfpclass(0);
30345 ;
30346 return 0;
30347 }
30348 _ACEOF
30349 if ac_fn_cxx_try_compile "$LINENO"; then :
30350 glibcxx_cv_func__qfpclass_use=yes
30351 else
30352 glibcxx_cv_func__qfpclass_use=no
30353 fi
30354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30355 ac_ext=c
30356 ac_cpp='$CPP $CPPFLAGS'
30357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30360
30361
30362 fi
30363
30364 fi
30365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30366 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30367
30368 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30369 for ac_func in _qfpclass
30370 do :
30371 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30372 if test "x$ac_cv_func__qfpclass" = xyes; then :
30373 cat >>confdefs.h <<_ACEOF
30374 #define HAVE__QFPCLASS 1
30375 _ACEOF
30376
30377 fi
30378 done
30379
30380 fi
30381 fi
30382
30383
30384
30385
30386
30387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30388 $as_echo_n "checking for hypot declaration... " >&6; }
30389 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30390 if ${glibcxx_cv_func_hypot_use+:} false; then :
30391 $as_echo_n "(cached) " >&6
30392 else
30393
30394
30395 ac_ext=cpp
30396 ac_cpp='$CXXCPP $CPPFLAGS'
30397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30400
30401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30402 /* end confdefs.h. */
30403 #include <math.h>
30404 int
30405 main ()
30406 {
30407 hypot(0, 0);
30408 ;
30409 return 0;
30410 }
30411 _ACEOF
30412 if ac_fn_cxx_try_compile "$LINENO"; then :
30413 glibcxx_cv_func_hypot_use=yes
30414 else
30415 glibcxx_cv_func_hypot_use=no
30416 fi
30417 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30418 ac_ext=c
30419 ac_cpp='$CPP $CPPFLAGS'
30420 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30421 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30422 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30423
30424
30425 fi
30426
30427 fi
30428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30429 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30430
30431 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30432 for ac_func in hypot
30433 do :
30434 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30435 if test "x$ac_cv_func_hypot" = xyes; then :
30436 cat >>confdefs.h <<_ACEOF
30437 #define HAVE_HYPOT 1
30438 _ACEOF
30439
30440 fi
30441 done
30442
30443 else
30444
30445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30446 $as_echo_n "checking for _hypot declaration... " >&6; }
30447 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30448 if ${glibcxx_cv_func__hypot_use+:} false; then :
30449 $as_echo_n "(cached) " >&6
30450 else
30451
30452
30453 ac_ext=cpp
30454 ac_cpp='$CXXCPP $CPPFLAGS'
30455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30458
30459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30460 /* end confdefs.h. */
30461 #include <math.h>
30462 int
30463 main ()
30464 {
30465 _hypot(0, 0);
30466 ;
30467 return 0;
30468 }
30469 _ACEOF
30470 if ac_fn_cxx_try_compile "$LINENO"; then :
30471 glibcxx_cv_func__hypot_use=yes
30472 else
30473 glibcxx_cv_func__hypot_use=no
30474 fi
30475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30476 ac_ext=c
30477 ac_cpp='$CPP $CPPFLAGS'
30478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30481
30482
30483 fi
30484
30485 fi
30486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30487 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30488
30489 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30490 for ac_func in _hypot
30491 do :
30492 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30493 if test "x$ac_cv_func__hypot" = xyes; then :
30494 cat >>confdefs.h <<_ACEOF
30495 #define HAVE__HYPOT 1
30496 _ACEOF
30497
30498 fi
30499 done
30500
30501 fi
30502 fi
30503
30504
30505
30506
30507
30508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30509 $as_echo_n "checking for float trig functions... " >&6; }
30510 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30511 $as_echo_n "(cached) " >&6
30512 else
30513
30514
30515 ac_ext=cpp
30516 ac_cpp='$CXXCPP $CPPFLAGS'
30517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30520
30521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30522 /* end confdefs.h. */
30523 #include <math.h>
30524 int
30525 main ()
30526 {
30527 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30528 ;
30529 return 0;
30530 }
30531 _ACEOF
30532 if ac_fn_cxx_try_compile "$LINENO"; then :
30533 glibcxx_cv_func_float_trig_use=yes
30534 else
30535 glibcxx_cv_func_float_trig_use=no
30536 fi
30537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30538 ac_ext=c
30539 ac_cpp='$CPP $CPPFLAGS'
30540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30543
30544 fi
30545
30546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30547 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30548 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30549 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30550 do :
30551 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30552 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30553 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30554 cat >>confdefs.h <<_ACEOF
30555 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30556 _ACEOF
30557
30558 fi
30559 done
30560
30561 else
30562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30563 $as_echo_n "checking for _float trig functions... " >&6; }
30564 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30565 $as_echo_n "(cached) " >&6
30566 else
30567
30568
30569 ac_ext=cpp
30570 ac_cpp='$CXXCPP $CPPFLAGS'
30571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30574
30575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30576 /* end confdefs.h. */
30577 #include <math.h>
30578 int
30579 main ()
30580 {
30581 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30582 ;
30583 return 0;
30584 }
30585 _ACEOF
30586 if ac_fn_cxx_try_compile "$LINENO"; then :
30587 glibcxx_cv_func__float_trig_use=yes
30588 else
30589 glibcxx_cv_func__float_trig_use=no
30590 fi
30591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30592 ac_ext=c
30593 ac_cpp='$CPP $CPPFLAGS'
30594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30597
30598 fi
30599
30600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30601 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30602 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30603 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30604 do :
30605 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30606 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30607 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30608 cat >>confdefs.h <<_ACEOF
30609 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30610 _ACEOF
30611
30612 fi
30613 done
30614
30615 fi
30616 fi
30617
30618
30619
30620
30621
30622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30623 $as_echo_n "checking for float round functions... " >&6; }
30624 if ${glibcxx_cv_func_float_round_use+:} false; then :
30625 $as_echo_n "(cached) " >&6
30626 else
30627
30628
30629 ac_ext=cpp
30630 ac_cpp='$CXXCPP $CPPFLAGS'
30631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30634
30635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30636 /* end confdefs.h. */
30637 #include <math.h>
30638 int
30639 main ()
30640 {
30641 ceilf (0); floorf (0);
30642 ;
30643 return 0;
30644 }
30645 _ACEOF
30646 if ac_fn_cxx_try_compile "$LINENO"; then :
30647 glibcxx_cv_func_float_round_use=yes
30648 else
30649 glibcxx_cv_func_float_round_use=no
30650 fi
30651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30652 ac_ext=c
30653 ac_cpp='$CPP $CPPFLAGS'
30654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30657
30658 fi
30659
30660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30661 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30662 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30663 for ac_func in ceilf floorf
30664 do :
30665 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30666 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30667 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30668 cat >>confdefs.h <<_ACEOF
30669 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30670 _ACEOF
30671
30672 fi
30673 done
30674
30675 else
30676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30677 $as_echo_n "checking for _float round functions... " >&6; }
30678 if ${glibcxx_cv_func__float_round_use+:} false; then :
30679 $as_echo_n "(cached) " >&6
30680 else
30681
30682
30683 ac_ext=cpp
30684 ac_cpp='$CXXCPP $CPPFLAGS'
30685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30688
30689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30690 /* end confdefs.h. */
30691 #include <math.h>
30692 int
30693 main ()
30694 {
30695 _ceilf (0); _floorf (0);
30696 ;
30697 return 0;
30698 }
30699 _ACEOF
30700 if ac_fn_cxx_try_compile "$LINENO"; then :
30701 glibcxx_cv_func__float_round_use=yes
30702 else
30703 glibcxx_cv_func__float_round_use=no
30704 fi
30705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30706 ac_ext=c
30707 ac_cpp='$CPP $CPPFLAGS'
30708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30711
30712 fi
30713
30714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30715 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30716 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30717 for ac_func in _ceilf _floorf
30718 do :
30719 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30720 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30721 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30722 cat >>confdefs.h <<_ACEOF
30723 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30724 _ACEOF
30725
30726 fi
30727 done
30728
30729 fi
30730 fi
30731
30732
30733
30734
30735
30736
30737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30738 $as_echo_n "checking for expf declaration... " >&6; }
30739 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30740 if ${glibcxx_cv_func_expf_use+:} false; then :
30741 $as_echo_n "(cached) " >&6
30742 else
30743
30744
30745 ac_ext=cpp
30746 ac_cpp='$CXXCPP $CPPFLAGS'
30747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30750
30751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30752 /* end confdefs.h. */
30753 #include <math.h>
30754 #ifdef HAVE_IEEEFP_H
30755 #include <ieeefp.h>
30756 #endif
30757
30758 int
30759 main ()
30760 {
30761 expf(0);
30762 ;
30763 return 0;
30764 }
30765 _ACEOF
30766 if ac_fn_cxx_try_compile "$LINENO"; then :
30767 glibcxx_cv_func_expf_use=yes
30768 else
30769 glibcxx_cv_func_expf_use=no
30770 fi
30771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30772 ac_ext=c
30773 ac_cpp='$CPP $CPPFLAGS'
30774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30777
30778
30779 fi
30780
30781 fi
30782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30783 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30784
30785 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30786 for ac_func in expf
30787 do :
30788 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30789 if test "x$ac_cv_func_expf" = xyes; then :
30790 cat >>confdefs.h <<_ACEOF
30791 #define HAVE_EXPF 1
30792 _ACEOF
30793
30794 fi
30795 done
30796
30797 else
30798
30799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30800 $as_echo_n "checking for _expf declaration... " >&6; }
30801 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30802 if ${glibcxx_cv_func__expf_use+:} false; then :
30803 $as_echo_n "(cached) " >&6
30804 else
30805
30806
30807 ac_ext=cpp
30808 ac_cpp='$CXXCPP $CPPFLAGS'
30809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30812
30813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30814 /* end confdefs.h. */
30815 #include <math.h>
30816 #ifdef HAVE_IEEEFP_H
30817 #include <ieeefp.h>
30818 #endif
30819
30820 int
30821 main ()
30822 {
30823 _expf(0);
30824 ;
30825 return 0;
30826 }
30827 _ACEOF
30828 if ac_fn_cxx_try_compile "$LINENO"; then :
30829 glibcxx_cv_func__expf_use=yes
30830 else
30831 glibcxx_cv_func__expf_use=no
30832 fi
30833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30834 ac_ext=c
30835 ac_cpp='$CPP $CPPFLAGS'
30836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30839
30840
30841 fi
30842
30843 fi
30844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30845 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30846
30847 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30848 for ac_func in _expf
30849 do :
30850 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30851 if test "x$ac_cv_func__expf" = xyes; then :
30852 cat >>confdefs.h <<_ACEOF
30853 #define HAVE__EXPF 1
30854 _ACEOF
30855
30856 fi
30857 done
30858
30859 fi
30860 fi
30861
30862
30863
30864
30865
30866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30867 $as_echo_n "checking for isnanf declaration... " >&6; }
30868 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30869 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30870 $as_echo_n "(cached) " >&6
30871 else
30872
30873
30874 ac_ext=cpp
30875 ac_cpp='$CXXCPP $CPPFLAGS'
30876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30879
30880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30881 /* end confdefs.h. */
30882 #include <math.h>
30883 #ifdef HAVE_IEEEFP_H
30884 #include <ieeefp.h>
30885 #endif
30886
30887 int
30888 main ()
30889 {
30890 isnanf(0);
30891 ;
30892 return 0;
30893 }
30894 _ACEOF
30895 if ac_fn_cxx_try_compile "$LINENO"; then :
30896 glibcxx_cv_func_isnanf_use=yes
30897 else
30898 glibcxx_cv_func_isnanf_use=no
30899 fi
30900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30901 ac_ext=c
30902 ac_cpp='$CPP $CPPFLAGS'
30903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30906
30907
30908 fi
30909
30910 fi
30911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30912 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30913
30914 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30915 for ac_func in isnanf
30916 do :
30917 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30918 if test "x$ac_cv_func_isnanf" = xyes; then :
30919 cat >>confdefs.h <<_ACEOF
30920 #define HAVE_ISNANF 1
30921 _ACEOF
30922
30923 fi
30924 done
30925
30926 else
30927
30928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30929 $as_echo_n "checking for _isnanf declaration... " >&6; }
30930 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30931 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30932 $as_echo_n "(cached) " >&6
30933 else
30934
30935
30936 ac_ext=cpp
30937 ac_cpp='$CXXCPP $CPPFLAGS'
30938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30941
30942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30943 /* end confdefs.h. */
30944 #include <math.h>
30945 #ifdef HAVE_IEEEFP_H
30946 #include <ieeefp.h>
30947 #endif
30948
30949 int
30950 main ()
30951 {
30952 _isnanf(0);
30953 ;
30954 return 0;
30955 }
30956 _ACEOF
30957 if ac_fn_cxx_try_compile "$LINENO"; then :
30958 glibcxx_cv_func__isnanf_use=yes
30959 else
30960 glibcxx_cv_func__isnanf_use=no
30961 fi
30962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30963 ac_ext=c
30964 ac_cpp='$CPP $CPPFLAGS'
30965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30968
30969
30970 fi
30971
30972 fi
30973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30974 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30975
30976 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30977 for ac_func in _isnanf
30978 do :
30979 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30980 if test "x$ac_cv_func__isnanf" = xyes; then :
30981 cat >>confdefs.h <<_ACEOF
30982 #define HAVE__ISNANF 1
30983 _ACEOF
30984
30985 fi
30986 done
30987
30988 fi
30989 fi
30990
30991
30992
30993
30994
30995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30996 $as_echo_n "checking for isinff declaration... " >&6; }
30997 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30998 if ${glibcxx_cv_func_isinff_use+:} false; then :
30999 $as_echo_n "(cached) " >&6
31000 else
31001
31002
31003 ac_ext=cpp
31004 ac_cpp='$CXXCPP $CPPFLAGS'
31005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31008
31009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31010 /* end confdefs.h. */
31011 #include <math.h>
31012 #ifdef HAVE_IEEEFP_H
31013 #include <ieeefp.h>
31014 #endif
31015
31016 int
31017 main ()
31018 {
31019 isinff(0);
31020 ;
31021 return 0;
31022 }
31023 _ACEOF
31024 if ac_fn_cxx_try_compile "$LINENO"; then :
31025 glibcxx_cv_func_isinff_use=yes
31026 else
31027 glibcxx_cv_func_isinff_use=no
31028 fi
31029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31030 ac_ext=c
31031 ac_cpp='$CPP $CPPFLAGS'
31032 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31033 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31034 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31035
31036
31037 fi
31038
31039 fi
31040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31041 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31042
31043 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31044 for ac_func in isinff
31045 do :
31046 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31047 if test "x$ac_cv_func_isinff" = xyes; then :
31048 cat >>confdefs.h <<_ACEOF
31049 #define HAVE_ISINFF 1
31050 _ACEOF
31051
31052 fi
31053 done
31054
31055 else
31056
31057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31058 $as_echo_n "checking for _isinff declaration... " >&6; }
31059 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31060 if ${glibcxx_cv_func__isinff_use+:} false; then :
31061 $as_echo_n "(cached) " >&6
31062 else
31063
31064
31065 ac_ext=cpp
31066 ac_cpp='$CXXCPP $CPPFLAGS'
31067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31070
31071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31072 /* end confdefs.h. */
31073 #include <math.h>
31074 #ifdef HAVE_IEEEFP_H
31075 #include <ieeefp.h>
31076 #endif
31077
31078 int
31079 main ()
31080 {
31081 _isinff(0);
31082 ;
31083 return 0;
31084 }
31085 _ACEOF
31086 if ac_fn_cxx_try_compile "$LINENO"; then :
31087 glibcxx_cv_func__isinff_use=yes
31088 else
31089 glibcxx_cv_func__isinff_use=no
31090 fi
31091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31092 ac_ext=c
31093 ac_cpp='$CPP $CPPFLAGS'
31094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31097
31098
31099 fi
31100
31101 fi
31102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31103 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31104
31105 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31106 for ac_func in _isinff
31107 do :
31108 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31109 if test "x$ac_cv_func__isinff" = xyes; then :
31110 cat >>confdefs.h <<_ACEOF
31111 #define HAVE__ISINFF 1
31112 _ACEOF
31113
31114 fi
31115 done
31116
31117 fi
31118 fi
31119
31120
31121
31122
31123
31124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31125 $as_echo_n "checking for atan2f declaration... " >&6; }
31126 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31127 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31128 $as_echo_n "(cached) " >&6
31129 else
31130
31131
31132 ac_ext=cpp
31133 ac_cpp='$CXXCPP $CPPFLAGS'
31134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31137
31138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31139 /* end confdefs.h. */
31140 #include <math.h>
31141 int
31142 main ()
31143 {
31144 atan2f(0, 0);
31145 ;
31146 return 0;
31147 }
31148 _ACEOF
31149 if ac_fn_cxx_try_compile "$LINENO"; then :
31150 glibcxx_cv_func_atan2f_use=yes
31151 else
31152 glibcxx_cv_func_atan2f_use=no
31153 fi
31154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31155 ac_ext=c
31156 ac_cpp='$CPP $CPPFLAGS'
31157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31160
31161
31162 fi
31163
31164 fi
31165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31166 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31167
31168 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31169 for ac_func in atan2f
31170 do :
31171 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31172 if test "x$ac_cv_func_atan2f" = xyes; then :
31173 cat >>confdefs.h <<_ACEOF
31174 #define HAVE_ATAN2F 1
31175 _ACEOF
31176
31177 fi
31178 done
31179
31180 else
31181
31182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31183 $as_echo_n "checking for _atan2f declaration... " >&6; }
31184 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31185 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31186 $as_echo_n "(cached) " >&6
31187 else
31188
31189
31190 ac_ext=cpp
31191 ac_cpp='$CXXCPP $CPPFLAGS'
31192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31195
31196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31197 /* end confdefs.h. */
31198 #include <math.h>
31199 int
31200 main ()
31201 {
31202 _atan2f(0, 0);
31203 ;
31204 return 0;
31205 }
31206 _ACEOF
31207 if ac_fn_cxx_try_compile "$LINENO"; then :
31208 glibcxx_cv_func__atan2f_use=yes
31209 else
31210 glibcxx_cv_func__atan2f_use=no
31211 fi
31212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31213 ac_ext=c
31214 ac_cpp='$CPP $CPPFLAGS'
31215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31218
31219
31220 fi
31221
31222 fi
31223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31224 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31225
31226 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31227 for ac_func in _atan2f
31228 do :
31229 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31230 if test "x$ac_cv_func__atan2f" = xyes; then :
31231 cat >>confdefs.h <<_ACEOF
31232 #define HAVE__ATAN2F 1
31233 _ACEOF
31234
31235 fi
31236 done
31237
31238 fi
31239 fi
31240
31241
31242
31243
31244
31245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31246 $as_echo_n "checking for fabsf declaration... " >&6; }
31247 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31248 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31249 $as_echo_n "(cached) " >&6
31250 else
31251
31252
31253 ac_ext=cpp
31254 ac_cpp='$CXXCPP $CPPFLAGS'
31255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31258
31259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31260 /* end confdefs.h. */
31261 #include <math.h>
31262 #ifdef HAVE_IEEEFP_H
31263 #include <ieeefp.h>
31264 #endif
31265
31266 int
31267 main ()
31268 {
31269 fabsf(0);
31270 ;
31271 return 0;
31272 }
31273 _ACEOF
31274 if ac_fn_cxx_try_compile "$LINENO"; then :
31275 glibcxx_cv_func_fabsf_use=yes
31276 else
31277 glibcxx_cv_func_fabsf_use=no
31278 fi
31279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31280 ac_ext=c
31281 ac_cpp='$CPP $CPPFLAGS'
31282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31285
31286
31287 fi
31288
31289 fi
31290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31291 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31292
31293 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31294 for ac_func in fabsf
31295 do :
31296 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31297 if test "x$ac_cv_func_fabsf" = xyes; then :
31298 cat >>confdefs.h <<_ACEOF
31299 #define HAVE_FABSF 1
31300 _ACEOF
31301
31302 fi
31303 done
31304
31305 else
31306
31307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31308 $as_echo_n "checking for _fabsf declaration... " >&6; }
31309 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31310 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31311 $as_echo_n "(cached) " >&6
31312 else
31313
31314
31315 ac_ext=cpp
31316 ac_cpp='$CXXCPP $CPPFLAGS'
31317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31320
31321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31322 /* end confdefs.h. */
31323 #include <math.h>
31324 #ifdef HAVE_IEEEFP_H
31325 #include <ieeefp.h>
31326 #endif
31327
31328 int
31329 main ()
31330 {
31331 _fabsf(0);
31332 ;
31333 return 0;
31334 }
31335 _ACEOF
31336 if ac_fn_cxx_try_compile "$LINENO"; then :
31337 glibcxx_cv_func__fabsf_use=yes
31338 else
31339 glibcxx_cv_func__fabsf_use=no
31340 fi
31341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31342 ac_ext=c
31343 ac_cpp='$CPP $CPPFLAGS'
31344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31347
31348
31349 fi
31350
31351 fi
31352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31353 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31354
31355 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31356 for ac_func in _fabsf
31357 do :
31358 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31359 if test "x$ac_cv_func__fabsf" = xyes; then :
31360 cat >>confdefs.h <<_ACEOF
31361 #define HAVE__FABSF 1
31362 _ACEOF
31363
31364 fi
31365 done
31366
31367 fi
31368 fi
31369
31370
31371
31372
31373
31374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31375 $as_echo_n "checking for fmodf declaration... " >&6; }
31376 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31377 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31378 $as_echo_n "(cached) " >&6
31379 else
31380
31381
31382 ac_ext=cpp
31383 ac_cpp='$CXXCPP $CPPFLAGS'
31384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31387
31388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31389 /* end confdefs.h. */
31390 #include <math.h>
31391 int
31392 main ()
31393 {
31394 fmodf(0, 0);
31395 ;
31396 return 0;
31397 }
31398 _ACEOF
31399 if ac_fn_cxx_try_compile "$LINENO"; then :
31400 glibcxx_cv_func_fmodf_use=yes
31401 else
31402 glibcxx_cv_func_fmodf_use=no
31403 fi
31404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31405 ac_ext=c
31406 ac_cpp='$CPP $CPPFLAGS'
31407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31410
31411
31412 fi
31413
31414 fi
31415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31416 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31417
31418 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31419 for ac_func in fmodf
31420 do :
31421 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31422 if test "x$ac_cv_func_fmodf" = xyes; then :
31423 cat >>confdefs.h <<_ACEOF
31424 #define HAVE_FMODF 1
31425 _ACEOF
31426
31427 fi
31428 done
31429
31430 else
31431
31432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31433 $as_echo_n "checking for _fmodf declaration... " >&6; }
31434 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31435 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31436 $as_echo_n "(cached) " >&6
31437 else
31438
31439
31440 ac_ext=cpp
31441 ac_cpp='$CXXCPP $CPPFLAGS'
31442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31445
31446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31447 /* end confdefs.h. */
31448 #include <math.h>
31449 int
31450 main ()
31451 {
31452 _fmodf(0, 0);
31453 ;
31454 return 0;
31455 }
31456 _ACEOF
31457 if ac_fn_cxx_try_compile "$LINENO"; then :
31458 glibcxx_cv_func__fmodf_use=yes
31459 else
31460 glibcxx_cv_func__fmodf_use=no
31461 fi
31462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31463 ac_ext=c
31464 ac_cpp='$CPP $CPPFLAGS'
31465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31468
31469
31470 fi
31471
31472 fi
31473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31474 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31475
31476 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31477 for ac_func in _fmodf
31478 do :
31479 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31480 if test "x$ac_cv_func__fmodf" = xyes; then :
31481 cat >>confdefs.h <<_ACEOF
31482 #define HAVE__FMODF 1
31483 _ACEOF
31484
31485 fi
31486 done
31487
31488 fi
31489 fi
31490
31491
31492
31493
31494
31495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31496 $as_echo_n "checking for frexpf declaration... " >&6; }
31497 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31498 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31499 $as_echo_n "(cached) " >&6
31500 else
31501
31502
31503 ac_ext=cpp
31504 ac_cpp='$CXXCPP $CPPFLAGS'
31505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31508
31509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31510 /* end confdefs.h. */
31511 #include <math.h>
31512 int
31513 main ()
31514 {
31515 frexpf(0, 0);
31516 ;
31517 return 0;
31518 }
31519 _ACEOF
31520 if ac_fn_cxx_try_compile "$LINENO"; then :
31521 glibcxx_cv_func_frexpf_use=yes
31522 else
31523 glibcxx_cv_func_frexpf_use=no
31524 fi
31525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31526 ac_ext=c
31527 ac_cpp='$CPP $CPPFLAGS'
31528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31531
31532
31533 fi
31534
31535 fi
31536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31537 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31538
31539 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31540 for ac_func in frexpf
31541 do :
31542 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31543 if test "x$ac_cv_func_frexpf" = xyes; then :
31544 cat >>confdefs.h <<_ACEOF
31545 #define HAVE_FREXPF 1
31546 _ACEOF
31547
31548 fi
31549 done
31550
31551 else
31552
31553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31554 $as_echo_n "checking for _frexpf declaration... " >&6; }
31555 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31556 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31557 $as_echo_n "(cached) " >&6
31558 else
31559
31560
31561 ac_ext=cpp
31562 ac_cpp='$CXXCPP $CPPFLAGS'
31563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31566
31567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31568 /* end confdefs.h. */
31569 #include <math.h>
31570 int
31571 main ()
31572 {
31573 _frexpf(0, 0);
31574 ;
31575 return 0;
31576 }
31577 _ACEOF
31578 if ac_fn_cxx_try_compile "$LINENO"; then :
31579 glibcxx_cv_func__frexpf_use=yes
31580 else
31581 glibcxx_cv_func__frexpf_use=no
31582 fi
31583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31584 ac_ext=c
31585 ac_cpp='$CPP $CPPFLAGS'
31586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31589
31590
31591 fi
31592
31593 fi
31594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31595 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31596
31597 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31598 for ac_func in _frexpf
31599 do :
31600 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31601 if test "x$ac_cv_func__frexpf" = xyes; then :
31602 cat >>confdefs.h <<_ACEOF
31603 #define HAVE__FREXPF 1
31604 _ACEOF
31605
31606 fi
31607 done
31608
31609 fi
31610 fi
31611
31612
31613
31614
31615
31616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31617 $as_echo_n "checking for hypotf declaration... " >&6; }
31618 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31619 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31620 $as_echo_n "(cached) " >&6
31621 else
31622
31623
31624 ac_ext=cpp
31625 ac_cpp='$CXXCPP $CPPFLAGS'
31626 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31627 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31628 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31629
31630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31631 /* end confdefs.h. */
31632 #include <math.h>
31633 int
31634 main ()
31635 {
31636 hypotf(0, 0);
31637 ;
31638 return 0;
31639 }
31640 _ACEOF
31641 if ac_fn_cxx_try_compile "$LINENO"; then :
31642 glibcxx_cv_func_hypotf_use=yes
31643 else
31644 glibcxx_cv_func_hypotf_use=no
31645 fi
31646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31647 ac_ext=c
31648 ac_cpp='$CPP $CPPFLAGS'
31649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31652
31653
31654 fi
31655
31656 fi
31657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31658 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31659
31660 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31661 for ac_func in hypotf
31662 do :
31663 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31664 if test "x$ac_cv_func_hypotf" = xyes; then :
31665 cat >>confdefs.h <<_ACEOF
31666 #define HAVE_HYPOTF 1
31667 _ACEOF
31668
31669 fi
31670 done
31671
31672 else
31673
31674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31675 $as_echo_n "checking for _hypotf declaration... " >&6; }
31676 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31677 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31678 $as_echo_n "(cached) " >&6
31679 else
31680
31681
31682 ac_ext=cpp
31683 ac_cpp='$CXXCPP $CPPFLAGS'
31684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31687
31688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31689 /* end confdefs.h. */
31690 #include <math.h>
31691 int
31692 main ()
31693 {
31694 _hypotf(0, 0);
31695 ;
31696 return 0;
31697 }
31698 _ACEOF
31699 if ac_fn_cxx_try_compile "$LINENO"; then :
31700 glibcxx_cv_func__hypotf_use=yes
31701 else
31702 glibcxx_cv_func__hypotf_use=no
31703 fi
31704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31705 ac_ext=c
31706 ac_cpp='$CPP $CPPFLAGS'
31707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31710
31711
31712 fi
31713
31714 fi
31715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31716 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31717
31718 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31719 for ac_func in _hypotf
31720 do :
31721 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31722 if test "x$ac_cv_func__hypotf" = xyes; then :
31723 cat >>confdefs.h <<_ACEOF
31724 #define HAVE__HYPOTF 1
31725 _ACEOF
31726
31727 fi
31728 done
31729
31730 fi
31731 fi
31732
31733
31734
31735
31736
31737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31738 $as_echo_n "checking for ldexpf declaration... " >&6; }
31739 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31740 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31741 $as_echo_n "(cached) " >&6
31742 else
31743
31744
31745 ac_ext=cpp
31746 ac_cpp='$CXXCPP $CPPFLAGS'
31747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31750
31751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31752 /* end confdefs.h. */
31753 #include <math.h>
31754 int
31755 main ()
31756 {
31757 ldexpf(0, 0);
31758 ;
31759 return 0;
31760 }
31761 _ACEOF
31762 if ac_fn_cxx_try_compile "$LINENO"; then :
31763 glibcxx_cv_func_ldexpf_use=yes
31764 else
31765 glibcxx_cv_func_ldexpf_use=no
31766 fi
31767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31768 ac_ext=c
31769 ac_cpp='$CPP $CPPFLAGS'
31770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31773
31774
31775 fi
31776
31777 fi
31778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31779 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31780
31781 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31782 for ac_func in ldexpf
31783 do :
31784 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31785 if test "x$ac_cv_func_ldexpf" = xyes; then :
31786 cat >>confdefs.h <<_ACEOF
31787 #define HAVE_LDEXPF 1
31788 _ACEOF
31789
31790 fi
31791 done
31792
31793 else
31794
31795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31796 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31797 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31798 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31799 $as_echo_n "(cached) " >&6
31800 else
31801
31802
31803 ac_ext=cpp
31804 ac_cpp='$CXXCPP $CPPFLAGS'
31805 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31806 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31807 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31808
31809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31810 /* end confdefs.h. */
31811 #include <math.h>
31812 int
31813 main ()
31814 {
31815 _ldexpf(0, 0);
31816 ;
31817 return 0;
31818 }
31819 _ACEOF
31820 if ac_fn_cxx_try_compile "$LINENO"; then :
31821 glibcxx_cv_func__ldexpf_use=yes
31822 else
31823 glibcxx_cv_func__ldexpf_use=no
31824 fi
31825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31826 ac_ext=c
31827 ac_cpp='$CPP $CPPFLAGS'
31828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31831
31832
31833 fi
31834
31835 fi
31836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31837 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31838
31839 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31840 for ac_func in _ldexpf
31841 do :
31842 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31843 if test "x$ac_cv_func__ldexpf" = xyes; then :
31844 cat >>confdefs.h <<_ACEOF
31845 #define HAVE__LDEXPF 1
31846 _ACEOF
31847
31848 fi
31849 done
31850
31851 fi
31852 fi
31853
31854
31855
31856
31857
31858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31859 $as_echo_n "checking for logf declaration... " >&6; }
31860 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31861 if ${glibcxx_cv_func_logf_use+:} false; then :
31862 $as_echo_n "(cached) " >&6
31863 else
31864
31865
31866 ac_ext=cpp
31867 ac_cpp='$CXXCPP $CPPFLAGS'
31868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31871
31872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31873 /* end confdefs.h. */
31874 #include <math.h>
31875 #ifdef HAVE_IEEEFP_H
31876 #include <ieeefp.h>
31877 #endif
31878
31879 int
31880 main ()
31881 {
31882 logf(0);
31883 ;
31884 return 0;
31885 }
31886 _ACEOF
31887 if ac_fn_cxx_try_compile "$LINENO"; then :
31888 glibcxx_cv_func_logf_use=yes
31889 else
31890 glibcxx_cv_func_logf_use=no
31891 fi
31892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31893 ac_ext=c
31894 ac_cpp='$CPP $CPPFLAGS'
31895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31898
31899
31900 fi
31901
31902 fi
31903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31904 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31905
31906 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31907 for ac_func in logf
31908 do :
31909 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31910 if test "x$ac_cv_func_logf" = xyes; then :
31911 cat >>confdefs.h <<_ACEOF
31912 #define HAVE_LOGF 1
31913 _ACEOF
31914
31915 fi
31916 done
31917
31918 else
31919
31920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31921 $as_echo_n "checking for _logf declaration... " >&6; }
31922 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31923 if ${glibcxx_cv_func__logf_use+:} false; then :
31924 $as_echo_n "(cached) " >&6
31925 else
31926
31927
31928 ac_ext=cpp
31929 ac_cpp='$CXXCPP $CPPFLAGS'
31930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31933
31934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31935 /* end confdefs.h. */
31936 #include <math.h>
31937 #ifdef HAVE_IEEEFP_H
31938 #include <ieeefp.h>
31939 #endif
31940
31941 int
31942 main ()
31943 {
31944 _logf(0);
31945 ;
31946 return 0;
31947 }
31948 _ACEOF
31949 if ac_fn_cxx_try_compile "$LINENO"; then :
31950 glibcxx_cv_func__logf_use=yes
31951 else
31952 glibcxx_cv_func__logf_use=no
31953 fi
31954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31955 ac_ext=c
31956 ac_cpp='$CPP $CPPFLAGS'
31957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31960
31961
31962 fi
31963
31964 fi
31965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31966 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31967
31968 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31969 for ac_func in _logf
31970 do :
31971 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31972 if test "x$ac_cv_func__logf" = xyes; then :
31973 cat >>confdefs.h <<_ACEOF
31974 #define HAVE__LOGF 1
31975 _ACEOF
31976
31977 fi
31978 done
31979
31980 fi
31981 fi
31982
31983
31984
31985
31986
31987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31988 $as_echo_n "checking for log10f declaration... " >&6; }
31989 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31990 if ${glibcxx_cv_func_log10f_use+:} false; then :
31991 $as_echo_n "(cached) " >&6
31992 else
31993
31994
31995 ac_ext=cpp
31996 ac_cpp='$CXXCPP $CPPFLAGS'
31997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32000
32001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32002 /* end confdefs.h. */
32003 #include <math.h>
32004 #ifdef HAVE_IEEEFP_H
32005 #include <ieeefp.h>
32006 #endif
32007
32008 int
32009 main ()
32010 {
32011 log10f(0);
32012 ;
32013 return 0;
32014 }
32015 _ACEOF
32016 if ac_fn_cxx_try_compile "$LINENO"; then :
32017 glibcxx_cv_func_log10f_use=yes
32018 else
32019 glibcxx_cv_func_log10f_use=no
32020 fi
32021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32022 ac_ext=c
32023 ac_cpp='$CPP $CPPFLAGS'
32024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32027
32028
32029 fi
32030
32031 fi
32032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32033 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32034
32035 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32036 for ac_func in log10f
32037 do :
32038 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32039 if test "x$ac_cv_func_log10f" = xyes; then :
32040 cat >>confdefs.h <<_ACEOF
32041 #define HAVE_LOG10F 1
32042 _ACEOF
32043
32044 fi
32045 done
32046
32047 else
32048
32049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32050 $as_echo_n "checking for _log10f declaration... " >&6; }
32051 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32052 if ${glibcxx_cv_func__log10f_use+:} false; then :
32053 $as_echo_n "(cached) " >&6
32054 else
32055
32056
32057 ac_ext=cpp
32058 ac_cpp='$CXXCPP $CPPFLAGS'
32059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32062
32063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32064 /* end confdefs.h. */
32065 #include <math.h>
32066 #ifdef HAVE_IEEEFP_H
32067 #include <ieeefp.h>
32068 #endif
32069
32070 int
32071 main ()
32072 {
32073 _log10f(0);
32074 ;
32075 return 0;
32076 }
32077 _ACEOF
32078 if ac_fn_cxx_try_compile "$LINENO"; then :
32079 glibcxx_cv_func__log10f_use=yes
32080 else
32081 glibcxx_cv_func__log10f_use=no
32082 fi
32083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32084 ac_ext=c
32085 ac_cpp='$CPP $CPPFLAGS'
32086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32089
32090
32091 fi
32092
32093 fi
32094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32095 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32096
32097 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32098 for ac_func in _log10f
32099 do :
32100 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32101 if test "x$ac_cv_func__log10f" = xyes; then :
32102 cat >>confdefs.h <<_ACEOF
32103 #define HAVE__LOG10F 1
32104 _ACEOF
32105
32106 fi
32107 done
32108
32109 fi
32110 fi
32111
32112
32113
32114
32115
32116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32117 $as_echo_n "checking for modff declaration... " >&6; }
32118 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32119 if ${glibcxx_cv_func_modff_use+:} false; then :
32120 $as_echo_n "(cached) " >&6
32121 else
32122
32123
32124 ac_ext=cpp
32125 ac_cpp='$CXXCPP $CPPFLAGS'
32126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32129
32130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32131 /* end confdefs.h. */
32132 #include <math.h>
32133 int
32134 main ()
32135 {
32136 modff(0, 0);
32137 ;
32138 return 0;
32139 }
32140 _ACEOF
32141 if ac_fn_cxx_try_compile "$LINENO"; then :
32142 glibcxx_cv_func_modff_use=yes
32143 else
32144 glibcxx_cv_func_modff_use=no
32145 fi
32146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32147 ac_ext=c
32148 ac_cpp='$CPP $CPPFLAGS'
32149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32152
32153
32154 fi
32155
32156 fi
32157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32158 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32159
32160 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32161 for ac_func in modff
32162 do :
32163 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32164 if test "x$ac_cv_func_modff" = xyes; then :
32165 cat >>confdefs.h <<_ACEOF
32166 #define HAVE_MODFF 1
32167 _ACEOF
32168
32169 fi
32170 done
32171
32172 else
32173
32174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32175 $as_echo_n "checking for _modff declaration... " >&6; }
32176 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32177 if ${glibcxx_cv_func__modff_use+:} false; then :
32178 $as_echo_n "(cached) " >&6
32179 else
32180
32181
32182 ac_ext=cpp
32183 ac_cpp='$CXXCPP $CPPFLAGS'
32184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32187
32188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32189 /* end confdefs.h. */
32190 #include <math.h>
32191 int
32192 main ()
32193 {
32194 _modff(0, 0);
32195 ;
32196 return 0;
32197 }
32198 _ACEOF
32199 if ac_fn_cxx_try_compile "$LINENO"; then :
32200 glibcxx_cv_func__modff_use=yes
32201 else
32202 glibcxx_cv_func__modff_use=no
32203 fi
32204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32205 ac_ext=c
32206 ac_cpp='$CPP $CPPFLAGS'
32207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32210
32211
32212 fi
32213
32214 fi
32215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32216 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32217
32218 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32219 for ac_func in _modff
32220 do :
32221 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32222 if test "x$ac_cv_func__modff" = xyes; then :
32223 cat >>confdefs.h <<_ACEOF
32224 #define HAVE__MODFF 1
32225 _ACEOF
32226
32227 fi
32228 done
32229
32230 fi
32231 fi
32232
32233
32234
32235
32236
32237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32238 $as_echo_n "checking for modf declaration... " >&6; }
32239 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32240 if ${glibcxx_cv_func_modf_use+:} false; then :
32241 $as_echo_n "(cached) " >&6
32242 else
32243
32244
32245 ac_ext=cpp
32246 ac_cpp='$CXXCPP $CPPFLAGS'
32247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32250
32251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32252 /* end confdefs.h. */
32253 #include <math.h>
32254 int
32255 main ()
32256 {
32257 modf(0, 0);
32258 ;
32259 return 0;
32260 }
32261 _ACEOF
32262 if ac_fn_cxx_try_compile "$LINENO"; then :
32263 glibcxx_cv_func_modf_use=yes
32264 else
32265 glibcxx_cv_func_modf_use=no
32266 fi
32267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32268 ac_ext=c
32269 ac_cpp='$CPP $CPPFLAGS'
32270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32273
32274
32275 fi
32276
32277 fi
32278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32279 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32280
32281 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32282 for ac_func in modf
32283 do :
32284 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32285 if test "x$ac_cv_func_modf" = xyes; then :
32286 cat >>confdefs.h <<_ACEOF
32287 #define HAVE_MODF 1
32288 _ACEOF
32289
32290 fi
32291 done
32292
32293 else
32294
32295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32296 $as_echo_n "checking for _modf declaration... " >&6; }
32297 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32298 if ${glibcxx_cv_func__modf_use+:} false; then :
32299 $as_echo_n "(cached) " >&6
32300 else
32301
32302
32303 ac_ext=cpp
32304 ac_cpp='$CXXCPP $CPPFLAGS'
32305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32308
32309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32310 /* end confdefs.h. */
32311 #include <math.h>
32312 int
32313 main ()
32314 {
32315 _modf(0, 0);
32316 ;
32317 return 0;
32318 }
32319 _ACEOF
32320 if ac_fn_cxx_try_compile "$LINENO"; then :
32321 glibcxx_cv_func__modf_use=yes
32322 else
32323 glibcxx_cv_func__modf_use=no
32324 fi
32325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32326 ac_ext=c
32327 ac_cpp='$CPP $CPPFLAGS'
32328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32331
32332
32333 fi
32334
32335 fi
32336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32337 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32338
32339 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32340 for ac_func in _modf
32341 do :
32342 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32343 if test "x$ac_cv_func__modf" = xyes; then :
32344 cat >>confdefs.h <<_ACEOF
32345 #define HAVE__MODF 1
32346 _ACEOF
32347
32348 fi
32349 done
32350
32351 fi
32352 fi
32353
32354
32355
32356
32357
32358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32359 $as_echo_n "checking for powf declaration... " >&6; }
32360 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32361 if ${glibcxx_cv_func_powf_use+:} false; then :
32362 $as_echo_n "(cached) " >&6
32363 else
32364
32365
32366 ac_ext=cpp
32367 ac_cpp='$CXXCPP $CPPFLAGS'
32368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32371
32372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32373 /* end confdefs.h. */
32374 #include <math.h>
32375 int
32376 main ()
32377 {
32378 powf(0, 0);
32379 ;
32380 return 0;
32381 }
32382 _ACEOF
32383 if ac_fn_cxx_try_compile "$LINENO"; then :
32384 glibcxx_cv_func_powf_use=yes
32385 else
32386 glibcxx_cv_func_powf_use=no
32387 fi
32388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32389 ac_ext=c
32390 ac_cpp='$CPP $CPPFLAGS'
32391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32394
32395
32396 fi
32397
32398 fi
32399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32400 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32401
32402 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32403 for ac_func in powf
32404 do :
32405 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32406 if test "x$ac_cv_func_powf" = xyes; then :
32407 cat >>confdefs.h <<_ACEOF
32408 #define HAVE_POWF 1
32409 _ACEOF
32410
32411 fi
32412 done
32413
32414 else
32415
32416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32417 $as_echo_n "checking for _powf declaration... " >&6; }
32418 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32419 if ${glibcxx_cv_func__powf_use+:} false; then :
32420 $as_echo_n "(cached) " >&6
32421 else
32422
32423
32424 ac_ext=cpp
32425 ac_cpp='$CXXCPP $CPPFLAGS'
32426 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32427 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32428 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32429
32430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32431 /* end confdefs.h. */
32432 #include <math.h>
32433 int
32434 main ()
32435 {
32436 _powf(0, 0);
32437 ;
32438 return 0;
32439 }
32440 _ACEOF
32441 if ac_fn_cxx_try_compile "$LINENO"; then :
32442 glibcxx_cv_func__powf_use=yes
32443 else
32444 glibcxx_cv_func__powf_use=no
32445 fi
32446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32447 ac_ext=c
32448 ac_cpp='$CPP $CPPFLAGS'
32449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32452
32453
32454 fi
32455
32456 fi
32457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32458 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32459
32460 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32461 for ac_func in _powf
32462 do :
32463 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32464 if test "x$ac_cv_func__powf" = xyes; then :
32465 cat >>confdefs.h <<_ACEOF
32466 #define HAVE__POWF 1
32467 _ACEOF
32468
32469 fi
32470 done
32471
32472 fi
32473 fi
32474
32475
32476
32477
32478
32479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32480 $as_echo_n "checking for sqrtf declaration... " >&6; }
32481 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32482 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32483 $as_echo_n "(cached) " >&6
32484 else
32485
32486
32487 ac_ext=cpp
32488 ac_cpp='$CXXCPP $CPPFLAGS'
32489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32492
32493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32494 /* end confdefs.h. */
32495 #include <math.h>
32496 #ifdef HAVE_IEEEFP_H
32497 #include <ieeefp.h>
32498 #endif
32499
32500 int
32501 main ()
32502 {
32503 sqrtf(0);
32504 ;
32505 return 0;
32506 }
32507 _ACEOF
32508 if ac_fn_cxx_try_compile "$LINENO"; then :
32509 glibcxx_cv_func_sqrtf_use=yes
32510 else
32511 glibcxx_cv_func_sqrtf_use=no
32512 fi
32513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32514 ac_ext=c
32515 ac_cpp='$CPP $CPPFLAGS'
32516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32519
32520
32521 fi
32522
32523 fi
32524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32525 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32526
32527 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32528 for ac_func in sqrtf
32529 do :
32530 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32531 if test "x$ac_cv_func_sqrtf" = xyes; then :
32532 cat >>confdefs.h <<_ACEOF
32533 #define HAVE_SQRTF 1
32534 _ACEOF
32535
32536 fi
32537 done
32538
32539 else
32540
32541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32542 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32543 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32544 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32545 $as_echo_n "(cached) " >&6
32546 else
32547
32548
32549 ac_ext=cpp
32550 ac_cpp='$CXXCPP $CPPFLAGS'
32551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32554
32555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32556 /* end confdefs.h. */
32557 #include <math.h>
32558 #ifdef HAVE_IEEEFP_H
32559 #include <ieeefp.h>
32560 #endif
32561
32562 int
32563 main ()
32564 {
32565 _sqrtf(0);
32566 ;
32567 return 0;
32568 }
32569 _ACEOF
32570 if ac_fn_cxx_try_compile "$LINENO"; then :
32571 glibcxx_cv_func__sqrtf_use=yes
32572 else
32573 glibcxx_cv_func__sqrtf_use=no
32574 fi
32575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32576 ac_ext=c
32577 ac_cpp='$CPP $CPPFLAGS'
32578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32581
32582
32583 fi
32584
32585 fi
32586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32587 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32588
32589 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32590 for ac_func in _sqrtf
32591 do :
32592 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32593 if test "x$ac_cv_func__sqrtf" = xyes; then :
32594 cat >>confdefs.h <<_ACEOF
32595 #define HAVE__SQRTF 1
32596 _ACEOF
32597
32598 fi
32599 done
32600
32601 fi
32602 fi
32603
32604
32605
32606
32607
32608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32609 $as_echo_n "checking for sincosf declaration... " >&6; }
32610 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32611 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32612 $as_echo_n "(cached) " >&6
32613 else
32614
32615
32616 ac_ext=cpp
32617 ac_cpp='$CXXCPP $CPPFLAGS'
32618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32621
32622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32623 /* end confdefs.h. */
32624 #include <math.h>
32625 int
32626 main ()
32627 {
32628 sincosf(0, 0, 0);
32629 ;
32630 return 0;
32631 }
32632 _ACEOF
32633 if ac_fn_cxx_try_compile "$LINENO"; then :
32634 glibcxx_cv_func_sincosf_use=yes
32635 else
32636 glibcxx_cv_func_sincosf_use=no
32637 fi
32638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32639 ac_ext=c
32640 ac_cpp='$CPP $CPPFLAGS'
32641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32644
32645
32646 fi
32647
32648 fi
32649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32650 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32651
32652 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32653 for ac_func in sincosf
32654 do :
32655 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32656 if test "x$ac_cv_func_sincosf" = xyes; then :
32657 cat >>confdefs.h <<_ACEOF
32658 #define HAVE_SINCOSF 1
32659 _ACEOF
32660
32661 fi
32662 done
32663
32664 else
32665
32666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32667 $as_echo_n "checking for _sincosf declaration... " >&6; }
32668 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32669 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32670 $as_echo_n "(cached) " >&6
32671 else
32672
32673
32674 ac_ext=cpp
32675 ac_cpp='$CXXCPP $CPPFLAGS'
32676 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32677 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32678 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32679
32680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32681 /* end confdefs.h. */
32682 #include <math.h>
32683 int
32684 main ()
32685 {
32686 _sincosf(0, 0, 0);
32687 ;
32688 return 0;
32689 }
32690 _ACEOF
32691 if ac_fn_cxx_try_compile "$LINENO"; then :
32692 glibcxx_cv_func__sincosf_use=yes
32693 else
32694 glibcxx_cv_func__sincosf_use=no
32695 fi
32696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32697 ac_ext=c
32698 ac_cpp='$CPP $CPPFLAGS'
32699 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32700 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32701 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32702
32703
32704 fi
32705
32706 fi
32707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32708 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32709
32710 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32711 for ac_func in _sincosf
32712 do :
32713 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32714 if test "x$ac_cv_func__sincosf" = xyes; then :
32715 cat >>confdefs.h <<_ACEOF
32716 #define HAVE__SINCOSF 1
32717 _ACEOF
32718
32719 fi
32720 done
32721
32722 fi
32723 fi
32724
32725
32726
32727
32728
32729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32730 $as_echo_n "checking for finitef declaration... " >&6; }
32731 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32732 if ${glibcxx_cv_func_finitef_use+:} false; then :
32733 $as_echo_n "(cached) " >&6
32734 else
32735
32736
32737 ac_ext=cpp
32738 ac_cpp='$CXXCPP $CPPFLAGS'
32739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32742
32743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32744 /* end confdefs.h. */
32745 #include <math.h>
32746 #ifdef HAVE_IEEEFP_H
32747 #include <ieeefp.h>
32748 #endif
32749
32750 int
32751 main ()
32752 {
32753 finitef(0);
32754 ;
32755 return 0;
32756 }
32757 _ACEOF
32758 if ac_fn_cxx_try_compile "$LINENO"; then :
32759 glibcxx_cv_func_finitef_use=yes
32760 else
32761 glibcxx_cv_func_finitef_use=no
32762 fi
32763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32764 ac_ext=c
32765 ac_cpp='$CPP $CPPFLAGS'
32766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32769
32770
32771 fi
32772
32773 fi
32774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32775 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32776
32777 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32778 for ac_func in finitef
32779 do :
32780 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32781 if test "x$ac_cv_func_finitef" = xyes; then :
32782 cat >>confdefs.h <<_ACEOF
32783 #define HAVE_FINITEF 1
32784 _ACEOF
32785
32786 fi
32787 done
32788
32789 else
32790
32791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32792 $as_echo_n "checking for _finitef declaration... " >&6; }
32793 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32794 if ${glibcxx_cv_func__finitef_use+:} false; then :
32795 $as_echo_n "(cached) " >&6
32796 else
32797
32798
32799 ac_ext=cpp
32800 ac_cpp='$CXXCPP $CPPFLAGS'
32801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32804
32805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32806 /* end confdefs.h. */
32807 #include <math.h>
32808 #ifdef HAVE_IEEEFP_H
32809 #include <ieeefp.h>
32810 #endif
32811
32812 int
32813 main ()
32814 {
32815 _finitef(0);
32816 ;
32817 return 0;
32818 }
32819 _ACEOF
32820 if ac_fn_cxx_try_compile "$LINENO"; then :
32821 glibcxx_cv_func__finitef_use=yes
32822 else
32823 glibcxx_cv_func__finitef_use=no
32824 fi
32825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32826 ac_ext=c
32827 ac_cpp='$CPP $CPPFLAGS'
32828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32831
32832
32833 fi
32834
32835 fi
32836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32837 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32838
32839 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32840 for ac_func in _finitef
32841 do :
32842 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32843 if test "x$ac_cv_func__finitef" = xyes; then :
32844 cat >>confdefs.h <<_ACEOF
32845 #define HAVE__FINITEF 1
32846 _ACEOF
32847
32848 fi
32849 done
32850
32851 fi
32852 fi
32853
32854
32855
32856
32857
32858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32859 $as_echo_n "checking for long double trig functions... " >&6; }
32860 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32861 $as_echo_n "(cached) " >&6
32862 else
32863
32864
32865 ac_ext=cpp
32866 ac_cpp='$CXXCPP $CPPFLAGS'
32867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32870
32871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32872 /* end confdefs.h. */
32873 #include <math.h>
32874 int
32875 main ()
32876 {
32877 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32878 ;
32879 return 0;
32880 }
32881 _ACEOF
32882 if ac_fn_cxx_try_compile "$LINENO"; then :
32883 glibcxx_cv_func_long_double_trig_use=yes
32884 else
32885 glibcxx_cv_func_long_double_trig_use=no
32886 fi
32887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32888 ac_ext=c
32889 ac_cpp='$CPP $CPPFLAGS'
32890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32893
32894 fi
32895
32896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32897 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32898 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32899 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32900 do :
32901 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32902 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32903 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32904 cat >>confdefs.h <<_ACEOF
32905 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32906 _ACEOF
32907
32908 fi
32909 done
32910
32911 else
32912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32913 $as_echo_n "checking for _long double trig functions... " >&6; }
32914 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32915 $as_echo_n "(cached) " >&6
32916 else
32917
32918
32919 ac_ext=cpp
32920 ac_cpp='$CXXCPP $CPPFLAGS'
32921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32924
32925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32926 /* end confdefs.h. */
32927 #include <math.h>
32928 int
32929 main ()
32930 {
32931 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32932 ;
32933 return 0;
32934 }
32935 _ACEOF
32936 if ac_fn_cxx_try_compile "$LINENO"; then :
32937 glibcxx_cv_func__long_double_trig_use=yes
32938 else
32939 glibcxx_cv_func__long_double_trig_use=no
32940 fi
32941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32942 ac_ext=c
32943 ac_cpp='$CPP $CPPFLAGS'
32944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32947
32948 fi
32949
32950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32951 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32952 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32953 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32954 do :
32955 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32956 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32957 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32958 cat >>confdefs.h <<_ACEOF
32959 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32960 _ACEOF
32961
32962 fi
32963 done
32964
32965 fi
32966 fi
32967
32968
32969
32970
32971
32972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32973 $as_echo_n "checking for long double round functions... " >&6; }
32974 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32975 $as_echo_n "(cached) " >&6
32976 else
32977
32978
32979 ac_ext=cpp
32980 ac_cpp='$CXXCPP $CPPFLAGS'
32981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32984
32985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32986 /* end confdefs.h. */
32987 #include <math.h>
32988 int
32989 main ()
32990 {
32991 ceill (0); floorl (0);
32992 ;
32993 return 0;
32994 }
32995 _ACEOF
32996 if ac_fn_cxx_try_compile "$LINENO"; then :
32997 glibcxx_cv_func_long_double_round_use=yes
32998 else
32999 glibcxx_cv_func_long_double_round_use=no
33000 fi
33001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33002 ac_ext=c
33003 ac_cpp='$CPP $CPPFLAGS'
33004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33007
33008 fi
33009
33010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
33011 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
33012 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33013 for ac_func in ceill floorl
33014 do :
33015 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33016 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33017 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33018 cat >>confdefs.h <<_ACEOF
33019 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33020 _ACEOF
33021
33022 fi
33023 done
33024
33025 else
33026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33027 $as_echo_n "checking for _long double round functions... " >&6; }
33028 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33029 $as_echo_n "(cached) " >&6
33030 else
33031
33032
33033 ac_ext=cpp
33034 ac_cpp='$CXXCPP $CPPFLAGS'
33035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33038
33039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33040 /* end confdefs.h. */
33041 #include <math.h>
33042 int
33043 main ()
33044 {
33045 _ceill (0); _floorl (0);
33046 ;
33047 return 0;
33048 }
33049 _ACEOF
33050 if ac_fn_cxx_try_compile "$LINENO"; then :
33051 glibcxx_cv_func__long_double_round_use=yes
33052 else
33053 glibcxx_cv_func__long_double_round_use=no
33054 fi
33055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33056 ac_ext=c
33057 ac_cpp='$CPP $CPPFLAGS'
33058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33061
33062 fi
33063
33064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33065 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33066 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33067 for ac_func in _ceill _floorl
33068 do :
33069 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33070 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33071 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33072 cat >>confdefs.h <<_ACEOF
33073 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33074 _ACEOF
33075
33076 fi
33077 done
33078
33079 fi
33080 fi
33081
33082
33083
33084
33085
33086
33087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33088 $as_echo_n "checking for isnanl declaration... " >&6; }
33089 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33090 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33091 $as_echo_n "(cached) " >&6
33092 else
33093
33094
33095 ac_ext=cpp
33096 ac_cpp='$CXXCPP $CPPFLAGS'
33097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33100
33101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33102 /* end confdefs.h. */
33103 #include <math.h>
33104 #ifdef HAVE_IEEEFP_H
33105 #include <ieeefp.h>
33106 #endif
33107
33108 int
33109 main ()
33110 {
33111 isnanl(0);
33112 ;
33113 return 0;
33114 }
33115 _ACEOF
33116 if ac_fn_cxx_try_compile "$LINENO"; then :
33117 glibcxx_cv_func_isnanl_use=yes
33118 else
33119 glibcxx_cv_func_isnanl_use=no
33120 fi
33121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33122 ac_ext=c
33123 ac_cpp='$CPP $CPPFLAGS'
33124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33127
33128
33129 fi
33130
33131 fi
33132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33133 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33134
33135 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33136 for ac_func in isnanl
33137 do :
33138 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33139 if test "x$ac_cv_func_isnanl" = xyes; then :
33140 cat >>confdefs.h <<_ACEOF
33141 #define HAVE_ISNANL 1
33142 _ACEOF
33143
33144 fi
33145 done
33146
33147 else
33148
33149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33150 $as_echo_n "checking for _isnanl declaration... " >&6; }
33151 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33152 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33153 $as_echo_n "(cached) " >&6
33154 else
33155
33156
33157 ac_ext=cpp
33158 ac_cpp='$CXXCPP $CPPFLAGS'
33159 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33160 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33161 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33162
33163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33164 /* end confdefs.h. */
33165 #include <math.h>
33166 #ifdef HAVE_IEEEFP_H
33167 #include <ieeefp.h>
33168 #endif
33169
33170 int
33171 main ()
33172 {
33173 _isnanl(0);
33174 ;
33175 return 0;
33176 }
33177 _ACEOF
33178 if ac_fn_cxx_try_compile "$LINENO"; then :
33179 glibcxx_cv_func__isnanl_use=yes
33180 else
33181 glibcxx_cv_func__isnanl_use=no
33182 fi
33183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33184 ac_ext=c
33185 ac_cpp='$CPP $CPPFLAGS'
33186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33189
33190
33191 fi
33192
33193 fi
33194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33195 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33196
33197 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33198 for ac_func in _isnanl
33199 do :
33200 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33201 if test "x$ac_cv_func__isnanl" = xyes; then :
33202 cat >>confdefs.h <<_ACEOF
33203 #define HAVE__ISNANL 1
33204 _ACEOF
33205
33206 fi
33207 done
33208
33209 fi
33210 fi
33211
33212
33213
33214
33215
33216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33217 $as_echo_n "checking for isinfl declaration... " >&6; }
33218 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33219 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33220 $as_echo_n "(cached) " >&6
33221 else
33222
33223
33224 ac_ext=cpp
33225 ac_cpp='$CXXCPP $CPPFLAGS'
33226 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33227 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33228 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33229
33230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33231 /* end confdefs.h. */
33232 #include <math.h>
33233 #ifdef HAVE_IEEEFP_H
33234 #include <ieeefp.h>
33235 #endif
33236
33237 int
33238 main ()
33239 {
33240 isinfl(0);
33241 ;
33242 return 0;
33243 }
33244 _ACEOF
33245 if ac_fn_cxx_try_compile "$LINENO"; then :
33246 glibcxx_cv_func_isinfl_use=yes
33247 else
33248 glibcxx_cv_func_isinfl_use=no
33249 fi
33250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33251 ac_ext=c
33252 ac_cpp='$CPP $CPPFLAGS'
33253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33256
33257
33258 fi
33259
33260 fi
33261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33262 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33263
33264 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33265 for ac_func in isinfl
33266 do :
33267 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33268 if test "x$ac_cv_func_isinfl" = xyes; then :
33269 cat >>confdefs.h <<_ACEOF
33270 #define HAVE_ISINFL 1
33271 _ACEOF
33272
33273 fi
33274 done
33275
33276 else
33277
33278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33279 $as_echo_n "checking for _isinfl declaration... " >&6; }
33280 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33281 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33282 $as_echo_n "(cached) " >&6
33283 else
33284
33285
33286 ac_ext=cpp
33287 ac_cpp='$CXXCPP $CPPFLAGS'
33288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33291
33292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33293 /* end confdefs.h. */
33294 #include <math.h>
33295 #ifdef HAVE_IEEEFP_H
33296 #include <ieeefp.h>
33297 #endif
33298
33299 int
33300 main ()
33301 {
33302 _isinfl(0);
33303 ;
33304 return 0;
33305 }
33306 _ACEOF
33307 if ac_fn_cxx_try_compile "$LINENO"; then :
33308 glibcxx_cv_func__isinfl_use=yes
33309 else
33310 glibcxx_cv_func__isinfl_use=no
33311 fi
33312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33313 ac_ext=c
33314 ac_cpp='$CPP $CPPFLAGS'
33315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33318
33319
33320 fi
33321
33322 fi
33323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33324 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33325
33326 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33327 for ac_func in _isinfl
33328 do :
33329 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33330 if test "x$ac_cv_func__isinfl" = xyes; then :
33331 cat >>confdefs.h <<_ACEOF
33332 #define HAVE__ISINFL 1
33333 _ACEOF
33334
33335 fi
33336 done
33337
33338 fi
33339 fi
33340
33341
33342
33343
33344
33345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33346 $as_echo_n "checking for atan2l declaration... " >&6; }
33347 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33348 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33349 $as_echo_n "(cached) " >&6
33350 else
33351
33352
33353 ac_ext=cpp
33354 ac_cpp='$CXXCPP $CPPFLAGS'
33355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33358
33359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33360 /* end confdefs.h. */
33361 #include <math.h>
33362 int
33363 main ()
33364 {
33365 atan2l(0, 0);
33366 ;
33367 return 0;
33368 }
33369 _ACEOF
33370 if ac_fn_cxx_try_compile "$LINENO"; then :
33371 glibcxx_cv_func_atan2l_use=yes
33372 else
33373 glibcxx_cv_func_atan2l_use=no
33374 fi
33375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33376 ac_ext=c
33377 ac_cpp='$CPP $CPPFLAGS'
33378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33381
33382
33383 fi
33384
33385 fi
33386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33387 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33388
33389 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33390 for ac_func in atan2l
33391 do :
33392 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33393 if test "x$ac_cv_func_atan2l" = xyes; then :
33394 cat >>confdefs.h <<_ACEOF
33395 #define HAVE_ATAN2L 1
33396 _ACEOF
33397
33398 fi
33399 done
33400
33401 else
33402
33403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33404 $as_echo_n "checking for _atan2l declaration... " >&6; }
33405 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33406 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33407 $as_echo_n "(cached) " >&6
33408 else
33409
33410
33411 ac_ext=cpp
33412 ac_cpp='$CXXCPP $CPPFLAGS'
33413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33416
33417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33418 /* end confdefs.h. */
33419 #include <math.h>
33420 int
33421 main ()
33422 {
33423 _atan2l(0, 0);
33424 ;
33425 return 0;
33426 }
33427 _ACEOF
33428 if ac_fn_cxx_try_compile "$LINENO"; then :
33429 glibcxx_cv_func__atan2l_use=yes
33430 else
33431 glibcxx_cv_func__atan2l_use=no
33432 fi
33433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33434 ac_ext=c
33435 ac_cpp='$CPP $CPPFLAGS'
33436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33439
33440
33441 fi
33442
33443 fi
33444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33445 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33446
33447 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33448 for ac_func in _atan2l
33449 do :
33450 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33451 if test "x$ac_cv_func__atan2l" = xyes; then :
33452 cat >>confdefs.h <<_ACEOF
33453 #define HAVE__ATAN2L 1
33454 _ACEOF
33455
33456 fi
33457 done
33458
33459 fi
33460 fi
33461
33462
33463
33464
33465
33466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33467 $as_echo_n "checking for expl declaration... " >&6; }
33468 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33469 if ${glibcxx_cv_func_expl_use+:} false; then :
33470 $as_echo_n "(cached) " >&6
33471 else
33472
33473
33474 ac_ext=cpp
33475 ac_cpp='$CXXCPP $CPPFLAGS'
33476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33479
33480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33481 /* end confdefs.h. */
33482 #include <math.h>
33483 #ifdef HAVE_IEEEFP_H
33484 #include <ieeefp.h>
33485 #endif
33486
33487 int
33488 main ()
33489 {
33490 expl(0);
33491 ;
33492 return 0;
33493 }
33494 _ACEOF
33495 if ac_fn_cxx_try_compile "$LINENO"; then :
33496 glibcxx_cv_func_expl_use=yes
33497 else
33498 glibcxx_cv_func_expl_use=no
33499 fi
33500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33501 ac_ext=c
33502 ac_cpp='$CPP $CPPFLAGS'
33503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33506
33507
33508 fi
33509
33510 fi
33511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33512 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33513
33514 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33515 for ac_func in expl
33516 do :
33517 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33518 if test "x$ac_cv_func_expl" = xyes; then :
33519 cat >>confdefs.h <<_ACEOF
33520 #define HAVE_EXPL 1
33521 _ACEOF
33522
33523 fi
33524 done
33525
33526 else
33527
33528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33529 $as_echo_n "checking for _expl declaration... " >&6; }
33530 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33531 if ${glibcxx_cv_func__expl_use+:} false; then :
33532 $as_echo_n "(cached) " >&6
33533 else
33534
33535
33536 ac_ext=cpp
33537 ac_cpp='$CXXCPP $CPPFLAGS'
33538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33541
33542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33543 /* end confdefs.h. */
33544 #include <math.h>
33545 #ifdef HAVE_IEEEFP_H
33546 #include <ieeefp.h>
33547 #endif
33548
33549 int
33550 main ()
33551 {
33552 _expl(0);
33553 ;
33554 return 0;
33555 }
33556 _ACEOF
33557 if ac_fn_cxx_try_compile "$LINENO"; then :
33558 glibcxx_cv_func__expl_use=yes
33559 else
33560 glibcxx_cv_func__expl_use=no
33561 fi
33562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33563 ac_ext=c
33564 ac_cpp='$CPP $CPPFLAGS'
33565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33568
33569
33570 fi
33571
33572 fi
33573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33574 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33575
33576 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33577 for ac_func in _expl
33578 do :
33579 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33580 if test "x$ac_cv_func__expl" = xyes; then :
33581 cat >>confdefs.h <<_ACEOF
33582 #define HAVE__EXPL 1
33583 _ACEOF
33584
33585 fi
33586 done
33587
33588 fi
33589 fi
33590
33591
33592
33593
33594
33595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33596 $as_echo_n "checking for fabsl declaration... " >&6; }
33597 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33598 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33599 $as_echo_n "(cached) " >&6
33600 else
33601
33602
33603 ac_ext=cpp
33604 ac_cpp='$CXXCPP $CPPFLAGS'
33605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33608
33609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33610 /* end confdefs.h. */
33611 #include <math.h>
33612 #ifdef HAVE_IEEEFP_H
33613 #include <ieeefp.h>
33614 #endif
33615
33616 int
33617 main ()
33618 {
33619 fabsl(0);
33620 ;
33621 return 0;
33622 }
33623 _ACEOF
33624 if ac_fn_cxx_try_compile "$LINENO"; then :
33625 glibcxx_cv_func_fabsl_use=yes
33626 else
33627 glibcxx_cv_func_fabsl_use=no
33628 fi
33629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33630 ac_ext=c
33631 ac_cpp='$CPP $CPPFLAGS'
33632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33635
33636
33637 fi
33638
33639 fi
33640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33641 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33642
33643 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33644 for ac_func in fabsl
33645 do :
33646 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33647 if test "x$ac_cv_func_fabsl" = xyes; then :
33648 cat >>confdefs.h <<_ACEOF
33649 #define HAVE_FABSL 1
33650 _ACEOF
33651
33652 fi
33653 done
33654
33655 else
33656
33657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33658 $as_echo_n "checking for _fabsl declaration... " >&6; }
33659 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33660 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33661 $as_echo_n "(cached) " >&6
33662 else
33663
33664
33665 ac_ext=cpp
33666 ac_cpp='$CXXCPP $CPPFLAGS'
33667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33670
33671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33672 /* end confdefs.h. */
33673 #include <math.h>
33674 #ifdef HAVE_IEEEFP_H
33675 #include <ieeefp.h>
33676 #endif
33677
33678 int
33679 main ()
33680 {
33681 _fabsl(0);
33682 ;
33683 return 0;
33684 }
33685 _ACEOF
33686 if ac_fn_cxx_try_compile "$LINENO"; then :
33687 glibcxx_cv_func__fabsl_use=yes
33688 else
33689 glibcxx_cv_func__fabsl_use=no
33690 fi
33691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33692 ac_ext=c
33693 ac_cpp='$CPP $CPPFLAGS'
33694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33697
33698
33699 fi
33700
33701 fi
33702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33703 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33704
33705 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33706 for ac_func in _fabsl
33707 do :
33708 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33709 if test "x$ac_cv_func__fabsl" = xyes; then :
33710 cat >>confdefs.h <<_ACEOF
33711 #define HAVE__FABSL 1
33712 _ACEOF
33713
33714 fi
33715 done
33716
33717 fi
33718 fi
33719
33720
33721
33722
33723
33724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33725 $as_echo_n "checking for fmodl declaration... " >&6; }
33726 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33727 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33728 $as_echo_n "(cached) " >&6
33729 else
33730
33731
33732 ac_ext=cpp
33733 ac_cpp='$CXXCPP $CPPFLAGS'
33734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33737
33738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33739 /* end confdefs.h. */
33740 #include <math.h>
33741 int
33742 main ()
33743 {
33744 fmodl(0, 0);
33745 ;
33746 return 0;
33747 }
33748 _ACEOF
33749 if ac_fn_cxx_try_compile "$LINENO"; then :
33750 glibcxx_cv_func_fmodl_use=yes
33751 else
33752 glibcxx_cv_func_fmodl_use=no
33753 fi
33754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33755 ac_ext=c
33756 ac_cpp='$CPP $CPPFLAGS'
33757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33760
33761
33762 fi
33763
33764 fi
33765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33766 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33767
33768 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33769 for ac_func in fmodl
33770 do :
33771 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33772 if test "x$ac_cv_func_fmodl" = xyes; then :
33773 cat >>confdefs.h <<_ACEOF
33774 #define HAVE_FMODL 1
33775 _ACEOF
33776
33777 fi
33778 done
33779
33780 else
33781
33782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33783 $as_echo_n "checking for _fmodl declaration... " >&6; }
33784 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33785 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33786 $as_echo_n "(cached) " >&6
33787 else
33788
33789
33790 ac_ext=cpp
33791 ac_cpp='$CXXCPP $CPPFLAGS'
33792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33795
33796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33797 /* end confdefs.h. */
33798 #include <math.h>
33799 int
33800 main ()
33801 {
33802 _fmodl(0, 0);
33803 ;
33804 return 0;
33805 }
33806 _ACEOF
33807 if ac_fn_cxx_try_compile "$LINENO"; then :
33808 glibcxx_cv_func__fmodl_use=yes
33809 else
33810 glibcxx_cv_func__fmodl_use=no
33811 fi
33812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33813 ac_ext=c
33814 ac_cpp='$CPP $CPPFLAGS'
33815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33818
33819
33820 fi
33821
33822 fi
33823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33824 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33825
33826 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33827 for ac_func in _fmodl
33828 do :
33829 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33830 if test "x$ac_cv_func__fmodl" = xyes; then :
33831 cat >>confdefs.h <<_ACEOF
33832 #define HAVE__FMODL 1
33833 _ACEOF
33834
33835 fi
33836 done
33837
33838 fi
33839 fi
33840
33841
33842
33843
33844
33845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33846 $as_echo_n "checking for frexpl declaration... " >&6; }
33847 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33848 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33849 $as_echo_n "(cached) " >&6
33850 else
33851
33852
33853 ac_ext=cpp
33854 ac_cpp='$CXXCPP $CPPFLAGS'
33855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33858
33859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33860 /* end confdefs.h. */
33861 #include <math.h>
33862 int
33863 main ()
33864 {
33865 frexpl(0, 0);
33866 ;
33867 return 0;
33868 }
33869 _ACEOF
33870 if ac_fn_cxx_try_compile "$LINENO"; then :
33871 glibcxx_cv_func_frexpl_use=yes
33872 else
33873 glibcxx_cv_func_frexpl_use=no
33874 fi
33875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33876 ac_ext=c
33877 ac_cpp='$CPP $CPPFLAGS'
33878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33881
33882
33883 fi
33884
33885 fi
33886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33887 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33888
33889 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33890 for ac_func in frexpl
33891 do :
33892 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33893 if test "x$ac_cv_func_frexpl" = xyes; then :
33894 cat >>confdefs.h <<_ACEOF
33895 #define HAVE_FREXPL 1
33896 _ACEOF
33897
33898 fi
33899 done
33900
33901 else
33902
33903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33904 $as_echo_n "checking for _frexpl declaration... " >&6; }
33905 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33906 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33907 $as_echo_n "(cached) " >&6
33908 else
33909
33910
33911 ac_ext=cpp
33912 ac_cpp='$CXXCPP $CPPFLAGS'
33913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33916
33917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33918 /* end confdefs.h. */
33919 #include <math.h>
33920 int
33921 main ()
33922 {
33923 _frexpl(0, 0);
33924 ;
33925 return 0;
33926 }
33927 _ACEOF
33928 if ac_fn_cxx_try_compile "$LINENO"; then :
33929 glibcxx_cv_func__frexpl_use=yes
33930 else
33931 glibcxx_cv_func__frexpl_use=no
33932 fi
33933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33934 ac_ext=c
33935 ac_cpp='$CPP $CPPFLAGS'
33936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33939
33940
33941 fi
33942
33943 fi
33944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33945 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33946
33947 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33948 for ac_func in _frexpl
33949 do :
33950 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33951 if test "x$ac_cv_func__frexpl" = xyes; then :
33952 cat >>confdefs.h <<_ACEOF
33953 #define HAVE__FREXPL 1
33954 _ACEOF
33955
33956 fi
33957 done
33958
33959 fi
33960 fi
33961
33962
33963
33964
33965
33966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33967 $as_echo_n "checking for hypotl declaration... " >&6; }
33968 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33969 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33970 $as_echo_n "(cached) " >&6
33971 else
33972
33973
33974 ac_ext=cpp
33975 ac_cpp='$CXXCPP $CPPFLAGS'
33976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33979
33980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33981 /* end confdefs.h. */
33982 #include <math.h>
33983 int
33984 main ()
33985 {
33986 hypotl(0, 0);
33987 ;
33988 return 0;
33989 }
33990 _ACEOF
33991 if ac_fn_cxx_try_compile "$LINENO"; then :
33992 glibcxx_cv_func_hypotl_use=yes
33993 else
33994 glibcxx_cv_func_hypotl_use=no
33995 fi
33996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33997 ac_ext=c
33998 ac_cpp='$CPP $CPPFLAGS'
33999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34002
34003
34004 fi
34005
34006 fi
34007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
34008 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
34009
34010 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
34011 for ac_func in hypotl
34012 do :
34013 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34014 if test "x$ac_cv_func_hypotl" = xyes; then :
34015 cat >>confdefs.h <<_ACEOF
34016 #define HAVE_HYPOTL 1
34017 _ACEOF
34018
34019 fi
34020 done
34021
34022 else
34023
34024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34025 $as_echo_n "checking for _hypotl declaration... " >&6; }
34026 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34027 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34028 $as_echo_n "(cached) " >&6
34029 else
34030
34031
34032 ac_ext=cpp
34033 ac_cpp='$CXXCPP $CPPFLAGS'
34034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34037
34038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34039 /* end confdefs.h. */
34040 #include <math.h>
34041 int
34042 main ()
34043 {
34044 _hypotl(0, 0);
34045 ;
34046 return 0;
34047 }
34048 _ACEOF
34049 if ac_fn_cxx_try_compile "$LINENO"; then :
34050 glibcxx_cv_func__hypotl_use=yes
34051 else
34052 glibcxx_cv_func__hypotl_use=no
34053 fi
34054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34055 ac_ext=c
34056 ac_cpp='$CPP $CPPFLAGS'
34057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34060
34061
34062 fi
34063
34064 fi
34065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34066 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34067
34068 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34069 for ac_func in _hypotl
34070 do :
34071 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34072 if test "x$ac_cv_func__hypotl" = xyes; then :
34073 cat >>confdefs.h <<_ACEOF
34074 #define HAVE__HYPOTL 1
34075 _ACEOF
34076
34077 fi
34078 done
34079
34080 fi
34081 fi
34082
34083
34084
34085
34086
34087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34088 $as_echo_n "checking for ldexpl declaration... " >&6; }
34089 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34090 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34091 $as_echo_n "(cached) " >&6
34092 else
34093
34094
34095 ac_ext=cpp
34096 ac_cpp='$CXXCPP $CPPFLAGS'
34097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34100
34101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34102 /* end confdefs.h. */
34103 #include <math.h>
34104 int
34105 main ()
34106 {
34107 ldexpl(0, 0);
34108 ;
34109 return 0;
34110 }
34111 _ACEOF
34112 if ac_fn_cxx_try_compile "$LINENO"; then :
34113 glibcxx_cv_func_ldexpl_use=yes
34114 else
34115 glibcxx_cv_func_ldexpl_use=no
34116 fi
34117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34118 ac_ext=c
34119 ac_cpp='$CPP $CPPFLAGS'
34120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34123
34124
34125 fi
34126
34127 fi
34128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34129 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34130
34131 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34132 for ac_func in ldexpl
34133 do :
34134 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34135 if test "x$ac_cv_func_ldexpl" = xyes; then :
34136 cat >>confdefs.h <<_ACEOF
34137 #define HAVE_LDEXPL 1
34138 _ACEOF
34139
34140 fi
34141 done
34142
34143 else
34144
34145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34146 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34147 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34148 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34149 $as_echo_n "(cached) " >&6
34150 else
34151
34152
34153 ac_ext=cpp
34154 ac_cpp='$CXXCPP $CPPFLAGS'
34155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34158
34159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34160 /* end confdefs.h. */
34161 #include <math.h>
34162 int
34163 main ()
34164 {
34165 _ldexpl(0, 0);
34166 ;
34167 return 0;
34168 }
34169 _ACEOF
34170 if ac_fn_cxx_try_compile "$LINENO"; then :
34171 glibcxx_cv_func__ldexpl_use=yes
34172 else
34173 glibcxx_cv_func__ldexpl_use=no
34174 fi
34175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34176 ac_ext=c
34177 ac_cpp='$CPP $CPPFLAGS'
34178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34181
34182
34183 fi
34184
34185 fi
34186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34187 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34188
34189 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34190 for ac_func in _ldexpl
34191 do :
34192 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34193 if test "x$ac_cv_func__ldexpl" = xyes; then :
34194 cat >>confdefs.h <<_ACEOF
34195 #define HAVE__LDEXPL 1
34196 _ACEOF
34197
34198 fi
34199 done
34200
34201 fi
34202 fi
34203
34204
34205
34206
34207
34208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34209 $as_echo_n "checking for logl declaration... " >&6; }
34210 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34211 if ${glibcxx_cv_func_logl_use+:} false; then :
34212 $as_echo_n "(cached) " >&6
34213 else
34214
34215
34216 ac_ext=cpp
34217 ac_cpp='$CXXCPP $CPPFLAGS'
34218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34221
34222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34223 /* end confdefs.h. */
34224 #include <math.h>
34225 #ifdef HAVE_IEEEFP_H
34226 #include <ieeefp.h>
34227 #endif
34228
34229 int
34230 main ()
34231 {
34232 logl(0);
34233 ;
34234 return 0;
34235 }
34236 _ACEOF
34237 if ac_fn_cxx_try_compile "$LINENO"; then :
34238 glibcxx_cv_func_logl_use=yes
34239 else
34240 glibcxx_cv_func_logl_use=no
34241 fi
34242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34243 ac_ext=c
34244 ac_cpp='$CPP $CPPFLAGS'
34245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34248
34249
34250 fi
34251
34252 fi
34253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34254 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34255
34256 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34257 for ac_func in logl
34258 do :
34259 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34260 if test "x$ac_cv_func_logl" = xyes; then :
34261 cat >>confdefs.h <<_ACEOF
34262 #define HAVE_LOGL 1
34263 _ACEOF
34264
34265 fi
34266 done
34267
34268 else
34269
34270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34271 $as_echo_n "checking for _logl declaration... " >&6; }
34272 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34273 if ${glibcxx_cv_func__logl_use+:} false; then :
34274 $as_echo_n "(cached) " >&6
34275 else
34276
34277
34278 ac_ext=cpp
34279 ac_cpp='$CXXCPP $CPPFLAGS'
34280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34283
34284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34285 /* end confdefs.h. */
34286 #include <math.h>
34287 #ifdef HAVE_IEEEFP_H
34288 #include <ieeefp.h>
34289 #endif
34290
34291 int
34292 main ()
34293 {
34294 _logl(0);
34295 ;
34296 return 0;
34297 }
34298 _ACEOF
34299 if ac_fn_cxx_try_compile "$LINENO"; then :
34300 glibcxx_cv_func__logl_use=yes
34301 else
34302 glibcxx_cv_func__logl_use=no
34303 fi
34304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34305 ac_ext=c
34306 ac_cpp='$CPP $CPPFLAGS'
34307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34310
34311
34312 fi
34313
34314 fi
34315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34316 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34317
34318 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34319 for ac_func in _logl
34320 do :
34321 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34322 if test "x$ac_cv_func__logl" = xyes; then :
34323 cat >>confdefs.h <<_ACEOF
34324 #define HAVE__LOGL 1
34325 _ACEOF
34326
34327 fi
34328 done
34329
34330 fi
34331 fi
34332
34333
34334
34335
34336
34337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34338 $as_echo_n "checking for log10l declaration... " >&6; }
34339 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34340 if ${glibcxx_cv_func_log10l_use+:} false; then :
34341 $as_echo_n "(cached) " >&6
34342 else
34343
34344
34345 ac_ext=cpp
34346 ac_cpp='$CXXCPP $CPPFLAGS'
34347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34350
34351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34352 /* end confdefs.h. */
34353 #include <math.h>
34354 #ifdef HAVE_IEEEFP_H
34355 #include <ieeefp.h>
34356 #endif
34357
34358 int
34359 main ()
34360 {
34361 log10l(0);
34362 ;
34363 return 0;
34364 }
34365 _ACEOF
34366 if ac_fn_cxx_try_compile "$LINENO"; then :
34367 glibcxx_cv_func_log10l_use=yes
34368 else
34369 glibcxx_cv_func_log10l_use=no
34370 fi
34371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34372 ac_ext=c
34373 ac_cpp='$CPP $CPPFLAGS'
34374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34377
34378
34379 fi
34380
34381 fi
34382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34383 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34384
34385 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34386 for ac_func in log10l
34387 do :
34388 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34389 if test "x$ac_cv_func_log10l" = xyes; then :
34390 cat >>confdefs.h <<_ACEOF
34391 #define HAVE_LOG10L 1
34392 _ACEOF
34393
34394 fi
34395 done
34396
34397 else
34398
34399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34400 $as_echo_n "checking for _log10l declaration... " >&6; }
34401 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34402 if ${glibcxx_cv_func__log10l_use+:} false; then :
34403 $as_echo_n "(cached) " >&6
34404 else
34405
34406
34407 ac_ext=cpp
34408 ac_cpp='$CXXCPP $CPPFLAGS'
34409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34412
34413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34414 /* end confdefs.h. */
34415 #include <math.h>
34416 #ifdef HAVE_IEEEFP_H
34417 #include <ieeefp.h>
34418 #endif
34419
34420 int
34421 main ()
34422 {
34423 _log10l(0);
34424 ;
34425 return 0;
34426 }
34427 _ACEOF
34428 if ac_fn_cxx_try_compile "$LINENO"; then :
34429 glibcxx_cv_func__log10l_use=yes
34430 else
34431 glibcxx_cv_func__log10l_use=no
34432 fi
34433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34434 ac_ext=c
34435 ac_cpp='$CPP $CPPFLAGS'
34436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34439
34440
34441 fi
34442
34443 fi
34444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34445 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34446
34447 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34448 for ac_func in _log10l
34449 do :
34450 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34451 if test "x$ac_cv_func__log10l" = xyes; then :
34452 cat >>confdefs.h <<_ACEOF
34453 #define HAVE__LOG10L 1
34454 _ACEOF
34455
34456 fi
34457 done
34458
34459 fi
34460 fi
34461
34462
34463
34464
34465
34466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34467 $as_echo_n "checking for modfl declaration... " >&6; }
34468 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34469 if ${glibcxx_cv_func_modfl_use+:} false; then :
34470 $as_echo_n "(cached) " >&6
34471 else
34472
34473
34474 ac_ext=cpp
34475 ac_cpp='$CXXCPP $CPPFLAGS'
34476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34479
34480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34481 /* end confdefs.h. */
34482 #include <math.h>
34483 int
34484 main ()
34485 {
34486 modfl(0, 0);
34487 ;
34488 return 0;
34489 }
34490 _ACEOF
34491 if ac_fn_cxx_try_compile "$LINENO"; then :
34492 glibcxx_cv_func_modfl_use=yes
34493 else
34494 glibcxx_cv_func_modfl_use=no
34495 fi
34496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34497 ac_ext=c
34498 ac_cpp='$CPP $CPPFLAGS'
34499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34502
34503
34504 fi
34505
34506 fi
34507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34508 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34509
34510 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34511 for ac_func in modfl
34512 do :
34513 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34514 if test "x$ac_cv_func_modfl" = xyes; then :
34515 cat >>confdefs.h <<_ACEOF
34516 #define HAVE_MODFL 1
34517 _ACEOF
34518
34519 fi
34520 done
34521
34522 else
34523
34524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34525 $as_echo_n "checking for _modfl declaration... " >&6; }
34526 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34527 if ${glibcxx_cv_func__modfl_use+:} false; then :
34528 $as_echo_n "(cached) " >&6
34529 else
34530
34531
34532 ac_ext=cpp
34533 ac_cpp='$CXXCPP $CPPFLAGS'
34534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34537
34538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34539 /* end confdefs.h. */
34540 #include <math.h>
34541 int
34542 main ()
34543 {
34544 _modfl(0, 0);
34545 ;
34546 return 0;
34547 }
34548 _ACEOF
34549 if ac_fn_cxx_try_compile "$LINENO"; then :
34550 glibcxx_cv_func__modfl_use=yes
34551 else
34552 glibcxx_cv_func__modfl_use=no
34553 fi
34554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34555 ac_ext=c
34556 ac_cpp='$CPP $CPPFLAGS'
34557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34560
34561
34562 fi
34563
34564 fi
34565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34566 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34567
34568 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34569 for ac_func in _modfl
34570 do :
34571 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34572 if test "x$ac_cv_func__modfl" = xyes; then :
34573 cat >>confdefs.h <<_ACEOF
34574 #define HAVE__MODFL 1
34575 _ACEOF
34576
34577 fi
34578 done
34579
34580 fi
34581 fi
34582
34583
34584
34585
34586
34587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34588 $as_echo_n "checking for powl declaration... " >&6; }
34589 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34590 if ${glibcxx_cv_func_powl_use+:} false; then :
34591 $as_echo_n "(cached) " >&6
34592 else
34593
34594
34595 ac_ext=cpp
34596 ac_cpp='$CXXCPP $CPPFLAGS'
34597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34600
34601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34602 /* end confdefs.h. */
34603 #include <math.h>
34604 int
34605 main ()
34606 {
34607 powl(0, 0);
34608 ;
34609 return 0;
34610 }
34611 _ACEOF
34612 if ac_fn_cxx_try_compile "$LINENO"; then :
34613 glibcxx_cv_func_powl_use=yes
34614 else
34615 glibcxx_cv_func_powl_use=no
34616 fi
34617 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34618 ac_ext=c
34619 ac_cpp='$CPP $CPPFLAGS'
34620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34623
34624
34625 fi
34626
34627 fi
34628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34629 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34630
34631 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34632 for ac_func in powl
34633 do :
34634 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34635 if test "x$ac_cv_func_powl" = xyes; then :
34636 cat >>confdefs.h <<_ACEOF
34637 #define HAVE_POWL 1
34638 _ACEOF
34639
34640 fi
34641 done
34642
34643 else
34644
34645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34646 $as_echo_n "checking for _powl declaration... " >&6; }
34647 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34648 if ${glibcxx_cv_func__powl_use+:} false; then :
34649 $as_echo_n "(cached) " >&6
34650 else
34651
34652
34653 ac_ext=cpp
34654 ac_cpp='$CXXCPP $CPPFLAGS'
34655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34658
34659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34660 /* end confdefs.h. */
34661 #include <math.h>
34662 int
34663 main ()
34664 {
34665 _powl(0, 0);
34666 ;
34667 return 0;
34668 }
34669 _ACEOF
34670 if ac_fn_cxx_try_compile "$LINENO"; then :
34671 glibcxx_cv_func__powl_use=yes
34672 else
34673 glibcxx_cv_func__powl_use=no
34674 fi
34675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34676 ac_ext=c
34677 ac_cpp='$CPP $CPPFLAGS'
34678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34681
34682
34683 fi
34684
34685 fi
34686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34687 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34688
34689 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34690 for ac_func in _powl
34691 do :
34692 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34693 if test "x$ac_cv_func__powl" = xyes; then :
34694 cat >>confdefs.h <<_ACEOF
34695 #define HAVE__POWL 1
34696 _ACEOF
34697
34698 fi
34699 done
34700
34701 fi
34702 fi
34703
34704
34705
34706
34707
34708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34709 $as_echo_n "checking for sqrtl declaration... " >&6; }
34710 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34711 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34712 $as_echo_n "(cached) " >&6
34713 else
34714
34715
34716 ac_ext=cpp
34717 ac_cpp='$CXXCPP $CPPFLAGS'
34718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34721
34722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34723 /* end confdefs.h. */
34724 #include <math.h>
34725 #ifdef HAVE_IEEEFP_H
34726 #include <ieeefp.h>
34727 #endif
34728
34729 int
34730 main ()
34731 {
34732 sqrtl(0);
34733 ;
34734 return 0;
34735 }
34736 _ACEOF
34737 if ac_fn_cxx_try_compile "$LINENO"; then :
34738 glibcxx_cv_func_sqrtl_use=yes
34739 else
34740 glibcxx_cv_func_sqrtl_use=no
34741 fi
34742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34743 ac_ext=c
34744 ac_cpp='$CPP $CPPFLAGS'
34745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34748
34749
34750 fi
34751
34752 fi
34753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34754 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34755
34756 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34757 for ac_func in sqrtl
34758 do :
34759 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34760 if test "x$ac_cv_func_sqrtl" = xyes; then :
34761 cat >>confdefs.h <<_ACEOF
34762 #define HAVE_SQRTL 1
34763 _ACEOF
34764
34765 fi
34766 done
34767
34768 else
34769
34770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34771 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34772 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34773 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34774 $as_echo_n "(cached) " >&6
34775 else
34776
34777
34778 ac_ext=cpp
34779 ac_cpp='$CXXCPP $CPPFLAGS'
34780 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34781 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34782 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34783
34784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34785 /* end confdefs.h. */
34786 #include <math.h>
34787 #ifdef HAVE_IEEEFP_H
34788 #include <ieeefp.h>
34789 #endif
34790
34791 int
34792 main ()
34793 {
34794 _sqrtl(0);
34795 ;
34796 return 0;
34797 }
34798 _ACEOF
34799 if ac_fn_cxx_try_compile "$LINENO"; then :
34800 glibcxx_cv_func__sqrtl_use=yes
34801 else
34802 glibcxx_cv_func__sqrtl_use=no
34803 fi
34804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34805 ac_ext=c
34806 ac_cpp='$CPP $CPPFLAGS'
34807 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34808 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34809 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34810
34811
34812 fi
34813
34814 fi
34815 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34816 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34817
34818 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34819 for ac_func in _sqrtl
34820 do :
34821 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34822 if test "x$ac_cv_func__sqrtl" = xyes; then :
34823 cat >>confdefs.h <<_ACEOF
34824 #define HAVE__SQRTL 1
34825 _ACEOF
34826
34827 fi
34828 done
34829
34830 fi
34831 fi
34832
34833
34834
34835
34836
34837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34838 $as_echo_n "checking for sincosl declaration... " >&6; }
34839 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34840 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34841 $as_echo_n "(cached) " >&6
34842 else
34843
34844
34845 ac_ext=cpp
34846 ac_cpp='$CXXCPP $CPPFLAGS'
34847 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34848 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34849 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34850
34851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34852 /* end confdefs.h. */
34853 #include <math.h>
34854 int
34855 main ()
34856 {
34857 sincosl(0, 0, 0);
34858 ;
34859 return 0;
34860 }
34861 _ACEOF
34862 if ac_fn_cxx_try_compile "$LINENO"; then :
34863 glibcxx_cv_func_sincosl_use=yes
34864 else
34865 glibcxx_cv_func_sincosl_use=no
34866 fi
34867 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34868 ac_ext=c
34869 ac_cpp='$CPP $CPPFLAGS'
34870 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34871 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34872 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34873
34874
34875 fi
34876
34877 fi
34878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34879 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34880
34881 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34882 for ac_func in sincosl
34883 do :
34884 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34885 if test "x$ac_cv_func_sincosl" = xyes; then :
34886 cat >>confdefs.h <<_ACEOF
34887 #define HAVE_SINCOSL 1
34888 _ACEOF
34889
34890 fi
34891 done
34892
34893 else
34894
34895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34896 $as_echo_n "checking for _sincosl declaration... " >&6; }
34897 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34898 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34899 $as_echo_n "(cached) " >&6
34900 else
34901
34902
34903 ac_ext=cpp
34904 ac_cpp='$CXXCPP $CPPFLAGS'
34905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34908
34909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34910 /* end confdefs.h. */
34911 #include <math.h>
34912 int
34913 main ()
34914 {
34915 _sincosl(0, 0, 0);
34916 ;
34917 return 0;
34918 }
34919 _ACEOF
34920 if ac_fn_cxx_try_compile "$LINENO"; then :
34921 glibcxx_cv_func__sincosl_use=yes
34922 else
34923 glibcxx_cv_func__sincosl_use=no
34924 fi
34925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34926 ac_ext=c
34927 ac_cpp='$CPP $CPPFLAGS'
34928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34931
34932
34933 fi
34934
34935 fi
34936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34937 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34938
34939 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34940 for ac_func in _sincosl
34941 do :
34942 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34943 if test "x$ac_cv_func__sincosl" = xyes; then :
34944 cat >>confdefs.h <<_ACEOF
34945 #define HAVE__SINCOSL 1
34946 _ACEOF
34947
34948 fi
34949 done
34950
34951 fi
34952 fi
34953
34954
34955
34956
34957
34958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34959 $as_echo_n "checking for finitel declaration... " >&6; }
34960 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34961 if ${glibcxx_cv_func_finitel_use+:} false; then :
34962 $as_echo_n "(cached) " >&6
34963 else
34964
34965
34966 ac_ext=cpp
34967 ac_cpp='$CXXCPP $CPPFLAGS'
34968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34971
34972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34973 /* end confdefs.h. */
34974 #include <math.h>
34975 #ifdef HAVE_IEEEFP_H
34976 #include <ieeefp.h>
34977 #endif
34978
34979 int
34980 main ()
34981 {
34982 finitel(0);
34983 ;
34984 return 0;
34985 }
34986 _ACEOF
34987 if ac_fn_cxx_try_compile "$LINENO"; then :
34988 glibcxx_cv_func_finitel_use=yes
34989 else
34990 glibcxx_cv_func_finitel_use=no
34991 fi
34992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34993 ac_ext=c
34994 ac_cpp='$CPP $CPPFLAGS'
34995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34998
34999
35000 fi
35001
35002 fi
35003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
35004 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
35005
35006 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
35007 for ac_func in finitel
35008 do :
35009 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
35010 if test "x$ac_cv_func_finitel" = xyes; then :
35011 cat >>confdefs.h <<_ACEOF
35012 #define HAVE_FINITEL 1
35013 _ACEOF
35014
35015 fi
35016 done
35017
35018 else
35019
35020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35021 $as_echo_n "checking for _finitel declaration... " >&6; }
35022 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35023 if ${glibcxx_cv_func__finitel_use+:} false; then :
35024 $as_echo_n "(cached) " >&6
35025 else
35026
35027
35028 ac_ext=cpp
35029 ac_cpp='$CXXCPP $CPPFLAGS'
35030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35033
35034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35035 /* end confdefs.h. */
35036 #include <math.h>
35037 #ifdef HAVE_IEEEFP_H
35038 #include <ieeefp.h>
35039 #endif
35040
35041 int
35042 main ()
35043 {
35044 _finitel(0);
35045 ;
35046 return 0;
35047 }
35048 _ACEOF
35049 if ac_fn_cxx_try_compile "$LINENO"; then :
35050 glibcxx_cv_func__finitel_use=yes
35051 else
35052 glibcxx_cv_func__finitel_use=no
35053 fi
35054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35055 ac_ext=c
35056 ac_cpp='$CPP $CPPFLAGS'
35057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35060
35061
35062 fi
35063
35064 fi
35065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35066 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35067
35068 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35069 for ac_func in _finitel
35070 do :
35071 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35072 if test "x$ac_cv_func__finitel" = xyes; then :
35073 cat >>confdefs.h <<_ACEOF
35074 #define HAVE__FINITEL 1
35075 _ACEOF
35076
35077 fi
35078 done
35079
35080 fi
35081 fi
35082
35083
35084
35085
35086 LIBS="$ac_save_LIBS"
35087 CXXFLAGS="$ac_save_CXXFLAGS"
35088
35089
35090 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35091 ac_save_CXXFLAGS="$CXXFLAGS"
35092 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35093
35094
35095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35096 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35097 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35098 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35099 $as_echo_n "(cached) " >&6
35100 else
35101
35102
35103 ac_ext=cpp
35104 ac_cpp='$CXXCPP $CPPFLAGS'
35105 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35106 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35107 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35108
35109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35110 /* end confdefs.h. */
35111 #include <stdlib.h>
35112 int
35113 main ()
35114 {
35115 at_quick_exit(0);
35116 ;
35117 return 0;
35118 }
35119 _ACEOF
35120 if ac_fn_cxx_try_compile "$LINENO"; then :
35121 glibcxx_cv_func_at_quick_exit_use=yes
35122 else
35123 glibcxx_cv_func_at_quick_exit_use=no
35124 fi
35125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35126 ac_ext=c
35127 ac_cpp='$CPP $CPPFLAGS'
35128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35131
35132
35133 fi
35134
35135 fi
35136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35137 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35138 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35139 for ac_func in at_quick_exit
35140 do :
35141 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35142 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35143 cat >>confdefs.h <<_ACEOF
35144 #define HAVE_AT_QUICK_EXIT 1
35145 _ACEOF
35146
35147 fi
35148 done
35149
35150 fi
35151
35152
35153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35154 $as_echo_n "checking for quick_exit declaration... " >&6; }
35155 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35156 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35157 $as_echo_n "(cached) " >&6
35158 else
35159
35160
35161 ac_ext=cpp
35162 ac_cpp='$CXXCPP $CPPFLAGS'
35163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35166
35167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35168 /* end confdefs.h. */
35169 #include <stdlib.h>
35170 int
35171 main ()
35172 {
35173 quick_exit(0);
35174 ;
35175 return 0;
35176 }
35177 _ACEOF
35178 if ac_fn_cxx_try_compile "$LINENO"; then :
35179 glibcxx_cv_func_quick_exit_use=yes
35180 else
35181 glibcxx_cv_func_quick_exit_use=no
35182 fi
35183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35184 ac_ext=c
35185 ac_cpp='$CPP $CPPFLAGS'
35186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35189
35190
35191 fi
35192
35193 fi
35194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35195 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35196 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35197 for ac_func in quick_exit
35198 do :
35199 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35200 if test "x$ac_cv_func_quick_exit" = xyes; then :
35201 cat >>confdefs.h <<_ACEOF
35202 #define HAVE_QUICK_EXIT 1
35203 _ACEOF
35204
35205 fi
35206 done
35207
35208 fi
35209
35210
35211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35212 $as_echo_n "checking for strtold declaration... " >&6; }
35213 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35214 if ${glibcxx_cv_func_strtold_use+:} false; then :
35215 $as_echo_n "(cached) " >&6
35216 else
35217
35218
35219 ac_ext=cpp
35220 ac_cpp='$CXXCPP $CPPFLAGS'
35221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35224
35225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35226 /* end confdefs.h. */
35227 #include <stdlib.h>
35228 int
35229 main ()
35230 {
35231 strtold(0, 0);
35232 ;
35233 return 0;
35234 }
35235 _ACEOF
35236 if ac_fn_cxx_try_compile "$LINENO"; then :
35237 glibcxx_cv_func_strtold_use=yes
35238 else
35239 glibcxx_cv_func_strtold_use=no
35240 fi
35241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35242 ac_ext=c
35243 ac_cpp='$CPP $CPPFLAGS'
35244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35247
35248
35249 fi
35250
35251 fi
35252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35253 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35254 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35255 for ac_func in strtold
35256 do :
35257 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35258 if test "x$ac_cv_func_strtold" = xyes; then :
35259 cat >>confdefs.h <<_ACEOF
35260 #define HAVE_STRTOLD 1
35261 _ACEOF
35262
35263 fi
35264 done
35265
35266 fi
35267
35268
35269
35270
35271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35272 $as_echo_n "checking for strtof declaration... " >&6; }
35273 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35274 if ${glibcxx_cv_func_strtof_use+:} false; then :
35275 $as_echo_n "(cached) " >&6
35276 else
35277
35278
35279 ac_ext=cpp
35280 ac_cpp='$CXXCPP $CPPFLAGS'
35281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35284
35285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35286 /* end confdefs.h. */
35287 #include <stdlib.h>
35288 int
35289 main ()
35290 {
35291 strtof(0, 0);
35292 ;
35293 return 0;
35294 }
35295 _ACEOF
35296 if ac_fn_cxx_try_compile "$LINENO"; then :
35297 glibcxx_cv_func_strtof_use=yes
35298 else
35299 glibcxx_cv_func_strtof_use=no
35300 fi
35301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35302 ac_ext=c
35303 ac_cpp='$CPP $CPPFLAGS'
35304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35307
35308
35309 fi
35310
35311 fi
35312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35313 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35314 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35315 for ac_func in strtof
35316 do :
35317 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35318 if test "x$ac_cv_func_strtof" = xyes; then :
35319 cat >>confdefs.h <<_ACEOF
35320 #define HAVE_STRTOF 1
35321 _ACEOF
35322
35323 fi
35324 done
35325
35326 fi
35327
35328
35329
35330
35331 CXXFLAGS="$ac_save_CXXFLAGS"
35332
35333
35334 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35335
35336 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35337
35338 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35339
35340 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35341
35342
35343 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35344
35345 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35346
35347 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35348
35349 ;;
35350
35351 spu-*-elf*)
35352
35353 # All these tests are for C++; save the language and the compiler flags.
35354 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35355 # found in GLIBCXX_CONFIGURE.
35356
35357 ac_ext=cpp
35358 ac_cpp='$CXXCPP $CPPFLAGS'
35359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35362
35363 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35364 ac_save_CXXFLAGS="$CXXFLAGS"
35365
35366 # Check for -ffunction-sections -fdata-sections
35367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35368 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35369 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35371 /* end confdefs.h. */
35372 int foo; void bar() { };
35373 int
35374 main ()
35375 {
35376
35377 ;
35378 return 0;
35379 }
35380 _ACEOF
35381 if ac_fn_cxx_try_compile "$LINENO"; then :
35382 ac_fdsections=yes
35383 else
35384 ac_fdsections=no
35385 fi
35386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35387 if test "$ac_test_CXXFLAGS" = set; then
35388 CXXFLAGS="$ac_save_CXXFLAGS"
35389 else
35390 # this is the suspicious part
35391 CXXFLAGS=''
35392 fi
35393 if test x"$ac_fdsections" = x"yes"; then
35394 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35395 fi
35396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35397 $as_echo "$ac_fdsections" >&6; }
35398
35399 ac_ext=c
35400 ac_cpp='$CPP $CPPFLAGS'
35401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35404
35405
35406
35407
35408 # If we're not using GNU ld, then there's no point in even trying these
35409 # tests. Check for that first. We should have already tested for gld
35410 # by now (in libtool), but require it now just to be safe...
35411 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35412 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35413
35414
35415
35416 # The name set by libtool depends on the version of libtool. Shame on us
35417 # for depending on an impl detail, but c'est la vie. Older versions used
35418 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35419 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35420 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35421 # set (hence we're using an older libtool), then set it.
35422 if test x${with_gnu_ld+set} != xset; then
35423 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35424 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35425 with_gnu_ld=no
35426 else
35427 with_gnu_ld=$ac_cv_prog_gnu_ld
35428 fi
35429 fi
35430
35431 # Start by getting the version number. I think the libtool test already
35432 # does some of this, but throws away the result.
35433 glibcxx_ld_is_gold=no
35434 if test x"$with_gnu_ld" = x"yes"; then
35435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35436 $as_echo_n "checking for ld version... " >&6; }
35437
35438 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35439 glibcxx_ld_is_gold=yes
35440 fi
35441 ldver=`$LD --version 2>/dev/null |
35442 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'`
35443
35444 glibcxx_gnu_ld_version=`echo $ldver | \
35445 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35447 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35448 fi
35449
35450 # Set --gc-sections.
35451 glibcxx_have_gc_sections=no
35452 if test "$glibcxx_ld_is_gold" = "yes"; then
35453 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35454 glibcxx_have_gc_sections=yes
35455 fi
35456 else
35457 glibcxx_gcsections_min_ld=21602
35458 if test x"$with_gnu_ld" = x"yes" &&
35459 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35460 glibcxx_have_gc_sections=yes
35461 fi
35462 fi
35463 if test "$glibcxx_have_gc_sections" = "yes"; then
35464 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35465 # NB: This flag only works reliably after 2.16.1. Configure tests
35466 # for this are difficult, so hard wire a value that should work.
35467
35468 ac_test_CFLAGS="${CFLAGS+set}"
35469 ac_save_CFLAGS="$CFLAGS"
35470 CFLAGS='-Wl,--gc-sections'
35471
35472 # Check for -Wl,--gc-sections
35473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35474 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35475 if test x$gcc_no_link = xyes; then
35476 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35477 fi
35478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35479 /* end confdefs.h. */
35480 int one(void) { return 1; }
35481 int two(void) { return 2; }
35482
35483 int
35484 main ()
35485 {
35486 two();
35487 ;
35488 return 0;
35489 }
35490 _ACEOF
35491 if ac_fn_c_try_link "$LINENO"; then :
35492 ac_gcsections=yes
35493 else
35494 ac_gcsections=no
35495 fi
35496 rm -f core conftest.err conftest.$ac_objext \
35497 conftest$ac_exeext conftest.$ac_ext
35498 if test "$ac_gcsections" = "yes"; then
35499 rm -f conftest.c
35500 touch conftest.c
35501 if $CC -c conftest.c; then
35502 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35503 grep "Warning: gc-sections option ignored" > /dev/null; then
35504 ac_gcsections=no
35505 fi
35506 fi
35507 rm -f conftest.c conftest.o conftest
35508 fi
35509 if test "$ac_gcsections" = "yes"; then
35510 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35511 fi
35512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35513 $as_echo "$ac_gcsections" >&6; }
35514
35515 if test "$ac_test_CFLAGS" = set; then
35516 CFLAGS="$ac_save_CFLAGS"
35517 else
35518 # this is the suspicious part
35519 CFLAGS=''
35520 fi
35521 fi
35522
35523 # Set -z,relro.
35524 # Note this is only for shared objects.
35525 ac_ld_relro=no
35526 if test x"$with_gnu_ld" = x"yes"; then
35527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35528 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35529 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35530 if test -n "$cxx_z_relo"; then
35531 OPT_LDFLAGS="-Wl,-z,relro"
35532 ac_ld_relro=yes
35533 fi
35534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35535 $as_echo "$ac_ld_relro" >&6; }
35536 fi
35537
35538 # Set linker optimization flags.
35539 if test x"$with_gnu_ld" = x"yes"; then
35540 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35541 fi
35542
35543
35544
35545
35546
35547 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35548 ac_save_CXXFLAGS="$CXXFLAGS"
35549 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35550
35551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35552 $as_echo_n "checking for sin in -lm... " >&6; }
35553 if ${ac_cv_lib_m_sin+:} false; then :
35554 $as_echo_n "(cached) " >&6
35555 else
35556 ac_check_lib_save_LIBS=$LIBS
35557 LIBS="-lm $LIBS"
35558 if test x$gcc_no_link = xyes; then
35559 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35560 fi
35561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35562 /* end confdefs.h. */
35563
35564 /* Override any GCC internal prototype to avoid an error.
35565 Use char because int might match the return type of a GCC
35566 builtin and then its argument prototype would still apply. */
35567 #ifdef __cplusplus
35568 extern "C"
35569 #endif
35570 char sin ();
35571 int
35572 main ()
35573 {
35574 return sin ();
35575 ;
35576 return 0;
35577 }
35578 _ACEOF
35579 if ac_fn_c_try_link "$LINENO"; then :
35580 ac_cv_lib_m_sin=yes
35581 else
35582 ac_cv_lib_m_sin=no
35583 fi
35584 rm -f core conftest.err conftest.$ac_objext \
35585 conftest$ac_exeext conftest.$ac_ext
35586 LIBS=$ac_check_lib_save_LIBS
35587 fi
35588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35589 $as_echo "$ac_cv_lib_m_sin" >&6; }
35590 if test "x$ac_cv_lib_m_sin" = xyes; then :
35591 libm="-lm"
35592 fi
35593
35594 ac_save_LIBS="$LIBS"
35595 LIBS="$LIBS $libm"
35596
35597
35598
35599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35600 $as_echo_n "checking for isinf declaration... " >&6; }
35601 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35602 if ${glibcxx_cv_func_isinf_use+:} false; then :
35603 $as_echo_n "(cached) " >&6
35604 else
35605
35606
35607 ac_ext=cpp
35608 ac_cpp='$CXXCPP $CPPFLAGS'
35609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35612
35613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35614 /* end confdefs.h. */
35615 #include <math.h>
35616 #ifdef HAVE_IEEEFP_H
35617 #include <ieeefp.h>
35618 #endif
35619
35620 int
35621 main ()
35622 {
35623 isinf(0);
35624 ;
35625 return 0;
35626 }
35627 _ACEOF
35628 if ac_fn_cxx_try_compile "$LINENO"; then :
35629 glibcxx_cv_func_isinf_use=yes
35630 else
35631 glibcxx_cv_func_isinf_use=no
35632 fi
35633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35634 ac_ext=c
35635 ac_cpp='$CPP $CPPFLAGS'
35636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35639
35640
35641 fi
35642
35643 fi
35644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35645 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35646
35647 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35648 for ac_func in isinf
35649 do :
35650 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35651 if test "x$ac_cv_func_isinf" = xyes; then :
35652 cat >>confdefs.h <<_ACEOF
35653 #define HAVE_ISINF 1
35654 _ACEOF
35655
35656 fi
35657 done
35658
35659 else
35660
35661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35662 $as_echo_n "checking for _isinf declaration... " >&6; }
35663 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35664 if ${glibcxx_cv_func__isinf_use+:} false; then :
35665 $as_echo_n "(cached) " >&6
35666 else
35667
35668
35669 ac_ext=cpp
35670 ac_cpp='$CXXCPP $CPPFLAGS'
35671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35674
35675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35676 /* end confdefs.h. */
35677 #include <math.h>
35678 #ifdef HAVE_IEEEFP_H
35679 #include <ieeefp.h>
35680 #endif
35681
35682 int
35683 main ()
35684 {
35685 _isinf(0);
35686 ;
35687 return 0;
35688 }
35689 _ACEOF
35690 if ac_fn_cxx_try_compile "$LINENO"; then :
35691 glibcxx_cv_func__isinf_use=yes
35692 else
35693 glibcxx_cv_func__isinf_use=no
35694 fi
35695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35696 ac_ext=c
35697 ac_cpp='$CPP $CPPFLAGS'
35698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35701
35702
35703 fi
35704
35705 fi
35706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35707 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35708
35709 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35710 for ac_func in _isinf
35711 do :
35712 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35713 if test "x$ac_cv_func__isinf" = xyes; then :
35714 cat >>confdefs.h <<_ACEOF
35715 #define HAVE__ISINF 1
35716 _ACEOF
35717
35718 fi
35719 done
35720
35721 fi
35722 fi
35723
35724
35725
35726
35727
35728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35729 $as_echo_n "checking for isnan declaration... " >&6; }
35730 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35731 if ${glibcxx_cv_func_isnan_use+:} false; then :
35732 $as_echo_n "(cached) " >&6
35733 else
35734
35735
35736 ac_ext=cpp
35737 ac_cpp='$CXXCPP $CPPFLAGS'
35738 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35739 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35740 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35741
35742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35743 /* end confdefs.h. */
35744 #include <math.h>
35745 #ifdef HAVE_IEEEFP_H
35746 #include <ieeefp.h>
35747 #endif
35748
35749 int
35750 main ()
35751 {
35752 isnan(0);
35753 ;
35754 return 0;
35755 }
35756 _ACEOF
35757 if ac_fn_cxx_try_compile "$LINENO"; then :
35758 glibcxx_cv_func_isnan_use=yes
35759 else
35760 glibcxx_cv_func_isnan_use=no
35761 fi
35762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35763 ac_ext=c
35764 ac_cpp='$CPP $CPPFLAGS'
35765 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35766 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35767 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35768
35769
35770 fi
35771
35772 fi
35773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35774 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35775
35776 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35777 for ac_func in isnan
35778 do :
35779 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35780 if test "x$ac_cv_func_isnan" = xyes; then :
35781 cat >>confdefs.h <<_ACEOF
35782 #define HAVE_ISNAN 1
35783 _ACEOF
35784
35785 fi
35786 done
35787
35788 else
35789
35790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35791 $as_echo_n "checking for _isnan declaration... " >&6; }
35792 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35793 if ${glibcxx_cv_func__isnan_use+:} false; then :
35794 $as_echo_n "(cached) " >&6
35795 else
35796
35797
35798 ac_ext=cpp
35799 ac_cpp='$CXXCPP $CPPFLAGS'
35800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35803
35804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35805 /* end confdefs.h. */
35806 #include <math.h>
35807 #ifdef HAVE_IEEEFP_H
35808 #include <ieeefp.h>
35809 #endif
35810
35811 int
35812 main ()
35813 {
35814 _isnan(0);
35815 ;
35816 return 0;
35817 }
35818 _ACEOF
35819 if ac_fn_cxx_try_compile "$LINENO"; then :
35820 glibcxx_cv_func__isnan_use=yes
35821 else
35822 glibcxx_cv_func__isnan_use=no
35823 fi
35824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35825 ac_ext=c
35826 ac_cpp='$CPP $CPPFLAGS'
35827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35830
35831
35832 fi
35833
35834 fi
35835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35836 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35837
35838 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35839 for ac_func in _isnan
35840 do :
35841 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35842 if test "x$ac_cv_func__isnan" = xyes; then :
35843 cat >>confdefs.h <<_ACEOF
35844 #define HAVE__ISNAN 1
35845 _ACEOF
35846
35847 fi
35848 done
35849
35850 fi
35851 fi
35852
35853
35854
35855
35856
35857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35858 $as_echo_n "checking for finite declaration... " >&6; }
35859 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35860 if ${glibcxx_cv_func_finite_use+:} false; then :
35861 $as_echo_n "(cached) " >&6
35862 else
35863
35864
35865 ac_ext=cpp
35866 ac_cpp='$CXXCPP $CPPFLAGS'
35867 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35868 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35869 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35870
35871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35872 /* end confdefs.h. */
35873 #include <math.h>
35874 #ifdef HAVE_IEEEFP_H
35875 #include <ieeefp.h>
35876 #endif
35877
35878 int
35879 main ()
35880 {
35881 finite(0);
35882 ;
35883 return 0;
35884 }
35885 _ACEOF
35886 if ac_fn_cxx_try_compile "$LINENO"; then :
35887 glibcxx_cv_func_finite_use=yes
35888 else
35889 glibcxx_cv_func_finite_use=no
35890 fi
35891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35892 ac_ext=c
35893 ac_cpp='$CPP $CPPFLAGS'
35894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35897
35898
35899 fi
35900
35901 fi
35902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35903 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35904
35905 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35906 for ac_func in finite
35907 do :
35908 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35909 if test "x$ac_cv_func_finite" = xyes; then :
35910 cat >>confdefs.h <<_ACEOF
35911 #define HAVE_FINITE 1
35912 _ACEOF
35913
35914 fi
35915 done
35916
35917 else
35918
35919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35920 $as_echo_n "checking for _finite declaration... " >&6; }
35921 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35922 if ${glibcxx_cv_func__finite_use+:} false; then :
35923 $as_echo_n "(cached) " >&6
35924 else
35925
35926
35927 ac_ext=cpp
35928 ac_cpp='$CXXCPP $CPPFLAGS'
35929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35932
35933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35934 /* end confdefs.h. */
35935 #include <math.h>
35936 #ifdef HAVE_IEEEFP_H
35937 #include <ieeefp.h>
35938 #endif
35939
35940 int
35941 main ()
35942 {
35943 _finite(0);
35944 ;
35945 return 0;
35946 }
35947 _ACEOF
35948 if ac_fn_cxx_try_compile "$LINENO"; then :
35949 glibcxx_cv_func__finite_use=yes
35950 else
35951 glibcxx_cv_func__finite_use=no
35952 fi
35953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35954 ac_ext=c
35955 ac_cpp='$CPP $CPPFLAGS'
35956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35959
35960
35961 fi
35962
35963 fi
35964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35965 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35966
35967 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35968 for ac_func in _finite
35969 do :
35970 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35971 if test "x$ac_cv_func__finite" = xyes; then :
35972 cat >>confdefs.h <<_ACEOF
35973 #define HAVE__FINITE 1
35974 _ACEOF
35975
35976 fi
35977 done
35978
35979 fi
35980 fi
35981
35982
35983
35984
35985
35986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35987 $as_echo_n "checking for sincos declaration... " >&6; }
35988 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35989 if ${glibcxx_cv_func_sincos_use+:} false; then :
35990 $as_echo_n "(cached) " >&6
35991 else
35992
35993
35994 ac_ext=cpp
35995 ac_cpp='$CXXCPP $CPPFLAGS'
35996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35999
36000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36001 /* end confdefs.h. */
36002 #include <math.h>
36003 int
36004 main ()
36005 {
36006 sincos(0, 0, 0);
36007 ;
36008 return 0;
36009 }
36010 _ACEOF
36011 if ac_fn_cxx_try_compile "$LINENO"; then :
36012 glibcxx_cv_func_sincos_use=yes
36013 else
36014 glibcxx_cv_func_sincos_use=no
36015 fi
36016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36017 ac_ext=c
36018 ac_cpp='$CPP $CPPFLAGS'
36019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36022
36023
36024 fi
36025
36026 fi
36027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36028 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36029
36030 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36031 for ac_func in sincos
36032 do :
36033 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36034 if test "x$ac_cv_func_sincos" = xyes; then :
36035 cat >>confdefs.h <<_ACEOF
36036 #define HAVE_SINCOS 1
36037 _ACEOF
36038
36039 fi
36040 done
36041
36042 else
36043
36044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36045 $as_echo_n "checking for _sincos declaration... " >&6; }
36046 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36047 if ${glibcxx_cv_func__sincos_use+:} false; then :
36048 $as_echo_n "(cached) " >&6
36049 else
36050
36051
36052 ac_ext=cpp
36053 ac_cpp='$CXXCPP $CPPFLAGS'
36054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36057
36058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36059 /* end confdefs.h. */
36060 #include <math.h>
36061 int
36062 main ()
36063 {
36064 _sincos(0, 0, 0);
36065 ;
36066 return 0;
36067 }
36068 _ACEOF
36069 if ac_fn_cxx_try_compile "$LINENO"; then :
36070 glibcxx_cv_func__sincos_use=yes
36071 else
36072 glibcxx_cv_func__sincos_use=no
36073 fi
36074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36075 ac_ext=c
36076 ac_cpp='$CPP $CPPFLAGS'
36077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36080
36081
36082 fi
36083
36084 fi
36085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36086 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36087
36088 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36089 for ac_func in _sincos
36090 do :
36091 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36092 if test "x$ac_cv_func__sincos" = xyes; then :
36093 cat >>confdefs.h <<_ACEOF
36094 #define HAVE__SINCOS 1
36095 _ACEOF
36096
36097 fi
36098 done
36099
36100 fi
36101 fi
36102
36103
36104
36105
36106
36107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36108 $as_echo_n "checking for fpclass declaration... " >&6; }
36109 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36110 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36111 $as_echo_n "(cached) " >&6
36112 else
36113
36114
36115 ac_ext=cpp
36116 ac_cpp='$CXXCPP $CPPFLAGS'
36117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36120
36121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36122 /* end confdefs.h. */
36123 #include <math.h>
36124 #ifdef HAVE_IEEEFP_H
36125 #include <ieeefp.h>
36126 #endif
36127
36128 int
36129 main ()
36130 {
36131 fpclass(0);
36132 ;
36133 return 0;
36134 }
36135 _ACEOF
36136 if ac_fn_cxx_try_compile "$LINENO"; then :
36137 glibcxx_cv_func_fpclass_use=yes
36138 else
36139 glibcxx_cv_func_fpclass_use=no
36140 fi
36141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36142 ac_ext=c
36143 ac_cpp='$CPP $CPPFLAGS'
36144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36147
36148
36149 fi
36150
36151 fi
36152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36153 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36154
36155 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36156 for ac_func in fpclass
36157 do :
36158 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36159 if test "x$ac_cv_func_fpclass" = xyes; then :
36160 cat >>confdefs.h <<_ACEOF
36161 #define HAVE_FPCLASS 1
36162 _ACEOF
36163
36164 fi
36165 done
36166
36167 else
36168
36169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36170 $as_echo_n "checking for _fpclass declaration... " >&6; }
36171 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36172 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36173 $as_echo_n "(cached) " >&6
36174 else
36175
36176
36177 ac_ext=cpp
36178 ac_cpp='$CXXCPP $CPPFLAGS'
36179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36182
36183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36184 /* end confdefs.h. */
36185 #include <math.h>
36186 #ifdef HAVE_IEEEFP_H
36187 #include <ieeefp.h>
36188 #endif
36189
36190 int
36191 main ()
36192 {
36193 _fpclass(0);
36194 ;
36195 return 0;
36196 }
36197 _ACEOF
36198 if ac_fn_cxx_try_compile "$LINENO"; then :
36199 glibcxx_cv_func__fpclass_use=yes
36200 else
36201 glibcxx_cv_func__fpclass_use=no
36202 fi
36203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36204 ac_ext=c
36205 ac_cpp='$CPP $CPPFLAGS'
36206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36209
36210
36211 fi
36212
36213 fi
36214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36215 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36216
36217 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36218 for ac_func in _fpclass
36219 do :
36220 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36221 if test "x$ac_cv_func__fpclass" = xyes; then :
36222 cat >>confdefs.h <<_ACEOF
36223 #define HAVE__FPCLASS 1
36224 _ACEOF
36225
36226 fi
36227 done
36228
36229 fi
36230 fi
36231
36232
36233
36234
36235
36236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36237 $as_echo_n "checking for qfpclass declaration... " >&6; }
36238 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36239 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36240 $as_echo_n "(cached) " >&6
36241 else
36242
36243
36244 ac_ext=cpp
36245 ac_cpp='$CXXCPP $CPPFLAGS'
36246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36249
36250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36251 /* end confdefs.h. */
36252 #include <math.h>
36253 #ifdef HAVE_IEEEFP_H
36254 #include <ieeefp.h>
36255 #endif
36256
36257 int
36258 main ()
36259 {
36260 qfpclass(0);
36261 ;
36262 return 0;
36263 }
36264 _ACEOF
36265 if ac_fn_cxx_try_compile "$LINENO"; then :
36266 glibcxx_cv_func_qfpclass_use=yes
36267 else
36268 glibcxx_cv_func_qfpclass_use=no
36269 fi
36270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36271 ac_ext=c
36272 ac_cpp='$CPP $CPPFLAGS'
36273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36276
36277
36278 fi
36279
36280 fi
36281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36282 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36283
36284 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36285 for ac_func in qfpclass
36286 do :
36287 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36288 if test "x$ac_cv_func_qfpclass" = xyes; then :
36289 cat >>confdefs.h <<_ACEOF
36290 #define HAVE_QFPCLASS 1
36291 _ACEOF
36292
36293 fi
36294 done
36295
36296 else
36297
36298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36299 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36300 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36301 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36302 $as_echo_n "(cached) " >&6
36303 else
36304
36305
36306 ac_ext=cpp
36307 ac_cpp='$CXXCPP $CPPFLAGS'
36308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36311
36312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36313 /* end confdefs.h. */
36314 #include <math.h>
36315 #ifdef HAVE_IEEEFP_H
36316 #include <ieeefp.h>
36317 #endif
36318
36319 int
36320 main ()
36321 {
36322 _qfpclass(0);
36323 ;
36324 return 0;
36325 }
36326 _ACEOF
36327 if ac_fn_cxx_try_compile "$LINENO"; then :
36328 glibcxx_cv_func__qfpclass_use=yes
36329 else
36330 glibcxx_cv_func__qfpclass_use=no
36331 fi
36332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36333 ac_ext=c
36334 ac_cpp='$CPP $CPPFLAGS'
36335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36338
36339
36340 fi
36341
36342 fi
36343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36344 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36345
36346 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36347 for ac_func in _qfpclass
36348 do :
36349 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36350 if test "x$ac_cv_func__qfpclass" = xyes; then :
36351 cat >>confdefs.h <<_ACEOF
36352 #define HAVE__QFPCLASS 1
36353 _ACEOF
36354
36355 fi
36356 done
36357
36358 fi
36359 fi
36360
36361
36362
36363
36364
36365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36366 $as_echo_n "checking for hypot declaration... " >&6; }
36367 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36368 if ${glibcxx_cv_func_hypot_use+:} false; then :
36369 $as_echo_n "(cached) " >&6
36370 else
36371
36372
36373 ac_ext=cpp
36374 ac_cpp='$CXXCPP $CPPFLAGS'
36375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36378
36379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36380 /* end confdefs.h. */
36381 #include <math.h>
36382 int
36383 main ()
36384 {
36385 hypot(0, 0);
36386 ;
36387 return 0;
36388 }
36389 _ACEOF
36390 if ac_fn_cxx_try_compile "$LINENO"; then :
36391 glibcxx_cv_func_hypot_use=yes
36392 else
36393 glibcxx_cv_func_hypot_use=no
36394 fi
36395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36396 ac_ext=c
36397 ac_cpp='$CPP $CPPFLAGS'
36398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36401
36402
36403 fi
36404
36405 fi
36406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36407 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36408
36409 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36410 for ac_func in hypot
36411 do :
36412 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36413 if test "x$ac_cv_func_hypot" = xyes; then :
36414 cat >>confdefs.h <<_ACEOF
36415 #define HAVE_HYPOT 1
36416 _ACEOF
36417
36418 fi
36419 done
36420
36421 else
36422
36423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36424 $as_echo_n "checking for _hypot declaration... " >&6; }
36425 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36426 if ${glibcxx_cv_func__hypot_use+:} false; then :
36427 $as_echo_n "(cached) " >&6
36428 else
36429
36430
36431 ac_ext=cpp
36432 ac_cpp='$CXXCPP $CPPFLAGS'
36433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36436
36437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36438 /* end confdefs.h. */
36439 #include <math.h>
36440 int
36441 main ()
36442 {
36443 _hypot(0, 0);
36444 ;
36445 return 0;
36446 }
36447 _ACEOF
36448 if ac_fn_cxx_try_compile "$LINENO"; then :
36449 glibcxx_cv_func__hypot_use=yes
36450 else
36451 glibcxx_cv_func__hypot_use=no
36452 fi
36453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36454 ac_ext=c
36455 ac_cpp='$CPP $CPPFLAGS'
36456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36459
36460
36461 fi
36462
36463 fi
36464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36465 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36466
36467 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36468 for ac_func in _hypot
36469 do :
36470 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36471 if test "x$ac_cv_func__hypot" = xyes; then :
36472 cat >>confdefs.h <<_ACEOF
36473 #define HAVE__HYPOT 1
36474 _ACEOF
36475
36476 fi
36477 done
36478
36479 fi
36480 fi
36481
36482
36483
36484
36485
36486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36487 $as_echo_n "checking for float trig functions... " >&6; }
36488 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36489 $as_echo_n "(cached) " >&6
36490 else
36491
36492
36493 ac_ext=cpp
36494 ac_cpp='$CXXCPP $CPPFLAGS'
36495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36498
36499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36500 /* end confdefs.h. */
36501 #include <math.h>
36502 int
36503 main ()
36504 {
36505 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36506 ;
36507 return 0;
36508 }
36509 _ACEOF
36510 if ac_fn_cxx_try_compile "$LINENO"; then :
36511 glibcxx_cv_func_float_trig_use=yes
36512 else
36513 glibcxx_cv_func_float_trig_use=no
36514 fi
36515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36516 ac_ext=c
36517 ac_cpp='$CPP $CPPFLAGS'
36518 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36519 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36520 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36521
36522 fi
36523
36524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36525 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36526 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36527 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36528 do :
36529 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36530 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36531 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36532 cat >>confdefs.h <<_ACEOF
36533 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36534 _ACEOF
36535
36536 fi
36537 done
36538
36539 else
36540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36541 $as_echo_n "checking for _float trig functions... " >&6; }
36542 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36543 $as_echo_n "(cached) " >&6
36544 else
36545
36546
36547 ac_ext=cpp
36548 ac_cpp='$CXXCPP $CPPFLAGS'
36549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36552
36553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36554 /* end confdefs.h. */
36555 #include <math.h>
36556 int
36557 main ()
36558 {
36559 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36560 ;
36561 return 0;
36562 }
36563 _ACEOF
36564 if ac_fn_cxx_try_compile "$LINENO"; then :
36565 glibcxx_cv_func__float_trig_use=yes
36566 else
36567 glibcxx_cv_func__float_trig_use=no
36568 fi
36569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36570 ac_ext=c
36571 ac_cpp='$CPP $CPPFLAGS'
36572 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36573 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36574 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36575
36576 fi
36577
36578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36579 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36580 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36581 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36582 do :
36583 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36584 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36585 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36586 cat >>confdefs.h <<_ACEOF
36587 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36588 _ACEOF
36589
36590 fi
36591 done
36592
36593 fi
36594 fi
36595
36596
36597
36598
36599
36600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36601 $as_echo_n "checking for float round functions... " >&6; }
36602 if ${glibcxx_cv_func_float_round_use+:} false; then :
36603 $as_echo_n "(cached) " >&6
36604 else
36605
36606
36607 ac_ext=cpp
36608 ac_cpp='$CXXCPP $CPPFLAGS'
36609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36612
36613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36614 /* end confdefs.h. */
36615 #include <math.h>
36616 int
36617 main ()
36618 {
36619 ceilf (0); floorf (0);
36620 ;
36621 return 0;
36622 }
36623 _ACEOF
36624 if ac_fn_cxx_try_compile "$LINENO"; then :
36625 glibcxx_cv_func_float_round_use=yes
36626 else
36627 glibcxx_cv_func_float_round_use=no
36628 fi
36629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36630 ac_ext=c
36631 ac_cpp='$CPP $CPPFLAGS'
36632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36635
36636 fi
36637
36638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36639 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36640 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36641 for ac_func in ceilf floorf
36642 do :
36643 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36644 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36645 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36646 cat >>confdefs.h <<_ACEOF
36647 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36648 _ACEOF
36649
36650 fi
36651 done
36652
36653 else
36654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36655 $as_echo_n "checking for _float round functions... " >&6; }
36656 if ${glibcxx_cv_func__float_round_use+:} false; then :
36657 $as_echo_n "(cached) " >&6
36658 else
36659
36660
36661 ac_ext=cpp
36662 ac_cpp='$CXXCPP $CPPFLAGS'
36663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36666
36667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36668 /* end confdefs.h. */
36669 #include <math.h>
36670 int
36671 main ()
36672 {
36673 _ceilf (0); _floorf (0);
36674 ;
36675 return 0;
36676 }
36677 _ACEOF
36678 if ac_fn_cxx_try_compile "$LINENO"; then :
36679 glibcxx_cv_func__float_round_use=yes
36680 else
36681 glibcxx_cv_func__float_round_use=no
36682 fi
36683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36684 ac_ext=c
36685 ac_cpp='$CPP $CPPFLAGS'
36686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36689
36690 fi
36691
36692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36693 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36694 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36695 for ac_func in _ceilf _floorf
36696 do :
36697 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36698 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36699 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36700 cat >>confdefs.h <<_ACEOF
36701 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36702 _ACEOF
36703
36704 fi
36705 done
36706
36707 fi
36708 fi
36709
36710
36711
36712
36713
36714
36715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36716 $as_echo_n "checking for expf declaration... " >&6; }
36717 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36718 if ${glibcxx_cv_func_expf_use+:} false; then :
36719 $as_echo_n "(cached) " >&6
36720 else
36721
36722
36723 ac_ext=cpp
36724 ac_cpp='$CXXCPP $CPPFLAGS'
36725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36728
36729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36730 /* end confdefs.h. */
36731 #include <math.h>
36732 #ifdef HAVE_IEEEFP_H
36733 #include <ieeefp.h>
36734 #endif
36735
36736 int
36737 main ()
36738 {
36739 expf(0);
36740 ;
36741 return 0;
36742 }
36743 _ACEOF
36744 if ac_fn_cxx_try_compile "$LINENO"; then :
36745 glibcxx_cv_func_expf_use=yes
36746 else
36747 glibcxx_cv_func_expf_use=no
36748 fi
36749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36750 ac_ext=c
36751 ac_cpp='$CPP $CPPFLAGS'
36752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36755
36756
36757 fi
36758
36759 fi
36760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36761 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36762
36763 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36764 for ac_func in expf
36765 do :
36766 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36767 if test "x$ac_cv_func_expf" = xyes; then :
36768 cat >>confdefs.h <<_ACEOF
36769 #define HAVE_EXPF 1
36770 _ACEOF
36771
36772 fi
36773 done
36774
36775 else
36776
36777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36778 $as_echo_n "checking for _expf declaration... " >&6; }
36779 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36780 if ${glibcxx_cv_func__expf_use+:} false; then :
36781 $as_echo_n "(cached) " >&6
36782 else
36783
36784
36785 ac_ext=cpp
36786 ac_cpp='$CXXCPP $CPPFLAGS'
36787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36790
36791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36792 /* end confdefs.h. */
36793 #include <math.h>
36794 #ifdef HAVE_IEEEFP_H
36795 #include <ieeefp.h>
36796 #endif
36797
36798 int
36799 main ()
36800 {
36801 _expf(0);
36802 ;
36803 return 0;
36804 }
36805 _ACEOF
36806 if ac_fn_cxx_try_compile "$LINENO"; then :
36807 glibcxx_cv_func__expf_use=yes
36808 else
36809 glibcxx_cv_func__expf_use=no
36810 fi
36811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36812 ac_ext=c
36813 ac_cpp='$CPP $CPPFLAGS'
36814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36817
36818
36819 fi
36820
36821 fi
36822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36823 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36824
36825 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36826 for ac_func in _expf
36827 do :
36828 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36829 if test "x$ac_cv_func__expf" = xyes; then :
36830 cat >>confdefs.h <<_ACEOF
36831 #define HAVE__EXPF 1
36832 _ACEOF
36833
36834 fi
36835 done
36836
36837 fi
36838 fi
36839
36840
36841
36842
36843
36844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36845 $as_echo_n "checking for isnanf declaration... " >&6; }
36846 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36847 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36848 $as_echo_n "(cached) " >&6
36849 else
36850
36851
36852 ac_ext=cpp
36853 ac_cpp='$CXXCPP $CPPFLAGS'
36854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36857
36858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36859 /* end confdefs.h. */
36860 #include <math.h>
36861 #ifdef HAVE_IEEEFP_H
36862 #include <ieeefp.h>
36863 #endif
36864
36865 int
36866 main ()
36867 {
36868 isnanf(0);
36869 ;
36870 return 0;
36871 }
36872 _ACEOF
36873 if ac_fn_cxx_try_compile "$LINENO"; then :
36874 glibcxx_cv_func_isnanf_use=yes
36875 else
36876 glibcxx_cv_func_isnanf_use=no
36877 fi
36878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36879 ac_ext=c
36880 ac_cpp='$CPP $CPPFLAGS'
36881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36884
36885
36886 fi
36887
36888 fi
36889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36890 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36891
36892 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36893 for ac_func in isnanf
36894 do :
36895 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36896 if test "x$ac_cv_func_isnanf" = xyes; then :
36897 cat >>confdefs.h <<_ACEOF
36898 #define HAVE_ISNANF 1
36899 _ACEOF
36900
36901 fi
36902 done
36903
36904 else
36905
36906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36907 $as_echo_n "checking for _isnanf declaration... " >&6; }
36908 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36909 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36910 $as_echo_n "(cached) " >&6
36911 else
36912
36913
36914 ac_ext=cpp
36915 ac_cpp='$CXXCPP $CPPFLAGS'
36916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36919
36920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36921 /* end confdefs.h. */
36922 #include <math.h>
36923 #ifdef HAVE_IEEEFP_H
36924 #include <ieeefp.h>
36925 #endif
36926
36927 int
36928 main ()
36929 {
36930 _isnanf(0);
36931 ;
36932 return 0;
36933 }
36934 _ACEOF
36935 if ac_fn_cxx_try_compile "$LINENO"; then :
36936 glibcxx_cv_func__isnanf_use=yes
36937 else
36938 glibcxx_cv_func__isnanf_use=no
36939 fi
36940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36941 ac_ext=c
36942 ac_cpp='$CPP $CPPFLAGS'
36943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36946
36947
36948 fi
36949
36950 fi
36951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36952 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36953
36954 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36955 for ac_func in _isnanf
36956 do :
36957 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36958 if test "x$ac_cv_func__isnanf" = xyes; then :
36959 cat >>confdefs.h <<_ACEOF
36960 #define HAVE__ISNANF 1
36961 _ACEOF
36962
36963 fi
36964 done
36965
36966 fi
36967 fi
36968
36969
36970
36971
36972
36973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36974 $as_echo_n "checking for isinff declaration... " >&6; }
36975 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36976 if ${glibcxx_cv_func_isinff_use+:} false; then :
36977 $as_echo_n "(cached) " >&6
36978 else
36979
36980
36981 ac_ext=cpp
36982 ac_cpp='$CXXCPP $CPPFLAGS'
36983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36986
36987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36988 /* end confdefs.h. */
36989 #include <math.h>
36990 #ifdef HAVE_IEEEFP_H
36991 #include <ieeefp.h>
36992 #endif
36993
36994 int
36995 main ()
36996 {
36997 isinff(0);
36998 ;
36999 return 0;
37000 }
37001 _ACEOF
37002 if ac_fn_cxx_try_compile "$LINENO"; then :
37003 glibcxx_cv_func_isinff_use=yes
37004 else
37005 glibcxx_cv_func_isinff_use=no
37006 fi
37007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37008 ac_ext=c
37009 ac_cpp='$CPP $CPPFLAGS'
37010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37013
37014
37015 fi
37016
37017 fi
37018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37019 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37020
37021 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37022 for ac_func in isinff
37023 do :
37024 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37025 if test "x$ac_cv_func_isinff" = xyes; then :
37026 cat >>confdefs.h <<_ACEOF
37027 #define HAVE_ISINFF 1
37028 _ACEOF
37029
37030 fi
37031 done
37032
37033 else
37034
37035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37036 $as_echo_n "checking for _isinff declaration... " >&6; }
37037 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37038 if ${glibcxx_cv_func__isinff_use+:} false; then :
37039 $as_echo_n "(cached) " >&6
37040 else
37041
37042
37043 ac_ext=cpp
37044 ac_cpp='$CXXCPP $CPPFLAGS'
37045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37048
37049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37050 /* end confdefs.h. */
37051 #include <math.h>
37052 #ifdef HAVE_IEEEFP_H
37053 #include <ieeefp.h>
37054 #endif
37055
37056 int
37057 main ()
37058 {
37059 _isinff(0);
37060 ;
37061 return 0;
37062 }
37063 _ACEOF
37064 if ac_fn_cxx_try_compile "$LINENO"; then :
37065 glibcxx_cv_func__isinff_use=yes
37066 else
37067 glibcxx_cv_func__isinff_use=no
37068 fi
37069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37070 ac_ext=c
37071 ac_cpp='$CPP $CPPFLAGS'
37072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37075
37076
37077 fi
37078
37079 fi
37080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37081 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37082
37083 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37084 for ac_func in _isinff
37085 do :
37086 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37087 if test "x$ac_cv_func__isinff" = xyes; then :
37088 cat >>confdefs.h <<_ACEOF
37089 #define HAVE__ISINFF 1
37090 _ACEOF
37091
37092 fi
37093 done
37094
37095 fi
37096 fi
37097
37098
37099
37100
37101
37102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37103 $as_echo_n "checking for atan2f declaration... " >&6; }
37104 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37105 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37106 $as_echo_n "(cached) " >&6
37107 else
37108
37109
37110 ac_ext=cpp
37111 ac_cpp='$CXXCPP $CPPFLAGS'
37112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37115
37116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37117 /* end confdefs.h. */
37118 #include <math.h>
37119 int
37120 main ()
37121 {
37122 atan2f(0, 0);
37123 ;
37124 return 0;
37125 }
37126 _ACEOF
37127 if ac_fn_cxx_try_compile "$LINENO"; then :
37128 glibcxx_cv_func_atan2f_use=yes
37129 else
37130 glibcxx_cv_func_atan2f_use=no
37131 fi
37132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37133 ac_ext=c
37134 ac_cpp='$CPP $CPPFLAGS'
37135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37138
37139
37140 fi
37141
37142 fi
37143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37144 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37145
37146 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37147 for ac_func in atan2f
37148 do :
37149 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37150 if test "x$ac_cv_func_atan2f" = xyes; then :
37151 cat >>confdefs.h <<_ACEOF
37152 #define HAVE_ATAN2F 1
37153 _ACEOF
37154
37155 fi
37156 done
37157
37158 else
37159
37160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37161 $as_echo_n "checking for _atan2f declaration... " >&6; }
37162 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37163 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37164 $as_echo_n "(cached) " >&6
37165 else
37166
37167
37168 ac_ext=cpp
37169 ac_cpp='$CXXCPP $CPPFLAGS'
37170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37173
37174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37175 /* end confdefs.h. */
37176 #include <math.h>
37177 int
37178 main ()
37179 {
37180 _atan2f(0, 0);
37181 ;
37182 return 0;
37183 }
37184 _ACEOF
37185 if ac_fn_cxx_try_compile "$LINENO"; then :
37186 glibcxx_cv_func__atan2f_use=yes
37187 else
37188 glibcxx_cv_func__atan2f_use=no
37189 fi
37190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37191 ac_ext=c
37192 ac_cpp='$CPP $CPPFLAGS'
37193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37196
37197
37198 fi
37199
37200 fi
37201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37202 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37203
37204 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37205 for ac_func in _atan2f
37206 do :
37207 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37208 if test "x$ac_cv_func__atan2f" = xyes; then :
37209 cat >>confdefs.h <<_ACEOF
37210 #define HAVE__ATAN2F 1
37211 _ACEOF
37212
37213 fi
37214 done
37215
37216 fi
37217 fi
37218
37219
37220
37221
37222
37223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37224 $as_echo_n "checking for fabsf declaration... " >&6; }
37225 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37226 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37227 $as_echo_n "(cached) " >&6
37228 else
37229
37230
37231 ac_ext=cpp
37232 ac_cpp='$CXXCPP $CPPFLAGS'
37233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37236
37237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37238 /* end confdefs.h. */
37239 #include <math.h>
37240 #ifdef HAVE_IEEEFP_H
37241 #include <ieeefp.h>
37242 #endif
37243
37244 int
37245 main ()
37246 {
37247 fabsf(0);
37248 ;
37249 return 0;
37250 }
37251 _ACEOF
37252 if ac_fn_cxx_try_compile "$LINENO"; then :
37253 glibcxx_cv_func_fabsf_use=yes
37254 else
37255 glibcxx_cv_func_fabsf_use=no
37256 fi
37257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37258 ac_ext=c
37259 ac_cpp='$CPP $CPPFLAGS'
37260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37263
37264
37265 fi
37266
37267 fi
37268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37269 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37270
37271 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37272 for ac_func in fabsf
37273 do :
37274 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37275 if test "x$ac_cv_func_fabsf" = xyes; then :
37276 cat >>confdefs.h <<_ACEOF
37277 #define HAVE_FABSF 1
37278 _ACEOF
37279
37280 fi
37281 done
37282
37283 else
37284
37285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37286 $as_echo_n "checking for _fabsf declaration... " >&6; }
37287 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37288 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37289 $as_echo_n "(cached) " >&6
37290 else
37291
37292
37293 ac_ext=cpp
37294 ac_cpp='$CXXCPP $CPPFLAGS'
37295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37298
37299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37300 /* end confdefs.h. */
37301 #include <math.h>
37302 #ifdef HAVE_IEEEFP_H
37303 #include <ieeefp.h>
37304 #endif
37305
37306 int
37307 main ()
37308 {
37309 _fabsf(0);
37310 ;
37311 return 0;
37312 }
37313 _ACEOF
37314 if ac_fn_cxx_try_compile "$LINENO"; then :
37315 glibcxx_cv_func__fabsf_use=yes
37316 else
37317 glibcxx_cv_func__fabsf_use=no
37318 fi
37319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37320 ac_ext=c
37321 ac_cpp='$CPP $CPPFLAGS'
37322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37325
37326
37327 fi
37328
37329 fi
37330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37331 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37332
37333 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37334 for ac_func in _fabsf
37335 do :
37336 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37337 if test "x$ac_cv_func__fabsf" = xyes; then :
37338 cat >>confdefs.h <<_ACEOF
37339 #define HAVE__FABSF 1
37340 _ACEOF
37341
37342 fi
37343 done
37344
37345 fi
37346 fi
37347
37348
37349
37350
37351
37352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37353 $as_echo_n "checking for fmodf declaration... " >&6; }
37354 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37355 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37356 $as_echo_n "(cached) " >&6
37357 else
37358
37359
37360 ac_ext=cpp
37361 ac_cpp='$CXXCPP $CPPFLAGS'
37362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37365
37366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37367 /* end confdefs.h. */
37368 #include <math.h>
37369 int
37370 main ()
37371 {
37372 fmodf(0, 0);
37373 ;
37374 return 0;
37375 }
37376 _ACEOF
37377 if ac_fn_cxx_try_compile "$LINENO"; then :
37378 glibcxx_cv_func_fmodf_use=yes
37379 else
37380 glibcxx_cv_func_fmodf_use=no
37381 fi
37382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37383 ac_ext=c
37384 ac_cpp='$CPP $CPPFLAGS'
37385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37388
37389
37390 fi
37391
37392 fi
37393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37394 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37395
37396 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37397 for ac_func in fmodf
37398 do :
37399 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37400 if test "x$ac_cv_func_fmodf" = xyes; then :
37401 cat >>confdefs.h <<_ACEOF
37402 #define HAVE_FMODF 1
37403 _ACEOF
37404
37405 fi
37406 done
37407
37408 else
37409
37410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37411 $as_echo_n "checking for _fmodf declaration... " >&6; }
37412 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37413 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37414 $as_echo_n "(cached) " >&6
37415 else
37416
37417
37418 ac_ext=cpp
37419 ac_cpp='$CXXCPP $CPPFLAGS'
37420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37423
37424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37425 /* end confdefs.h. */
37426 #include <math.h>
37427 int
37428 main ()
37429 {
37430 _fmodf(0, 0);
37431 ;
37432 return 0;
37433 }
37434 _ACEOF
37435 if ac_fn_cxx_try_compile "$LINENO"; then :
37436 glibcxx_cv_func__fmodf_use=yes
37437 else
37438 glibcxx_cv_func__fmodf_use=no
37439 fi
37440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37441 ac_ext=c
37442 ac_cpp='$CPP $CPPFLAGS'
37443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37446
37447
37448 fi
37449
37450 fi
37451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37452 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37453
37454 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37455 for ac_func in _fmodf
37456 do :
37457 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37458 if test "x$ac_cv_func__fmodf" = xyes; then :
37459 cat >>confdefs.h <<_ACEOF
37460 #define HAVE__FMODF 1
37461 _ACEOF
37462
37463 fi
37464 done
37465
37466 fi
37467 fi
37468
37469
37470
37471
37472
37473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37474 $as_echo_n "checking for frexpf declaration... " >&6; }
37475 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37476 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37477 $as_echo_n "(cached) " >&6
37478 else
37479
37480
37481 ac_ext=cpp
37482 ac_cpp='$CXXCPP $CPPFLAGS'
37483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37486
37487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37488 /* end confdefs.h. */
37489 #include <math.h>
37490 int
37491 main ()
37492 {
37493 frexpf(0, 0);
37494 ;
37495 return 0;
37496 }
37497 _ACEOF
37498 if ac_fn_cxx_try_compile "$LINENO"; then :
37499 glibcxx_cv_func_frexpf_use=yes
37500 else
37501 glibcxx_cv_func_frexpf_use=no
37502 fi
37503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37504 ac_ext=c
37505 ac_cpp='$CPP $CPPFLAGS'
37506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37509
37510
37511 fi
37512
37513 fi
37514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37515 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37516
37517 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37518 for ac_func in frexpf
37519 do :
37520 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37521 if test "x$ac_cv_func_frexpf" = xyes; then :
37522 cat >>confdefs.h <<_ACEOF
37523 #define HAVE_FREXPF 1
37524 _ACEOF
37525
37526 fi
37527 done
37528
37529 else
37530
37531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37532 $as_echo_n "checking for _frexpf declaration... " >&6; }
37533 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37534 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37535 $as_echo_n "(cached) " >&6
37536 else
37537
37538
37539 ac_ext=cpp
37540 ac_cpp='$CXXCPP $CPPFLAGS'
37541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37544
37545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37546 /* end confdefs.h. */
37547 #include <math.h>
37548 int
37549 main ()
37550 {
37551 _frexpf(0, 0);
37552 ;
37553 return 0;
37554 }
37555 _ACEOF
37556 if ac_fn_cxx_try_compile "$LINENO"; then :
37557 glibcxx_cv_func__frexpf_use=yes
37558 else
37559 glibcxx_cv_func__frexpf_use=no
37560 fi
37561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37562 ac_ext=c
37563 ac_cpp='$CPP $CPPFLAGS'
37564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37567
37568
37569 fi
37570
37571 fi
37572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37573 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37574
37575 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37576 for ac_func in _frexpf
37577 do :
37578 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37579 if test "x$ac_cv_func__frexpf" = xyes; then :
37580 cat >>confdefs.h <<_ACEOF
37581 #define HAVE__FREXPF 1
37582 _ACEOF
37583
37584 fi
37585 done
37586
37587 fi
37588 fi
37589
37590
37591
37592
37593
37594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37595 $as_echo_n "checking for hypotf declaration... " >&6; }
37596 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37597 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37598 $as_echo_n "(cached) " >&6
37599 else
37600
37601
37602 ac_ext=cpp
37603 ac_cpp='$CXXCPP $CPPFLAGS'
37604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37607
37608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37609 /* end confdefs.h. */
37610 #include <math.h>
37611 int
37612 main ()
37613 {
37614 hypotf(0, 0);
37615 ;
37616 return 0;
37617 }
37618 _ACEOF
37619 if ac_fn_cxx_try_compile "$LINENO"; then :
37620 glibcxx_cv_func_hypotf_use=yes
37621 else
37622 glibcxx_cv_func_hypotf_use=no
37623 fi
37624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37625 ac_ext=c
37626 ac_cpp='$CPP $CPPFLAGS'
37627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37630
37631
37632 fi
37633
37634 fi
37635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37636 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37637
37638 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37639 for ac_func in hypotf
37640 do :
37641 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37642 if test "x$ac_cv_func_hypotf" = xyes; then :
37643 cat >>confdefs.h <<_ACEOF
37644 #define HAVE_HYPOTF 1
37645 _ACEOF
37646
37647 fi
37648 done
37649
37650 else
37651
37652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37653 $as_echo_n "checking for _hypotf declaration... " >&6; }
37654 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37655 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37656 $as_echo_n "(cached) " >&6
37657 else
37658
37659
37660 ac_ext=cpp
37661 ac_cpp='$CXXCPP $CPPFLAGS'
37662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37665
37666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37667 /* end confdefs.h. */
37668 #include <math.h>
37669 int
37670 main ()
37671 {
37672 _hypotf(0, 0);
37673 ;
37674 return 0;
37675 }
37676 _ACEOF
37677 if ac_fn_cxx_try_compile "$LINENO"; then :
37678 glibcxx_cv_func__hypotf_use=yes
37679 else
37680 glibcxx_cv_func__hypotf_use=no
37681 fi
37682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37683 ac_ext=c
37684 ac_cpp='$CPP $CPPFLAGS'
37685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37688
37689
37690 fi
37691
37692 fi
37693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37694 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37695
37696 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37697 for ac_func in _hypotf
37698 do :
37699 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37700 if test "x$ac_cv_func__hypotf" = xyes; then :
37701 cat >>confdefs.h <<_ACEOF
37702 #define HAVE__HYPOTF 1
37703 _ACEOF
37704
37705 fi
37706 done
37707
37708 fi
37709 fi
37710
37711
37712
37713
37714
37715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37716 $as_echo_n "checking for ldexpf declaration... " >&6; }
37717 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37718 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37719 $as_echo_n "(cached) " >&6
37720 else
37721
37722
37723 ac_ext=cpp
37724 ac_cpp='$CXXCPP $CPPFLAGS'
37725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37728
37729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37730 /* end confdefs.h. */
37731 #include <math.h>
37732 int
37733 main ()
37734 {
37735 ldexpf(0, 0);
37736 ;
37737 return 0;
37738 }
37739 _ACEOF
37740 if ac_fn_cxx_try_compile "$LINENO"; then :
37741 glibcxx_cv_func_ldexpf_use=yes
37742 else
37743 glibcxx_cv_func_ldexpf_use=no
37744 fi
37745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37746 ac_ext=c
37747 ac_cpp='$CPP $CPPFLAGS'
37748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37751
37752
37753 fi
37754
37755 fi
37756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37757 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37758
37759 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37760 for ac_func in ldexpf
37761 do :
37762 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37763 if test "x$ac_cv_func_ldexpf" = xyes; then :
37764 cat >>confdefs.h <<_ACEOF
37765 #define HAVE_LDEXPF 1
37766 _ACEOF
37767
37768 fi
37769 done
37770
37771 else
37772
37773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37774 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37775 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37776 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37777 $as_echo_n "(cached) " >&6
37778 else
37779
37780
37781 ac_ext=cpp
37782 ac_cpp='$CXXCPP $CPPFLAGS'
37783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37786
37787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37788 /* end confdefs.h. */
37789 #include <math.h>
37790 int
37791 main ()
37792 {
37793 _ldexpf(0, 0);
37794 ;
37795 return 0;
37796 }
37797 _ACEOF
37798 if ac_fn_cxx_try_compile "$LINENO"; then :
37799 glibcxx_cv_func__ldexpf_use=yes
37800 else
37801 glibcxx_cv_func__ldexpf_use=no
37802 fi
37803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37804 ac_ext=c
37805 ac_cpp='$CPP $CPPFLAGS'
37806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37809
37810
37811 fi
37812
37813 fi
37814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37815 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37816
37817 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37818 for ac_func in _ldexpf
37819 do :
37820 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37821 if test "x$ac_cv_func__ldexpf" = xyes; then :
37822 cat >>confdefs.h <<_ACEOF
37823 #define HAVE__LDEXPF 1
37824 _ACEOF
37825
37826 fi
37827 done
37828
37829 fi
37830 fi
37831
37832
37833
37834
37835
37836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37837 $as_echo_n "checking for logf declaration... " >&6; }
37838 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37839 if ${glibcxx_cv_func_logf_use+:} false; then :
37840 $as_echo_n "(cached) " >&6
37841 else
37842
37843
37844 ac_ext=cpp
37845 ac_cpp='$CXXCPP $CPPFLAGS'
37846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37849
37850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37851 /* end confdefs.h. */
37852 #include <math.h>
37853 #ifdef HAVE_IEEEFP_H
37854 #include <ieeefp.h>
37855 #endif
37856
37857 int
37858 main ()
37859 {
37860 logf(0);
37861 ;
37862 return 0;
37863 }
37864 _ACEOF
37865 if ac_fn_cxx_try_compile "$LINENO"; then :
37866 glibcxx_cv_func_logf_use=yes
37867 else
37868 glibcxx_cv_func_logf_use=no
37869 fi
37870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37871 ac_ext=c
37872 ac_cpp='$CPP $CPPFLAGS'
37873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37876
37877
37878 fi
37879
37880 fi
37881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37882 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37883
37884 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37885 for ac_func in logf
37886 do :
37887 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37888 if test "x$ac_cv_func_logf" = xyes; then :
37889 cat >>confdefs.h <<_ACEOF
37890 #define HAVE_LOGF 1
37891 _ACEOF
37892
37893 fi
37894 done
37895
37896 else
37897
37898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37899 $as_echo_n "checking for _logf declaration... " >&6; }
37900 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37901 if ${glibcxx_cv_func__logf_use+:} false; then :
37902 $as_echo_n "(cached) " >&6
37903 else
37904
37905
37906 ac_ext=cpp
37907 ac_cpp='$CXXCPP $CPPFLAGS'
37908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37911
37912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37913 /* end confdefs.h. */
37914 #include <math.h>
37915 #ifdef HAVE_IEEEFP_H
37916 #include <ieeefp.h>
37917 #endif
37918
37919 int
37920 main ()
37921 {
37922 _logf(0);
37923 ;
37924 return 0;
37925 }
37926 _ACEOF
37927 if ac_fn_cxx_try_compile "$LINENO"; then :
37928 glibcxx_cv_func__logf_use=yes
37929 else
37930 glibcxx_cv_func__logf_use=no
37931 fi
37932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37933 ac_ext=c
37934 ac_cpp='$CPP $CPPFLAGS'
37935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37938
37939
37940 fi
37941
37942 fi
37943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37944 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37945
37946 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37947 for ac_func in _logf
37948 do :
37949 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37950 if test "x$ac_cv_func__logf" = xyes; then :
37951 cat >>confdefs.h <<_ACEOF
37952 #define HAVE__LOGF 1
37953 _ACEOF
37954
37955 fi
37956 done
37957
37958 fi
37959 fi
37960
37961
37962
37963
37964
37965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37966 $as_echo_n "checking for log10f declaration... " >&6; }
37967 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37968 if ${glibcxx_cv_func_log10f_use+:} false; then :
37969 $as_echo_n "(cached) " >&6
37970 else
37971
37972
37973 ac_ext=cpp
37974 ac_cpp='$CXXCPP $CPPFLAGS'
37975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37978
37979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37980 /* end confdefs.h. */
37981 #include <math.h>
37982 #ifdef HAVE_IEEEFP_H
37983 #include <ieeefp.h>
37984 #endif
37985
37986 int
37987 main ()
37988 {
37989 log10f(0);
37990 ;
37991 return 0;
37992 }
37993 _ACEOF
37994 if ac_fn_cxx_try_compile "$LINENO"; then :
37995 glibcxx_cv_func_log10f_use=yes
37996 else
37997 glibcxx_cv_func_log10f_use=no
37998 fi
37999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38000 ac_ext=c
38001 ac_cpp='$CPP $CPPFLAGS'
38002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38005
38006
38007 fi
38008
38009 fi
38010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
38011 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
38012
38013 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38014 for ac_func in log10f
38015 do :
38016 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38017 if test "x$ac_cv_func_log10f" = xyes; then :
38018 cat >>confdefs.h <<_ACEOF
38019 #define HAVE_LOG10F 1
38020 _ACEOF
38021
38022 fi
38023 done
38024
38025 else
38026
38027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38028 $as_echo_n "checking for _log10f declaration... " >&6; }
38029 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38030 if ${glibcxx_cv_func__log10f_use+:} false; then :
38031 $as_echo_n "(cached) " >&6
38032 else
38033
38034
38035 ac_ext=cpp
38036 ac_cpp='$CXXCPP $CPPFLAGS'
38037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38040
38041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38042 /* end confdefs.h. */
38043 #include <math.h>
38044 #ifdef HAVE_IEEEFP_H
38045 #include <ieeefp.h>
38046 #endif
38047
38048 int
38049 main ()
38050 {
38051 _log10f(0);
38052 ;
38053 return 0;
38054 }
38055 _ACEOF
38056 if ac_fn_cxx_try_compile "$LINENO"; then :
38057 glibcxx_cv_func__log10f_use=yes
38058 else
38059 glibcxx_cv_func__log10f_use=no
38060 fi
38061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38062 ac_ext=c
38063 ac_cpp='$CPP $CPPFLAGS'
38064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38067
38068
38069 fi
38070
38071 fi
38072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38073 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38074
38075 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38076 for ac_func in _log10f
38077 do :
38078 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38079 if test "x$ac_cv_func__log10f" = xyes; then :
38080 cat >>confdefs.h <<_ACEOF
38081 #define HAVE__LOG10F 1
38082 _ACEOF
38083
38084 fi
38085 done
38086
38087 fi
38088 fi
38089
38090
38091
38092
38093
38094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38095 $as_echo_n "checking for modff declaration... " >&6; }
38096 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38097 if ${glibcxx_cv_func_modff_use+:} false; then :
38098 $as_echo_n "(cached) " >&6
38099 else
38100
38101
38102 ac_ext=cpp
38103 ac_cpp='$CXXCPP $CPPFLAGS'
38104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38107
38108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38109 /* end confdefs.h. */
38110 #include <math.h>
38111 int
38112 main ()
38113 {
38114 modff(0, 0);
38115 ;
38116 return 0;
38117 }
38118 _ACEOF
38119 if ac_fn_cxx_try_compile "$LINENO"; then :
38120 glibcxx_cv_func_modff_use=yes
38121 else
38122 glibcxx_cv_func_modff_use=no
38123 fi
38124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38125 ac_ext=c
38126 ac_cpp='$CPP $CPPFLAGS'
38127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38130
38131
38132 fi
38133
38134 fi
38135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38136 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38137
38138 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38139 for ac_func in modff
38140 do :
38141 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38142 if test "x$ac_cv_func_modff" = xyes; then :
38143 cat >>confdefs.h <<_ACEOF
38144 #define HAVE_MODFF 1
38145 _ACEOF
38146
38147 fi
38148 done
38149
38150 else
38151
38152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38153 $as_echo_n "checking for _modff declaration... " >&6; }
38154 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38155 if ${glibcxx_cv_func__modff_use+:} false; then :
38156 $as_echo_n "(cached) " >&6
38157 else
38158
38159
38160 ac_ext=cpp
38161 ac_cpp='$CXXCPP $CPPFLAGS'
38162 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38163 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38164 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38165
38166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38167 /* end confdefs.h. */
38168 #include <math.h>
38169 int
38170 main ()
38171 {
38172 _modff(0, 0);
38173 ;
38174 return 0;
38175 }
38176 _ACEOF
38177 if ac_fn_cxx_try_compile "$LINENO"; then :
38178 glibcxx_cv_func__modff_use=yes
38179 else
38180 glibcxx_cv_func__modff_use=no
38181 fi
38182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38183 ac_ext=c
38184 ac_cpp='$CPP $CPPFLAGS'
38185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38188
38189
38190 fi
38191
38192 fi
38193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38194 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38195
38196 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38197 for ac_func in _modff
38198 do :
38199 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38200 if test "x$ac_cv_func__modff" = xyes; then :
38201 cat >>confdefs.h <<_ACEOF
38202 #define HAVE__MODFF 1
38203 _ACEOF
38204
38205 fi
38206 done
38207
38208 fi
38209 fi
38210
38211
38212
38213
38214
38215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38216 $as_echo_n "checking for modf declaration... " >&6; }
38217 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38218 if ${glibcxx_cv_func_modf_use+:} false; then :
38219 $as_echo_n "(cached) " >&6
38220 else
38221
38222
38223 ac_ext=cpp
38224 ac_cpp='$CXXCPP $CPPFLAGS'
38225 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38226 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38227 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38228
38229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38230 /* end confdefs.h. */
38231 #include <math.h>
38232 int
38233 main ()
38234 {
38235 modf(0, 0);
38236 ;
38237 return 0;
38238 }
38239 _ACEOF
38240 if ac_fn_cxx_try_compile "$LINENO"; then :
38241 glibcxx_cv_func_modf_use=yes
38242 else
38243 glibcxx_cv_func_modf_use=no
38244 fi
38245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38246 ac_ext=c
38247 ac_cpp='$CPP $CPPFLAGS'
38248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38251
38252
38253 fi
38254
38255 fi
38256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38257 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38258
38259 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38260 for ac_func in modf
38261 do :
38262 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38263 if test "x$ac_cv_func_modf" = xyes; then :
38264 cat >>confdefs.h <<_ACEOF
38265 #define HAVE_MODF 1
38266 _ACEOF
38267
38268 fi
38269 done
38270
38271 else
38272
38273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38274 $as_echo_n "checking for _modf declaration... " >&6; }
38275 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38276 if ${glibcxx_cv_func__modf_use+:} false; then :
38277 $as_echo_n "(cached) " >&6
38278 else
38279
38280
38281 ac_ext=cpp
38282 ac_cpp='$CXXCPP $CPPFLAGS'
38283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38286
38287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38288 /* end confdefs.h. */
38289 #include <math.h>
38290 int
38291 main ()
38292 {
38293 _modf(0, 0);
38294 ;
38295 return 0;
38296 }
38297 _ACEOF
38298 if ac_fn_cxx_try_compile "$LINENO"; then :
38299 glibcxx_cv_func__modf_use=yes
38300 else
38301 glibcxx_cv_func__modf_use=no
38302 fi
38303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38304 ac_ext=c
38305 ac_cpp='$CPP $CPPFLAGS'
38306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38309
38310
38311 fi
38312
38313 fi
38314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38315 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38316
38317 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38318 for ac_func in _modf
38319 do :
38320 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38321 if test "x$ac_cv_func__modf" = xyes; then :
38322 cat >>confdefs.h <<_ACEOF
38323 #define HAVE__MODF 1
38324 _ACEOF
38325
38326 fi
38327 done
38328
38329 fi
38330 fi
38331
38332
38333
38334
38335
38336 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38337 $as_echo_n "checking for powf declaration... " >&6; }
38338 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38339 if ${glibcxx_cv_func_powf_use+:} false; then :
38340 $as_echo_n "(cached) " >&6
38341 else
38342
38343
38344 ac_ext=cpp
38345 ac_cpp='$CXXCPP $CPPFLAGS'
38346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38349
38350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38351 /* end confdefs.h. */
38352 #include <math.h>
38353 int
38354 main ()
38355 {
38356 powf(0, 0);
38357 ;
38358 return 0;
38359 }
38360 _ACEOF
38361 if ac_fn_cxx_try_compile "$LINENO"; then :
38362 glibcxx_cv_func_powf_use=yes
38363 else
38364 glibcxx_cv_func_powf_use=no
38365 fi
38366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38367 ac_ext=c
38368 ac_cpp='$CPP $CPPFLAGS'
38369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38372
38373
38374 fi
38375
38376 fi
38377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38378 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38379
38380 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38381 for ac_func in powf
38382 do :
38383 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38384 if test "x$ac_cv_func_powf" = xyes; then :
38385 cat >>confdefs.h <<_ACEOF
38386 #define HAVE_POWF 1
38387 _ACEOF
38388
38389 fi
38390 done
38391
38392 else
38393
38394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38395 $as_echo_n "checking for _powf declaration... " >&6; }
38396 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38397 if ${glibcxx_cv_func__powf_use+:} false; then :
38398 $as_echo_n "(cached) " >&6
38399 else
38400
38401
38402 ac_ext=cpp
38403 ac_cpp='$CXXCPP $CPPFLAGS'
38404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38407
38408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38409 /* end confdefs.h. */
38410 #include <math.h>
38411 int
38412 main ()
38413 {
38414 _powf(0, 0);
38415 ;
38416 return 0;
38417 }
38418 _ACEOF
38419 if ac_fn_cxx_try_compile "$LINENO"; then :
38420 glibcxx_cv_func__powf_use=yes
38421 else
38422 glibcxx_cv_func__powf_use=no
38423 fi
38424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38425 ac_ext=c
38426 ac_cpp='$CPP $CPPFLAGS'
38427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38430
38431
38432 fi
38433
38434 fi
38435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38436 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38437
38438 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38439 for ac_func in _powf
38440 do :
38441 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38442 if test "x$ac_cv_func__powf" = xyes; then :
38443 cat >>confdefs.h <<_ACEOF
38444 #define HAVE__POWF 1
38445 _ACEOF
38446
38447 fi
38448 done
38449
38450 fi
38451 fi
38452
38453
38454
38455
38456
38457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38458 $as_echo_n "checking for sqrtf declaration... " >&6; }
38459 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38460 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38461 $as_echo_n "(cached) " >&6
38462 else
38463
38464
38465 ac_ext=cpp
38466 ac_cpp='$CXXCPP $CPPFLAGS'
38467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38470
38471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38472 /* end confdefs.h. */
38473 #include <math.h>
38474 #ifdef HAVE_IEEEFP_H
38475 #include <ieeefp.h>
38476 #endif
38477
38478 int
38479 main ()
38480 {
38481 sqrtf(0);
38482 ;
38483 return 0;
38484 }
38485 _ACEOF
38486 if ac_fn_cxx_try_compile "$LINENO"; then :
38487 glibcxx_cv_func_sqrtf_use=yes
38488 else
38489 glibcxx_cv_func_sqrtf_use=no
38490 fi
38491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38492 ac_ext=c
38493 ac_cpp='$CPP $CPPFLAGS'
38494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38497
38498
38499 fi
38500
38501 fi
38502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38503 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38504
38505 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38506 for ac_func in sqrtf
38507 do :
38508 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38509 if test "x$ac_cv_func_sqrtf" = xyes; then :
38510 cat >>confdefs.h <<_ACEOF
38511 #define HAVE_SQRTF 1
38512 _ACEOF
38513
38514 fi
38515 done
38516
38517 else
38518
38519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38520 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38521 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38522 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38523 $as_echo_n "(cached) " >&6
38524 else
38525
38526
38527 ac_ext=cpp
38528 ac_cpp='$CXXCPP $CPPFLAGS'
38529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38532
38533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38534 /* end confdefs.h. */
38535 #include <math.h>
38536 #ifdef HAVE_IEEEFP_H
38537 #include <ieeefp.h>
38538 #endif
38539
38540 int
38541 main ()
38542 {
38543 _sqrtf(0);
38544 ;
38545 return 0;
38546 }
38547 _ACEOF
38548 if ac_fn_cxx_try_compile "$LINENO"; then :
38549 glibcxx_cv_func__sqrtf_use=yes
38550 else
38551 glibcxx_cv_func__sqrtf_use=no
38552 fi
38553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38554 ac_ext=c
38555 ac_cpp='$CPP $CPPFLAGS'
38556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38559
38560
38561 fi
38562
38563 fi
38564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38565 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38566
38567 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38568 for ac_func in _sqrtf
38569 do :
38570 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38571 if test "x$ac_cv_func__sqrtf" = xyes; then :
38572 cat >>confdefs.h <<_ACEOF
38573 #define HAVE__SQRTF 1
38574 _ACEOF
38575
38576 fi
38577 done
38578
38579 fi
38580 fi
38581
38582
38583
38584
38585
38586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38587 $as_echo_n "checking for sincosf declaration... " >&6; }
38588 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38589 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38590 $as_echo_n "(cached) " >&6
38591 else
38592
38593
38594 ac_ext=cpp
38595 ac_cpp='$CXXCPP $CPPFLAGS'
38596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38599
38600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38601 /* end confdefs.h. */
38602 #include <math.h>
38603 int
38604 main ()
38605 {
38606 sincosf(0, 0, 0);
38607 ;
38608 return 0;
38609 }
38610 _ACEOF
38611 if ac_fn_cxx_try_compile "$LINENO"; then :
38612 glibcxx_cv_func_sincosf_use=yes
38613 else
38614 glibcxx_cv_func_sincosf_use=no
38615 fi
38616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38617 ac_ext=c
38618 ac_cpp='$CPP $CPPFLAGS'
38619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38622
38623
38624 fi
38625
38626 fi
38627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38628 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38629
38630 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38631 for ac_func in sincosf
38632 do :
38633 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38634 if test "x$ac_cv_func_sincosf" = xyes; then :
38635 cat >>confdefs.h <<_ACEOF
38636 #define HAVE_SINCOSF 1
38637 _ACEOF
38638
38639 fi
38640 done
38641
38642 else
38643
38644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38645 $as_echo_n "checking for _sincosf declaration... " >&6; }
38646 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38647 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38648 $as_echo_n "(cached) " >&6
38649 else
38650
38651
38652 ac_ext=cpp
38653 ac_cpp='$CXXCPP $CPPFLAGS'
38654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38657
38658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38659 /* end confdefs.h. */
38660 #include <math.h>
38661 int
38662 main ()
38663 {
38664 _sincosf(0, 0, 0);
38665 ;
38666 return 0;
38667 }
38668 _ACEOF
38669 if ac_fn_cxx_try_compile "$LINENO"; then :
38670 glibcxx_cv_func__sincosf_use=yes
38671 else
38672 glibcxx_cv_func__sincosf_use=no
38673 fi
38674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38675 ac_ext=c
38676 ac_cpp='$CPP $CPPFLAGS'
38677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38680
38681
38682 fi
38683
38684 fi
38685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38686 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38687
38688 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38689 for ac_func in _sincosf
38690 do :
38691 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38692 if test "x$ac_cv_func__sincosf" = xyes; then :
38693 cat >>confdefs.h <<_ACEOF
38694 #define HAVE__SINCOSF 1
38695 _ACEOF
38696
38697 fi
38698 done
38699
38700 fi
38701 fi
38702
38703
38704
38705
38706
38707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38708 $as_echo_n "checking for finitef declaration... " >&6; }
38709 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38710 if ${glibcxx_cv_func_finitef_use+:} false; then :
38711 $as_echo_n "(cached) " >&6
38712 else
38713
38714
38715 ac_ext=cpp
38716 ac_cpp='$CXXCPP $CPPFLAGS'
38717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38720
38721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38722 /* end confdefs.h. */
38723 #include <math.h>
38724 #ifdef HAVE_IEEEFP_H
38725 #include <ieeefp.h>
38726 #endif
38727
38728 int
38729 main ()
38730 {
38731 finitef(0);
38732 ;
38733 return 0;
38734 }
38735 _ACEOF
38736 if ac_fn_cxx_try_compile "$LINENO"; then :
38737 glibcxx_cv_func_finitef_use=yes
38738 else
38739 glibcxx_cv_func_finitef_use=no
38740 fi
38741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38742 ac_ext=c
38743 ac_cpp='$CPP $CPPFLAGS'
38744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38747
38748
38749 fi
38750
38751 fi
38752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38753 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38754
38755 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38756 for ac_func in finitef
38757 do :
38758 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38759 if test "x$ac_cv_func_finitef" = xyes; then :
38760 cat >>confdefs.h <<_ACEOF
38761 #define HAVE_FINITEF 1
38762 _ACEOF
38763
38764 fi
38765 done
38766
38767 else
38768
38769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38770 $as_echo_n "checking for _finitef declaration... " >&6; }
38771 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38772 if ${glibcxx_cv_func__finitef_use+:} false; then :
38773 $as_echo_n "(cached) " >&6
38774 else
38775
38776
38777 ac_ext=cpp
38778 ac_cpp='$CXXCPP $CPPFLAGS'
38779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38782
38783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38784 /* end confdefs.h. */
38785 #include <math.h>
38786 #ifdef HAVE_IEEEFP_H
38787 #include <ieeefp.h>
38788 #endif
38789
38790 int
38791 main ()
38792 {
38793 _finitef(0);
38794 ;
38795 return 0;
38796 }
38797 _ACEOF
38798 if ac_fn_cxx_try_compile "$LINENO"; then :
38799 glibcxx_cv_func__finitef_use=yes
38800 else
38801 glibcxx_cv_func__finitef_use=no
38802 fi
38803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38804 ac_ext=c
38805 ac_cpp='$CPP $CPPFLAGS'
38806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38809
38810
38811 fi
38812
38813 fi
38814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38815 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38816
38817 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38818 for ac_func in _finitef
38819 do :
38820 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38821 if test "x$ac_cv_func__finitef" = xyes; then :
38822 cat >>confdefs.h <<_ACEOF
38823 #define HAVE__FINITEF 1
38824 _ACEOF
38825
38826 fi
38827 done
38828
38829 fi
38830 fi
38831
38832
38833
38834
38835
38836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38837 $as_echo_n "checking for long double trig functions... " >&6; }
38838 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38839 $as_echo_n "(cached) " >&6
38840 else
38841
38842
38843 ac_ext=cpp
38844 ac_cpp='$CXXCPP $CPPFLAGS'
38845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38848
38849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38850 /* end confdefs.h. */
38851 #include <math.h>
38852 int
38853 main ()
38854 {
38855 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38856 ;
38857 return 0;
38858 }
38859 _ACEOF
38860 if ac_fn_cxx_try_compile "$LINENO"; then :
38861 glibcxx_cv_func_long_double_trig_use=yes
38862 else
38863 glibcxx_cv_func_long_double_trig_use=no
38864 fi
38865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38866 ac_ext=c
38867 ac_cpp='$CPP $CPPFLAGS'
38868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38871
38872 fi
38873
38874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38875 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38876 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38877 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38878 do :
38879 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38880 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38881 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38882 cat >>confdefs.h <<_ACEOF
38883 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38884 _ACEOF
38885
38886 fi
38887 done
38888
38889 else
38890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38891 $as_echo_n "checking for _long double trig functions... " >&6; }
38892 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38893 $as_echo_n "(cached) " >&6
38894 else
38895
38896
38897 ac_ext=cpp
38898 ac_cpp='$CXXCPP $CPPFLAGS'
38899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38902
38903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38904 /* end confdefs.h. */
38905 #include <math.h>
38906 int
38907 main ()
38908 {
38909 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38910 ;
38911 return 0;
38912 }
38913 _ACEOF
38914 if ac_fn_cxx_try_compile "$LINENO"; then :
38915 glibcxx_cv_func__long_double_trig_use=yes
38916 else
38917 glibcxx_cv_func__long_double_trig_use=no
38918 fi
38919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38920 ac_ext=c
38921 ac_cpp='$CPP $CPPFLAGS'
38922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38925
38926 fi
38927
38928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38929 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38930 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38931 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38932 do :
38933 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38934 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38935 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38936 cat >>confdefs.h <<_ACEOF
38937 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38938 _ACEOF
38939
38940 fi
38941 done
38942
38943 fi
38944 fi
38945
38946
38947
38948
38949
38950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38951 $as_echo_n "checking for long double round functions... " >&6; }
38952 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38953 $as_echo_n "(cached) " >&6
38954 else
38955
38956
38957 ac_ext=cpp
38958 ac_cpp='$CXXCPP $CPPFLAGS'
38959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38962
38963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38964 /* end confdefs.h. */
38965 #include <math.h>
38966 int
38967 main ()
38968 {
38969 ceill (0); floorl (0);
38970 ;
38971 return 0;
38972 }
38973 _ACEOF
38974 if ac_fn_cxx_try_compile "$LINENO"; then :
38975 glibcxx_cv_func_long_double_round_use=yes
38976 else
38977 glibcxx_cv_func_long_double_round_use=no
38978 fi
38979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38980 ac_ext=c
38981 ac_cpp='$CPP $CPPFLAGS'
38982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38985
38986 fi
38987
38988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38989 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38990 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38991 for ac_func in ceill floorl
38992 do :
38993 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38994 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38995 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38996 cat >>confdefs.h <<_ACEOF
38997 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38998 _ACEOF
38999
39000 fi
39001 done
39002
39003 else
39004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
39005 $as_echo_n "checking for _long double round functions... " >&6; }
39006 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
39007 $as_echo_n "(cached) " >&6
39008 else
39009
39010
39011 ac_ext=cpp
39012 ac_cpp='$CXXCPP $CPPFLAGS'
39013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39016
39017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39018 /* end confdefs.h. */
39019 #include <math.h>
39020 int
39021 main ()
39022 {
39023 _ceill (0); _floorl (0);
39024 ;
39025 return 0;
39026 }
39027 _ACEOF
39028 if ac_fn_cxx_try_compile "$LINENO"; then :
39029 glibcxx_cv_func__long_double_round_use=yes
39030 else
39031 glibcxx_cv_func__long_double_round_use=no
39032 fi
39033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39034 ac_ext=c
39035 ac_cpp='$CPP $CPPFLAGS'
39036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39039
39040 fi
39041
39042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39043 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39044 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39045 for ac_func in _ceill _floorl
39046 do :
39047 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39048 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39049 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39050 cat >>confdefs.h <<_ACEOF
39051 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39052 _ACEOF
39053
39054 fi
39055 done
39056
39057 fi
39058 fi
39059
39060
39061
39062
39063
39064
39065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39066 $as_echo_n "checking for isnanl declaration... " >&6; }
39067 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39068 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39069 $as_echo_n "(cached) " >&6
39070 else
39071
39072
39073 ac_ext=cpp
39074 ac_cpp='$CXXCPP $CPPFLAGS'
39075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39078
39079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39080 /* end confdefs.h. */
39081 #include <math.h>
39082 #ifdef HAVE_IEEEFP_H
39083 #include <ieeefp.h>
39084 #endif
39085
39086 int
39087 main ()
39088 {
39089 isnanl(0);
39090 ;
39091 return 0;
39092 }
39093 _ACEOF
39094 if ac_fn_cxx_try_compile "$LINENO"; then :
39095 glibcxx_cv_func_isnanl_use=yes
39096 else
39097 glibcxx_cv_func_isnanl_use=no
39098 fi
39099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39100 ac_ext=c
39101 ac_cpp='$CPP $CPPFLAGS'
39102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39105
39106
39107 fi
39108
39109 fi
39110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39111 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39112
39113 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39114 for ac_func in isnanl
39115 do :
39116 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39117 if test "x$ac_cv_func_isnanl" = xyes; then :
39118 cat >>confdefs.h <<_ACEOF
39119 #define HAVE_ISNANL 1
39120 _ACEOF
39121
39122 fi
39123 done
39124
39125 else
39126
39127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39128 $as_echo_n "checking for _isnanl declaration... " >&6; }
39129 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39130 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39131 $as_echo_n "(cached) " >&6
39132 else
39133
39134
39135 ac_ext=cpp
39136 ac_cpp='$CXXCPP $CPPFLAGS'
39137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39140
39141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39142 /* end confdefs.h. */
39143 #include <math.h>
39144 #ifdef HAVE_IEEEFP_H
39145 #include <ieeefp.h>
39146 #endif
39147
39148 int
39149 main ()
39150 {
39151 _isnanl(0);
39152 ;
39153 return 0;
39154 }
39155 _ACEOF
39156 if ac_fn_cxx_try_compile "$LINENO"; then :
39157 glibcxx_cv_func__isnanl_use=yes
39158 else
39159 glibcxx_cv_func__isnanl_use=no
39160 fi
39161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39162 ac_ext=c
39163 ac_cpp='$CPP $CPPFLAGS'
39164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39167
39168
39169 fi
39170
39171 fi
39172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39173 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39174
39175 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39176 for ac_func in _isnanl
39177 do :
39178 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39179 if test "x$ac_cv_func__isnanl" = xyes; then :
39180 cat >>confdefs.h <<_ACEOF
39181 #define HAVE__ISNANL 1
39182 _ACEOF
39183
39184 fi
39185 done
39186
39187 fi
39188 fi
39189
39190
39191
39192
39193
39194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39195 $as_echo_n "checking for isinfl declaration... " >&6; }
39196 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39197 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39198 $as_echo_n "(cached) " >&6
39199 else
39200
39201
39202 ac_ext=cpp
39203 ac_cpp='$CXXCPP $CPPFLAGS'
39204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39207
39208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39209 /* end confdefs.h. */
39210 #include <math.h>
39211 #ifdef HAVE_IEEEFP_H
39212 #include <ieeefp.h>
39213 #endif
39214
39215 int
39216 main ()
39217 {
39218 isinfl(0);
39219 ;
39220 return 0;
39221 }
39222 _ACEOF
39223 if ac_fn_cxx_try_compile "$LINENO"; then :
39224 glibcxx_cv_func_isinfl_use=yes
39225 else
39226 glibcxx_cv_func_isinfl_use=no
39227 fi
39228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39229 ac_ext=c
39230 ac_cpp='$CPP $CPPFLAGS'
39231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39234
39235
39236 fi
39237
39238 fi
39239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39240 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39241
39242 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39243 for ac_func in isinfl
39244 do :
39245 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39246 if test "x$ac_cv_func_isinfl" = xyes; then :
39247 cat >>confdefs.h <<_ACEOF
39248 #define HAVE_ISINFL 1
39249 _ACEOF
39250
39251 fi
39252 done
39253
39254 else
39255
39256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39257 $as_echo_n "checking for _isinfl declaration... " >&6; }
39258 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39259 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39260 $as_echo_n "(cached) " >&6
39261 else
39262
39263
39264 ac_ext=cpp
39265 ac_cpp='$CXXCPP $CPPFLAGS'
39266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39269
39270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39271 /* end confdefs.h. */
39272 #include <math.h>
39273 #ifdef HAVE_IEEEFP_H
39274 #include <ieeefp.h>
39275 #endif
39276
39277 int
39278 main ()
39279 {
39280 _isinfl(0);
39281 ;
39282 return 0;
39283 }
39284 _ACEOF
39285 if ac_fn_cxx_try_compile "$LINENO"; then :
39286 glibcxx_cv_func__isinfl_use=yes
39287 else
39288 glibcxx_cv_func__isinfl_use=no
39289 fi
39290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39291 ac_ext=c
39292 ac_cpp='$CPP $CPPFLAGS'
39293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39296
39297
39298 fi
39299
39300 fi
39301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39302 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39303
39304 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39305 for ac_func in _isinfl
39306 do :
39307 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39308 if test "x$ac_cv_func__isinfl" = xyes; then :
39309 cat >>confdefs.h <<_ACEOF
39310 #define HAVE__ISINFL 1
39311 _ACEOF
39312
39313 fi
39314 done
39315
39316 fi
39317 fi
39318
39319
39320
39321
39322
39323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39324 $as_echo_n "checking for atan2l declaration... " >&6; }
39325 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39326 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39327 $as_echo_n "(cached) " >&6
39328 else
39329
39330
39331 ac_ext=cpp
39332 ac_cpp='$CXXCPP $CPPFLAGS'
39333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39336
39337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39338 /* end confdefs.h. */
39339 #include <math.h>
39340 int
39341 main ()
39342 {
39343 atan2l(0, 0);
39344 ;
39345 return 0;
39346 }
39347 _ACEOF
39348 if ac_fn_cxx_try_compile "$LINENO"; then :
39349 glibcxx_cv_func_atan2l_use=yes
39350 else
39351 glibcxx_cv_func_atan2l_use=no
39352 fi
39353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39354 ac_ext=c
39355 ac_cpp='$CPP $CPPFLAGS'
39356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39359
39360
39361 fi
39362
39363 fi
39364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39365 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39366
39367 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39368 for ac_func in atan2l
39369 do :
39370 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39371 if test "x$ac_cv_func_atan2l" = xyes; then :
39372 cat >>confdefs.h <<_ACEOF
39373 #define HAVE_ATAN2L 1
39374 _ACEOF
39375
39376 fi
39377 done
39378
39379 else
39380
39381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39382 $as_echo_n "checking for _atan2l declaration... " >&6; }
39383 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39384 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39385 $as_echo_n "(cached) " >&6
39386 else
39387
39388
39389 ac_ext=cpp
39390 ac_cpp='$CXXCPP $CPPFLAGS'
39391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39394
39395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39396 /* end confdefs.h. */
39397 #include <math.h>
39398 int
39399 main ()
39400 {
39401 _atan2l(0, 0);
39402 ;
39403 return 0;
39404 }
39405 _ACEOF
39406 if ac_fn_cxx_try_compile "$LINENO"; then :
39407 glibcxx_cv_func__atan2l_use=yes
39408 else
39409 glibcxx_cv_func__atan2l_use=no
39410 fi
39411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39412 ac_ext=c
39413 ac_cpp='$CPP $CPPFLAGS'
39414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39417
39418
39419 fi
39420
39421 fi
39422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39423 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39424
39425 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39426 for ac_func in _atan2l
39427 do :
39428 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39429 if test "x$ac_cv_func__atan2l" = xyes; then :
39430 cat >>confdefs.h <<_ACEOF
39431 #define HAVE__ATAN2L 1
39432 _ACEOF
39433
39434 fi
39435 done
39436
39437 fi
39438 fi
39439
39440
39441
39442
39443
39444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39445 $as_echo_n "checking for expl declaration... " >&6; }
39446 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39447 if ${glibcxx_cv_func_expl_use+:} false; then :
39448 $as_echo_n "(cached) " >&6
39449 else
39450
39451
39452 ac_ext=cpp
39453 ac_cpp='$CXXCPP $CPPFLAGS'
39454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39457
39458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39459 /* end confdefs.h. */
39460 #include <math.h>
39461 #ifdef HAVE_IEEEFP_H
39462 #include <ieeefp.h>
39463 #endif
39464
39465 int
39466 main ()
39467 {
39468 expl(0);
39469 ;
39470 return 0;
39471 }
39472 _ACEOF
39473 if ac_fn_cxx_try_compile "$LINENO"; then :
39474 glibcxx_cv_func_expl_use=yes
39475 else
39476 glibcxx_cv_func_expl_use=no
39477 fi
39478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39479 ac_ext=c
39480 ac_cpp='$CPP $CPPFLAGS'
39481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39484
39485
39486 fi
39487
39488 fi
39489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39490 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39491
39492 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39493 for ac_func in expl
39494 do :
39495 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39496 if test "x$ac_cv_func_expl" = xyes; then :
39497 cat >>confdefs.h <<_ACEOF
39498 #define HAVE_EXPL 1
39499 _ACEOF
39500
39501 fi
39502 done
39503
39504 else
39505
39506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39507 $as_echo_n "checking for _expl declaration... " >&6; }
39508 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39509 if ${glibcxx_cv_func__expl_use+:} false; then :
39510 $as_echo_n "(cached) " >&6
39511 else
39512
39513
39514 ac_ext=cpp
39515 ac_cpp='$CXXCPP $CPPFLAGS'
39516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39519
39520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39521 /* end confdefs.h. */
39522 #include <math.h>
39523 #ifdef HAVE_IEEEFP_H
39524 #include <ieeefp.h>
39525 #endif
39526
39527 int
39528 main ()
39529 {
39530 _expl(0);
39531 ;
39532 return 0;
39533 }
39534 _ACEOF
39535 if ac_fn_cxx_try_compile "$LINENO"; then :
39536 glibcxx_cv_func__expl_use=yes
39537 else
39538 glibcxx_cv_func__expl_use=no
39539 fi
39540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39541 ac_ext=c
39542 ac_cpp='$CPP $CPPFLAGS'
39543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39546
39547
39548 fi
39549
39550 fi
39551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39552 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39553
39554 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39555 for ac_func in _expl
39556 do :
39557 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39558 if test "x$ac_cv_func__expl" = xyes; then :
39559 cat >>confdefs.h <<_ACEOF
39560 #define HAVE__EXPL 1
39561 _ACEOF
39562
39563 fi
39564 done
39565
39566 fi
39567 fi
39568
39569
39570
39571
39572
39573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39574 $as_echo_n "checking for fabsl declaration... " >&6; }
39575 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39576 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39577 $as_echo_n "(cached) " >&6
39578 else
39579
39580
39581 ac_ext=cpp
39582 ac_cpp='$CXXCPP $CPPFLAGS'
39583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39586
39587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39588 /* end confdefs.h. */
39589 #include <math.h>
39590 #ifdef HAVE_IEEEFP_H
39591 #include <ieeefp.h>
39592 #endif
39593
39594 int
39595 main ()
39596 {
39597 fabsl(0);
39598 ;
39599 return 0;
39600 }
39601 _ACEOF
39602 if ac_fn_cxx_try_compile "$LINENO"; then :
39603 glibcxx_cv_func_fabsl_use=yes
39604 else
39605 glibcxx_cv_func_fabsl_use=no
39606 fi
39607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39608 ac_ext=c
39609 ac_cpp='$CPP $CPPFLAGS'
39610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39613
39614
39615 fi
39616
39617 fi
39618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39619 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39620
39621 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39622 for ac_func in fabsl
39623 do :
39624 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39625 if test "x$ac_cv_func_fabsl" = xyes; then :
39626 cat >>confdefs.h <<_ACEOF
39627 #define HAVE_FABSL 1
39628 _ACEOF
39629
39630 fi
39631 done
39632
39633 else
39634
39635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39636 $as_echo_n "checking for _fabsl declaration... " >&6; }
39637 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39638 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39639 $as_echo_n "(cached) " >&6
39640 else
39641
39642
39643 ac_ext=cpp
39644 ac_cpp='$CXXCPP $CPPFLAGS'
39645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39648
39649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39650 /* end confdefs.h. */
39651 #include <math.h>
39652 #ifdef HAVE_IEEEFP_H
39653 #include <ieeefp.h>
39654 #endif
39655
39656 int
39657 main ()
39658 {
39659 _fabsl(0);
39660 ;
39661 return 0;
39662 }
39663 _ACEOF
39664 if ac_fn_cxx_try_compile "$LINENO"; then :
39665 glibcxx_cv_func__fabsl_use=yes
39666 else
39667 glibcxx_cv_func__fabsl_use=no
39668 fi
39669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39670 ac_ext=c
39671 ac_cpp='$CPP $CPPFLAGS'
39672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39675
39676
39677 fi
39678
39679 fi
39680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39681 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39682
39683 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39684 for ac_func in _fabsl
39685 do :
39686 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39687 if test "x$ac_cv_func__fabsl" = xyes; then :
39688 cat >>confdefs.h <<_ACEOF
39689 #define HAVE__FABSL 1
39690 _ACEOF
39691
39692 fi
39693 done
39694
39695 fi
39696 fi
39697
39698
39699
39700
39701
39702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39703 $as_echo_n "checking for fmodl declaration... " >&6; }
39704 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39705 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39706 $as_echo_n "(cached) " >&6
39707 else
39708
39709
39710 ac_ext=cpp
39711 ac_cpp='$CXXCPP $CPPFLAGS'
39712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39715
39716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39717 /* end confdefs.h. */
39718 #include <math.h>
39719 int
39720 main ()
39721 {
39722 fmodl(0, 0);
39723 ;
39724 return 0;
39725 }
39726 _ACEOF
39727 if ac_fn_cxx_try_compile "$LINENO"; then :
39728 glibcxx_cv_func_fmodl_use=yes
39729 else
39730 glibcxx_cv_func_fmodl_use=no
39731 fi
39732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39733 ac_ext=c
39734 ac_cpp='$CPP $CPPFLAGS'
39735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39738
39739
39740 fi
39741
39742 fi
39743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39744 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39745
39746 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39747 for ac_func in fmodl
39748 do :
39749 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39750 if test "x$ac_cv_func_fmodl" = xyes; then :
39751 cat >>confdefs.h <<_ACEOF
39752 #define HAVE_FMODL 1
39753 _ACEOF
39754
39755 fi
39756 done
39757
39758 else
39759
39760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39761 $as_echo_n "checking for _fmodl declaration... " >&6; }
39762 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39763 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39764 $as_echo_n "(cached) " >&6
39765 else
39766
39767
39768 ac_ext=cpp
39769 ac_cpp='$CXXCPP $CPPFLAGS'
39770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39773
39774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39775 /* end confdefs.h. */
39776 #include <math.h>
39777 int
39778 main ()
39779 {
39780 _fmodl(0, 0);
39781 ;
39782 return 0;
39783 }
39784 _ACEOF
39785 if ac_fn_cxx_try_compile "$LINENO"; then :
39786 glibcxx_cv_func__fmodl_use=yes
39787 else
39788 glibcxx_cv_func__fmodl_use=no
39789 fi
39790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39791 ac_ext=c
39792 ac_cpp='$CPP $CPPFLAGS'
39793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39796
39797
39798 fi
39799
39800 fi
39801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39802 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39803
39804 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39805 for ac_func in _fmodl
39806 do :
39807 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39808 if test "x$ac_cv_func__fmodl" = xyes; then :
39809 cat >>confdefs.h <<_ACEOF
39810 #define HAVE__FMODL 1
39811 _ACEOF
39812
39813 fi
39814 done
39815
39816 fi
39817 fi
39818
39819
39820
39821
39822
39823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39824 $as_echo_n "checking for frexpl declaration... " >&6; }
39825 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39826 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39827 $as_echo_n "(cached) " >&6
39828 else
39829
39830
39831 ac_ext=cpp
39832 ac_cpp='$CXXCPP $CPPFLAGS'
39833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39836
39837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39838 /* end confdefs.h. */
39839 #include <math.h>
39840 int
39841 main ()
39842 {
39843 frexpl(0, 0);
39844 ;
39845 return 0;
39846 }
39847 _ACEOF
39848 if ac_fn_cxx_try_compile "$LINENO"; then :
39849 glibcxx_cv_func_frexpl_use=yes
39850 else
39851 glibcxx_cv_func_frexpl_use=no
39852 fi
39853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39854 ac_ext=c
39855 ac_cpp='$CPP $CPPFLAGS'
39856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39859
39860
39861 fi
39862
39863 fi
39864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39865 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39866
39867 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39868 for ac_func in frexpl
39869 do :
39870 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39871 if test "x$ac_cv_func_frexpl" = xyes; then :
39872 cat >>confdefs.h <<_ACEOF
39873 #define HAVE_FREXPL 1
39874 _ACEOF
39875
39876 fi
39877 done
39878
39879 else
39880
39881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39882 $as_echo_n "checking for _frexpl declaration... " >&6; }
39883 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39884 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39885 $as_echo_n "(cached) " >&6
39886 else
39887
39888
39889 ac_ext=cpp
39890 ac_cpp='$CXXCPP $CPPFLAGS'
39891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39894
39895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39896 /* end confdefs.h. */
39897 #include <math.h>
39898 int
39899 main ()
39900 {
39901 _frexpl(0, 0);
39902 ;
39903 return 0;
39904 }
39905 _ACEOF
39906 if ac_fn_cxx_try_compile "$LINENO"; then :
39907 glibcxx_cv_func__frexpl_use=yes
39908 else
39909 glibcxx_cv_func__frexpl_use=no
39910 fi
39911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39912 ac_ext=c
39913 ac_cpp='$CPP $CPPFLAGS'
39914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39917
39918
39919 fi
39920
39921 fi
39922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39923 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39924
39925 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39926 for ac_func in _frexpl
39927 do :
39928 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39929 if test "x$ac_cv_func__frexpl" = xyes; then :
39930 cat >>confdefs.h <<_ACEOF
39931 #define HAVE__FREXPL 1
39932 _ACEOF
39933
39934 fi
39935 done
39936
39937 fi
39938 fi
39939
39940
39941
39942
39943
39944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39945 $as_echo_n "checking for hypotl declaration... " >&6; }
39946 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39947 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39948 $as_echo_n "(cached) " >&6
39949 else
39950
39951
39952 ac_ext=cpp
39953 ac_cpp='$CXXCPP $CPPFLAGS'
39954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39957
39958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39959 /* end confdefs.h. */
39960 #include <math.h>
39961 int
39962 main ()
39963 {
39964 hypotl(0, 0);
39965 ;
39966 return 0;
39967 }
39968 _ACEOF
39969 if ac_fn_cxx_try_compile "$LINENO"; then :
39970 glibcxx_cv_func_hypotl_use=yes
39971 else
39972 glibcxx_cv_func_hypotl_use=no
39973 fi
39974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39975 ac_ext=c
39976 ac_cpp='$CPP $CPPFLAGS'
39977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39980
39981
39982 fi
39983
39984 fi
39985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39986 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39987
39988 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39989 for ac_func in hypotl
39990 do :
39991 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39992 if test "x$ac_cv_func_hypotl" = xyes; then :
39993 cat >>confdefs.h <<_ACEOF
39994 #define HAVE_HYPOTL 1
39995 _ACEOF
39996
39997 fi
39998 done
39999
40000 else
40001
40002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
40003 $as_echo_n "checking for _hypotl declaration... " >&6; }
40004 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
40005 if ${glibcxx_cv_func__hypotl_use+:} false; then :
40006 $as_echo_n "(cached) " >&6
40007 else
40008
40009
40010 ac_ext=cpp
40011 ac_cpp='$CXXCPP $CPPFLAGS'
40012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40015
40016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40017 /* end confdefs.h. */
40018 #include <math.h>
40019 int
40020 main ()
40021 {
40022 _hypotl(0, 0);
40023 ;
40024 return 0;
40025 }
40026 _ACEOF
40027 if ac_fn_cxx_try_compile "$LINENO"; then :
40028 glibcxx_cv_func__hypotl_use=yes
40029 else
40030 glibcxx_cv_func__hypotl_use=no
40031 fi
40032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40033 ac_ext=c
40034 ac_cpp='$CPP $CPPFLAGS'
40035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40038
40039
40040 fi
40041
40042 fi
40043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40044 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40045
40046 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40047 for ac_func in _hypotl
40048 do :
40049 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40050 if test "x$ac_cv_func__hypotl" = xyes; then :
40051 cat >>confdefs.h <<_ACEOF
40052 #define HAVE__HYPOTL 1
40053 _ACEOF
40054
40055 fi
40056 done
40057
40058 fi
40059 fi
40060
40061
40062
40063
40064
40065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40066 $as_echo_n "checking for ldexpl declaration... " >&6; }
40067 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40068 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40069 $as_echo_n "(cached) " >&6
40070 else
40071
40072
40073 ac_ext=cpp
40074 ac_cpp='$CXXCPP $CPPFLAGS'
40075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40078
40079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40080 /* end confdefs.h. */
40081 #include <math.h>
40082 int
40083 main ()
40084 {
40085 ldexpl(0, 0);
40086 ;
40087 return 0;
40088 }
40089 _ACEOF
40090 if ac_fn_cxx_try_compile "$LINENO"; then :
40091 glibcxx_cv_func_ldexpl_use=yes
40092 else
40093 glibcxx_cv_func_ldexpl_use=no
40094 fi
40095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40096 ac_ext=c
40097 ac_cpp='$CPP $CPPFLAGS'
40098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40101
40102
40103 fi
40104
40105 fi
40106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40107 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40108
40109 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40110 for ac_func in ldexpl
40111 do :
40112 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40113 if test "x$ac_cv_func_ldexpl" = xyes; then :
40114 cat >>confdefs.h <<_ACEOF
40115 #define HAVE_LDEXPL 1
40116 _ACEOF
40117
40118 fi
40119 done
40120
40121 else
40122
40123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40124 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40125 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40126 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40127 $as_echo_n "(cached) " >&6
40128 else
40129
40130
40131 ac_ext=cpp
40132 ac_cpp='$CXXCPP $CPPFLAGS'
40133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40136
40137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40138 /* end confdefs.h. */
40139 #include <math.h>
40140 int
40141 main ()
40142 {
40143 _ldexpl(0, 0);
40144 ;
40145 return 0;
40146 }
40147 _ACEOF
40148 if ac_fn_cxx_try_compile "$LINENO"; then :
40149 glibcxx_cv_func__ldexpl_use=yes
40150 else
40151 glibcxx_cv_func__ldexpl_use=no
40152 fi
40153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40154 ac_ext=c
40155 ac_cpp='$CPP $CPPFLAGS'
40156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40159
40160
40161 fi
40162
40163 fi
40164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40165 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40166
40167 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40168 for ac_func in _ldexpl
40169 do :
40170 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40171 if test "x$ac_cv_func__ldexpl" = xyes; then :
40172 cat >>confdefs.h <<_ACEOF
40173 #define HAVE__LDEXPL 1
40174 _ACEOF
40175
40176 fi
40177 done
40178
40179 fi
40180 fi
40181
40182
40183
40184
40185
40186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40187 $as_echo_n "checking for logl declaration... " >&6; }
40188 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40189 if ${glibcxx_cv_func_logl_use+:} false; then :
40190 $as_echo_n "(cached) " >&6
40191 else
40192
40193
40194 ac_ext=cpp
40195 ac_cpp='$CXXCPP $CPPFLAGS'
40196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40199
40200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40201 /* end confdefs.h. */
40202 #include <math.h>
40203 #ifdef HAVE_IEEEFP_H
40204 #include <ieeefp.h>
40205 #endif
40206
40207 int
40208 main ()
40209 {
40210 logl(0);
40211 ;
40212 return 0;
40213 }
40214 _ACEOF
40215 if ac_fn_cxx_try_compile "$LINENO"; then :
40216 glibcxx_cv_func_logl_use=yes
40217 else
40218 glibcxx_cv_func_logl_use=no
40219 fi
40220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40221 ac_ext=c
40222 ac_cpp='$CPP $CPPFLAGS'
40223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40226
40227
40228 fi
40229
40230 fi
40231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40232 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40233
40234 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40235 for ac_func in logl
40236 do :
40237 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40238 if test "x$ac_cv_func_logl" = xyes; then :
40239 cat >>confdefs.h <<_ACEOF
40240 #define HAVE_LOGL 1
40241 _ACEOF
40242
40243 fi
40244 done
40245
40246 else
40247
40248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40249 $as_echo_n "checking for _logl declaration... " >&6; }
40250 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40251 if ${glibcxx_cv_func__logl_use+:} false; then :
40252 $as_echo_n "(cached) " >&6
40253 else
40254
40255
40256 ac_ext=cpp
40257 ac_cpp='$CXXCPP $CPPFLAGS'
40258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40261
40262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40263 /* end confdefs.h. */
40264 #include <math.h>
40265 #ifdef HAVE_IEEEFP_H
40266 #include <ieeefp.h>
40267 #endif
40268
40269 int
40270 main ()
40271 {
40272 _logl(0);
40273 ;
40274 return 0;
40275 }
40276 _ACEOF
40277 if ac_fn_cxx_try_compile "$LINENO"; then :
40278 glibcxx_cv_func__logl_use=yes
40279 else
40280 glibcxx_cv_func__logl_use=no
40281 fi
40282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40283 ac_ext=c
40284 ac_cpp='$CPP $CPPFLAGS'
40285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40288
40289
40290 fi
40291
40292 fi
40293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40294 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40295
40296 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40297 for ac_func in _logl
40298 do :
40299 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40300 if test "x$ac_cv_func__logl" = xyes; then :
40301 cat >>confdefs.h <<_ACEOF
40302 #define HAVE__LOGL 1
40303 _ACEOF
40304
40305 fi
40306 done
40307
40308 fi
40309 fi
40310
40311
40312
40313
40314
40315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40316 $as_echo_n "checking for log10l declaration... " >&6; }
40317 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40318 if ${glibcxx_cv_func_log10l_use+:} false; then :
40319 $as_echo_n "(cached) " >&6
40320 else
40321
40322
40323 ac_ext=cpp
40324 ac_cpp='$CXXCPP $CPPFLAGS'
40325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40328
40329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40330 /* end confdefs.h. */
40331 #include <math.h>
40332 #ifdef HAVE_IEEEFP_H
40333 #include <ieeefp.h>
40334 #endif
40335
40336 int
40337 main ()
40338 {
40339 log10l(0);
40340 ;
40341 return 0;
40342 }
40343 _ACEOF
40344 if ac_fn_cxx_try_compile "$LINENO"; then :
40345 glibcxx_cv_func_log10l_use=yes
40346 else
40347 glibcxx_cv_func_log10l_use=no
40348 fi
40349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40350 ac_ext=c
40351 ac_cpp='$CPP $CPPFLAGS'
40352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40355
40356
40357 fi
40358
40359 fi
40360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40361 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40362
40363 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40364 for ac_func in log10l
40365 do :
40366 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40367 if test "x$ac_cv_func_log10l" = xyes; then :
40368 cat >>confdefs.h <<_ACEOF
40369 #define HAVE_LOG10L 1
40370 _ACEOF
40371
40372 fi
40373 done
40374
40375 else
40376
40377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40378 $as_echo_n "checking for _log10l declaration... " >&6; }
40379 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40380 if ${glibcxx_cv_func__log10l_use+:} false; then :
40381 $as_echo_n "(cached) " >&6
40382 else
40383
40384
40385 ac_ext=cpp
40386 ac_cpp='$CXXCPP $CPPFLAGS'
40387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40390
40391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40392 /* end confdefs.h. */
40393 #include <math.h>
40394 #ifdef HAVE_IEEEFP_H
40395 #include <ieeefp.h>
40396 #endif
40397
40398 int
40399 main ()
40400 {
40401 _log10l(0);
40402 ;
40403 return 0;
40404 }
40405 _ACEOF
40406 if ac_fn_cxx_try_compile "$LINENO"; then :
40407 glibcxx_cv_func__log10l_use=yes
40408 else
40409 glibcxx_cv_func__log10l_use=no
40410 fi
40411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40412 ac_ext=c
40413 ac_cpp='$CPP $CPPFLAGS'
40414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40417
40418
40419 fi
40420
40421 fi
40422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40423 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40424
40425 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40426 for ac_func in _log10l
40427 do :
40428 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40429 if test "x$ac_cv_func__log10l" = xyes; then :
40430 cat >>confdefs.h <<_ACEOF
40431 #define HAVE__LOG10L 1
40432 _ACEOF
40433
40434 fi
40435 done
40436
40437 fi
40438 fi
40439
40440
40441
40442
40443
40444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40445 $as_echo_n "checking for modfl declaration... " >&6; }
40446 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40447 if ${glibcxx_cv_func_modfl_use+:} false; then :
40448 $as_echo_n "(cached) " >&6
40449 else
40450
40451
40452 ac_ext=cpp
40453 ac_cpp='$CXXCPP $CPPFLAGS'
40454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40457
40458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40459 /* end confdefs.h. */
40460 #include <math.h>
40461 int
40462 main ()
40463 {
40464 modfl(0, 0);
40465 ;
40466 return 0;
40467 }
40468 _ACEOF
40469 if ac_fn_cxx_try_compile "$LINENO"; then :
40470 glibcxx_cv_func_modfl_use=yes
40471 else
40472 glibcxx_cv_func_modfl_use=no
40473 fi
40474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40475 ac_ext=c
40476 ac_cpp='$CPP $CPPFLAGS'
40477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40480
40481
40482 fi
40483
40484 fi
40485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40486 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40487
40488 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40489 for ac_func in modfl
40490 do :
40491 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40492 if test "x$ac_cv_func_modfl" = xyes; then :
40493 cat >>confdefs.h <<_ACEOF
40494 #define HAVE_MODFL 1
40495 _ACEOF
40496
40497 fi
40498 done
40499
40500 else
40501
40502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40503 $as_echo_n "checking for _modfl declaration... " >&6; }
40504 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40505 if ${glibcxx_cv_func__modfl_use+:} false; then :
40506 $as_echo_n "(cached) " >&6
40507 else
40508
40509
40510 ac_ext=cpp
40511 ac_cpp='$CXXCPP $CPPFLAGS'
40512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40515
40516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40517 /* end confdefs.h. */
40518 #include <math.h>
40519 int
40520 main ()
40521 {
40522 _modfl(0, 0);
40523 ;
40524 return 0;
40525 }
40526 _ACEOF
40527 if ac_fn_cxx_try_compile "$LINENO"; then :
40528 glibcxx_cv_func__modfl_use=yes
40529 else
40530 glibcxx_cv_func__modfl_use=no
40531 fi
40532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40533 ac_ext=c
40534 ac_cpp='$CPP $CPPFLAGS'
40535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40538
40539
40540 fi
40541
40542 fi
40543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40544 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40545
40546 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40547 for ac_func in _modfl
40548 do :
40549 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40550 if test "x$ac_cv_func__modfl" = xyes; then :
40551 cat >>confdefs.h <<_ACEOF
40552 #define HAVE__MODFL 1
40553 _ACEOF
40554
40555 fi
40556 done
40557
40558 fi
40559 fi
40560
40561
40562
40563
40564
40565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40566 $as_echo_n "checking for powl declaration... " >&6; }
40567 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40568 if ${glibcxx_cv_func_powl_use+:} false; then :
40569 $as_echo_n "(cached) " >&6
40570 else
40571
40572
40573 ac_ext=cpp
40574 ac_cpp='$CXXCPP $CPPFLAGS'
40575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40578
40579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40580 /* end confdefs.h. */
40581 #include <math.h>
40582 int
40583 main ()
40584 {
40585 powl(0, 0);
40586 ;
40587 return 0;
40588 }
40589 _ACEOF
40590 if ac_fn_cxx_try_compile "$LINENO"; then :
40591 glibcxx_cv_func_powl_use=yes
40592 else
40593 glibcxx_cv_func_powl_use=no
40594 fi
40595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40596 ac_ext=c
40597 ac_cpp='$CPP $CPPFLAGS'
40598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40601
40602
40603 fi
40604
40605 fi
40606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40607 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40608
40609 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40610 for ac_func in powl
40611 do :
40612 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40613 if test "x$ac_cv_func_powl" = xyes; then :
40614 cat >>confdefs.h <<_ACEOF
40615 #define HAVE_POWL 1
40616 _ACEOF
40617
40618 fi
40619 done
40620
40621 else
40622
40623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40624 $as_echo_n "checking for _powl declaration... " >&6; }
40625 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40626 if ${glibcxx_cv_func__powl_use+:} false; then :
40627 $as_echo_n "(cached) " >&6
40628 else
40629
40630
40631 ac_ext=cpp
40632 ac_cpp='$CXXCPP $CPPFLAGS'
40633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40636
40637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40638 /* end confdefs.h. */
40639 #include <math.h>
40640 int
40641 main ()
40642 {
40643 _powl(0, 0);
40644 ;
40645 return 0;
40646 }
40647 _ACEOF
40648 if ac_fn_cxx_try_compile "$LINENO"; then :
40649 glibcxx_cv_func__powl_use=yes
40650 else
40651 glibcxx_cv_func__powl_use=no
40652 fi
40653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40654 ac_ext=c
40655 ac_cpp='$CPP $CPPFLAGS'
40656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40659
40660
40661 fi
40662
40663 fi
40664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40665 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40666
40667 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40668 for ac_func in _powl
40669 do :
40670 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40671 if test "x$ac_cv_func__powl" = xyes; then :
40672 cat >>confdefs.h <<_ACEOF
40673 #define HAVE__POWL 1
40674 _ACEOF
40675
40676 fi
40677 done
40678
40679 fi
40680 fi
40681
40682
40683
40684
40685
40686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40687 $as_echo_n "checking for sqrtl declaration... " >&6; }
40688 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40689 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40690 $as_echo_n "(cached) " >&6
40691 else
40692
40693
40694 ac_ext=cpp
40695 ac_cpp='$CXXCPP $CPPFLAGS'
40696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40699
40700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40701 /* end confdefs.h. */
40702 #include <math.h>
40703 #ifdef HAVE_IEEEFP_H
40704 #include <ieeefp.h>
40705 #endif
40706
40707 int
40708 main ()
40709 {
40710 sqrtl(0);
40711 ;
40712 return 0;
40713 }
40714 _ACEOF
40715 if ac_fn_cxx_try_compile "$LINENO"; then :
40716 glibcxx_cv_func_sqrtl_use=yes
40717 else
40718 glibcxx_cv_func_sqrtl_use=no
40719 fi
40720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40721 ac_ext=c
40722 ac_cpp='$CPP $CPPFLAGS'
40723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40726
40727
40728 fi
40729
40730 fi
40731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40732 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40733
40734 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40735 for ac_func in sqrtl
40736 do :
40737 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40738 if test "x$ac_cv_func_sqrtl" = xyes; then :
40739 cat >>confdefs.h <<_ACEOF
40740 #define HAVE_SQRTL 1
40741 _ACEOF
40742
40743 fi
40744 done
40745
40746 else
40747
40748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40749 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40750 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40751 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40752 $as_echo_n "(cached) " >&6
40753 else
40754
40755
40756 ac_ext=cpp
40757 ac_cpp='$CXXCPP $CPPFLAGS'
40758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40761
40762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40763 /* end confdefs.h. */
40764 #include <math.h>
40765 #ifdef HAVE_IEEEFP_H
40766 #include <ieeefp.h>
40767 #endif
40768
40769 int
40770 main ()
40771 {
40772 _sqrtl(0);
40773 ;
40774 return 0;
40775 }
40776 _ACEOF
40777 if ac_fn_cxx_try_compile "$LINENO"; then :
40778 glibcxx_cv_func__sqrtl_use=yes
40779 else
40780 glibcxx_cv_func__sqrtl_use=no
40781 fi
40782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40783 ac_ext=c
40784 ac_cpp='$CPP $CPPFLAGS'
40785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40788
40789
40790 fi
40791
40792 fi
40793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40794 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40795
40796 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40797 for ac_func in _sqrtl
40798 do :
40799 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40800 if test "x$ac_cv_func__sqrtl" = xyes; then :
40801 cat >>confdefs.h <<_ACEOF
40802 #define HAVE__SQRTL 1
40803 _ACEOF
40804
40805 fi
40806 done
40807
40808 fi
40809 fi
40810
40811
40812
40813
40814
40815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40816 $as_echo_n "checking for sincosl declaration... " >&6; }
40817 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40818 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40819 $as_echo_n "(cached) " >&6
40820 else
40821
40822
40823 ac_ext=cpp
40824 ac_cpp='$CXXCPP $CPPFLAGS'
40825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40828
40829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40830 /* end confdefs.h. */
40831 #include <math.h>
40832 int
40833 main ()
40834 {
40835 sincosl(0, 0, 0);
40836 ;
40837 return 0;
40838 }
40839 _ACEOF
40840 if ac_fn_cxx_try_compile "$LINENO"; then :
40841 glibcxx_cv_func_sincosl_use=yes
40842 else
40843 glibcxx_cv_func_sincosl_use=no
40844 fi
40845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40846 ac_ext=c
40847 ac_cpp='$CPP $CPPFLAGS'
40848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40851
40852
40853 fi
40854
40855 fi
40856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40857 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40858
40859 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40860 for ac_func in sincosl
40861 do :
40862 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40863 if test "x$ac_cv_func_sincosl" = xyes; then :
40864 cat >>confdefs.h <<_ACEOF
40865 #define HAVE_SINCOSL 1
40866 _ACEOF
40867
40868 fi
40869 done
40870
40871 else
40872
40873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40874 $as_echo_n "checking for _sincosl declaration... " >&6; }
40875 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40876 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40877 $as_echo_n "(cached) " >&6
40878 else
40879
40880
40881 ac_ext=cpp
40882 ac_cpp='$CXXCPP $CPPFLAGS'
40883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40886
40887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40888 /* end confdefs.h. */
40889 #include <math.h>
40890 int
40891 main ()
40892 {
40893 _sincosl(0, 0, 0);
40894 ;
40895 return 0;
40896 }
40897 _ACEOF
40898 if ac_fn_cxx_try_compile "$LINENO"; then :
40899 glibcxx_cv_func__sincosl_use=yes
40900 else
40901 glibcxx_cv_func__sincosl_use=no
40902 fi
40903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40904 ac_ext=c
40905 ac_cpp='$CPP $CPPFLAGS'
40906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40909
40910
40911 fi
40912
40913 fi
40914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40915 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40916
40917 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40918 for ac_func in _sincosl
40919 do :
40920 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40921 if test "x$ac_cv_func__sincosl" = xyes; then :
40922 cat >>confdefs.h <<_ACEOF
40923 #define HAVE__SINCOSL 1
40924 _ACEOF
40925
40926 fi
40927 done
40928
40929 fi
40930 fi
40931
40932
40933
40934
40935
40936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40937 $as_echo_n "checking for finitel declaration... " >&6; }
40938 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40939 if ${glibcxx_cv_func_finitel_use+:} false; then :
40940 $as_echo_n "(cached) " >&6
40941 else
40942
40943
40944 ac_ext=cpp
40945 ac_cpp='$CXXCPP $CPPFLAGS'
40946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40949
40950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40951 /* end confdefs.h. */
40952 #include <math.h>
40953 #ifdef HAVE_IEEEFP_H
40954 #include <ieeefp.h>
40955 #endif
40956
40957 int
40958 main ()
40959 {
40960 finitel(0);
40961 ;
40962 return 0;
40963 }
40964 _ACEOF
40965 if ac_fn_cxx_try_compile "$LINENO"; then :
40966 glibcxx_cv_func_finitel_use=yes
40967 else
40968 glibcxx_cv_func_finitel_use=no
40969 fi
40970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40971 ac_ext=c
40972 ac_cpp='$CPP $CPPFLAGS'
40973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40976
40977
40978 fi
40979
40980 fi
40981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40982 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40983
40984 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40985 for ac_func in finitel
40986 do :
40987 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40988 if test "x$ac_cv_func_finitel" = xyes; then :
40989 cat >>confdefs.h <<_ACEOF
40990 #define HAVE_FINITEL 1
40991 _ACEOF
40992
40993 fi
40994 done
40995
40996 else
40997
40998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40999 $as_echo_n "checking for _finitel declaration... " >&6; }
41000 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
41001 if ${glibcxx_cv_func__finitel_use+:} false; then :
41002 $as_echo_n "(cached) " >&6
41003 else
41004
41005
41006 ac_ext=cpp
41007 ac_cpp='$CXXCPP $CPPFLAGS'
41008 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41009 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41010 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41011
41012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41013 /* end confdefs.h. */
41014 #include <math.h>
41015 #ifdef HAVE_IEEEFP_H
41016 #include <ieeefp.h>
41017 #endif
41018
41019 int
41020 main ()
41021 {
41022 _finitel(0);
41023 ;
41024 return 0;
41025 }
41026 _ACEOF
41027 if ac_fn_cxx_try_compile "$LINENO"; then :
41028 glibcxx_cv_func__finitel_use=yes
41029 else
41030 glibcxx_cv_func__finitel_use=no
41031 fi
41032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41033 ac_ext=c
41034 ac_cpp='$CPP $CPPFLAGS'
41035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41038
41039
41040 fi
41041
41042 fi
41043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41044 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41045
41046 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41047 for ac_func in _finitel
41048 do :
41049 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41050 if test "x$ac_cv_func__finitel" = xyes; then :
41051 cat >>confdefs.h <<_ACEOF
41052 #define HAVE__FINITEL 1
41053 _ACEOF
41054
41055 fi
41056 done
41057
41058 fi
41059 fi
41060
41061
41062
41063
41064 LIBS="$ac_save_LIBS"
41065 CXXFLAGS="$ac_save_CXXFLAGS"
41066
41067
41068 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41069 ac_save_CXXFLAGS="$CXXFLAGS"
41070 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41071
41072
41073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41074 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41075 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41076 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41077 $as_echo_n "(cached) " >&6
41078 else
41079
41080
41081 ac_ext=cpp
41082 ac_cpp='$CXXCPP $CPPFLAGS'
41083 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41084 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41085 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41086
41087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41088 /* end confdefs.h. */
41089 #include <stdlib.h>
41090 int
41091 main ()
41092 {
41093 at_quick_exit(0);
41094 ;
41095 return 0;
41096 }
41097 _ACEOF
41098 if ac_fn_cxx_try_compile "$LINENO"; then :
41099 glibcxx_cv_func_at_quick_exit_use=yes
41100 else
41101 glibcxx_cv_func_at_quick_exit_use=no
41102 fi
41103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41104 ac_ext=c
41105 ac_cpp='$CPP $CPPFLAGS'
41106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41109
41110
41111 fi
41112
41113 fi
41114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41115 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41116 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41117 for ac_func in at_quick_exit
41118 do :
41119 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41120 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41121 cat >>confdefs.h <<_ACEOF
41122 #define HAVE_AT_QUICK_EXIT 1
41123 _ACEOF
41124
41125 fi
41126 done
41127
41128 fi
41129
41130
41131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41132 $as_echo_n "checking for quick_exit declaration... " >&6; }
41133 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41134 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41135 $as_echo_n "(cached) " >&6
41136 else
41137
41138
41139 ac_ext=cpp
41140 ac_cpp='$CXXCPP $CPPFLAGS'
41141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41144
41145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41146 /* end confdefs.h. */
41147 #include <stdlib.h>
41148 int
41149 main ()
41150 {
41151 quick_exit(0);
41152 ;
41153 return 0;
41154 }
41155 _ACEOF
41156 if ac_fn_cxx_try_compile "$LINENO"; then :
41157 glibcxx_cv_func_quick_exit_use=yes
41158 else
41159 glibcxx_cv_func_quick_exit_use=no
41160 fi
41161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41162 ac_ext=c
41163 ac_cpp='$CPP $CPPFLAGS'
41164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41167
41168
41169 fi
41170
41171 fi
41172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41173 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41174 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41175 for ac_func in quick_exit
41176 do :
41177 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41178 if test "x$ac_cv_func_quick_exit" = xyes; then :
41179 cat >>confdefs.h <<_ACEOF
41180 #define HAVE_QUICK_EXIT 1
41181 _ACEOF
41182
41183 fi
41184 done
41185
41186 fi
41187
41188
41189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41190 $as_echo_n "checking for strtold declaration... " >&6; }
41191 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41192 if ${glibcxx_cv_func_strtold_use+:} false; then :
41193 $as_echo_n "(cached) " >&6
41194 else
41195
41196
41197 ac_ext=cpp
41198 ac_cpp='$CXXCPP $CPPFLAGS'
41199 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41200 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41201 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41202
41203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41204 /* end confdefs.h. */
41205 #include <stdlib.h>
41206 int
41207 main ()
41208 {
41209 strtold(0, 0);
41210 ;
41211 return 0;
41212 }
41213 _ACEOF
41214 if ac_fn_cxx_try_compile "$LINENO"; then :
41215 glibcxx_cv_func_strtold_use=yes
41216 else
41217 glibcxx_cv_func_strtold_use=no
41218 fi
41219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41220 ac_ext=c
41221 ac_cpp='$CPP $CPPFLAGS'
41222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41225
41226
41227 fi
41228
41229 fi
41230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41231 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41232 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41233 for ac_func in strtold
41234 do :
41235 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41236 if test "x$ac_cv_func_strtold" = xyes; then :
41237 cat >>confdefs.h <<_ACEOF
41238 #define HAVE_STRTOLD 1
41239 _ACEOF
41240
41241 fi
41242 done
41243
41244 fi
41245
41246
41247
41248
41249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41250 $as_echo_n "checking for strtof declaration... " >&6; }
41251 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41252 if ${glibcxx_cv_func_strtof_use+:} false; then :
41253 $as_echo_n "(cached) " >&6
41254 else
41255
41256
41257 ac_ext=cpp
41258 ac_cpp='$CXXCPP $CPPFLAGS'
41259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41262
41263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41264 /* end confdefs.h. */
41265 #include <stdlib.h>
41266 int
41267 main ()
41268 {
41269 strtof(0, 0);
41270 ;
41271 return 0;
41272 }
41273 _ACEOF
41274 if ac_fn_cxx_try_compile "$LINENO"; then :
41275 glibcxx_cv_func_strtof_use=yes
41276 else
41277 glibcxx_cv_func_strtof_use=no
41278 fi
41279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41280 ac_ext=c
41281 ac_cpp='$CPP $CPPFLAGS'
41282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41285
41286
41287 fi
41288
41289 fi
41290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41291 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41292 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41293 for ac_func in strtof
41294 do :
41295 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41296 if test "x$ac_cv_func_strtof" = xyes; then :
41297 cat >>confdefs.h <<_ACEOF
41298 #define HAVE_STRTOF 1
41299 _ACEOF
41300
41301 fi
41302 done
41303
41304 fi
41305
41306
41307
41308
41309 CXXFLAGS="$ac_save_CXXFLAGS"
41310
41311
41312
41313
41314
41315
41316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41317 $as_echo_n "checking for iconv... " >&6; }
41318 if ${am_cv_func_iconv+:} false; then :
41319 $as_echo_n "(cached) " >&6
41320 else
41321
41322 am_cv_func_iconv="no, consider installing GNU libiconv"
41323 am_cv_lib_iconv=no
41324 am_save_CPPFLAGS="$CPPFLAGS"
41325 CPPFLAGS="$CPPFLAGS $INCICONV"
41326 if test x$gcc_no_link = xyes; then
41327 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41328 fi
41329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41330 /* end confdefs.h. */
41331 #include <stdlib.h>
41332 #include <iconv.h>
41333 int
41334 main ()
41335 {
41336 iconv_t cd = iconv_open("","");
41337 iconv(cd,NULL,NULL,NULL,NULL);
41338 iconv_close(cd);
41339 ;
41340 return 0;
41341 }
41342 _ACEOF
41343 if ac_fn_c_try_link "$LINENO"; then :
41344 am_cv_func_iconv=yes
41345 fi
41346 rm -f core conftest.err conftest.$ac_objext \
41347 conftest$ac_exeext conftest.$ac_ext
41348 CPPFLAGS="$am_save_CPPFLAGS"
41349
41350 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41351 for _libs in .libs _libs; do
41352 am_save_CPPFLAGS="$CPPFLAGS"
41353 am_save_LIBS="$LIBS"
41354 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41355 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41356 if test x$gcc_no_link = xyes; then
41357 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41358 fi
41359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41360 /* end confdefs.h. */
41361 #include <stdlib.h>
41362 #include <iconv.h>
41363 int
41364 main ()
41365 {
41366 iconv_t cd = iconv_open("","");
41367 iconv(cd,NULL,NULL,NULL,NULL);
41368 iconv_close(cd);
41369 ;
41370 return 0;
41371 }
41372 _ACEOF
41373 if ac_fn_c_try_link "$LINENO"; then :
41374 INCICONV="-I../libiconv/include"
41375 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41376 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41377 am_cv_lib_iconv=yes
41378 am_cv_func_iconv=yes
41379 fi
41380 rm -f core conftest.err conftest.$ac_objext \
41381 conftest$ac_exeext conftest.$ac_ext
41382 CPPFLAGS="$am_save_CPPFLAGS"
41383 LIBS="$am_save_LIBS"
41384 if test "$am_cv_func_iconv" = "yes"; then
41385 break
41386 fi
41387 done
41388 fi
41389
41390 if test "$am_cv_func_iconv" != yes; then
41391 am_save_CPPFLAGS="$CPPFLAGS"
41392 am_save_LIBS="$LIBS"
41393 CPPFLAGS="$CPPFLAGS $INCICONV"
41394 LIBS="$LIBS $LIBICONV"
41395 if test x$gcc_no_link = xyes; then
41396 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41397 fi
41398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41399 /* end confdefs.h. */
41400 #include <stdlib.h>
41401 #include <iconv.h>
41402 int
41403 main ()
41404 {
41405 iconv_t cd = iconv_open("","");
41406 iconv(cd,NULL,NULL,NULL,NULL);
41407 iconv_close(cd);
41408 ;
41409 return 0;
41410 }
41411 _ACEOF
41412 if ac_fn_c_try_link "$LINENO"; then :
41413 am_cv_lib_iconv=yes
41414 am_cv_func_iconv=yes
41415 fi
41416 rm -f core conftest.err conftest.$ac_objext \
41417 conftest$ac_exeext conftest.$ac_ext
41418 CPPFLAGS="$am_save_CPPFLAGS"
41419 LIBS="$am_save_LIBS"
41420 fi
41421
41422 fi
41423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41424 $as_echo "$am_cv_func_iconv" >&6; }
41425 if test "$am_cv_func_iconv" = yes; then
41426
41427 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41428
41429 fi
41430 if test "$am_cv_lib_iconv" = yes; then
41431
41432 for element in $INCICONV; do
41433 haveit=
41434 for x in $CPPFLAGS; do
41435
41436 acl_save_prefix="$prefix"
41437 prefix="$acl_final_prefix"
41438 acl_save_exec_prefix="$exec_prefix"
41439 exec_prefix="$acl_final_exec_prefix"
41440 eval x=\"$x\"
41441 exec_prefix="$acl_save_exec_prefix"
41442 prefix="$acl_save_prefix"
41443
41444 if test "X$x" = "X$element"; then
41445 haveit=yes
41446 break
41447 fi
41448 done
41449 if test -z "$haveit"; then
41450 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41451 fi
41452 done
41453
41454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41455 $as_echo_n "checking how to link with libiconv... " >&6; }
41456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41457 $as_echo "$LIBICONV" >&6; }
41458 else
41459 LIBICONV=
41460 LTLIBICONV=
41461 fi
41462
41463
41464
41465 if test "$am_cv_func_iconv" = yes; then
41466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41467 $as_echo_n "checking for iconv declaration... " >&6; }
41468 if ${am_cv_proto_iconv+:} false; then :
41469 $as_echo_n "(cached) " >&6
41470 else
41471
41472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41473 /* end confdefs.h. */
41474
41475 #include <stdlib.h>
41476 #include <iconv.h>
41477 extern
41478 #ifdef __cplusplus
41479 "C"
41480 #endif
41481 #if defined(__STDC__) || defined(__cplusplus)
41482 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41483 #else
41484 size_t iconv();
41485 #endif
41486
41487 int
41488 main ()
41489 {
41490
41491 ;
41492 return 0;
41493 }
41494 _ACEOF
41495 if ac_fn_c_try_compile "$LINENO"; then :
41496 am_cv_proto_iconv_arg1=""
41497 else
41498 am_cv_proto_iconv_arg1="const"
41499 fi
41500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41501 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);"
41502 fi
41503
41504 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41506 }$am_cv_proto_iconv" >&5
41507 $as_echo "${ac_t:-
41508 }$am_cv_proto_iconv" >&6; }
41509
41510 cat >>confdefs.h <<_ACEOF
41511 #define ICONV_CONST $am_cv_proto_iconv_arg1
41512 _ACEOF
41513
41514 fi
41515
41516 ;;
41517
41518 *-aix*)
41519
41520 # If we're not using GNU ld, then there's no point in even trying these
41521 # tests. Check for that first. We should have already tested for gld
41522 # by now (in libtool), but require it now just to be safe...
41523 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41524 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41525
41526
41527
41528 # The name set by libtool depends on the version of libtool. Shame on us
41529 # for depending on an impl detail, but c'est la vie. Older versions used
41530 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41531 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41532 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41533 # set (hence we're using an older libtool), then set it.
41534 if test x${with_gnu_ld+set} != xset; then
41535 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41536 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41537 with_gnu_ld=no
41538 else
41539 with_gnu_ld=$ac_cv_prog_gnu_ld
41540 fi
41541 fi
41542
41543 # Start by getting the version number. I think the libtool test already
41544 # does some of this, but throws away the result.
41545 glibcxx_ld_is_gold=no
41546 if test x"$with_gnu_ld" = x"yes"; then
41547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41548 $as_echo_n "checking for ld version... " >&6; }
41549
41550 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41551 glibcxx_ld_is_gold=yes
41552 fi
41553 ldver=`$LD --version 2>/dev/null |
41554 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'`
41555
41556 glibcxx_gnu_ld_version=`echo $ldver | \
41557 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41559 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41560 fi
41561
41562 # Set --gc-sections.
41563 glibcxx_have_gc_sections=no
41564 if test "$glibcxx_ld_is_gold" = "yes"; then
41565 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41566 glibcxx_have_gc_sections=yes
41567 fi
41568 else
41569 glibcxx_gcsections_min_ld=21602
41570 if test x"$with_gnu_ld" = x"yes" &&
41571 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41572 glibcxx_have_gc_sections=yes
41573 fi
41574 fi
41575 if test "$glibcxx_have_gc_sections" = "yes"; then
41576 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41577 # NB: This flag only works reliably after 2.16.1. Configure tests
41578 # for this are difficult, so hard wire a value that should work.
41579
41580 ac_test_CFLAGS="${CFLAGS+set}"
41581 ac_save_CFLAGS="$CFLAGS"
41582 CFLAGS='-Wl,--gc-sections'
41583
41584 # Check for -Wl,--gc-sections
41585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41586 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41587 if test x$gcc_no_link = xyes; then
41588 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41589 fi
41590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41591 /* end confdefs.h. */
41592 int one(void) { return 1; }
41593 int two(void) { return 2; }
41594
41595 int
41596 main ()
41597 {
41598 two();
41599 ;
41600 return 0;
41601 }
41602 _ACEOF
41603 if ac_fn_c_try_link "$LINENO"; then :
41604 ac_gcsections=yes
41605 else
41606 ac_gcsections=no
41607 fi
41608 rm -f core conftest.err conftest.$ac_objext \
41609 conftest$ac_exeext conftest.$ac_ext
41610 if test "$ac_gcsections" = "yes"; then
41611 rm -f conftest.c
41612 touch conftest.c
41613 if $CC -c conftest.c; then
41614 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41615 grep "Warning: gc-sections option ignored" > /dev/null; then
41616 ac_gcsections=no
41617 fi
41618 fi
41619 rm -f conftest.c conftest.o conftest
41620 fi
41621 if test "$ac_gcsections" = "yes"; then
41622 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41623 fi
41624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41625 $as_echo "$ac_gcsections" >&6; }
41626
41627 if test "$ac_test_CFLAGS" = set; then
41628 CFLAGS="$ac_save_CFLAGS"
41629 else
41630 # this is the suspicious part
41631 CFLAGS=''
41632 fi
41633 fi
41634
41635 # Set -z,relro.
41636 # Note this is only for shared objects.
41637 ac_ld_relro=no
41638 if test x"$with_gnu_ld" = x"yes"; then
41639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41640 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41641 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41642 if test -n "$cxx_z_relo"; then
41643 OPT_LDFLAGS="-Wl,-z,relro"
41644 ac_ld_relro=yes
41645 fi
41646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41647 $as_echo "$ac_ld_relro" >&6; }
41648 fi
41649
41650 # Set linker optimization flags.
41651 if test x"$with_gnu_ld" = x"yes"; then
41652 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41653 fi
41654
41655
41656
41657
41658
41659 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41660 ac_save_CXXFLAGS="$CXXFLAGS"
41661 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41662
41663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41664 $as_echo_n "checking for sin in -lm... " >&6; }
41665 if ${ac_cv_lib_m_sin+:} false; then :
41666 $as_echo_n "(cached) " >&6
41667 else
41668 ac_check_lib_save_LIBS=$LIBS
41669 LIBS="-lm $LIBS"
41670 if test x$gcc_no_link = xyes; then
41671 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41672 fi
41673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41674 /* end confdefs.h. */
41675
41676 /* Override any GCC internal prototype to avoid an error.
41677 Use char because int might match the return type of a GCC
41678 builtin and then its argument prototype would still apply. */
41679 #ifdef __cplusplus
41680 extern "C"
41681 #endif
41682 char sin ();
41683 int
41684 main ()
41685 {
41686 return sin ();
41687 ;
41688 return 0;
41689 }
41690 _ACEOF
41691 if ac_fn_c_try_link "$LINENO"; then :
41692 ac_cv_lib_m_sin=yes
41693 else
41694 ac_cv_lib_m_sin=no
41695 fi
41696 rm -f core conftest.err conftest.$ac_objext \
41697 conftest$ac_exeext conftest.$ac_ext
41698 LIBS=$ac_check_lib_save_LIBS
41699 fi
41700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41701 $as_echo "$ac_cv_lib_m_sin" >&6; }
41702 if test "x$ac_cv_lib_m_sin" = xyes; then :
41703 libm="-lm"
41704 fi
41705
41706 ac_save_LIBS="$LIBS"
41707 LIBS="$LIBS $libm"
41708
41709
41710
41711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41712 $as_echo_n "checking for isinf declaration... " >&6; }
41713 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41714 if ${glibcxx_cv_func_isinf_use+:} false; then :
41715 $as_echo_n "(cached) " >&6
41716 else
41717
41718
41719 ac_ext=cpp
41720 ac_cpp='$CXXCPP $CPPFLAGS'
41721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41724
41725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41726 /* end confdefs.h. */
41727 #include <math.h>
41728 #ifdef HAVE_IEEEFP_H
41729 #include <ieeefp.h>
41730 #endif
41731
41732 int
41733 main ()
41734 {
41735 isinf(0);
41736 ;
41737 return 0;
41738 }
41739 _ACEOF
41740 if ac_fn_cxx_try_compile "$LINENO"; then :
41741 glibcxx_cv_func_isinf_use=yes
41742 else
41743 glibcxx_cv_func_isinf_use=no
41744 fi
41745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41746 ac_ext=c
41747 ac_cpp='$CPP $CPPFLAGS'
41748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41751
41752
41753 fi
41754
41755 fi
41756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41757 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41758
41759 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41760 for ac_func in isinf
41761 do :
41762 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41763 if test "x$ac_cv_func_isinf" = xyes; then :
41764 cat >>confdefs.h <<_ACEOF
41765 #define HAVE_ISINF 1
41766 _ACEOF
41767
41768 fi
41769 done
41770
41771 else
41772
41773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41774 $as_echo_n "checking for _isinf declaration... " >&6; }
41775 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41776 if ${glibcxx_cv_func__isinf_use+:} false; then :
41777 $as_echo_n "(cached) " >&6
41778 else
41779
41780
41781 ac_ext=cpp
41782 ac_cpp='$CXXCPP $CPPFLAGS'
41783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41786
41787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41788 /* end confdefs.h. */
41789 #include <math.h>
41790 #ifdef HAVE_IEEEFP_H
41791 #include <ieeefp.h>
41792 #endif
41793
41794 int
41795 main ()
41796 {
41797 _isinf(0);
41798 ;
41799 return 0;
41800 }
41801 _ACEOF
41802 if ac_fn_cxx_try_compile "$LINENO"; then :
41803 glibcxx_cv_func__isinf_use=yes
41804 else
41805 glibcxx_cv_func__isinf_use=no
41806 fi
41807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41808 ac_ext=c
41809 ac_cpp='$CPP $CPPFLAGS'
41810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41813
41814
41815 fi
41816
41817 fi
41818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41819 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41820
41821 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41822 for ac_func in _isinf
41823 do :
41824 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41825 if test "x$ac_cv_func__isinf" = xyes; then :
41826 cat >>confdefs.h <<_ACEOF
41827 #define HAVE__ISINF 1
41828 _ACEOF
41829
41830 fi
41831 done
41832
41833 fi
41834 fi
41835
41836
41837
41838
41839
41840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41841 $as_echo_n "checking for isnan declaration... " >&6; }
41842 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41843 if ${glibcxx_cv_func_isnan_use+:} false; then :
41844 $as_echo_n "(cached) " >&6
41845 else
41846
41847
41848 ac_ext=cpp
41849 ac_cpp='$CXXCPP $CPPFLAGS'
41850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41853
41854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41855 /* end confdefs.h. */
41856 #include <math.h>
41857 #ifdef HAVE_IEEEFP_H
41858 #include <ieeefp.h>
41859 #endif
41860
41861 int
41862 main ()
41863 {
41864 isnan(0);
41865 ;
41866 return 0;
41867 }
41868 _ACEOF
41869 if ac_fn_cxx_try_compile "$LINENO"; then :
41870 glibcxx_cv_func_isnan_use=yes
41871 else
41872 glibcxx_cv_func_isnan_use=no
41873 fi
41874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41875 ac_ext=c
41876 ac_cpp='$CPP $CPPFLAGS'
41877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41880
41881
41882 fi
41883
41884 fi
41885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41886 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41887
41888 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41889 for ac_func in isnan
41890 do :
41891 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41892 if test "x$ac_cv_func_isnan" = xyes; then :
41893 cat >>confdefs.h <<_ACEOF
41894 #define HAVE_ISNAN 1
41895 _ACEOF
41896
41897 fi
41898 done
41899
41900 else
41901
41902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41903 $as_echo_n "checking for _isnan declaration... " >&6; }
41904 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41905 if ${glibcxx_cv_func__isnan_use+:} false; then :
41906 $as_echo_n "(cached) " >&6
41907 else
41908
41909
41910 ac_ext=cpp
41911 ac_cpp='$CXXCPP $CPPFLAGS'
41912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41915
41916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41917 /* end confdefs.h. */
41918 #include <math.h>
41919 #ifdef HAVE_IEEEFP_H
41920 #include <ieeefp.h>
41921 #endif
41922
41923 int
41924 main ()
41925 {
41926 _isnan(0);
41927 ;
41928 return 0;
41929 }
41930 _ACEOF
41931 if ac_fn_cxx_try_compile "$LINENO"; then :
41932 glibcxx_cv_func__isnan_use=yes
41933 else
41934 glibcxx_cv_func__isnan_use=no
41935 fi
41936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41937 ac_ext=c
41938 ac_cpp='$CPP $CPPFLAGS'
41939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41942
41943
41944 fi
41945
41946 fi
41947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41948 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41949
41950 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41951 for ac_func in _isnan
41952 do :
41953 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41954 if test "x$ac_cv_func__isnan" = xyes; then :
41955 cat >>confdefs.h <<_ACEOF
41956 #define HAVE__ISNAN 1
41957 _ACEOF
41958
41959 fi
41960 done
41961
41962 fi
41963 fi
41964
41965
41966
41967
41968
41969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41970 $as_echo_n "checking for finite declaration... " >&6; }
41971 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41972 if ${glibcxx_cv_func_finite_use+:} false; then :
41973 $as_echo_n "(cached) " >&6
41974 else
41975
41976
41977 ac_ext=cpp
41978 ac_cpp='$CXXCPP $CPPFLAGS'
41979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41982
41983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41984 /* end confdefs.h. */
41985 #include <math.h>
41986 #ifdef HAVE_IEEEFP_H
41987 #include <ieeefp.h>
41988 #endif
41989
41990 int
41991 main ()
41992 {
41993 finite(0);
41994 ;
41995 return 0;
41996 }
41997 _ACEOF
41998 if ac_fn_cxx_try_compile "$LINENO"; then :
41999 glibcxx_cv_func_finite_use=yes
42000 else
42001 glibcxx_cv_func_finite_use=no
42002 fi
42003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42004 ac_ext=c
42005 ac_cpp='$CPP $CPPFLAGS'
42006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42009
42010
42011 fi
42012
42013 fi
42014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
42015 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
42016
42017 if test x$glibcxx_cv_func_finite_use = x"yes"; then
42018 for ac_func in finite
42019 do :
42020 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
42021 if test "x$ac_cv_func_finite" = xyes; then :
42022 cat >>confdefs.h <<_ACEOF
42023 #define HAVE_FINITE 1
42024 _ACEOF
42025
42026 fi
42027 done
42028
42029 else
42030
42031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42032 $as_echo_n "checking for _finite declaration... " >&6; }
42033 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42034 if ${glibcxx_cv_func__finite_use+:} false; then :
42035 $as_echo_n "(cached) " >&6
42036 else
42037
42038
42039 ac_ext=cpp
42040 ac_cpp='$CXXCPP $CPPFLAGS'
42041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42044
42045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42046 /* end confdefs.h. */
42047 #include <math.h>
42048 #ifdef HAVE_IEEEFP_H
42049 #include <ieeefp.h>
42050 #endif
42051
42052 int
42053 main ()
42054 {
42055 _finite(0);
42056 ;
42057 return 0;
42058 }
42059 _ACEOF
42060 if ac_fn_cxx_try_compile "$LINENO"; then :
42061 glibcxx_cv_func__finite_use=yes
42062 else
42063 glibcxx_cv_func__finite_use=no
42064 fi
42065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42066 ac_ext=c
42067 ac_cpp='$CPP $CPPFLAGS'
42068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42071
42072
42073 fi
42074
42075 fi
42076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42077 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
42078
42079 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42080 for ac_func in _finite
42081 do :
42082 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42083 if test "x$ac_cv_func__finite" = xyes; then :
42084 cat >>confdefs.h <<_ACEOF
42085 #define HAVE__FINITE 1
42086 _ACEOF
42087
42088 fi
42089 done
42090
42091 fi
42092 fi
42093
42094
42095
42096
42097
42098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42099 $as_echo_n "checking for sincos declaration... " >&6; }
42100 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42101 if ${glibcxx_cv_func_sincos_use+:} false; then :
42102 $as_echo_n "(cached) " >&6
42103 else
42104
42105
42106 ac_ext=cpp
42107 ac_cpp='$CXXCPP $CPPFLAGS'
42108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42111
42112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42113 /* end confdefs.h. */
42114 #include <math.h>
42115 int
42116 main ()
42117 {
42118 sincos(0, 0, 0);
42119 ;
42120 return 0;
42121 }
42122 _ACEOF
42123 if ac_fn_cxx_try_compile "$LINENO"; then :
42124 glibcxx_cv_func_sincos_use=yes
42125 else
42126 glibcxx_cv_func_sincos_use=no
42127 fi
42128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42129 ac_ext=c
42130 ac_cpp='$CPP $CPPFLAGS'
42131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42134
42135
42136 fi
42137
42138 fi
42139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42140 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42141
42142 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42143 for ac_func in sincos
42144 do :
42145 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42146 if test "x$ac_cv_func_sincos" = xyes; then :
42147 cat >>confdefs.h <<_ACEOF
42148 #define HAVE_SINCOS 1
42149 _ACEOF
42150
42151 fi
42152 done
42153
42154 else
42155
42156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42157 $as_echo_n "checking for _sincos declaration... " >&6; }
42158 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42159 if ${glibcxx_cv_func__sincos_use+:} false; then :
42160 $as_echo_n "(cached) " >&6
42161 else
42162
42163
42164 ac_ext=cpp
42165 ac_cpp='$CXXCPP $CPPFLAGS'
42166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42169
42170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42171 /* end confdefs.h. */
42172 #include <math.h>
42173 int
42174 main ()
42175 {
42176 _sincos(0, 0, 0);
42177 ;
42178 return 0;
42179 }
42180 _ACEOF
42181 if ac_fn_cxx_try_compile "$LINENO"; then :
42182 glibcxx_cv_func__sincos_use=yes
42183 else
42184 glibcxx_cv_func__sincos_use=no
42185 fi
42186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42187 ac_ext=c
42188 ac_cpp='$CPP $CPPFLAGS'
42189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42192
42193
42194 fi
42195
42196 fi
42197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42198 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42199
42200 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42201 for ac_func in _sincos
42202 do :
42203 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42204 if test "x$ac_cv_func__sincos" = xyes; then :
42205 cat >>confdefs.h <<_ACEOF
42206 #define HAVE__SINCOS 1
42207 _ACEOF
42208
42209 fi
42210 done
42211
42212 fi
42213 fi
42214
42215
42216
42217
42218
42219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42220 $as_echo_n "checking for fpclass declaration... " >&6; }
42221 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42222 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42223 $as_echo_n "(cached) " >&6
42224 else
42225
42226
42227 ac_ext=cpp
42228 ac_cpp='$CXXCPP $CPPFLAGS'
42229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42232
42233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42234 /* end confdefs.h. */
42235 #include <math.h>
42236 #ifdef HAVE_IEEEFP_H
42237 #include <ieeefp.h>
42238 #endif
42239
42240 int
42241 main ()
42242 {
42243 fpclass(0);
42244 ;
42245 return 0;
42246 }
42247 _ACEOF
42248 if ac_fn_cxx_try_compile "$LINENO"; then :
42249 glibcxx_cv_func_fpclass_use=yes
42250 else
42251 glibcxx_cv_func_fpclass_use=no
42252 fi
42253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42254 ac_ext=c
42255 ac_cpp='$CPP $CPPFLAGS'
42256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42259
42260
42261 fi
42262
42263 fi
42264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42265 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42266
42267 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42268 for ac_func in fpclass
42269 do :
42270 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42271 if test "x$ac_cv_func_fpclass" = xyes; then :
42272 cat >>confdefs.h <<_ACEOF
42273 #define HAVE_FPCLASS 1
42274 _ACEOF
42275
42276 fi
42277 done
42278
42279 else
42280
42281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42282 $as_echo_n "checking for _fpclass declaration... " >&6; }
42283 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42284 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42285 $as_echo_n "(cached) " >&6
42286 else
42287
42288
42289 ac_ext=cpp
42290 ac_cpp='$CXXCPP $CPPFLAGS'
42291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42294
42295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42296 /* end confdefs.h. */
42297 #include <math.h>
42298 #ifdef HAVE_IEEEFP_H
42299 #include <ieeefp.h>
42300 #endif
42301
42302 int
42303 main ()
42304 {
42305 _fpclass(0);
42306 ;
42307 return 0;
42308 }
42309 _ACEOF
42310 if ac_fn_cxx_try_compile "$LINENO"; then :
42311 glibcxx_cv_func__fpclass_use=yes
42312 else
42313 glibcxx_cv_func__fpclass_use=no
42314 fi
42315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42316 ac_ext=c
42317 ac_cpp='$CPP $CPPFLAGS'
42318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42321
42322
42323 fi
42324
42325 fi
42326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42327 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42328
42329 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42330 for ac_func in _fpclass
42331 do :
42332 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42333 if test "x$ac_cv_func__fpclass" = xyes; then :
42334 cat >>confdefs.h <<_ACEOF
42335 #define HAVE__FPCLASS 1
42336 _ACEOF
42337
42338 fi
42339 done
42340
42341 fi
42342 fi
42343
42344
42345
42346
42347
42348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42349 $as_echo_n "checking for qfpclass declaration... " >&6; }
42350 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42351 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42352 $as_echo_n "(cached) " >&6
42353 else
42354
42355
42356 ac_ext=cpp
42357 ac_cpp='$CXXCPP $CPPFLAGS'
42358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42361
42362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42363 /* end confdefs.h. */
42364 #include <math.h>
42365 #ifdef HAVE_IEEEFP_H
42366 #include <ieeefp.h>
42367 #endif
42368
42369 int
42370 main ()
42371 {
42372 qfpclass(0);
42373 ;
42374 return 0;
42375 }
42376 _ACEOF
42377 if ac_fn_cxx_try_compile "$LINENO"; then :
42378 glibcxx_cv_func_qfpclass_use=yes
42379 else
42380 glibcxx_cv_func_qfpclass_use=no
42381 fi
42382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42383 ac_ext=c
42384 ac_cpp='$CPP $CPPFLAGS'
42385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42388
42389
42390 fi
42391
42392 fi
42393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42394 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42395
42396 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42397 for ac_func in qfpclass
42398 do :
42399 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42400 if test "x$ac_cv_func_qfpclass" = xyes; then :
42401 cat >>confdefs.h <<_ACEOF
42402 #define HAVE_QFPCLASS 1
42403 _ACEOF
42404
42405 fi
42406 done
42407
42408 else
42409
42410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42411 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42412 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42413 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42414 $as_echo_n "(cached) " >&6
42415 else
42416
42417
42418 ac_ext=cpp
42419 ac_cpp='$CXXCPP $CPPFLAGS'
42420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42423
42424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42425 /* end confdefs.h. */
42426 #include <math.h>
42427 #ifdef HAVE_IEEEFP_H
42428 #include <ieeefp.h>
42429 #endif
42430
42431 int
42432 main ()
42433 {
42434 _qfpclass(0);
42435 ;
42436 return 0;
42437 }
42438 _ACEOF
42439 if ac_fn_cxx_try_compile "$LINENO"; then :
42440 glibcxx_cv_func__qfpclass_use=yes
42441 else
42442 glibcxx_cv_func__qfpclass_use=no
42443 fi
42444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42445 ac_ext=c
42446 ac_cpp='$CPP $CPPFLAGS'
42447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42450
42451
42452 fi
42453
42454 fi
42455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42456 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42457
42458 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42459 for ac_func in _qfpclass
42460 do :
42461 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42462 if test "x$ac_cv_func__qfpclass" = xyes; then :
42463 cat >>confdefs.h <<_ACEOF
42464 #define HAVE__QFPCLASS 1
42465 _ACEOF
42466
42467 fi
42468 done
42469
42470 fi
42471 fi
42472
42473
42474
42475
42476
42477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42478 $as_echo_n "checking for hypot declaration... " >&6; }
42479 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42480 if ${glibcxx_cv_func_hypot_use+:} false; then :
42481 $as_echo_n "(cached) " >&6
42482 else
42483
42484
42485 ac_ext=cpp
42486 ac_cpp='$CXXCPP $CPPFLAGS'
42487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42490
42491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42492 /* end confdefs.h. */
42493 #include <math.h>
42494 int
42495 main ()
42496 {
42497 hypot(0, 0);
42498 ;
42499 return 0;
42500 }
42501 _ACEOF
42502 if ac_fn_cxx_try_compile "$LINENO"; then :
42503 glibcxx_cv_func_hypot_use=yes
42504 else
42505 glibcxx_cv_func_hypot_use=no
42506 fi
42507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42508 ac_ext=c
42509 ac_cpp='$CPP $CPPFLAGS'
42510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42513
42514
42515 fi
42516
42517 fi
42518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42519 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42520
42521 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42522 for ac_func in hypot
42523 do :
42524 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42525 if test "x$ac_cv_func_hypot" = xyes; then :
42526 cat >>confdefs.h <<_ACEOF
42527 #define HAVE_HYPOT 1
42528 _ACEOF
42529
42530 fi
42531 done
42532
42533 else
42534
42535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42536 $as_echo_n "checking for _hypot declaration... " >&6; }
42537 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42538 if ${glibcxx_cv_func__hypot_use+:} false; then :
42539 $as_echo_n "(cached) " >&6
42540 else
42541
42542
42543 ac_ext=cpp
42544 ac_cpp='$CXXCPP $CPPFLAGS'
42545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42548
42549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42550 /* end confdefs.h. */
42551 #include <math.h>
42552 int
42553 main ()
42554 {
42555 _hypot(0, 0);
42556 ;
42557 return 0;
42558 }
42559 _ACEOF
42560 if ac_fn_cxx_try_compile "$LINENO"; then :
42561 glibcxx_cv_func__hypot_use=yes
42562 else
42563 glibcxx_cv_func__hypot_use=no
42564 fi
42565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42566 ac_ext=c
42567 ac_cpp='$CPP $CPPFLAGS'
42568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42571
42572
42573 fi
42574
42575 fi
42576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42577 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42578
42579 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42580 for ac_func in _hypot
42581 do :
42582 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42583 if test "x$ac_cv_func__hypot" = xyes; then :
42584 cat >>confdefs.h <<_ACEOF
42585 #define HAVE__HYPOT 1
42586 _ACEOF
42587
42588 fi
42589 done
42590
42591 fi
42592 fi
42593
42594
42595
42596
42597
42598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42599 $as_echo_n "checking for float trig functions... " >&6; }
42600 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42601 $as_echo_n "(cached) " >&6
42602 else
42603
42604
42605 ac_ext=cpp
42606 ac_cpp='$CXXCPP $CPPFLAGS'
42607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42610
42611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42612 /* end confdefs.h. */
42613 #include <math.h>
42614 int
42615 main ()
42616 {
42617 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42618 ;
42619 return 0;
42620 }
42621 _ACEOF
42622 if ac_fn_cxx_try_compile "$LINENO"; then :
42623 glibcxx_cv_func_float_trig_use=yes
42624 else
42625 glibcxx_cv_func_float_trig_use=no
42626 fi
42627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42628 ac_ext=c
42629 ac_cpp='$CPP $CPPFLAGS'
42630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42633
42634 fi
42635
42636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42637 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42638 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42639 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42640 do :
42641 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42642 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42643 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42644 cat >>confdefs.h <<_ACEOF
42645 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42646 _ACEOF
42647
42648 fi
42649 done
42650
42651 else
42652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42653 $as_echo_n "checking for _float trig functions... " >&6; }
42654 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42655 $as_echo_n "(cached) " >&6
42656 else
42657
42658
42659 ac_ext=cpp
42660 ac_cpp='$CXXCPP $CPPFLAGS'
42661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42664
42665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42666 /* end confdefs.h. */
42667 #include <math.h>
42668 int
42669 main ()
42670 {
42671 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42672 ;
42673 return 0;
42674 }
42675 _ACEOF
42676 if ac_fn_cxx_try_compile "$LINENO"; then :
42677 glibcxx_cv_func__float_trig_use=yes
42678 else
42679 glibcxx_cv_func__float_trig_use=no
42680 fi
42681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42682 ac_ext=c
42683 ac_cpp='$CPP $CPPFLAGS'
42684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42687
42688 fi
42689
42690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42691 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42692 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42693 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42694 do :
42695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42697 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42698 cat >>confdefs.h <<_ACEOF
42699 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42700 _ACEOF
42701
42702 fi
42703 done
42704
42705 fi
42706 fi
42707
42708
42709
42710
42711
42712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42713 $as_echo_n "checking for float round functions... " >&6; }
42714 if ${glibcxx_cv_func_float_round_use+:} false; then :
42715 $as_echo_n "(cached) " >&6
42716 else
42717
42718
42719 ac_ext=cpp
42720 ac_cpp='$CXXCPP $CPPFLAGS'
42721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42724
42725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42726 /* end confdefs.h. */
42727 #include <math.h>
42728 int
42729 main ()
42730 {
42731 ceilf (0); floorf (0);
42732 ;
42733 return 0;
42734 }
42735 _ACEOF
42736 if ac_fn_cxx_try_compile "$LINENO"; then :
42737 glibcxx_cv_func_float_round_use=yes
42738 else
42739 glibcxx_cv_func_float_round_use=no
42740 fi
42741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42742 ac_ext=c
42743 ac_cpp='$CPP $CPPFLAGS'
42744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42747
42748 fi
42749
42750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42751 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42752 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42753 for ac_func in ceilf floorf
42754 do :
42755 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42756 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42757 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42758 cat >>confdefs.h <<_ACEOF
42759 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42760 _ACEOF
42761
42762 fi
42763 done
42764
42765 else
42766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42767 $as_echo_n "checking for _float round functions... " >&6; }
42768 if ${glibcxx_cv_func__float_round_use+:} false; then :
42769 $as_echo_n "(cached) " >&6
42770 else
42771
42772
42773 ac_ext=cpp
42774 ac_cpp='$CXXCPP $CPPFLAGS'
42775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42778
42779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42780 /* end confdefs.h. */
42781 #include <math.h>
42782 int
42783 main ()
42784 {
42785 _ceilf (0); _floorf (0);
42786 ;
42787 return 0;
42788 }
42789 _ACEOF
42790 if ac_fn_cxx_try_compile "$LINENO"; then :
42791 glibcxx_cv_func__float_round_use=yes
42792 else
42793 glibcxx_cv_func__float_round_use=no
42794 fi
42795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42796 ac_ext=c
42797 ac_cpp='$CPP $CPPFLAGS'
42798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42801
42802 fi
42803
42804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42805 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42806 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42807 for ac_func in _ceilf _floorf
42808 do :
42809 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42810 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42811 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42812 cat >>confdefs.h <<_ACEOF
42813 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42814 _ACEOF
42815
42816 fi
42817 done
42818
42819 fi
42820 fi
42821
42822
42823
42824
42825
42826
42827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42828 $as_echo_n "checking for expf declaration... " >&6; }
42829 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42830 if ${glibcxx_cv_func_expf_use+:} false; then :
42831 $as_echo_n "(cached) " >&6
42832 else
42833
42834
42835 ac_ext=cpp
42836 ac_cpp='$CXXCPP $CPPFLAGS'
42837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42840
42841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42842 /* end confdefs.h. */
42843 #include <math.h>
42844 #ifdef HAVE_IEEEFP_H
42845 #include <ieeefp.h>
42846 #endif
42847
42848 int
42849 main ()
42850 {
42851 expf(0);
42852 ;
42853 return 0;
42854 }
42855 _ACEOF
42856 if ac_fn_cxx_try_compile "$LINENO"; then :
42857 glibcxx_cv_func_expf_use=yes
42858 else
42859 glibcxx_cv_func_expf_use=no
42860 fi
42861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42862 ac_ext=c
42863 ac_cpp='$CPP $CPPFLAGS'
42864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42867
42868
42869 fi
42870
42871 fi
42872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42873 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42874
42875 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42876 for ac_func in expf
42877 do :
42878 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42879 if test "x$ac_cv_func_expf" = xyes; then :
42880 cat >>confdefs.h <<_ACEOF
42881 #define HAVE_EXPF 1
42882 _ACEOF
42883
42884 fi
42885 done
42886
42887 else
42888
42889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42890 $as_echo_n "checking for _expf declaration... " >&6; }
42891 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42892 if ${glibcxx_cv_func__expf_use+:} false; then :
42893 $as_echo_n "(cached) " >&6
42894 else
42895
42896
42897 ac_ext=cpp
42898 ac_cpp='$CXXCPP $CPPFLAGS'
42899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42902
42903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42904 /* end confdefs.h. */
42905 #include <math.h>
42906 #ifdef HAVE_IEEEFP_H
42907 #include <ieeefp.h>
42908 #endif
42909
42910 int
42911 main ()
42912 {
42913 _expf(0);
42914 ;
42915 return 0;
42916 }
42917 _ACEOF
42918 if ac_fn_cxx_try_compile "$LINENO"; then :
42919 glibcxx_cv_func__expf_use=yes
42920 else
42921 glibcxx_cv_func__expf_use=no
42922 fi
42923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42924 ac_ext=c
42925 ac_cpp='$CPP $CPPFLAGS'
42926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42929
42930
42931 fi
42932
42933 fi
42934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42935 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42936
42937 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42938 for ac_func in _expf
42939 do :
42940 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42941 if test "x$ac_cv_func__expf" = xyes; then :
42942 cat >>confdefs.h <<_ACEOF
42943 #define HAVE__EXPF 1
42944 _ACEOF
42945
42946 fi
42947 done
42948
42949 fi
42950 fi
42951
42952
42953
42954
42955
42956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42957 $as_echo_n "checking for isnanf declaration... " >&6; }
42958 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42959 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42960 $as_echo_n "(cached) " >&6
42961 else
42962
42963
42964 ac_ext=cpp
42965 ac_cpp='$CXXCPP $CPPFLAGS'
42966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42969
42970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42971 /* end confdefs.h. */
42972 #include <math.h>
42973 #ifdef HAVE_IEEEFP_H
42974 #include <ieeefp.h>
42975 #endif
42976
42977 int
42978 main ()
42979 {
42980 isnanf(0);
42981 ;
42982 return 0;
42983 }
42984 _ACEOF
42985 if ac_fn_cxx_try_compile "$LINENO"; then :
42986 glibcxx_cv_func_isnanf_use=yes
42987 else
42988 glibcxx_cv_func_isnanf_use=no
42989 fi
42990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42991 ac_ext=c
42992 ac_cpp='$CPP $CPPFLAGS'
42993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42996
42997
42998 fi
42999
43000 fi
43001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
43002 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
43003
43004 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
43005 for ac_func in isnanf
43006 do :
43007 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
43008 if test "x$ac_cv_func_isnanf" = xyes; then :
43009 cat >>confdefs.h <<_ACEOF
43010 #define HAVE_ISNANF 1
43011 _ACEOF
43012
43013 fi
43014 done
43015
43016 else
43017
43018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
43019 $as_echo_n "checking for _isnanf declaration... " >&6; }
43020 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
43021 if ${glibcxx_cv_func__isnanf_use+:} false; then :
43022 $as_echo_n "(cached) " >&6
43023 else
43024
43025
43026 ac_ext=cpp
43027 ac_cpp='$CXXCPP $CPPFLAGS'
43028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43031
43032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43033 /* end confdefs.h. */
43034 #include <math.h>
43035 #ifdef HAVE_IEEEFP_H
43036 #include <ieeefp.h>
43037 #endif
43038
43039 int
43040 main ()
43041 {
43042 _isnanf(0);
43043 ;
43044 return 0;
43045 }
43046 _ACEOF
43047 if ac_fn_cxx_try_compile "$LINENO"; then :
43048 glibcxx_cv_func__isnanf_use=yes
43049 else
43050 glibcxx_cv_func__isnanf_use=no
43051 fi
43052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43053 ac_ext=c
43054 ac_cpp='$CPP $CPPFLAGS'
43055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43058
43059
43060 fi
43061
43062 fi
43063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43064 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43065
43066 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43067 for ac_func in _isnanf
43068 do :
43069 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43070 if test "x$ac_cv_func__isnanf" = xyes; then :
43071 cat >>confdefs.h <<_ACEOF
43072 #define HAVE__ISNANF 1
43073 _ACEOF
43074
43075 fi
43076 done
43077
43078 fi
43079 fi
43080
43081
43082
43083
43084
43085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43086 $as_echo_n "checking for isinff declaration... " >&6; }
43087 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43088 if ${glibcxx_cv_func_isinff_use+:} false; then :
43089 $as_echo_n "(cached) " >&6
43090 else
43091
43092
43093 ac_ext=cpp
43094 ac_cpp='$CXXCPP $CPPFLAGS'
43095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43098
43099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43100 /* end confdefs.h. */
43101 #include <math.h>
43102 #ifdef HAVE_IEEEFP_H
43103 #include <ieeefp.h>
43104 #endif
43105
43106 int
43107 main ()
43108 {
43109 isinff(0);
43110 ;
43111 return 0;
43112 }
43113 _ACEOF
43114 if ac_fn_cxx_try_compile "$LINENO"; then :
43115 glibcxx_cv_func_isinff_use=yes
43116 else
43117 glibcxx_cv_func_isinff_use=no
43118 fi
43119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43120 ac_ext=c
43121 ac_cpp='$CPP $CPPFLAGS'
43122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43125
43126
43127 fi
43128
43129 fi
43130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43131 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43132
43133 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43134 for ac_func in isinff
43135 do :
43136 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43137 if test "x$ac_cv_func_isinff" = xyes; then :
43138 cat >>confdefs.h <<_ACEOF
43139 #define HAVE_ISINFF 1
43140 _ACEOF
43141
43142 fi
43143 done
43144
43145 else
43146
43147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43148 $as_echo_n "checking for _isinff declaration... " >&6; }
43149 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43150 if ${glibcxx_cv_func__isinff_use+:} false; then :
43151 $as_echo_n "(cached) " >&6
43152 else
43153
43154
43155 ac_ext=cpp
43156 ac_cpp='$CXXCPP $CPPFLAGS'
43157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43160
43161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43162 /* end confdefs.h. */
43163 #include <math.h>
43164 #ifdef HAVE_IEEEFP_H
43165 #include <ieeefp.h>
43166 #endif
43167
43168 int
43169 main ()
43170 {
43171 _isinff(0);
43172 ;
43173 return 0;
43174 }
43175 _ACEOF
43176 if ac_fn_cxx_try_compile "$LINENO"; then :
43177 glibcxx_cv_func__isinff_use=yes
43178 else
43179 glibcxx_cv_func__isinff_use=no
43180 fi
43181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43182 ac_ext=c
43183 ac_cpp='$CPP $CPPFLAGS'
43184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43187
43188
43189 fi
43190
43191 fi
43192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43193 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43194
43195 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43196 for ac_func in _isinff
43197 do :
43198 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43199 if test "x$ac_cv_func__isinff" = xyes; then :
43200 cat >>confdefs.h <<_ACEOF
43201 #define HAVE__ISINFF 1
43202 _ACEOF
43203
43204 fi
43205 done
43206
43207 fi
43208 fi
43209
43210
43211
43212
43213
43214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43215 $as_echo_n "checking for atan2f declaration... " >&6; }
43216 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43217 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43218 $as_echo_n "(cached) " >&6
43219 else
43220
43221
43222 ac_ext=cpp
43223 ac_cpp='$CXXCPP $CPPFLAGS'
43224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43227
43228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43229 /* end confdefs.h. */
43230 #include <math.h>
43231 int
43232 main ()
43233 {
43234 atan2f(0, 0);
43235 ;
43236 return 0;
43237 }
43238 _ACEOF
43239 if ac_fn_cxx_try_compile "$LINENO"; then :
43240 glibcxx_cv_func_atan2f_use=yes
43241 else
43242 glibcxx_cv_func_atan2f_use=no
43243 fi
43244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43245 ac_ext=c
43246 ac_cpp='$CPP $CPPFLAGS'
43247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43250
43251
43252 fi
43253
43254 fi
43255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43256 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43257
43258 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43259 for ac_func in atan2f
43260 do :
43261 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43262 if test "x$ac_cv_func_atan2f" = xyes; then :
43263 cat >>confdefs.h <<_ACEOF
43264 #define HAVE_ATAN2F 1
43265 _ACEOF
43266
43267 fi
43268 done
43269
43270 else
43271
43272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43273 $as_echo_n "checking for _atan2f declaration... " >&6; }
43274 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43275 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43276 $as_echo_n "(cached) " >&6
43277 else
43278
43279
43280 ac_ext=cpp
43281 ac_cpp='$CXXCPP $CPPFLAGS'
43282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43285
43286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43287 /* end confdefs.h. */
43288 #include <math.h>
43289 int
43290 main ()
43291 {
43292 _atan2f(0, 0);
43293 ;
43294 return 0;
43295 }
43296 _ACEOF
43297 if ac_fn_cxx_try_compile "$LINENO"; then :
43298 glibcxx_cv_func__atan2f_use=yes
43299 else
43300 glibcxx_cv_func__atan2f_use=no
43301 fi
43302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43303 ac_ext=c
43304 ac_cpp='$CPP $CPPFLAGS'
43305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43308
43309
43310 fi
43311
43312 fi
43313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43314 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43315
43316 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43317 for ac_func in _atan2f
43318 do :
43319 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43320 if test "x$ac_cv_func__atan2f" = xyes; then :
43321 cat >>confdefs.h <<_ACEOF
43322 #define HAVE__ATAN2F 1
43323 _ACEOF
43324
43325 fi
43326 done
43327
43328 fi
43329 fi
43330
43331
43332
43333
43334
43335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43336 $as_echo_n "checking for fabsf declaration... " >&6; }
43337 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43338 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43339 $as_echo_n "(cached) " >&6
43340 else
43341
43342
43343 ac_ext=cpp
43344 ac_cpp='$CXXCPP $CPPFLAGS'
43345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43348
43349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43350 /* end confdefs.h. */
43351 #include <math.h>
43352 #ifdef HAVE_IEEEFP_H
43353 #include <ieeefp.h>
43354 #endif
43355
43356 int
43357 main ()
43358 {
43359 fabsf(0);
43360 ;
43361 return 0;
43362 }
43363 _ACEOF
43364 if ac_fn_cxx_try_compile "$LINENO"; then :
43365 glibcxx_cv_func_fabsf_use=yes
43366 else
43367 glibcxx_cv_func_fabsf_use=no
43368 fi
43369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43370 ac_ext=c
43371 ac_cpp='$CPP $CPPFLAGS'
43372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43375
43376
43377 fi
43378
43379 fi
43380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43381 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43382
43383 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43384 for ac_func in fabsf
43385 do :
43386 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43387 if test "x$ac_cv_func_fabsf" = xyes; then :
43388 cat >>confdefs.h <<_ACEOF
43389 #define HAVE_FABSF 1
43390 _ACEOF
43391
43392 fi
43393 done
43394
43395 else
43396
43397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43398 $as_echo_n "checking for _fabsf declaration... " >&6; }
43399 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43400 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43401 $as_echo_n "(cached) " >&6
43402 else
43403
43404
43405 ac_ext=cpp
43406 ac_cpp='$CXXCPP $CPPFLAGS'
43407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43410
43411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43412 /* end confdefs.h. */
43413 #include <math.h>
43414 #ifdef HAVE_IEEEFP_H
43415 #include <ieeefp.h>
43416 #endif
43417
43418 int
43419 main ()
43420 {
43421 _fabsf(0);
43422 ;
43423 return 0;
43424 }
43425 _ACEOF
43426 if ac_fn_cxx_try_compile "$LINENO"; then :
43427 glibcxx_cv_func__fabsf_use=yes
43428 else
43429 glibcxx_cv_func__fabsf_use=no
43430 fi
43431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43432 ac_ext=c
43433 ac_cpp='$CPP $CPPFLAGS'
43434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43437
43438
43439 fi
43440
43441 fi
43442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43443 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43444
43445 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43446 for ac_func in _fabsf
43447 do :
43448 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43449 if test "x$ac_cv_func__fabsf" = xyes; then :
43450 cat >>confdefs.h <<_ACEOF
43451 #define HAVE__FABSF 1
43452 _ACEOF
43453
43454 fi
43455 done
43456
43457 fi
43458 fi
43459
43460
43461
43462
43463
43464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43465 $as_echo_n "checking for fmodf declaration... " >&6; }
43466 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43467 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43468 $as_echo_n "(cached) " >&6
43469 else
43470
43471
43472 ac_ext=cpp
43473 ac_cpp='$CXXCPP $CPPFLAGS'
43474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43477
43478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43479 /* end confdefs.h. */
43480 #include <math.h>
43481 int
43482 main ()
43483 {
43484 fmodf(0, 0);
43485 ;
43486 return 0;
43487 }
43488 _ACEOF
43489 if ac_fn_cxx_try_compile "$LINENO"; then :
43490 glibcxx_cv_func_fmodf_use=yes
43491 else
43492 glibcxx_cv_func_fmodf_use=no
43493 fi
43494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43495 ac_ext=c
43496 ac_cpp='$CPP $CPPFLAGS'
43497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43500
43501
43502 fi
43503
43504 fi
43505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43506 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43507
43508 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43509 for ac_func in fmodf
43510 do :
43511 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43512 if test "x$ac_cv_func_fmodf" = xyes; then :
43513 cat >>confdefs.h <<_ACEOF
43514 #define HAVE_FMODF 1
43515 _ACEOF
43516
43517 fi
43518 done
43519
43520 else
43521
43522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43523 $as_echo_n "checking for _fmodf declaration... " >&6; }
43524 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43525 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43526 $as_echo_n "(cached) " >&6
43527 else
43528
43529
43530 ac_ext=cpp
43531 ac_cpp='$CXXCPP $CPPFLAGS'
43532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43535
43536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43537 /* end confdefs.h. */
43538 #include <math.h>
43539 int
43540 main ()
43541 {
43542 _fmodf(0, 0);
43543 ;
43544 return 0;
43545 }
43546 _ACEOF
43547 if ac_fn_cxx_try_compile "$LINENO"; then :
43548 glibcxx_cv_func__fmodf_use=yes
43549 else
43550 glibcxx_cv_func__fmodf_use=no
43551 fi
43552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43553 ac_ext=c
43554 ac_cpp='$CPP $CPPFLAGS'
43555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43558
43559
43560 fi
43561
43562 fi
43563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43564 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43565
43566 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43567 for ac_func in _fmodf
43568 do :
43569 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43570 if test "x$ac_cv_func__fmodf" = xyes; then :
43571 cat >>confdefs.h <<_ACEOF
43572 #define HAVE__FMODF 1
43573 _ACEOF
43574
43575 fi
43576 done
43577
43578 fi
43579 fi
43580
43581
43582
43583
43584
43585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43586 $as_echo_n "checking for frexpf declaration... " >&6; }
43587 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43588 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43589 $as_echo_n "(cached) " >&6
43590 else
43591
43592
43593 ac_ext=cpp
43594 ac_cpp='$CXXCPP $CPPFLAGS'
43595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43598
43599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43600 /* end confdefs.h. */
43601 #include <math.h>
43602 int
43603 main ()
43604 {
43605 frexpf(0, 0);
43606 ;
43607 return 0;
43608 }
43609 _ACEOF
43610 if ac_fn_cxx_try_compile "$LINENO"; then :
43611 glibcxx_cv_func_frexpf_use=yes
43612 else
43613 glibcxx_cv_func_frexpf_use=no
43614 fi
43615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43616 ac_ext=c
43617 ac_cpp='$CPP $CPPFLAGS'
43618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43621
43622
43623 fi
43624
43625 fi
43626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43627 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43628
43629 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43630 for ac_func in frexpf
43631 do :
43632 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43633 if test "x$ac_cv_func_frexpf" = xyes; then :
43634 cat >>confdefs.h <<_ACEOF
43635 #define HAVE_FREXPF 1
43636 _ACEOF
43637
43638 fi
43639 done
43640
43641 else
43642
43643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43644 $as_echo_n "checking for _frexpf declaration... " >&6; }
43645 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43646 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43647 $as_echo_n "(cached) " >&6
43648 else
43649
43650
43651 ac_ext=cpp
43652 ac_cpp='$CXXCPP $CPPFLAGS'
43653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43656
43657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43658 /* end confdefs.h. */
43659 #include <math.h>
43660 int
43661 main ()
43662 {
43663 _frexpf(0, 0);
43664 ;
43665 return 0;
43666 }
43667 _ACEOF
43668 if ac_fn_cxx_try_compile "$LINENO"; then :
43669 glibcxx_cv_func__frexpf_use=yes
43670 else
43671 glibcxx_cv_func__frexpf_use=no
43672 fi
43673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43674 ac_ext=c
43675 ac_cpp='$CPP $CPPFLAGS'
43676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43679
43680
43681 fi
43682
43683 fi
43684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43685 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43686
43687 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43688 for ac_func in _frexpf
43689 do :
43690 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43691 if test "x$ac_cv_func__frexpf" = xyes; then :
43692 cat >>confdefs.h <<_ACEOF
43693 #define HAVE__FREXPF 1
43694 _ACEOF
43695
43696 fi
43697 done
43698
43699 fi
43700 fi
43701
43702
43703
43704
43705
43706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43707 $as_echo_n "checking for hypotf declaration... " >&6; }
43708 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43709 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43710 $as_echo_n "(cached) " >&6
43711 else
43712
43713
43714 ac_ext=cpp
43715 ac_cpp='$CXXCPP $CPPFLAGS'
43716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43719
43720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43721 /* end confdefs.h. */
43722 #include <math.h>
43723 int
43724 main ()
43725 {
43726 hypotf(0, 0);
43727 ;
43728 return 0;
43729 }
43730 _ACEOF
43731 if ac_fn_cxx_try_compile "$LINENO"; then :
43732 glibcxx_cv_func_hypotf_use=yes
43733 else
43734 glibcxx_cv_func_hypotf_use=no
43735 fi
43736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43737 ac_ext=c
43738 ac_cpp='$CPP $CPPFLAGS'
43739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43742
43743
43744 fi
43745
43746 fi
43747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43748 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43749
43750 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43751 for ac_func in hypotf
43752 do :
43753 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43754 if test "x$ac_cv_func_hypotf" = xyes; then :
43755 cat >>confdefs.h <<_ACEOF
43756 #define HAVE_HYPOTF 1
43757 _ACEOF
43758
43759 fi
43760 done
43761
43762 else
43763
43764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43765 $as_echo_n "checking for _hypotf declaration... " >&6; }
43766 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43767 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43768 $as_echo_n "(cached) " >&6
43769 else
43770
43771
43772 ac_ext=cpp
43773 ac_cpp='$CXXCPP $CPPFLAGS'
43774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43777
43778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43779 /* end confdefs.h. */
43780 #include <math.h>
43781 int
43782 main ()
43783 {
43784 _hypotf(0, 0);
43785 ;
43786 return 0;
43787 }
43788 _ACEOF
43789 if ac_fn_cxx_try_compile "$LINENO"; then :
43790 glibcxx_cv_func__hypotf_use=yes
43791 else
43792 glibcxx_cv_func__hypotf_use=no
43793 fi
43794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43795 ac_ext=c
43796 ac_cpp='$CPP $CPPFLAGS'
43797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43800
43801
43802 fi
43803
43804 fi
43805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43806 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43807
43808 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43809 for ac_func in _hypotf
43810 do :
43811 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43812 if test "x$ac_cv_func__hypotf" = xyes; then :
43813 cat >>confdefs.h <<_ACEOF
43814 #define HAVE__HYPOTF 1
43815 _ACEOF
43816
43817 fi
43818 done
43819
43820 fi
43821 fi
43822
43823
43824
43825
43826
43827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43828 $as_echo_n "checking for ldexpf declaration... " >&6; }
43829 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43830 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43831 $as_echo_n "(cached) " >&6
43832 else
43833
43834
43835 ac_ext=cpp
43836 ac_cpp='$CXXCPP $CPPFLAGS'
43837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43840
43841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43842 /* end confdefs.h. */
43843 #include <math.h>
43844 int
43845 main ()
43846 {
43847 ldexpf(0, 0);
43848 ;
43849 return 0;
43850 }
43851 _ACEOF
43852 if ac_fn_cxx_try_compile "$LINENO"; then :
43853 glibcxx_cv_func_ldexpf_use=yes
43854 else
43855 glibcxx_cv_func_ldexpf_use=no
43856 fi
43857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43858 ac_ext=c
43859 ac_cpp='$CPP $CPPFLAGS'
43860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43863
43864
43865 fi
43866
43867 fi
43868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43869 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43870
43871 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43872 for ac_func in ldexpf
43873 do :
43874 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43875 if test "x$ac_cv_func_ldexpf" = xyes; then :
43876 cat >>confdefs.h <<_ACEOF
43877 #define HAVE_LDEXPF 1
43878 _ACEOF
43879
43880 fi
43881 done
43882
43883 else
43884
43885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43886 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43887 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43888 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43889 $as_echo_n "(cached) " >&6
43890 else
43891
43892
43893 ac_ext=cpp
43894 ac_cpp='$CXXCPP $CPPFLAGS'
43895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43898
43899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43900 /* end confdefs.h. */
43901 #include <math.h>
43902 int
43903 main ()
43904 {
43905 _ldexpf(0, 0);
43906 ;
43907 return 0;
43908 }
43909 _ACEOF
43910 if ac_fn_cxx_try_compile "$LINENO"; then :
43911 glibcxx_cv_func__ldexpf_use=yes
43912 else
43913 glibcxx_cv_func__ldexpf_use=no
43914 fi
43915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43916 ac_ext=c
43917 ac_cpp='$CPP $CPPFLAGS'
43918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43921
43922
43923 fi
43924
43925 fi
43926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43927 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43928
43929 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43930 for ac_func in _ldexpf
43931 do :
43932 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43933 if test "x$ac_cv_func__ldexpf" = xyes; then :
43934 cat >>confdefs.h <<_ACEOF
43935 #define HAVE__LDEXPF 1
43936 _ACEOF
43937
43938 fi
43939 done
43940
43941 fi
43942 fi
43943
43944
43945
43946
43947
43948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43949 $as_echo_n "checking for logf declaration... " >&6; }
43950 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43951 if ${glibcxx_cv_func_logf_use+:} false; then :
43952 $as_echo_n "(cached) " >&6
43953 else
43954
43955
43956 ac_ext=cpp
43957 ac_cpp='$CXXCPP $CPPFLAGS'
43958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43961
43962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43963 /* end confdefs.h. */
43964 #include <math.h>
43965 #ifdef HAVE_IEEEFP_H
43966 #include <ieeefp.h>
43967 #endif
43968
43969 int
43970 main ()
43971 {
43972 logf(0);
43973 ;
43974 return 0;
43975 }
43976 _ACEOF
43977 if ac_fn_cxx_try_compile "$LINENO"; then :
43978 glibcxx_cv_func_logf_use=yes
43979 else
43980 glibcxx_cv_func_logf_use=no
43981 fi
43982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43983 ac_ext=c
43984 ac_cpp='$CPP $CPPFLAGS'
43985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43988
43989
43990 fi
43991
43992 fi
43993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43994 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43995
43996 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43997 for ac_func in logf
43998 do :
43999 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
44000 if test "x$ac_cv_func_logf" = xyes; then :
44001 cat >>confdefs.h <<_ACEOF
44002 #define HAVE_LOGF 1
44003 _ACEOF
44004
44005 fi
44006 done
44007
44008 else
44009
44010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
44011 $as_echo_n "checking for _logf declaration... " >&6; }
44012 if test x${glibcxx_cv_func__logf_use+set} != xset; then
44013 if ${glibcxx_cv_func__logf_use+:} false; then :
44014 $as_echo_n "(cached) " >&6
44015 else
44016
44017
44018 ac_ext=cpp
44019 ac_cpp='$CXXCPP $CPPFLAGS'
44020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44023
44024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44025 /* end confdefs.h. */
44026 #include <math.h>
44027 #ifdef HAVE_IEEEFP_H
44028 #include <ieeefp.h>
44029 #endif
44030
44031 int
44032 main ()
44033 {
44034 _logf(0);
44035 ;
44036 return 0;
44037 }
44038 _ACEOF
44039 if ac_fn_cxx_try_compile "$LINENO"; then :
44040 glibcxx_cv_func__logf_use=yes
44041 else
44042 glibcxx_cv_func__logf_use=no
44043 fi
44044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44045 ac_ext=c
44046 ac_cpp='$CPP $CPPFLAGS'
44047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44050
44051
44052 fi
44053
44054 fi
44055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44056 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
44057
44058 if test x$glibcxx_cv_func__logf_use = x"yes"; then
44059 for ac_func in _logf
44060 do :
44061 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44062 if test "x$ac_cv_func__logf" = xyes; then :
44063 cat >>confdefs.h <<_ACEOF
44064 #define HAVE__LOGF 1
44065 _ACEOF
44066
44067 fi
44068 done
44069
44070 fi
44071 fi
44072
44073
44074
44075
44076
44077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44078 $as_echo_n "checking for log10f declaration... " >&6; }
44079 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44080 if ${glibcxx_cv_func_log10f_use+:} false; then :
44081 $as_echo_n "(cached) " >&6
44082 else
44083
44084
44085 ac_ext=cpp
44086 ac_cpp='$CXXCPP $CPPFLAGS'
44087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44090
44091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44092 /* end confdefs.h. */
44093 #include <math.h>
44094 #ifdef HAVE_IEEEFP_H
44095 #include <ieeefp.h>
44096 #endif
44097
44098 int
44099 main ()
44100 {
44101 log10f(0);
44102 ;
44103 return 0;
44104 }
44105 _ACEOF
44106 if ac_fn_cxx_try_compile "$LINENO"; then :
44107 glibcxx_cv_func_log10f_use=yes
44108 else
44109 glibcxx_cv_func_log10f_use=no
44110 fi
44111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44112 ac_ext=c
44113 ac_cpp='$CPP $CPPFLAGS'
44114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44117
44118
44119 fi
44120
44121 fi
44122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44123 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44124
44125 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44126 for ac_func in log10f
44127 do :
44128 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44129 if test "x$ac_cv_func_log10f" = xyes; then :
44130 cat >>confdefs.h <<_ACEOF
44131 #define HAVE_LOG10F 1
44132 _ACEOF
44133
44134 fi
44135 done
44136
44137 else
44138
44139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44140 $as_echo_n "checking for _log10f declaration... " >&6; }
44141 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44142 if ${glibcxx_cv_func__log10f_use+:} false; then :
44143 $as_echo_n "(cached) " >&6
44144 else
44145
44146
44147 ac_ext=cpp
44148 ac_cpp='$CXXCPP $CPPFLAGS'
44149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44152
44153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44154 /* end confdefs.h. */
44155 #include <math.h>
44156 #ifdef HAVE_IEEEFP_H
44157 #include <ieeefp.h>
44158 #endif
44159
44160 int
44161 main ()
44162 {
44163 _log10f(0);
44164 ;
44165 return 0;
44166 }
44167 _ACEOF
44168 if ac_fn_cxx_try_compile "$LINENO"; then :
44169 glibcxx_cv_func__log10f_use=yes
44170 else
44171 glibcxx_cv_func__log10f_use=no
44172 fi
44173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44174 ac_ext=c
44175 ac_cpp='$CPP $CPPFLAGS'
44176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44179
44180
44181 fi
44182
44183 fi
44184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44185 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44186
44187 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44188 for ac_func in _log10f
44189 do :
44190 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44191 if test "x$ac_cv_func__log10f" = xyes; then :
44192 cat >>confdefs.h <<_ACEOF
44193 #define HAVE__LOG10F 1
44194 _ACEOF
44195
44196 fi
44197 done
44198
44199 fi
44200 fi
44201
44202
44203
44204
44205
44206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44207 $as_echo_n "checking for modff declaration... " >&6; }
44208 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44209 if ${glibcxx_cv_func_modff_use+:} false; then :
44210 $as_echo_n "(cached) " >&6
44211 else
44212
44213
44214 ac_ext=cpp
44215 ac_cpp='$CXXCPP $CPPFLAGS'
44216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44219
44220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44221 /* end confdefs.h. */
44222 #include <math.h>
44223 int
44224 main ()
44225 {
44226 modff(0, 0);
44227 ;
44228 return 0;
44229 }
44230 _ACEOF
44231 if ac_fn_cxx_try_compile "$LINENO"; then :
44232 glibcxx_cv_func_modff_use=yes
44233 else
44234 glibcxx_cv_func_modff_use=no
44235 fi
44236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44237 ac_ext=c
44238 ac_cpp='$CPP $CPPFLAGS'
44239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44242
44243
44244 fi
44245
44246 fi
44247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44248 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44249
44250 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44251 for ac_func in modff
44252 do :
44253 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44254 if test "x$ac_cv_func_modff" = xyes; then :
44255 cat >>confdefs.h <<_ACEOF
44256 #define HAVE_MODFF 1
44257 _ACEOF
44258
44259 fi
44260 done
44261
44262 else
44263
44264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44265 $as_echo_n "checking for _modff declaration... " >&6; }
44266 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44267 if ${glibcxx_cv_func__modff_use+:} false; then :
44268 $as_echo_n "(cached) " >&6
44269 else
44270
44271
44272 ac_ext=cpp
44273 ac_cpp='$CXXCPP $CPPFLAGS'
44274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44277
44278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44279 /* end confdefs.h. */
44280 #include <math.h>
44281 int
44282 main ()
44283 {
44284 _modff(0, 0);
44285 ;
44286 return 0;
44287 }
44288 _ACEOF
44289 if ac_fn_cxx_try_compile "$LINENO"; then :
44290 glibcxx_cv_func__modff_use=yes
44291 else
44292 glibcxx_cv_func__modff_use=no
44293 fi
44294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44295 ac_ext=c
44296 ac_cpp='$CPP $CPPFLAGS'
44297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44300
44301
44302 fi
44303
44304 fi
44305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44306 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44307
44308 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44309 for ac_func in _modff
44310 do :
44311 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44312 if test "x$ac_cv_func__modff" = xyes; then :
44313 cat >>confdefs.h <<_ACEOF
44314 #define HAVE__MODFF 1
44315 _ACEOF
44316
44317 fi
44318 done
44319
44320 fi
44321 fi
44322
44323
44324
44325
44326
44327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44328 $as_echo_n "checking for modf declaration... " >&6; }
44329 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44330 if ${glibcxx_cv_func_modf_use+:} false; then :
44331 $as_echo_n "(cached) " >&6
44332 else
44333
44334
44335 ac_ext=cpp
44336 ac_cpp='$CXXCPP $CPPFLAGS'
44337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44340
44341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44342 /* end confdefs.h. */
44343 #include <math.h>
44344 int
44345 main ()
44346 {
44347 modf(0, 0);
44348 ;
44349 return 0;
44350 }
44351 _ACEOF
44352 if ac_fn_cxx_try_compile "$LINENO"; then :
44353 glibcxx_cv_func_modf_use=yes
44354 else
44355 glibcxx_cv_func_modf_use=no
44356 fi
44357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44358 ac_ext=c
44359 ac_cpp='$CPP $CPPFLAGS'
44360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44363
44364
44365 fi
44366
44367 fi
44368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44369 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44370
44371 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44372 for ac_func in modf
44373 do :
44374 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44375 if test "x$ac_cv_func_modf" = xyes; then :
44376 cat >>confdefs.h <<_ACEOF
44377 #define HAVE_MODF 1
44378 _ACEOF
44379
44380 fi
44381 done
44382
44383 else
44384
44385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44386 $as_echo_n "checking for _modf declaration... " >&6; }
44387 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44388 if ${glibcxx_cv_func__modf_use+:} false; then :
44389 $as_echo_n "(cached) " >&6
44390 else
44391
44392
44393 ac_ext=cpp
44394 ac_cpp='$CXXCPP $CPPFLAGS'
44395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44398
44399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44400 /* end confdefs.h. */
44401 #include <math.h>
44402 int
44403 main ()
44404 {
44405 _modf(0, 0);
44406 ;
44407 return 0;
44408 }
44409 _ACEOF
44410 if ac_fn_cxx_try_compile "$LINENO"; then :
44411 glibcxx_cv_func__modf_use=yes
44412 else
44413 glibcxx_cv_func__modf_use=no
44414 fi
44415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44416 ac_ext=c
44417 ac_cpp='$CPP $CPPFLAGS'
44418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44421
44422
44423 fi
44424
44425 fi
44426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44427 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44428
44429 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44430 for ac_func in _modf
44431 do :
44432 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44433 if test "x$ac_cv_func__modf" = xyes; then :
44434 cat >>confdefs.h <<_ACEOF
44435 #define HAVE__MODF 1
44436 _ACEOF
44437
44438 fi
44439 done
44440
44441 fi
44442 fi
44443
44444
44445
44446
44447
44448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44449 $as_echo_n "checking for powf declaration... " >&6; }
44450 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44451 if ${glibcxx_cv_func_powf_use+:} false; then :
44452 $as_echo_n "(cached) " >&6
44453 else
44454
44455
44456 ac_ext=cpp
44457 ac_cpp='$CXXCPP $CPPFLAGS'
44458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44461
44462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44463 /* end confdefs.h. */
44464 #include <math.h>
44465 int
44466 main ()
44467 {
44468 powf(0, 0);
44469 ;
44470 return 0;
44471 }
44472 _ACEOF
44473 if ac_fn_cxx_try_compile "$LINENO"; then :
44474 glibcxx_cv_func_powf_use=yes
44475 else
44476 glibcxx_cv_func_powf_use=no
44477 fi
44478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44479 ac_ext=c
44480 ac_cpp='$CPP $CPPFLAGS'
44481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44484
44485
44486 fi
44487
44488 fi
44489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44490 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44491
44492 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44493 for ac_func in powf
44494 do :
44495 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44496 if test "x$ac_cv_func_powf" = xyes; then :
44497 cat >>confdefs.h <<_ACEOF
44498 #define HAVE_POWF 1
44499 _ACEOF
44500
44501 fi
44502 done
44503
44504 else
44505
44506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44507 $as_echo_n "checking for _powf declaration... " >&6; }
44508 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44509 if ${glibcxx_cv_func__powf_use+:} false; then :
44510 $as_echo_n "(cached) " >&6
44511 else
44512
44513
44514 ac_ext=cpp
44515 ac_cpp='$CXXCPP $CPPFLAGS'
44516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44519
44520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44521 /* end confdefs.h. */
44522 #include <math.h>
44523 int
44524 main ()
44525 {
44526 _powf(0, 0);
44527 ;
44528 return 0;
44529 }
44530 _ACEOF
44531 if ac_fn_cxx_try_compile "$LINENO"; then :
44532 glibcxx_cv_func__powf_use=yes
44533 else
44534 glibcxx_cv_func__powf_use=no
44535 fi
44536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44537 ac_ext=c
44538 ac_cpp='$CPP $CPPFLAGS'
44539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44542
44543
44544 fi
44545
44546 fi
44547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44548 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44549
44550 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44551 for ac_func in _powf
44552 do :
44553 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44554 if test "x$ac_cv_func__powf" = xyes; then :
44555 cat >>confdefs.h <<_ACEOF
44556 #define HAVE__POWF 1
44557 _ACEOF
44558
44559 fi
44560 done
44561
44562 fi
44563 fi
44564
44565
44566
44567
44568
44569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44570 $as_echo_n "checking for sqrtf declaration... " >&6; }
44571 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44572 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44573 $as_echo_n "(cached) " >&6
44574 else
44575
44576
44577 ac_ext=cpp
44578 ac_cpp='$CXXCPP $CPPFLAGS'
44579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44582
44583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44584 /* end confdefs.h. */
44585 #include <math.h>
44586 #ifdef HAVE_IEEEFP_H
44587 #include <ieeefp.h>
44588 #endif
44589
44590 int
44591 main ()
44592 {
44593 sqrtf(0);
44594 ;
44595 return 0;
44596 }
44597 _ACEOF
44598 if ac_fn_cxx_try_compile "$LINENO"; then :
44599 glibcxx_cv_func_sqrtf_use=yes
44600 else
44601 glibcxx_cv_func_sqrtf_use=no
44602 fi
44603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44604 ac_ext=c
44605 ac_cpp='$CPP $CPPFLAGS'
44606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44609
44610
44611 fi
44612
44613 fi
44614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44615 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44616
44617 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44618 for ac_func in sqrtf
44619 do :
44620 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44621 if test "x$ac_cv_func_sqrtf" = xyes; then :
44622 cat >>confdefs.h <<_ACEOF
44623 #define HAVE_SQRTF 1
44624 _ACEOF
44625
44626 fi
44627 done
44628
44629 else
44630
44631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44632 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44633 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44634 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44635 $as_echo_n "(cached) " >&6
44636 else
44637
44638
44639 ac_ext=cpp
44640 ac_cpp='$CXXCPP $CPPFLAGS'
44641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44644
44645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44646 /* end confdefs.h. */
44647 #include <math.h>
44648 #ifdef HAVE_IEEEFP_H
44649 #include <ieeefp.h>
44650 #endif
44651
44652 int
44653 main ()
44654 {
44655 _sqrtf(0);
44656 ;
44657 return 0;
44658 }
44659 _ACEOF
44660 if ac_fn_cxx_try_compile "$LINENO"; then :
44661 glibcxx_cv_func__sqrtf_use=yes
44662 else
44663 glibcxx_cv_func__sqrtf_use=no
44664 fi
44665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44666 ac_ext=c
44667 ac_cpp='$CPP $CPPFLAGS'
44668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44671
44672
44673 fi
44674
44675 fi
44676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44677 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44678
44679 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44680 for ac_func in _sqrtf
44681 do :
44682 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44683 if test "x$ac_cv_func__sqrtf" = xyes; then :
44684 cat >>confdefs.h <<_ACEOF
44685 #define HAVE__SQRTF 1
44686 _ACEOF
44687
44688 fi
44689 done
44690
44691 fi
44692 fi
44693
44694
44695
44696
44697
44698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44699 $as_echo_n "checking for sincosf declaration... " >&6; }
44700 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44701 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44702 $as_echo_n "(cached) " >&6
44703 else
44704
44705
44706 ac_ext=cpp
44707 ac_cpp='$CXXCPP $CPPFLAGS'
44708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44711
44712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44713 /* end confdefs.h. */
44714 #include <math.h>
44715 int
44716 main ()
44717 {
44718 sincosf(0, 0, 0);
44719 ;
44720 return 0;
44721 }
44722 _ACEOF
44723 if ac_fn_cxx_try_compile "$LINENO"; then :
44724 glibcxx_cv_func_sincosf_use=yes
44725 else
44726 glibcxx_cv_func_sincosf_use=no
44727 fi
44728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44729 ac_ext=c
44730 ac_cpp='$CPP $CPPFLAGS'
44731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44734
44735
44736 fi
44737
44738 fi
44739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44740 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44741
44742 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44743 for ac_func in sincosf
44744 do :
44745 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44746 if test "x$ac_cv_func_sincosf" = xyes; then :
44747 cat >>confdefs.h <<_ACEOF
44748 #define HAVE_SINCOSF 1
44749 _ACEOF
44750
44751 fi
44752 done
44753
44754 else
44755
44756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44757 $as_echo_n "checking for _sincosf declaration... " >&6; }
44758 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44759 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44760 $as_echo_n "(cached) " >&6
44761 else
44762
44763
44764 ac_ext=cpp
44765 ac_cpp='$CXXCPP $CPPFLAGS'
44766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44769
44770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44771 /* end confdefs.h. */
44772 #include <math.h>
44773 int
44774 main ()
44775 {
44776 _sincosf(0, 0, 0);
44777 ;
44778 return 0;
44779 }
44780 _ACEOF
44781 if ac_fn_cxx_try_compile "$LINENO"; then :
44782 glibcxx_cv_func__sincosf_use=yes
44783 else
44784 glibcxx_cv_func__sincosf_use=no
44785 fi
44786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44787 ac_ext=c
44788 ac_cpp='$CPP $CPPFLAGS'
44789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44792
44793
44794 fi
44795
44796 fi
44797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44798 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44799
44800 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44801 for ac_func in _sincosf
44802 do :
44803 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44804 if test "x$ac_cv_func__sincosf" = xyes; then :
44805 cat >>confdefs.h <<_ACEOF
44806 #define HAVE__SINCOSF 1
44807 _ACEOF
44808
44809 fi
44810 done
44811
44812 fi
44813 fi
44814
44815
44816
44817
44818
44819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44820 $as_echo_n "checking for finitef declaration... " >&6; }
44821 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44822 if ${glibcxx_cv_func_finitef_use+:} false; then :
44823 $as_echo_n "(cached) " >&6
44824 else
44825
44826
44827 ac_ext=cpp
44828 ac_cpp='$CXXCPP $CPPFLAGS'
44829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44832
44833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44834 /* end confdefs.h. */
44835 #include <math.h>
44836 #ifdef HAVE_IEEEFP_H
44837 #include <ieeefp.h>
44838 #endif
44839
44840 int
44841 main ()
44842 {
44843 finitef(0);
44844 ;
44845 return 0;
44846 }
44847 _ACEOF
44848 if ac_fn_cxx_try_compile "$LINENO"; then :
44849 glibcxx_cv_func_finitef_use=yes
44850 else
44851 glibcxx_cv_func_finitef_use=no
44852 fi
44853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44854 ac_ext=c
44855 ac_cpp='$CPP $CPPFLAGS'
44856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44859
44860
44861 fi
44862
44863 fi
44864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44865 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44866
44867 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44868 for ac_func in finitef
44869 do :
44870 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44871 if test "x$ac_cv_func_finitef" = xyes; then :
44872 cat >>confdefs.h <<_ACEOF
44873 #define HAVE_FINITEF 1
44874 _ACEOF
44875
44876 fi
44877 done
44878
44879 else
44880
44881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44882 $as_echo_n "checking for _finitef declaration... " >&6; }
44883 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44884 if ${glibcxx_cv_func__finitef_use+:} false; then :
44885 $as_echo_n "(cached) " >&6
44886 else
44887
44888
44889 ac_ext=cpp
44890 ac_cpp='$CXXCPP $CPPFLAGS'
44891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44894
44895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44896 /* end confdefs.h. */
44897 #include <math.h>
44898 #ifdef HAVE_IEEEFP_H
44899 #include <ieeefp.h>
44900 #endif
44901
44902 int
44903 main ()
44904 {
44905 _finitef(0);
44906 ;
44907 return 0;
44908 }
44909 _ACEOF
44910 if ac_fn_cxx_try_compile "$LINENO"; then :
44911 glibcxx_cv_func__finitef_use=yes
44912 else
44913 glibcxx_cv_func__finitef_use=no
44914 fi
44915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44916 ac_ext=c
44917 ac_cpp='$CPP $CPPFLAGS'
44918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44921
44922
44923 fi
44924
44925 fi
44926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44927 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44928
44929 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44930 for ac_func in _finitef
44931 do :
44932 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44933 if test "x$ac_cv_func__finitef" = xyes; then :
44934 cat >>confdefs.h <<_ACEOF
44935 #define HAVE__FINITEF 1
44936 _ACEOF
44937
44938 fi
44939 done
44940
44941 fi
44942 fi
44943
44944
44945
44946
44947
44948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44949 $as_echo_n "checking for long double trig functions... " >&6; }
44950 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44951 $as_echo_n "(cached) " >&6
44952 else
44953
44954
44955 ac_ext=cpp
44956 ac_cpp='$CXXCPP $CPPFLAGS'
44957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44960
44961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44962 /* end confdefs.h. */
44963 #include <math.h>
44964 int
44965 main ()
44966 {
44967 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44968 ;
44969 return 0;
44970 }
44971 _ACEOF
44972 if ac_fn_cxx_try_compile "$LINENO"; then :
44973 glibcxx_cv_func_long_double_trig_use=yes
44974 else
44975 glibcxx_cv_func_long_double_trig_use=no
44976 fi
44977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44978 ac_ext=c
44979 ac_cpp='$CPP $CPPFLAGS'
44980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44983
44984 fi
44985
44986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44987 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44988 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44989 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44990 do :
44991 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44992 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44993 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44994 cat >>confdefs.h <<_ACEOF
44995 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44996 _ACEOF
44997
44998 fi
44999 done
45000
45001 else
45002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
45003 $as_echo_n "checking for _long double trig functions... " >&6; }
45004 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
45005 $as_echo_n "(cached) " >&6
45006 else
45007
45008
45009 ac_ext=cpp
45010 ac_cpp='$CXXCPP $CPPFLAGS'
45011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45014
45015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45016 /* end confdefs.h. */
45017 #include <math.h>
45018 int
45019 main ()
45020 {
45021 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
45022 ;
45023 return 0;
45024 }
45025 _ACEOF
45026 if ac_fn_cxx_try_compile "$LINENO"; then :
45027 glibcxx_cv_func__long_double_trig_use=yes
45028 else
45029 glibcxx_cv_func__long_double_trig_use=no
45030 fi
45031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45032 ac_ext=c
45033 ac_cpp='$CPP $CPPFLAGS'
45034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45037
45038 fi
45039
45040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45041 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45042 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45043 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45044 do :
45045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45047 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45048 cat >>confdefs.h <<_ACEOF
45049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45050 _ACEOF
45051
45052 fi
45053 done
45054
45055 fi
45056 fi
45057
45058
45059
45060
45061
45062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45063 $as_echo_n "checking for long double round functions... " >&6; }
45064 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45065 $as_echo_n "(cached) " >&6
45066 else
45067
45068
45069 ac_ext=cpp
45070 ac_cpp='$CXXCPP $CPPFLAGS'
45071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45074
45075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45076 /* end confdefs.h. */
45077 #include <math.h>
45078 int
45079 main ()
45080 {
45081 ceill (0); floorl (0);
45082 ;
45083 return 0;
45084 }
45085 _ACEOF
45086 if ac_fn_cxx_try_compile "$LINENO"; then :
45087 glibcxx_cv_func_long_double_round_use=yes
45088 else
45089 glibcxx_cv_func_long_double_round_use=no
45090 fi
45091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45092 ac_ext=c
45093 ac_cpp='$CPP $CPPFLAGS'
45094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45097
45098 fi
45099
45100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45101 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45102 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45103 for ac_func in ceill floorl
45104 do :
45105 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45106 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45107 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45108 cat >>confdefs.h <<_ACEOF
45109 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45110 _ACEOF
45111
45112 fi
45113 done
45114
45115 else
45116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45117 $as_echo_n "checking for _long double round functions... " >&6; }
45118 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45119 $as_echo_n "(cached) " >&6
45120 else
45121
45122
45123 ac_ext=cpp
45124 ac_cpp='$CXXCPP $CPPFLAGS'
45125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45128
45129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45130 /* end confdefs.h. */
45131 #include <math.h>
45132 int
45133 main ()
45134 {
45135 _ceill (0); _floorl (0);
45136 ;
45137 return 0;
45138 }
45139 _ACEOF
45140 if ac_fn_cxx_try_compile "$LINENO"; then :
45141 glibcxx_cv_func__long_double_round_use=yes
45142 else
45143 glibcxx_cv_func__long_double_round_use=no
45144 fi
45145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45146 ac_ext=c
45147 ac_cpp='$CPP $CPPFLAGS'
45148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45151
45152 fi
45153
45154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45155 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45156 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45157 for ac_func in _ceill _floorl
45158 do :
45159 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45160 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45161 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45162 cat >>confdefs.h <<_ACEOF
45163 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45164 _ACEOF
45165
45166 fi
45167 done
45168
45169 fi
45170 fi
45171
45172
45173
45174
45175
45176
45177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45178 $as_echo_n "checking for isnanl declaration... " >&6; }
45179 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45180 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45181 $as_echo_n "(cached) " >&6
45182 else
45183
45184
45185 ac_ext=cpp
45186 ac_cpp='$CXXCPP $CPPFLAGS'
45187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45190
45191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45192 /* end confdefs.h. */
45193 #include <math.h>
45194 #ifdef HAVE_IEEEFP_H
45195 #include <ieeefp.h>
45196 #endif
45197
45198 int
45199 main ()
45200 {
45201 isnanl(0);
45202 ;
45203 return 0;
45204 }
45205 _ACEOF
45206 if ac_fn_cxx_try_compile "$LINENO"; then :
45207 glibcxx_cv_func_isnanl_use=yes
45208 else
45209 glibcxx_cv_func_isnanl_use=no
45210 fi
45211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45212 ac_ext=c
45213 ac_cpp='$CPP $CPPFLAGS'
45214 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45215 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45216 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45217
45218
45219 fi
45220
45221 fi
45222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45223 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45224
45225 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45226 for ac_func in isnanl
45227 do :
45228 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45229 if test "x$ac_cv_func_isnanl" = xyes; then :
45230 cat >>confdefs.h <<_ACEOF
45231 #define HAVE_ISNANL 1
45232 _ACEOF
45233
45234 fi
45235 done
45236
45237 else
45238
45239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45240 $as_echo_n "checking for _isnanl declaration... " >&6; }
45241 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45242 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45243 $as_echo_n "(cached) " >&6
45244 else
45245
45246
45247 ac_ext=cpp
45248 ac_cpp='$CXXCPP $CPPFLAGS'
45249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45252
45253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45254 /* end confdefs.h. */
45255 #include <math.h>
45256 #ifdef HAVE_IEEEFP_H
45257 #include <ieeefp.h>
45258 #endif
45259
45260 int
45261 main ()
45262 {
45263 _isnanl(0);
45264 ;
45265 return 0;
45266 }
45267 _ACEOF
45268 if ac_fn_cxx_try_compile "$LINENO"; then :
45269 glibcxx_cv_func__isnanl_use=yes
45270 else
45271 glibcxx_cv_func__isnanl_use=no
45272 fi
45273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45274 ac_ext=c
45275 ac_cpp='$CPP $CPPFLAGS'
45276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45279
45280
45281 fi
45282
45283 fi
45284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45285 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45286
45287 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45288 for ac_func in _isnanl
45289 do :
45290 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45291 if test "x$ac_cv_func__isnanl" = xyes; then :
45292 cat >>confdefs.h <<_ACEOF
45293 #define HAVE__ISNANL 1
45294 _ACEOF
45295
45296 fi
45297 done
45298
45299 fi
45300 fi
45301
45302
45303
45304
45305
45306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45307 $as_echo_n "checking for isinfl declaration... " >&6; }
45308 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45309 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45310 $as_echo_n "(cached) " >&6
45311 else
45312
45313
45314 ac_ext=cpp
45315 ac_cpp='$CXXCPP $CPPFLAGS'
45316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45319
45320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45321 /* end confdefs.h. */
45322 #include <math.h>
45323 #ifdef HAVE_IEEEFP_H
45324 #include <ieeefp.h>
45325 #endif
45326
45327 int
45328 main ()
45329 {
45330 isinfl(0);
45331 ;
45332 return 0;
45333 }
45334 _ACEOF
45335 if ac_fn_cxx_try_compile "$LINENO"; then :
45336 glibcxx_cv_func_isinfl_use=yes
45337 else
45338 glibcxx_cv_func_isinfl_use=no
45339 fi
45340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45341 ac_ext=c
45342 ac_cpp='$CPP $CPPFLAGS'
45343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45346
45347
45348 fi
45349
45350 fi
45351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45352 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45353
45354 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45355 for ac_func in isinfl
45356 do :
45357 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45358 if test "x$ac_cv_func_isinfl" = xyes; then :
45359 cat >>confdefs.h <<_ACEOF
45360 #define HAVE_ISINFL 1
45361 _ACEOF
45362
45363 fi
45364 done
45365
45366 else
45367
45368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45369 $as_echo_n "checking for _isinfl declaration... " >&6; }
45370 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45371 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45372 $as_echo_n "(cached) " >&6
45373 else
45374
45375
45376 ac_ext=cpp
45377 ac_cpp='$CXXCPP $CPPFLAGS'
45378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45381
45382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45383 /* end confdefs.h. */
45384 #include <math.h>
45385 #ifdef HAVE_IEEEFP_H
45386 #include <ieeefp.h>
45387 #endif
45388
45389 int
45390 main ()
45391 {
45392 _isinfl(0);
45393 ;
45394 return 0;
45395 }
45396 _ACEOF
45397 if ac_fn_cxx_try_compile "$LINENO"; then :
45398 glibcxx_cv_func__isinfl_use=yes
45399 else
45400 glibcxx_cv_func__isinfl_use=no
45401 fi
45402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45403 ac_ext=c
45404 ac_cpp='$CPP $CPPFLAGS'
45405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45408
45409
45410 fi
45411
45412 fi
45413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45414 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45415
45416 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45417 for ac_func in _isinfl
45418 do :
45419 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45420 if test "x$ac_cv_func__isinfl" = xyes; then :
45421 cat >>confdefs.h <<_ACEOF
45422 #define HAVE__ISINFL 1
45423 _ACEOF
45424
45425 fi
45426 done
45427
45428 fi
45429 fi
45430
45431
45432
45433
45434
45435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45436 $as_echo_n "checking for atan2l declaration... " >&6; }
45437 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45438 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45439 $as_echo_n "(cached) " >&6
45440 else
45441
45442
45443 ac_ext=cpp
45444 ac_cpp='$CXXCPP $CPPFLAGS'
45445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45448
45449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45450 /* end confdefs.h. */
45451 #include <math.h>
45452 int
45453 main ()
45454 {
45455 atan2l(0, 0);
45456 ;
45457 return 0;
45458 }
45459 _ACEOF
45460 if ac_fn_cxx_try_compile "$LINENO"; then :
45461 glibcxx_cv_func_atan2l_use=yes
45462 else
45463 glibcxx_cv_func_atan2l_use=no
45464 fi
45465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45466 ac_ext=c
45467 ac_cpp='$CPP $CPPFLAGS'
45468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45471
45472
45473 fi
45474
45475 fi
45476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45477 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45478
45479 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45480 for ac_func in atan2l
45481 do :
45482 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45483 if test "x$ac_cv_func_atan2l" = xyes; then :
45484 cat >>confdefs.h <<_ACEOF
45485 #define HAVE_ATAN2L 1
45486 _ACEOF
45487
45488 fi
45489 done
45490
45491 else
45492
45493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45494 $as_echo_n "checking for _atan2l declaration... " >&6; }
45495 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45496 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45497 $as_echo_n "(cached) " >&6
45498 else
45499
45500
45501 ac_ext=cpp
45502 ac_cpp='$CXXCPP $CPPFLAGS'
45503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45506
45507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45508 /* end confdefs.h. */
45509 #include <math.h>
45510 int
45511 main ()
45512 {
45513 _atan2l(0, 0);
45514 ;
45515 return 0;
45516 }
45517 _ACEOF
45518 if ac_fn_cxx_try_compile "$LINENO"; then :
45519 glibcxx_cv_func__atan2l_use=yes
45520 else
45521 glibcxx_cv_func__atan2l_use=no
45522 fi
45523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45524 ac_ext=c
45525 ac_cpp='$CPP $CPPFLAGS'
45526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45529
45530
45531 fi
45532
45533 fi
45534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45535 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45536
45537 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45538 for ac_func in _atan2l
45539 do :
45540 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45541 if test "x$ac_cv_func__atan2l" = xyes; then :
45542 cat >>confdefs.h <<_ACEOF
45543 #define HAVE__ATAN2L 1
45544 _ACEOF
45545
45546 fi
45547 done
45548
45549 fi
45550 fi
45551
45552
45553
45554
45555
45556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45557 $as_echo_n "checking for expl declaration... " >&6; }
45558 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45559 if ${glibcxx_cv_func_expl_use+:} false; then :
45560 $as_echo_n "(cached) " >&6
45561 else
45562
45563
45564 ac_ext=cpp
45565 ac_cpp='$CXXCPP $CPPFLAGS'
45566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45569
45570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45571 /* end confdefs.h. */
45572 #include <math.h>
45573 #ifdef HAVE_IEEEFP_H
45574 #include <ieeefp.h>
45575 #endif
45576
45577 int
45578 main ()
45579 {
45580 expl(0);
45581 ;
45582 return 0;
45583 }
45584 _ACEOF
45585 if ac_fn_cxx_try_compile "$LINENO"; then :
45586 glibcxx_cv_func_expl_use=yes
45587 else
45588 glibcxx_cv_func_expl_use=no
45589 fi
45590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45591 ac_ext=c
45592 ac_cpp='$CPP $CPPFLAGS'
45593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45596
45597
45598 fi
45599
45600 fi
45601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45602 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45603
45604 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45605 for ac_func in expl
45606 do :
45607 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45608 if test "x$ac_cv_func_expl" = xyes; then :
45609 cat >>confdefs.h <<_ACEOF
45610 #define HAVE_EXPL 1
45611 _ACEOF
45612
45613 fi
45614 done
45615
45616 else
45617
45618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45619 $as_echo_n "checking for _expl declaration... " >&6; }
45620 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45621 if ${glibcxx_cv_func__expl_use+:} false; then :
45622 $as_echo_n "(cached) " >&6
45623 else
45624
45625
45626 ac_ext=cpp
45627 ac_cpp='$CXXCPP $CPPFLAGS'
45628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45631
45632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45633 /* end confdefs.h. */
45634 #include <math.h>
45635 #ifdef HAVE_IEEEFP_H
45636 #include <ieeefp.h>
45637 #endif
45638
45639 int
45640 main ()
45641 {
45642 _expl(0);
45643 ;
45644 return 0;
45645 }
45646 _ACEOF
45647 if ac_fn_cxx_try_compile "$LINENO"; then :
45648 glibcxx_cv_func__expl_use=yes
45649 else
45650 glibcxx_cv_func__expl_use=no
45651 fi
45652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45653 ac_ext=c
45654 ac_cpp='$CPP $CPPFLAGS'
45655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45658
45659
45660 fi
45661
45662 fi
45663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45664 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45665
45666 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45667 for ac_func in _expl
45668 do :
45669 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45670 if test "x$ac_cv_func__expl" = xyes; then :
45671 cat >>confdefs.h <<_ACEOF
45672 #define HAVE__EXPL 1
45673 _ACEOF
45674
45675 fi
45676 done
45677
45678 fi
45679 fi
45680
45681
45682
45683
45684
45685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45686 $as_echo_n "checking for fabsl declaration... " >&6; }
45687 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45688 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45689 $as_echo_n "(cached) " >&6
45690 else
45691
45692
45693 ac_ext=cpp
45694 ac_cpp='$CXXCPP $CPPFLAGS'
45695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45698
45699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45700 /* end confdefs.h. */
45701 #include <math.h>
45702 #ifdef HAVE_IEEEFP_H
45703 #include <ieeefp.h>
45704 #endif
45705
45706 int
45707 main ()
45708 {
45709 fabsl(0);
45710 ;
45711 return 0;
45712 }
45713 _ACEOF
45714 if ac_fn_cxx_try_compile "$LINENO"; then :
45715 glibcxx_cv_func_fabsl_use=yes
45716 else
45717 glibcxx_cv_func_fabsl_use=no
45718 fi
45719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45720 ac_ext=c
45721 ac_cpp='$CPP $CPPFLAGS'
45722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45725
45726
45727 fi
45728
45729 fi
45730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45731 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45732
45733 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45734 for ac_func in fabsl
45735 do :
45736 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45737 if test "x$ac_cv_func_fabsl" = xyes; then :
45738 cat >>confdefs.h <<_ACEOF
45739 #define HAVE_FABSL 1
45740 _ACEOF
45741
45742 fi
45743 done
45744
45745 else
45746
45747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45748 $as_echo_n "checking for _fabsl declaration... " >&6; }
45749 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45750 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45751 $as_echo_n "(cached) " >&6
45752 else
45753
45754
45755 ac_ext=cpp
45756 ac_cpp='$CXXCPP $CPPFLAGS'
45757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45760
45761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45762 /* end confdefs.h. */
45763 #include <math.h>
45764 #ifdef HAVE_IEEEFP_H
45765 #include <ieeefp.h>
45766 #endif
45767
45768 int
45769 main ()
45770 {
45771 _fabsl(0);
45772 ;
45773 return 0;
45774 }
45775 _ACEOF
45776 if ac_fn_cxx_try_compile "$LINENO"; then :
45777 glibcxx_cv_func__fabsl_use=yes
45778 else
45779 glibcxx_cv_func__fabsl_use=no
45780 fi
45781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45782 ac_ext=c
45783 ac_cpp='$CPP $CPPFLAGS'
45784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45787
45788
45789 fi
45790
45791 fi
45792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45793 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45794
45795 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45796 for ac_func in _fabsl
45797 do :
45798 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45799 if test "x$ac_cv_func__fabsl" = xyes; then :
45800 cat >>confdefs.h <<_ACEOF
45801 #define HAVE__FABSL 1
45802 _ACEOF
45803
45804 fi
45805 done
45806
45807 fi
45808 fi
45809
45810
45811
45812
45813
45814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45815 $as_echo_n "checking for fmodl declaration... " >&6; }
45816 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45817 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45818 $as_echo_n "(cached) " >&6
45819 else
45820
45821
45822 ac_ext=cpp
45823 ac_cpp='$CXXCPP $CPPFLAGS'
45824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45827
45828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45829 /* end confdefs.h. */
45830 #include <math.h>
45831 int
45832 main ()
45833 {
45834 fmodl(0, 0);
45835 ;
45836 return 0;
45837 }
45838 _ACEOF
45839 if ac_fn_cxx_try_compile "$LINENO"; then :
45840 glibcxx_cv_func_fmodl_use=yes
45841 else
45842 glibcxx_cv_func_fmodl_use=no
45843 fi
45844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45845 ac_ext=c
45846 ac_cpp='$CPP $CPPFLAGS'
45847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45850
45851
45852 fi
45853
45854 fi
45855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45856 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45857
45858 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45859 for ac_func in fmodl
45860 do :
45861 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45862 if test "x$ac_cv_func_fmodl" = xyes; then :
45863 cat >>confdefs.h <<_ACEOF
45864 #define HAVE_FMODL 1
45865 _ACEOF
45866
45867 fi
45868 done
45869
45870 else
45871
45872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45873 $as_echo_n "checking for _fmodl declaration... " >&6; }
45874 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45875 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45876 $as_echo_n "(cached) " >&6
45877 else
45878
45879
45880 ac_ext=cpp
45881 ac_cpp='$CXXCPP $CPPFLAGS'
45882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45885
45886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45887 /* end confdefs.h. */
45888 #include <math.h>
45889 int
45890 main ()
45891 {
45892 _fmodl(0, 0);
45893 ;
45894 return 0;
45895 }
45896 _ACEOF
45897 if ac_fn_cxx_try_compile "$LINENO"; then :
45898 glibcxx_cv_func__fmodl_use=yes
45899 else
45900 glibcxx_cv_func__fmodl_use=no
45901 fi
45902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45903 ac_ext=c
45904 ac_cpp='$CPP $CPPFLAGS'
45905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45908
45909
45910 fi
45911
45912 fi
45913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45914 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45915
45916 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45917 for ac_func in _fmodl
45918 do :
45919 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45920 if test "x$ac_cv_func__fmodl" = xyes; then :
45921 cat >>confdefs.h <<_ACEOF
45922 #define HAVE__FMODL 1
45923 _ACEOF
45924
45925 fi
45926 done
45927
45928 fi
45929 fi
45930
45931
45932
45933
45934
45935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45936 $as_echo_n "checking for frexpl declaration... " >&6; }
45937 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45938 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45939 $as_echo_n "(cached) " >&6
45940 else
45941
45942
45943 ac_ext=cpp
45944 ac_cpp='$CXXCPP $CPPFLAGS'
45945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45948
45949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45950 /* end confdefs.h. */
45951 #include <math.h>
45952 int
45953 main ()
45954 {
45955 frexpl(0, 0);
45956 ;
45957 return 0;
45958 }
45959 _ACEOF
45960 if ac_fn_cxx_try_compile "$LINENO"; then :
45961 glibcxx_cv_func_frexpl_use=yes
45962 else
45963 glibcxx_cv_func_frexpl_use=no
45964 fi
45965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45966 ac_ext=c
45967 ac_cpp='$CPP $CPPFLAGS'
45968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45971
45972
45973 fi
45974
45975 fi
45976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45977 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45978
45979 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45980 for ac_func in frexpl
45981 do :
45982 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45983 if test "x$ac_cv_func_frexpl" = xyes; then :
45984 cat >>confdefs.h <<_ACEOF
45985 #define HAVE_FREXPL 1
45986 _ACEOF
45987
45988 fi
45989 done
45990
45991 else
45992
45993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45994 $as_echo_n "checking for _frexpl declaration... " >&6; }
45995 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45996 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45997 $as_echo_n "(cached) " >&6
45998 else
45999
46000
46001 ac_ext=cpp
46002 ac_cpp='$CXXCPP $CPPFLAGS'
46003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46006
46007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46008 /* end confdefs.h. */
46009 #include <math.h>
46010 int
46011 main ()
46012 {
46013 _frexpl(0, 0);
46014 ;
46015 return 0;
46016 }
46017 _ACEOF
46018 if ac_fn_cxx_try_compile "$LINENO"; then :
46019 glibcxx_cv_func__frexpl_use=yes
46020 else
46021 glibcxx_cv_func__frexpl_use=no
46022 fi
46023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46024 ac_ext=c
46025 ac_cpp='$CPP $CPPFLAGS'
46026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46029
46030
46031 fi
46032
46033 fi
46034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46035 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46036
46037 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46038 for ac_func in _frexpl
46039 do :
46040 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46041 if test "x$ac_cv_func__frexpl" = xyes; then :
46042 cat >>confdefs.h <<_ACEOF
46043 #define HAVE__FREXPL 1
46044 _ACEOF
46045
46046 fi
46047 done
46048
46049 fi
46050 fi
46051
46052
46053
46054
46055
46056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46057 $as_echo_n "checking for hypotl declaration... " >&6; }
46058 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46059 if ${glibcxx_cv_func_hypotl_use+:} false; then :
46060 $as_echo_n "(cached) " >&6
46061 else
46062
46063
46064 ac_ext=cpp
46065 ac_cpp='$CXXCPP $CPPFLAGS'
46066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46069
46070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46071 /* end confdefs.h. */
46072 #include <math.h>
46073 int
46074 main ()
46075 {
46076 hypotl(0, 0);
46077 ;
46078 return 0;
46079 }
46080 _ACEOF
46081 if ac_fn_cxx_try_compile "$LINENO"; then :
46082 glibcxx_cv_func_hypotl_use=yes
46083 else
46084 glibcxx_cv_func_hypotl_use=no
46085 fi
46086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46087 ac_ext=c
46088 ac_cpp='$CPP $CPPFLAGS'
46089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46092
46093
46094 fi
46095
46096 fi
46097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46098 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46099
46100 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46101 for ac_func in hypotl
46102 do :
46103 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46104 if test "x$ac_cv_func_hypotl" = xyes; then :
46105 cat >>confdefs.h <<_ACEOF
46106 #define HAVE_HYPOTL 1
46107 _ACEOF
46108
46109 fi
46110 done
46111
46112 else
46113
46114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46115 $as_echo_n "checking for _hypotl declaration... " >&6; }
46116 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46117 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46118 $as_echo_n "(cached) " >&6
46119 else
46120
46121
46122 ac_ext=cpp
46123 ac_cpp='$CXXCPP $CPPFLAGS'
46124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46127
46128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46129 /* end confdefs.h. */
46130 #include <math.h>
46131 int
46132 main ()
46133 {
46134 _hypotl(0, 0);
46135 ;
46136 return 0;
46137 }
46138 _ACEOF
46139 if ac_fn_cxx_try_compile "$LINENO"; then :
46140 glibcxx_cv_func__hypotl_use=yes
46141 else
46142 glibcxx_cv_func__hypotl_use=no
46143 fi
46144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46145 ac_ext=c
46146 ac_cpp='$CPP $CPPFLAGS'
46147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46150
46151
46152 fi
46153
46154 fi
46155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46156 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46157
46158 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46159 for ac_func in _hypotl
46160 do :
46161 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46162 if test "x$ac_cv_func__hypotl" = xyes; then :
46163 cat >>confdefs.h <<_ACEOF
46164 #define HAVE__HYPOTL 1
46165 _ACEOF
46166
46167 fi
46168 done
46169
46170 fi
46171 fi
46172
46173
46174
46175
46176
46177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46178 $as_echo_n "checking for ldexpl declaration... " >&6; }
46179 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46180 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46181 $as_echo_n "(cached) " >&6
46182 else
46183
46184
46185 ac_ext=cpp
46186 ac_cpp='$CXXCPP $CPPFLAGS'
46187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46190
46191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46192 /* end confdefs.h. */
46193 #include <math.h>
46194 int
46195 main ()
46196 {
46197 ldexpl(0, 0);
46198 ;
46199 return 0;
46200 }
46201 _ACEOF
46202 if ac_fn_cxx_try_compile "$LINENO"; then :
46203 glibcxx_cv_func_ldexpl_use=yes
46204 else
46205 glibcxx_cv_func_ldexpl_use=no
46206 fi
46207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46208 ac_ext=c
46209 ac_cpp='$CPP $CPPFLAGS'
46210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46213
46214
46215 fi
46216
46217 fi
46218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46219 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46220
46221 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46222 for ac_func in ldexpl
46223 do :
46224 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46225 if test "x$ac_cv_func_ldexpl" = xyes; then :
46226 cat >>confdefs.h <<_ACEOF
46227 #define HAVE_LDEXPL 1
46228 _ACEOF
46229
46230 fi
46231 done
46232
46233 else
46234
46235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46236 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46237 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46238 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46239 $as_echo_n "(cached) " >&6
46240 else
46241
46242
46243 ac_ext=cpp
46244 ac_cpp='$CXXCPP $CPPFLAGS'
46245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46248
46249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46250 /* end confdefs.h. */
46251 #include <math.h>
46252 int
46253 main ()
46254 {
46255 _ldexpl(0, 0);
46256 ;
46257 return 0;
46258 }
46259 _ACEOF
46260 if ac_fn_cxx_try_compile "$LINENO"; then :
46261 glibcxx_cv_func__ldexpl_use=yes
46262 else
46263 glibcxx_cv_func__ldexpl_use=no
46264 fi
46265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46266 ac_ext=c
46267 ac_cpp='$CPP $CPPFLAGS'
46268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46271
46272
46273 fi
46274
46275 fi
46276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46277 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46278
46279 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46280 for ac_func in _ldexpl
46281 do :
46282 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46283 if test "x$ac_cv_func__ldexpl" = xyes; then :
46284 cat >>confdefs.h <<_ACEOF
46285 #define HAVE__LDEXPL 1
46286 _ACEOF
46287
46288 fi
46289 done
46290
46291 fi
46292 fi
46293
46294
46295
46296
46297
46298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46299 $as_echo_n "checking for logl declaration... " >&6; }
46300 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46301 if ${glibcxx_cv_func_logl_use+:} false; then :
46302 $as_echo_n "(cached) " >&6
46303 else
46304
46305
46306 ac_ext=cpp
46307 ac_cpp='$CXXCPP $CPPFLAGS'
46308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46311
46312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46313 /* end confdefs.h. */
46314 #include <math.h>
46315 #ifdef HAVE_IEEEFP_H
46316 #include <ieeefp.h>
46317 #endif
46318
46319 int
46320 main ()
46321 {
46322 logl(0);
46323 ;
46324 return 0;
46325 }
46326 _ACEOF
46327 if ac_fn_cxx_try_compile "$LINENO"; then :
46328 glibcxx_cv_func_logl_use=yes
46329 else
46330 glibcxx_cv_func_logl_use=no
46331 fi
46332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46333 ac_ext=c
46334 ac_cpp='$CPP $CPPFLAGS'
46335 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46336 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46337 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46338
46339
46340 fi
46341
46342 fi
46343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46344 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46345
46346 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46347 for ac_func in logl
46348 do :
46349 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46350 if test "x$ac_cv_func_logl" = xyes; then :
46351 cat >>confdefs.h <<_ACEOF
46352 #define HAVE_LOGL 1
46353 _ACEOF
46354
46355 fi
46356 done
46357
46358 else
46359
46360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46361 $as_echo_n "checking for _logl declaration... " >&6; }
46362 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46363 if ${glibcxx_cv_func__logl_use+:} false; then :
46364 $as_echo_n "(cached) " >&6
46365 else
46366
46367
46368 ac_ext=cpp
46369 ac_cpp='$CXXCPP $CPPFLAGS'
46370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46373
46374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46375 /* end confdefs.h. */
46376 #include <math.h>
46377 #ifdef HAVE_IEEEFP_H
46378 #include <ieeefp.h>
46379 #endif
46380
46381 int
46382 main ()
46383 {
46384 _logl(0);
46385 ;
46386 return 0;
46387 }
46388 _ACEOF
46389 if ac_fn_cxx_try_compile "$LINENO"; then :
46390 glibcxx_cv_func__logl_use=yes
46391 else
46392 glibcxx_cv_func__logl_use=no
46393 fi
46394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46395 ac_ext=c
46396 ac_cpp='$CPP $CPPFLAGS'
46397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46400
46401
46402 fi
46403
46404 fi
46405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46406 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46407
46408 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46409 for ac_func in _logl
46410 do :
46411 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46412 if test "x$ac_cv_func__logl" = xyes; then :
46413 cat >>confdefs.h <<_ACEOF
46414 #define HAVE__LOGL 1
46415 _ACEOF
46416
46417 fi
46418 done
46419
46420 fi
46421 fi
46422
46423
46424
46425
46426
46427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46428 $as_echo_n "checking for log10l declaration... " >&6; }
46429 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46430 if ${glibcxx_cv_func_log10l_use+:} false; then :
46431 $as_echo_n "(cached) " >&6
46432 else
46433
46434
46435 ac_ext=cpp
46436 ac_cpp='$CXXCPP $CPPFLAGS'
46437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46440
46441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46442 /* end confdefs.h. */
46443 #include <math.h>
46444 #ifdef HAVE_IEEEFP_H
46445 #include <ieeefp.h>
46446 #endif
46447
46448 int
46449 main ()
46450 {
46451 log10l(0);
46452 ;
46453 return 0;
46454 }
46455 _ACEOF
46456 if ac_fn_cxx_try_compile "$LINENO"; then :
46457 glibcxx_cv_func_log10l_use=yes
46458 else
46459 glibcxx_cv_func_log10l_use=no
46460 fi
46461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46462 ac_ext=c
46463 ac_cpp='$CPP $CPPFLAGS'
46464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46467
46468
46469 fi
46470
46471 fi
46472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46473 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46474
46475 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46476 for ac_func in log10l
46477 do :
46478 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46479 if test "x$ac_cv_func_log10l" = xyes; then :
46480 cat >>confdefs.h <<_ACEOF
46481 #define HAVE_LOG10L 1
46482 _ACEOF
46483
46484 fi
46485 done
46486
46487 else
46488
46489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46490 $as_echo_n "checking for _log10l declaration... " >&6; }
46491 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46492 if ${glibcxx_cv_func__log10l_use+:} false; then :
46493 $as_echo_n "(cached) " >&6
46494 else
46495
46496
46497 ac_ext=cpp
46498 ac_cpp='$CXXCPP $CPPFLAGS'
46499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46502
46503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46504 /* end confdefs.h. */
46505 #include <math.h>
46506 #ifdef HAVE_IEEEFP_H
46507 #include <ieeefp.h>
46508 #endif
46509
46510 int
46511 main ()
46512 {
46513 _log10l(0);
46514 ;
46515 return 0;
46516 }
46517 _ACEOF
46518 if ac_fn_cxx_try_compile "$LINENO"; then :
46519 glibcxx_cv_func__log10l_use=yes
46520 else
46521 glibcxx_cv_func__log10l_use=no
46522 fi
46523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46524 ac_ext=c
46525 ac_cpp='$CPP $CPPFLAGS'
46526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46529
46530
46531 fi
46532
46533 fi
46534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46535 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46536
46537 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46538 for ac_func in _log10l
46539 do :
46540 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46541 if test "x$ac_cv_func__log10l" = xyes; then :
46542 cat >>confdefs.h <<_ACEOF
46543 #define HAVE__LOG10L 1
46544 _ACEOF
46545
46546 fi
46547 done
46548
46549 fi
46550 fi
46551
46552
46553
46554
46555
46556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46557 $as_echo_n "checking for modfl declaration... " >&6; }
46558 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46559 if ${glibcxx_cv_func_modfl_use+:} false; then :
46560 $as_echo_n "(cached) " >&6
46561 else
46562
46563
46564 ac_ext=cpp
46565 ac_cpp='$CXXCPP $CPPFLAGS'
46566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46569
46570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46571 /* end confdefs.h. */
46572 #include <math.h>
46573 int
46574 main ()
46575 {
46576 modfl(0, 0);
46577 ;
46578 return 0;
46579 }
46580 _ACEOF
46581 if ac_fn_cxx_try_compile "$LINENO"; then :
46582 glibcxx_cv_func_modfl_use=yes
46583 else
46584 glibcxx_cv_func_modfl_use=no
46585 fi
46586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46587 ac_ext=c
46588 ac_cpp='$CPP $CPPFLAGS'
46589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46592
46593
46594 fi
46595
46596 fi
46597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46598 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46599
46600 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46601 for ac_func in modfl
46602 do :
46603 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46604 if test "x$ac_cv_func_modfl" = xyes; then :
46605 cat >>confdefs.h <<_ACEOF
46606 #define HAVE_MODFL 1
46607 _ACEOF
46608
46609 fi
46610 done
46611
46612 else
46613
46614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46615 $as_echo_n "checking for _modfl declaration... " >&6; }
46616 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46617 if ${glibcxx_cv_func__modfl_use+:} false; then :
46618 $as_echo_n "(cached) " >&6
46619 else
46620
46621
46622 ac_ext=cpp
46623 ac_cpp='$CXXCPP $CPPFLAGS'
46624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46627
46628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46629 /* end confdefs.h. */
46630 #include <math.h>
46631 int
46632 main ()
46633 {
46634 _modfl(0, 0);
46635 ;
46636 return 0;
46637 }
46638 _ACEOF
46639 if ac_fn_cxx_try_compile "$LINENO"; then :
46640 glibcxx_cv_func__modfl_use=yes
46641 else
46642 glibcxx_cv_func__modfl_use=no
46643 fi
46644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46645 ac_ext=c
46646 ac_cpp='$CPP $CPPFLAGS'
46647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46650
46651
46652 fi
46653
46654 fi
46655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46656 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46657
46658 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46659 for ac_func in _modfl
46660 do :
46661 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46662 if test "x$ac_cv_func__modfl" = xyes; then :
46663 cat >>confdefs.h <<_ACEOF
46664 #define HAVE__MODFL 1
46665 _ACEOF
46666
46667 fi
46668 done
46669
46670 fi
46671 fi
46672
46673
46674
46675
46676
46677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46678 $as_echo_n "checking for powl declaration... " >&6; }
46679 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46680 if ${glibcxx_cv_func_powl_use+:} false; then :
46681 $as_echo_n "(cached) " >&6
46682 else
46683
46684
46685 ac_ext=cpp
46686 ac_cpp='$CXXCPP $CPPFLAGS'
46687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46690
46691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46692 /* end confdefs.h. */
46693 #include <math.h>
46694 int
46695 main ()
46696 {
46697 powl(0, 0);
46698 ;
46699 return 0;
46700 }
46701 _ACEOF
46702 if ac_fn_cxx_try_compile "$LINENO"; then :
46703 glibcxx_cv_func_powl_use=yes
46704 else
46705 glibcxx_cv_func_powl_use=no
46706 fi
46707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46708 ac_ext=c
46709 ac_cpp='$CPP $CPPFLAGS'
46710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46713
46714
46715 fi
46716
46717 fi
46718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46719 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46720
46721 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46722 for ac_func in powl
46723 do :
46724 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46725 if test "x$ac_cv_func_powl" = xyes; then :
46726 cat >>confdefs.h <<_ACEOF
46727 #define HAVE_POWL 1
46728 _ACEOF
46729
46730 fi
46731 done
46732
46733 else
46734
46735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46736 $as_echo_n "checking for _powl declaration... " >&6; }
46737 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46738 if ${glibcxx_cv_func__powl_use+:} false; then :
46739 $as_echo_n "(cached) " >&6
46740 else
46741
46742
46743 ac_ext=cpp
46744 ac_cpp='$CXXCPP $CPPFLAGS'
46745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46748
46749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46750 /* end confdefs.h. */
46751 #include <math.h>
46752 int
46753 main ()
46754 {
46755 _powl(0, 0);
46756 ;
46757 return 0;
46758 }
46759 _ACEOF
46760 if ac_fn_cxx_try_compile "$LINENO"; then :
46761 glibcxx_cv_func__powl_use=yes
46762 else
46763 glibcxx_cv_func__powl_use=no
46764 fi
46765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46766 ac_ext=c
46767 ac_cpp='$CPP $CPPFLAGS'
46768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46771
46772
46773 fi
46774
46775 fi
46776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46777 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46778
46779 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46780 for ac_func in _powl
46781 do :
46782 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46783 if test "x$ac_cv_func__powl" = xyes; then :
46784 cat >>confdefs.h <<_ACEOF
46785 #define HAVE__POWL 1
46786 _ACEOF
46787
46788 fi
46789 done
46790
46791 fi
46792 fi
46793
46794
46795
46796
46797
46798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46799 $as_echo_n "checking for sqrtl declaration... " >&6; }
46800 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46801 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46802 $as_echo_n "(cached) " >&6
46803 else
46804
46805
46806 ac_ext=cpp
46807 ac_cpp='$CXXCPP $CPPFLAGS'
46808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46811
46812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46813 /* end confdefs.h. */
46814 #include <math.h>
46815 #ifdef HAVE_IEEEFP_H
46816 #include <ieeefp.h>
46817 #endif
46818
46819 int
46820 main ()
46821 {
46822 sqrtl(0);
46823 ;
46824 return 0;
46825 }
46826 _ACEOF
46827 if ac_fn_cxx_try_compile "$LINENO"; then :
46828 glibcxx_cv_func_sqrtl_use=yes
46829 else
46830 glibcxx_cv_func_sqrtl_use=no
46831 fi
46832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46833 ac_ext=c
46834 ac_cpp='$CPP $CPPFLAGS'
46835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46838
46839
46840 fi
46841
46842 fi
46843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46844 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46845
46846 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46847 for ac_func in sqrtl
46848 do :
46849 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46850 if test "x$ac_cv_func_sqrtl" = xyes; then :
46851 cat >>confdefs.h <<_ACEOF
46852 #define HAVE_SQRTL 1
46853 _ACEOF
46854
46855 fi
46856 done
46857
46858 else
46859
46860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46861 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46862 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46863 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46864 $as_echo_n "(cached) " >&6
46865 else
46866
46867
46868 ac_ext=cpp
46869 ac_cpp='$CXXCPP $CPPFLAGS'
46870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46873
46874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46875 /* end confdefs.h. */
46876 #include <math.h>
46877 #ifdef HAVE_IEEEFP_H
46878 #include <ieeefp.h>
46879 #endif
46880
46881 int
46882 main ()
46883 {
46884 _sqrtl(0);
46885 ;
46886 return 0;
46887 }
46888 _ACEOF
46889 if ac_fn_cxx_try_compile "$LINENO"; then :
46890 glibcxx_cv_func__sqrtl_use=yes
46891 else
46892 glibcxx_cv_func__sqrtl_use=no
46893 fi
46894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46895 ac_ext=c
46896 ac_cpp='$CPP $CPPFLAGS'
46897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46900
46901
46902 fi
46903
46904 fi
46905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46906 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46907
46908 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46909 for ac_func in _sqrtl
46910 do :
46911 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46912 if test "x$ac_cv_func__sqrtl" = xyes; then :
46913 cat >>confdefs.h <<_ACEOF
46914 #define HAVE__SQRTL 1
46915 _ACEOF
46916
46917 fi
46918 done
46919
46920 fi
46921 fi
46922
46923
46924
46925
46926
46927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46928 $as_echo_n "checking for sincosl declaration... " >&6; }
46929 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46930 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46931 $as_echo_n "(cached) " >&6
46932 else
46933
46934
46935 ac_ext=cpp
46936 ac_cpp='$CXXCPP $CPPFLAGS'
46937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46940
46941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46942 /* end confdefs.h. */
46943 #include <math.h>
46944 int
46945 main ()
46946 {
46947 sincosl(0, 0, 0);
46948 ;
46949 return 0;
46950 }
46951 _ACEOF
46952 if ac_fn_cxx_try_compile "$LINENO"; then :
46953 glibcxx_cv_func_sincosl_use=yes
46954 else
46955 glibcxx_cv_func_sincosl_use=no
46956 fi
46957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46958 ac_ext=c
46959 ac_cpp='$CPP $CPPFLAGS'
46960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46963
46964
46965 fi
46966
46967 fi
46968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46969 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46970
46971 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46972 for ac_func in sincosl
46973 do :
46974 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46975 if test "x$ac_cv_func_sincosl" = xyes; then :
46976 cat >>confdefs.h <<_ACEOF
46977 #define HAVE_SINCOSL 1
46978 _ACEOF
46979
46980 fi
46981 done
46982
46983 else
46984
46985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46986 $as_echo_n "checking for _sincosl declaration... " >&6; }
46987 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46988 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46989 $as_echo_n "(cached) " >&6
46990 else
46991
46992
46993 ac_ext=cpp
46994 ac_cpp='$CXXCPP $CPPFLAGS'
46995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46998
46999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47000 /* end confdefs.h. */
47001 #include <math.h>
47002 int
47003 main ()
47004 {
47005 _sincosl(0, 0, 0);
47006 ;
47007 return 0;
47008 }
47009 _ACEOF
47010 if ac_fn_cxx_try_compile "$LINENO"; then :
47011 glibcxx_cv_func__sincosl_use=yes
47012 else
47013 glibcxx_cv_func__sincosl_use=no
47014 fi
47015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47016 ac_ext=c
47017 ac_cpp='$CPP $CPPFLAGS'
47018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47021
47022
47023 fi
47024
47025 fi
47026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
47027 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47028
47029 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47030 for ac_func in _sincosl
47031 do :
47032 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47033 if test "x$ac_cv_func__sincosl" = xyes; then :
47034 cat >>confdefs.h <<_ACEOF
47035 #define HAVE__SINCOSL 1
47036 _ACEOF
47037
47038 fi
47039 done
47040
47041 fi
47042 fi
47043
47044
47045
47046
47047
47048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47049 $as_echo_n "checking for finitel declaration... " >&6; }
47050 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47051 if ${glibcxx_cv_func_finitel_use+:} false; then :
47052 $as_echo_n "(cached) " >&6
47053 else
47054
47055
47056 ac_ext=cpp
47057 ac_cpp='$CXXCPP $CPPFLAGS'
47058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47061
47062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47063 /* end confdefs.h. */
47064 #include <math.h>
47065 #ifdef HAVE_IEEEFP_H
47066 #include <ieeefp.h>
47067 #endif
47068
47069 int
47070 main ()
47071 {
47072 finitel(0);
47073 ;
47074 return 0;
47075 }
47076 _ACEOF
47077 if ac_fn_cxx_try_compile "$LINENO"; then :
47078 glibcxx_cv_func_finitel_use=yes
47079 else
47080 glibcxx_cv_func_finitel_use=no
47081 fi
47082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47083 ac_ext=c
47084 ac_cpp='$CPP $CPPFLAGS'
47085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47088
47089
47090 fi
47091
47092 fi
47093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47094 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47095
47096 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47097 for ac_func in finitel
47098 do :
47099 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47100 if test "x$ac_cv_func_finitel" = xyes; then :
47101 cat >>confdefs.h <<_ACEOF
47102 #define HAVE_FINITEL 1
47103 _ACEOF
47104
47105 fi
47106 done
47107
47108 else
47109
47110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47111 $as_echo_n "checking for _finitel declaration... " >&6; }
47112 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47113 if ${glibcxx_cv_func__finitel_use+:} false; then :
47114 $as_echo_n "(cached) " >&6
47115 else
47116
47117
47118 ac_ext=cpp
47119 ac_cpp='$CXXCPP $CPPFLAGS'
47120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47123
47124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47125 /* end confdefs.h. */
47126 #include <math.h>
47127 #ifdef HAVE_IEEEFP_H
47128 #include <ieeefp.h>
47129 #endif
47130
47131 int
47132 main ()
47133 {
47134 _finitel(0);
47135 ;
47136 return 0;
47137 }
47138 _ACEOF
47139 if ac_fn_cxx_try_compile "$LINENO"; then :
47140 glibcxx_cv_func__finitel_use=yes
47141 else
47142 glibcxx_cv_func__finitel_use=no
47143 fi
47144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47145 ac_ext=c
47146 ac_cpp='$CPP $CPPFLAGS'
47147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47150
47151
47152 fi
47153
47154 fi
47155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47156 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47157
47158 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47159 for ac_func in _finitel
47160 do :
47161 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47162 if test "x$ac_cv_func__finitel" = xyes; then :
47163 cat >>confdefs.h <<_ACEOF
47164 #define HAVE__FINITEL 1
47165 _ACEOF
47166
47167 fi
47168 done
47169
47170 fi
47171 fi
47172
47173
47174
47175
47176 LIBS="$ac_save_LIBS"
47177 CXXFLAGS="$ac_save_CXXFLAGS"
47178
47179
47180 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47181 ac_save_CXXFLAGS="$CXXFLAGS"
47182 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47183
47184
47185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47186 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47187 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47188 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47189 $as_echo_n "(cached) " >&6
47190 else
47191
47192
47193 ac_ext=cpp
47194 ac_cpp='$CXXCPP $CPPFLAGS'
47195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47198
47199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47200 /* end confdefs.h. */
47201 #include <stdlib.h>
47202 int
47203 main ()
47204 {
47205 at_quick_exit(0);
47206 ;
47207 return 0;
47208 }
47209 _ACEOF
47210 if ac_fn_cxx_try_compile "$LINENO"; then :
47211 glibcxx_cv_func_at_quick_exit_use=yes
47212 else
47213 glibcxx_cv_func_at_quick_exit_use=no
47214 fi
47215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47216 ac_ext=c
47217 ac_cpp='$CPP $CPPFLAGS'
47218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47221
47222
47223 fi
47224
47225 fi
47226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47227 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47228 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47229 for ac_func in at_quick_exit
47230 do :
47231 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47232 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47233 cat >>confdefs.h <<_ACEOF
47234 #define HAVE_AT_QUICK_EXIT 1
47235 _ACEOF
47236
47237 fi
47238 done
47239
47240 fi
47241
47242
47243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47244 $as_echo_n "checking for quick_exit declaration... " >&6; }
47245 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47246 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47247 $as_echo_n "(cached) " >&6
47248 else
47249
47250
47251 ac_ext=cpp
47252 ac_cpp='$CXXCPP $CPPFLAGS'
47253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47256
47257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47258 /* end confdefs.h. */
47259 #include <stdlib.h>
47260 int
47261 main ()
47262 {
47263 quick_exit(0);
47264 ;
47265 return 0;
47266 }
47267 _ACEOF
47268 if ac_fn_cxx_try_compile "$LINENO"; then :
47269 glibcxx_cv_func_quick_exit_use=yes
47270 else
47271 glibcxx_cv_func_quick_exit_use=no
47272 fi
47273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47274 ac_ext=c
47275 ac_cpp='$CPP $CPPFLAGS'
47276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47279
47280
47281 fi
47282
47283 fi
47284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47285 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47286 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47287 for ac_func in quick_exit
47288 do :
47289 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47290 if test "x$ac_cv_func_quick_exit" = xyes; then :
47291 cat >>confdefs.h <<_ACEOF
47292 #define HAVE_QUICK_EXIT 1
47293 _ACEOF
47294
47295 fi
47296 done
47297
47298 fi
47299
47300
47301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47302 $as_echo_n "checking for strtold declaration... " >&6; }
47303 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47304 if ${glibcxx_cv_func_strtold_use+:} false; then :
47305 $as_echo_n "(cached) " >&6
47306 else
47307
47308
47309 ac_ext=cpp
47310 ac_cpp='$CXXCPP $CPPFLAGS'
47311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47314
47315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47316 /* end confdefs.h. */
47317 #include <stdlib.h>
47318 int
47319 main ()
47320 {
47321 strtold(0, 0);
47322 ;
47323 return 0;
47324 }
47325 _ACEOF
47326 if ac_fn_cxx_try_compile "$LINENO"; then :
47327 glibcxx_cv_func_strtold_use=yes
47328 else
47329 glibcxx_cv_func_strtold_use=no
47330 fi
47331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47332 ac_ext=c
47333 ac_cpp='$CPP $CPPFLAGS'
47334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47337
47338
47339 fi
47340
47341 fi
47342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47343 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47344 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47345 for ac_func in strtold
47346 do :
47347 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47348 if test "x$ac_cv_func_strtold" = xyes; then :
47349 cat >>confdefs.h <<_ACEOF
47350 #define HAVE_STRTOLD 1
47351 _ACEOF
47352
47353 fi
47354 done
47355
47356 fi
47357
47358
47359
47360
47361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47362 $as_echo_n "checking for strtof declaration... " >&6; }
47363 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47364 if ${glibcxx_cv_func_strtof_use+:} false; then :
47365 $as_echo_n "(cached) " >&6
47366 else
47367
47368
47369 ac_ext=cpp
47370 ac_cpp='$CXXCPP $CPPFLAGS'
47371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47374
47375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47376 /* end confdefs.h. */
47377 #include <stdlib.h>
47378 int
47379 main ()
47380 {
47381 strtof(0, 0);
47382 ;
47383 return 0;
47384 }
47385 _ACEOF
47386 if ac_fn_cxx_try_compile "$LINENO"; then :
47387 glibcxx_cv_func_strtof_use=yes
47388 else
47389 glibcxx_cv_func_strtof_use=no
47390 fi
47391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47392 ac_ext=c
47393 ac_cpp='$CPP $CPPFLAGS'
47394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47397
47398
47399 fi
47400
47401 fi
47402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47403 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47404 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47405 for ac_func in strtof
47406 do :
47407 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47408 if test "x$ac_cv_func_strtof" = xyes; then :
47409 cat >>confdefs.h <<_ACEOF
47410 #define HAVE_STRTOF 1
47411 _ACEOF
47412
47413 fi
47414 done
47415
47416 fi
47417
47418
47419
47420
47421 CXXFLAGS="$ac_save_CXXFLAGS"
47422
47423 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
47424
47425 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47426
47427 # We don't yet support AIX's TLS ABI.
47428 #GCC_CHECK_TLS
47429
47430
47431
47432
47433
47434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47435 $as_echo_n "checking for iconv... " >&6; }
47436 if ${am_cv_func_iconv+:} false; then :
47437 $as_echo_n "(cached) " >&6
47438 else
47439
47440 am_cv_func_iconv="no, consider installing GNU libiconv"
47441 am_cv_lib_iconv=no
47442 am_save_CPPFLAGS="$CPPFLAGS"
47443 CPPFLAGS="$CPPFLAGS $INCICONV"
47444 if test x$gcc_no_link = xyes; then
47445 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47446 fi
47447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47448 /* end confdefs.h. */
47449 #include <stdlib.h>
47450 #include <iconv.h>
47451 int
47452 main ()
47453 {
47454 iconv_t cd = iconv_open("","");
47455 iconv(cd,NULL,NULL,NULL,NULL);
47456 iconv_close(cd);
47457 ;
47458 return 0;
47459 }
47460 _ACEOF
47461 if ac_fn_c_try_link "$LINENO"; then :
47462 am_cv_func_iconv=yes
47463 fi
47464 rm -f core conftest.err conftest.$ac_objext \
47465 conftest$ac_exeext conftest.$ac_ext
47466 CPPFLAGS="$am_save_CPPFLAGS"
47467
47468 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47469 for _libs in .libs _libs; do
47470 am_save_CPPFLAGS="$CPPFLAGS"
47471 am_save_LIBS="$LIBS"
47472 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47473 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47474 if test x$gcc_no_link = xyes; then
47475 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47476 fi
47477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47478 /* end confdefs.h. */
47479 #include <stdlib.h>
47480 #include <iconv.h>
47481 int
47482 main ()
47483 {
47484 iconv_t cd = iconv_open("","");
47485 iconv(cd,NULL,NULL,NULL,NULL);
47486 iconv_close(cd);
47487 ;
47488 return 0;
47489 }
47490 _ACEOF
47491 if ac_fn_c_try_link "$LINENO"; then :
47492 INCICONV="-I../libiconv/include"
47493 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47494 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47495 am_cv_lib_iconv=yes
47496 am_cv_func_iconv=yes
47497 fi
47498 rm -f core conftest.err conftest.$ac_objext \
47499 conftest$ac_exeext conftest.$ac_ext
47500 CPPFLAGS="$am_save_CPPFLAGS"
47501 LIBS="$am_save_LIBS"
47502 if test "$am_cv_func_iconv" = "yes"; then
47503 break
47504 fi
47505 done
47506 fi
47507
47508 if test "$am_cv_func_iconv" != yes; then
47509 am_save_CPPFLAGS="$CPPFLAGS"
47510 am_save_LIBS="$LIBS"
47511 CPPFLAGS="$CPPFLAGS $INCICONV"
47512 LIBS="$LIBS $LIBICONV"
47513 if test x$gcc_no_link = xyes; then
47514 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47515 fi
47516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47517 /* end confdefs.h. */
47518 #include <stdlib.h>
47519 #include <iconv.h>
47520 int
47521 main ()
47522 {
47523 iconv_t cd = iconv_open("","");
47524 iconv(cd,NULL,NULL,NULL,NULL);
47525 iconv_close(cd);
47526 ;
47527 return 0;
47528 }
47529 _ACEOF
47530 if ac_fn_c_try_link "$LINENO"; then :
47531 am_cv_lib_iconv=yes
47532 am_cv_func_iconv=yes
47533 fi
47534 rm -f core conftest.err conftest.$ac_objext \
47535 conftest$ac_exeext conftest.$ac_ext
47536 CPPFLAGS="$am_save_CPPFLAGS"
47537 LIBS="$am_save_LIBS"
47538 fi
47539
47540 fi
47541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47542 $as_echo "$am_cv_func_iconv" >&6; }
47543 if test "$am_cv_func_iconv" = yes; then
47544
47545 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47546
47547 fi
47548 if test "$am_cv_lib_iconv" = yes; then
47549
47550 for element in $INCICONV; do
47551 haveit=
47552 for x in $CPPFLAGS; do
47553
47554 acl_save_prefix="$prefix"
47555 prefix="$acl_final_prefix"
47556 acl_save_exec_prefix="$exec_prefix"
47557 exec_prefix="$acl_final_exec_prefix"
47558 eval x=\"$x\"
47559 exec_prefix="$acl_save_exec_prefix"
47560 prefix="$acl_save_prefix"
47561
47562 if test "X$x" = "X$element"; then
47563 haveit=yes
47564 break
47565 fi
47566 done
47567 if test -z "$haveit"; then
47568 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47569 fi
47570 done
47571
47572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47573 $as_echo_n "checking how to link with libiconv... " >&6; }
47574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47575 $as_echo "$LIBICONV" >&6; }
47576 else
47577 LIBICONV=
47578 LTLIBICONV=
47579 fi
47580
47581
47582
47583 if test "$am_cv_func_iconv" = yes; then
47584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47585 $as_echo_n "checking for iconv declaration... " >&6; }
47586 if ${am_cv_proto_iconv+:} false; then :
47587 $as_echo_n "(cached) " >&6
47588 else
47589
47590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47591 /* end confdefs.h. */
47592
47593 #include <stdlib.h>
47594 #include <iconv.h>
47595 extern
47596 #ifdef __cplusplus
47597 "C"
47598 #endif
47599 #if defined(__STDC__) || defined(__cplusplus)
47600 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47601 #else
47602 size_t iconv();
47603 #endif
47604
47605 int
47606 main ()
47607 {
47608
47609 ;
47610 return 0;
47611 }
47612 _ACEOF
47613 if ac_fn_c_try_compile "$LINENO"; then :
47614 am_cv_proto_iconv_arg1=""
47615 else
47616 am_cv_proto_iconv_arg1="const"
47617 fi
47618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47619 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);"
47620 fi
47621
47622 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47624 }$am_cv_proto_iconv" >&5
47625 $as_echo "${ac_t:-
47626 }$am_cv_proto_iconv" >&6; }
47627
47628 cat >>confdefs.h <<_ACEOF
47629 #define ICONV_CONST $am_cv_proto_iconv_arg1
47630 _ACEOF
47631
47632 fi
47633
47634 ;;
47635
47636 *-darwin*)
47637 # Darwin versions vary, but the linker should work in a cross environment,
47638 # so we just check for all the features here.
47639 # Check for available headers.
47640
47641 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47642
47643 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47644 ac_save_CXXFLAGS="$CXXFLAGS"
47645 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47646
47647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47648 $as_echo_n "checking for sin in -lm... " >&6; }
47649 if ${ac_cv_lib_m_sin+:} false; then :
47650 $as_echo_n "(cached) " >&6
47651 else
47652 ac_check_lib_save_LIBS=$LIBS
47653 LIBS="-lm $LIBS"
47654 if test x$gcc_no_link = xyes; then
47655 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47656 fi
47657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47658 /* end confdefs.h. */
47659
47660 /* Override any GCC internal prototype to avoid an error.
47661 Use char because int might match the return type of a GCC
47662 builtin and then its argument prototype would still apply. */
47663 #ifdef __cplusplus
47664 extern "C"
47665 #endif
47666 char sin ();
47667 int
47668 main ()
47669 {
47670 return sin ();
47671 ;
47672 return 0;
47673 }
47674 _ACEOF
47675 if ac_fn_c_try_link "$LINENO"; then :
47676 ac_cv_lib_m_sin=yes
47677 else
47678 ac_cv_lib_m_sin=no
47679 fi
47680 rm -f core conftest.err conftest.$ac_objext \
47681 conftest$ac_exeext conftest.$ac_ext
47682 LIBS=$ac_check_lib_save_LIBS
47683 fi
47684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47685 $as_echo "$ac_cv_lib_m_sin" >&6; }
47686 if test "x$ac_cv_lib_m_sin" = xyes; then :
47687 libm="-lm"
47688 fi
47689
47690 ac_save_LIBS="$LIBS"
47691 LIBS="$LIBS $libm"
47692
47693
47694
47695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47696 $as_echo_n "checking for isinf declaration... " >&6; }
47697 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47698 if ${glibcxx_cv_func_isinf_use+:} false; then :
47699 $as_echo_n "(cached) " >&6
47700 else
47701
47702
47703 ac_ext=cpp
47704 ac_cpp='$CXXCPP $CPPFLAGS'
47705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47708
47709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47710 /* end confdefs.h. */
47711 #include <math.h>
47712 #ifdef HAVE_IEEEFP_H
47713 #include <ieeefp.h>
47714 #endif
47715
47716 int
47717 main ()
47718 {
47719 isinf(0);
47720 ;
47721 return 0;
47722 }
47723 _ACEOF
47724 if ac_fn_cxx_try_compile "$LINENO"; then :
47725 glibcxx_cv_func_isinf_use=yes
47726 else
47727 glibcxx_cv_func_isinf_use=no
47728 fi
47729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47730 ac_ext=c
47731 ac_cpp='$CPP $CPPFLAGS'
47732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47735
47736
47737 fi
47738
47739 fi
47740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47741 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47742
47743 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47744 for ac_func in isinf
47745 do :
47746 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47747 if test "x$ac_cv_func_isinf" = xyes; then :
47748 cat >>confdefs.h <<_ACEOF
47749 #define HAVE_ISINF 1
47750 _ACEOF
47751
47752 fi
47753 done
47754
47755 else
47756
47757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47758 $as_echo_n "checking for _isinf declaration... " >&6; }
47759 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47760 if ${glibcxx_cv_func__isinf_use+:} false; then :
47761 $as_echo_n "(cached) " >&6
47762 else
47763
47764
47765 ac_ext=cpp
47766 ac_cpp='$CXXCPP $CPPFLAGS'
47767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47770
47771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47772 /* end confdefs.h. */
47773 #include <math.h>
47774 #ifdef HAVE_IEEEFP_H
47775 #include <ieeefp.h>
47776 #endif
47777
47778 int
47779 main ()
47780 {
47781 _isinf(0);
47782 ;
47783 return 0;
47784 }
47785 _ACEOF
47786 if ac_fn_cxx_try_compile "$LINENO"; then :
47787 glibcxx_cv_func__isinf_use=yes
47788 else
47789 glibcxx_cv_func__isinf_use=no
47790 fi
47791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47792 ac_ext=c
47793 ac_cpp='$CPP $CPPFLAGS'
47794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47797
47798
47799 fi
47800
47801 fi
47802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47803 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47804
47805 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47806 for ac_func in _isinf
47807 do :
47808 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47809 if test "x$ac_cv_func__isinf" = xyes; then :
47810 cat >>confdefs.h <<_ACEOF
47811 #define HAVE__ISINF 1
47812 _ACEOF
47813
47814 fi
47815 done
47816
47817 fi
47818 fi
47819
47820
47821
47822
47823
47824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47825 $as_echo_n "checking for isnan declaration... " >&6; }
47826 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47827 if ${glibcxx_cv_func_isnan_use+:} false; then :
47828 $as_echo_n "(cached) " >&6
47829 else
47830
47831
47832 ac_ext=cpp
47833 ac_cpp='$CXXCPP $CPPFLAGS'
47834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47837
47838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47839 /* end confdefs.h. */
47840 #include <math.h>
47841 #ifdef HAVE_IEEEFP_H
47842 #include <ieeefp.h>
47843 #endif
47844
47845 int
47846 main ()
47847 {
47848 isnan(0);
47849 ;
47850 return 0;
47851 }
47852 _ACEOF
47853 if ac_fn_cxx_try_compile "$LINENO"; then :
47854 glibcxx_cv_func_isnan_use=yes
47855 else
47856 glibcxx_cv_func_isnan_use=no
47857 fi
47858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47859 ac_ext=c
47860 ac_cpp='$CPP $CPPFLAGS'
47861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47864
47865
47866 fi
47867
47868 fi
47869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47870 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47871
47872 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47873 for ac_func in isnan
47874 do :
47875 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47876 if test "x$ac_cv_func_isnan" = xyes; then :
47877 cat >>confdefs.h <<_ACEOF
47878 #define HAVE_ISNAN 1
47879 _ACEOF
47880
47881 fi
47882 done
47883
47884 else
47885
47886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47887 $as_echo_n "checking for _isnan declaration... " >&6; }
47888 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47889 if ${glibcxx_cv_func__isnan_use+:} false; then :
47890 $as_echo_n "(cached) " >&6
47891 else
47892
47893
47894 ac_ext=cpp
47895 ac_cpp='$CXXCPP $CPPFLAGS'
47896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47899
47900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47901 /* end confdefs.h. */
47902 #include <math.h>
47903 #ifdef HAVE_IEEEFP_H
47904 #include <ieeefp.h>
47905 #endif
47906
47907 int
47908 main ()
47909 {
47910 _isnan(0);
47911 ;
47912 return 0;
47913 }
47914 _ACEOF
47915 if ac_fn_cxx_try_compile "$LINENO"; then :
47916 glibcxx_cv_func__isnan_use=yes
47917 else
47918 glibcxx_cv_func__isnan_use=no
47919 fi
47920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47921 ac_ext=c
47922 ac_cpp='$CPP $CPPFLAGS'
47923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47926
47927
47928 fi
47929
47930 fi
47931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47932 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47933
47934 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47935 for ac_func in _isnan
47936 do :
47937 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47938 if test "x$ac_cv_func__isnan" = xyes; then :
47939 cat >>confdefs.h <<_ACEOF
47940 #define HAVE__ISNAN 1
47941 _ACEOF
47942
47943 fi
47944 done
47945
47946 fi
47947 fi
47948
47949
47950
47951
47952
47953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47954 $as_echo_n "checking for finite declaration... " >&6; }
47955 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47956 if ${glibcxx_cv_func_finite_use+:} false; then :
47957 $as_echo_n "(cached) " >&6
47958 else
47959
47960
47961 ac_ext=cpp
47962 ac_cpp='$CXXCPP $CPPFLAGS'
47963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47966
47967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47968 /* end confdefs.h. */
47969 #include <math.h>
47970 #ifdef HAVE_IEEEFP_H
47971 #include <ieeefp.h>
47972 #endif
47973
47974 int
47975 main ()
47976 {
47977 finite(0);
47978 ;
47979 return 0;
47980 }
47981 _ACEOF
47982 if ac_fn_cxx_try_compile "$LINENO"; then :
47983 glibcxx_cv_func_finite_use=yes
47984 else
47985 glibcxx_cv_func_finite_use=no
47986 fi
47987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47988 ac_ext=c
47989 ac_cpp='$CPP $CPPFLAGS'
47990 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47991 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47992 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47993
47994
47995 fi
47996
47997 fi
47998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47999 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48000
48001 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48002 for ac_func in finite
48003 do :
48004 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48005 if test "x$ac_cv_func_finite" = xyes; then :
48006 cat >>confdefs.h <<_ACEOF
48007 #define HAVE_FINITE 1
48008 _ACEOF
48009
48010 fi
48011 done
48012
48013 else
48014
48015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48016 $as_echo_n "checking for _finite declaration... " >&6; }
48017 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48018 if ${glibcxx_cv_func__finite_use+:} false; then :
48019 $as_echo_n "(cached) " >&6
48020 else
48021
48022
48023 ac_ext=cpp
48024 ac_cpp='$CXXCPP $CPPFLAGS'
48025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48028
48029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48030 /* end confdefs.h. */
48031 #include <math.h>
48032 #ifdef HAVE_IEEEFP_H
48033 #include <ieeefp.h>
48034 #endif
48035
48036 int
48037 main ()
48038 {
48039 _finite(0);
48040 ;
48041 return 0;
48042 }
48043 _ACEOF
48044 if ac_fn_cxx_try_compile "$LINENO"; then :
48045 glibcxx_cv_func__finite_use=yes
48046 else
48047 glibcxx_cv_func__finite_use=no
48048 fi
48049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48050 ac_ext=c
48051 ac_cpp='$CPP $CPPFLAGS'
48052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48055
48056
48057 fi
48058
48059 fi
48060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48061 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48062
48063 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48064 for ac_func in _finite
48065 do :
48066 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48067 if test "x$ac_cv_func__finite" = xyes; then :
48068 cat >>confdefs.h <<_ACEOF
48069 #define HAVE__FINITE 1
48070 _ACEOF
48071
48072 fi
48073 done
48074
48075 fi
48076 fi
48077
48078
48079
48080
48081
48082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48083 $as_echo_n "checking for sincos declaration... " >&6; }
48084 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48085 if ${glibcxx_cv_func_sincos_use+:} false; then :
48086 $as_echo_n "(cached) " >&6
48087 else
48088
48089
48090 ac_ext=cpp
48091 ac_cpp='$CXXCPP $CPPFLAGS'
48092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48095
48096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48097 /* end confdefs.h. */
48098 #include <math.h>
48099 int
48100 main ()
48101 {
48102 sincos(0, 0, 0);
48103 ;
48104 return 0;
48105 }
48106 _ACEOF
48107 if ac_fn_cxx_try_compile "$LINENO"; then :
48108 glibcxx_cv_func_sincos_use=yes
48109 else
48110 glibcxx_cv_func_sincos_use=no
48111 fi
48112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48113 ac_ext=c
48114 ac_cpp='$CPP $CPPFLAGS'
48115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48118
48119
48120 fi
48121
48122 fi
48123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48124 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48125
48126 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48127 for ac_func in sincos
48128 do :
48129 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48130 if test "x$ac_cv_func_sincos" = xyes; then :
48131 cat >>confdefs.h <<_ACEOF
48132 #define HAVE_SINCOS 1
48133 _ACEOF
48134
48135 fi
48136 done
48137
48138 else
48139
48140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48141 $as_echo_n "checking for _sincos declaration... " >&6; }
48142 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48143 if ${glibcxx_cv_func__sincos_use+:} false; then :
48144 $as_echo_n "(cached) " >&6
48145 else
48146
48147
48148 ac_ext=cpp
48149 ac_cpp='$CXXCPP $CPPFLAGS'
48150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48153
48154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48155 /* end confdefs.h. */
48156 #include <math.h>
48157 int
48158 main ()
48159 {
48160 _sincos(0, 0, 0);
48161 ;
48162 return 0;
48163 }
48164 _ACEOF
48165 if ac_fn_cxx_try_compile "$LINENO"; then :
48166 glibcxx_cv_func__sincos_use=yes
48167 else
48168 glibcxx_cv_func__sincos_use=no
48169 fi
48170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48171 ac_ext=c
48172 ac_cpp='$CPP $CPPFLAGS'
48173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48176
48177
48178 fi
48179
48180 fi
48181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48182 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48183
48184 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48185 for ac_func in _sincos
48186 do :
48187 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48188 if test "x$ac_cv_func__sincos" = xyes; then :
48189 cat >>confdefs.h <<_ACEOF
48190 #define HAVE__SINCOS 1
48191 _ACEOF
48192
48193 fi
48194 done
48195
48196 fi
48197 fi
48198
48199
48200
48201
48202
48203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48204 $as_echo_n "checking for fpclass declaration... " >&6; }
48205 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48206 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48207 $as_echo_n "(cached) " >&6
48208 else
48209
48210
48211 ac_ext=cpp
48212 ac_cpp='$CXXCPP $CPPFLAGS'
48213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48216
48217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48218 /* end confdefs.h. */
48219 #include <math.h>
48220 #ifdef HAVE_IEEEFP_H
48221 #include <ieeefp.h>
48222 #endif
48223
48224 int
48225 main ()
48226 {
48227 fpclass(0);
48228 ;
48229 return 0;
48230 }
48231 _ACEOF
48232 if ac_fn_cxx_try_compile "$LINENO"; then :
48233 glibcxx_cv_func_fpclass_use=yes
48234 else
48235 glibcxx_cv_func_fpclass_use=no
48236 fi
48237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48238 ac_ext=c
48239 ac_cpp='$CPP $CPPFLAGS'
48240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48243
48244
48245 fi
48246
48247 fi
48248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48249 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48250
48251 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48252 for ac_func in fpclass
48253 do :
48254 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48255 if test "x$ac_cv_func_fpclass" = xyes; then :
48256 cat >>confdefs.h <<_ACEOF
48257 #define HAVE_FPCLASS 1
48258 _ACEOF
48259
48260 fi
48261 done
48262
48263 else
48264
48265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48266 $as_echo_n "checking for _fpclass declaration... " >&6; }
48267 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48268 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48269 $as_echo_n "(cached) " >&6
48270 else
48271
48272
48273 ac_ext=cpp
48274 ac_cpp='$CXXCPP $CPPFLAGS'
48275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48278
48279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48280 /* end confdefs.h. */
48281 #include <math.h>
48282 #ifdef HAVE_IEEEFP_H
48283 #include <ieeefp.h>
48284 #endif
48285
48286 int
48287 main ()
48288 {
48289 _fpclass(0);
48290 ;
48291 return 0;
48292 }
48293 _ACEOF
48294 if ac_fn_cxx_try_compile "$LINENO"; then :
48295 glibcxx_cv_func__fpclass_use=yes
48296 else
48297 glibcxx_cv_func__fpclass_use=no
48298 fi
48299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48300 ac_ext=c
48301 ac_cpp='$CPP $CPPFLAGS'
48302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48305
48306
48307 fi
48308
48309 fi
48310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48311 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48312
48313 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48314 for ac_func in _fpclass
48315 do :
48316 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48317 if test "x$ac_cv_func__fpclass" = xyes; then :
48318 cat >>confdefs.h <<_ACEOF
48319 #define HAVE__FPCLASS 1
48320 _ACEOF
48321
48322 fi
48323 done
48324
48325 fi
48326 fi
48327
48328
48329
48330
48331
48332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48333 $as_echo_n "checking for qfpclass declaration... " >&6; }
48334 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48335 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48336 $as_echo_n "(cached) " >&6
48337 else
48338
48339
48340 ac_ext=cpp
48341 ac_cpp='$CXXCPP $CPPFLAGS'
48342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48345
48346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48347 /* end confdefs.h. */
48348 #include <math.h>
48349 #ifdef HAVE_IEEEFP_H
48350 #include <ieeefp.h>
48351 #endif
48352
48353 int
48354 main ()
48355 {
48356 qfpclass(0);
48357 ;
48358 return 0;
48359 }
48360 _ACEOF
48361 if ac_fn_cxx_try_compile "$LINENO"; then :
48362 glibcxx_cv_func_qfpclass_use=yes
48363 else
48364 glibcxx_cv_func_qfpclass_use=no
48365 fi
48366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48367 ac_ext=c
48368 ac_cpp='$CPP $CPPFLAGS'
48369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48372
48373
48374 fi
48375
48376 fi
48377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48378 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48379
48380 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48381 for ac_func in qfpclass
48382 do :
48383 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48384 if test "x$ac_cv_func_qfpclass" = xyes; then :
48385 cat >>confdefs.h <<_ACEOF
48386 #define HAVE_QFPCLASS 1
48387 _ACEOF
48388
48389 fi
48390 done
48391
48392 else
48393
48394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48395 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48396 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48397 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48398 $as_echo_n "(cached) " >&6
48399 else
48400
48401
48402 ac_ext=cpp
48403 ac_cpp='$CXXCPP $CPPFLAGS'
48404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48407
48408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48409 /* end confdefs.h. */
48410 #include <math.h>
48411 #ifdef HAVE_IEEEFP_H
48412 #include <ieeefp.h>
48413 #endif
48414
48415 int
48416 main ()
48417 {
48418 _qfpclass(0);
48419 ;
48420 return 0;
48421 }
48422 _ACEOF
48423 if ac_fn_cxx_try_compile "$LINENO"; then :
48424 glibcxx_cv_func__qfpclass_use=yes
48425 else
48426 glibcxx_cv_func__qfpclass_use=no
48427 fi
48428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48429 ac_ext=c
48430 ac_cpp='$CPP $CPPFLAGS'
48431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48434
48435
48436 fi
48437
48438 fi
48439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48440 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48441
48442 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48443 for ac_func in _qfpclass
48444 do :
48445 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48446 if test "x$ac_cv_func__qfpclass" = xyes; then :
48447 cat >>confdefs.h <<_ACEOF
48448 #define HAVE__QFPCLASS 1
48449 _ACEOF
48450
48451 fi
48452 done
48453
48454 fi
48455 fi
48456
48457
48458
48459
48460
48461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48462 $as_echo_n "checking for hypot declaration... " >&6; }
48463 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48464 if ${glibcxx_cv_func_hypot_use+:} false; then :
48465 $as_echo_n "(cached) " >&6
48466 else
48467
48468
48469 ac_ext=cpp
48470 ac_cpp='$CXXCPP $CPPFLAGS'
48471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48474
48475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48476 /* end confdefs.h. */
48477 #include <math.h>
48478 int
48479 main ()
48480 {
48481 hypot(0, 0);
48482 ;
48483 return 0;
48484 }
48485 _ACEOF
48486 if ac_fn_cxx_try_compile "$LINENO"; then :
48487 glibcxx_cv_func_hypot_use=yes
48488 else
48489 glibcxx_cv_func_hypot_use=no
48490 fi
48491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48492 ac_ext=c
48493 ac_cpp='$CPP $CPPFLAGS'
48494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48497
48498
48499 fi
48500
48501 fi
48502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48503 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48504
48505 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48506 for ac_func in hypot
48507 do :
48508 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48509 if test "x$ac_cv_func_hypot" = xyes; then :
48510 cat >>confdefs.h <<_ACEOF
48511 #define HAVE_HYPOT 1
48512 _ACEOF
48513
48514 fi
48515 done
48516
48517 else
48518
48519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48520 $as_echo_n "checking for _hypot declaration... " >&6; }
48521 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48522 if ${glibcxx_cv_func__hypot_use+:} false; then :
48523 $as_echo_n "(cached) " >&6
48524 else
48525
48526
48527 ac_ext=cpp
48528 ac_cpp='$CXXCPP $CPPFLAGS'
48529 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48530 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48531 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48532
48533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48534 /* end confdefs.h. */
48535 #include <math.h>
48536 int
48537 main ()
48538 {
48539 _hypot(0, 0);
48540 ;
48541 return 0;
48542 }
48543 _ACEOF
48544 if ac_fn_cxx_try_compile "$LINENO"; then :
48545 glibcxx_cv_func__hypot_use=yes
48546 else
48547 glibcxx_cv_func__hypot_use=no
48548 fi
48549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48550 ac_ext=c
48551 ac_cpp='$CPP $CPPFLAGS'
48552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48555
48556
48557 fi
48558
48559 fi
48560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48561 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48562
48563 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48564 for ac_func in _hypot
48565 do :
48566 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48567 if test "x$ac_cv_func__hypot" = xyes; then :
48568 cat >>confdefs.h <<_ACEOF
48569 #define HAVE__HYPOT 1
48570 _ACEOF
48571
48572 fi
48573 done
48574
48575 fi
48576 fi
48577
48578
48579
48580
48581
48582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48583 $as_echo_n "checking for float trig functions... " >&6; }
48584 if ${glibcxx_cv_func_float_trig_use+:} false; then :
48585 $as_echo_n "(cached) " >&6
48586 else
48587
48588
48589 ac_ext=cpp
48590 ac_cpp='$CXXCPP $CPPFLAGS'
48591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48594
48595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48596 /* end confdefs.h. */
48597 #include <math.h>
48598 int
48599 main ()
48600 {
48601 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48602 ;
48603 return 0;
48604 }
48605 _ACEOF
48606 if ac_fn_cxx_try_compile "$LINENO"; then :
48607 glibcxx_cv_func_float_trig_use=yes
48608 else
48609 glibcxx_cv_func_float_trig_use=no
48610 fi
48611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48612 ac_ext=c
48613 ac_cpp='$CPP $CPPFLAGS'
48614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48617
48618 fi
48619
48620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48621 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48622 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48623 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48624 do :
48625 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48626 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48627 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48628 cat >>confdefs.h <<_ACEOF
48629 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48630 _ACEOF
48631
48632 fi
48633 done
48634
48635 else
48636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48637 $as_echo_n "checking for _float trig functions... " >&6; }
48638 if ${glibcxx_cv_func__float_trig_use+:} false; then :
48639 $as_echo_n "(cached) " >&6
48640 else
48641
48642
48643 ac_ext=cpp
48644 ac_cpp='$CXXCPP $CPPFLAGS'
48645 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48646 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48647 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48648
48649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48650 /* end confdefs.h. */
48651 #include <math.h>
48652 int
48653 main ()
48654 {
48655 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48656 ;
48657 return 0;
48658 }
48659 _ACEOF
48660 if ac_fn_cxx_try_compile "$LINENO"; then :
48661 glibcxx_cv_func__float_trig_use=yes
48662 else
48663 glibcxx_cv_func__float_trig_use=no
48664 fi
48665 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48666 ac_ext=c
48667 ac_cpp='$CPP $CPPFLAGS'
48668 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48669 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48670 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48671
48672 fi
48673
48674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48675 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48676 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48677 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48678 do :
48679 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48680 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48681 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48682 cat >>confdefs.h <<_ACEOF
48683 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48684 _ACEOF
48685
48686 fi
48687 done
48688
48689 fi
48690 fi
48691
48692
48693
48694
48695
48696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48697 $as_echo_n "checking for float round functions... " >&6; }
48698 if ${glibcxx_cv_func_float_round_use+:} false; then :
48699 $as_echo_n "(cached) " >&6
48700 else
48701
48702
48703 ac_ext=cpp
48704 ac_cpp='$CXXCPP $CPPFLAGS'
48705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48708
48709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48710 /* end confdefs.h. */
48711 #include <math.h>
48712 int
48713 main ()
48714 {
48715 ceilf (0); floorf (0);
48716 ;
48717 return 0;
48718 }
48719 _ACEOF
48720 if ac_fn_cxx_try_compile "$LINENO"; then :
48721 glibcxx_cv_func_float_round_use=yes
48722 else
48723 glibcxx_cv_func_float_round_use=no
48724 fi
48725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48726 ac_ext=c
48727 ac_cpp='$CPP $CPPFLAGS'
48728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48731
48732 fi
48733
48734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48735 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48736 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48737 for ac_func in ceilf floorf
48738 do :
48739 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48740 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48741 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48742 cat >>confdefs.h <<_ACEOF
48743 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48744 _ACEOF
48745
48746 fi
48747 done
48748
48749 else
48750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48751 $as_echo_n "checking for _float round functions... " >&6; }
48752 if ${glibcxx_cv_func__float_round_use+:} false; then :
48753 $as_echo_n "(cached) " >&6
48754 else
48755
48756
48757 ac_ext=cpp
48758 ac_cpp='$CXXCPP $CPPFLAGS'
48759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48762
48763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48764 /* end confdefs.h. */
48765 #include <math.h>
48766 int
48767 main ()
48768 {
48769 _ceilf (0); _floorf (0);
48770 ;
48771 return 0;
48772 }
48773 _ACEOF
48774 if ac_fn_cxx_try_compile "$LINENO"; then :
48775 glibcxx_cv_func__float_round_use=yes
48776 else
48777 glibcxx_cv_func__float_round_use=no
48778 fi
48779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48780 ac_ext=c
48781 ac_cpp='$CPP $CPPFLAGS'
48782 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48783 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48784 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48785
48786 fi
48787
48788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48789 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48790 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48791 for ac_func in _ceilf _floorf
48792 do :
48793 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48794 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48795 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48796 cat >>confdefs.h <<_ACEOF
48797 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48798 _ACEOF
48799
48800 fi
48801 done
48802
48803 fi
48804 fi
48805
48806
48807
48808
48809
48810
48811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48812 $as_echo_n "checking for expf declaration... " >&6; }
48813 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48814 if ${glibcxx_cv_func_expf_use+:} false; then :
48815 $as_echo_n "(cached) " >&6
48816 else
48817
48818
48819 ac_ext=cpp
48820 ac_cpp='$CXXCPP $CPPFLAGS'
48821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48824
48825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48826 /* end confdefs.h. */
48827 #include <math.h>
48828 #ifdef HAVE_IEEEFP_H
48829 #include <ieeefp.h>
48830 #endif
48831
48832 int
48833 main ()
48834 {
48835 expf(0);
48836 ;
48837 return 0;
48838 }
48839 _ACEOF
48840 if ac_fn_cxx_try_compile "$LINENO"; then :
48841 glibcxx_cv_func_expf_use=yes
48842 else
48843 glibcxx_cv_func_expf_use=no
48844 fi
48845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48846 ac_ext=c
48847 ac_cpp='$CPP $CPPFLAGS'
48848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48851
48852
48853 fi
48854
48855 fi
48856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48857 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48858
48859 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48860 for ac_func in expf
48861 do :
48862 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48863 if test "x$ac_cv_func_expf" = xyes; then :
48864 cat >>confdefs.h <<_ACEOF
48865 #define HAVE_EXPF 1
48866 _ACEOF
48867
48868 fi
48869 done
48870
48871 else
48872
48873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48874 $as_echo_n "checking for _expf declaration... " >&6; }
48875 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48876 if ${glibcxx_cv_func__expf_use+:} false; then :
48877 $as_echo_n "(cached) " >&6
48878 else
48879
48880
48881 ac_ext=cpp
48882 ac_cpp='$CXXCPP $CPPFLAGS'
48883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48886
48887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48888 /* end confdefs.h. */
48889 #include <math.h>
48890 #ifdef HAVE_IEEEFP_H
48891 #include <ieeefp.h>
48892 #endif
48893
48894 int
48895 main ()
48896 {
48897 _expf(0);
48898 ;
48899 return 0;
48900 }
48901 _ACEOF
48902 if ac_fn_cxx_try_compile "$LINENO"; then :
48903 glibcxx_cv_func__expf_use=yes
48904 else
48905 glibcxx_cv_func__expf_use=no
48906 fi
48907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48908 ac_ext=c
48909 ac_cpp='$CPP $CPPFLAGS'
48910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48913
48914
48915 fi
48916
48917 fi
48918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48919 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48920
48921 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48922 for ac_func in _expf
48923 do :
48924 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48925 if test "x$ac_cv_func__expf" = xyes; then :
48926 cat >>confdefs.h <<_ACEOF
48927 #define HAVE__EXPF 1
48928 _ACEOF
48929
48930 fi
48931 done
48932
48933 fi
48934 fi
48935
48936
48937
48938
48939
48940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48941 $as_echo_n "checking for isnanf declaration... " >&6; }
48942 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48943 if ${glibcxx_cv_func_isnanf_use+:} false; then :
48944 $as_echo_n "(cached) " >&6
48945 else
48946
48947
48948 ac_ext=cpp
48949 ac_cpp='$CXXCPP $CPPFLAGS'
48950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48953
48954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48955 /* end confdefs.h. */
48956 #include <math.h>
48957 #ifdef HAVE_IEEEFP_H
48958 #include <ieeefp.h>
48959 #endif
48960
48961 int
48962 main ()
48963 {
48964 isnanf(0);
48965 ;
48966 return 0;
48967 }
48968 _ACEOF
48969 if ac_fn_cxx_try_compile "$LINENO"; then :
48970 glibcxx_cv_func_isnanf_use=yes
48971 else
48972 glibcxx_cv_func_isnanf_use=no
48973 fi
48974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48975 ac_ext=c
48976 ac_cpp='$CPP $CPPFLAGS'
48977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48980
48981
48982 fi
48983
48984 fi
48985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48986 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48987
48988 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48989 for ac_func in isnanf
48990 do :
48991 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48992 if test "x$ac_cv_func_isnanf" = xyes; then :
48993 cat >>confdefs.h <<_ACEOF
48994 #define HAVE_ISNANF 1
48995 _ACEOF
48996
48997 fi
48998 done
48999
49000 else
49001
49002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49003 $as_echo_n "checking for _isnanf declaration... " >&6; }
49004 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49005 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49006 $as_echo_n "(cached) " >&6
49007 else
49008
49009
49010 ac_ext=cpp
49011 ac_cpp='$CXXCPP $CPPFLAGS'
49012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49015
49016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49017 /* end confdefs.h. */
49018 #include <math.h>
49019 #ifdef HAVE_IEEEFP_H
49020 #include <ieeefp.h>
49021 #endif
49022
49023 int
49024 main ()
49025 {
49026 _isnanf(0);
49027 ;
49028 return 0;
49029 }
49030 _ACEOF
49031 if ac_fn_cxx_try_compile "$LINENO"; then :
49032 glibcxx_cv_func__isnanf_use=yes
49033 else
49034 glibcxx_cv_func__isnanf_use=no
49035 fi
49036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49037 ac_ext=c
49038 ac_cpp='$CPP $CPPFLAGS'
49039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49042
49043
49044 fi
49045
49046 fi
49047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49048 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49049
49050 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49051 for ac_func in _isnanf
49052 do :
49053 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49054 if test "x$ac_cv_func__isnanf" = xyes; then :
49055 cat >>confdefs.h <<_ACEOF
49056 #define HAVE__ISNANF 1
49057 _ACEOF
49058
49059 fi
49060 done
49061
49062 fi
49063 fi
49064
49065
49066
49067
49068
49069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49070 $as_echo_n "checking for isinff declaration... " >&6; }
49071 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49072 if ${glibcxx_cv_func_isinff_use+:} false; then :
49073 $as_echo_n "(cached) " >&6
49074 else
49075
49076
49077 ac_ext=cpp
49078 ac_cpp='$CXXCPP $CPPFLAGS'
49079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49082
49083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49084 /* end confdefs.h. */
49085 #include <math.h>
49086 #ifdef HAVE_IEEEFP_H
49087 #include <ieeefp.h>
49088 #endif
49089
49090 int
49091 main ()
49092 {
49093 isinff(0);
49094 ;
49095 return 0;
49096 }
49097 _ACEOF
49098 if ac_fn_cxx_try_compile "$LINENO"; then :
49099 glibcxx_cv_func_isinff_use=yes
49100 else
49101 glibcxx_cv_func_isinff_use=no
49102 fi
49103 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49104 ac_ext=c
49105 ac_cpp='$CPP $CPPFLAGS'
49106 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49107 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49108 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49109
49110
49111 fi
49112
49113 fi
49114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49115 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49116
49117 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49118 for ac_func in isinff
49119 do :
49120 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49121 if test "x$ac_cv_func_isinff" = xyes; then :
49122 cat >>confdefs.h <<_ACEOF
49123 #define HAVE_ISINFF 1
49124 _ACEOF
49125
49126 fi
49127 done
49128
49129 else
49130
49131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49132 $as_echo_n "checking for _isinff declaration... " >&6; }
49133 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49134 if ${glibcxx_cv_func__isinff_use+:} false; then :
49135 $as_echo_n "(cached) " >&6
49136 else
49137
49138
49139 ac_ext=cpp
49140 ac_cpp='$CXXCPP $CPPFLAGS'
49141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49144
49145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49146 /* end confdefs.h. */
49147 #include <math.h>
49148 #ifdef HAVE_IEEEFP_H
49149 #include <ieeefp.h>
49150 #endif
49151
49152 int
49153 main ()
49154 {
49155 _isinff(0);
49156 ;
49157 return 0;
49158 }
49159 _ACEOF
49160 if ac_fn_cxx_try_compile "$LINENO"; then :
49161 glibcxx_cv_func__isinff_use=yes
49162 else
49163 glibcxx_cv_func__isinff_use=no
49164 fi
49165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49166 ac_ext=c
49167 ac_cpp='$CPP $CPPFLAGS'
49168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49171
49172
49173 fi
49174
49175 fi
49176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49177 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49178
49179 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49180 for ac_func in _isinff
49181 do :
49182 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49183 if test "x$ac_cv_func__isinff" = xyes; then :
49184 cat >>confdefs.h <<_ACEOF
49185 #define HAVE__ISINFF 1
49186 _ACEOF
49187
49188 fi
49189 done
49190
49191 fi
49192 fi
49193
49194
49195
49196
49197
49198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49199 $as_echo_n "checking for atan2f declaration... " >&6; }
49200 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49201 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49202 $as_echo_n "(cached) " >&6
49203 else
49204
49205
49206 ac_ext=cpp
49207 ac_cpp='$CXXCPP $CPPFLAGS'
49208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49211
49212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49213 /* end confdefs.h. */
49214 #include <math.h>
49215 int
49216 main ()
49217 {
49218 atan2f(0, 0);
49219 ;
49220 return 0;
49221 }
49222 _ACEOF
49223 if ac_fn_cxx_try_compile "$LINENO"; then :
49224 glibcxx_cv_func_atan2f_use=yes
49225 else
49226 glibcxx_cv_func_atan2f_use=no
49227 fi
49228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49229 ac_ext=c
49230 ac_cpp='$CPP $CPPFLAGS'
49231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49234
49235
49236 fi
49237
49238 fi
49239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49240 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49241
49242 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49243 for ac_func in atan2f
49244 do :
49245 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49246 if test "x$ac_cv_func_atan2f" = xyes; then :
49247 cat >>confdefs.h <<_ACEOF
49248 #define HAVE_ATAN2F 1
49249 _ACEOF
49250
49251 fi
49252 done
49253
49254 else
49255
49256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49257 $as_echo_n "checking for _atan2f declaration... " >&6; }
49258 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49259 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49260 $as_echo_n "(cached) " >&6
49261 else
49262
49263
49264 ac_ext=cpp
49265 ac_cpp='$CXXCPP $CPPFLAGS'
49266 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49267 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49268 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49269
49270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49271 /* end confdefs.h. */
49272 #include <math.h>
49273 int
49274 main ()
49275 {
49276 _atan2f(0, 0);
49277 ;
49278 return 0;
49279 }
49280 _ACEOF
49281 if ac_fn_cxx_try_compile "$LINENO"; then :
49282 glibcxx_cv_func__atan2f_use=yes
49283 else
49284 glibcxx_cv_func__atan2f_use=no
49285 fi
49286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49287 ac_ext=c
49288 ac_cpp='$CPP $CPPFLAGS'
49289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49292
49293
49294 fi
49295
49296 fi
49297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49298 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49299
49300 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49301 for ac_func in _atan2f
49302 do :
49303 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49304 if test "x$ac_cv_func__atan2f" = xyes; then :
49305 cat >>confdefs.h <<_ACEOF
49306 #define HAVE__ATAN2F 1
49307 _ACEOF
49308
49309 fi
49310 done
49311
49312 fi
49313 fi
49314
49315
49316
49317
49318
49319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49320 $as_echo_n "checking for fabsf declaration... " >&6; }
49321 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49322 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49323 $as_echo_n "(cached) " >&6
49324 else
49325
49326
49327 ac_ext=cpp
49328 ac_cpp='$CXXCPP $CPPFLAGS'
49329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49332
49333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49334 /* end confdefs.h. */
49335 #include <math.h>
49336 #ifdef HAVE_IEEEFP_H
49337 #include <ieeefp.h>
49338 #endif
49339
49340 int
49341 main ()
49342 {
49343 fabsf(0);
49344 ;
49345 return 0;
49346 }
49347 _ACEOF
49348 if ac_fn_cxx_try_compile "$LINENO"; then :
49349 glibcxx_cv_func_fabsf_use=yes
49350 else
49351 glibcxx_cv_func_fabsf_use=no
49352 fi
49353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49354 ac_ext=c
49355 ac_cpp='$CPP $CPPFLAGS'
49356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49359
49360
49361 fi
49362
49363 fi
49364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49365 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49366
49367 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49368 for ac_func in fabsf
49369 do :
49370 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49371 if test "x$ac_cv_func_fabsf" = xyes; then :
49372 cat >>confdefs.h <<_ACEOF
49373 #define HAVE_FABSF 1
49374 _ACEOF
49375
49376 fi
49377 done
49378
49379 else
49380
49381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49382 $as_echo_n "checking for _fabsf declaration... " >&6; }
49383 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49384 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49385 $as_echo_n "(cached) " >&6
49386 else
49387
49388
49389 ac_ext=cpp
49390 ac_cpp='$CXXCPP $CPPFLAGS'
49391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49394
49395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49396 /* end confdefs.h. */
49397 #include <math.h>
49398 #ifdef HAVE_IEEEFP_H
49399 #include <ieeefp.h>
49400 #endif
49401
49402 int
49403 main ()
49404 {
49405 _fabsf(0);
49406 ;
49407 return 0;
49408 }
49409 _ACEOF
49410 if ac_fn_cxx_try_compile "$LINENO"; then :
49411 glibcxx_cv_func__fabsf_use=yes
49412 else
49413 glibcxx_cv_func__fabsf_use=no
49414 fi
49415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49416 ac_ext=c
49417 ac_cpp='$CPP $CPPFLAGS'
49418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49421
49422
49423 fi
49424
49425 fi
49426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49427 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49428
49429 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49430 for ac_func in _fabsf
49431 do :
49432 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49433 if test "x$ac_cv_func__fabsf" = xyes; then :
49434 cat >>confdefs.h <<_ACEOF
49435 #define HAVE__FABSF 1
49436 _ACEOF
49437
49438 fi
49439 done
49440
49441 fi
49442 fi
49443
49444
49445
49446
49447
49448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49449 $as_echo_n "checking for fmodf declaration... " >&6; }
49450 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49451 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49452 $as_echo_n "(cached) " >&6
49453 else
49454
49455
49456 ac_ext=cpp
49457 ac_cpp='$CXXCPP $CPPFLAGS'
49458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49461
49462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49463 /* end confdefs.h. */
49464 #include <math.h>
49465 int
49466 main ()
49467 {
49468 fmodf(0, 0);
49469 ;
49470 return 0;
49471 }
49472 _ACEOF
49473 if ac_fn_cxx_try_compile "$LINENO"; then :
49474 glibcxx_cv_func_fmodf_use=yes
49475 else
49476 glibcxx_cv_func_fmodf_use=no
49477 fi
49478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49479 ac_ext=c
49480 ac_cpp='$CPP $CPPFLAGS'
49481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49484
49485
49486 fi
49487
49488 fi
49489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49490 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49491
49492 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49493 for ac_func in fmodf
49494 do :
49495 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49496 if test "x$ac_cv_func_fmodf" = xyes; then :
49497 cat >>confdefs.h <<_ACEOF
49498 #define HAVE_FMODF 1
49499 _ACEOF
49500
49501 fi
49502 done
49503
49504 else
49505
49506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49507 $as_echo_n "checking for _fmodf declaration... " >&6; }
49508 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49509 if ${glibcxx_cv_func__fmodf_use+:} false; then :
49510 $as_echo_n "(cached) " >&6
49511 else
49512
49513
49514 ac_ext=cpp
49515 ac_cpp='$CXXCPP $CPPFLAGS'
49516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49519
49520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49521 /* end confdefs.h. */
49522 #include <math.h>
49523 int
49524 main ()
49525 {
49526 _fmodf(0, 0);
49527 ;
49528 return 0;
49529 }
49530 _ACEOF
49531 if ac_fn_cxx_try_compile "$LINENO"; then :
49532 glibcxx_cv_func__fmodf_use=yes
49533 else
49534 glibcxx_cv_func__fmodf_use=no
49535 fi
49536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49537 ac_ext=c
49538 ac_cpp='$CPP $CPPFLAGS'
49539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49542
49543
49544 fi
49545
49546 fi
49547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49548 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49549
49550 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49551 for ac_func in _fmodf
49552 do :
49553 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49554 if test "x$ac_cv_func__fmodf" = xyes; then :
49555 cat >>confdefs.h <<_ACEOF
49556 #define HAVE__FMODF 1
49557 _ACEOF
49558
49559 fi
49560 done
49561
49562 fi
49563 fi
49564
49565
49566
49567
49568
49569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49570 $as_echo_n "checking for frexpf declaration... " >&6; }
49571 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49572 if ${glibcxx_cv_func_frexpf_use+:} false; then :
49573 $as_echo_n "(cached) " >&6
49574 else
49575
49576
49577 ac_ext=cpp
49578 ac_cpp='$CXXCPP $CPPFLAGS'
49579 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49580 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49581 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49582
49583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49584 /* end confdefs.h. */
49585 #include <math.h>
49586 int
49587 main ()
49588 {
49589 frexpf(0, 0);
49590 ;
49591 return 0;
49592 }
49593 _ACEOF
49594 if ac_fn_cxx_try_compile "$LINENO"; then :
49595 glibcxx_cv_func_frexpf_use=yes
49596 else
49597 glibcxx_cv_func_frexpf_use=no
49598 fi
49599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49600 ac_ext=c
49601 ac_cpp='$CPP $CPPFLAGS'
49602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49605
49606
49607 fi
49608
49609 fi
49610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49611 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49612
49613 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49614 for ac_func in frexpf
49615 do :
49616 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49617 if test "x$ac_cv_func_frexpf" = xyes; then :
49618 cat >>confdefs.h <<_ACEOF
49619 #define HAVE_FREXPF 1
49620 _ACEOF
49621
49622 fi
49623 done
49624
49625 else
49626
49627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49628 $as_echo_n "checking for _frexpf declaration... " >&6; }
49629 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49630 if ${glibcxx_cv_func__frexpf_use+:} false; then :
49631 $as_echo_n "(cached) " >&6
49632 else
49633
49634
49635 ac_ext=cpp
49636 ac_cpp='$CXXCPP $CPPFLAGS'
49637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49640
49641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49642 /* end confdefs.h. */
49643 #include <math.h>
49644 int
49645 main ()
49646 {
49647 _frexpf(0, 0);
49648 ;
49649 return 0;
49650 }
49651 _ACEOF
49652 if ac_fn_cxx_try_compile "$LINENO"; then :
49653 glibcxx_cv_func__frexpf_use=yes
49654 else
49655 glibcxx_cv_func__frexpf_use=no
49656 fi
49657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49658 ac_ext=c
49659 ac_cpp='$CPP $CPPFLAGS'
49660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49663
49664
49665 fi
49666
49667 fi
49668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49669 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49670
49671 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49672 for ac_func in _frexpf
49673 do :
49674 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49675 if test "x$ac_cv_func__frexpf" = xyes; then :
49676 cat >>confdefs.h <<_ACEOF
49677 #define HAVE__FREXPF 1
49678 _ACEOF
49679
49680 fi
49681 done
49682
49683 fi
49684 fi
49685
49686
49687
49688
49689
49690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49691 $as_echo_n "checking for hypotf declaration... " >&6; }
49692 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49693 if ${glibcxx_cv_func_hypotf_use+:} false; then :
49694 $as_echo_n "(cached) " >&6
49695 else
49696
49697
49698 ac_ext=cpp
49699 ac_cpp='$CXXCPP $CPPFLAGS'
49700 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49701 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49702 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49703
49704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49705 /* end confdefs.h. */
49706 #include <math.h>
49707 int
49708 main ()
49709 {
49710 hypotf(0, 0);
49711 ;
49712 return 0;
49713 }
49714 _ACEOF
49715 if ac_fn_cxx_try_compile "$LINENO"; then :
49716 glibcxx_cv_func_hypotf_use=yes
49717 else
49718 glibcxx_cv_func_hypotf_use=no
49719 fi
49720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49721 ac_ext=c
49722 ac_cpp='$CPP $CPPFLAGS'
49723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49726
49727
49728 fi
49729
49730 fi
49731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49732 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49733
49734 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49735 for ac_func in hypotf
49736 do :
49737 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49738 if test "x$ac_cv_func_hypotf" = xyes; then :
49739 cat >>confdefs.h <<_ACEOF
49740 #define HAVE_HYPOTF 1
49741 _ACEOF
49742
49743 fi
49744 done
49745
49746 else
49747
49748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49749 $as_echo_n "checking for _hypotf declaration... " >&6; }
49750 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49751 if ${glibcxx_cv_func__hypotf_use+:} false; then :
49752 $as_echo_n "(cached) " >&6
49753 else
49754
49755
49756 ac_ext=cpp
49757 ac_cpp='$CXXCPP $CPPFLAGS'
49758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49761
49762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49763 /* end confdefs.h. */
49764 #include <math.h>
49765 int
49766 main ()
49767 {
49768 _hypotf(0, 0);
49769 ;
49770 return 0;
49771 }
49772 _ACEOF
49773 if ac_fn_cxx_try_compile "$LINENO"; then :
49774 glibcxx_cv_func__hypotf_use=yes
49775 else
49776 glibcxx_cv_func__hypotf_use=no
49777 fi
49778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49779 ac_ext=c
49780 ac_cpp='$CPP $CPPFLAGS'
49781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49784
49785
49786 fi
49787
49788 fi
49789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49790 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49791
49792 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49793 for ac_func in _hypotf
49794 do :
49795 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49796 if test "x$ac_cv_func__hypotf" = xyes; then :
49797 cat >>confdefs.h <<_ACEOF
49798 #define HAVE__HYPOTF 1
49799 _ACEOF
49800
49801 fi
49802 done
49803
49804 fi
49805 fi
49806
49807
49808
49809
49810
49811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49812 $as_echo_n "checking for ldexpf declaration... " >&6; }
49813 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49814 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
49815 $as_echo_n "(cached) " >&6
49816 else
49817
49818
49819 ac_ext=cpp
49820 ac_cpp='$CXXCPP $CPPFLAGS'
49821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49824
49825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49826 /* end confdefs.h. */
49827 #include <math.h>
49828 int
49829 main ()
49830 {
49831 ldexpf(0, 0);
49832 ;
49833 return 0;
49834 }
49835 _ACEOF
49836 if ac_fn_cxx_try_compile "$LINENO"; then :
49837 glibcxx_cv_func_ldexpf_use=yes
49838 else
49839 glibcxx_cv_func_ldexpf_use=no
49840 fi
49841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49842 ac_ext=c
49843 ac_cpp='$CPP $CPPFLAGS'
49844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49847
49848
49849 fi
49850
49851 fi
49852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49853 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49854
49855 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49856 for ac_func in ldexpf
49857 do :
49858 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49859 if test "x$ac_cv_func_ldexpf" = xyes; then :
49860 cat >>confdefs.h <<_ACEOF
49861 #define HAVE_LDEXPF 1
49862 _ACEOF
49863
49864 fi
49865 done
49866
49867 else
49868
49869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49870 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49871 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49872 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
49873 $as_echo_n "(cached) " >&6
49874 else
49875
49876
49877 ac_ext=cpp
49878 ac_cpp='$CXXCPP $CPPFLAGS'
49879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49882
49883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49884 /* end confdefs.h. */
49885 #include <math.h>
49886 int
49887 main ()
49888 {
49889 _ldexpf(0, 0);
49890 ;
49891 return 0;
49892 }
49893 _ACEOF
49894 if ac_fn_cxx_try_compile "$LINENO"; then :
49895 glibcxx_cv_func__ldexpf_use=yes
49896 else
49897 glibcxx_cv_func__ldexpf_use=no
49898 fi
49899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49900 ac_ext=c
49901 ac_cpp='$CPP $CPPFLAGS'
49902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49905
49906
49907 fi
49908
49909 fi
49910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49911 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49912
49913 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49914 for ac_func in _ldexpf
49915 do :
49916 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49917 if test "x$ac_cv_func__ldexpf" = xyes; then :
49918 cat >>confdefs.h <<_ACEOF
49919 #define HAVE__LDEXPF 1
49920 _ACEOF
49921
49922 fi
49923 done
49924
49925 fi
49926 fi
49927
49928
49929
49930
49931
49932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49933 $as_echo_n "checking for logf declaration... " >&6; }
49934 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49935 if ${glibcxx_cv_func_logf_use+:} false; then :
49936 $as_echo_n "(cached) " >&6
49937 else
49938
49939
49940 ac_ext=cpp
49941 ac_cpp='$CXXCPP $CPPFLAGS'
49942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49945
49946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49947 /* end confdefs.h. */
49948 #include <math.h>
49949 #ifdef HAVE_IEEEFP_H
49950 #include <ieeefp.h>
49951 #endif
49952
49953 int
49954 main ()
49955 {
49956 logf(0);
49957 ;
49958 return 0;
49959 }
49960 _ACEOF
49961 if ac_fn_cxx_try_compile "$LINENO"; then :
49962 glibcxx_cv_func_logf_use=yes
49963 else
49964 glibcxx_cv_func_logf_use=no
49965 fi
49966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49967 ac_ext=c
49968 ac_cpp='$CPP $CPPFLAGS'
49969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49972
49973
49974 fi
49975
49976 fi
49977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49978 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49979
49980 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49981 for ac_func in logf
49982 do :
49983 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49984 if test "x$ac_cv_func_logf" = xyes; then :
49985 cat >>confdefs.h <<_ACEOF
49986 #define HAVE_LOGF 1
49987 _ACEOF
49988
49989 fi
49990 done
49991
49992 else
49993
49994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49995 $as_echo_n "checking for _logf declaration... " >&6; }
49996 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49997 if ${glibcxx_cv_func__logf_use+:} false; then :
49998 $as_echo_n "(cached) " >&6
49999 else
50000
50001
50002 ac_ext=cpp
50003 ac_cpp='$CXXCPP $CPPFLAGS'
50004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50007
50008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50009 /* end confdefs.h. */
50010 #include <math.h>
50011 #ifdef HAVE_IEEEFP_H
50012 #include <ieeefp.h>
50013 #endif
50014
50015 int
50016 main ()
50017 {
50018 _logf(0);
50019 ;
50020 return 0;
50021 }
50022 _ACEOF
50023 if ac_fn_cxx_try_compile "$LINENO"; then :
50024 glibcxx_cv_func__logf_use=yes
50025 else
50026 glibcxx_cv_func__logf_use=no
50027 fi
50028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50029 ac_ext=c
50030 ac_cpp='$CPP $CPPFLAGS'
50031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50034
50035
50036 fi
50037
50038 fi
50039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50040 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50041
50042 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50043 for ac_func in _logf
50044 do :
50045 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50046 if test "x$ac_cv_func__logf" = xyes; then :
50047 cat >>confdefs.h <<_ACEOF
50048 #define HAVE__LOGF 1
50049 _ACEOF
50050
50051 fi
50052 done
50053
50054 fi
50055 fi
50056
50057
50058
50059
50060
50061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50062 $as_echo_n "checking for log10f declaration... " >&6; }
50063 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50064 if ${glibcxx_cv_func_log10f_use+:} false; then :
50065 $as_echo_n "(cached) " >&6
50066 else
50067
50068
50069 ac_ext=cpp
50070 ac_cpp='$CXXCPP $CPPFLAGS'
50071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50074
50075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50076 /* end confdefs.h. */
50077 #include <math.h>
50078 #ifdef HAVE_IEEEFP_H
50079 #include <ieeefp.h>
50080 #endif
50081
50082 int
50083 main ()
50084 {
50085 log10f(0);
50086 ;
50087 return 0;
50088 }
50089 _ACEOF
50090 if ac_fn_cxx_try_compile "$LINENO"; then :
50091 glibcxx_cv_func_log10f_use=yes
50092 else
50093 glibcxx_cv_func_log10f_use=no
50094 fi
50095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50096 ac_ext=c
50097 ac_cpp='$CPP $CPPFLAGS'
50098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50101
50102
50103 fi
50104
50105 fi
50106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50107 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50108
50109 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50110 for ac_func in log10f
50111 do :
50112 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50113 if test "x$ac_cv_func_log10f" = xyes; then :
50114 cat >>confdefs.h <<_ACEOF
50115 #define HAVE_LOG10F 1
50116 _ACEOF
50117
50118 fi
50119 done
50120
50121 else
50122
50123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50124 $as_echo_n "checking for _log10f declaration... " >&6; }
50125 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50126 if ${glibcxx_cv_func__log10f_use+:} false; then :
50127 $as_echo_n "(cached) " >&6
50128 else
50129
50130
50131 ac_ext=cpp
50132 ac_cpp='$CXXCPP $CPPFLAGS'
50133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50136
50137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50138 /* end confdefs.h. */
50139 #include <math.h>
50140 #ifdef HAVE_IEEEFP_H
50141 #include <ieeefp.h>
50142 #endif
50143
50144 int
50145 main ()
50146 {
50147 _log10f(0);
50148 ;
50149 return 0;
50150 }
50151 _ACEOF
50152 if ac_fn_cxx_try_compile "$LINENO"; then :
50153 glibcxx_cv_func__log10f_use=yes
50154 else
50155 glibcxx_cv_func__log10f_use=no
50156 fi
50157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50158 ac_ext=c
50159 ac_cpp='$CPP $CPPFLAGS'
50160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50163
50164
50165 fi
50166
50167 fi
50168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50169 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50170
50171 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50172 for ac_func in _log10f
50173 do :
50174 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50175 if test "x$ac_cv_func__log10f" = xyes; then :
50176 cat >>confdefs.h <<_ACEOF
50177 #define HAVE__LOG10F 1
50178 _ACEOF
50179
50180 fi
50181 done
50182
50183 fi
50184 fi
50185
50186
50187
50188
50189
50190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50191 $as_echo_n "checking for modff declaration... " >&6; }
50192 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50193 if ${glibcxx_cv_func_modff_use+:} false; then :
50194 $as_echo_n "(cached) " >&6
50195 else
50196
50197
50198 ac_ext=cpp
50199 ac_cpp='$CXXCPP $CPPFLAGS'
50200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50203
50204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50205 /* end confdefs.h. */
50206 #include <math.h>
50207 int
50208 main ()
50209 {
50210 modff(0, 0);
50211 ;
50212 return 0;
50213 }
50214 _ACEOF
50215 if ac_fn_cxx_try_compile "$LINENO"; then :
50216 glibcxx_cv_func_modff_use=yes
50217 else
50218 glibcxx_cv_func_modff_use=no
50219 fi
50220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50221 ac_ext=c
50222 ac_cpp='$CPP $CPPFLAGS'
50223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50226
50227
50228 fi
50229
50230 fi
50231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50232 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50233
50234 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50235 for ac_func in modff
50236 do :
50237 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50238 if test "x$ac_cv_func_modff" = xyes; then :
50239 cat >>confdefs.h <<_ACEOF
50240 #define HAVE_MODFF 1
50241 _ACEOF
50242
50243 fi
50244 done
50245
50246 else
50247
50248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50249 $as_echo_n "checking for _modff declaration... " >&6; }
50250 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50251 if ${glibcxx_cv_func__modff_use+:} false; then :
50252 $as_echo_n "(cached) " >&6
50253 else
50254
50255
50256 ac_ext=cpp
50257 ac_cpp='$CXXCPP $CPPFLAGS'
50258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50261
50262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50263 /* end confdefs.h. */
50264 #include <math.h>
50265 int
50266 main ()
50267 {
50268 _modff(0, 0);
50269 ;
50270 return 0;
50271 }
50272 _ACEOF
50273 if ac_fn_cxx_try_compile "$LINENO"; then :
50274 glibcxx_cv_func__modff_use=yes
50275 else
50276 glibcxx_cv_func__modff_use=no
50277 fi
50278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50279 ac_ext=c
50280 ac_cpp='$CPP $CPPFLAGS'
50281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50284
50285
50286 fi
50287
50288 fi
50289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50290 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50291
50292 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50293 for ac_func in _modff
50294 do :
50295 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50296 if test "x$ac_cv_func__modff" = xyes; then :
50297 cat >>confdefs.h <<_ACEOF
50298 #define HAVE__MODFF 1
50299 _ACEOF
50300
50301 fi
50302 done
50303
50304 fi
50305 fi
50306
50307
50308
50309
50310
50311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50312 $as_echo_n "checking for modf declaration... " >&6; }
50313 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50314 if ${glibcxx_cv_func_modf_use+:} false; then :
50315 $as_echo_n "(cached) " >&6
50316 else
50317
50318
50319 ac_ext=cpp
50320 ac_cpp='$CXXCPP $CPPFLAGS'
50321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50324
50325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50326 /* end confdefs.h. */
50327 #include <math.h>
50328 int
50329 main ()
50330 {
50331 modf(0, 0);
50332 ;
50333 return 0;
50334 }
50335 _ACEOF
50336 if ac_fn_cxx_try_compile "$LINENO"; then :
50337 glibcxx_cv_func_modf_use=yes
50338 else
50339 glibcxx_cv_func_modf_use=no
50340 fi
50341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50342 ac_ext=c
50343 ac_cpp='$CPP $CPPFLAGS'
50344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50347
50348
50349 fi
50350
50351 fi
50352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50353 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50354
50355 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50356 for ac_func in modf
50357 do :
50358 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50359 if test "x$ac_cv_func_modf" = xyes; then :
50360 cat >>confdefs.h <<_ACEOF
50361 #define HAVE_MODF 1
50362 _ACEOF
50363
50364 fi
50365 done
50366
50367 else
50368
50369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50370 $as_echo_n "checking for _modf declaration... " >&6; }
50371 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50372 if ${glibcxx_cv_func__modf_use+:} false; then :
50373 $as_echo_n "(cached) " >&6
50374 else
50375
50376
50377 ac_ext=cpp
50378 ac_cpp='$CXXCPP $CPPFLAGS'
50379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50382
50383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50384 /* end confdefs.h. */
50385 #include <math.h>
50386 int
50387 main ()
50388 {
50389 _modf(0, 0);
50390 ;
50391 return 0;
50392 }
50393 _ACEOF
50394 if ac_fn_cxx_try_compile "$LINENO"; then :
50395 glibcxx_cv_func__modf_use=yes
50396 else
50397 glibcxx_cv_func__modf_use=no
50398 fi
50399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50400 ac_ext=c
50401 ac_cpp='$CPP $CPPFLAGS'
50402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50405
50406
50407 fi
50408
50409 fi
50410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50411 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50412
50413 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50414 for ac_func in _modf
50415 do :
50416 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50417 if test "x$ac_cv_func__modf" = xyes; then :
50418 cat >>confdefs.h <<_ACEOF
50419 #define HAVE__MODF 1
50420 _ACEOF
50421
50422 fi
50423 done
50424
50425 fi
50426 fi
50427
50428
50429
50430
50431
50432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50433 $as_echo_n "checking for powf declaration... " >&6; }
50434 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50435 if ${glibcxx_cv_func_powf_use+:} false; then :
50436 $as_echo_n "(cached) " >&6
50437 else
50438
50439
50440 ac_ext=cpp
50441 ac_cpp='$CXXCPP $CPPFLAGS'
50442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50445
50446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50447 /* end confdefs.h. */
50448 #include <math.h>
50449 int
50450 main ()
50451 {
50452 powf(0, 0);
50453 ;
50454 return 0;
50455 }
50456 _ACEOF
50457 if ac_fn_cxx_try_compile "$LINENO"; then :
50458 glibcxx_cv_func_powf_use=yes
50459 else
50460 glibcxx_cv_func_powf_use=no
50461 fi
50462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50463 ac_ext=c
50464 ac_cpp='$CPP $CPPFLAGS'
50465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50468
50469
50470 fi
50471
50472 fi
50473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50474 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50475
50476 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50477 for ac_func in powf
50478 do :
50479 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50480 if test "x$ac_cv_func_powf" = xyes; then :
50481 cat >>confdefs.h <<_ACEOF
50482 #define HAVE_POWF 1
50483 _ACEOF
50484
50485 fi
50486 done
50487
50488 else
50489
50490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50491 $as_echo_n "checking for _powf declaration... " >&6; }
50492 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50493 if ${glibcxx_cv_func__powf_use+:} false; then :
50494 $as_echo_n "(cached) " >&6
50495 else
50496
50497
50498 ac_ext=cpp
50499 ac_cpp='$CXXCPP $CPPFLAGS'
50500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50503
50504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50505 /* end confdefs.h. */
50506 #include <math.h>
50507 int
50508 main ()
50509 {
50510 _powf(0, 0);
50511 ;
50512 return 0;
50513 }
50514 _ACEOF
50515 if ac_fn_cxx_try_compile "$LINENO"; then :
50516 glibcxx_cv_func__powf_use=yes
50517 else
50518 glibcxx_cv_func__powf_use=no
50519 fi
50520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50521 ac_ext=c
50522 ac_cpp='$CPP $CPPFLAGS'
50523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50526
50527
50528 fi
50529
50530 fi
50531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50532 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50533
50534 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50535 for ac_func in _powf
50536 do :
50537 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50538 if test "x$ac_cv_func__powf" = xyes; then :
50539 cat >>confdefs.h <<_ACEOF
50540 #define HAVE__POWF 1
50541 _ACEOF
50542
50543 fi
50544 done
50545
50546 fi
50547 fi
50548
50549
50550
50551
50552
50553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50554 $as_echo_n "checking for sqrtf declaration... " >&6; }
50555 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50556 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50557 $as_echo_n "(cached) " >&6
50558 else
50559
50560
50561 ac_ext=cpp
50562 ac_cpp='$CXXCPP $CPPFLAGS'
50563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50566
50567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50568 /* end confdefs.h. */
50569 #include <math.h>
50570 #ifdef HAVE_IEEEFP_H
50571 #include <ieeefp.h>
50572 #endif
50573
50574 int
50575 main ()
50576 {
50577 sqrtf(0);
50578 ;
50579 return 0;
50580 }
50581 _ACEOF
50582 if ac_fn_cxx_try_compile "$LINENO"; then :
50583 glibcxx_cv_func_sqrtf_use=yes
50584 else
50585 glibcxx_cv_func_sqrtf_use=no
50586 fi
50587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50588 ac_ext=c
50589 ac_cpp='$CPP $CPPFLAGS'
50590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50593
50594
50595 fi
50596
50597 fi
50598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50599 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50600
50601 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50602 for ac_func in sqrtf
50603 do :
50604 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50605 if test "x$ac_cv_func_sqrtf" = xyes; then :
50606 cat >>confdefs.h <<_ACEOF
50607 #define HAVE_SQRTF 1
50608 _ACEOF
50609
50610 fi
50611 done
50612
50613 else
50614
50615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50616 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50617 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50618 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
50619 $as_echo_n "(cached) " >&6
50620 else
50621
50622
50623 ac_ext=cpp
50624 ac_cpp='$CXXCPP $CPPFLAGS'
50625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50628
50629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50630 /* end confdefs.h. */
50631 #include <math.h>
50632 #ifdef HAVE_IEEEFP_H
50633 #include <ieeefp.h>
50634 #endif
50635
50636 int
50637 main ()
50638 {
50639 _sqrtf(0);
50640 ;
50641 return 0;
50642 }
50643 _ACEOF
50644 if ac_fn_cxx_try_compile "$LINENO"; then :
50645 glibcxx_cv_func__sqrtf_use=yes
50646 else
50647 glibcxx_cv_func__sqrtf_use=no
50648 fi
50649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50650 ac_ext=c
50651 ac_cpp='$CPP $CPPFLAGS'
50652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50655
50656
50657 fi
50658
50659 fi
50660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50661 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50662
50663 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50664 for ac_func in _sqrtf
50665 do :
50666 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50667 if test "x$ac_cv_func__sqrtf" = xyes; then :
50668 cat >>confdefs.h <<_ACEOF
50669 #define HAVE__SQRTF 1
50670 _ACEOF
50671
50672 fi
50673 done
50674
50675 fi
50676 fi
50677
50678
50679
50680
50681
50682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50683 $as_echo_n "checking for sincosf declaration... " >&6; }
50684 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50685 if ${glibcxx_cv_func_sincosf_use+:} false; then :
50686 $as_echo_n "(cached) " >&6
50687 else
50688
50689
50690 ac_ext=cpp
50691 ac_cpp='$CXXCPP $CPPFLAGS'
50692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50695
50696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50697 /* end confdefs.h. */
50698 #include <math.h>
50699 int
50700 main ()
50701 {
50702 sincosf(0, 0, 0);
50703 ;
50704 return 0;
50705 }
50706 _ACEOF
50707 if ac_fn_cxx_try_compile "$LINENO"; then :
50708 glibcxx_cv_func_sincosf_use=yes
50709 else
50710 glibcxx_cv_func_sincosf_use=no
50711 fi
50712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50713 ac_ext=c
50714 ac_cpp='$CPP $CPPFLAGS'
50715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50718
50719
50720 fi
50721
50722 fi
50723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50724 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50725
50726 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50727 for ac_func in sincosf
50728 do :
50729 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50730 if test "x$ac_cv_func_sincosf" = xyes; then :
50731 cat >>confdefs.h <<_ACEOF
50732 #define HAVE_SINCOSF 1
50733 _ACEOF
50734
50735 fi
50736 done
50737
50738 else
50739
50740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50741 $as_echo_n "checking for _sincosf declaration... " >&6; }
50742 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50743 if ${glibcxx_cv_func__sincosf_use+:} false; then :
50744 $as_echo_n "(cached) " >&6
50745 else
50746
50747
50748 ac_ext=cpp
50749 ac_cpp='$CXXCPP $CPPFLAGS'
50750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50753
50754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50755 /* end confdefs.h. */
50756 #include <math.h>
50757 int
50758 main ()
50759 {
50760 _sincosf(0, 0, 0);
50761 ;
50762 return 0;
50763 }
50764 _ACEOF
50765 if ac_fn_cxx_try_compile "$LINENO"; then :
50766 glibcxx_cv_func__sincosf_use=yes
50767 else
50768 glibcxx_cv_func__sincosf_use=no
50769 fi
50770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50771 ac_ext=c
50772 ac_cpp='$CPP $CPPFLAGS'
50773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50776
50777
50778 fi
50779
50780 fi
50781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50782 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50783
50784 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50785 for ac_func in _sincosf
50786 do :
50787 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50788 if test "x$ac_cv_func__sincosf" = xyes; then :
50789 cat >>confdefs.h <<_ACEOF
50790 #define HAVE__SINCOSF 1
50791 _ACEOF
50792
50793 fi
50794 done
50795
50796 fi
50797 fi
50798
50799
50800
50801
50802
50803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50804 $as_echo_n "checking for finitef declaration... " >&6; }
50805 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50806 if ${glibcxx_cv_func_finitef_use+:} false; then :
50807 $as_echo_n "(cached) " >&6
50808 else
50809
50810
50811 ac_ext=cpp
50812 ac_cpp='$CXXCPP $CPPFLAGS'
50813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50816
50817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50818 /* end confdefs.h. */
50819 #include <math.h>
50820 #ifdef HAVE_IEEEFP_H
50821 #include <ieeefp.h>
50822 #endif
50823
50824 int
50825 main ()
50826 {
50827 finitef(0);
50828 ;
50829 return 0;
50830 }
50831 _ACEOF
50832 if ac_fn_cxx_try_compile "$LINENO"; then :
50833 glibcxx_cv_func_finitef_use=yes
50834 else
50835 glibcxx_cv_func_finitef_use=no
50836 fi
50837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50838 ac_ext=c
50839 ac_cpp='$CPP $CPPFLAGS'
50840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50843
50844
50845 fi
50846
50847 fi
50848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50849 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50850
50851 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50852 for ac_func in finitef
50853 do :
50854 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50855 if test "x$ac_cv_func_finitef" = xyes; then :
50856 cat >>confdefs.h <<_ACEOF
50857 #define HAVE_FINITEF 1
50858 _ACEOF
50859
50860 fi
50861 done
50862
50863 else
50864
50865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50866 $as_echo_n "checking for _finitef declaration... " >&6; }
50867 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50868 if ${glibcxx_cv_func__finitef_use+:} false; then :
50869 $as_echo_n "(cached) " >&6
50870 else
50871
50872
50873 ac_ext=cpp
50874 ac_cpp='$CXXCPP $CPPFLAGS'
50875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50878
50879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50880 /* end confdefs.h. */
50881 #include <math.h>
50882 #ifdef HAVE_IEEEFP_H
50883 #include <ieeefp.h>
50884 #endif
50885
50886 int
50887 main ()
50888 {
50889 _finitef(0);
50890 ;
50891 return 0;
50892 }
50893 _ACEOF
50894 if ac_fn_cxx_try_compile "$LINENO"; then :
50895 glibcxx_cv_func__finitef_use=yes
50896 else
50897 glibcxx_cv_func__finitef_use=no
50898 fi
50899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50900 ac_ext=c
50901 ac_cpp='$CPP $CPPFLAGS'
50902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50905
50906
50907 fi
50908
50909 fi
50910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50911 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50912
50913 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50914 for ac_func in _finitef
50915 do :
50916 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50917 if test "x$ac_cv_func__finitef" = xyes; then :
50918 cat >>confdefs.h <<_ACEOF
50919 #define HAVE__FINITEF 1
50920 _ACEOF
50921
50922 fi
50923 done
50924
50925 fi
50926 fi
50927
50928
50929
50930
50931
50932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50933 $as_echo_n "checking for long double trig functions... " >&6; }
50934 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
50935 $as_echo_n "(cached) " >&6
50936 else
50937
50938
50939 ac_ext=cpp
50940 ac_cpp='$CXXCPP $CPPFLAGS'
50941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50944
50945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50946 /* end confdefs.h. */
50947 #include <math.h>
50948 int
50949 main ()
50950 {
50951 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50952 ;
50953 return 0;
50954 }
50955 _ACEOF
50956 if ac_fn_cxx_try_compile "$LINENO"; then :
50957 glibcxx_cv_func_long_double_trig_use=yes
50958 else
50959 glibcxx_cv_func_long_double_trig_use=no
50960 fi
50961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50962 ac_ext=c
50963 ac_cpp='$CPP $CPPFLAGS'
50964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50967
50968 fi
50969
50970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50971 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50972 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50973 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50974 do :
50975 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50976 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50977 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50978 cat >>confdefs.h <<_ACEOF
50979 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50980 _ACEOF
50981
50982 fi
50983 done
50984
50985 else
50986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50987 $as_echo_n "checking for _long double trig functions... " >&6; }
50988 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
50989 $as_echo_n "(cached) " >&6
50990 else
50991
50992
50993 ac_ext=cpp
50994 ac_cpp='$CXXCPP $CPPFLAGS'
50995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50998
50999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51000 /* end confdefs.h. */
51001 #include <math.h>
51002 int
51003 main ()
51004 {
51005 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51006 ;
51007 return 0;
51008 }
51009 _ACEOF
51010 if ac_fn_cxx_try_compile "$LINENO"; then :
51011 glibcxx_cv_func__long_double_trig_use=yes
51012 else
51013 glibcxx_cv_func__long_double_trig_use=no
51014 fi
51015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51016 ac_ext=c
51017 ac_cpp='$CPP $CPPFLAGS'
51018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51021
51022 fi
51023
51024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51025 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51026 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51027 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51028 do :
51029 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51030 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51031 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51032 cat >>confdefs.h <<_ACEOF
51033 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51034 _ACEOF
51035
51036 fi
51037 done
51038
51039 fi
51040 fi
51041
51042
51043
51044
51045
51046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51047 $as_echo_n "checking for long double round functions... " >&6; }
51048 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51049 $as_echo_n "(cached) " >&6
51050 else
51051
51052
51053 ac_ext=cpp
51054 ac_cpp='$CXXCPP $CPPFLAGS'
51055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51058
51059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51060 /* end confdefs.h. */
51061 #include <math.h>
51062 int
51063 main ()
51064 {
51065 ceill (0); floorl (0);
51066 ;
51067 return 0;
51068 }
51069 _ACEOF
51070 if ac_fn_cxx_try_compile "$LINENO"; then :
51071 glibcxx_cv_func_long_double_round_use=yes
51072 else
51073 glibcxx_cv_func_long_double_round_use=no
51074 fi
51075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51076 ac_ext=c
51077 ac_cpp='$CPP $CPPFLAGS'
51078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51081
51082 fi
51083
51084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51085 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51086 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51087 for ac_func in ceill floorl
51088 do :
51089 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51090 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51091 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51092 cat >>confdefs.h <<_ACEOF
51093 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51094 _ACEOF
51095
51096 fi
51097 done
51098
51099 else
51100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51101 $as_echo_n "checking for _long double round functions... " >&6; }
51102 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51103 $as_echo_n "(cached) " >&6
51104 else
51105
51106
51107 ac_ext=cpp
51108 ac_cpp='$CXXCPP $CPPFLAGS'
51109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51112
51113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51114 /* end confdefs.h. */
51115 #include <math.h>
51116 int
51117 main ()
51118 {
51119 _ceill (0); _floorl (0);
51120 ;
51121 return 0;
51122 }
51123 _ACEOF
51124 if ac_fn_cxx_try_compile "$LINENO"; then :
51125 glibcxx_cv_func__long_double_round_use=yes
51126 else
51127 glibcxx_cv_func__long_double_round_use=no
51128 fi
51129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51130 ac_ext=c
51131 ac_cpp='$CPP $CPPFLAGS'
51132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51135
51136 fi
51137
51138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51139 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51140 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51141 for ac_func in _ceill _floorl
51142 do :
51143 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51144 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51145 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51146 cat >>confdefs.h <<_ACEOF
51147 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51148 _ACEOF
51149
51150 fi
51151 done
51152
51153 fi
51154 fi
51155
51156
51157
51158
51159
51160
51161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51162 $as_echo_n "checking for isnanl declaration... " >&6; }
51163 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51164 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51165 $as_echo_n "(cached) " >&6
51166 else
51167
51168
51169 ac_ext=cpp
51170 ac_cpp='$CXXCPP $CPPFLAGS'
51171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51174
51175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51176 /* end confdefs.h. */
51177 #include <math.h>
51178 #ifdef HAVE_IEEEFP_H
51179 #include <ieeefp.h>
51180 #endif
51181
51182 int
51183 main ()
51184 {
51185 isnanl(0);
51186 ;
51187 return 0;
51188 }
51189 _ACEOF
51190 if ac_fn_cxx_try_compile "$LINENO"; then :
51191 glibcxx_cv_func_isnanl_use=yes
51192 else
51193 glibcxx_cv_func_isnanl_use=no
51194 fi
51195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51196 ac_ext=c
51197 ac_cpp='$CPP $CPPFLAGS'
51198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51201
51202
51203 fi
51204
51205 fi
51206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51207 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51208
51209 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51210 for ac_func in isnanl
51211 do :
51212 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51213 if test "x$ac_cv_func_isnanl" = xyes; then :
51214 cat >>confdefs.h <<_ACEOF
51215 #define HAVE_ISNANL 1
51216 _ACEOF
51217
51218 fi
51219 done
51220
51221 else
51222
51223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51224 $as_echo_n "checking for _isnanl declaration... " >&6; }
51225 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51226 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51227 $as_echo_n "(cached) " >&6
51228 else
51229
51230
51231 ac_ext=cpp
51232 ac_cpp='$CXXCPP $CPPFLAGS'
51233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51236
51237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51238 /* end confdefs.h. */
51239 #include <math.h>
51240 #ifdef HAVE_IEEEFP_H
51241 #include <ieeefp.h>
51242 #endif
51243
51244 int
51245 main ()
51246 {
51247 _isnanl(0);
51248 ;
51249 return 0;
51250 }
51251 _ACEOF
51252 if ac_fn_cxx_try_compile "$LINENO"; then :
51253 glibcxx_cv_func__isnanl_use=yes
51254 else
51255 glibcxx_cv_func__isnanl_use=no
51256 fi
51257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51258 ac_ext=c
51259 ac_cpp='$CPP $CPPFLAGS'
51260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51263
51264
51265 fi
51266
51267 fi
51268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51269 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51270
51271 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51272 for ac_func in _isnanl
51273 do :
51274 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51275 if test "x$ac_cv_func__isnanl" = xyes; then :
51276 cat >>confdefs.h <<_ACEOF
51277 #define HAVE__ISNANL 1
51278 _ACEOF
51279
51280 fi
51281 done
51282
51283 fi
51284 fi
51285
51286
51287
51288
51289
51290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51291 $as_echo_n "checking for isinfl declaration... " >&6; }
51292 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51293 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51294 $as_echo_n "(cached) " >&6
51295 else
51296
51297
51298 ac_ext=cpp
51299 ac_cpp='$CXXCPP $CPPFLAGS'
51300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51303
51304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51305 /* end confdefs.h. */
51306 #include <math.h>
51307 #ifdef HAVE_IEEEFP_H
51308 #include <ieeefp.h>
51309 #endif
51310
51311 int
51312 main ()
51313 {
51314 isinfl(0);
51315 ;
51316 return 0;
51317 }
51318 _ACEOF
51319 if ac_fn_cxx_try_compile "$LINENO"; then :
51320 glibcxx_cv_func_isinfl_use=yes
51321 else
51322 glibcxx_cv_func_isinfl_use=no
51323 fi
51324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51325 ac_ext=c
51326 ac_cpp='$CPP $CPPFLAGS'
51327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51330
51331
51332 fi
51333
51334 fi
51335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51336 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51337
51338 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51339 for ac_func in isinfl
51340 do :
51341 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51342 if test "x$ac_cv_func_isinfl" = xyes; then :
51343 cat >>confdefs.h <<_ACEOF
51344 #define HAVE_ISINFL 1
51345 _ACEOF
51346
51347 fi
51348 done
51349
51350 else
51351
51352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51353 $as_echo_n "checking for _isinfl declaration... " >&6; }
51354 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51355 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51356 $as_echo_n "(cached) " >&6
51357 else
51358
51359
51360 ac_ext=cpp
51361 ac_cpp='$CXXCPP $CPPFLAGS'
51362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51365
51366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51367 /* end confdefs.h. */
51368 #include <math.h>
51369 #ifdef HAVE_IEEEFP_H
51370 #include <ieeefp.h>
51371 #endif
51372
51373 int
51374 main ()
51375 {
51376 _isinfl(0);
51377 ;
51378 return 0;
51379 }
51380 _ACEOF
51381 if ac_fn_cxx_try_compile "$LINENO"; then :
51382 glibcxx_cv_func__isinfl_use=yes
51383 else
51384 glibcxx_cv_func__isinfl_use=no
51385 fi
51386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51387 ac_ext=c
51388 ac_cpp='$CPP $CPPFLAGS'
51389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51392
51393
51394 fi
51395
51396 fi
51397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51398 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51399
51400 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51401 for ac_func in _isinfl
51402 do :
51403 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51404 if test "x$ac_cv_func__isinfl" = xyes; then :
51405 cat >>confdefs.h <<_ACEOF
51406 #define HAVE__ISINFL 1
51407 _ACEOF
51408
51409 fi
51410 done
51411
51412 fi
51413 fi
51414
51415
51416
51417
51418
51419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51420 $as_echo_n "checking for atan2l declaration... " >&6; }
51421 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51422 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51423 $as_echo_n "(cached) " >&6
51424 else
51425
51426
51427 ac_ext=cpp
51428 ac_cpp='$CXXCPP $CPPFLAGS'
51429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51432
51433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51434 /* end confdefs.h. */
51435 #include <math.h>
51436 int
51437 main ()
51438 {
51439 atan2l(0, 0);
51440 ;
51441 return 0;
51442 }
51443 _ACEOF
51444 if ac_fn_cxx_try_compile "$LINENO"; then :
51445 glibcxx_cv_func_atan2l_use=yes
51446 else
51447 glibcxx_cv_func_atan2l_use=no
51448 fi
51449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51450 ac_ext=c
51451 ac_cpp='$CPP $CPPFLAGS'
51452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51455
51456
51457 fi
51458
51459 fi
51460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51461 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51462
51463 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51464 for ac_func in atan2l
51465 do :
51466 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51467 if test "x$ac_cv_func_atan2l" = xyes; then :
51468 cat >>confdefs.h <<_ACEOF
51469 #define HAVE_ATAN2L 1
51470 _ACEOF
51471
51472 fi
51473 done
51474
51475 else
51476
51477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51478 $as_echo_n "checking for _atan2l declaration... " >&6; }
51479 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51480 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51481 $as_echo_n "(cached) " >&6
51482 else
51483
51484
51485 ac_ext=cpp
51486 ac_cpp='$CXXCPP $CPPFLAGS'
51487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51490
51491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51492 /* end confdefs.h. */
51493 #include <math.h>
51494 int
51495 main ()
51496 {
51497 _atan2l(0, 0);
51498 ;
51499 return 0;
51500 }
51501 _ACEOF
51502 if ac_fn_cxx_try_compile "$LINENO"; then :
51503 glibcxx_cv_func__atan2l_use=yes
51504 else
51505 glibcxx_cv_func__atan2l_use=no
51506 fi
51507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51508 ac_ext=c
51509 ac_cpp='$CPP $CPPFLAGS'
51510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51513
51514
51515 fi
51516
51517 fi
51518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51519 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51520
51521 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51522 for ac_func in _atan2l
51523 do :
51524 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51525 if test "x$ac_cv_func__atan2l" = xyes; then :
51526 cat >>confdefs.h <<_ACEOF
51527 #define HAVE__ATAN2L 1
51528 _ACEOF
51529
51530 fi
51531 done
51532
51533 fi
51534 fi
51535
51536
51537
51538
51539
51540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51541 $as_echo_n "checking for expl declaration... " >&6; }
51542 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51543 if ${glibcxx_cv_func_expl_use+:} false; then :
51544 $as_echo_n "(cached) " >&6
51545 else
51546
51547
51548 ac_ext=cpp
51549 ac_cpp='$CXXCPP $CPPFLAGS'
51550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51553
51554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51555 /* end confdefs.h. */
51556 #include <math.h>
51557 #ifdef HAVE_IEEEFP_H
51558 #include <ieeefp.h>
51559 #endif
51560
51561 int
51562 main ()
51563 {
51564 expl(0);
51565 ;
51566 return 0;
51567 }
51568 _ACEOF
51569 if ac_fn_cxx_try_compile "$LINENO"; then :
51570 glibcxx_cv_func_expl_use=yes
51571 else
51572 glibcxx_cv_func_expl_use=no
51573 fi
51574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51575 ac_ext=c
51576 ac_cpp='$CPP $CPPFLAGS'
51577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51580
51581
51582 fi
51583
51584 fi
51585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51586 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51587
51588 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51589 for ac_func in expl
51590 do :
51591 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51592 if test "x$ac_cv_func_expl" = xyes; then :
51593 cat >>confdefs.h <<_ACEOF
51594 #define HAVE_EXPL 1
51595 _ACEOF
51596
51597 fi
51598 done
51599
51600 else
51601
51602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51603 $as_echo_n "checking for _expl declaration... " >&6; }
51604 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51605 if ${glibcxx_cv_func__expl_use+:} false; then :
51606 $as_echo_n "(cached) " >&6
51607 else
51608
51609
51610 ac_ext=cpp
51611 ac_cpp='$CXXCPP $CPPFLAGS'
51612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51615
51616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51617 /* end confdefs.h. */
51618 #include <math.h>
51619 #ifdef HAVE_IEEEFP_H
51620 #include <ieeefp.h>
51621 #endif
51622
51623 int
51624 main ()
51625 {
51626 _expl(0);
51627 ;
51628 return 0;
51629 }
51630 _ACEOF
51631 if ac_fn_cxx_try_compile "$LINENO"; then :
51632 glibcxx_cv_func__expl_use=yes
51633 else
51634 glibcxx_cv_func__expl_use=no
51635 fi
51636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51637 ac_ext=c
51638 ac_cpp='$CPP $CPPFLAGS'
51639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51642
51643
51644 fi
51645
51646 fi
51647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51648 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51649
51650 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51651 for ac_func in _expl
51652 do :
51653 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51654 if test "x$ac_cv_func__expl" = xyes; then :
51655 cat >>confdefs.h <<_ACEOF
51656 #define HAVE__EXPL 1
51657 _ACEOF
51658
51659 fi
51660 done
51661
51662 fi
51663 fi
51664
51665
51666
51667
51668
51669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51670 $as_echo_n "checking for fabsl declaration... " >&6; }
51671 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51672 if ${glibcxx_cv_func_fabsl_use+:} false; then :
51673 $as_echo_n "(cached) " >&6
51674 else
51675
51676
51677 ac_ext=cpp
51678 ac_cpp='$CXXCPP $CPPFLAGS'
51679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51682
51683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51684 /* end confdefs.h. */
51685 #include <math.h>
51686 #ifdef HAVE_IEEEFP_H
51687 #include <ieeefp.h>
51688 #endif
51689
51690 int
51691 main ()
51692 {
51693 fabsl(0);
51694 ;
51695 return 0;
51696 }
51697 _ACEOF
51698 if ac_fn_cxx_try_compile "$LINENO"; then :
51699 glibcxx_cv_func_fabsl_use=yes
51700 else
51701 glibcxx_cv_func_fabsl_use=no
51702 fi
51703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51704 ac_ext=c
51705 ac_cpp='$CPP $CPPFLAGS'
51706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51709
51710
51711 fi
51712
51713 fi
51714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51715 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51716
51717 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51718 for ac_func in fabsl
51719 do :
51720 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51721 if test "x$ac_cv_func_fabsl" = xyes; then :
51722 cat >>confdefs.h <<_ACEOF
51723 #define HAVE_FABSL 1
51724 _ACEOF
51725
51726 fi
51727 done
51728
51729 else
51730
51731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51732 $as_echo_n "checking for _fabsl declaration... " >&6; }
51733 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51734 if ${glibcxx_cv_func__fabsl_use+:} false; then :
51735 $as_echo_n "(cached) " >&6
51736 else
51737
51738
51739 ac_ext=cpp
51740 ac_cpp='$CXXCPP $CPPFLAGS'
51741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51744
51745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51746 /* end confdefs.h. */
51747 #include <math.h>
51748 #ifdef HAVE_IEEEFP_H
51749 #include <ieeefp.h>
51750 #endif
51751
51752 int
51753 main ()
51754 {
51755 _fabsl(0);
51756 ;
51757 return 0;
51758 }
51759 _ACEOF
51760 if ac_fn_cxx_try_compile "$LINENO"; then :
51761 glibcxx_cv_func__fabsl_use=yes
51762 else
51763 glibcxx_cv_func__fabsl_use=no
51764 fi
51765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51766 ac_ext=c
51767 ac_cpp='$CPP $CPPFLAGS'
51768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51771
51772
51773 fi
51774
51775 fi
51776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51777 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51778
51779 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51780 for ac_func in _fabsl
51781 do :
51782 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51783 if test "x$ac_cv_func__fabsl" = xyes; then :
51784 cat >>confdefs.h <<_ACEOF
51785 #define HAVE__FABSL 1
51786 _ACEOF
51787
51788 fi
51789 done
51790
51791 fi
51792 fi
51793
51794
51795
51796
51797
51798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51799 $as_echo_n "checking for fmodl declaration... " >&6; }
51800 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51801 if ${glibcxx_cv_func_fmodl_use+:} false; then :
51802 $as_echo_n "(cached) " >&6
51803 else
51804
51805
51806 ac_ext=cpp
51807 ac_cpp='$CXXCPP $CPPFLAGS'
51808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51811
51812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51813 /* end confdefs.h. */
51814 #include <math.h>
51815 int
51816 main ()
51817 {
51818 fmodl(0, 0);
51819 ;
51820 return 0;
51821 }
51822 _ACEOF
51823 if ac_fn_cxx_try_compile "$LINENO"; then :
51824 glibcxx_cv_func_fmodl_use=yes
51825 else
51826 glibcxx_cv_func_fmodl_use=no
51827 fi
51828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51829 ac_ext=c
51830 ac_cpp='$CPP $CPPFLAGS'
51831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51834
51835
51836 fi
51837
51838 fi
51839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51840 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51841
51842 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51843 for ac_func in fmodl
51844 do :
51845 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51846 if test "x$ac_cv_func_fmodl" = xyes; then :
51847 cat >>confdefs.h <<_ACEOF
51848 #define HAVE_FMODL 1
51849 _ACEOF
51850
51851 fi
51852 done
51853
51854 else
51855
51856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51857 $as_echo_n "checking for _fmodl declaration... " >&6; }
51858 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51859 if ${glibcxx_cv_func__fmodl_use+:} false; then :
51860 $as_echo_n "(cached) " >&6
51861 else
51862
51863
51864 ac_ext=cpp
51865 ac_cpp='$CXXCPP $CPPFLAGS'
51866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51869
51870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51871 /* end confdefs.h. */
51872 #include <math.h>
51873 int
51874 main ()
51875 {
51876 _fmodl(0, 0);
51877 ;
51878 return 0;
51879 }
51880 _ACEOF
51881 if ac_fn_cxx_try_compile "$LINENO"; then :
51882 glibcxx_cv_func__fmodl_use=yes
51883 else
51884 glibcxx_cv_func__fmodl_use=no
51885 fi
51886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51887 ac_ext=c
51888 ac_cpp='$CPP $CPPFLAGS'
51889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51892
51893
51894 fi
51895
51896 fi
51897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51898 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51899
51900 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51901 for ac_func in _fmodl
51902 do :
51903 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51904 if test "x$ac_cv_func__fmodl" = xyes; then :
51905 cat >>confdefs.h <<_ACEOF
51906 #define HAVE__FMODL 1
51907 _ACEOF
51908
51909 fi
51910 done
51911
51912 fi
51913 fi
51914
51915
51916
51917
51918
51919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51920 $as_echo_n "checking for frexpl declaration... " >&6; }
51921 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51922 if ${glibcxx_cv_func_frexpl_use+:} false; then :
51923 $as_echo_n "(cached) " >&6
51924 else
51925
51926
51927 ac_ext=cpp
51928 ac_cpp='$CXXCPP $CPPFLAGS'
51929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51932
51933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51934 /* end confdefs.h. */
51935 #include <math.h>
51936 int
51937 main ()
51938 {
51939 frexpl(0, 0);
51940 ;
51941 return 0;
51942 }
51943 _ACEOF
51944 if ac_fn_cxx_try_compile "$LINENO"; then :
51945 glibcxx_cv_func_frexpl_use=yes
51946 else
51947 glibcxx_cv_func_frexpl_use=no
51948 fi
51949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51950 ac_ext=c
51951 ac_cpp='$CPP $CPPFLAGS'
51952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51955
51956
51957 fi
51958
51959 fi
51960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51961 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51962
51963 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51964 for ac_func in frexpl
51965 do :
51966 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51967 if test "x$ac_cv_func_frexpl" = xyes; then :
51968 cat >>confdefs.h <<_ACEOF
51969 #define HAVE_FREXPL 1
51970 _ACEOF
51971
51972 fi
51973 done
51974
51975 else
51976
51977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51978 $as_echo_n "checking for _frexpl declaration... " >&6; }
51979 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51980 if ${glibcxx_cv_func__frexpl_use+:} false; then :
51981 $as_echo_n "(cached) " >&6
51982 else
51983
51984
51985 ac_ext=cpp
51986 ac_cpp='$CXXCPP $CPPFLAGS'
51987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51990
51991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51992 /* end confdefs.h. */
51993 #include <math.h>
51994 int
51995 main ()
51996 {
51997 _frexpl(0, 0);
51998 ;
51999 return 0;
52000 }
52001 _ACEOF
52002 if ac_fn_cxx_try_compile "$LINENO"; then :
52003 glibcxx_cv_func__frexpl_use=yes
52004 else
52005 glibcxx_cv_func__frexpl_use=no
52006 fi
52007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52008 ac_ext=c
52009 ac_cpp='$CPP $CPPFLAGS'
52010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52013
52014
52015 fi
52016
52017 fi
52018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52019 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52020
52021 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52022 for ac_func in _frexpl
52023 do :
52024 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52025 if test "x$ac_cv_func__frexpl" = xyes; then :
52026 cat >>confdefs.h <<_ACEOF
52027 #define HAVE__FREXPL 1
52028 _ACEOF
52029
52030 fi
52031 done
52032
52033 fi
52034 fi
52035
52036
52037
52038
52039
52040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52041 $as_echo_n "checking for hypotl declaration... " >&6; }
52042 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52043 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52044 $as_echo_n "(cached) " >&6
52045 else
52046
52047
52048 ac_ext=cpp
52049 ac_cpp='$CXXCPP $CPPFLAGS'
52050 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52051 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52052 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52053
52054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52055 /* end confdefs.h. */
52056 #include <math.h>
52057 int
52058 main ()
52059 {
52060 hypotl(0, 0);
52061 ;
52062 return 0;
52063 }
52064 _ACEOF
52065 if ac_fn_cxx_try_compile "$LINENO"; then :
52066 glibcxx_cv_func_hypotl_use=yes
52067 else
52068 glibcxx_cv_func_hypotl_use=no
52069 fi
52070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52071 ac_ext=c
52072 ac_cpp='$CPP $CPPFLAGS'
52073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52076
52077
52078 fi
52079
52080 fi
52081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52082 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52083
52084 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52085 for ac_func in hypotl
52086 do :
52087 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52088 if test "x$ac_cv_func_hypotl" = xyes; then :
52089 cat >>confdefs.h <<_ACEOF
52090 #define HAVE_HYPOTL 1
52091 _ACEOF
52092
52093 fi
52094 done
52095
52096 else
52097
52098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52099 $as_echo_n "checking for _hypotl declaration... " >&6; }
52100 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52101 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52102 $as_echo_n "(cached) " >&6
52103 else
52104
52105
52106 ac_ext=cpp
52107 ac_cpp='$CXXCPP $CPPFLAGS'
52108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52111
52112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52113 /* end confdefs.h. */
52114 #include <math.h>
52115 int
52116 main ()
52117 {
52118 _hypotl(0, 0);
52119 ;
52120 return 0;
52121 }
52122 _ACEOF
52123 if ac_fn_cxx_try_compile "$LINENO"; then :
52124 glibcxx_cv_func__hypotl_use=yes
52125 else
52126 glibcxx_cv_func__hypotl_use=no
52127 fi
52128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52129 ac_ext=c
52130 ac_cpp='$CPP $CPPFLAGS'
52131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52134
52135
52136 fi
52137
52138 fi
52139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52140 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52141
52142 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52143 for ac_func in _hypotl
52144 do :
52145 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52146 if test "x$ac_cv_func__hypotl" = xyes; then :
52147 cat >>confdefs.h <<_ACEOF
52148 #define HAVE__HYPOTL 1
52149 _ACEOF
52150
52151 fi
52152 done
52153
52154 fi
52155 fi
52156
52157
52158
52159
52160
52161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52162 $as_echo_n "checking for ldexpl declaration... " >&6; }
52163 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52164 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52165 $as_echo_n "(cached) " >&6
52166 else
52167
52168
52169 ac_ext=cpp
52170 ac_cpp='$CXXCPP $CPPFLAGS'
52171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52174
52175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52176 /* end confdefs.h. */
52177 #include <math.h>
52178 int
52179 main ()
52180 {
52181 ldexpl(0, 0);
52182 ;
52183 return 0;
52184 }
52185 _ACEOF
52186 if ac_fn_cxx_try_compile "$LINENO"; then :
52187 glibcxx_cv_func_ldexpl_use=yes
52188 else
52189 glibcxx_cv_func_ldexpl_use=no
52190 fi
52191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52192 ac_ext=c
52193 ac_cpp='$CPP $CPPFLAGS'
52194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52197
52198
52199 fi
52200
52201 fi
52202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52203 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52204
52205 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52206 for ac_func in ldexpl
52207 do :
52208 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52209 if test "x$ac_cv_func_ldexpl" = xyes; then :
52210 cat >>confdefs.h <<_ACEOF
52211 #define HAVE_LDEXPL 1
52212 _ACEOF
52213
52214 fi
52215 done
52216
52217 else
52218
52219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52220 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52221 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52222 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52223 $as_echo_n "(cached) " >&6
52224 else
52225
52226
52227 ac_ext=cpp
52228 ac_cpp='$CXXCPP $CPPFLAGS'
52229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52232
52233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52234 /* end confdefs.h. */
52235 #include <math.h>
52236 int
52237 main ()
52238 {
52239 _ldexpl(0, 0);
52240 ;
52241 return 0;
52242 }
52243 _ACEOF
52244 if ac_fn_cxx_try_compile "$LINENO"; then :
52245 glibcxx_cv_func__ldexpl_use=yes
52246 else
52247 glibcxx_cv_func__ldexpl_use=no
52248 fi
52249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52250 ac_ext=c
52251 ac_cpp='$CPP $CPPFLAGS'
52252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52255
52256
52257 fi
52258
52259 fi
52260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52261 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52262
52263 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52264 for ac_func in _ldexpl
52265 do :
52266 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52267 if test "x$ac_cv_func__ldexpl" = xyes; then :
52268 cat >>confdefs.h <<_ACEOF
52269 #define HAVE__LDEXPL 1
52270 _ACEOF
52271
52272 fi
52273 done
52274
52275 fi
52276 fi
52277
52278
52279
52280
52281
52282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52283 $as_echo_n "checking for logl declaration... " >&6; }
52284 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52285 if ${glibcxx_cv_func_logl_use+:} false; then :
52286 $as_echo_n "(cached) " >&6
52287 else
52288
52289
52290 ac_ext=cpp
52291 ac_cpp='$CXXCPP $CPPFLAGS'
52292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52295
52296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52297 /* end confdefs.h. */
52298 #include <math.h>
52299 #ifdef HAVE_IEEEFP_H
52300 #include <ieeefp.h>
52301 #endif
52302
52303 int
52304 main ()
52305 {
52306 logl(0);
52307 ;
52308 return 0;
52309 }
52310 _ACEOF
52311 if ac_fn_cxx_try_compile "$LINENO"; then :
52312 glibcxx_cv_func_logl_use=yes
52313 else
52314 glibcxx_cv_func_logl_use=no
52315 fi
52316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52317 ac_ext=c
52318 ac_cpp='$CPP $CPPFLAGS'
52319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52322
52323
52324 fi
52325
52326 fi
52327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52328 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52329
52330 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52331 for ac_func in logl
52332 do :
52333 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52334 if test "x$ac_cv_func_logl" = xyes; then :
52335 cat >>confdefs.h <<_ACEOF
52336 #define HAVE_LOGL 1
52337 _ACEOF
52338
52339 fi
52340 done
52341
52342 else
52343
52344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52345 $as_echo_n "checking for _logl declaration... " >&6; }
52346 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52347 if ${glibcxx_cv_func__logl_use+:} false; then :
52348 $as_echo_n "(cached) " >&6
52349 else
52350
52351
52352 ac_ext=cpp
52353 ac_cpp='$CXXCPP $CPPFLAGS'
52354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52357
52358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52359 /* end confdefs.h. */
52360 #include <math.h>
52361 #ifdef HAVE_IEEEFP_H
52362 #include <ieeefp.h>
52363 #endif
52364
52365 int
52366 main ()
52367 {
52368 _logl(0);
52369 ;
52370 return 0;
52371 }
52372 _ACEOF
52373 if ac_fn_cxx_try_compile "$LINENO"; then :
52374 glibcxx_cv_func__logl_use=yes
52375 else
52376 glibcxx_cv_func__logl_use=no
52377 fi
52378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52379 ac_ext=c
52380 ac_cpp='$CPP $CPPFLAGS'
52381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52384
52385
52386 fi
52387
52388 fi
52389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52390 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52391
52392 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52393 for ac_func in _logl
52394 do :
52395 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52396 if test "x$ac_cv_func__logl" = xyes; then :
52397 cat >>confdefs.h <<_ACEOF
52398 #define HAVE__LOGL 1
52399 _ACEOF
52400
52401 fi
52402 done
52403
52404 fi
52405 fi
52406
52407
52408
52409
52410
52411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52412 $as_echo_n "checking for log10l declaration... " >&6; }
52413 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52414 if ${glibcxx_cv_func_log10l_use+:} false; then :
52415 $as_echo_n "(cached) " >&6
52416 else
52417
52418
52419 ac_ext=cpp
52420 ac_cpp='$CXXCPP $CPPFLAGS'
52421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52424
52425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52426 /* end confdefs.h. */
52427 #include <math.h>
52428 #ifdef HAVE_IEEEFP_H
52429 #include <ieeefp.h>
52430 #endif
52431
52432 int
52433 main ()
52434 {
52435 log10l(0);
52436 ;
52437 return 0;
52438 }
52439 _ACEOF
52440 if ac_fn_cxx_try_compile "$LINENO"; then :
52441 glibcxx_cv_func_log10l_use=yes
52442 else
52443 glibcxx_cv_func_log10l_use=no
52444 fi
52445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52446 ac_ext=c
52447 ac_cpp='$CPP $CPPFLAGS'
52448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52451
52452
52453 fi
52454
52455 fi
52456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52457 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52458
52459 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52460 for ac_func in log10l
52461 do :
52462 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52463 if test "x$ac_cv_func_log10l" = xyes; then :
52464 cat >>confdefs.h <<_ACEOF
52465 #define HAVE_LOG10L 1
52466 _ACEOF
52467
52468 fi
52469 done
52470
52471 else
52472
52473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52474 $as_echo_n "checking for _log10l declaration... " >&6; }
52475 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52476 if ${glibcxx_cv_func__log10l_use+:} false; then :
52477 $as_echo_n "(cached) " >&6
52478 else
52479
52480
52481 ac_ext=cpp
52482 ac_cpp='$CXXCPP $CPPFLAGS'
52483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52486
52487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52488 /* end confdefs.h. */
52489 #include <math.h>
52490 #ifdef HAVE_IEEEFP_H
52491 #include <ieeefp.h>
52492 #endif
52493
52494 int
52495 main ()
52496 {
52497 _log10l(0);
52498 ;
52499 return 0;
52500 }
52501 _ACEOF
52502 if ac_fn_cxx_try_compile "$LINENO"; then :
52503 glibcxx_cv_func__log10l_use=yes
52504 else
52505 glibcxx_cv_func__log10l_use=no
52506 fi
52507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52508 ac_ext=c
52509 ac_cpp='$CPP $CPPFLAGS'
52510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52513
52514
52515 fi
52516
52517 fi
52518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52519 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52520
52521 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52522 for ac_func in _log10l
52523 do :
52524 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52525 if test "x$ac_cv_func__log10l" = xyes; then :
52526 cat >>confdefs.h <<_ACEOF
52527 #define HAVE__LOG10L 1
52528 _ACEOF
52529
52530 fi
52531 done
52532
52533 fi
52534 fi
52535
52536
52537
52538
52539
52540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52541 $as_echo_n "checking for modfl declaration... " >&6; }
52542 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52543 if ${glibcxx_cv_func_modfl_use+:} false; then :
52544 $as_echo_n "(cached) " >&6
52545 else
52546
52547
52548 ac_ext=cpp
52549 ac_cpp='$CXXCPP $CPPFLAGS'
52550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52553
52554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52555 /* end confdefs.h. */
52556 #include <math.h>
52557 int
52558 main ()
52559 {
52560 modfl(0, 0);
52561 ;
52562 return 0;
52563 }
52564 _ACEOF
52565 if ac_fn_cxx_try_compile "$LINENO"; then :
52566 glibcxx_cv_func_modfl_use=yes
52567 else
52568 glibcxx_cv_func_modfl_use=no
52569 fi
52570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52571 ac_ext=c
52572 ac_cpp='$CPP $CPPFLAGS'
52573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52576
52577
52578 fi
52579
52580 fi
52581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52582 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52583
52584 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52585 for ac_func in modfl
52586 do :
52587 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52588 if test "x$ac_cv_func_modfl" = xyes; then :
52589 cat >>confdefs.h <<_ACEOF
52590 #define HAVE_MODFL 1
52591 _ACEOF
52592
52593 fi
52594 done
52595
52596 else
52597
52598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52599 $as_echo_n "checking for _modfl declaration... " >&6; }
52600 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52601 if ${glibcxx_cv_func__modfl_use+:} false; then :
52602 $as_echo_n "(cached) " >&6
52603 else
52604
52605
52606 ac_ext=cpp
52607 ac_cpp='$CXXCPP $CPPFLAGS'
52608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52611
52612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52613 /* end confdefs.h. */
52614 #include <math.h>
52615 int
52616 main ()
52617 {
52618 _modfl(0, 0);
52619 ;
52620 return 0;
52621 }
52622 _ACEOF
52623 if ac_fn_cxx_try_compile "$LINENO"; then :
52624 glibcxx_cv_func__modfl_use=yes
52625 else
52626 glibcxx_cv_func__modfl_use=no
52627 fi
52628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52629 ac_ext=c
52630 ac_cpp='$CPP $CPPFLAGS'
52631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52634
52635
52636 fi
52637
52638 fi
52639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52640 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52641
52642 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52643 for ac_func in _modfl
52644 do :
52645 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52646 if test "x$ac_cv_func__modfl" = xyes; then :
52647 cat >>confdefs.h <<_ACEOF
52648 #define HAVE__MODFL 1
52649 _ACEOF
52650
52651 fi
52652 done
52653
52654 fi
52655 fi
52656
52657
52658
52659
52660
52661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52662 $as_echo_n "checking for powl declaration... " >&6; }
52663 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52664 if ${glibcxx_cv_func_powl_use+:} false; then :
52665 $as_echo_n "(cached) " >&6
52666 else
52667
52668
52669 ac_ext=cpp
52670 ac_cpp='$CXXCPP $CPPFLAGS'
52671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52674
52675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52676 /* end confdefs.h. */
52677 #include <math.h>
52678 int
52679 main ()
52680 {
52681 powl(0, 0);
52682 ;
52683 return 0;
52684 }
52685 _ACEOF
52686 if ac_fn_cxx_try_compile "$LINENO"; then :
52687 glibcxx_cv_func_powl_use=yes
52688 else
52689 glibcxx_cv_func_powl_use=no
52690 fi
52691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52692 ac_ext=c
52693 ac_cpp='$CPP $CPPFLAGS'
52694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52697
52698
52699 fi
52700
52701 fi
52702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52703 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52704
52705 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52706 for ac_func in powl
52707 do :
52708 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52709 if test "x$ac_cv_func_powl" = xyes; then :
52710 cat >>confdefs.h <<_ACEOF
52711 #define HAVE_POWL 1
52712 _ACEOF
52713
52714 fi
52715 done
52716
52717 else
52718
52719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52720 $as_echo_n "checking for _powl declaration... " >&6; }
52721 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52722 if ${glibcxx_cv_func__powl_use+:} false; then :
52723 $as_echo_n "(cached) " >&6
52724 else
52725
52726
52727 ac_ext=cpp
52728 ac_cpp='$CXXCPP $CPPFLAGS'
52729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52732
52733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52734 /* end confdefs.h. */
52735 #include <math.h>
52736 int
52737 main ()
52738 {
52739 _powl(0, 0);
52740 ;
52741 return 0;
52742 }
52743 _ACEOF
52744 if ac_fn_cxx_try_compile "$LINENO"; then :
52745 glibcxx_cv_func__powl_use=yes
52746 else
52747 glibcxx_cv_func__powl_use=no
52748 fi
52749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52750 ac_ext=c
52751 ac_cpp='$CPP $CPPFLAGS'
52752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52755
52756
52757 fi
52758
52759 fi
52760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52761 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52762
52763 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52764 for ac_func in _powl
52765 do :
52766 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52767 if test "x$ac_cv_func__powl" = xyes; then :
52768 cat >>confdefs.h <<_ACEOF
52769 #define HAVE__POWL 1
52770 _ACEOF
52771
52772 fi
52773 done
52774
52775 fi
52776 fi
52777
52778
52779
52780
52781
52782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52783 $as_echo_n "checking for sqrtl declaration... " >&6; }
52784 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52785 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
52786 $as_echo_n "(cached) " >&6
52787 else
52788
52789
52790 ac_ext=cpp
52791 ac_cpp='$CXXCPP $CPPFLAGS'
52792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52795
52796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52797 /* end confdefs.h. */
52798 #include <math.h>
52799 #ifdef HAVE_IEEEFP_H
52800 #include <ieeefp.h>
52801 #endif
52802
52803 int
52804 main ()
52805 {
52806 sqrtl(0);
52807 ;
52808 return 0;
52809 }
52810 _ACEOF
52811 if ac_fn_cxx_try_compile "$LINENO"; then :
52812 glibcxx_cv_func_sqrtl_use=yes
52813 else
52814 glibcxx_cv_func_sqrtl_use=no
52815 fi
52816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52817 ac_ext=c
52818 ac_cpp='$CPP $CPPFLAGS'
52819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52822
52823
52824 fi
52825
52826 fi
52827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52828 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52829
52830 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52831 for ac_func in sqrtl
52832 do :
52833 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52834 if test "x$ac_cv_func_sqrtl" = xyes; then :
52835 cat >>confdefs.h <<_ACEOF
52836 #define HAVE_SQRTL 1
52837 _ACEOF
52838
52839 fi
52840 done
52841
52842 else
52843
52844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52845 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52846 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52847 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
52848 $as_echo_n "(cached) " >&6
52849 else
52850
52851
52852 ac_ext=cpp
52853 ac_cpp='$CXXCPP $CPPFLAGS'
52854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52857
52858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52859 /* end confdefs.h. */
52860 #include <math.h>
52861 #ifdef HAVE_IEEEFP_H
52862 #include <ieeefp.h>
52863 #endif
52864
52865 int
52866 main ()
52867 {
52868 _sqrtl(0);
52869 ;
52870 return 0;
52871 }
52872 _ACEOF
52873 if ac_fn_cxx_try_compile "$LINENO"; then :
52874 glibcxx_cv_func__sqrtl_use=yes
52875 else
52876 glibcxx_cv_func__sqrtl_use=no
52877 fi
52878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52879 ac_ext=c
52880 ac_cpp='$CPP $CPPFLAGS'
52881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52884
52885
52886 fi
52887
52888 fi
52889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52890 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52891
52892 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52893 for ac_func in _sqrtl
52894 do :
52895 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52896 if test "x$ac_cv_func__sqrtl" = xyes; then :
52897 cat >>confdefs.h <<_ACEOF
52898 #define HAVE__SQRTL 1
52899 _ACEOF
52900
52901 fi
52902 done
52903
52904 fi
52905 fi
52906
52907
52908
52909
52910
52911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52912 $as_echo_n "checking for sincosl declaration... " >&6; }
52913 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52914 if ${glibcxx_cv_func_sincosl_use+:} false; then :
52915 $as_echo_n "(cached) " >&6
52916 else
52917
52918
52919 ac_ext=cpp
52920 ac_cpp='$CXXCPP $CPPFLAGS'
52921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52924
52925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52926 /* end confdefs.h. */
52927 #include <math.h>
52928 int
52929 main ()
52930 {
52931 sincosl(0, 0, 0);
52932 ;
52933 return 0;
52934 }
52935 _ACEOF
52936 if ac_fn_cxx_try_compile "$LINENO"; then :
52937 glibcxx_cv_func_sincosl_use=yes
52938 else
52939 glibcxx_cv_func_sincosl_use=no
52940 fi
52941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52942 ac_ext=c
52943 ac_cpp='$CPP $CPPFLAGS'
52944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52947
52948
52949 fi
52950
52951 fi
52952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52953 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52954
52955 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52956 for ac_func in sincosl
52957 do :
52958 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52959 if test "x$ac_cv_func_sincosl" = xyes; then :
52960 cat >>confdefs.h <<_ACEOF
52961 #define HAVE_SINCOSL 1
52962 _ACEOF
52963
52964 fi
52965 done
52966
52967 else
52968
52969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52970 $as_echo_n "checking for _sincosl declaration... " >&6; }
52971 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52972 if ${glibcxx_cv_func__sincosl_use+:} false; then :
52973 $as_echo_n "(cached) " >&6
52974 else
52975
52976
52977 ac_ext=cpp
52978 ac_cpp='$CXXCPP $CPPFLAGS'
52979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52982
52983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52984 /* end confdefs.h. */
52985 #include <math.h>
52986 int
52987 main ()
52988 {
52989 _sincosl(0, 0, 0);
52990 ;
52991 return 0;
52992 }
52993 _ACEOF
52994 if ac_fn_cxx_try_compile "$LINENO"; then :
52995 glibcxx_cv_func__sincosl_use=yes
52996 else
52997 glibcxx_cv_func__sincosl_use=no
52998 fi
52999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53000 ac_ext=c
53001 ac_cpp='$CPP $CPPFLAGS'
53002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53005
53006
53007 fi
53008
53009 fi
53010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53011 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53012
53013 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53014 for ac_func in _sincosl
53015 do :
53016 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53017 if test "x$ac_cv_func__sincosl" = xyes; then :
53018 cat >>confdefs.h <<_ACEOF
53019 #define HAVE__SINCOSL 1
53020 _ACEOF
53021
53022 fi
53023 done
53024
53025 fi
53026 fi
53027
53028
53029
53030
53031
53032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53033 $as_echo_n "checking for finitel declaration... " >&6; }
53034 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53035 if ${glibcxx_cv_func_finitel_use+:} false; then :
53036 $as_echo_n "(cached) " >&6
53037 else
53038
53039
53040 ac_ext=cpp
53041 ac_cpp='$CXXCPP $CPPFLAGS'
53042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53045
53046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53047 /* end confdefs.h. */
53048 #include <math.h>
53049 #ifdef HAVE_IEEEFP_H
53050 #include <ieeefp.h>
53051 #endif
53052
53053 int
53054 main ()
53055 {
53056 finitel(0);
53057 ;
53058 return 0;
53059 }
53060 _ACEOF
53061 if ac_fn_cxx_try_compile "$LINENO"; then :
53062 glibcxx_cv_func_finitel_use=yes
53063 else
53064 glibcxx_cv_func_finitel_use=no
53065 fi
53066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53067 ac_ext=c
53068 ac_cpp='$CPP $CPPFLAGS'
53069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53072
53073
53074 fi
53075
53076 fi
53077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53078 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53079
53080 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53081 for ac_func in finitel
53082 do :
53083 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53084 if test "x$ac_cv_func_finitel" = xyes; then :
53085 cat >>confdefs.h <<_ACEOF
53086 #define HAVE_FINITEL 1
53087 _ACEOF
53088
53089 fi
53090 done
53091
53092 else
53093
53094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53095 $as_echo_n "checking for _finitel declaration... " >&6; }
53096 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53097 if ${glibcxx_cv_func__finitel_use+:} false; then :
53098 $as_echo_n "(cached) " >&6
53099 else
53100
53101
53102 ac_ext=cpp
53103 ac_cpp='$CXXCPP $CPPFLAGS'
53104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53107
53108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53109 /* end confdefs.h. */
53110 #include <math.h>
53111 #ifdef HAVE_IEEEFP_H
53112 #include <ieeefp.h>
53113 #endif
53114
53115 int
53116 main ()
53117 {
53118 _finitel(0);
53119 ;
53120 return 0;
53121 }
53122 _ACEOF
53123 if ac_fn_cxx_try_compile "$LINENO"; then :
53124 glibcxx_cv_func__finitel_use=yes
53125 else
53126 glibcxx_cv_func__finitel_use=no
53127 fi
53128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53129 ac_ext=c
53130 ac_cpp='$CPP $CPPFLAGS'
53131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53134
53135
53136 fi
53137
53138 fi
53139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53140 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53141
53142 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53143 for ac_func in _finitel
53144 do :
53145 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53146 if test "x$ac_cv_func__finitel" = xyes; then :
53147 cat >>confdefs.h <<_ACEOF
53148 #define HAVE__FINITEL 1
53149 _ACEOF
53150
53151 fi
53152 done
53153
53154 fi
53155 fi
53156
53157
53158
53159
53160 LIBS="$ac_save_LIBS"
53161 CXXFLAGS="$ac_save_CXXFLAGS"
53162
53163
53164 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53165 ac_save_CXXFLAGS="$CXXFLAGS"
53166 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53167
53168
53169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53170 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53171 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53172 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53173 $as_echo_n "(cached) " >&6
53174 else
53175
53176
53177 ac_ext=cpp
53178 ac_cpp='$CXXCPP $CPPFLAGS'
53179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53182
53183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53184 /* end confdefs.h. */
53185 #include <stdlib.h>
53186 int
53187 main ()
53188 {
53189 at_quick_exit(0);
53190 ;
53191 return 0;
53192 }
53193 _ACEOF
53194 if ac_fn_cxx_try_compile "$LINENO"; then :
53195 glibcxx_cv_func_at_quick_exit_use=yes
53196 else
53197 glibcxx_cv_func_at_quick_exit_use=no
53198 fi
53199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53200 ac_ext=c
53201 ac_cpp='$CPP $CPPFLAGS'
53202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53205
53206
53207 fi
53208
53209 fi
53210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53211 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53212 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53213 for ac_func in at_quick_exit
53214 do :
53215 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53216 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53217 cat >>confdefs.h <<_ACEOF
53218 #define HAVE_AT_QUICK_EXIT 1
53219 _ACEOF
53220
53221 fi
53222 done
53223
53224 fi
53225
53226
53227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53228 $as_echo_n "checking for quick_exit declaration... " >&6; }
53229 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53230 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53231 $as_echo_n "(cached) " >&6
53232 else
53233
53234
53235 ac_ext=cpp
53236 ac_cpp='$CXXCPP $CPPFLAGS'
53237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53240
53241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53242 /* end confdefs.h. */
53243 #include <stdlib.h>
53244 int
53245 main ()
53246 {
53247 quick_exit(0);
53248 ;
53249 return 0;
53250 }
53251 _ACEOF
53252 if ac_fn_cxx_try_compile "$LINENO"; then :
53253 glibcxx_cv_func_quick_exit_use=yes
53254 else
53255 glibcxx_cv_func_quick_exit_use=no
53256 fi
53257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53258 ac_ext=c
53259 ac_cpp='$CPP $CPPFLAGS'
53260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53263
53264
53265 fi
53266
53267 fi
53268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53269 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53270 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53271 for ac_func in quick_exit
53272 do :
53273 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53274 if test "x$ac_cv_func_quick_exit" = xyes; then :
53275 cat >>confdefs.h <<_ACEOF
53276 #define HAVE_QUICK_EXIT 1
53277 _ACEOF
53278
53279 fi
53280 done
53281
53282 fi
53283
53284
53285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53286 $as_echo_n "checking for strtold declaration... " >&6; }
53287 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53288 if ${glibcxx_cv_func_strtold_use+:} false; then :
53289 $as_echo_n "(cached) " >&6
53290 else
53291
53292
53293 ac_ext=cpp
53294 ac_cpp='$CXXCPP $CPPFLAGS'
53295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53298
53299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53300 /* end confdefs.h. */
53301 #include <stdlib.h>
53302 int
53303 main ()
53304 {
53305 strtold(0, 0);
53306 ;
53307 return 0;
53308 }
53309 _ACEOF
53310 if ac_fn_cxx_try_compile "$LINENO"; then :
53311 glibcxx_cv_func_strtold_use=yes
53312 else
53313 glibcxx_cv_func_strtold_use=no
53314 fi
53315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53316 ac_ext=c
53317 ac_cpp='$CPP $CPPFLAGS'
53318 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53319 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53320 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53321
53322
53323 fi
53324
53325 fi
53326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53327 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53328 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53329 for ac_func in strtold
53330 do :
53331 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53332 if test "x$ac_cv_func_strtold" = xyes; then :
53333 cat >>confdefs.h <<_ACEOF
53334 #define HAVE_STRTOLD 1
53335 _ACEOF
53336
53337 fi
53338 done
53339
53340 fi
53341
53342
53343
53344
53345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53346 $as_echo_n "checking for strtof declaration... " >&6; }
53347 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53348 if ${glibcxx_cv_func_strtof_use+:} false; then :
53349 $as_echo_n "(cached) " >&6
53350 else
53351
53352
53353 ac_ext=cpp
53354 ac_cpp='$CXXCPP $CPPFLAGS'
53355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53358
53359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53360 /* end confdefs.h. */
53361 #include <stdlib.h>
53362 int
53363 main ()
53364 {
53365 strtof(0, 0);
53366 ;
53367 return 0;
53368 }
53369 _ACEOF
53370 if ac_fn_cxx_try_compile "$LINENO"; then :
53371 glibcxx_cv_func_strtof_use=yes
53372 else
53373 glibcxx_cv_func_strtof_use=no
53374 fi
53375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53376 ac_ext=c
53377 ac_cpp='$CPP $CPPFLAGS'
53378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53381
53382
53383 fi
53384
53385 fi
53386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53387 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53388 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53389 for ac_func in strtof
53390 do :
53391 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53392 if test "x$ac_cv_func_strtof" = xyes; then :
53393 cat >>confdefs.h <<_ACEOF
53394 #define HAVE_STRTOF 1
53395 _ACEOF
53396
53397 fi
53398 done
53399
53400 fi
53401
53402
53403
53404
53405 CXXFLAGS="$ac_save_CXXFLAGS"
53406
53407 ;;
53408
53409 *djgpp)
53410 # GLIBCXX_CHECK_MATH_SUPPORT
53411 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53412
53413 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53414
53415 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53416
53417 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53418
53419 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53420
53421 ;;
53422
53423 *-freebsd*)
53424 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53425
53426
53427 # If we're not using GNU ld, then there's no point in even trying these
53428 # tests. Check for that first. We should have already tested for gld
53429 # by now (in libtool), but require it now just to be safe...
53430 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53431 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53432
53433
53434
53435 # The name set by libtool depends on the version of libtool. Shame on us
53436 # for depending on an impl detail, but c'est la vie. Older versions used
53437 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53438 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53439 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53440 # set (hence we're using an older libtool), then set it.
53441 if test x${with_gnu_ld+set} != xset; then
53442 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53443 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53444 with_gnu_ld=no
53445 else
53446 with_gnu_ld=$ac_cv_prog_gnu_ld
53447 fi
53448 fi
53449
53450 # Start by getting the version number. I think the libtool test already
53451 # does some of this, but throws away the result.
53452 glibcxx_ld_is_gold=no
53453 if test x"$with_gnu_ld" = x"yes"; then
53454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53455 $as_echo_n "checking for ld version... " >&6; }
53456
53457 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53458 glibcxx_ld_is_gold=yes
53459 fi
53460 ldver=`$LD --version 2>/dev/null |
53461 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'`
53462
53463 glibcxx_gnu_ld_version=`echo $ldver | \
53464 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53466 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53467 fi
53468
53469 # Set --gc-sections.
53470 glibcxx_have_gc_sections=no
53471 if test "$glibcxx_ld_is_gold" = "yes"; then
53472 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53473 glibcxx_have_gc_sections=yes
53474 fi
53475 else
53476 glibcxx_gcsections_min_ld=21602
53477 if test x"$with_gnu_ld" = x"yes" &&
53478 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53479 glibcxx_have_gc_sections=yes
53480 fi
53481 fi
53482 if test "$glibcxx_have_gc_sections" = "yes"; then
53483 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53484 # NB: This flag only works reliably after 2.16.1. Configure tests
53485 # for this are difficult, so hard wire a value that should work.
53486
53487 ac_test_CFLAGS="${CFLAGS+set}"
53488 ac_save_CFLAGS="$CFLAGS"
53489 CFLAGS='-Wl,--gc-sections'
53490
53491 # Check for -Wl,--gc-sections
53492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53493 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53494 if test x$gcc_no_link = xyes; then
53495 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53496 fi
53497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53498 /* end confdefs.h. */
53499 int one(void) { return 1; }
53500 int two(void) { return 2; }
53501
53502 int
53503 main ()
53504 {
53505 two();
53506 ;
53507 return 0;
53508 }
53509 _ACEOF
53510 if ac_fn_c_try_link "$LINENO"; then :
53511 ac_gcsections=yes
53512 else
53513 ac_gcsections=no
53514 fi
53515 rm -f core conftest.err conftest.$ac_objext \
53516 conftest$ac_exeext conftest.$ac_ext
53517 if test "$ac_gcsections" = "yes"; then
53518 rm -f conftest.c
53519 touch conftest.c
53520 if $CC -c conftest.c; then
53521 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53522 grep "Warning: gc-sections option ignored" > /dev/null; then
53523 ac_gcsections=no
53524 fi
53525 fi
53526 rm -f conftest.c conftest.o conftest
53527 fi
53528 if test "$ac_gcsections" = "yes"; then
53529 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53530 fi
53531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53532 $as_echo "$ac_gcsections" >&6; }
53533
53534 if test "$ac_test_CFLAGS" = set; then
53535 CFLAGS="$ac_save_CFLAGS"
53536 else
53537 # this is the suspicious part
53538 CFLAGS=''
53539 fi
53540 fi
53541
53542 # Set -z,relro.
53543 # Note this is only for shared objects.
53544 ac_ld_relro=no
53545 if test x"$with_gnu_ld" = x"yes"; then
53546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53547 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53548 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53549 if test -n "$cxx_z_relo"; then
53550 OPT_LDFLAGS="-Wl,-z,relro"
53551 ac_ld_relro=yes
53552 fi
53553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53554 $as_echo "$ac_ld_relro" >&6; }
53555 fi
53556
53557 # Set linker optimization flags.
53558 if test x"$with_gnu_ld" = x"yes"; then
53559 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53560 fi
53561
53562
53563
53564
53565 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53566
53567 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53568
53569 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53570
53571 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53572
53573 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53574
53575 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53576
53577 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53578
53579 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53580
53581 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53582
53583
53584 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53585
53586 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53587
53588 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53589
53590 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53591
53592 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53593
53594 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53595
53596 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53597
53598 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53599
53600 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53601
53602 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53603
53604 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53605
53606 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53607
53608 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53609
53610 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53611
53612 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53613
53614 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53615
53616 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53617
53618 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53619
53620 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53621
53622 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53623
53624 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53625
53626 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53627
53628 if test x"long_double_math_on_this_cpu" = x"yes"; then
53629 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53630
53631 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53632
53633 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53634
53635 fi
53636 for ac_func in __cxa_thread_atexit
53637 do :
53638 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53639 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
53640 cat >>confdefs.h <<_ACEOF
53641 #define HAVE___CXA_THREAD_ATEXIT 1
53642 _ACEOF
53643
53644 fi
53645 done
53646
53647 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53648 do :
53649 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53650 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53651 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53652 cat >>confdefs.h <<_ACEOF
53653 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53654 _ACEOF
53655
53656 fi
53657 done
53658
53659 for ac_func in timespec_get
53660 do :
53661 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
53662 if test "x$ac_cv_func_timespec_get" = xyes; then :
53663 cat >>confdefs.h <<_ACEOF
53664 #define HAVE_TIMESPEC_GET 1
53665 _ACEOF
53666
53667 fi
53668 done
53669
53670 for ac_func in sockatmark
53671 do :
53672 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
53673 if test "x$ac_cv_func_sockatmark" = xyes; then :
53674 cat >>confdefs.h <<_ACEOF
53675 #define HAVE_SOCKATMARK 1
53676 _ACEOF
53677
53678 fi
53679 done
53680
53681 ;;
53682
53683 *-fuchsia*)
53684 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53685
53686 ;;
53687
53688 *-hpux*)
53689 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53690
53691
53692 # If we're not using GNU ld, then there's no point in even trying these
53693 # tests. Check for that first. We should have already tested for gld
53694 # by now (in libtool), but require it now just to be safe...
53695 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53696 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53697
53698
53699
53700 # The name set by libtool depends on the version of libtool. Shame on us
53701 # for depending on an impl detail, but c'est la vie. Older versions used
53702 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53703 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53704 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53705 # set (hence we're using an older libtool), then set it.
53706 if test x${with_gnu_ld+set} != xset; then
53707 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53708 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53709 with_gnu_ld=no
53710 else
53711 with_gnu_ld=$ac_cv_prog_gnu_ld
53712 fi
53713 fi
53714
53715 # Start by getting the version number. I think the libtool test already
53716 # does some of this, but throws away the result.
53717 glibcxx_ld_is_gold=no
53718 if test x"$with_gnu_ld" = x"yes"; then
53719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53720 $as_echo_n "checking for ld version... " >&6; }
53721
53722 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53723 glibcxx_ld_is_gold=yes
53724 fi
53725 ldver=`$LD --version 2>/dev/null |
53726 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'`
53727
53728 glibcxx_gnu_ld_version=`echo $ldver | \
53729 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53731 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53732 fi
53733
53734 # Set --gc-sections.
53735 glibcxx_have_gc_sections=no
53736 if test "$glibcxx_ld_is_gold" = "yes"; then
53737 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53738 glibcxx_have_gc_sections=yes
53739 fi
53740 else
53741 glibcxx_gcsections_min_ld=21602
53742 if test x"$with_gnu_ld" = x"yes" &&
53743 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53744 glibcxx_have_gc_sections=yes
53745 fi
53746 fi
53747 if test "$glibcxx_have_gc_sections" = "yes"; then
53748 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53749 # NB: This flag only works reliably after 2.16.1. Configure tests
53750 # for this are difficult, so hard wire a value that should work.
53751
53752 ac_test_CFLAGS="${CFLAGS+set}"
53753 ac_save_CFLAGS="$CFLAGS"
53754 CFLAGS='-Wl,--gc-sections'
53755
53756 # Check for -Wl,--gc-sections
53757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53758 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53759 if test x$gcc_no_link = xyes; then
53760 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53761 fi
53762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53763 /* end confdefs.h. */
53764 int one(void) { return 1; }
53765 int two(void) { return 2; }
53766
53767 int
53768 main ()
53769 {
53770 two();
53771 ;
53772 return 0;
53773 }
53774 _ACEOF
53775 if ac_fn_c_try_link "$LINENO"; then :
53776 ac_gcsections=yes
53777 else
53778 ac_gcsections=no
53779 fi
53780 rm -f core conftest.err conftest.$ac_objext \
53781 conftest$ac_exeext conftest.$ac_ext
53782 if test "$ac_gcsections" = "yes"; then
53783 rm -f conftest.c
53784 touch conftest.c
53785 if $CC -c conftest.c; then
53786 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53787 grep "Warning: gc-sections option ignored" > /dev/null; then
53788 ac_gcsections=no
53789 fi
53790 fi
53791 rm -f conftest.c conftest.o conftest
53792 fi
53793 if test "$ac_gcsections" = "yes"; then
53794 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53795 fi
53796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53797 $as_echo "$ac_gcsections" >&6; }
53798
53799 if test "$ac_test_CFLAGS" = set; then
53800 CFLAGS="$ac_save_CFLAGS"
53801 else
53802 # this is the suspicious part
53803 CFLAGS=''
53804 fi
53805 fi
53806
53807 # Set -z,relro.
53808 # Note this is only for shared objects.
53809 ac_ld_relro=no
53810 if test x"$with_gnu_ld" = x"yes"; then
53811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53812 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53813 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53814 if test -n "$cxx_z_relo"; then
53815 OPT_LDFLAGS="-Wl,-z,relro"
53816 ac_ld_relro=yes
53817 fi
53818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53819 $as_echo "$ac_ld_relro" >&6; }
53820 fi
53821
53822 # Set linker optimization flags.
53823 if test x"$with_gnu_ld" = x"yes"; then
53824 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53825 fi
53826
53827
53828
53829
53830
53831 # GLIBCXX_CHECK_MATH_SUPPORT
53832 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53833
53834 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53835
53836 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53837
53838 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53839
53840 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53841
53842 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53843
53844 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53845
53846 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53847
53848 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53849
53850 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53851
53852 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53853
53854 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53855
53856 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53857
53858 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53859
53860 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53861
53862 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53863
53864 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53865
53866 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53867
53868 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53869
53870 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53871
53872 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53873
53874
53875 # GLIBCXX_CHECK_STDLIB_SUPPORT
53876 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53877
53878
53879
53880
53881 # Check whether --enable-tls was given.
53882 if test "${enable_tls+set}" = set; then :
53883 enableval=$enable_tls;
53884 case "$enableval" in
53885 yes|no) ;;
53886 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53887 esac
53888
53889 else
53890 enable_tls=yes
53891 fi
53892
53893
53894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53895 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53896 if ${gcc_cv_have_tls+:} false; then :
53897 $as_echo_n "(cached) " >&6
53898 else
53899
53900 if test "$cross_compiling" = yes; then :
53901 if test x$gcc_no_link = xyes; then
53902 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53903 fi
53904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53905 /* end confdefs.h. */
53906 __thread int a; int b; int main() { return a = b; }
53907 _ACEOF
53908 if ac_fn_c_try_link "$LINENO"; then :
53909 chktls_save_LDFLAGS="$LDFLAGS"
53910 case $host in
53911 *-*-linux*)
53912 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53913 ;;
53914 esac
53915 chktls_save_CFLAGS="$CFLAGS"
53916 CFLAGS="-fPIC $CFLAGS"
53917 if test x$gcc_no_link = xyes; then
53918 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53919 fi
53920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53921 /* end confdefs.h. */
53922 int f() { return 0; }
53923 _ACEOF
53924 if ac_fn_c_try_link "$LINENO"; then :
53925 if test x$gcc_no_link = xyes; then
53926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53927 fi
53928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53929 /* end confdefs.h. */
53930 __thread int a; int b; int f() { return a = b; }
53931 _ACEOF
53932 if ac_fn_c_try_link "$LINENO"; then :
53933 gcc_cv_have_tls=yes
53934 else
53935 gcc_cv_have_tls=no
53936 fi
53937 rm -f core conftest.err conftest.$ac_objext \
53938 conftest$ac_exeext conftest.$ac_ext
53939 else
53940 gcc_cv_have_tls=yes
53941 fi
53942 rm -f core conftest.err conftest.$ac_objext \
53943 conftest$ac_exeext conftest.$ac_ext
53944 CFLAGS="$chktls_save_CFLAGS"
53945 LDFLAGS="$chktls_save_LDFLAGS"
53946 else
53947 gcc_cv_have_tls=no
53948 fi
53949 rm -f core conftest.err conftest.$ac_objext \
53950 conftest$ac_exeext conftest.$ac_ext
53951
53952
53953 else
53954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53955 /* end confdefs.h. */
53956 __thread int a; int b; int main() { return a = b; }
53957 _ACEOF
53958 if ac_fn_c_try_run "$LINENO"; then :
53959 chktls_save_LDFLAGS="$LDFLAGS"
53960 LDFLAGS="-static $LDFLAGS"
53961 if test x$gcc_no_link = xyes; then
53962 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53963 fi
53964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53965 /* end confdefs.h. */
53966 int main() { return 0; }
53967 _ACEOF
53968 if ac_fn_c_try_link "$LINENO"; then :
53969 if test "$cross_compiling" = yes; then :
53970 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53971 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53972 as_fn_error $? "cannot run test program while cross compiling
53973 See \`config.log' for more details" "$LINENO" 5; }
53974 else
53975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53976 /* end confdefs.h. */
53977 __thread int a; int b; int main() { return a = b; }
53978 _ACEOF
53979 if ac_fn_c_try_run "$LINENO"; then :
53980 gcc_cv_have_tls=yes
53981 else
53982 gcc_cv_have_tls=no
53983 fi
53984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53985 conftest.$ac_objext conftest.beam conftest.$ac_ext
53986 fi
53987
53988 else
53989 gcc_cv_have_tls=yes
53990 fi
53991 rm -f core conftest.err conftest.$ac_objext \
53992 conftest$ac_exeext conftest.$ac_ext
53993 LDFLAGS="$chktls_save_LDFLAGS"
53994 if test $gcc_cv_have_tls = yes; then
53995 chktls_save_CFLAGS="$CFLAGS"
53996 thread_CFLAGS=failed
53997 for flag in '' '-pthread' '-lpthread'; do
53998 CFLAGS="$flag $chktls_save_CFLAGS"
53999 if test x$gcc_no_link = xyes; then
54000 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54001 fi
54002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54003 /* end confdefs.h. */
54004 #include <pthread.h>
54005 void *g(void *d) { return NULL; }
54006 int
54007 main ()
54008 {
54009 pthread_t t; pthread_create(&t,NULL,g,NULL);
54010 ;
54011 return 0;
54012 }
54013 _ACEOF
54014 if ac_fn_c_try_link "$LINENO"; then :
54015 thread_CFLAGS="$flag"
54016 fi
54017 rm -f core conftest.err conftest.$ac_objext \
54018 conftest$ac_exeext conftest.$ac_ext
54019 if test "X$thread_CFLAGS" != Xfailed; then
54020 break
54021 fi
54022 done
54023 CFLAGS="$chktls_save_CFLAGS"
54024 if test "X$thread_CFLAGS" != Xfailed; then
54025 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54026 if test "$cross_compiling" = yes; then :
54027 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54028 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54029 as_fn_error $? "cannot run test program while cross compiling
54030 See \`config.log' for more details" "$LINENO" 5; }
54031 else
54032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54033 /* end confdefs.h. */
54034 #include <pthread.h>
54035 __thread int a;
54036 static int *volatile a_in_other_thread;
54037 static void *
54038 thread_func (void *arg)
54039 {
54040 a_in_other_thread = &a;
54041 return (void *)0;
54042 }
54043 int
54044 main ()
54045 {
54046 pthread_t thread;
54047 void *thread_retval;
54048 int *volatile a_in_main_thread;
54049 a_in_main_thread = &a;
54050 if (pthread_create (&thread, (pthread_attr_t *)0,
54051 thread_func, (void *)0))
54052 return 0;
54053 if (pthread_join (thread, &thread_retval))
54054 return 0;
54055 return (a_in_other_thread == a_in_main_thread);
54056 ;
54057 return 0;
54058 }
54059 _ACEOF
54060 if ac_fn_c_try_run "$LINENO"; then :
54061 gcc_cv_have_tls=yes
54062 else
54063 gcc_cv_have_tls=no
54064 fi
54065 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54066 conftest.$ac_objext conftest.beam conftest.$ac_ext
54067 fi
54068
54069 CFLAGS="$chktls_save_CFLAGS"
54070 fi
54071 fi
54072 else
54073 gcc_cv_have_tls=no
54074 fi
54075 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54076 conftest.$ac_objext conftest.beam conftest.$ac_ext
54077 fi
54078
54079 fi
54080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54081 $as_echo "$gcc_cv_have_tls" >&6; }
54082 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54083
54084 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54085
54086 fi
54087 case "$target" in
54088 *-hpux10*)
54089 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
54090
54091 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
54092
54093 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
54094
54095 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
54096
54097 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
54098
54099 ;;
54100 esac
54101 ;;
54102 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
54103
54104 # All these tests are for C++; save the language and the compiler flags.
54105 # The CXXFLAGS thing is suspicious, but based on similar bits previously
54106 # found in GLIBCXX_CONFIGURE.
54107
54108 ac_ext=cpp
54109 ac_cpp='$CXXCPP $CPPFLAGS'
54110 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54111 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54112 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54113
54114 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54115 ac_save_CXXFLAGS="$CXXFLAGS"
54116
54117 # Check for -ffunction-sections -fdata-sections
54118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
54119 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
54120 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
54121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54122 /* end confdefs.h. */
54123 int foo; void bar() { };
54124 int
54125 main ()
54126 {
54127
54128 ;
54129 return 0;
54130 }
54131 _ACEOF
54132 if ac_fn_cxx_try_compile "$LINENO"; then :
54133 ac_fdsections=yes
54134 else
54135 ac_fdsections=no
54136 fi
54137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54138 if test "$ac_test_CXXFLAGS" = set; then
54139 CXXFLAGS="$ac_save_CXXFLAGS"
54140 else
54141 # this is the suspicious part
54142 CXXFLAGS=''
54143 fi
54144 if test x"$ac_fdsections" = x"yes"; then
54145 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54146 fi
54147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
54148 $as_echo "$ac_fdsections" >&6; }
54149
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
54158
54159 # If we're not using GNU ld, then there's no point in even trying these
54160 # tests. Check for that first. We should have already tested for gld
54161 # by now (in libtool), but require it now just to be safe...
54162 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54163 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54164
54165
54166
54167 # The name set by libtool depends on the version of libtool. Shame on us
54168 # for depending on an impl detail, but c'est la vie. Older versions used
54169 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54170 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54171 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54172 # set (hence we're using an older libtool), then set it.
54173 if test x${with_gnu_ld+set} != xset; then
54174 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54175 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54176 with_gnu_ld=no
54177 else
54178 with_gnu_ld=$ac_cv_prog_gnu_ld
54179 fi
54180 fi
54181
54182 # Start by getting the version number. I think the libtool test already
54183 # does some of this, but throws away the result.
54184 glibcxx_ld_is_gold=no
54185 if test x"$with_gnu_ld" = x"yes"; then
54186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54187 $as_echo_n "checking for ld version... " >&6; }
54188
54189 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54190 glibcxx_ld_is_gold=yes
54191 fi
54192 ldver=`$LD --version 2>/dev/null |
54193 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'`
54194
54195 glibcxx_gnu_ld_version=`echo $ldver | \
54196 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54198 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54199 fi
54200
54201 # Set --gc-sections.
54202 glibcxx_have_gc_sections=no
54203 if test "$glibcxx_ld_is_gold" = "yes"; then
54204 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54205 glibcxx_have_gc_sections=yes
54206 fi
54207 else
54208 glibcxx_gcsections_min_ld=21602
54209 if test x"$with_gnu_ld" = x"yes" &&
54210 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54211 glibcxx_have_gc_sections=yes
54212 fi
54213 fi
54214 if test "$glibcxx_have_gc_sections" = "yes"; then
54215 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54216 # NB: This flag only works reliably after 2.16.1. Configure tests
54217 # for this are difficult, so hard wire a value that should work.
54218
54219 ac_test_CFLAGS="${CFLAGS+set}"
54220 ac_save_CFLAGS="$CFLAGS"
54221 CFLAGS='-Wl,--gc-sections'
54222
54223 # Check for -Wl,--gc-sections
54224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54225 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54226 if test x$gcc_no_link = xyes; then
54227 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54228 fi
54229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54230 /* end confdefs.h. */
54231 int one(void) { return 1; }
54232 int two(void) { return 2; }
54233
54234 int
54235 main ()
54236 {
54237 two();
54238 ;
54239 return 0;
54240 }
54241 _ACEOF
54242 if ac_fn_c_try_link "$LINENO"; then :
54243 ac_gcsections=yes
54244 else
54245 ac_gcsections=no
54246 fi
54247 rm -f core conftest.err conftest.$ac_objext \
54248 conftest$ac_exeext conftest.$ac_ext
54249 if test "$ac_gcsections" = "yes"; then
54250 rm -f conftest.c
54251 touch conftest.c
54252 if $CC -c conftest.c; then
54253 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54254 grep "Warning: gc-sections option ignored" > /dev/null; then
54255 ac_gcsections=no
54256 fi
54257 fi
54258 rm -f conftest.c conftest.o conftest
54259 fi
54260 if test "$ac_gcsections" = "yes"; then
54261 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54262 fi
54263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54264 $as_echo "$ac_gcsections" >&6; }
54265
54266 if test "$ac_test_CFLAGS" = set; then
54267 CFLAGS="$ac_save_CFLAGS"
54268 else
54269 # this is the suspicious part
54270 CFLAGS=''
54271 fi
54272 fi
54273
54274 # Set -z,relro.
54275 # Note this is only for shared objects.
54276 ac_ld_relro=no
54277 if test x"$with_gnu_ld" = x"yes"; then
54278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54279 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54280 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54281 if test -n "$cxx_z_relo"; then
54282 OPT_LDFLAGS="-Wl,-z,relro"
54283 ac_ld_relro=yes
54284 fi
54285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54286 $as_echo "$ac_ld_relro" >&6; }
54287 fi
54288
54289 # Set linker optimization flags.
54290 if test x"$with_gnu_ld" = x"yes"; then
54291 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54292 fi
54293
54294
54295
54296
54297
54298 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54299 ac_save_CXXFLAGS="$CXXFLAGS"
54300 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54301
54302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54303 $as_echo_n "checking for sin in -lm... " >&6; }
54304 if ${ac_cv_lib_m_sin+:} false; then :
54305 $as_echo_n "(cached) " >&6
54306 else
54307 ac_check_lib_save_LIBS=$LIBS
54308 LIBS="-lm $LIBS"
54309 if test x$gcc_no_link = xyes; then
54310 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54311 fi
54312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54313 /* end confdefs.h. */
54314
54315 /* Override any GCC internal prototype to avoid an error.
54316 Use char because int might match the return type of a GCC
54317 builtin and then its argument prototype would still apply. */
54318 #ifdef __cplusplus
54319 extern "C"
54320 #endif
54321 char sin ();
54322 int
54323 main ()
54324 {
54325 return sin ();
54326 ;
54327 return 0;
54328 }
54329 _ACEOF
54330 if ac_fn_c_try_link "$LINENO"; then :
54331 ac_cv_lib_m_sin=yes
54332 else
54333 ac_cv_lib_m_sin=no
54334 fi
54335 rm -f core conftest.err conftest.$ac_objext \
54336 conftest$ac_exeext conftest.$ac_ext
54337 LIBS=$ac_check_lib_save_LIBS
54338 fi
54339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54340 $as_echo "$ac_cv_lib_m_sin" >&6; }
54341 if test "x$ac_cv_lib_m_sin" = xyes; then :
54342 libm="-lm"
54343 fi
54344
54345 ac_save_LIBS="$LIBS"
54346 LIBS="$LIBS $libm"
54347
54348
54349
54350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54351 $as_echo_n "checking for isinf declaration... " >&6; }
54352 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54353 if ${glibcxx_cv_func_isinf_use+:} false; then :
54354 $as_echo_n "(cached) " >&6
54355 else
54356
54357
54358 ac_ext=cpp
54359 ac_cpp='$CXXCPP $CPPFLAGS'
54360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54363
54364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54365 /* end confdefs.h. */
54366 #include <math.h>
54367 #ifdef HAVE_IEEEFP_H
54368 #include <ieeefp.h>
54369 #endif
54370
54371 int
54372 main ()
54373 {
54374 isinf(0);
54375 ;
54376 return 0;
54377 }
54378 _ACEOF
54379 if ac_fn_cxx_try_compile "$LINENO"; then :
54380 glibcxx_cv_func_isinf_use=yes
54381 else
54382 glibcxx_cv_func_isinf_use=no
54383 fi
54384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54385 ac_ext=c
54386 ac_cpp='$CPP $CPPFLAGS'
54387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54390
54391
54392 fi
54393
54394 fi
54395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54396 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54397
54398 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54399 for ac_func in isinf
54400 do :
54401 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54402 if test "x$ac_cv_func_isinf" = xyes; then :
54403 cat >>confdefs.h <<_ACEOF
54404 #define HAVE_ISINF 1
54405 _ACEOF
54406
54407 fi
54408 done
54409
54410 else
54411
54412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54413 $as_echo_n "checking for _isinf declaration... " >&6; }
54414 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54415 if ${glibcxx_cv_func__isinf_use+:} false; then :
54416 $as_echo_n "(cached) " >&6
54417 else
54418
54419
54420 ac_ext=cpp
54421 ac_cpp='$CXXCPP $CPPFLAGS'
54422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54425
54426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54427 /* end confdefs.h. */
54428 #include <math.h>
54429 #ifdef HAVE_IEEEFP_H
54430 #include <ieeefp.h>
54431 #endif
54432
54433 int
54434 main ()
54435 {
54436 _isinf(0);
54437 ;
54438 return 0;
54439 }
54440 _ACEOF
54441 if ac_fn_cxx_try_compile "$LINENO"; then :
54442 glibcxx_cv_func__isinf_use=yes
54443 else
54444 glibcxx_cv_func__isinf_use=no
54445 fi
54446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54447 ac_ext=c
54448 ac_cpp='$CPP $CPPFLAGS'
54449 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54450 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54451 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54452
54453
54454 fi
54455
54456 fi
54457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54458 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54459
54460 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54461 for ac_func in _isinf
54462 do :
54463 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54464 if test "x$ac_cv_func__isinf" = xyes; then :
54465 cat >>confdefs.h <<_ACEOF
54466 #define HAVE__ISINF 1
54467 _ACEOF
54468
54469 fi
54470 done
54471
54472 fi
54473 fi
54474
54475
54476
54477
54478
54479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54480 $as_echo_n "checking for isnan declaration... " >&6; }
54481 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54482 if ${glibcxx_cv_func_isnan_use+:} false; then :
54483 $as_echo_n "(cached) " >&6
54484 else
54485
54486
54487 ac_ext=cpp
54488 ac_cpp='$CXXCPP $CPPFLAGS'
54489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54492
54493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54494 /* end confdefs.h. */
54495 #include <math.h>
54496 #ifdef HAVE_IEEEFP_H
54497 #include <ieeefp.h>
54498 #endif
54499
54500 int
54501 main ()
54502 {
54503 isnan(0);
54504 ;
54505 return 0;
54506 }
54507 _ACEOF
54508 if ac_fn_cxx_try_compile "$LINENO"; then :
54509 glibcxx_cv_func_isnan_use=yes
54510 else
54511 glibcxx_cv_func_isnan_use=no
54512 fi
54513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54514 ac_ext=c
54515 ac_cpp='$CPP $CPPFLAGS'
54516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54519
54520
54521 fi
54522
54523 fi
54524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54525 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54526
54527 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54528 for ac_func in isnan
54529 do :
54530 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54531 if test "x$ac_cv_func_isnan" = xyes; then :
54532 cat >>confdefs.h <<_ACEOF
54533 #define HAVE_ISNAN 1
54534 _ACEOF
54535
54536 fi
54537 done
54538
54539 else
54540
54541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54542 $as_echo_n "checking for _isnan declaration... " >&6; }
54543 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54544 if ${glibcxx_cv_func__isnan_use+:} false; then :
54545 $as_echo_n "(cached) " >&6
54546 else
54547
54548
54549 ac_ext=cpp
54550 ac_cpp='$CXXCPP $CPPFLAGS'
54551 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54552 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54553 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54554
54555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54556 /* end confdefs.h. */
54557 #include <math.h>
54558 #ifdef HAVE_IEEEFP_H
54559 #include <ieeefp.h>
54560 #endif
54561
54562 int
54563 main ()
54564 {
54565 _isnan(0);
54566 ;
54567 return 0;
54568 }
54569 _ACEOF
54570 if ac_fn_cxx_try_compile "$LINENO"; then :
54571 glibcxx_cv_func__isnan_use=yes
54572 else
54573 glibcxx_cv_func__isnan_use=no
54574 fi
54575 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54576 ac_ext=c
54577 ac_cpp='$CPP $CPPFLAGS'
54578 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54579 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54580 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54581
54582
54583 fi
54584
54585 fi
54586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54587 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54588
54589 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54590 for ac_func in _isnan
54591 do :
54592 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54593 if test "x$ac_cv_func__isnan" = xyes; then :
54594 cat >>confdefs.h <<_ACEOF
54595 #define HAVE__ISNAN 1
54596 _ACEOF
54597
54598 fi
54599 done
54600
54601 fi
54602 fi
54603
54604
54605
54606
54607
54608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54609 $as_echo_n "checking for finite declaration... " >&6; }
54610 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54611 if ${glibcxx_cv_func_finite_use+:} false; then :
54612 $as_echo_n "(cached) " >&6
54613 else
54614
54615
54616 ac_ext=cpp
54617 ac_cpp='$CXXCPP $CPPFLAGS'
54618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54621
54622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54623 /* end confdefs.h. */
54624 #include <math.h>
54625 #ifdef HAVE_IEEEFP_H
54626 #include <ieeefp.h>
54627 #endif
54628
54629 int
54630 main ()
54631 {
54632 finite(0);
54633 ;
54634 return 0;
54635 }
54636 _ACEOF
54637 if ac_fn_cxx_try_compile "$LINENO"; then :
54638 glibcxx_cv_func_finite_use=yes
54639 else
54640 glibcxx_cv_func_finite_use=no
54641 fi
54642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54643 ac_ext=c
54644 ac_cpp='$CPP $CPPFLAGS'
54645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54648
54649
54650 fi
54651
54652 fi
54653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54654 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54655
54656 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54657 for ac_func in finite
54658 do :
54659 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54660 if test "x$ac_cv_func_finite" = xyes; then :
54661 cat >>confdefs.h <<_ACEOF
54662 #define HAVE_FINITE 1
54663 _ACEOF
54664
54665 fi
54666 done
54667
54668 else
54669
54670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54671 $as_echo_n "checking for _finite declaration... " >&6; }
54672 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54673 if ${glibcxx_cv_func__finite_use+:} false; then :
54674 $as_echo_n "(cached) " >&6
54675 else
54676
54677
54678 ac_ext=cpp
54679 ac_cpp='$CXXCPP $CPPFLAGS'
54680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54683
54684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54685 /* end confdefs.h. */
54686 #include <math.h>
54687 #ifdef HAVE_IEEEFP_H
54688 #include <ieeefp.h>
54689 #endif
54690
54691 int
54692 main ()
54693 {
54694 _finite(0);
54695 ;
54696 return 0;
54697 }
54698 _ACEOF
54699 if ac_fn_cxx_try_compile "$LINENO"; then :
54700 glibcxx_cv_func__finite_use=yes
54701 else
54702 glibcxx_cv_func__finite_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__finite_use" >&5
54716 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54717
54718 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54719 for ac_func in _finite
54720 do :
54721 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54722 if test "x$ac_cv_func__finite" = xyes; then :
54723 cat >>confdefs.h <<_ACEOF
54724 #define HAVE__FINITE 1
54725 _ACEOF
54726
54727 fi
54728 done
54729
54730 fi
54731 fi
54732
54733
54734
54735
54736
54737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54738 $as_echo_n "checking for sincos declaration... " >&6; }
54739 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54740 if ${glibcxx_cv_func_sincos_use+:} false; then :
54741 $as_echo_n "(cached) " >&6
54742 else
54743
54744
54745 ac_ext=cpp
54746 ac_cpp='$CXXCPP $CPPFLAGS'
54747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54750
54751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54752 /* end confdefs.h. */
54753 #include <math.h>
54754 int
54755 main ()
54756 {
54757 sincos(0, 0, 0);
54758 ;
54759 return 0;
54760 }
54761 _ACEOF
54762 if ac_fn_cxx_try_compile "$LINENO"; then :
54763 glibcxx_cv_func_sincos_use=yes
54764 else
54765 glibcxx_cv_func_sincos_use=no
54766 fi
54767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54768 ac_ext=c
54769 ac_cpp='$CPP $CPPFLAGS'
54770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54773
54774
54775 fi
54776
54777 fi
54778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54779 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54780
54781 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54782 for ac_func in sincos
54783 do :
54784 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54785 if test "x$ac_cv_func_sincos" = xyes; then :
54786 cat >>confdefs.h <<_ACEOF
54787 #define HAVE_SINCOS 1
54788 _ACEOF
54789
54790 fi
54791 done
54792
54793 else
54794
54795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54796 $as_echo_n "checking for _sincos declaration... " >&6; }
54797 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54798 if ${glibcxx_cv_func__sincos_use+:} false; 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 int
54813 main ()
54814 {
54815 _sincos(0, 0, 0);
54816 ;
54817 return 0;
54818 }
54819 _ACEOF
54820 if ac_fn_cxx_try_compile "$LINENO"; then :
54821 glibcxx_cv_func__sincos_use=yes
54822 else
54823 glibcxx_cv_func__sincos_use=no
54824 fi
54825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54826 ac_ext=c
54827 ac_cpp='$CPP $CPPFLAGS'
54828 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54829 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54830 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54831
54832
54833 fi
54834
54835 fi
54836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54837 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54838
54839 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54840 for ac_func in _sincos
54841 do :
54842 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54843 if test "x$ac_cv_func__sincos" = xyes; then :
54844 cat >>confdefs.h <<_ACEOF
54845 #define HAVE__SINCOS 1
54846 _ACEOF
54847
54848 fi
54849 done
54850
54851 fi
54852 fi
54853
54854
54855
54856
54857
54858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54859 $as_echo_n "checking for fpclass declaration... " >&6; }
54860 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54861 if ${glibcxx_cv_func_fpclass_use+:} false; then :
54862 $as_echo_n "(cached) " >&6
54863 else
54864
54865
54866 ac_ext=cpp
54867 ac_cpp='$CXXCPP $CPPFLAGS'
54868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54871
54872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54873 /* end confdefs.h. */
54874 #include <math.h>
54875 #ifdef HAVE_IEEEFP_H
54876 #include <ieeefp.h>
54877 #endif
54878
54879 int
54880 main ()
54881 {
54882 fpclass(0);
54883 ;
54884 return 0;
54885 }
54886 _ACEOF
54887 if ac_fn_cxx_try_compile "$LINENO"; then :
54888 glibcxx_cv_func_fpclass_use=yes
54889 else
54890 glibcxx_cv_func_fpclass_use=no
54891 fi
54892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54893 ac_ext=c
54894 ac_cpp='$CPP $CPPFLAGS'
54895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54898
54899
54900 fi
54901
54902 fi
54903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54904 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54905
54906 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54907 for ac_func in fpclass
54908 do :
54909 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54910 if test "x$ac_cv_func_fpclass" = xyes; then :
54911 cat >>confdefs.h <<_ACEOF
54912 #define HAVE_FPCLASS 1
54913 _ACEOF
54914
54915 fi
54916 done
54917
54918 else
54919
54920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54921 $as_echo_n "checking for _fpclass declaration... " >&6; }
54922 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54923 if ${glibcxx_cv_func__fpclass_use+:} false; then :
54924 $as_echo_n "(cached) " >&6
54925 else
54926
54927
54928 ac_ext=cpp
54929 ac_cpp='$CXXCPP $CPPFLAGS'
54930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54933
54934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54935 /* end confdefs.h. */
54936 #include <math.h>
54937 #ifdef HAVE_IEEEFP_H
54938 #include <ieeefp.h>
54939 #endif
54940
54941 int
54942 main ()
54943 {
54944 _fpclass(0);
54945 ;
54946 return 0;
54947 }
54948 _ACEOF
54949 if ac_fn_cxx_try_compile "$LINENO"; then :
54950 glibcxx_cv_func__fpclass_use=yes
54951 else
54952 glibcxx_cv_func__fpclass_use=no
54953 fi
54954 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54955 ac_ext=c
54956 ac_cpp='$CPP $CPPFLAGS'
54957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54960
54961
54962 fi
54963
54964 fi
54965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54966 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54967
54968 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54969 for ac_func in _fpclass
54970 do :
54971 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54972 if test "x$ac_cv_func__fpclass" = xyes; then :
54973 cat >>confdefs.h <<_ACEOF
54974 #define HAVE__FPCLASS 1
54975 _ACEOF
54976
54977 fi
54978 done
54979
54980 fi
54981 fi
54982
54983
54984
54985
54986
54987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54988 $as_echo_n "checking for qfpclass declaration... " >&6; }
54989 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54990 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
54991 $as_echo_n "(cached) " >&6
54992 else
54993
54994
54995 ac_ext=cpp
54996 ac_cpp='$CXXCPP $CPPFLAGS'
54997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55000
55001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55002 /* end confdefs.h. */
55003 #include <math.h>
55004 #ifdef HAVE_IEEEFP_H
55005 #include <ieeefp.h>
55006 #endif
55007
55008 int
55009 main ()
55010 {
55011 qfpclass(0);
55012 ;
55013 return 0;
55014 }
55015 _ACEOF
55016 if ac_fn_cxx_try_compile "$LINENO"; then :
55017 glibcxx_cv_func_qfpclass_use=yes
55018 else
55019 glibcxx_cv_func_qfpclass_use=no
55020 fi
55021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55022 ac_ext=c
55023 ac_cpp='$CPP $CPPFLAGS'
55024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55027
55028
55029 fi
55030
55031 fi
55032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55033 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55034
55035 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55036 for ac_func in qfpclass
55037 do :
55038 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55039 if test "x$ac_cv_func_qfpclass" = xyes; then :
55040 cat >>confdefs.h <<_ACEOF
55041 #define HAVE_QFPCLASS 1
55042 _ACEOF
55043
55044 fi
55045 done
55046
55047 else
55048
55049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55050 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55051 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55052 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55053 $as_echo_n "(cached) " >&6
55054 else
55055
55056
55057 ac_ext=cpp
55058 ac_cpp='$CXXCPP $CPPFLAGS'
55059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55062
55063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55064 /* end confdefs.h. */
55065 #include <math.h>
55066 #ifdef HAVE_IEEEFP_H
55067 #include <ieeefp.h>
55068 #endif
55069
55070 int
55071 main ()
55072 {
55073 _qfpclass(0);
55074 ;
55075 return 0;
55076 }
55077 _ACEOF
55078 if ac_fn_cxx_try_compile "$LINENO"; then :
55079 glibcxx_cv_func__qfpclass_use=yes
55080 else
55081 glibcxx_cv_func__qfpclass_use=no
55082 fi
55083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55084 ac_ext=c
55085 ac_cpp='$CPP $CPPFLAGS'
55086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55089
55090
55091 fi
55092
55093 fi
55094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55095 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55096
55097 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55098 for ac_func in _qfpclass
55099 do :
55100 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55101 if test "x$ac_cv_func__qfpclass" = xyes; then :
55102 cat >>confdefs.h <<_ACEOF
55103 #define HAVE__QFPCLASS 1
55104 _ACEOF
55105
55106 fi
55107 done
55108
55109 fi
55110 fi
55111
55112
55113
55114
55115
55116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55117 $as_echo_n "checking for hypot declaration... " >&6; }
55118 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55119 if ${glibcxx_cv_func_hypot_use+:} false; then :
55120 $as_echo_n "(cached) " >&6
55121 else
55122
55123
55124 ac_ext=cpp
55125 ac_cpp='$CXXCPP $CPPFLAGS'
55126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55129
55130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55131 /* end confdefs.h. */
55132 #include <math.h>
55133 int
55134 main ()
55135 {
55136 hypot(0, 0);
55137 ;
55138 return 0;
55139 }
55140 _ACEOF
55141 if ac_fn_cxx_try_compile "$LINENO"; then :
55142 glibcxx_cv_func_hypot_use=yes
55143 else
55144 glibcxx_cv_func_hypot_use=no
55145 fi
55146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55147 ac_ext=c
55148 ac_cpp='$CPP $CPPFLAGS'
55149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55152
55153
55154 fi
55155
55156 fi
55157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55158 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55159
55160 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55161 for ac_func in hypot
55162 do :
55163 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55164 if test "x$ac_cv_func_hypot" = xyes; then :
55165 cat >>confdefs.h <<_ACEOF
55166 #define HAVE_HYPOT 1
55167 _ACEOF
55168
55169 fi
55170 done
55171
55172 else
55173
55174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55175 $as_echo_n "checking for _hypot declaration... " >&6; }
55176 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55177 if ${glibcxx_cv_func__hypot_use+:} false; then :
55178 $as_echo_n "(cached) " >&6
55179 else
55180
55181
55182 ac_ext=cpp
55183 ac_cpp='$CXXCPP $CPPFLAGS'
55184 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55185 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55186 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55187
55188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55189 /* end confdefs.h. */
55190 #include <math.h>
55191 int
55192 main ()
55193 {
55194 _hypot(0, 0);
55195 ;
55196 return 0;
55197 }
55198 _ACEOF
55199 if ac_fn_cxx_try_compile "$LINENO"; then :
55200 glibcxx_cv_func__hypot_use=yes
55201 else
55202 glibcxx_cv_func__hypot_use=no
55203 fi
55204 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55205 ac_ext=c
55206 ac_cpp='$CPP $CPPFLAGS'
55207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55210
55211
55212 fi
55213
55214 fi
55215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55216 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55217
55218 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55219 for ac_func in _hypot
55220 do :
55221 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55222 if test "x$ac_cv_func__hypot" = xyes; then :
55223 cat >>confdefs.h <<_ACEOF
55224 #define HAVE__HYPOT 1
55225 _ACEOF
55226
55227 fi
55228 done
55229
55230 fi
55231 fi
55232
55233
55234
55235
55236
55237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55238 $as_echo_n "checking for float trig functions... " >&6; }
55239 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55240 $as_echo_n "(cached) " >&6
55241 else
55242
55243
55244 ac_ext=cpp
55245 ac_cpp='$CXXCPP $CPPFLAGS'
55246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55249
55250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55251 /* end confdefs.h. */
55252 #include <math.h>
55253 int
55254 main ()
55255 {
55256 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55257 ;
55258 return 0;
55259 }
55260 _ACEOF
55261 if ac_fn_cxx_try_compile "$LINENO"; then :
55262 glibcxx_cv_func_float_trig_use=yes
55263 else
55264 glibcxx_cv_func_float_trig_use=no
55265 fi
55266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55267 ac_ext=c
55268 ac_cpp='$CPP $CPPFLAGS'
55269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55272
55273 fi
55274
55275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55276 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55277 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55278 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55279 do :
55280 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55281 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55282 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55283 cat >>confdefs.h <<_ACEOF
55284 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55285 _ACEOF
55286
55287 fi
55288 done
55289
55290 else
55291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55292 $as_echo_n "checking for _float trig functions... " >&6; }
55293 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55294 $as_echo_n "(cached) " >&6
55295 else
55296
55297
55298 ac_ext=cpp
55299 ac_cpp='$CXXCPP $CPPFLAGS'
55300 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55301 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55302 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55303
55304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55305 /* end confdefs.h. */
55306 #include <math.h>
55307 int
55308 main ()
55309 {
55310 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55311 ;
55312 return 0;
55313 }
55314 _ACEOF
55315 if ac_fn_cxx_try_compile "$LINENO"; then :
55316 glibcxx_cv_func__float_trig_use=yes
55317 else
55318 glibcxx_cv_func__float_trig_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 fi
55328
55329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55330 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55331 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55332 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55333 do :
55334 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55335 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55336 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55337 cat >>confdefs.h <<_ACEOF
55338 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55339 _ACEOF
55340
55341 fi
55342 done
55343
55344 fi
55345 fi
55346
55347
55348
55349
55350
55351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55352 $as_echo_n "checking for float round functions... " >&6; }
55353 if ${glibcxx_cv_func_float_round_use+:} false; then :
55354 $as_echo_n "(cached) " >&6
55355 else
55356
55357
55358 ac_ext=cpp
55359 ac_cpp='$CXXCPP $CPPFLAGS'
55360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55363
55364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55365 /* end confdefs.h. */
55366 #include <math.h>
55367 int
55368 main ()
55369 {
55370 ceilf (0); floorf (0);
55371 ;
55372 return 0;
55373 }
55374 _ACEOF
55375 if ac_fn_cxx_try_compile "$LINENO"; then :
55376 glibcxx_cv_func_float_round_use=yes
55377 else
55378 glibcxx_cv_func_float_round_use=no
55379 fi
55380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55381 ac_ext=c
55382 ac_cpp='$CPP $CPPFLAGS'
55383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55386
55387 fi
55388
55389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55390 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55391 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55392 for ac_func in ceilf floorf
55393 do :
55394 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55395 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55396 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55397 cat >>confdefs.h <<_ACEOF
55398 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55399 _ACEOF
55400
55401 fi
55402 done
55403
55404 else
55405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55406 $as_echo_n "checking for _float round functions... " >&6; }
55407 if ${glibcxx_cv_func__float_round_use+:} false; then :
55408 $as_echo_n "(cached) " >&6
55409 else
55410
55411
55412 ac_ext=cpp
55413 ac_cpp='$CXXCPP $CPPFLAGS'
55414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55417
55418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55419 /* end confdefs.h. */
55420 #include <math.h>
55421 int
55422 main ()
55423 {
55424 _ceilf (0); _floorf (0);
55425 ;
55426 return 0;
55427 }
55428 _ACEOF
55429 if ac_fn_cxx_try_compile "$LINENO"; then :
55430 glibcxx_cv_func__float_round_use=yes
55431 else
55432 glibcxx_cv_func__float_round_use=no
55433 fi
55434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55435 ac_ext=c
55436 ac_cpp='$CPP $CPPFLAGS'
55437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55440
55441 fi
55442
55443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55444 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55445 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55446 for ac_func in _ceilf _floorf
55447 do :
55448 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55449 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55450 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55451 cat >>confdefs.h <<_ACEOF
55452 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55453 _ACEOF
55454
55455 fi
55456 done
55457
55458 fi
55459 fi
55460
55461
55462
55463
55464
55465
55466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55467 $as_echo_n "checking for expf declaration... " >&6; }
55468 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55469 if ${glibcxx_cv_func_expf_use+:} false; then :
55470 $as_echo_n "(cached) " >&6
55471 else
55472
55473
55474 ac_ext=cpp
55475 ac_cpp='$CXXCPP $CPPFLAGS'
55476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55479
55480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55481 /* end confdefs.h. */
55482 #include <math.h>
55483 #ifdef HAVE_IEEEFP_H
55484 #include <ieeefp.h>
55485 #endif
55486
55487 int
55488 main ()
55489 {
55490 expf(0);
55491 ;
55492 return 0;
55493 }
55494 _ACEOF
55495 if ac_fn_cxx_try_compile "$LINENO"; then :
55496 glibcxx_cv_func_expf_use=yes
55497 else
55498 glibcxx_cv_func_expf_use=no
55499 fi
55500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55501 ac_ext=c
55502 ac_cpp='$CPP $CPPFLAGS'
55503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55506
55507
55508 fi
55509
55510 fi
55511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55512 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55513
55514 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55515 for ac_func in expf
55516 do :
55517 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55518 if test "x$ac_cv_func_expf" = xyes; then :
55519 cat >>confdefs.h <<_ACEOF
55520 #define HAVE_EXPF 1
55521 _ACEOF
55522
55523 fi
55524 done
55525
55526 else
55527
55528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55529 $as_echo_n "checking for _expf declaration... " >&6; }
55530 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55531 if ${glibcxx_cv_func__expf_use+:} false; then :
55532 $as_echo_n "(cached) " >&6
55533 else
55534
55535
55536 ac_ext=cpp
55537 ac_cpp='$CXXCPP $CPPFLAGS'
55538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55541
55542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55543 /* end confdefs.h. */
55544 #include <math.h>
55545 #ifdef HAVE_IEEEFP_H
55546 #include <ieeefp.h>
55547 #endif
55548
55549 int
55550 main ()
55551 {
55552 _expf(0);
55553 ;
55554 return 0;
55555 }
55556 _ACEOF
55557 if ac_fn_cxx_try_compile "$LINENO"; then :
55558 glibcxx_cv_func__expf_use=yes
55559 else
55560 glibcxx_cv_func__expf_use=no
55561 fi
55562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55563 ac_ext=c
55564 ac_cpp='$CPP $CPPFLAGS'
55565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55568
55569
55570 fi
55571
55572 fi
55573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55574 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55575
55576 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55577 for ac_func in _expf
55578 do :
55579 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55580 if test "x$ac_cv_func__expf" = xyes; then :
55581 cat >>confdefs.h <<_ACEOF
55582 #define HAVE__EXPF 1
55583 _ACEOF
55584
55585 fi
55586 done
55587
55588 fi
55589 fi
55590
55591
55592
55593
55594
55595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55596 $as_echo_n "checking for isnanf declaration... " >&6; }
55597 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55598 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55599 $as_echo_n "(cached) " >&6
55600 else
55601
55602
55603 ac_ext=cpp
55604 ac_cpp='$CXXCPP $CPPFLAGS'
55605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55608
55609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55610 /* end confdefs.h. */
55611 #include <math.h>
55612 #ifdef HAVE_IEEEFP_H
55613 #include <ieeefp.h>
55614 #endif
55615
55616 int
55617 main ()
55618 {
55619 isnanf(0);
55620 ;
55621 return 0;
55622 }
55623 _ACEOF
55624 if ac_fn_cxx_try_compile "$LINENO"; then :
55625 glibcxx_cv_func_isnanf_use=yes
55626 else
55627 glibcxx_cv_func_isnanf_use=no
55628 fi
55629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55630 ac_ext=c
55631 ac_cpp='$CPP $CPPFLAGS'
55632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55635
55636
55637 fi
55638
55639 fi
55640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55641 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55642
55643 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55644 for ac_func in isnanf
55645 do :
55646 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55647 if test "x$ac_cv_func_isnanf" = xyes; then :
55648 cat >>confdefs.h <<_ACEOF
55649 #define HAVE_ISNANF 1
55650 _ACEOF
55651
55652 fi
55653 done
55654
55655 else
55656
55657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55658 $as_echo_n "checking for _isnanf declaration... " >&6; }
55659 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55660 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55661 $as_echo_n "(cached) " >&6
55662 else
55663
55664
55665 ac_ext=cpp
55666 ac_cpp='$CXXCPP $CPPFLAGS'
55667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55670
55671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55672 /* end confdefs.h. */
55673 #include <math.h>
55674 #ifdef HAVE_IEEEFP_H
55675 #include <ieeefp.h>
55676 #endif
55677
55678 int
55679 main ()
55680 {
55681 _isnanf(0);
55682 ;
55683 return 0;
55684 }
55685 _ACEOF
55686 if ac_fn_cxx_try_compile "$LINENO"; then :
55687 glibcxx_cv_func__isnanf_use=yes
55688 else
55689 glibcxx_cv_func__isnanf_use=no
55690 fi
55691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55692 ac_ext=c
55693 ac_cpp='$CPP $CPPFLAGS'
55694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55697
55698
55699 fi
55700
55701 fi
55702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55703 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55704
55705 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55706 for ac_func in _isnanf
55707 do :
55708 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55709 if test "x$ac_cv_func__isnanf" = xyes; then :
55710 cat >>confdefs.h <<_ACEOF
55711 #define HAVE__ISNANF 1
55712 _ACEOF
55713
55714 fi
55715 done
55716
55717 fi
55718 fi
55719
55720
55721
55722
55723
55724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55725 $as_echo_n "checking for isinff declaration... " >&6; }
55726 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55727 if ${glibcxx_cv_func_isinff_use+:} false; then :
55728 $as_echo_n "(cached) " >&6
55729 else
55730
55731
55732 ac_ext=cpp
55733 ac_cpp='$CXXCPP $CPPFLAGS'
55734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55737
55738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55739 /* end confdefs.h. */
55740 #include <math.h>
55741 #ifdef HAVE_IEEEFP_H
55742 #include <ieeefp.h>
55743 #endif
55744
55745 int
55746 main ()
55747 {
55748 isinff(0);
55749 ;
55750 return 0;
55751 }
55752 _ACEOF
55753 if ac_fn_cxx_try_compile "$LINENO"; then :
55754 glibcxx_cv_func_isinff_use=yes
55755 else
55756 glibcxx_cv_func_isinff_use=no
55757 fi
55758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55759 ac_ext=c
55760 ac_cpp='$CPP $CPPFLAGS'
55761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55764
55765
55766 fi
55767
55768 fi
55769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55770 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55771
55772 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55773 for ac_func in isinff
55774 do :
55775 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55776 if test "x$ac_cv_func_isinff" = xyes; then :
55777 cat >>confdefs.h <<_ACEOF
55778 #define HAVE_ISINFF 1
55779 _ACEOF
55780
55781 fi
55782 done
55783
55784 else
55785
55786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55787 $as_echo_n "checking for _isinff declaration... " >&6; }
55788 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55789 if ${glibcxx_cv_func__isinff_use+:} false; then :
55790 $as_echo_n "(cached) " >&6
55791 else
55792
55793
55794 ac_ext=cpp
55795 ac_cpp='$CXXCPP $CPPFLAGS'
55796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55799
55800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55801 /* end confdefs.h. */
55802 #include <math.h>
55803 #ifdef HAVE_IEEEFP_H
55804 #include <ieeefp.h>
55805 #endif
55806
55807 int
55808 main ()
55809 {
55810 _isinff(0);
55811 ;
55812 return 0;
55813 }
55814 _ACEOF
55815 if ac_fn_cxx_try_compile "$LINENO"; then :
55816 glibcxx_cv_func__isinff_use=yes
55817 else
55818 glibcxx_cv_func__isinff_use=no
55819 fi
55820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55821 ac_ext=c
55822 ac_cpp='$CPP $CPPFLAGS'
55823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55826
55827
55828 fi
55829
55830 fi
55831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55832 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55833
55834 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55835 for ac_func in _isinff
55836 do :
55837 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55838 if test "x$ac_cv_func__isinff" = xyes; then :
55839 cat >>confdefs.h <<_ACEOF
55840 #define HAVE__ISINFF 1
55841 _ACEOF
55842
55843 fi
55844 done
55845
55846 fi
55847 fi
55848
55849
55850
55851
55852
55853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55854 $as_echo_n "checking for atan2f declaration... " >&6; }
55855 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55856 if ${glibcxx_cv_func_atan2f_use+:} false; then :
55857 $as_echo_n "(cached) " >&6
55858 else
55859
55860
55861 ac_ext=cpp
55862 ac_cpp='$CXXCPP $CPPFLAGS'
55863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55866
55867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55868 /* end confdefs.h. */
55869 #include <math.h>
55870 int
55871 main ()
55872 {
55873 atan2f(0, 0);
55874 ;
55875 return 0;
55876 }
55877 _ACEOF
55878 if ac_fn_cxx_try_compile "$LINENO"; then :
55879 glibcxx_cv_func_atan2f_use=yes
55880 else
55881 glibcxx_cv_func_atan2f_use=no
55882 fi
55883 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55884 ac_ext=c
55885 ac_cpp='$CPP $CPPFLAGS'
55886 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55887 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55888 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55889
55890
55891 fi
55892
55893 fi
55894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55895 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55896
55897 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55898 for ac_func in atan2f
55899 do :
55900 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55901 if test "x$ac_cv_func_atan2f" = xyes; then :
55902 cat >>confdefs.h <<_ACEOF
55903 #define HAVE_ATAN2F 1
55904 _ACEOF
55905
55906 fi
55907 done
55908
55909 else
55910
55911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55912 $as_echo_n "checking for _atan2f declaration... " >&6; }
55913 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55914 if ${glibcxx_cv_func__atan2f_use+:} false; then :
55915 $as_echo_n "(cached) " >&6
55916 else
55917
55918
55919 ac_ext=cpp
55920 ac_cpp='$CXXCPP $CPPFLAGS'
55921 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55922 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55923 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55924
55925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55926 /* end confdefs.h. */
55927 #include <math.h>
55928 int
55929 main ()
55930 {
55931 _atan2f(0, 0);
55932 ;
55933 return 0;
55934 }
55935 _ACEOF
55936 if ac_fn_cxx_try_compile "$LINENO"; then :
55937 glibcxx_cv_func__atan2f_use=yes
55938 else
55939 glibcxx_cv_func__atan2f_use=no
55940 fi
55941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55942 ac_ext=c
55943 ac_cpp='$CPP $CPPFLAGS'
55944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55947
55948
55949 fi
55950
55951 fi
55952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55953 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55954
55955 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55956 for ac_func in _atan2f
55957 do :
55958 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55959 if test "x$ac_cv_func__atan2f" = xyes; then :
55960 cat >>confdefs.h <<_ACEOF
55961 #define HAVE__ATAN2F 1
55962 _ACEOF
55963
55964 fi
55965 done
55966
55967 fi
55968 fi
55969
55970
55971
55972
55973
55974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55975 $as_echo_n "checking for fabsf declaration... " >&6; }
55976 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55977 if ${glibcxx_cv_func_fabsf_use+:} false; then :
55978 $as_echo_n "(cached) " >&6
55979 else
55980
55981
55982 ac_ext=cpp
55983 ac_cpp='$CXXCPP $CPPFLAGS'
55984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55987
55988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55989 /* end confdefs.h. */
55990 #include <math.h>
55991 #ifdef HAVE_IEEEFP_H
55992 #include <ieeefp.h>
55993 #endif
55994
55995 int
55996 main ()
55997 {
55998 fabsf(0);
55999 ;
56000 return 0;
56001 }
56002 _ACEOF
56003 if ac_fn_cxx_try_compile "$LINENO"; then :
56004 glibcxx_cv_func_fabsf_use=yes
56005 else
56006 glibcxx_cv_func_fabsf_use=no
56007 fi
56008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56009 ac_ext=c
56010 ac_cpp='$CPP $CPPFLAGS'
56011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56014
56015
56016 fi
56017
56018 fi
56019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56020 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56021
56022 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56023 for ac_func in fabsf
56024 do :
56025 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56026 if test "x$ac_cv_func_fabsf" = xyes; then :
56027 cat >>confdefs.h <<_ACEOF
56028 #define HAVE_FABSF 1
56029 _ACEOF
56030
56031 fi
56032 done
56033
56034 else
56035
56036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56037 $as_echo_n "checking for _fabsf declaration... " >&6; }
56038 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56039 if ${glibcxx_cv_func__fabsf_use+:} false; 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 #ifdef HAVE_IEEEFP_H
56054 #include <ieeefp.h>
56055 #endif
56056
56057 int
56058 main ()
56059 {
56060 _fabsf(0);
56061 ;
56062 return 0;
56063 }
56064 _ACEOF
56065 if ac_fn_cxx_try_compile "$LINENO"; then :
56066 glibcxx_cv_func__fabsf_use=yes
56067 else
56068 glibcxx_cv_func__fabsf_use=no
56069 fi
56070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56071 ac_ext=c
56072 ac_cpp='$CPP $CPPFLAGS'
56073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56076
56077
56078 fi
56079
56080 fi
56081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56082 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56083
56084 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56085 for ac_func in _fabsf
56086 do :
56087 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56088 if test "x$ac_cv_func__fabsf" = xyes; then :
56089 cat >>confdefs.h <<_ACEOF
56090 #define HAVE__FABSF 1
56091 _ACEOF
56092
56093 fi
56094 done
56095
56096 fi
56097 fi
56098
56099
56100
56101
56102
56103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56104 $as_echo_n "checking for fmodf declaration... " >&6; }
56105 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56106 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56107 $as_echo_n "(cached) " >&6
56108 else
56109
56110
56111 ac_ext=cpp
56112 ac_cpp='$CXXCPP $CPPFLAGS'
56113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56116
56117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56118 /* end confdefs.h. */
56119 #include <math.h>
56120 int
56121 main ()
56122 {
56123 fmodf(0, 0);
56124 ;
56125 return 0;
56126 }
56127 _ACEOF
56128 if ac_fn_cxx_try_compile "$LINENO"; then :
56129 glibcxx_cv_func_fmodf_use=yes
56130 else
56131 glibcxx_cv_func_fmodf_use=no
56132 fi
56133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56134 ac_ext=c
56135 ac_cpp='$CPP $CPPFLAGS'
56136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56139
56140
56141 fi
56142
56143 fi
56144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56145 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56146
56147 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56148 for ac_func in fmodf
56149 do :
56150 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56151 if test "x$ac_cv_func_fmodf" = xyes; then :
56152 cat >>confdefs.h <<_ACEOF
56153 #define HAVE_FMODF 1
56154 _ACEOF
56155
56156 fi
56157 done
56158
56159 else
56160
56161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56162 $as_echo_n "checking for _fmodf declaration... " >&6; }
56163 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56164 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56165 $as_echo_n "(cached) " >&6
56166 else
56167
56168
56169 ac_ext=cpp
56170 ac_cpp='$CXXCPP $CPPFLAGS'
56171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56174
56175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56176 /* end confdefs.h. */
56177 #include <math.h>
56178 int
56179 main ()
56180 {
56181 _fmodf(0, 0);
56182 ;
56183 return 0;
56184 }
56185 _ACEOF
56186 if ac_fn_cxx_try_compile "$LINENO"; then :
56187 glibcxx_cv_func__fmodf_use=yes
56188 else
56189 glibcxx_cv_func__fmodf_use=no
56190 fi
56191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56192 ac_ext=c
56193 ac_cpp='$CPP $CPPFLAGS'
56194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56197
56198
56199 fi
56200
56201 fi
56202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56203 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56204
56205 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56206 for ac_func in _fmodf
56207 do :
56208 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56209 if test "x$ac_cv_func__fmodf" = xyes; then :
56210 cat >>confdefs.h <<_ACEOF
56211 #define HAVE__FMODF 1
56212 _ACEOF
56213
56214 fi
56215 done
56216
56217 fi
56218 fi
56219
56220
56221
56222
56223
56224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56225 $as_echo_n "checking for frexpf declaration... " >&6; }
56226 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56227 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56228 $as_echo_n "(cached) " >&6
56229 else
56230
56231
56232 ac_ext=cpp
56233 ac_cpp='$CXXCPP $CPPFLAGS'
56234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56237
56238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56239 /* end confdefs.h. */
56240 #include <math.h>
56241 int
56242 main ()
56243 {
56244 frexpf(0, 0);
56245 ;
56246 return 0;
56247 }
56248 _ACEOF
56249 if ac_fn_cxx_try_compile "$LINENO"; then :
56250 glibcxx_cv_func_frexpf_use=yes
56251 else
56252 glibcxx_cv_func_frexpf_use=no
56253 fi
56254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56255 ac_ext=c
56256 ac_cpp='$CPP $CPPFLAGS'
56257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56260
56261
56262 fi
56263
56264 fi
56265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56266 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56267
56268 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56269 for ac_func in frexpf
56270 do :
56271 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56272 if test "x$ac_cv_func_frexpf" = xyes; then :
56273 cat >>confdefs.h <<_ACEOF
56274 #define HAVE_FREXPF 1
56275 _ACEOF
56276
56277 fi
56278 done
56279
56280 else
56281
56282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56283 $as_echo_n "checking for _frexpf declaration... " >&6; }
56284 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56285 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56286 $as_echo_n "(cached) " >&6
56287 else
56288
56289
56290 ac_ext=cpp
56291 ac_cpp='$CXXCPP $CPPFLAGS'
56292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56295
56296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56297 /* end confdefs.h. */
56298 #include <math.h>
56299 int
56300 main ()
56301 {
56302 _frexpf(0, 0);
56303 ;
56304 return 0;
56305 }
56306 _ACEOF
56307 if ac_fn_cxx_try_compile "$LINENO"; then :
56308 glibcxx_cv_func__frexpf_use=yes
56309 else
56310 glibcxx_cv_func__frexpf_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__frexpf_use" >&5
56324 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56325
56326 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56327 for ac_func in _frexpf
56328 do :
56329 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56330 if test "x$ac_cv_func__frexpf" = xyes; then :
56331 cat >>confdefs.h <<_ACEOF
56332 #define HAVE__FREXPF 1
56333 _ACEOF
56334
56335 fi
56336 done
56337
56338 fi
56339 fi
56340
56341
56342
56343
56344
56345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56346 $as_echo_n "checking for hypotf declaration... " >&6; }
56347 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56348 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56349 $as_echo_n "(cached) " >&6
56350 else
56351
56352
56353 ac_ext=cpp
56354 ac_cpp='$CXXCPP $CPPFLAGS'
56355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56358
56359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56360 /* end confdefs.h. */
56361 #include <math.h>
56362 int
56363 main ()
56364 {
56365 hypotf(0, 0);
56366 ;
56367 return 0;
56368 }
56369 _ACEOF
56370 if ac_fn_cxx_try_compile "$LINENO"; then :
56371 glibcxx_cv_func_hypotf_use=yes
56372 else
56373 glibcxx_cv_func_hypotf_use=no
56374 fi
56375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56376 ac_ext=c
56377 ac_cpp='$CPP $CPPFLAGS'
56378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56381
56382
56383 fi
56384
56385 fi
56386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56387 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56388
56389 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56390 for ac_func in hypotf
56391 do :
56392 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56393 if test "x$ac_cv_func_hypotf" = xyes; then :
56394 cat >>confdefs.h <<_ACEOF
56395 #define HAVE_HYPOTF 1
56396 _ACEOF
56397
56398 fi
56399 done
56400
56401 else
56402
56403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56404 $as_echo_n "checking for _hypotf declaration... " >&6; }
56405 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56406 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56407 $as_echo_n "(cached) " >&6
56408 else
56409
56410
56411 ac_ext=cpp
56412 ac_cpp='$CXXCPP $CPPFLAGS'
56413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56416
56417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56418 /* end confdefs.h. */
56419 #include <math.h>
56420 int
56421 main ()
56422 {
56423 _hypotf(0, 0);
56424 ;
56425 return 0;
56426 }
56427 _ACEOF
56428 if ac_fn_cxx_try_compile "$LINENO"; then :
56429 glibcxx_cv_func__hypotf_use=yes
56430 else
56431 glibcxx_cv_func__hypotf_use=no
56432 fi
56433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56434 ac_ext=c
56435 ac_cpp='$CPP $CPPFLAGS'
56436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56439
56440
56441 fi
56442
56443 fi
56444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56445 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56446
56447 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56448 for ac_func in _hypotf
56449 do :
56450 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56451 if test "x$ac_cv_func__hypotf" = xyes; then :
56452 cat >>confdefs.h <<_ACEOF
56453 #define HAVE__HYPOTF 1
56454 _ACEOF
56455
56456 fi
56457 done
56458
56459 fi
56460 fi
56461
56462
56463
56464
56465
56466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56467 $as_echo_n "checking for ldexpf declaration... " >&6; }
56468 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56469 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56470 $as_echo_n "(cached) " >&6
56471 else
56472
56473
56474 ac_ext=cpp
56475 ac_cpp='$CXXCPP $CPPFLAGS'
56476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56479
56480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56481 /* end confdefs.h. */
56482 #include <math.h>
56483 int
56484 main ()
56485 {
56486 ldexpf(0, 0);
56487 ;
56488 return 0;
56489 }
56490 _ACEOF
56491 if ac_fn_cxx_try_compile "$LINENO"; then :
56492 glibcxx_cv_func_ldexpf_use=yes
56493 else
56494 glibcxx_cv_func_ldexpf_use=no
56495 fi
56496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56497 ac_ext=c
56498 ac_cpp='$CPP $CPPFLAGS'
56499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56502
56503
56504 fi
56505
56506 fi
56507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56508 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56509
56510 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56511 for ac_func in ldexpf
56512 do :
56513 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56514 if test "x$ac_cv_func_ldexpf" = xyes; then :
56515 cat >>confdefs.h <<_ACEOF
56516 #define HAVE_LDEXPF 1
56517 _ACEOF
56518
56519 fi
56520 done
56521
56522 else
56523
56524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56525 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56526 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56527 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56528 $as_echo_n "(cached) " >&6
56529 else
56530
56531
56532 ac_ext=cpp
56533 ac_cpp='$CXXCPP $CPPFLAGS'
56534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56537
56538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56539 /* end confdefs.h. */
56540 #include <math.h>
56541 int
56542 main ()
56543 {
56544 _ldexpf(0, 0);
56545 ;
56546 return 0;
56547 }
56548 _ACEOF
56549 if ac_fn_cxx_try_compile "$LINENO"; then :
56550 glibcxx_cv_func__ldexpf_use=yes
56551 else
56552 glibcxx_cv_func__ldexpf_use=no
56553 fi
56554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56555 ac_ext=c
56556 ac_cpp='$CPP $CPPFLAGS'
56557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56560
56561
56562 fi
56563
56564 fi
56565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56566 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56567
56568 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56569 for ac_func in _ldexpf
56570 do :
56571 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56572 if test "x$ac_cv_func__ldexpf" = xyes; then :
56573 cat >>confdefs.h <<_ACEOF
56574 #define HAVE__LDEXPF 1
56575 _ACEOF
56576
56577 fi
56578 done
56579
56580 fi
56581 fi
56582
56583
56584
56585
56586
56587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56588 $as_echo_n "checking for logf declaration... " >&6; }
56589 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56590 if ${glibcxx_cv_func_logf_use+:} false; then :
56591 $as_echo_n "(cached) " >&6
56592 else
56593
56594
56595 ac_ext=cpp
56596 ac_cpp='$CXXCPP $CPPFLAGS'
56597 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56598 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56599 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56600
56601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56602 /* end confdefs.h. */
56603 #include <math.h>
56604 #ifdef HAVE_IEEEFP_H
56605 #include <ieeefp.h>
56606 #endif
56607
56608 int
56609 main ()
56610 {
56611 logf(0);
56612 ;
56613 return 0;
56614 }
56615 _ACEOF
56616 if ac_fn_cxx_try_compile "$LINENO"; then :
56617 glibcxx_cv_func_logf_use=yes
56618 else
56619 glibcxx_cv_func_logf_use=no
56620 fi
56621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56622 ac_ext=c
56623 ac_cpp='$CPP $CPPFLAGS'
56624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56627
56628
56629 fi
56630
56631 fi
56632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56633 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56634
56635 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56636 for ac_func in logf
56637 do :
56638 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56639 if test "x$ac_cv_func_logf" = xyes; then :
56640 cat >>confdefs.h <<_ACEOF
56641 #define HAVE_LOGF 1
56642 _ACEOF
56643
56644 fi
56645 done
56646
56647 else
56648
56649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56650 $as_echo_n "checking for _logf declaration... " >&6; }
56651 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56652 if ${glibcxx_cv_func__logf_use+:} false; then :
56653 $as_echo_n "(cached) " >&6
56654 else
56655
56656
56657 ac_ext=cpp
56658 ac_cpp='$CXXCPP $CPPFLAGS'
56659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56662
56663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56664 /* end confdefs.h. */
56665 #include <math.h>
56666 #ifdef HAVE_IEEEFP_H
56667 #include <ieeefp.h>
56668 #endif
56669
56670 int
56671 main ()
56672 {
56673 _logf(0);
56674 ;
56675 return 0;
56676 }
56677 _ACEOF
56678 if ac_fn_cxx_try_compile "$LINENO"; then :
56679 glibcxx_cv_func__logf_use=yes
56680 else
56681 glibcxx_cv_func__logf_use=no
56682 fi
56683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56684 ac_ext=c
56685 ac_cpp='$CPP $CPPFLAGS'
56686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56689
56690
56691 fi
56692
56693 fi
56694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56695 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56696
56697 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56698 for ac_func in _logf
56699 do :
56700 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56701 if test "x$ac_cv_func__logf" = xyes; then :
56702 cat >>confdefs.h <<_ACEOF
56703 #define HAVE__LOGF 1
56704 _ACEOF
56705
56706 fi
56707 done
56708
56709 fi
56710 fi
56711
56712
56713
56714
56715
56716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56717 $as_echo_n "checking for log10f declaration... " >&6; }
56718 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56719 if ${glibcxx_cv_func_log10f_use+:} false; then :
56720 $as_echo_n "(cached) " >&6
56721 else
56722
56723
56724 ac_ext=cpp
56725 ac_cpp='$CXXCPP $CPPFLAGS'
56726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56729
56730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56731 /* end confdefs.h. */
56732 #include <math.h>
56733 #ifdef HAVE_IEEEFP_H
56734 #include <ieeefp.h>
56735 #endif
56736
56737 int
56738 main ()
56739 {
56740 log10f(0);
56741 ;
56742 return 0;
56743 }
56744 _ACEOF
56745 if ac_fn_cxx_try_compile "$LINENO"; then :
56746 glibcxx_cv_func_log10f_use=yes
56747 else
56748 glibcxx_cv_func_log10f_use=no
56749 fi
56750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56751 ac_ext=c
56752 ac_cpp='$CPP $CPPFLAGS'
56753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56756
56757
56758 fi
56759
56760 fi
56761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56762 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56763
56764 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56765 for ac_func in log10f
56766 do :
56767 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56768 if test "x$ac_cv_func_log10f" = xyes; then :
56769 cat >>confdefs.h <<_ACEOF
56770 #define HAVE_LOG10F 1
56771 _ACEOF
56772
56773 fi
56774 done
56775
56776 else
56777
56778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56779 $as_echo_n "checking for _log10f declaration... " >&6; }
56780 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56781 if ${glibcxx_cv_func__log10f_use+:} false; 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 _log10f(0);
56803 ;
56804 return 0;
56805 }
56806 _ACEOF
56807 if ac_fn_cxx_try_compile "$LINENO"; then :
56808 glibcxx_cv_func__log10f_use=yes
56809 else
56810 glibcxx_cv_func__log10f_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__log10f_use" >&5
56824 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56825
56826 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56827 for ac_func in _log10f
56828 do :
56829 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56830 if test "x$ac_cv_func__log10f" = xyes; then :
56831 cat >>confdefs.h <<_ACEOF
56832 #define HAVE__LOG10F 1
56833 _ACEOF
56834
56835 fi
56836 done
56837
56838 fi
56839 fi
56840
56841
56842
56843
56844
56845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56846 $as_echo_n "checking for modff declaration... " >&6; }
56847 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56848 if ${glibcxx_cv_func_modff_use+:} false; then :
56849 $as_echo_n "(cached) " >&6
56850 else
56851
56852
56853 ac_ext=cpp
56854 ac_cpp='$CXXCPP $CPPFLAGS'
56855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56858
56859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56860 /* end confdefs.h. */
56861 #include <math.h>
56862 int
56863 main ()
56864 {
56865 modff(0, 0);
56866 ;
56867 return 0;
56868 }
56869 _ACEOF
56870 if ac_fn_cxx_try_compile "$LINENO"; then :
56871 glibcxx_cv_func_modff_use=yes
56872 else
56873 glibcxx_cv_func_modff_use=no
56874 fi
56875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56876 ac_ext=c
56877 ac_cpp='$CPP $CPPFLAGS'
56878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56881
56882
56883 fi
56884
56885 fi
56886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56887 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56888
56889 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56890 for ac_func in modff
56891 do :
56892 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56893 if test "x$ac_cv_func_modff" = xyes; then :
56894 cat >>confdefs.h <<_ACEOF
56895 #define HAVE_MODFF 1
56896 _ACEOF
56897
56898 fi
56899 done
56900
56901 else
56902
56903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56904 $as_echo_n "checking for _modff declaration... " >&6; }
56905 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56906 if ${glibcxx_cv_func__modff_use+:} false; then :
56907 $as_echo_n "(cached) " >&6
56908 else
56909
56910
56911 ac_ext=cpp
56912 ac_cpp='$CXXCPP $CPPFLAGS'
56913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56916
56917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56918 /* end confdefs.h. */
56919 #include <math.h>
56920 int
56921 main ()
56922 {
56923 _modff(0, 0);
56924 ;
56925 return 0;
56926 }
56927 _ACEOF
56928 if ac_fn_cxx_try_compile "$LINENO"; then :
56929 glibcxx_cv_func__modff_use=yes
56930 else
56931 glibcxx_cv_func__modff_use=no
56932 fi
56933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56934 ac_ext=c
56935 ac_cpp='$CPP $CPPFLAGS'
56936 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56937 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56938 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56939
56940
56941 fi
56942
56943 fi
56944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56945 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56946
56947 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56948 for ac_func in _modff
56949 do :
56950 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56951 if test "x$ac_cv_func__modff" = xyes; then :
56952 cat >>confdefs.h <<_ACEOF
56953 #define HAVE__MODFF 1
56954 _ACEOF
56955
56956 fi
56957 done
56958
56959 fi
56960 fi
56961
56962
56963
56964
56965
56966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56967 $as_echo_n "checking for modf declaration... " >&6; }
56968 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56969 if ${glibcxx_cv_func_modf_use+:} false; then :
56970 $as_echo_n "(cached) " >&6
56971 else
56972
56973
56974 ac_ext=cpp
56975 ac_cpp='$CXXCPP $CPPFLAGS'
56976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56979
56980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56981 /* end confdefs.h. */
56982 #include <math.h>
56983 int
56984 main ()
56985 {
56986 modf(0, 0);
56987 ;
56988 return 0;
56989 }
56990 _ACEOF
56991 if ac_fn_cxx_try_compile "$LINENO"; then :
56992 glibcxx_cv_func_modf_use=yes
56993 else
56994 glibcxx_cv_func_modf_use=no
56995 fi
56996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56997 ac_ext=c
56998 ac_cpp='$CPP $CPPFLAGS'
56999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57002
57003
57004 fi
57005
57006 fi
57007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57008 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57009
57010 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57011 for ac_func in modf
57012 do :
57013 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57014 if test "x$ac_cv_func_modf" = xyes; then :
57015 cat >>confdefs.h <<_ACEOF
57016 #define HAVE_MODF 1
57017 _ACEOF
57018
57019 fi
57020 done
57021
57022 else
57023
57024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57025 $as_echo_n "checking for _modf declaration... " >&6; }
57026 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57027 if ${glibcxx_cv_func__modf_use+:} false; then :
57028 $as_echo_n "(cached) " >&6
57029 else
57030
57031
57032 ac_ext=cpp
57033 ac_cpp='$CXXCPP $CPPFLAGS'
57034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57037
57038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57039 /* end confdefs.h. */
57040 #include <math.h>
57041 int
57042 main ()
57043 {
57044 _modf(0, 0);
57045 ;
57046 return 0;
57047 }
57048 _ACEOF
57049 if ac_fn_cxx_try_compile "$LINENO"; then :
57050 glibcxx_cv_func__modf_use=yes
57051 else
57052 glibcxx_cv_func__modf_use=no
57053 fi
57054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57055 ac_ext=c
57056 ac_cpp='$CPP $CPPFLAGS'
57057 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57058 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57059 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57060
57061
57062 fi
57063
57064 fi
57065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57066 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57067
57068 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57069 for ac_func in _modf
57070 do :
57071 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57072 if test "x$ac_cv_func__modf" = xyes; then :
57073 cat >>confdefs.h <<_ACEOF
57074 #define HAVE__MODF 1
57075 _ACEOF
57076
57077 fi
57078 done
57079
57080 fi
57081 fi
57082
57083
57084
57085
57086
57087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57088 $as_echo_n "checking for powf declaration... " >&6; }
57089 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57090 if ${glibcxx_cv_func_powf_use+:} false; then :
57091 $as_echo_n "(cached) " >&6
57092 else
57093
57094
57095 ac_ext=cpp
57096 ac_cpp='$CXXCPP $CPPFLAGS'
57097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57100
57101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57102 /* end confdefs.h. */
57103 #include <math.h>
57104 int
57105 main ()
57106 {
57107 powf(0, 0);
57108 ;
57109 return 0;
57110 }
57111 _ACEOF
57112 if ac_fn_cxx_try_compile "$LINENO"; then :
57113 glibcxx_cv_func_powf_use=yes
57114 else
57115 glibcxx_cv_func_powf_use=no
57116 fi
57117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57118 ac_ext=c
57119 ac_cpp='$CPP $CPPFLAGS'
57120 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57121 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57122 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57123
57124
57125 fi
57126
57127 fi
57128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57129 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57130
57131 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57132 for ac_func in powf
57133 do :
57134 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57135 if test "x$ac_cv_func_powf" = xyes; then :
57136 cat >>confdefs.h <<_ACEOF
57137 #define HAVE_POWF 1
57138 _ACEOF
57139
57140 fi
57141 done
57142
57143 else
57144
57145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57146 $as_echo_n "checking for _powf declaration... " >&6; }
57147 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57148 if ${glibcxx_cv_func__powf_use+:} false; then :
57149 $as_echo_n "(cached) " >&6
57150 else
57151
57152
57153 ac_ext=cpp
57154 ac_cpp='$CXXCPP $CPPFLAGS'
57155 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57156 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57157 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57158
57159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57160 /* end confdefs.h. */
57161 #include <math.h>
57162 int
57163 main ()
57164 {
57165 _powf(0, 0);
57166 ;
57167 return 0;
57168 }
57169 _ACEOF
57170 if ac_fn_cxx_try_compile "$LINENO"; then :
57171 glibcxx_cv_func__powf_use=yes
57172 else
57173 glibcxx_cv_func__powf_use=no
57174 fi
57175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57176 ac_ext=c
57177 ac_cpp='$CPP $CPPFLAGS'
57178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57181
57182
57183 fi
57184
57185 fi
57186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57187 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57188
57189 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57190 for ac_func in _powf
57191 do :
57192 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57193 if test "x$ac_cv_func__powf" = xyes; then :
57194 cat >>confdefs.h <<_ACEOF
57195 #define HAVE__POWF 1
57196 _ACEOF
57197
57198 fi
57199 done
57200
57201 fi
57202 fi
57203
57204
57205
57206
57207
57208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57209 $as_echo_n "checking for sqrtf declaration... " >&6; }
57210 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57211 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57212 $as_echo_n "(cached) " >&6
57213 else
57214
57215
57216 ac_ext=cpp
57217 ac_cpp='$CXXCPP $CPPFLAGS'
57218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57221
57222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57223 /* end confdefs.h. */
57224 #include <math.h>
57225 #ifdef HAVE_IEEEFP_H
57226 #include <ieeefp.h>
57227 #endif
57228
57229 int
57230 main ()
57231 {
57232 sqrtf(0);
57233 ;
57234 return 0;
57235 }
57236 _ACEOF
57237 if ac_fn_cxx_try_compile "$LINENO"; then :
57238 glibcxx_cv_func_sqrtf_use=yes
57239 else
57240 glibcxx_cv_func_sqrtf_use=no
57241 fi
57242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57243 ac_ext=c
57244 ac_cpp='$CPP $CPPFLAGS'
57245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57248
57249
57250 fi
57251
57252 fi
57253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57254 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57255
57256 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57257 for ac_func in sqrtf
57258 do :
57259 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57260 if test "x$ac_cv_func_sqrtf" = xyes; then :
57261 cat >>confdefs.h <<_ACEOF
57262 #define HAVE_SQRTF 1
57263 _ACEOF
57264
57265 fi
57266 done
57267
57268 else
57269
57270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57271 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57272 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57273 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57274 $as_echo_n "(cached) " >&6
57275 else
57276
57277
57278 ac_ext=cpp
57279 ac_cpp='$CXXCPP $CPPFLAGS'
57280 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57281 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57282 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57283
57284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57285 /* end confdefs.h. */
57286 #include <math.h>
57287 #ifdef HAVE_IEEEFP_H
57288 #include <ieeefp.h>
57289 #endif
57290
57291 int
57292 main ()
57293 {
57294 _sqrtf(0);
57295 ;
57296 return 0;
57297 }
57298 _ACEOF
57299 if ac_fn_cxx_try_compile "$LINENO"; then :
57300 glibcxx_cv_func__sqrtf_use=yes
57301 else
57302 glibcxx_cv_func__sqrtf_use=no
57303 fi
57304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57305 ac_ext=c
57306 ac_cpp='$CPP $CPPFLAGS'
57307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57310
57311
57312 fi
57313
57314 fi
57315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57316 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57317
57318 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57319 for ac_func in _sqrtf
57320 do :
57321 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57322 if test "x$ac_cv_func__sqrtf" = xyes; then :
57323 cat >>confdefs.h <<_ACEOF
57324 #define HAVE__SQRTF 1
57325 _ACEOF
57326
57327 fi
57328 done
57329
57330 fi
57331 fi
57332
57333
57334
57335
57336
57337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57338 $as_echo_n "checking for sincosf declaration... " >&6; }
57339 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57340 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57341 $as_echo_n "(cached) " >&6
57342 else
57343
57344
57345 ac_ext=cpp
57346 ac_cpp='$CXXCPP $CPPFLAGS'
57347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57350
57351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57352 /* end confdefs.h. */
57353 #include <math.h>
57354 int
57355 main ()
57356 {
57357 sincosf(0, 0, 0);
57358 ;
57359 return 0;
57360 }
57361 _ACEOF
57362 if ac_fn_cxx_try_compile "$LINENO"; then :
57363 glibcxx_cv_func_sincosf_use=yes
57364 else
57365 glibcxx_cv_func_sincosf_use=no
57366 fi
57367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57368 ac_ext=c
57369 ac_cpp='$CPP $CPPFLAGS'
57370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57373
57374
57375 fi
57376
57377 fi
57378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57379 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57380
57381 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57382 for ac_func in sincosf
57383 do :
57384 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57385 if test "x$ac_cv_func_sincosf" = xyes; then :
57386 cat >>confdefs.h <<_ACEOF
57387 #define HAVE_SINCOSF 1
57388 _ACEOF
57389
57390 fi
57391 done
57392
57393 else
57394
57395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57396 $as_echo_n "checking for _sincosf declaration... " >&6; }
57397 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57398 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57399 $as_echo_n "(cached) " >&6
57400 else
57401
57402
57403 ac_ext=cpp
57404 ac_cpp='$CXXCPP $CPPFLAGS'
57405 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57406 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57407 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57408
57409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57410 /* end confdefs.h. */
57411 #include <math.h>
57412 int
57413 main ()
57414 {
57415 _sincosf(0, 0, 0);
57416 ;
57417 return 0;
57418 }
57419 _ACEOF
57420 if ac_fn_cxx_try_compile "$LINENO"; then :
57421 glibcxx_cv_func__sincosf_use=yes
57422 else
57423 glibcxx_cv_func__sincosf_use=no
57424 fi
57425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57426 ac_ext=c
57427 ac_cpp='$CPP $CPPFLAGS'
57428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57431
57432
57433 fi
57434
57435 fi
57436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57437 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57438
57439 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57440 for ac_func in _sincosf
57441 do :
57442 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57443 if test "x$ac_cv_func__sincosf" = xyes; then :
57444 cat >>confdefs.h <<_ACEOF
57445 #define HAVE__SINCOSF 1
57446 _ACEOF
57447
57448 fi
57449 done
57450
57451 fi
57452 fi
57453
57454
57455
57456
57457
57458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57459 $as_echo_n "checking for finitef declaration... " >&6; }
57460 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57461 if ${glibcxx_cv_func_finitef_use+:} false; then :
57462 $as_echo_n "(cached) " >&6
57463 else
57464
57465
57466 ac_ext=cpp
57467 ac_cpp='$CXXCPP $CPPFLAGS'
57468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57471
57472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57473 /* end confdefs.h. */
57474 #include <math.h>
57475 #ifdef HAVE_IEEEFP_H
57476 #include <ieeefp.h>
57477 #endif
57478
57479 int
57480 main ()
57481 {
57482 finitef(0);
57483 ;
57484 return 0;
57485 }
57486 _ACEOF
57487 if ac_fn_cxx_try_compile "$LINENO"; then :
57488 glibcxx_cv_func_finitef_use=yes
57489 else
57490 glibcxx_cv_func_finitef_use=no
57491 fi
57492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57493 ac_ext=c
57494 ac_cpp='$CPP $CPPFLAGS'
57495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57498
57499
57500 fi
57501
57502 fi
57503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57504 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57505
57506 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57507 for ac_func in finitef
57508 do :
57509 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57510 if test "x$ac_cv_func_finitef" = xyes; then :
57511 cat >>confdefs.h <<_ACEOF
57512 #define HAVE_FINITEF 1
57513 _ACEOF
57514
57515 fi
57516 done
57517
57518 else
57519
57520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57521 $as_echo_n "checking for _finitef declaration... " >&6; }
57522 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57523 if ${glibcxx_cv_func__finitef_use+:} false; then :
57524 $as_echo_n "(cached) " >&6
57525 else
57526
57527
57528 ac_ext=cpp
57529 ac_cpp='$CXXCPP $CPPFLAGS'
57530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57533
57534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57535 /* end confdefs.h. */
57536 #include <math.h>
57537 #ifdef HAVE_IEEEFP_H
57538 #include <ieeefp.h>
57539 #endif
57540
57541 int
57542 main ()
57543 {
57544 _finitef(0);
57545 ;
57546 return 0;
57547 }
57548 _ACEOF
57549 if ac_fn_cxx_try_compile "$LINENO"; then :
57550 glibcxx_cv_func__finitef_use=yes
57551 else
57552 glibcxx_cv_func__finitef_use=no
57553 fi
57554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57555 ac_ext=c
57556 ac_cpp='$CPP $CPPFLAGS'
57557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57560
57561
57562 fi
57563
57564 fi
57565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57566 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57567
57568 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57569 for ac_func in _finitef
57570 do :
57571 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57572 if test "x$ac_cv_func__finitef" = xyes; then :
57573 cat >>confdefs.h <<_ACEOF
57574 #define HAVE__FINITEF 1
57575 _ACEOF
57576
57577 fi
57578 done
57579
57580 fi
57581 fi
57582
57583
57584
57585
57586
57587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57588 $as_echo_n "checking for long double trig functions... " >&6; }
57589 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57590 $as_echo_n "(cached) " >&6
57591 else
57592
57593
57594 ac_ext=cpp
57595 ac_cpp='$CXXCPP $CPPFLAGS'
57596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57599
57600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57601 /* end confdefs.h. */
57602 #include <math.h>
57603 int
57604 main ()
57605 {
57606 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57607 ;
57608 return 0;
57609 }
57610 _ACEOF
57611 if ac_fn_cxx_try_compile "$LINENO"; then :
57612 glibcxx_cv_func_long_double_trig_use=yes
57613 else
57614 glibcxx_cv_func_long_double_trig_use=no
57615 fi
57616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57617 ac_ext=c
57618 ac_cpp='$CPP $CPPFLAGS'
57619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57622
57623 fi
57624
57625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57626 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57627 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57628 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57629 do :
57630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57632 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57633 cat >>confdefs.h <<_ACEOF
57634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57635 _ACEOF
57636
57637 fi
57638 done
57639
57640 else
57641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57642 $as_echo_n "checking for _long double trig functions... " >&6; }
57643 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57644 $as_echo_n "(cached) " >&6
57645 else
57646
57647
57648 ac_ext=cpp
57649 ac_cpp='$CXXCPP $CPPFLAGS'
57650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57653
57654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57655 /* end confdefs.h. */
57656 #include <math.h>
57657 int
57658 main ()
57659 {
57660 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57661 ;
57662 return 0;
57663 }
57664 _ACEOF
57665 if ac_fn_cxx_try_compile "$LINENO"; then :
57666 glibcxx_cv_func__long_double_trig_use=yes
57667 else
57668 glibcxx_cv_func__long_double_trig_use=no
57669 fi
57670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57671 ac_ext=c
57672 ac_cpp='$CPP $CPPFLAGS'
57673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57676
57677 fi
57678
57679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57680 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57681 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57682 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57683 do :
57684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57686 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57687 cat >>confdefs.h <<_ACEOF
57688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57689 _ACEOF
57690
57691 fi
57692 done
57693
57694 fi
57695 fi
57696
57697
57698
57699
57700
57701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57702 $as_echo_n "checking for long double round functions... " >&6; }
57703 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57704 $as_echo_n "(cached) " >&6
57705 else
57706
57707
57708 ac_ext=cpp
57709 ac_cpp='$CXXCPP $CPPFLAGS'
57710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57713
57714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57715 /* end confdefs.h. */
57716 #include <math.h>
57717 int
57718 main ()
57719 {
57720 ceill (0); floorl (0);
57721 ;
57722 return 0;
57723 }
57724 _ACEOF
57725 if ac_fn_cxx_try_compile "$LINENO"; then :
57726 glibcxx_cv_func_long_double_round_use=yes
57727 else
57728 glibcxx_cv_func_long_double_round_use=no
57729 fi
57730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57731 ac_ext=c
57732 ac_cpp='$CPP $CPPFLAGS'
57733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57736
57737 fi
57738
57739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57740 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57741 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57742 for ac_func in ceill floorl
57743 do :
57744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57746 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57747 cat >>confdefs.h <<_ACEOF
57748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57749 _ACEOF
57750
57751 fi
57752 done
57753
57754 else
57755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57756 $as_echo_n "checking for _long double round functions... " >&6; }
57757 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57758 $as_echo_n "(cached) " >&6
57759 else
57760
57761
57762 ac_ext=cpp
57763 ac_cpp='$CXXCPP $CPPFLAGS'
57764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57767
57768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57769 /* end confdefs.h. */
57770 #include <math.h>
57771 int
57772 main ()
57773 {
57774 _ceill (0); _floorl (0);
57775 ;
57776 return 0;
57777 }
57778 _ACEOF
57779 if ac_fn_cxx_try_compile "$LINENO"; then :
57780 glibcxx_cv_func__long_double_round_use=yes
57781 else
57782 glibcxx_cv_func__long_double_round_use=no
57783 fi
57784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57785 ac_ext=c
57786 ac_cpp='$CPP $CPPFLAGS'
57787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57790
57791 fi
57792
57793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57794 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57795 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57796 for ac_func in _ceill _floorl
57797 do :
57798 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57799 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57800 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57801 cat >>confdefs.h <<_ACEOF
57802 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57803 _ACEOF
57804
57805 fi
57806 done
57807
57808 fi
57809 fi
57810
57811
57812
57813
57814
57815
57816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57817 $as_echo_n "checking for isnanl declaration... " >&6; }
57818 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57819 if ${glibcxx_cv_func_isnanl_use+:} false; then :
57820 $as_echo_n "(cached) " >&6
57821 else
57822
57823
57824 ac_ext=cpp
57825 ac_cpp='$CXXCPP $CPPFLAGS'
57826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57829
57830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57831 /* end confdefs.h. */
57832 #include <math.h>
57833 #ifdef HAVE_IEEEFP_H
57834 #include <ieeefp.h>
57835 #endif
57836
57837 int
57838 main ()
57839 {
57840 isnanl(0);
57841 ;
57842 return 0;
57843 }
57844 _ACEOF
57845 if ac_fn_cxx_try_compile "$LINENO"; then :
57846 glibcxx_cv_func_isnanl_use=yes
57847 else
57848 glibcxx_cv_func_isnanl_use=no
57849 fi
57850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57851 ac_ext=c
57852 ac_cpp='$CPP $CPPFLAGS'
57853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57856
57857
57858 fi
57859
57860 fi
57861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57862 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57863
57864 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57865 for ac_func in isnanl
57866 do :
57867 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57868 if test "x$ac_cv_func_isnanl" = xyes; then :
57869 cat >>confdefs.h <<_ACEOF
57870 #define HAVE_ISNANL 1
57871 _ACEOF
57872
57873 fi
57874 done
57875
57876 else
57877
57878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57879 $as_echo_n "checking for _isnanl declaration... " >&6; }
57880 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57881 if ${glibcxx_cv_func__isnanl_use+:} false; 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 _isnanl(0);
57903 ;
57904 return 0;
57905 }
57906 _ACEOF
57907 if ac_fn_cxx_try_compile "$LINENO"; then :
57908 glibcxx_cv_func__isnanl_use=yes
57909 else
57910 glibcxx_cv_func__isnanl_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__isnanl_use" >&5
57924 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57925
57926 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57927 for ac_func in _isnanl
57928 do :
57929 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57930 if test "x$ac_cv_func__isnanl" = xyes; then :
57931 cat >>confdefs.h <<_ACEOF
57932 #define HAVE__ISNANL 1
57933 _ACEOF
57934
57935 fi
57936 done
57937
57938 fi
57939 fi
57940
57941
57942
57943
57944
57945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57946 $as_echo_n "checking for isinfl declaration... " >&6; }
57947 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57948 if ${glibcxx_cv_func_isinfl_use+:} false; then :
57949 $as_echo_n "(cached) " >&6
57950 else
57951
57952
57953 ac_ext=cpp
57954 ac_cpp='$CXXCPP $CPPFLAGS'
57955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57958
57959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57960 /* end confdefs.h. */
57961 #include <math.h>
57962 #ifdef HAVE_IEEEFP_H
57963 #include <ieeefp.h>
57964 #endif
57965
57966 int
57967 main ()
57968 {
57969 isinfl(0);
57970 ;
57971 return 0;
57972 }
57973 _ACEOF
57974 if ac_fn_cxx_try_compile "$LINENO"; then :
57975 glibcxx_cv_func_isinfl_use=yes
57976 else
57977 glibcxx_cv_func_isinfl_use=no
57978 fi
57979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57980 ac_ext=c
57981 ac_cpp='$CPP $CPPFLAGS'
57982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57985
57986
57987 fi
57988
57989 fi
57990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57991 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57992
57993 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57994 for ac_func in isinfl
57995 do :
57996 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57997 if test "x$ac_cv_func_isinfl" = xyes; then :
57998 cat >>confdefs.h <<_ACEOF
57999 #define HAVE_ISINFL 1
58000 _ACEOF
58001
58002 fi
58003 done
58004
58005 else
58006
58007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58008 $as_echo_n "checking for _isinfl declaration... " >&6; }
58009 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58010 if ${glibcxx_cv_func__isinfl_use+:} false; 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 _isinfl(0);
58032 ;
58033 return 0;
58034 }
58035 _ACEOF
58036 if ac_fn_cxx_try_compile "$LINENO"; then :
58037 glibcxx_cv_func__isinfl_use=yes
58038 else
58039 glibcxx_cv_func__isinfl_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__isinfl_use" >&5
58053 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58054
58055 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58056 for ac_func in _isinfl
58057 do :
58058 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58059 if test "x$ac_cv_func__isinfl" = xyes; then :
58060 cat >>confdefs.h <<_ACEOF
58061 #define HAVE__ISINFL 1
58062 _ACEOF
58063
58064 fi
58065 done
58066
58067 fi
58068 fi
58069
58070
58071
58072
58073
58074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58075 $as_echo_n "checking for atan2l declaration... " >&6; }
58076 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58077 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58078 $as_echo_n "(cached) " >&6
58079 else
58080
58081
58082 ac_ext=cpp
58083 ac_cpp='$CXXCPP $CPPFLAGS'
58084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58087
58088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58089 /* end confdefs.h. */
58090 #include <math.h>
58091 int
58092 main ()
58093 {
58094 atan2l(0, 0);
58095 ;
58096 return 0;
58097 }
58098 _ACEOF
58099 if ac_fn_cxx_try_compile "$LINENO"; then :
58100 glibcxx_cv_func_atan2l_use=yes
58101 else
58102 glibcxx_cv_func_atan2l_use=no
58103 fi
58104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58105 ac_ext=c
58106 ac_cpp='$CPP $CPPFLAGS'
58107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58110
58111
58112 fi
58113
58114 fi
58115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58116 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58117
58118 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58119 for ac_func in atan2l
58120 do :
58121 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58122 if test "x$ac_cv_func_atan2l" = xyes; then :
58123 cat >>confdefs.h <<_ACEOF
58124 #define HAVE_ATAN2L 1
58125 _ACEOF
58126
58127 fi
58128 done
58129
58130 else
58131
58132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58133 $as_echo_n "checking for _atan2l declaration... " >&6; }
58134 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58135 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58136 $as_echo_n "(cached) " >&6
58137 else
58138
58139
58140 ac_ext=cpp
58141 ac_cpp='$CXXCPP $CPPFLAGS'
58142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58145
58146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58147 /* end confdefs.h. */
58148 #include <math.h>
58149 int
58150 main ()
58151 {
58152 _atan2l(0, 0);
58153 ;
58154 return 0;
58155 }
58156 _ACEOF
58157 if ac_fn_cxx_try_compile "$LINENO"; then :
58158 glibcxx_cv_func__atan2l_use=yes
58159 else
58160 glibcxx_cv_func__atan2l_use=no
58161 fi
58162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58163 ac_ext=c
58164 ac_cpp='$CPP $CPPFLAGS'
58165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58168
58169
58170 fi
58171
58172 fi
58173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58174 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58175
58176 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58177 for ac_func in _atan2l
58178 do :
58179 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58180 if test "x$ac_cv_func__atan2l" = xyes; then :
58181 cat >>confdefs.h <<_ACEOF
58182 #define HAVE__ATAN2L 1
58183 _ACEOF
58184
58185 fi
58186 done
58187
58188 fi
58189 fi
58190
58191
58192
58193
58194
58195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58196 $as_echo_n "checking for expl declaration... " >&6; }
58197 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58198 if ${glibcxx_cv_func_expl_use+:} false; then :
58199 $as_echo_n "(cached) " >&6
58200 else
58201
58202
58203 ac_ext=cpp
58204 ac_cpp='$CXXCPP $CPPFLAGS'
58205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58208
58209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58210 /* end confdefs.h. */
58211 #include <math.h>
58212 #ifdef HAVE_IEEEFP_H
58213 #include <ieeefp.h>
58214 #endif
58215
58216 int
58217 main ()
58218 {
58219 expl(0);
58220 ;
58221 return 0;
58222 }
58223 _ACEOF
58224 if ac_fn_cxx_try_compile "$LINENO"; then :
58225 glibcxx_cv_func_expl_use=yes
58226 else
58227 glibcxx_cv_func_expl_use=no
58228 fi
58229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58230 ac_ext=c
58231 ac_cpp='$CPP $CPPFLAGS'
58232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58235
58236
58237 fi
58238
58239 fi
58240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58241 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58242
58243 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58244 for ac_func in expl
58245 do :
58246 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58247 if test "x$ac_cv_func_expl" = xyes; then :
58248 cat >>confdefs.h <<_ACEOF
58249 #define HAVE_EXPL 1
58250 _ACEOF
58251
58252 fi
58253 done
58254
58255 else
58256
58257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58258 $as_echo_n "checking for _expl declaration... " >&6; }
58259 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58260 if ${glibcxx_cv_func__expl_use+:} false; then :
58261 $as_echo_n "(cached) " >&6
58262 else
58263
58264
58265 ac_ext=cpp
58266 ac_cpp='$CXXCPP $CPPFLAGS'
58267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58270
58271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58272 /* end confdefs.h. */
58273 #include <math.h>
58274 #ifdef HAVE_IEEEFP_H
58275 #include <ieeefp.h>
58276 #endif
58277
58278 int
58279 main ()
58280 {
58281 _expl(0);
58282 ;
58283 return 0;
58284 }
58285 _ACEOF
58286 if ac_fn_cxx_try_compile "$LINENO"; then :
58287 glibcxx_cv_func__expl_use=yes
58288 else
58289 glibcxx_cv_func__expl_use=no
58290 fi
58291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58292 ac_ext=c
58293 ac_cpp='$CPP $CPPFLAGS'
58294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58297
58298
58299 fi
58300
58301 fi
58302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58303 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58304
58305 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58306 for ac_func in _expl
58307 do :
58308 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58309 if test "x$ac_cv_func__expl" = xyes; then :
58310 cat >>confdefs.h <<_ACEOF
58311 #define HAVE__EXPL 1
58312 _ACEOF
58313
58314 fi
58315 done
58316
58317 fi
58318 fi
58319
58320
58321
58322
58323
58324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58325 $as_echo_n "checking for fabsl declaration... " >&6; }
58326 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58327 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58328 $as_echo_n "(cached) " >&6
58329 else
58330
58331
58332 ac_ext=cpp
58333 ac_cpp='$CXXCPP $CPPFLAGS'
58334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58337
58338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58339 /* end confdefs.h. */
58340 #include <math.h>
58341 #ifdef HAVE_IEEEFP_H
58342 #include <ieeefp.h>
58343 #endif
58344
58345 int
58346 main ()
58347 {
58348 fabsl(0);
58349 ;
58350 return 0;
58351 }
58352 _ACEOF
58353 if ac_fn_cxx_try_compile "$LINENO"; then :
58354 glibcxx_cv_func_fabsl_use=yes
58355 else
58356 glibcxx_cv_func_fabsl_use=no
58357 fi
58358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58359 ac_ext=c
58360 ac_cpp='$CPP $CPPFLAGS'
58361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58364
58365
58366 fi
58367
58368 fi
58369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58370 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58371
58372 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58373 for ac_func in fabsl
58374 do :
58375 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58376 if test "x$ac_cv_func_fabsl" = xyes; then :
58377 cat >>confdefs.h <<_ACEOF
58378 #define HAVE_FABSL 1
58379 _ACEOF
58380
58381 fi
58382 done
58383
58384 else
58385
58386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58387 $as_echo_n "checking for _fabsl declaration... " >&6; }
58388 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58389 if ${glibcxx_cv_func__fabsl_use+:} false; 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 _fabsl(0);
58411 ;
58412 return 0;
58413 }
58414 _ACEOF
58415 if ac_fn_cxx_try_compile "$LINENO"; then :
58416 glibcxx_cv_func__fabsl_use=yes
58417 else
58418 glibcxx_cv_func__fabsl_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__fabsl_use" >&5
58432 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58433
58434 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58435 for ac_func in _fabsl
58436 do :
58437 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58438 if test "x$ac_cv_func__fabsl" = xyes; then :
58439 cat >>confdefs.h <<_ACEOF
58440 #define HAVE__FABSL 1
58441 _ACEOF
58442
58443 fi
58444 done
58445
58446 fi
58447 fi
58448
58449
58450
58451
58452
58453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58454 $as_echo_n "checking for fmodl declaration... " >&6; }
58455 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58456 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58457 $as_echo_n "(cached) " >&6
58458 else
58459
58460
58461 ac_ext=cpp
58462 ac_cpp='$CXXCPP $CPPFLAGS'
58463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58466
58467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58468 /* end confdefs.h. */
58469 #include <math.h>
58470 int
58471 main ()
58472 {
58473 fmodl(0, 0);
58474 ;
58475 return 0;
58476 }
58477 _ACEOF
58478 if ac_fn_cxx_try_compile "$LINENO"; then :
58479 glibcxx_cv_func_fmodl_use=yes
58480 else
58481 glibcxx_cv_func_fmodl_use=no
58482 fi
58483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58484 ac_ext=c
58485 ac_cpp='$CPP $CPPFLAGS'
58486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58489
58490
58491 fi
58492
58493 fi
58494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58495 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58496
58497 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58498 for ac_func in fmodl
58499 do :
58500 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58501 if test "x$ac_cv_func_fmodl" = xyes; then :
58502 cat >>confdefs.h <<_ACEOF
58503 #define HAVE_FMODL 1
58504 _ACEOF
58505
58506 fi
58507 done
58508
58509 else
58510
58511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58512 $as_echo_n "checking for _fmodl declaration... " >&6; }
58513 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58514 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58515 $as_echo_n "(cached) " >&6
58516 else
58517
58518
58519 ac_ext=cpp
58520 ac_cpp='$CXXCPP $CPPFLAGS'
58521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58524
58525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58526 /* end confdefs.h. */
58527 #include <math.h>
58528 int
58529 main ()
58530 {
58531 _fmodl(0, 0);
58532 ;
58533 return 0;
58534 }
58535 _ACEOF
58536 if ac_fn_cxx_try_compile "$LINENO"; then :
58537 glibcxx_cv_func__fmodl_use=yes
58538 else
58539 glibcxx_cv_func__fmodl_use=no
58540 fi
58541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58542 ac_ext=c
58543 ac_cpp='$CPP $CPPFLAGS'
58544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58547
58548
58549 fi
58550
58551 fi
58552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58553 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58554
58555 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58556 for ac_func in _fmodl
58557 do :
58558 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58559 if test "x$ac_cv_func__fmodl" = xyes; then :
58560 cat >>confdefs.h <<_ACEOF
58561 #define HAVE__FMODL 1
58562 _ACEOF
58563
58564 fi
58565 done
58566
58567 fi
58568 fi
58569
58570
58571
58572
58573
58574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58575 $as_echo_n "checking for frexpl declaration... " >&6; }
58576 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58577 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58578 $as_echo_n "(cached) " >&6
58579 else
58580
58581
58582 ac_ext=cpp
58583 ac_cpp='$CXXCPP $CPPFLAGS'
58584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58587
58588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58589 /* end confdefs.h. */
58590 #include <math.h>
58591 int
58592 main ()
58593 {
58594 frexpl(0, 0);
58595 ;
58596 return 0;
58597 }
58598 _ACEOF
58599 if ac_fn_cxx_try_compile "$LINENO"; then :
58600 glibcxx_cv_func_frexpl_use=yes
58601 else
58602 glibcxx_cv_func_frexpl_use=no
58603 fi
58604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58605 ac_ext=c
58606 ac_cpp='$CPP $CPPFLAGS'
58607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58610
58611
58612 fi
58613
58614 fi
58615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58616 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58617
58618 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58619 for ac_func in frexpl
58620 do :
58621 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58622 if test "x$ac_cv_func_frexpl" = xyes; then :
58623 cat >>confdefs.h <<_ACEOF
58624 #define HAVE_FREXPL 1
58625 _ACEOF
58626
58627 fi
58628 done
58629
58630 else
58631
58632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58633 $as_echo_n "checking for _frexpl declaration... " >&6; }
58634 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58635 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58636 $as_echo_n "(cached) " >&6
58637 else
58638
58639
58640 ac_ext=cpp
58641 ac_cpp='$CXXCPP $CPPFLAGS'
58642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58645
58646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58647 /* end confdefs.h. */
58648 #include <math.h>
58649 int
58650 main ()
58651 {
58652 _frexpl(0, 0);
58653 ;
58654 return 0;
58655 }
58656 _ACEOF
58657 if ac_fn_cxx_try_compile "$LINENO"; then :
58658 glibcxx_cv_func__frexpl_use=yes
58659 else
58660 glibcxx_cv_func__frexpl_use=no
58661 fi
58662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58663 ac_ext=c
58664 ac_cpp='$CPP $CPPFLAGS'
58665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58668
58669
58670 fi
58671
58672 fi
58673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58674 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58675
58676 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58677 for ac_func in _frexpl
58678 do :
58679 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58680 if test "x$ac_cv_func__frexpl" = xyes; then :
58681 cat >>confdefs.h <<_ACEOF
58682 #define HAVE__FREXPL 1
58683 _ACEOF
58684
58685 fi
58686 done
58687
58688 fi
58689 fi
58690
58691
58692
58693
58694
58695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58696 $as_echo_n "checking for hypotl declaration... " >&6; }
58697 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58698 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58699 $as_echo_n "(cached) " >&6
58700 else
58701
58702
58703 ac_ext=cpp
58704 ac_cpp='$CXXCPP $CPPFLAGS'
58705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58708
58709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58710 /* end confdefs.h. */
58711 #include <math.h>
58712 int
58713 main ()
58714 {
58715 hypotl(0, 0);
58716 ;
58717 return 0;
58718 }
58719 _ACEOF
58720 if ac_fn_cxx_try_compile "$LINENO"; then :
58721 glibcxx_cv_func_hypotl_use=yes
58722 else
58723 glibcxx_cv_func_hypotl_use=no
58724 fi
58725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58726 ac_ext=c
58727 ac_cpp='$CPP $CPPFLAGS'
58728 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58729 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58730 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58731
58732
58733 fi
58734
58735 fi
58736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58737 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58738
58739 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58740 for ac_func in hypotl
58741 do :
58742 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58743 if test "x$ac_cv_func_hypotl" = xyes; then :
58744 cat >>confdefs.h <<_ACEOF
58745 #define HAVE_HYPOTL 1
58746 _ACEOF
58747
58748 fi
58749 done
58750
58751 else
58752
58753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58754 $as_echo_n "checking for _hypotl declaration... " >&6; }
58755 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58756 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58757 $as_echo_n "(cached) " >&6
58758 else
58759
58760
58761 ac_ext=cpp
58762 ac_cpp='$CXXCPP $CPPFLAGS'
58763 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58764 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58765 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58766
58767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58768 /* end confdefs.h. */
58769 #include <math.h>
58770 int
58771 main ()
58772 {
58773 _hypotl(0, 0);
58774 ;
58775 return 0;
58776 }
58777 _ACEOF
58778 if ac_fn_cxx_try_compile "$LINENO"; then :
58779 glibcxx_cv_func__hypotl_use=yes
58780 else
58781 glibcxx_cv_func__hypotl_use=no
58782 fi
58783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58784 ac_ext=c
58785 ac_cpp='$CPP $CPPFLAGS'
58786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58789
58790
58791 fi
58792
58793 fi
58794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58795 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58796
58797 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58798 for ac_func in _hypotl
58799 do :
58800 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58801 if test "x$ac_cv_func__hypotl" = xyes; then :
58802 cat >>confdefs.h <<_ACEOF
58803 #define HAVE__HYPOTL 1
58804 _ACEOF
58805
58806 fi
58807 done
58808
58809 fi
58810 fi
58811
58812
58813
58814
58815
58816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58817 $as_echo_n "checking for ldexpl declaration... " >&6; }
58818 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58819 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58820 $as_echo_n "(cached) " >&6
58821 else
58822
58823
58824 ac_ext=cpp
58825 ac_cpp='$CXXCPP $CPPFLAGS'
58826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58829
58830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58831 /* end confdefs.h. */
58832 #include <math.h>
58833 int
58834 main ()
58835 {
58836 ldexpl(0, 0);
58837 ;
58838 return 0;
58839 }
58840 _ACEOF
58841 if ac_fn_cxx_try_compile "$LINENO"; then :
58842 glibcxx_cv_func_ldexpl_use=yes
58843 else
58844 glibcxx_cv_func_ldexpl_use=no
58845 fi
58846 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58847 ac_ext=c
58848 ac_cpp='$CPP $CPPFLAGS'
58849 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58850 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58851 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58852
58853
58854 fi
58855
58856 fi
58857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58858 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58859
58860 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58861 for ac_func in ldexpl
58862 do :
58863 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58864 if test "x$ac_cv_func_ldexpl" = xyes; then :
58865 cat >>confdefs.h <<_ACEOF
58866 #define HAVE_LDEXPL 1
58867 _ACEOF
58868
58869 fi
58870 done
58871
58872 else
58873
58874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58875 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58876 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58877 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
58878 $as_echo_n "(cached) " >&6
58879 else
58880
58881
58882 ac_ext=cpp
58883 ac_cpp='$CXXCPP $CPPFLAGS'
58884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58887
58888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58889 /* end confdefs.h. */
58890 #include <math.h>
58891 int
58892 main ()
58893 {
58894 _ldexpl(0, 0);
58895 ;
58896 return 0;
58897 }
58898 _ACEOF
58899 if ac_fn_cxx_try_compile "$LINENO"; then :
58900 glibcxx_cv_func__ldexpl_use=yes
58901 else
58902 glibcxx_cv_func__ldexpl_use=no
58903 fi
58904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58905 ac_ext=c
58906 ac_cpp='$CPP $CPPFLAGS'
58907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58910
58911
58912 fi
58913
58914 fi
58915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58916 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58917
58918 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58919 for ac_func in _ldexpl
58920 do :
58921 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58922 if test "x$ac_cv_func__ldexpl" = xyes; then :
58923 cat >>confdefs.h <<_ACEOF
58924 #define HAVE__LDEXPL 1
58925 _ACEOF
58926
58927 fi
58928 done
58929
58930 fi
58931 fi
58932
58933
58934
58935
58936
58937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58938 $as_echo_n "checking for logl declaration... " >&6; }
58939 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58940 if ${glibcxx_cv_func_logl_use+:} false; then :
58941 $as_echo_n "(cached) " >&6
58942 else
58943
58944
58945 ac_ext=cpp
58946 ac_cpp='$CXXCPP $CPPFLAGS'
58947 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58948 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58949 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58950
58951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58952 /* end confdefs.h. */
58953 #include <math.h>
58954 #ifdef HAVE_IEEEFP_H
58955 #include <ieeefp.h>
58956 #endif
58957
58958 int
58959 main ()
58960 {
58961 logl(0);
58962 ;
58963 return 0;
58964 }
58965 _ACEOF
58966 if ac_fn_cxx_try_compile "$LINENO"; then :
58967 glibcxx_cv_func_logl_use=yes
58968 else
58969 glibcxx_cv_func_logl_use=no
58970 fi
58971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58972 ac_ext=c
58973 ac_cpp='$CPP $CPPFLAGS'
58974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58977
58978
58979 fi
58980
58981 fi
58982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58983 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58984
58985 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58986 for ac_func in logl
58987 do :
58988 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58989 if test "x$ac_cv_func_logl" = xyes; then :
58990 cat >>confdefs.h <<_ACEOF
58991 #define HAVE_LOGL 1
58992 _ACEOF
58993
58994 fi
58995 done
58996
58997 else
58998
58999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59000 $as_echo_n "checking for _logl declaration... " >&6; }
59001 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59002 if ${glibcxx_cv_func__logl_use+:} false; then :
59003 $as_echo_n "(cached) " >&6
59004 else
59005
59006
59007 ac_ext=cpp
59008 ac_cpp='$CXXCPP $CPPFLAGS'
59009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59012
59013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59014 /* end confdefs.h. */
59015 #include <math.h>
59016 #ifdef HAVE_IEEEFP_H
59017 #include <ieeefp.h>
59018 #endif
59019
59020 int
59021 main ()
59022 {
59023 _logl(0);
59024 ;
59025 return 0;
59026 }
59027 _ACEOF
59028 if ac_fn_cxx_try_compile "$LINENO"; then :
59029 glibcxx_cv_func__logl_use=yes
59030 else
59031 glibcxx_cv_func__logl_use=no
59032 fi
59033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59034 ac_ext=c
59035 ac_cpp='$CPP $CPPFLAGS'
59036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59039
59040
59041 fi
59042
59043 fi
59044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59045 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59046
59047 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59048 for ac_func in _logl
59049 do :
59050 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59051 if test "x$ac_cv_func__logl" = xyes; then :
59052 cat >>confdefs.h <<_ACEOF
59053 #define HAVE__LOGL 1
59054 _ACEOF
59055
59056 fi
59057 done
59058
59059 fi
59060 fi
59061
59062
59063
59064
59065
59066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59067 $as_echo_n "checking for log10l declaration... " >&6; }
59068 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59069 if ${glibcxx_cv_func_log10l_use+:} false; then :
59070 $as_echo_n "(cached) " >&6
59071 else
59072
59073
59074 ac_ext=cpp
59075 ac_cpp='$CXXCPP $CPPFLAGS'
59076 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59077 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59078 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59079
59080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59081 /* end confdefs.h. */
59082 #include <math.h>
59083 #ifdef HAVE_IEEEFP_H
59084 #include <ieeefp.h>
59085 #endif
59086
59087 int
59088 main ()
59089 {
59090 log10l(0);
59091 ;
59092 return 0;
59093 }
59094 _ACEOF
59095 if ac_fn_cxx_try_compile "$LINENO"; then :
59096 glibcxx_cv_func_log10l_use=yes
59097 else
59098 glibcxx_cv_func_log10l_use=no
59099 fi
59100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59101 ac_ext=c
59102 ac_cpp='$CPP $CPPFLAGS'
59103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59106
59107
59108 fi
59109
59110 fi
59111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59112 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59113
59114 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59115 for ac_func in log10l
59116 do :
59117 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59118 if test "x$ac_cv_func_log10l" = xyes; then :
59119 cat >>confdefs.h <<_ACEOF
59120 #define HAVE_LOG10L 1
59121 _ACEOF
59122
59123 fi
59124 done
59125
59126 else
59127
59128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59129 $as_echo_n "checking for _log10l declaration... " >&6; }
59130 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59131 if ${glibcxx_cv_func__log10l_use+:} false; then :
59132 $as_echo_n "(cached) " >&6
59133 else
59134
59135
59136 ac_ext=cpp
59137 ac_cpp='$CXXCPP $CPPFLAGS'
59138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59141
59142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59143 /* end confdefs.h. */
59144 #include <math.h>
59145 #ifdef HAVE_IEEEFP_H
59146 #include <ieeefp.h>
59147 #endif
59148
59149 int
59150 main ()
59151 {
59152 _log10l(0);
59153 ;
59154 return 0;
59155 }
59156 _ACEOF
59157 if ac_fn_cxx_try_compile "$LINENO"; then :
59158 glibcxx_cv_func__log10l_use=yes
59159 else
59160 glibcxx_cv_func__log10l_use=no
59161 fi
59162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59163 ac_ext=c
59164 ac_cpp='$CPP $CPPFLAGS'
59165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59168
59169
59170 fi
59171
59172 fi
59173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59174 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59175
59176 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59177 for ac_func in _log10l
59178 do :
59179 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59180 if test "x$ac_cv_func__log10l" = xyes; then :
59181 cat >>confdefs.h <<_ACEOF
59182 #define HAVE__LOG10L 1
59183 _ACEOF
59184
59185 fi
59186 done
59187
59188 fi
59189 fi
59190
59191
59192
59193
59194
59195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59196 $as_echo_n "checking for modfl declaration... " >&6; }
59197 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59198 if ${glibcxx_cv_func_modfl_use+:} false; then :
59199 $as_echo_n "(cached) " >&6
59200 else
59201
59202
59203 ac_ext=cpp
59204 ac_cpp='$CXXCPP $CPPFLAGS'
59205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59208
59209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59210 /* end confdefs.h. */
59211 #include <math.h>
59212 int
59213 main ()
59214 {
59215 modfl(0, 0);
59216 ;
59217 return 0;
59218 }
59219 _ACEOF
59220 if ac_fn_cxx_try_compile "$LINENO"; then :
59221 glibcxx_cv_func_modfl_use=yes
59222 else
59223 glibcxx_cv_func_modfl_use=no
59224 fi
59225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59226 ac_ext=c
59227 ac_cpp='$CPP $CPPFLAGS'
59228 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59229 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59230 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59231
59232
59233 fi
59234
59235 fi
59236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59237 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59238
59239 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59240 for ac_func in modfl
59241 do :
59242 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59243 if test "x$ac_cv_func_modfl" = xyes; then :
59244 cat >>confdefs.h <<_ACEOF
59245 #define HAVE_MODFL 1
59246 _ACEOF
59247
59248 fi
59249 done
59250
59251 else
59252
59253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59254 $as_echo_n "checking for _modfl declaration... " >&6; }
59255 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59256 if ${glibcxx_cv_func__modfl_use+:} false; then :
59257 $as_echo_n "(cached) " >&6
59258 else
59259
59260
59261 ac_ext=cpp
59262 ac_cpp='$CXXCPP $CPPFLAGS'
59263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59266
59267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59268 /* end confdefs.h. */
59269 #include <math.h>
59270 int
59271 main ()
59272 {
59273 _modfl(0, 0);
59274 ;
59275 return 0;
59276 }
59277 _ACEOF
59278 if ac_fn_cxx_try_compile "$LINENO"; then :
59279 glibcxx_cv_func__modfl_use=yes
59280 else
59281 glibcxx_cv_func__modfl_use=no
59282 fi
59283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59284 ac_ext=c
59285 ac_cpp='$CPP $CPPFLAGS'
59286 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59287 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59288 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59289
59290
59291 fi
59292
59293 fi
59294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59295 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59296
59297 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59298 for ac_func in _modfl
59299 do :
59300 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59301 if test "x$ac_cv_func__modfl" = xyes; then :
59302 cat >>confdefs.h <<_ACEOF
59303 #define HAVE__MODFL 1
59304 _ACEOF
59305
59306 fi
59307 done
59308
59309 fi
59310 fi
59311
59312
59313
59314
59315
59316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59317 $as_echo_n "checking for powl declaration... " >&6; }
59318 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59319 if ${glibcxx_cv_func_powl_use+:} false; then :
59320 $as_echo_n "(cached) " >&6
59321 else
59322
59323
59324 ac_ext=cpp
59325 ac_cpp='$CXXCPP $CPPFLAGS'
59326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59329
59330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59331 /* end confdefs.h. */
59332 #include <math.h>
59333 int
59334 main ()
59335 {
59336 powl(0, 0);
59337 ;
59338 return 0;
59339 }
59340 _ACEOF
59341 if ac_fn_cxx_try_compile "$LINENO"; then :
59342 glibcxx_cv_func_powl_use=yes
59343 else
59344 glibcxx_cv_func_powl_use=no
59345 fi
59346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59347 ac_ext=c
59348 ac_cpp='$CPP $CPPFLAGS'
59349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59352
59353
59354 fi
59355
59356 fi
59357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59358 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59359
59360 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59361 for ac_func in powl
59362 do :
59363 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59364 if test "x$ac_cv_func_powl" = xyes; then :
59365 cat >>confdefs.h <<_ACEOF
59366 #define HAVE_POWL 1
59367 _ACEOF
59368
59369 fi
59370 done
59371
59372 else
59373
59374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59375 $as_echo_n "checking for _powl declaration... " >&6; }
59376 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59377 if ${glibcxx_cv_func__powl_use+:} false; then :
59378 $as_echo_n "(cached) " >&6
59379 else
59380
59381
59382 ac_ext=cpp
59383 ac_cpp='$CXXCPP $CPPFLAGS'
59384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59387
59388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59389 /* end confdefs.h. */
59390 #include <math.h>
59391 int
59392 main ()
59393 {
59394 _powl(0, 0);
59395 ;
59396 return 0;
59397 }
59398 _ACEOF
59399 if ac_fn_cxx_try_compile "$LINENO"; then :
59400 glibcxx_cv_func__powl_use=yes
59401 else
59402 glibcxx_cv_func__powl_use=no
59403 fi
59404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59405 ac_ext=c
59406 ac_cpp='$CPP $CPPFLAGS'
59407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59410
59411
59412 fi
59413
59414 fi
59415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59416 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59417
59418 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59419 for ac_func in _powl
59420 do :
59421 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59422 if test "x$ac_cv_func__powl" = xyes; then :
59423 cat >>confdefs.h <<_ACEOF
59424 #define HAVE__POWL 1
59425 _ACEOF
59426
59427 fi
59428 done
59429
59430 fi
59431 fi
59432
59433
59434
59435
59436
59437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59438 $as_echo_n "checking for sqrtl declaration... " >&6; }
59439 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59440 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59441 $as_echo_n "(cached) " >&6
59442 else
59443
59444
59445 ac_ext=cpp
59446 ac_cpp='$CXXCPP $CPPFLAGS'
59447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59450
59451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59452 /* end confdefs.h. */
59453 #include <math.h>
59454 #ifdef HAVE_IEEEFP_H
59455 #include <ieeefp.h>
59456 #endif
59457
59458 int
59459 main ()
59460 {
59461 sqrtl(0);
59462 ;
59463 return 0;
59464 }
59465 _ACEOF
59466 if ac_fn_cxx_try_compile "$LINENO"; then :
59467 glibcxx_cv_func_sqrtl_use=yes
59468 else
59469 glibcxx_cv_func_sqrtl_use=no
59470 fi
59471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59472 ac_ext=c
59473 ac_cpp='$CPP $CPPFLAGS'
59474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59477
59478
59479 fi
59480
59481 fi
59482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59483 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59484
59485 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59486 for ac_func in sqrtl
59487 do :
59488 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59489 if test "x$ac_cv_func_sqrtl" = xyes; then :
59490 cat >>confdefs.h <<_ACEOF
59491 #define HAVE_SQRTL 1
59492 _ACEOF
59493
59494 fi
59495 done
59496
59497 else
59498
59499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59500 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59501 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59502 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59503 $as_echo_n "(cached) " >&6
59504 else
59505
59506
59507 ac_ext=cpp
59508 ac_cpp='$CXXCPP $CPPFLAGS'
59509 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59510 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59511 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59512
59513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59514 /* end confdefs.h. */
59515 #include <math.h>
59516 #ifdef HAVE_IEEEFP_H
59517 #include <ieeefp.h>
59518 #endif
59519
59520 int
59521 main ()
59522 {
59523 _sqrtl(0);
59524 ;
59525 return 0;
59526 }
59527 _ACEOF
59528 if ac_fn_cxx_try_compile "$LINENO"; then :
59529 glibcxx_cv_func__sqrtl_use=yes
59530 else
59531 glibcxx_cv_func__sqrtl_use=no
59532 fi
59533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59534 ac_ext=c
59535 ac_cpp='$CPP $CPPFLAGS'
59536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59539
59540
59541 fi
59542
59543 fi
59544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59545 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59546
59547 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59548 for ac_func in _sqrtl
59549 do :
59550 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59551 if test "x$ac_cv_func__sqrtl" = xyes; then :
59552 cat >>confdefs.h <<_ACEOF
59553 #define HAVE__SQRTL 1
59554 _ACEOF
59555
59556 fi
59557 done
59558
59559 fi
59560 fi
59561
59562
59563
59564
59565
59566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59567 $as_echo_n "checking for sincosl declaration... " >&6; }
59568 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59569 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59570 $as_echo_n "(cached) " >&6
59571 else
59572
59573
59574 ac_ext=cpp
59575 ac_cpp='$CXXCPP $CPPFLAGS'
59576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59579
59580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59581 /* end confdefs.h. */
59582 #include <math.h>
59583 int
59584 main ()
59585 {
59586 sincosl(0, 0, 0);
59587 ;
59588 return 0;
59589 }
59590 _ACEOF
59591 if ac_fn_cxx_try_compile "$LINENO"; then :
59592 glibcxx_cv_func_sincosl_use=yes
59593 else
59594 glibcxx_cv_func_sincosl_use=no
59595 fi
59596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59597 ac_ext=c
59598 ac_cpp='$CPP $CPPFLAGS'
59599 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59600 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59601 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59602
59603
59604 fi
59605
59606 fi
59607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59608 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59609
59610 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59611 for ac_func in sincosl
59612 do :
59613 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59614 if test "x$ac_cv_func_sincosl" = xyes; then :
59615 cat >>confdefs.h <<_ACEOF
59616 #define HAVE_SINCOSL 1
59617 _ACEOF
59618
59619 fi
59620 done
59621
59622 else
59623
59624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59625 $as_echo_n "checking for _sincosl declaration... " >&6; }
59626 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59627 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59628 $as_echo_n "(cached) " >&6
59629 else
59630
59631
59632 ac_ext=cpp
59633 ac_cpp='$CXXCPP $CPPFLAGS'
59634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59637
59638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59639 /* end confdefs.h. */
59640 #include <math.h>
59641 int
59642 main ()
59643 {
59644 _sincosl(0, 0, 0);
59645 ;
59646 return 0;
59647 }
59648 _ACEOF
59649 if ac_fn_cxx_try_compile "$LINENO"; then :
59650 glibcxx_cv_func__sincosl_use=yes
59651 else
59652 glibcxx_cv_func__sincosl_use=no
59653 fi
59654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59655 ac_ext=c
59656 ac_cpp='$CPP $CPPFLAGS'
59657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59660
59661
59662 fi
59663
59664 fi
59665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59666 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59667
59668 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59669 for ac_func in _sincosl
59670 do :
59671 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59672 if test "x$ac_cv_func__sincosl" = xyes; then :
59673 cat >>confdefs.h <<_ACEOF
59674 #define HAVE__SINCOSL 1
59675 _ACEOF
59676
59677 fi
59678 done
59679
59680 fi
59681 fi
59682
59683
59684
59685
59686
59687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59688 $as_echo_n "checking for finitel declaration... " >&6; }
59689 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59690 if ${glibcxx_cv_func_finitel_use+:} false; then :
59691 $as_echo_n "(cached) " >&6
59692 else
59693
59694
59695 ac_ext=cpp
59696 ac_cpp='$CXXCPP $CPPFLAGS'
59697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59700
59701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59702 /* end confdefs.h. */
59703 #include <math.h>
59704 #ifdef HAVE_IEEEFP_H
59705 #include <ieeefp.h>
59706 #endif
59707
59708 int
59709 main ()
59710 {
59711 finitel(0);
59712 ;
59713 return 0;
59714 }
59715 _ACEOF
59716 if ac_fn_cxx_try_compile "$LINENO"; then :
59717 glibcxx_cv_func_finitel_use=yes
59718 else
59719 glibcxx_cv_func_finitel_use=no
59720 fi
59721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59722 ac_ext=c
59723 ac_cpp='$CPP $CPPFLAGS'
59724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59727
59728
59729 fi
59730
59731 fi
59732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59733 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59734
59735 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59736 for ac_func in finitel
59737 do :
59738 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59739 if test "x$ac_cv_func_finitel" = xyes; then :
59740 cat >>confdefs.h <<_ACEOF
59741 #define HAVE_FINITEL 1
59742 _ACEOF
59743
59744 fi
59745 done
59746
59747 else
59748
59749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59750 $as_echo_n "checking for _finitel declaration... " >&6; }
59751 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59752 if ${glibcxx_cv_func__finitel_use+:} false; then :
59753 $as_echo_n "(cached) " >&6
59754 else
59755
59756
59757 ac_ext=cpp
59758 ac_cpp='$CXXCPP $CPPFLAGS'
59759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59762
59763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59764 /* end confdefs.h. */
59765 #include <math.h>
59766 #ifdef HAVE_IEEEFP_H
59767 #include <ieeefp.h>
59768 #endif
59769
59770 int
59771 main ()
59772 {
59773 _finitel(0);
59774 ;
59775 return 0;
59776 }
59777 _ACEOF
59778 if ac_fn_cxx_try_compile "$LINENO"; then :
59779 glibcxx_cv_func__finitel_use=yes
59780 else
59781 glibcxx_cv_func__finitel_use=no
59782 fi
59783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59784 ac_ext=c
59785 ac_cpp='$CPP $CPPFLAGS'
59786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59789
59790
59791 fi
59792
59793 fi
59794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59795 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59796
59797 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59798 for ac_func in _finitel
59799 do :
59800 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59801 if test "x$ac_cv_func__finitel" = xyes; then :
59802 cat >>confdefs.h <<_ACEOF
59803 #define HAVE__FINITEL 1
59804 _ACEOF
59805
59806 fi
59807 done
59808
59809 fi
59810 fi
59811
59812
59813
59814
59815 LIBS="$ac_save_LIBS"
59816 CXXFLAGS="$ac_save_CXXFLAGS"
59817
59818
59819 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59820 ac_save_CXXFLAGS="$CXXFLAGS"
59821 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59822
59823
59824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59825 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59826 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59827 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59828 $as_echo_n "(cached) " >&6
59829 else
59830
59831
59832 ac_ext=cpp
59833 ac_cpp='$CXXCPP $CPPFLAGS'
59834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59837
59838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59839 /* end confdefs.h. */
59840 #include <stdlib.h>
59841 int
59842 main ()
59843 {
59844 at_quick_exit(0);
59845 ;
59846 return 0;
59847 }
59848 _ACEOF
59849 if ac_fn_cxx_try_compile "$LINENO"; then :
59850 glibcxx_cv_func_at_quick_exit_use=yes
59851 else
59852 glibcxx_cv_func_at_quick_exit_use=no
59853 fi
59854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59855 ac_ext=c
59856 ac_cpp='$CPP $CPPFLAGS'
59857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59860
59861
59862 fi
59863
59864 fi
59865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59866 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59867 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59868 for ac_func in at_quick_exit
59869 do :
59870 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59871 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
59872 cat >>confdefs.h <<_ACEOF
59873 #define HAVE_AT_QUICK_EXIT 1
59874 _ACEOF
59875
59876 fi
59877 done
59878
59879 fi
59880
59881
59882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59883 $as_echo_n "checking for quick_exit declaration... " >&6; }
59884 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59885 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
59886 $as_echo_n "(cached) " >&6
59887 else
59888
59889
59890 ac_ext=cpp
59891 ac_cpp='$CXXCPP $CPPFLAGS'
59892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59895
59896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59897 /* end confdefs.h. */
59898 #include <stdlib.h>
59899 int
59900 main ()
59901 {
59902 quick_exit(0);
59903 ;
59904 return 0;
59905 }
59906 _ACEOF
59907 if ac_fn_cxx_try_compile "$LINENO"; then :
59908 glibcxx_cv_func_quick_exit_use=yes
59909 else
59910 glibcxx_cv_func_quick_exit_use=no
59911 fi
59912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59913 ac_ext=c
59914 ac_cpp='$CPP $CPPFLAGS'
59915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59918
59919
59920 fi
59921
59922 fi
59923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59924 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59925 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59926 for ac_func in quick_exit
59927 do :
59928 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59929 if test "x$ac_cv_func_quick_exit" = xyes; then :
59930 cat >>confdefs.h <<_ACEOF
59931 #define HAVE_QUICK_EXIT 1
59932 _ACEOF
59933
59934 fi
59935 done
59936
59937 fi
59938
59939
59940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59941 $as_echo_n "checking for strtold declaration... " >&6; }
59942 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59943 if ${glibcxx_cv_func_strtold_use+:} false; then :
59944 $as_echo_n "(cached) " >&6
59945 else
59946
59947
59948 ac_ext=cpp
59949 ac_cpp='$CXXCPP $CPPFLAGS'
59950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59953
59954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59955 /* end confdefs.h. */
59956 #include <stdlib.h>
59957 int
59958 main ()
59959 {
59960 strtold(0, 0);
59961 ;
59962 return 0;
59963 }
59964 _ACEOF
59965 if ac_fn_cxx_try_compile "$LINENO"; then :
59966 glibcxx_cv_func_strtold_use=yes
59967 else
59968 glibcxx_cv_func_strtold_use=no
59969 fi
59970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59971 ac_ext=c
59972 ac_cpp='$CPP $CPPFLAGS'
59973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59976
59977
59978 fi
59979
59980 fi
59981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59982 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59983 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59984 for ac_func in strtold
59985 do :
59986 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59987 if test "x$ac_cv_func_strtold" = xyes; then :
59988 cat >>confdefs.h <<_ACEOF
59989 #define HAVE_STRTOLD 1
59990 _ACEOF
59991
59992 fi
59993 done
59994
59995 fi
59996
59997
59998
59999
60000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60001 $as_echo_n "checking for strtof declaration... " >&6; }
60002 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60003 if ${glibcxx_cv_func_strtof_use+:} false; then :
60004 $as_echo_n "(cached) " >&6
60005 else
60006
60007
60008 ac_ext=cpp
60009 ac_cpp='$CXXCPP $CPPFLAGS'
60010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60013
60014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60015 /* end confdefs.h. */
60016 #include <stdlib.h>
60017 int
60018 main ()
60019 {
60020 strtof(0, 0);
60021 ;
60022 return 0;
60023 }
60024 _ACEOF
60025 if ac_fn_cxx_try_compile "$LINENO"; then :
60026 glibcxx_cv_func_strtof_use=yes
60027 else
60028 glibcxx_cv_func_strtof_use=no
60029 fi
60030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60031 ac_ext=c
60032 ac_cpp='$CPP $CPPFLAGS'
60033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60036
60037
60038 fi
60039
60040 fi
60041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60042 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60043 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60044 for ac_func in strtof
60045 do :
60046 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60047 if test "x$ac_cv_func_strtof" = xyes; then :
60048 cat >>confdefs.h <<_ACEOF
60049 #define HAVE_STRTOF 1
60050 _ACEOF
60051
60052 fi
60053 done
60054
60055 fi
60056
60057
60058
60059
60060 CXXFLAGS="$ac_save_CXXFLAGS"
60061
60062 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
60063
60064 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
60065
60066
60067
60068 # Check whether --enable-tls was given.
60069 if test "${enable_tls+set}" = set; then :
60070 enableval=$enable_tls;
60071 case "$enableval" in
60072 yes|no) ;;
60073 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60074 esac
60075
60076 else
60077 enable_tls=yes
60078 fi
60079
60080
60081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60082 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60083 if ${gcc_cv_have_tls+:} false; then :
60084 $as_echo_n "(cached) " >&6
60085 else
60086
60087 if test "$cross_compiling" = yes; then :
60088 if test x$gcc_no_link = xyes; then
60089 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60090 fi
60091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60092 /* end confdefs.h. */
60093 __thread int a; int b; int main() { return a = b; }
60094 _ACEOF
60095 if ac_fn_c_try_link "$LINENO"; then :
60096 chktls_save_LDFLAGS="$LDFLAGS"
60097 case $host in
60098 *-*-linux*)
60099 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60100 ;;
60101 esac
60102 chktls_save_CFLAGS="$CFLAGS"
60103 CFLAGS="-fPIC $CFLAGS"
60104 if test x$gcc_no_link = xyes; then
60105 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60106 fi
60107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60108 /* end confdefs.h. */
60109 int f() { return 0; }
60110 _ACEOF
60111 if ac_fn_c_try_link "$LINENO"; then :
60112 if test x$gcc_no_link = xyes; then
60113 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60114 fi
60115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60116 /* end confdefs.h. */
60117 __thread int a; int b; int f() { return a = b; }
60118 _ACEOF
60119 if ac_fn_c_try_link "$LINENO"; then :
60120 gcc_cv_have_tls=yes
60121 else
60122 gcc_cv_have_tls=no
60123 fi
60124 rm -f core conftest.err conftest.$ac_objext \
60125 conftest$ac_exeext conftest.$ac_ext
60126 else
60127 gcc_cv_have_tls=yes
60128 fi
60129 rm -f core conftest.err conftest.$ac_objext \
60130 conftest$ac_exeext conftest.$ac_ext
60131 CFLAGS="$chktls_save_CFLAGS"
60132 LDFLAGS="$chktls_save_LDFLAGS"
60133 else
60134 gcc_cv_have_tls=no
60135 fi
60136 rm -f core conftest.err conftest.$ac_objext \
60137 conftest$ac_exeext conftest.$ac_ext
60138
60139
60140 else
60141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60142 /* end confdefs.h. */
60143 __thread int a; int b; int main() { return a = b; }
60144 _ACEOF
60145 if ac_fn_c_try_run "$LINENO"; then :
60146 chktls_save_LDFLAGS="$LDFLAGS"
60147 LDFLAGS="-static $LDFLAGS"
60148 if test x$gcc_no_link = xyes; then
60149 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60150 fi
60151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60152 /* end confdefs.h. */
60153 int main() { return 0; }
60154 _ACEOF
60155 if ac_fn_c_try_link "$LINENO"; then :
60156 if test "$cross_compiling" = yes; then :
60157 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60158 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60159 as_fn_error $? "cannot run test program while cross compiling
60160 See \`config.log' for more details" "$LINENO" 5; }
60161 else
60162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60163 /* end confdefs.h. */
60164 __thread int a; int b; int main() { return a = b; }
60165 _ACEOF
60166 if ac_fn_c_try_run "$LINENO"; then :
60167 gcc_cv_have_tls=yes
60168 else
60169 gcc_cv_have_tls=no
60170 fi
60171 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60172 conftest.$ac_objext conftest.beam conftest.$ac_ext
60173 fi
60174
60175 else
60176 gcc_cv_have_tls=yes
60177 fi
60178 rm -f core conftest.err conftest.$ac_objext \
60179 conftest$ac_exeext conftest.$ac_ext
60180 LDFLAGS="$chktls_save_LDFLAGS"
60181 if test $gcc_cv_have_tls = yes; then
60182 chktls_save_CFLAGS="$CFLAGS"
60183 thread_CFLAGS=failed
60184 for flag in '' '-pthread' '-lpthread'; do
60185 CFLAGS="$flag $chktls_save_CFLAGS"
60186 if test x$gcc_no_link = xyes; then
60187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60188 fi
60189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60190 /* end confdefs.h. */
60191 #include <pthread.h>
60192 void *g(void *d) { return NULL; }
60193 int
60194 main ()
60195 {
60196 pthread_t t; pthread_create(&t,NULL,g,NULL);
60197 ;
60198 return 0;
60199 }
60200 _ACEOF
60201 if ac_fn_c_try_link "$LINENO"; then :
60202 thread_CFLAGS="$flag"
60203 fi
60204 rm -f core conftest.err conftest.$ac_objext \
60205 conftest$ac_exeext conftest.$ac_ext
60206 if test "X$thread_CFLAGS" != Xfailed; then
60207 break
60208 fi
60209 done
60210 CFLAGS="$chktls_save_CFLAGS"
60211 if test "X$thread_CFLAGS" != Xfailed; then
60212 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60213 if test "$cross_compiling" = yes; then :
60214 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60215 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60216 as_fn_error $? "cannot run test program while cross compiling
60217 See \`config.log' for more details" "$LINENO" 5; }
60218 else
60219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60220 /* end confdefs.h. */
60221 #include <pthread.h>
60222 __thread int a;
60223 static int *volatile a_in_other_thread;
60224 static void *
60225 thread_func (void *arg)
60226 {
60227 a_in_other_thread = &a;
60228 return (void *)0;
60229 }
60230 int
60231 main ()
60232 {
60233 pthread_t thread;
60234 void *thread_retval;
60235 int *volatile a_in_main_thread;
60236 a_in_main_thread = &a;
60237 if (pthread_create (&thread, (pthread_attr_t *)0,
60238 thread_func, (void *)0))
60239 return 0;
60240 if (pthread_join (thread, &thread_retval))
60241 return 0;
60242 return (a_in_other_thread == a_in_main_thread);
60243 ;
60244 return 0;
60245 }
60246 _ACEOF
60247 if ac_fn_c_try_run "$LINENO"; then :
60248 gcc_cv_have_tls=yes
60249 else
60250 gcc_cv_have_tls=no
60251 fi
60252 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60253 conftest.$ac_objext conftest.beam conftest.$ac_ext
60254 fi
60255
60256 CFLAGS="$chktls_save_CFLAGS"
60257 fi
60258 fi
60259 else
60260 gcc_cv_have_tls=no
60261 fi
60262 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60263 conftest.$ac_objext conftest.beam conftest.$ac_ext
60264 fi
60265
60266 fi
60267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60268 $as_echo "$gcc_cv_have_tls" >&6; }
60269 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60270
60271 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60272
60273 fi
60274 for ac_func in __cxa_thread_atexit_impl
60275 do :
60276 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
60277 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
60278 cat >>confdefs.h <<_ACEOF
60279 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
60280 _ACEOF
60281
60282 fi
60283 done
60284
60285 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60286 do :
60287 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60288 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60289 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60290 cat >>confdefs.h <<_ACEOF
60291 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60292 _ACEOF
60293
60294 fi
60295 done
60296
60297 for ac_func in timespec_get
60298 do :
60299 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60300 if test "x$ac_cv_func_timespec_get" = xyes; then :
60301 cat >>confdefs.h <<_ACEOF
60302 #define HAVE_TIMESPEC_GET 1
60303 _ACEOF
60304
60305 fi
60306 done
60307
60308 for ac_func in sockatmark
60309 do :
60310 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60311 if test "x$ac_cv_func_sockatmark" = xyes; then :
60312 cat >>confdefs.h <<_ACEOF
60313 #define HAVE_SOCKATMARK 1
60314 _ACEOF
60315
60316 fi
60317 done
60318
60319
60320
60321
60322
60323
60324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60325 $as_echo_n "checking for iconv... " >&6; }
60326 if ${am_cv_func_iconv+:} false; then :
60327 $as_echo_n "(cached) " >&6
60328 else
60329
60330 am_cv_func_iconv="no, consider installing GNU libiconv"
60331 am_cv_lib_iconv=no
60332 am_save_CPPFLAGS="$CPPFLAGS"
60333 CPPFLAGS="$CPPFLAGS $INCICONV"
60334 if test x$gcc_no_link = xyes; then
60335 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60336 fi
60337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60338 /* end confdefs.h. */
60339 #include <stdlib.h>
60340 #include <iconv.h>
60341 int
60342 main ()
60343 {
60344 iconv_t cd = iconv_open("","");
60345 iconv(cd,NULL,NULL,NULL,NULL);
60346 iconv_close(cd);
60347 ;
60348 return 0;
60349 }
60350 _ACEOF
60351 if ac_fn_c_try_link "$LINENO"; then :
60352 am_cv_func_iconv=yes
60353 fi
60354 rm -f core conftest.err conftest.$ac_objext \
60355 conftest$ac_exeext conftest.$ac_ext
60356 CPPFLAGS="$am_save_CPPFLAGS"
60357
60358 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60359 for _libs in .libs _libs; do
60360 am_save_CPPFLAGS="$CPPFLAGS"
60361 am_save_LIBS="$LIBS"
60362 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60363 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60364 if test x$gcc_no_link = xyes; then
60365 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60366 fi
60367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60368 /* end confdefs.h. */
60369 #include <stdlib.h>
60370 #include <iconv.h>
60371 int
60372 main ()
60373 {
60374 iconv_t cd = iconv_open("","");
60375 iconv(cd,NULL,NULL,NULL,NULL);
60376 iconv_close(cd);
60377 ;
60378 return 0;
60379 }
60380 _ACEOF
60381 if ac_fn_c_try_link "$LINENO"; then :
60382 INCICONV="-I../libiconv/include"
60383 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60384 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60385 am_cv_lib_iconv=yes
60386 am_cv_func_iconv=yes
60387 fi
60388 rm -f core conftest.err conftest.$ac_objext \
60389 conftest$ac_exeext conftest.$ac_ext
60390 CPPFLAGS="$am_save_CPPFLAGS"
60391 LIBS="$am_save_LIBS"
60392 if test "$am_cv_func_iconv" = "yes"; then
60393 break
60394 fi
60395 done
60396 fi
60397
60398 if test "$am_cv_func_iconv" != yes; then
60399 am_save_CPPFLAGS="$CPPFLAGS"
60400 am_save_LIBS="$LIBS"
60401 CPPFLAGS="$CPPFLAGS $INCICONV"
60402 LIBS="$LIBS $LIBICONV"
60403 if test x$gcc_no_link = xyes; then
60404 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60405 fi
60406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60407 /* end confdefs.h. */
60408 #include <stdlib.h>
60409 #include <iconv.h>
60410 int
60411 main ()
60412 {
60413 iconv_t cd = iconv_open("","");
60414 iconv(cd,NULL,NULL,NULL,NULL);
60415 iconv_close(cd);
60416 ;
60417 return 0;
60418 }
60419 _ACEOF
60420 if ac_fn_c_try_link "$LINENO"; then :
60421 am_cv_lib_iconv=yes
60422 am_cv_func_iconv=yes
60423 fi
60424 rm -f core conftest.err conftest.$ac_objext \
60425 conftest$ac_exeext conftest.$ac_ext
60426 CPPFLAGS="$am_save_CPPFLAGS"
60427 LIBS="$am_save_LIBS"
60428 fi
60429
60430 fi
60431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60432 $as_echo "$am_cv_func_iconv" >&6; }
60433 if test "$am_cv_func_iconv" = yes; then
60434
60435 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60436
60437 fi
60438 if test "$am_cv_lib_iconv" = yes; then
60439
60440 for element in $INCICONV; do
60441 haveit=
60442 for x in $CPPFLAGS; do
60443
60444 acl_save_prefix="$prefix"
60445 prefix="$acl_final_prefix"
60446 acl_save_exec_prefix="$exec_prefix"
60447 exec_prefix="$acl_final_exec_prefix"
60448 eval x=\"$x\"
60449 exec_prefix="$acl_save_exec_prefix"
60450 prefix="$acl_save_prefix"
60451
60452 if test "X$x" = "X$element"; then
60453 haveit=yes
60454 break
60455 fi
60456 done
60457 if test -z "$haveit"; then
60458 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60459 fi
60460 done
60461
60462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60463 $as_echo_n "checking how to link with libiconv... " >&6; }
60464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60465 $as_echo "$LIBICONV" >&6; }
60466 else
60467 LIBICONV=
60468 LTLIBICONV=
60469 fi
60470
60471
60472
60473 if test "$am_cv_func_iconv" = yes; then
60474 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60475 $as_echo_n "checking for iconv declaration... " >&6; }
60476 if ${am_cv_proto_iconv+:} false; then :
60477 $as_echo_n "(cached) " >&6
60478 else
60479
60480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60481 /* end confdefs.h. */
60482
60483 #include <stdlib.h>
60484 #include <iconv.h>
60485 extern
60486 #ifdef __cplusplus
60487 "C"
60488 #endif
60489 #if defined(__STDC__) || defined(__cplusplus)
60490 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60491 #else
60492 size_t iconv();
60493 #endif
60494
60495 int
60496 main ()
60497 {
60498
60499 ;
60500 return 0;
60501 }
60502 _ACEOF
60503 if ac_fn_c_try_compile "$LINENO"; then :
60504 am_cv_proto_iconv_arg1=""
60505 else
60506 am_cv_proto_iconv_arg1="const"
60507 fi
60508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60509 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);"
60510 fi
60511
60512 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60514 }$am_cv_proto_iconv" >&5
60515 $as_echo "${ac_t:-
60516 }$am_cv_proto_iconv" >&6; }
60517
60518 cat >>confdefs.h <<_ACEOF
60519 #define ICONV_CONST $am_cv_proto_iconv_arg1
60520 _ACEOF
60521
60522 fi
60523
60524 ;;
60525 *-mingw32*)
60526
60527 # If we're not using GNU ld, then there's no point in even trying these
60528 # tests. Check for that first. We should have already tested for gld
60529 # by now (in libtool), but require it now just to be safe...
60530 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60531 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60532
60533
60534
60535 # The name set by libtool depends on the version of libtool. Shame on us
60536 # for depending on an impl detail, but c'est la vie. Older versions used
60537 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60538 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60539 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60540 # set (hence we're using an older libtool), then set it.
60541 if test x${with_gnu_ld+set} != xset; then
60542 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60543 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60544 with_gnu_ld=no
60545 else
60546 with_gnu_ld=$ac_cv_prog_gnu_ld
60547 fi
60548 fi
60549
60550 # Start by getting the version number. I think the libtool test already
60551 # does some of this, but throws away the result.
60552 glibcxx_ld_is_gold=no
60553 if test x"$with_gnu_ld" = x"yes"; then
60554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60555 $as_echo_n "checking for ld version... " >&6; }
60556
60557 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60558 glibcxx_ld_is_gold=yes
60559 fi
60560 ldver=`$LD --version 2>/dev/null |
60561 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'`
60562
60563 glibcxx_gnu_ld_version=`echo $ldver | \
60564 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60566 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60567 fi
60568
60569 # Set --gc-sections.
60570 glibcxx_have_gc_sections=no
60571 if test "$glibcxx_ld_is_gold" = "yes"; then
60572 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60573 glibcxx_have_gc_sections=yes
60574 fi
60575 else
60576 glibcxx_gcsections_min_ld=21602
60577 if test x"$with_gnu_ld" = x"yes" &&
60578 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60579 glibcxx_have_gc_sections=yes
60580 fi
60581 fi
60582 if test "$glibcxx_have_gc_sections" = "yes"; then
60583 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60584 # NB: This flag only works reliably after 2.16.1. Configure tests
60585 # for this are difficult, so hard wire a value that should work.
60586
60587 ac_test_CFLAGS="${CFLAGS+set}"
60588 ac_save_CFLAGS="$CFLAGS"
60589 CFLAGS='-Wl,--gc-sections'
60590
60591 # Check for -Wl,--gc-sections
60592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60593 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60594 if test x$gcc_no_link = xyes; then
60595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60596 fi
60597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60598 /* end confdefs.h. */
60599 int one(void) { return 1; }
60600 int two(void) { return 2; }
60601
60602 int
60603 main ()
60604 {
60605 two();
60606 ;
60607 return 0;
60608 }
60609 _ACEOF
60610 if ac_fn_c_try_link "$LINENO"; then :
60611 ac_gcsections=yes
60612 else
60613 ac_gcsections=no
60614 fi
60615 rm -f core conftest.err conftest.$ac_objext \
60616 conftest$ac_exeext conftest.$ac_ext
60617 if test "$ac_gcsections" = "yes"; then
60618 rm -f conftest.c
60619 touch conftest.c
60620 if $CC -c conftest.c; then
60621 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60622 grep "Warning: gc-sections option ignored" > /dev/null; then
60623 ac_gcsections=no
60624 fi
60625 fi
60626 rm -f conftest.c conftest.o conftest
60627 fi
60628 if test "$ac_gcsections" = "yes"; then
60629 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60630 fi
60631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60632 $as_echo "$ac_gcsections" >&6; }
60633
60634 if test "$ac_test_CFLAGS" = set; then
60635 CFLAGS="$ac_save_CFLAGS"
60636 else
60637 # this is the suspicious part
60638 CFLAGS=''
60639 fi
60640 fi
60641
60642 # Set -z,relro.
60643 # Note this is only for shared objects.
60644 ac_ld_relro=no
60645 if test x"$with_gnu_ld" = x"yes"; then
60646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60647 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60648 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60649 if test -n "$cxx_z_relo"; then
60650 OPT_LDFLAGS="-Wl,-z,relro"
60651 ac_ld_relro=yes
60652 fi
60653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60654 $as_echo "$ac_ld_relro" >&6; }
60655 fi
60656
60657 # Set linker optimization flags.
60658 if test x"$with_gnu_ld" = x"yes"; then
60659 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60660 fi
60661
60662
60663
60664
60665
60666 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60667 ac_save_CXXFLAGS="$CXXFLAGS"
60668 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60669
60670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60671 $as_echo_n "checking for sin in -lm... " >&6; }
60672 if ${ac_cv_lib_m_sin+:} false; then :
60673 $as_echo_n "(cached) " >&6
60674 else
60675 ac_check_lib_save_LIBS=$LIBS
60676 LIBS="-lm $LIBS"
60677 if test x$gcc_no_link = xyes; then
60678 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60679 fi
60680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60681 /* end confdefs.h. */
60682
60683 /* Override any GCC internal prototype to avoid an error.
60684 Use char because int might match the return type of a GCC
60685 builtin and then its argument prototype would still apply. */
60686 #ifdef __cplusplus
60687 extern "C"
60688 #endif
60689 char sin ();
60690 int
60691 main ()
60692 {
60693 return sin ();
60694 ;
60695 return 0;
60696 }
60697 _ACEOF
60698 if ac_fn_c_try_link "$LINENO"; then :
60699 ac_cv_lib_m_sin=yes
60700 else
60701 ac_cv_lib_m_sin=no
60702 fi
60703 rm -f core conftest.err conftest.$ac_objext \
60704 conftest$ac_exeext conftest.$ac_ext
60705 LIBS=$ac_check_lib_save_LIBS
60706 fi
60707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60708 $as_echo "$ac_cv_lib_m_sin" >&6; }
60709 if test "x$ac_cv_lib_m_sin" = xyes; then :
60710 libm="-lm"
60711 fi
60712
60713 ac_save_LIBS="$LIBS"
60714 LIBS="$LIBS $libm"
60715
60716
60717
60718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60719 $as_echo_n "checking for isinf declaration... " >&6; }
60720 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60721 if ${glibcxx_cv_func_isinf_use+:} false; then :
60722 $as_echo_n "(cached) " >&6
60723 else
60724
60725
60726 ac_ext=cpp
60727 ac_cpp='$CXXCPP $CPPFLAGS'
60728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60731
60732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60733 /* end confdefs.h. */
60734 #include <math.h>
60735 #ifdef HAVE_IEEEFP_H
60736 #include <ieeefp.h>
60737 #endif
60738
60739 int
60740 main ()
60741 {
60742 isinf(0);
60743 ;
60744 return 0;
60745 }
60746 _ACEOF
60747 if ac_fn_cxx_try_compile "$LINENO"; then :
60748 glibcxx_cv_func_isinf_use=yes
60749 else
60750 glibcxx_cv_func_isinf_use=no
60751 fi
60752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60753 ac_ext=c
60754 ac_cpp='$CPP $CPPFLAGS'
60755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60758
60759
60760 fi
60761
60762 fi
60763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60764 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60765
60766 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60767 for ac_func in isinf
60768 do :
60769 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60770 if test "x$ac_cv_func_isinf" = xyes; then :
60771 cat >>confdefs.h <<_ACEOF
60772 #define HAVE_ISINF 1
60773 _ACEOF
60774
60775 fi
60776 done
60777
60778 else
60779
60780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60781 $as_echo_n "checking for _isinf declaration... " >&6; }
60782 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60783 if ${glibcxx_cv_func__isinf_use+:} false; then :
60784 $as_echo_n "(cached) " >&6
60785 else
60786
60787
60788 ac_ext=cpp
60789 ac_cpp='$CXXCPP $CPPFLAGS'
60790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60793
60794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60795 /* end confdefs.h. */
60796 #include <math.h>
60797 #ifdef HAVE_IEEEFP_H
60798 #include <ieeefp.h>
60799 #endif
60800
60801 int
60802 main ()
60803 {
60804 _isinf(0);
60805 ;
60806 return 0;
60807 }
60808 _ACEOF
60809 if ac_fn_cxx_try_compile "$LINENO"; then :
60810 glibcxx_cv_func__isinf_use=yes
60811 else
60812 glibcxx_cv_func__isinf_use=no
60813 fi
60814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60815 ac_ext=c
60816 ac_cpp='$CPP $CPPFLAGS'
60817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60820
60821
60822 fi
60823
60824 fi
60825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60826 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60827
60828 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60829 for ac_func in _isinf
60830 do :
60831 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60832 if test "x$ac_cv_func__isinf" = xyes; then :
60833 cat >>confdefs.h <<_ACEOF
60834 #define HAVE__ISINF 1
60835 _ACEOF
60836
60837 fi
60838 done
60839
60840 fi
60841 fi
60842
60843
60844
60845
60846
60847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60848 $as_echo_n "checking for isnan declaration... " >&6; }
60849 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60850 if ${glibcxx_cv_func_isnan_use+:} false; then :
60851 $as_echo_n "(cached) " >&6
60852 else
60853
60854
60855 ac_ext=cpp
60856 ac_cpp='$CXXCPP $CPPFLAGS'
60857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60860
60861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60862 /* end confdefs.h. */
60863 #include <math.h>
60864 #ifdef HAVE_IEEEFP_H
60865 #include <ieeefp.h>
60866 #endif
60867
60868 int
60869 main ()
60870 {
60871 isnan(0);
60872 ;
60873 return 0;
60874 }
60875 _ACEOF
60876 if ac_fn_cxx_try_compile "$LINENO"; then :
60877 glibcxx_cv_func_isnan_use=yes
60878 else
60879 glibcxx_cv_func_isnan_use=no
60880 fi
60881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60882 ac_ext=c
60883 ac_cpp='$CPP $CPPFLAGS'
60884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60887
60888
60889 fi
60890
60891 fi
60892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60893 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60894
60895 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60896 for ac_func in isnan
60897 do :
60898 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60899 if test "x$ac_cv_func_isnan" = xyes; then :
60900 cat >>confdefs.h <<_ACEOF
60901 #define HAVE_ISNAN 1
60902 _ACEOF
60903
60904 fi
60905 done
60906
60907 else
60908
60909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60910 $as_echo_n "checking for _isnan declaration... " >&6; }
60911 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60912 if ${glibcxx_cv_func__isnan_use+:} false; then :
60913 $as_echo_n "(cached) " >&6
60914 else
60915
60916
60917 ac_ext=cpp
60918 ac_cpp='$CXXCPP $CPPFLAGS'
60919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60922
60923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60924 /* end confdefs.h. */
60925 #include <math.h>
60926 #ifdef HAVE_IEEEFP_H
60927 #include <ieeefp.h>
60928 #endif
60929
60930 int
60931 main ()
60932 {
60933 _isnan(0);
60934 ;
60935 return 0;
60936 }
60937 _ACEOF
60938 if ac_fn_cxx_try_compile "$LINENO"; then :
60939 glibcxx_cv_func__isnan_use=yes
60940 else
60941 glibcxx_cv_func__isnan_use=no
60942 fi
60943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60944 ac_ext=c
60945 ac_cpp='$CPP $CPPFLAGS'
60946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60949
60950
60951 fi
60952
60953 fi
60954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60955 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60956
60957 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60958 for ac_func in _isnan
60959 do :
60960 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60961 if test "x$ac_cv_func__isnan" = xyes; then :
60962 cat >>confdefs.h <<_ACEOF
60963 #define HAVE__ISNAN 1
60964 _ACEOF
60965
60966 fi
60967 done
60968
60969 fi
60970 fi
60971
60972
60973
60974
60975
60976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60977 $as_echo_n "checking for finite declaration... " >&6; }
60978 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60979 if ${glibcxx_cv_func_finite_use+:} false; then :
60980 $as_echo_n "(cached) " >&6
60981 else
60982
60983
60984 ac_ext=cpp
60985 ac_cpp='$CXXCPP $CPPFLAGS'
60986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60989
60990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60991 /* end confdefs.h. */
60992 #include <math.h>
60993 #ifdef HAVE_IEEEFP_H
60994 #include <ieeefp.h>
60995 #endif
60996
60997 int
60998 main ()
60999 {
61000 finite(0);
61001 ;
61002 return 0;
61003 }
61004 _ACEOF
61005 if ac_fn_cxx_try_compile "$LINENO"; then :
61006 glibcxx_cv_func_finite_use=yes
61007 else
61008 glibcxx_cv_func_finite_use=no
61009 fi
61010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61011 ac_ext=c
61012 ac_cpp='$CPP $CPPFLAGS'
61013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61016
61017
61018 fi
61019
61020 fi
61021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61022 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61023
61024 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61025 for ac_func in finite
61026 do :
61027 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61028 if test "x$ac_cv_func_finite" = xyes; then :
61029 cat >>confdefs.h <<_ACEOF
61030 #define HAVE_FINITE 1
61031 _ACEOF
61032
61033 fi
61034 done
61035
61036 else
61037
61038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61039 $as_echo_n "checking for _finite declaration... " >&6; }
61040 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61041 if ${glibcxx_cv_func__finite_use+:} false; then :
61042 $as_echo_n "(cached) " >&6
61043 else
61044
61045
61046 ac_ext=cpp
61047 ac_cpp='$CXXCPP $CPPFLAGS'
61048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61051
61052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61053 /* end confdefs.h. */
61054 #include <math.h>
61055 #ifdef HAVE_IEEEFP_H
61056 #include <ieeefp.h>
61057 #endif
61058
61059 int
61060 main ()
61061 {
61062 _finite(0);
61063 ;
61064 return 0;
61065 }
61066 _ACEOF
61067 if ac_fn_cxx_try_compile "$LINENO"; then :
61068 glibcxx_cv_func__finite_use=yes
61069 else
61070 glibcxx_cv_func__finite_use=no
61071 fi
61072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61073 ac_ext=c
61074 ac_cpp='$CPP $CPPFLAGS'
61075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61078
61079
61080 fi
61081
61082 fi
61083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61084 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61085
61086 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61087 for ac_func in _finite
61088 do :
61089 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61090 if test "x$ac_cv_func__finite" = xyes; then :
61091 cat >>confdefs.h <<_ACEOF
61092 #define HAVE__FINITE 1
61093 _ACEOF
61094
61095 fi
61096 done
61097
61098 fi
61099 fi
61100
61101
61102
61103
61104
61105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61106 $as_echo_n "checking for sincos declaration... " >&6; }
61107 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61108 if ${glibcxx_cv_func_sincos_use+:} false; then :
61109 $as_echo_n "(cached) " >&6
61110 else
61111
61112
61113 ac_ext=cpp
61114 ac_cpp='$CXXCPP $CPPFLAGS'
61115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61118
61119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61120 /* end confdefs.h. */
61121 #include <math.h>
61122 int
61123 main ()
61124 {
61125 sincos(0, 0, 0);
61126 ;
61127 return 0;
61128 }
61129 _ACEOF
61130 if ac_fn_cxx_try_compile "$LINENO"; then :
61131 glibcxx_cv_func_sincos_use=yes
61132 else
61133 glibcxx_cv_func_sincos_use=no
61134 fi
61135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61136 ac_ext=c
61137 ac_cpp='$CPP $CPPFLAGS'
61138 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61139 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61140 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61141
61142
61143 fi
61144
61145 fi
61146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61147 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61148
61149 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61150 for ac_func in sincos
61151 do :
61152 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61153 if test "x$ac_cv_func_sincos" = xyes; then :
61154 cat >>confdefs.h <<_ACEOF
61155 #define HAVE_SINCOS 1
61156 _ACEOF
61157
61158 fi
61159 done
61160
61161 else
61162
61163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61164 $as_echo_n "checking for _sincos declaration... " >&6; }
61165 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61166 if ${glibcxx_cv_func__sincos_use+:} false; then :
61167 $as_echo_n "(cached) " >&6
61168 else
61169
61170
61171 ac_ext=cpp
61172 ac_cpp='$CXXCPP $CPPFLAGS'
61173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61176
61177 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61178 /* end confdefs.h. */
61179 #include <math.h>
61180 int
61181 main ()
61182 {
61183 _sincos(0, 0, 0);
61184 ;
61185 return 0;
61186 }
61187 _ACEOF
61188 if ac_fn_cxx_try_compile "$LINENO"; then :
61189 glibcxx_cv_func__sincos_use=yes
61190 else
61191 glibcxx_cv_func__sincos_use=no
61192 fi
61193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61194 ac_ext=c
61195 ac_cpp='$CPP $CPPFLAGS'
61196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61199
61200
61201 fi
61202
61203 fi
61204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61205 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61206
61207 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61208 for ac_func in _sincos
61209 do :
61210 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61211 if test "x$ac_cv_func__sincos" = xyes; then :
61212 cat >>confdefs.h <<_ACEOF
61213 #define HAVE__SINCOS 1
61214 _ACEOF
61215
61216 fi
61217 done
61218
61219 fi
61220 fi
61221
61222
61223
61224
61225
61226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61227 $as_echo_n "checking for fpclass declaration... " >&6; }
61228 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61229 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61230 $as_echo_n "(cached) " >&6
61231 else
61232
61233
61234 ac_ext=cpp
61235 ac_cpp='$CXXCPP $CPPFLAGS'
61236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61239
61240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61241 /* end confdefs.h. */
61242 #include <math.h>
61243 #ifdef HAVE_IEEEFP_H
61244 #include <ieeefp.h>
61245 #endif
61246
61247 int
61248 main ()
61249 {
61250 fpclass(0);
61251 ;
61252 return 0;
61253 }
61254 _ACEOF
61255 if ac_fn_cxx_try_compile "$LINENO"; then :
61256 glibcxx_cv_func_fpclass_use=yes
61257 else
61258 glibcxx_cv_func_fpclass_use=no
61259 fi
61260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61261 ac_ext=c
61262 ac_cpp='$CPP $CPPFLAGS'
61263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61266
61267
61268 fi
61269
61270 fi
61271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61272 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61273
61274 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61275 for ac_func in fpclass
61276 do :
61277 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61278 if test "x$ac_cv_func_fpclass" = xyes; then :
61279 cat >>confdefs.h <<_ACEOF
61280 #define HAVE_FPCLASS 1
61281 _ACEOF
61282
61283 fi
61284 done
61285
61286 else
61287
61288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61289 $as_echo_n "checking for _fpclass declaration... " >&6; }
61290 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61291 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61292 $as_echo_n "(cached) " >&6
61293 else
61294
61295
61296 ac_ext=cpp
61297 ac_cpp='$CXXCPP $CPPFLAGS'
61298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61301
61302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61303 /* end confdefs.h. */
61304 #include <math.h>
61305 #ifdef HAVE_IEEEFP_H
61306 #include <ieeefp.h>
61307 #endif
61308
61309 int
61310 main ()
61311 {
61312 _fpclass(0);
61313 ;
61314 return 0;
61315 }
61316 _ACEOF
61317 if ac_fn_cxx_try_compile "$LINENO"; then :
61318 glibcxx_cv_func__fpclass_use=yes
61319 else
61320 glibcxx_cv_func__fpclass_use=no
61321 fi
61322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61323 ac_ext=c
61324 ac_cpp='$CPP $CPPFLAGS'
61325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61328
61329
61330 fi
61331
61332 fi
61333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61334 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61335
61336 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61337 for ac_func in _fpclass
61338 do :
61339 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61340 if test "x$ac_cv_func__fpclass" = xyes; then :
61341 cat >>confdefs.h <<_ACEOF
61342 #define HAVE__FPCLASS 1
61343 _ACEOF
61344
61345 fi
61346 done
61347
61348 fi
61349 fi
61350
61351
61352
61353
61354
61355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61356 $as_echo_n "checking for qfpclass declaration... " >&6; }
61357 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61358 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61359 $as_echo_n "(cached) " >&6
61360 else
61361
61362
61363 ac_ext=cpp
61364 ac_cpp='$CXXCPP $CPPFLAGS'
61365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61368
61369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61370 /* end confdefs.h. */
61371 #include <math.h>
61372 #ifdef HAVE_IEEEFP_H
61373 #include <ieeefp.h>
61374 #endif
61375
61376 int
61377 main ()
61378 {
61379 qfpclass(0);
61380 ;
61381 return 0;
61382 }
61383 _ACEOF
61384 if ac_fn_cxx_try_compile "$LINENO"; then :
61385 glibcxx_cv_func_qfpclass_use=yes
61386 else
61387 glibcxx_cv_func_qfpclass_use=no
61388 fi
61389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61390 ac_ext=c
61391 ac_cpp='$CPP $CPPFLAGS'
61392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61395
61396
61397 fi
61398
61399 fi
61400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61401 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61402
61403 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61404 for ac_func in qfpclass
61405 do :
61406 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61407 if test "x$ac_cv_func_qfpclass" = xyes; then :
61408 cat >>confdefs.h <<_ACEOF
61409 #define HAVE_QFPCLASS 1
61410 _ACEOF
61411
61412 fi
61413 done
61414
61415 else
61416
61417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61418 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61419 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61420 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61421 $as_echo_n "(cached) " >&6
61422 else
61423
61424
61425 ac_ext=cpp
61426 ac_cpp='$CXXCPP $CPPFLAGS'
61427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61430
61431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61432 /* end confdefs.h. */
61433 #include <math.h>
61434 #ifdef HAVE_IEEEFP_H
61435 #include <ieeefp.h>
61436 #endif
61437
61438 int
61439 main ()
61440 {
61441 _qfpclass(0);
61442 ;
61443 return 0;
61444 }
61445 _ACEOF
61446 if ac_fn_cxx_try_compile "$LINENO"; then :
61447 glibcxx_cv_func__qfpclass_use=yes
61448 else
61449 glibcxx_cv_func__qfpclass_use=no
61450 fi
61451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61452 ac_ext=c
61453 ac_cpp='$CPP $CPPFLAGS'
61454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61457
61458
61459 fi
61460
61461 fi
61462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61463 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61464
61465 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61466 for ac_func in _qfpclass
61467 do :
61468 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61469 if test "x$ac_cv_func__qfpclass" = xyes; then :
61470 cat >>confdefs.h <<_ACEOF
61471 #define HAVE__QFPCLASS 1
61472 _ACEOF
61473
61474 fi
61475 done
61476
61477 fi
61478 fi
61479
61480
61481
61482
61483
61484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61485 $as_echo_n "checking for hypot declaration... " >&6; }
61486 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61487 if ${glibcxx_cv_func_hypot_use+:} false; then :
61488 $as_echo_n "(cached) " >&6
61489 else
61490
61491
61492 ac_ext=cpp
61493 ac_cpp='$CXXCPP $CPPFLAGS'
61494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61497
61498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61499 /* end confdefs.h. */
61500 #include <math.h>
61501 int
61502 main ()
61503 {
61504 hypot(0, 0);
61505 ;
61506 return 0;
61507 }
61508 _ACEOF
61509 if ac_fn_cxx_try_compile "$LINENO"; then :
61510 glibcxx_cv_func_hypot_use=yes
61511 else
61512 glibcxx_cv_func_hypot_use=no
61513 fi
61514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61515 ac_ext=c
61516 ac_cpp='$CPP $CPPFLAGS'
61517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61520
61521
61522 fi
61523
61524 fi
61525 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61526 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61527
61528 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61529 for ac_func in hypot
61530 do :
61531 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61532 if test "x$ac_cv_func_hypot" = xyes; then :
61533 cat >>confdefs.h <<_ACEOF
61534 #define HAVE_HYPOT 1
61535 _ACEOF
61536
61537 fi
61538 done
61539
61540 else
61541
61542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61543 $as_echo_n "checking for _hypot declaration... " >&6; }
61544 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61545 if ${glibcxx_cv_func__hypot_use+:} false; then :
61546 $as_echo_n "(cached) " >&6
61547 else
61548
61549
61550 ac_ext=cpp
61551 ac_cpp='$CXXCPP $CPPFLAGS'
61552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61555
61556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61557 /* end confdefs.h. */
61558 #include <math.h>
61559 int
61560 main ()
61561 {
61562 _hypot(0, 0);
61563 ;
61564 return 0;
61565 }
61566 _ACEOF
61567 if ac_fn_cxx_try_compile "$LINENO"; then :
61568 glibcxx_cv_func__hypot_use=yes
61569 else
61570 glibcxx_cv_func__hypot_use=no
61571 fi
61572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61573 ac_ext=c
61574 ac_cpp='$CPP $CPPFLAGS'
61575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61578
61579
61580 fi
61581
61582 fi
61583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61584 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61585
61586 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61587 for ac_func in _hypot
61588 do :
61589 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61590 if test "x$ac_cv_func__hypot" = xyes; then :
61591 cat >>confdefs.h <<_ACEOF
61592 #define HAVE__HYPOT 1
61593 _ACEOF
61594
61595 fi
61596 done
61597
61598 fi
61599 fi
61600
61601
61602
61603
61604
61605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61606 $as_echo_n "checking for float trig functions... " >&6; }
61607 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61608 $as_echo_n "(cached) " >&6
61609 else
61610
61611
61612 ac_ext=cpp
61613 ac_cpp='$CXXCPP $CPPFLAGS'
61614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61617
61618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61619 /* end confdefs.h. */
61620 #include <math.h>
61621 int
61622 main ()
61623 {
61624 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61625 ;
61626 return 0;
61627 }
61628 _ACEOF
61629 if ac_fn_cxx_try_compile "$LINENO"; then :
61630 glibcxx_cv_func_float_trig_use=yes
61631 else
61632 glibcxx_cv_func_float_trig_use=no
61633 fi
61634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61635 ac_ext=c
61636 ac_cpp='$CPP $CPPFLAGS'
61637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61640
61641 fi
61642
61643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61644 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61645 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61646 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61647 do :
61648 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61649 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61650 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61651 cat >>confdefs.h <<_ACEOF
61652 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61653 _ACEOF
61654
61655 fi
61656 done
61657
61658 else
61659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61660 $as_echo_n "checking for _float trig functions... " >&6; }
61661 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61662 $as_echo_n "(cached) " >&6
61663 else
61664
61665
61666 ac_ext=cpp
61667 ac_cpp='$CXXCPP $CPPFLAGS'
61668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61671
61672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61673 /* end confdefs.h. */
61674 #include <math.h>
61675 int
61676 main ()
61677 {
61678 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61679 ;
61680 return 0;
61681 }
61682 _ACEOF
61683 if ac_fn_cxx_try_compile "$LINENO"; then :
61684 glibcxx_cv_func__float_trig_use=yes
61685 else
61686 glibcxx_cv_func__float_trig_use=no
61687 fi
61688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61689 ac_ext=c
61690 ac_cpp='$CPP $CPPFLAGS'
61691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61694
61695 fi
61696
61697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61698 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61699 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61700 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61701 do :
61702 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61703 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61704 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61705 cat >>confdefs.h <<_ACEOF
61706 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61707 _ACEOF
61708
61709 fi
61710 done
61711
61712 fi
61713 fi
61714
61715
61716
61717
61718
61719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61720 $as_echo_n "checking for float round functions... " >&6; }
61721 if ${glibcxx_cv_func_float_round_use+:} false; then :
61722 $as_echo_n "(cached) " >&6
61723 else
61724
61725
61726 ac_ext=cpp
61727 ac_cpp='$CXXCPP $CPPFLAGS'
61728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61731
61732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61733 /* end confdefs.h. */
61734 #include <math.h>
61735 int
61736 main ()
61737 {
61738 ceilf (0); floorf (0);
61739 ;
61740 return 0;
61741 }
61742 _ACEOF
61743 if ac_fn_cxx_try_compile "$LINENO"; then :
61744 glibcxx_cv_func_float_round_use=yes
61745 else
61746 glibcxx_cv_func_float_round_use=no
61747 fi
61748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61749 ac_ext=c
61750 ac_cpp='$CPP $CPPFLAGS'
61751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61754
61755 fi
61756
61757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61758 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61759 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61760 for ac_func in ceilf floorf
61761 do :
61762 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61763 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61764 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61765 cat >>confdefs.h <<_ACEOF
61766 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61767 _ACEOF
61768
61769 fi
61770 done
61771
61772 else
61773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61774 $as_echo_n "checking for _float round functions... " >&6; }
61775 if ${glibcxx_cv_func__float_round_use+:} false; then :
61776 $as_echo_n "(cached) " >&6
61777 else
61778
61779
61780 ac_ext=cpp
61781 ac_cpp='$CXXCPP $CPPFLAGS'
61782 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61783 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61784 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61785
61786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61787 /* end confdefs.h. */
61788 #include <math.h>
61789 int
61790 main ()
61791 {
61792 _ceilf (0); _floorf (0);
61793 ;
61794 return 0;
61795 }
61796 _ACEOF
61797 if ac_fn_cxx_try_compile "$LINENO"; then :
61798 glibcxx_cv_func__float_round_use=yes
61799 else
61800 glibcxx_cv_func__float_round_use=no
61801 fi
61802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61803 ac_ext=c
61804 ac_cpp='$CPP $CPPFLAGS'
61805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61808
61809 fi
61810
61811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61812 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61813 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61814 for ac_func in _ceilf _floorf
61815 do :
61816 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61817 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61818 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61819 cat >>confdefs.h <<_ACEOF
61820 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61821 _ACEOF
61822
61823 fi
61824 done
61825
61826 fi
61827 fi
61828
61829
61830
61831
61832
61833
61834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61835 $as_echo_n "checking for expf declaration... " >&6; }
61836 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61837 if ${glibcxx_cv_func_expf_use+:} false; then :
61838 $as_echo_n "(cached) " >&6
61839 else
61840
61841
61842 ac_ext=cpp
61843 ac_cpp='$CXXCPP $CPPFLAGS'
61844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61847
61848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61849 /* end confdefs.h. */
61850 #include <math.h>
61851 #ifdef HAVE_IEEEFP_H
61852 #include <ieeefp.h>
61853 #endif
61854
61855 int
61856 main ()
61857 {
61858 expf(0);
61859 ;
61860 return 0;
61861 }
61862 _ACEOF
61863 if ac_fn_cxx_try_compile "$LINENO"; then :
61864 glibcxx_cv_func_expf_use=yes
61865 else
61866 glibcxx_cv_func_expf_use=no
61867 fi
61868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61869 ac_ext=c
61870 ac_cpp='$CPP $CPPFLAGS'
61871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61874
61875
61876 fi
61877
61878 fi
61879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61880 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61881
61882 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61883 for ac_func in expf
61884 do :
61885 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61886 if test "x$ac_cv_func_expf" = xyes; then :
61887 cat >>confdefs.h <<_ACEOF
61888 #define HAVE_EXPF 1
61889 _ACEOF
61890
61891 fi
61892 done
61893
61894 else
61895
61896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61897 $as_echo_n "checking for _expf declaration... " >&6; }
61898 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61899 if ${glibcxx_cv_func__expf_use+:} false; then :
61900 $as_echo_n "(cached) " >&6
61901 else
61902
61903
61904 ac_ext=cpp
61905 ac_cpp='$CXXCPP $CPPFLAGS'
61906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61909
61910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61911 /* end confdefs.h. */
61912 #include <math.h>
61913 #ifdef HAVE_IEEEFP_H
61914 #include <ieeefp.h>
61915 #endif
61916
61917 int
61918 main ()
61919 {
61920 _expf(0);
61921 ;
61922 return 0;
61923 }
61924 _ACEOF
61925 if ac_fn_cxx_try_compile "$LINENO"; then :
61926 glibcxx_cv_func__expf_use=yes
61927 else
61928 glibcxx_cv_func__expf_use=no
61929 fi
61930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61931 ac_ext=c
61932 ac_cpp='$CPP $CPPFLAGS'
61933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61936
61937
61938 fi
61939
61940 fi
61941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61942 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61943
61944 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61945 for ac_func in _expf
61946 do :
61947 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61948 if test "x$ac_cv_func__expf" = xyes; then :
61949 cat >>confdefs.h <<_ACEOF
61950 #define HAVE__EXPF 1
61951 _ACEOF
61952
61953 fi
61954 done
61955
61956 fi
61957 fi
61958
61959
61960
61961
61962
61963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61964 $as_echo_n "checking for isnanf declaration... " >&6; }
61965 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61966 if ${glibcxx_cv_func_isnanf_use+:} false; then :
61967 $as_echo_n "(cached) " >&6
61968 else
61969
61970
61971 ac_ext=cpp
61972 ac_cpp='$CXXCPP $CPPFLAGS'
61973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61976
61977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61978 /* end confdefs.h. */
61979 #include <math.h>
61980 #ifdef HAVE_IEEEFP_H
61981 #include <ieeefp.h>
61982 #endif
61983
61984 int
61985 main ()
61986 {
61987 isnanf(0);
61988 ;
61989 return 0;
61990 }
61991 _ACEOF
61992 if ac_fn_cxx_try_compile "$LINENO"; then :
61993 glibcxx_cv_func_isnanf_use=yes
61994 else
61995 glibcxx_cv_func_isnanf_use=no
61996 fi
61997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61998 ac_ext=c
61999 ac_cpp='$CPP $CPPFLAGS'
62000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62003
62004
62005 fi
62006
62007 fi
62008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62009 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62010
62011 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62012 for ac_func in isnanf
62013 do :
62014 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62015 if test "x$ac_cv_func_isnanf" = xyes; then :
62016 cat >>confdefs.h <<_ACEOF
62017 #define HAVE_ISNANF 1
62018 _ACEOF
62019
62020 fi
62021 done
62022
62023 else
62024
62025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62026 $as_echo_n "checking for _isnanf declaration... " >&6; }
62027 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62028 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62029 $as_echo_n "(cached) " >&6
62030 else
62031
62032
62033 ac_ext=cpp
62034 ac_cpp='$CXXCPP $CPPFLAGS'
62035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62038
62039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62040 /* end confdefs.h. */
62041 #include <math.h>
62042 #ifdef HAVE_IEEEFP_H
62043 #include <ieeefp.h>
62044 #endif
62045
62046 int
62047 main ()
62048 {
62049 _isnanf(0);
62050 ;
62051 return 0;
62052 }
62053 _ACEOF
62054 if ac_fn_cxx_try_compile "$LINENO"; then :
62055 glibcxx_cv_func__isnanf_use=yes
62056 else
62057 glibcxx_cv_func__isnanf_use=no
62058 fi
62059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62060 ac_ext=c
62061 ac_cpp='$CPP $CPPFLAGS'
62062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62065
62066
62067 fi
62068
62069 fi
62070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62071 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62072
62073 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62074 for ac_func in _isnanf
62075 do :
62076 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62077 if test "x$ac_cv_func__isnanf" = xyes; then :
62078 cat >>confdefs.h <<_ACEOF
62079 #define HAVE__ISNANF 1
62080 _ACEOF
62081
62082 fi
62083 done
62084
62085 fi
62086 fi
62087
62088
62089
62090
62091
62092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62093 $as_echo_n "checking for isinff declaration... " >&6; }
62094 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62095 if ${glibcxx_cv_func_isinff_use+:} false; then :
62096 $as_echo_n "(cached) " >&6
62097 else
62098
62099
62100 ac_ext=cpp
62101 ac_cpp='$CXXCPP $CPPFLAGS'
62102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62105
62106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62107 /* end confdefs.h. */
62108 #include <math.h>
62109 #ifdef HAVE_IEEEFP_H
62110 #include <ieeefp.h>
62111 #endif
62112
62113 int
62114 main ()
62115 {
62116 isinff(0);
62117 ;
62118 return 0;
62119 }
62120 _ACEOF
62121 if ac_fn_cxx_try_compile "$LINENO"; then :
62122 glibcxx_cv_func_isinff_use=yes
62123 else
62124 glibcxx_cv_func_isinff_use=no
62125 fi
62126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62127 ac_ext=c
62128 ac_cpp='$CPP $CPPFLAGS'
62129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62132
62133
62134 fi
62135
62136 fi
62137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62138 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62139
62140 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62141 for ac_func in isinff
62142 do :
62143 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62144 if test "x$ac_cv_func_isinff" = xyes; then :
62145 cat >>confdefs.h <<_ACEOF
62146 #define HAVE_ISINFF 1
62147 _ACEOF
62148
62149 fi
62150 done
62151
62152 else
62153
62154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62155 $as_echo_n "checking for _isinff declaration... " >&6; }
62156 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62157 if ${glibcxx_cv_func__isinff_use+:} false; then :
62158 $as_echo_n "(cached) " >&6
62159 else
62160
62161
62162 ac_ext=cpp
62163 ac_cpp='$CXXCPP $CPPFLAGS'
62164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62167
62168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62169 /* end confdefs.h. */
62170 #include <math.h>
62171 #ifdef HAVE_IEEEFP_H
62172 #include <ieeefp.h>
62173 #endif
62174
62175 int
62176 main ()
62177 {
62178 _isinff(0);
62179 ;
62180 return 0;
62181 }
62182 _ACEOF
62183 if ac_fn_cxx_try_compile "$LINENO"; then :
62184 glibcxx_cv_func__isinff_use=yes
62185 else
62186 glibcxx_cv_func__isinff_use=no
62187 fi
62188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62189 ac_ext=c
62190 ac_cpp='$CPP $CPPFLAGS'
62191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62194
62195
62196 fi
62197
62198 fi
62199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62200 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62201
62202 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62203 for ac_func in _isinff
62204 do :
62205 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62206 if test "x$ac_cv_func__isinff" = xyes; then :
62207 cat >>confdefs.h <<_ACEOF
62208 #define HAVE__ISINFF 1
62209 _ACEOF
62210
62211 fi
62212 done
62213
62214 fi
62215 fi
62216
62217
62218
62219
62220
62221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62222 $as_echo_n "checking for atan2f declaration... " >&6; }
62223 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62224 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62225 $as_echo_n "(cached) " >&6
62226 else
62227
62228
62229 ac_ext=cpp
62230 ac_cpp='$CXXCPP $CPPFLAGS'
62231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62234
62235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62236 /* end confdefs.h. */
62237 #include <math.h>
62238 int
62239 main ()
62240 {
62241 atan2f(0, 0);
62242 ;
62243 return 0;
62244 }
62245 _ACEOF
62246 if ac_fn_cxx_try_compile "$LINENO"; then :
62247 glibcxx_cv_func_atan2f_use=yes
62248 else
62249 glibcxx_cv_func_atan2f_use=no
62250 fi
62251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62252 ac_ext=c
62253 ac_cpp='$CPP $CPPFLAGS'
62254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62257
62258
62259 fi
62260
62261 fi
62262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62263 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62264
62265 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62266 for ac_func in atan2f
62267 do :
62268 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62269 if test "x$ac_cv_func_atan2f" = xyes; then :
62270 cat >>confdefs.h <<_ACEOF
62271 #define HAVE_ATAN2F 1
62272 _ACEOF
62273
62274 fi
62275 done
62276
62277 else
62278
62279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62280 $as_echo_n "checking for _atan2f declaration... " >&6; }
62281 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62282 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62283 $as_echo_n "(cached) " >&6
62284 else
62285
62286
62287 ac_ext=cpp
62288 ac_cpp='$CXXCPP $CPPFLAGS'
62289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62292
62293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62294 /* end confdefs.h. */
62295 #include <math.h>
62296 int
62297 main ()
62298 {
62299 _atan2f(0, 0);
62300 ;
62301 return 0;
62302 }
62303 _ACEOF
62304 if ac_fn_cxx_try_compile "$LINENO"; then :
62305 glibcxx_cv_func__atan2f_use=yes
62306 else
62307 glibcxx_cv_func__atan2f_use=no
62308 fi
62309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62310 ac_ext=c
62311 ac_cpp='$CPP $CPPFLAGS'
62312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62315
62316
62317 fi
62318
62319 fi
62320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62321 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62322
62323 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62324 for ac_func in _atan2f
62325 do :
62326 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62327 if test "x$ac_cv_func__atan2f" = xyes; then :
62328 cat >>confdefs.h <<_ACEOF
62329 #define HAVE__ATAN2F 1
62330 _ACEOF
62331
62332 fi
62333 done
62334
62335 fi
62336 fi
62337
62338
62339
62340
62341
62342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62343 $as_echo_n "checking for fabsf declaration... " >&6; }
62344 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62345 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62346 $as_echo_n "(cached) " >&6
62347 else
62348
62349
62350 ac_ext=cpp
62351 ac_cpp='$CXXCPP $CPPFLAGS'
62352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62355
62356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62357 /* end confdefs.h. */
62358 #include <math.h>
62359 #ifdef HAVE_IEEEFP_H
62360 #include <ieeefp.h>
62361 #endif
62362
62363 int
62364 main ()
62365 {
62366 fabsf(0);
62367 ;
62368 return 0;
62369 }
62370 _ACEOF
62371 if ac_fn_cxx_try_compile "$LINENO"; then :
62372 glibcxx_cv_func_fabsf_use=yes
62373 else
62374 glibcxx_cv_func_fabsf_use=no
62375 fi
62376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62377 ac_ext=c
62378 ac_cpp='$CPP $CPPFLAGS'
62379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62382
62383
62384 fi
62385
62386 fi
62387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62388 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62389
62390 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62391 for ac_func in fabsf
62392 do :
62393 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62394 if test "x$ac_cv_func_fabsf" = xyes; then :
62395 cat >>confdefs.h <<_ACEOF
62396 #define HAVE_FABSF 1
62397 _ACEOF
62398
62399 fi
62400 done
62401
62402 else
62403
62404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62405 $as_echo_n "checking for _fabsf declaration... " >&6; }
62406 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62407 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62408 $as_echo_n "(cached) " >&6
62409 else
62410
62411
62412 ac_ext=cpp
62413 ac_cpp='$CXXCPP $CPPFLAGS'
62414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62417
62418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62419 /* end confdefs.h. */
62420 #include <math.h>
62421 #ifdef HAVE_IEEEFP_H
62422 #include <ieeefp.h>
62423 #endif
62424
62425 int
62426 main ()
62427 {
62428 _fabsf(0);
62429 ;
62430 return 0;
62431 }
62432 _ACEOF
62433 if ac_fn_cxx_try_compile "$LINENO"; then :
62434 glibcxx_cv_func__fabsf_use=yes
62435 else
62436 glibcxx_cv_func__fabsf_use=no
62437 fi
62438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62439 ac_ext=c
62440 ac_cpp='$CPP $CPPFLAGS'
62441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62444
62445
62446 fi
62447
62448 fi
62449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62450 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62451
62452 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62453 for ac_func in _fabsf
62454 do :
62455 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62456 if test "x$ac_cv_func__fabsf" = xyes; then :
62457 cat >>confdefs.h <<_ACEOF
62458 #define HAVE__FABSF 1
62459 _ACEOF
62460
62461 fi
62462 done
62463
62464 fi
62465 fi
62466
62467
62468
62469
62470
62471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62472 $as_echo_n "checking for fmodf declaration... " >&6; }
62473 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62474 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62475 $as_echo_n "(cached) " >&6
62476 else
62477
62478
62479 ac_ext=cpp
62480 ac_cpp='$CXXCPP $CPPFLAGS'
62481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62484
62485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62486 /* end confdefs.h. */
62487 #include <math.h>
62488 int
62489 main ()
62490 {
62491 fmodf(0, 0);
62492 ;
62493 return 0;
62494 }
62495 _ACEOF
62496 if ac_fn_cxx_try_compile "$LINENO"; then :
62497 glibcxx_cv_func_fmodf_use=yes
62498 else
62499 glibcxx_cv_func_fmodf_use=no
62500 fi
62501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62502 ac_ext=c
62503 ac_cpp='$CPP $CPPFLAGS'
62504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62507
62508
62509 fi
62510
62511 fi
62512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62513 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62514
62515 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62516 for ac_func in fmodf
62517 do :
62518 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62519 if test "x$ac_cv_func_fmodf" = xyes; then :
62520 cat >>confdefs.h <<_ACEOF
62521 #define HAVE_FMODF 1
62522 _ACEOF
62523
62524 fi
62525 done
62526
62527 else
62528
62529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62530 $as_echo_n "checking for _fmodf declaration... " >&6; }
62531 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62532 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62533 $as_echo_n "(cached) " >&6
62534 else
62535
62536
62537 ac_ext=cpp
62538 ac_cpp='$CXXCPP $CPPFLAGS'
62539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62542
62543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62544 /* end confdefs.h. */
62545 #include <math.h>
62546 int
62547 main ()
62548 {
62549 _fmodf(0, 0);
62550 ;
62551 return 0;
62552 }
62553 _ACEOF
62554 if ac_fn_cxx_try_compile "$LINENO"; then :
62555 glibcxx_cv_func__fmodf_use=yes
62556 else
62557 glibcxx_cv_func__fmodf_use=no
62558 fi
62559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62560 ac_ext=c
62561 ac_cpp='$CPP $CPPFLAGS'
62562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62565
62566
62567 fi
62568
62569 fi
62570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62571 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62572
62573 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62574 for ac_func in _fmodf
62575 do :
62576 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62577 if test "x$ac_cv_func__fmodf" = xyes; then :
62578 cat >>confdefs.h <<_ACEOF
62579 #define HAVE__FMODF 1
62580 _ACEOF
62581
62582 fi
62583 done
62584
62585 fi
62586 fi
62587
62588
62589
62590
62591
62592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62593 $as_echo_n "checking for frexpf declaration... " >&6; }
62594 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62595 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62596 $as_echo_n "(cached) " >&6
62597 else
62598
62599
62600 ac_ext=cpp
62601 ac_cpp='$CXXCPP $CPPFLAGS'
62602 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62603 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62604 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62605
62606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62607 /* end confdefs.h. */
62608 #include <math.h>
62609 int
62610 main ()
62611 {
62612 frexpf(0, 0);
62613 ;
62614 return 0;
62615 }
62616 _ACEOF
62617 if ac_fn_cxx_try_compile "$LINENO"; then :
62618 glibcxx_cv_func_frexpf_use=yes
62619 else
62620 glibcxx_cv_func_frexpf_use=no
62621 fi
62622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62623 ac_ext=c
62624 ac_cpp='$CPP $CPPFLAGS'
62625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62628
62629
62630 fi
62631
62632 fi
62633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62634 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62635
62636 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62637 for ac_func in frexpf
62638 do :
62639 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62640 if test "x$ac_cv_func_frexpf" = xyes; then :
62641 cat >>confdefs.h <<_ACEOF
62642 #define HAVE_FREXPF 1
62643 _ACEOF
62644
62645 fi
62646 done
62647
62648 else
62649
62650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62651 $as_echo_n "checking for _frexpf declaration... " >&6; }
62652 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62653 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62654 $as_echo_n "(cached) " >&6
62655 else
62656
62657
62658 ac_ext=cpp
62659 ac_cpp='$CXXCPP $CPPFLAGS'
62660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62663
62664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62665 /* end confdefs.h. */
62666 #include <math.h>
62667 int
62668 main ()
62669 {
62670 _frexpf(0, 0);
62671 ;
62672 return 0;
62673 }
62674 _ACEOF
62675 if ac_fn_cxx_try_compile "$LINENO"; then :
62676 glibcxx_cv_func__frexpf_use=yes
62677 else
62678 glibcxx_cv_func__frexpf_use=no
62679 fi
62680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62681 ac_ext=c
62682 ac_cpp='$CPP $CPPFLAGS'
62683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62686
62687
62688 fi
62689
62690 fi
62691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62692 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62693
62694 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62695 for ac_func in _frexpf
62696 do :
62697 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62698 if test "x$ac_cv_func__frexpf" = xyes; then :
62699 cat >>confdefs.h <<_ACEOF
62700 #define HAVE__FREXPF 1
62701 _ACEOF
62702
62703 fi
62704 done
62705
62706 fi
62707 fi
62708
62709
62710
62711
62712
62713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62714 $as_echo_n "checking for hypotf declaration... " >&6; }
62715 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62716 if ${glibcxx_cv_func_hypotf_use+:} false; then :
62717 $as_echo_n "(cached) " >&6
62718 else
62719
62720
62721 ac_ext=cpp
62722 ac_cpp='$CXXCPP $CPPFLAGS'
62723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62726
62727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62728 /* end confdefs.h. */
62729 #include <math.h>
62730 int
62731 main ()
62732 {
62733 hypotf(0, 0);
62734 ;
62735 return 0;
62736 }
62737 _ACEOF
62738 if ac_fn_cxx_try_compile "$LINENO"; then :
62739 glibcxx_cv_func_hypotf_use=yes
62740 else
62741 glibcxx_cv_func_hypotf_use=no
62742 fi
62743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62744 ac_ext=c
62745 ac_cpp='$CPP $CPPFLAGS'
62746 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62747 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62748 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62749
62750
62751 fi
62752
62753 fi
62754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62755 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62756
62757 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62758 for ac_func in hypotf
62759 do :
62760 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62761 if test "x$ac_cv_func_hypotf" = xyes; then :
62762 cat >>confdefs.h <<_ACEOF
62763 #define HAVE_HYPOTF 1
62764 _ACEOF
62765
62766 fi
62767 done
62768
62769 else
62770
62771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62772 $as_echo_n "checking for _hypotf declaration... " >&6; }
62773 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62774 if ${glibcxx_cv_func__hypotf_use+:} false; then :
62775 $as_echo_n "(cached) " >&6
62776 else
62777
62778
62779 ac_ext=cpp
62780 ac_cpp='$CXXCPP $CPPFLAGS'
62781 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62782 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62783 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62784
62785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62786 /* end confdefs.h. */
62787 #include <math.h>
62788 int
62789 main ()
62790 {
62791 _hypotf(0, 0);
62792 ;
62793 return 0;
62794 }
62795 _ACEOF
62796 if ac_fn_cxx_try_compile "$LINENO"; then :
62797 glibcxx_cv_func__hypotf_use=yes
62798 else
62799 glibcxx_cv_func__hypotf_use=no
62800 fi
62801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62802 ac_ext=c
62803 ac_cpp='$CPP $CPPFLAGS'
62804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62807
62808
62809 fi
62810
62811 fi
62812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62813 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62814
62815 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62816 for ac_func in _hypotf
62817 do :
62818 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62819 if test "x$ac_cv_func__hypotf" = xyes; then :
62820 cat >>confdefs.h <<_ACEOF
62821 #define HAVE__HYPOTF 1
62822 _ACEOF
62823
62824 fi
62825 done
62826
62827 fi
62828 fi
62829
62830
62831
62832
62833
62834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62835 $as_echo_n "checking for ldexpf declaration... " >&6; }
62836 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62837 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
62838 $as_echo_n "(cached) " >&6
62839 else
62840
62841
62842 ac_ext=cpp
62843 ac_cpp='$CXXCPP $CPPFLAGS'
62844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62847
62848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62849 /* end confdefs.h. */
62850 #include <math.h>
62851 int
62852 main ()
62853 {
62854 ldexpf(0, 0);
62855 ;
62856 return 0;
62857 }
62858 _ACEOF
62859 if ac_fn_cxx_try_compile "$LINENO"; then :
62860 glibcxx_cv_func_ldexpf_use=yes
62861 else
62862 glibcxx_cv_func_ldexpf_use=no
62863 fi
62864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62865 ac_ext=c
62866 ac_cpp='$CPP $CPPFLAGS'
62867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62870
62871
62872 fi
62873
62874 fi
62875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62876 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62877
62878 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62879 for ac_func in ldexpf
62880 do :
62881 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62882 if test "x$ac_cv_func_ldexpf" = xyes; then :
62883 cat >>confdefs.h <<_ACEOF
62884 #define HAVE_LDEXPF 1
62885 _ACEOF
62886
62887 fi
62888 done
62889
62890 else
62891
62892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62893 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62894 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62895 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
62896 $as_echo_n "(cached) " >&6
62897 else
62898
62899
62900 ac_ext=cpp
62901 ac_cpp='$CXXCPP $CPPFLAGS'
62902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62905
62906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62907 /* end confdefs.h. */
62908 #include <math.h>
62909 int
62910 main ()
62911 {
62912 _ldexpf(0, 0);
62913 ;
62914 return 0;
62915 }
62916 _ACEOF
62917 if ac_fn_cxx_try_compile "$LINENO"; then :
62918 glibcxx_cv_func__ldexpf_use=yes
62919 else
62920 glibcxx_cv_func__ldexpf_use=no
62921 fi
62922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62923 ac_ext=c
62924 ac_cpp='$CPP $CPPFLAGS'
62925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62928
62929
62930 fi
62931
62932 fi
62933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62934 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62935
62936 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62937 for ac_func in _ldexpf
62938 do :
62939 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62940 if test "x$ac_cv_func__ldexpf" = xyes; then :
62941 cat >>confdefs.h <<_ACEOF
62942 #define HAVE__LDEXPF 1
62943 _ACEOF
62944
62945 fi
62946 done
62947
62948 fi
62949 fi
62950
62951
62952
62953
62954
62955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62956 $as_echo_n "checking for logf declaration... " >&6; }
62957 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62958 if ${glibcxx_cv_func_logf_use+:} false; then :
62959 $as_echo_n "(cached) " >&6
62960 else
62961
62962
62963 ac_ext=cpp
62964 ac_cpp='$CXXCPP $CPPFLAGS'
62965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62968
62969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62970 /* end confdefs.h. */
62971 #include <math.h>
62972 #ifdef HAVE_IEEEFP_H
62973 #include <ieeefp.h>
62974 #endif
62975
62976 int
62977 main ()
62978 {
62979 logf(0);
62980 ;
62981 return 0;
62982 }
62983 _ACEOF
62984 if ac_fn_cxx_try_compile "$LINENO"; then :
62985 glibcxx_cv_func_logf_use=yes
62986 else
62987 glibcxx_cv_func_logf_use=no
62988 fi
62989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62990 ac_ext=c
62991 ac_cpp='$CPP $CPPFLAGS'
62992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62995
62996
62997 fi
62998
62999 fi
63000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63001 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63002
63003 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63004 for ac_func in logf
63005 do :
63006 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63007 if test "x$ac_cv_func_logf" = xyes; then :
63008 cat >>confdefs.h <<_ACEOF
63009 #define HAVE_LOGF 1
63010 _ACEOF
63011
63012 fi
63013 done
63014
63015 else
63016
63017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63018 $as_echo_n "checking for _logf declaration... " >&6; }
63019 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63020 if ${glibcxx_cv_func__logf_use+:} false; then :
63021 $as_echo_n "(cached) " >&6
63022 else
63023
63024
63025 ac_ext=cpp
63026 ac_cpp='$CXXCPP $CPPFLAGS'
63027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63030
63031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63032 /* end confdefs.h. */
63033 #include <math.h>
63034 #ifdef HAVE_IEEEFP_H
63035 #include <ieeefp.h>
63036 #endif
63037
63038 int
63039 main ()
63040 {
63041 _logf(0);
63042 ;
63043 return 0;
63044 }
63045 _ACEOF
63046 if ac_fn_cxx_try_compile "$LINENO"; then :
63047 glibcxx_cv_func__logf_use=yes
63048 else
63049 glibcxx_cv_func__logf_use=no
63050 fi
63051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63052 ac_ext=c
63053 ac_cpp='$CPP $CPPFLAGS'
63054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63057
63058
63059 fi
63060
63061 fi
63062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63063 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63064
63065 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63066 for ac_func in _logf
63067 do :
63068 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63069 if test "x$ac_cv_func__logf" = xyes; then :
63070 cat >>confdefs.h <<_ACEOF
63071 #define HAVE__LOGF 1
63072 _ACEOF
63073
63074 fi
63075 done
63076
63077 fi
63078 fi
63079
63080
63081
63082
63083
63084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63085 $as_echo_n "checking for log10f declaration... " >&6; }
63086 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63087 if ${glibcxx_cv_func_log10f_use+:} false; then :
63088 $as_echo_n "(cached) " >&6
63089 else
63090
63091
63092 ac_ext=cpp
63093 ac_cpp='$CXXCPP $CPPFLAGS'
63094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63097
63098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63099 /* end confdefs.h. */
63100 #include <math.h>
63101 #ifdef HAVE_IEEEFP_H
63102 #include <ieeefp.h>
63103 #endif
63104
63105 int
63106 main ()
63107 {
63108 log10f(0);
63109 ;
63110 return 0;
63111 }
63112 _ACEOF
63113 if ac_fn_cxx_try_compile "$LINENO"; then :
63114 glibcxx_cv_func_log10f_use=yes
63115 else
63116 glibcxx_cv_func_log10f_use=no
63117 fi
63118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63119 ac_ext=c
63120 ac_cpp='$CPP $CPPFLAGS'
63121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63124
63125
63126 fi
63127
63128 fi
63129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63130 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63131
63132 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63133 for ac_func in log10f
63134 do :
63135 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63136 if test "x$ac_cv_func_log10f" = xyes; then :
63137 cat >>confdefs.h <<_ACEOF
63138 #define HAVE_LOG10F 1
63139 _ACEOF
63140
63141 fi
63142 done
63143
63144 else
63145
63146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63147 $as_echo_n "checking for _log10f declaration... " >&6; }
63148 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63149 if ${glibcxx_cv_func__log10f_use+:} false; then :
63150 $as_echo_n "(cached) " >&6
63151 else
63152
63153
63154 ac_ext=cpp
63155 ac_cpp='$CXXCPP $CPPFLAGS'
63156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63159
63160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63161 /* end confdefs.h. */
63162 #include <math.h>
63163 #ifdef HAVE_IEEEFP_H
63164 #include <ieeefp.h>
63165 #endif
63166
63167 int
63168 main ()
63169 {
63170 _log10f(0);
63171 ;
63172 return 0;
63173 }
63174 _ACEOF
63175 if ac_fn_cxx_try_compile "$LINENO"; then :
63176 glibcxx_cv_func__log10f_use=yes
63177 else
63178 glibcxx_cv_func__log10f_use=no
63179 fi
63180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63181 ac_ext=c
63182 ac_cpp='$CPP $CPPFLAGS'
63183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63186
63187
63188 fi
63189
63190 fi
63191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63192 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63193
63194 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63195 for ac_func in _log10f
63196 do :
63197 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63198 if test "x$ac_cv_func__log10f" = xyes; then :
63199 cat >>confdefs.h <<_ACEOF
63200 #define HAVE__LOG10F 1
63201 _ACEOF
63202
63203 fi
63204 done
63205
63206 fi
63207 fi
63208
63209
63210
63211
63212
63213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63214 $as_echo_n "checking for modff declaration... " >&6; }
63215 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63216 if ${glibcxx_cv_func_modff_use+:} false; then :
63217 $as_echo_n "(cached) " >&6
63218 else
63219
63220
63221 ac_ext=cpp
63222 ac_cpp='$CXXCPP $CPPFLAGS'
63223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63226
63227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63228 /* end confdefs.h. */
63229 #include <math.h>
63230 int
63231 main ()
63232 {
63233 modff(0, 0);
63234 ;
63235 return 0;
63236 }
63237 _ACEOF
63238 if ac_fn_cxx_try_compile "$LINENO"; then :
63239 glibcxx_cv_func_modff_use=yes
63240 else
63241 glibcxx_cv_func_modff_use=no
63242 fi
63243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63244 ac_ext=c
63245 ac_cpp='$CPP $CPPFLAGS'
63246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63249
63250
63251 fi
63252
63253 fi
63254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63255 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63256
63257 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63258 for ac_func in modff
63259 do :
63260 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63261 if test "x$ac_cv_func_modff" = xyes; then :
63262 cat >>confdefs.h <<_ACEOF
63263 #define HAVE_MODFF 1
63264 _ACEOF
63265
63266 fi
63267 done
63268
63269 else
63270
63271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63272 $as_echo_n "checking for _modff declaration... " >&6; }
63273 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63274 if ${glibcxx_cv_func__modff_use+:} false; then :
63275 $as_echo_n "(cached) " >&6
63276 else
63277
63278
63279 ac_ext=cpp
63280 ac_cpp='$CXXCPP $CPPFLAGS'
63281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63284
63285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63286 /* end confdefs.h. */
63287 #include <math.h>
63288 int
63289 main ()
63290 {
63291 _modff(0, 0);
63292 ;
63293 return 0;
63294 }
63295 _ACEOF
63296 if ac_fn_cxx_try_compile "$LINENO"; then :
63297 glibcxx_cv_func__modff_use=yes
63298 else
63299 glibcxx_cv_func__modff_use=no
63300 fi
63301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63302 ac_ext=c
63303 ac_cpp='$CPP $CPPFLAGS'
63304 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63305 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63306 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63307
63308
63309 fi
63310
63311 fi
63312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63313 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63314
63315 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63316 for ac_func in _modff
63317 do :
63318 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63319 if test "x$ac_cv_func__modff" = xyes; then :
63320 cat >>confdefs.h <<_ACEOF
63321 #define HAVE__MODFF 1
63322 _ACEOF
63323
63324 fi
63325 done
63326
63327 fi
63328 fi
63329
63330
63331
63332
63333
63334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63335 $as_echo_n "checking for modf declaration... " >&6; }
63336 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63337 if ${glibcxx_cv_func_modf_use+:} false; then :
63338 $as_echo_n "(cached) " >&6
63339 else
63340
63341
63342 ac_ext=cpp
63343 ac_cpp='$CXXCPP $CPPFLAGS'
63344 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63345 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63346 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63347
63348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63349 /* end confdefs.h. */
63350 #include <math.h>
63351 int
63352 main ()
63353 {
63354 modf(0, 0);
63355 ;
63356 return 0;
63357 }
63358 _ACEOF
63359 if ac_fn_cxx_try_compile "$LINENO"; then :
63360 glibcxx_cv_func_modf_use=yes
63361 else
63362 glibcxx_cv_func_modf_use=no
63363 fi
63364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63365 ac_ext=c
63366 ac_cpp='$CPP $CPPFLAGS'
63367 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63368 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63369 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63370
63371
63372 fi
63373
63374 fi
63375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63376 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63377
63378 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63379 for ac_func in modf
63380 do :
63381 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63382 if test "x$ac_cv_func_modf" = xyes; then :
63383 cat >>confdefs.h <<_ACEOF
63384 #define HAVE_MODF 1
63385 _ACEOF
63386
63387 fi
63388 done
63389
63390 else
63391
63392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63393 $as_echo_n "checking for _modf declaration... " >&6; }
63394 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63395 if ${glibcxx_cv_func__modf_use+:} false; then :
63396 $as_echo_n "(cached) " >&6
63397 else
63398
63399
63400 ac_ext=cpp
63401 ac_cpp='$CXXCPP $CPPFLAGS'
63402 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63403 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63404 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63405
63406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63407 /* end confdefs.h. */
63408 #include <math.h>
63409 int
63410 main ()
63411 {
63412 _modf(0, 0);
63413 ;
63414 return 0;
63415 }
63416 _ACEOF
63417 if ac_fn_cxx_try_compile "$LINENO"; then :
63418 glibcxx_cv_func__modf_use=yes
63419 else
63420 glibcxx_cv_func__modf_use=no
63421 fi
63422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63423 ac_ext=c
63424 ac_cpp='$CPP $CPPFLAGS'
63425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63428
63429
63430 fi
63431
63432 fi
63433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63434 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63435
63436 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63437 for ac_func in _modf
63438 do :
63439 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63440 if test "x$ac_cv_func__modf" = xyes; then :
63441 cat >>confdefs.h <<_ACEOF
63442 #define HAVE__MODF 1
63443 _ACEOF
63444
63445 fi
63446 done
63447
63448 fi
63449 fi
63450
63451
63452
63453
63454
63455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63456 $as_echo_n "checking for powf declaration... " >&6; }
63457 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63458 if ${glibcxx_cv_func_powf_use+:} false; then :
63459 $as_echo_n "(cached) " >&6
63460 else
63461
63462
63463 ac_ext=cpp
63464 ac_cpp='$CXXCPP $CPPFLAGS'
63465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63468
63469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63470 /* end confdefs.h. */
63471 #include <math.h>
63472 int
63473 main ()
63474 {
63475 powf(0, 0);
63476 ;
63477 return 0;
63478 }
63479 _ACEOF
63480 if ac_fn_cxx_try_compile "$LINENO"; then :
63481 glibcxx_cv_func_powf_use=yes
63482 else
63483 glibcxx_cv_func_powf_use=no
63484 fi
63485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63486 ac_ext=c
63487 ac_cpp='$CPP $CPPFLAGS'
63488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63491
63492
63493 fi
63494
63495 fi
63496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63497 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63498
63499 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63500 for ac_func in powf
63501 do :
63502 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63503 if test "x$ac_cv_func_powf" = xyes; then :
63504 cat >>confdefs.h <<_ACEOF
63505 #define HAVE_POWF 1
63506 _ACEOF
63507
63508 fi
63509 done
63510
63511 else
63512
63513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63514 $as_echo_n "checking for _powf declaration... " >&6; }
63515 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63516 if ${glibcxx_cv_func__powf_use+:} false; then :
63517 $as_echo_n "(cached) " >&6
63518 else
63519
63520
63521 ac_ext=cpp
63522 ac_cpp='$CXXCPP $CPPFLAGS'
63523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63526
63527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63528 /* end confdefs.h. */
63529 #include <math.h>
63530 int
63531 main ()
63532 {
63533 _powf(0, 0);
63534 ;
63535 return 0;
63536 }
63537 _ACEOF
63538 if ac_fn_cxx_try_compile "$LINENO"; then :
63539 glibcxx_cv_func__powf_use=yes
63540 else
63541 glibcxx_cv_func__powf_use=no
63542 fi
63543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63544 ac_ext=c
63545 ac_cpp='$CPP $CPPFLAGS'
63546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63549
63550
63551 fi
63552
63553 fi
63554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63555 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63556
63557 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63558 for ac_func in _powf
63559 do :
63560 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63561 if test "x$ac_cv_func__powf" = xyes; then :
63562 cat >>confdefs.h <<_ACEOF
63563 #define HAVE__POWF 1
63564 _ACEOF
63565
63566 fi
63567 done
63568
63569 fi
63570 fi
63571
63572
63573
63574
63575
63576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63577 $as_echo_n "checking for sqrtf declaration... " >&6; }
63578 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63579 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63580 $as_echo_n "(cached) " >&6
63581 else
63582
63583
63584 ac_ext=cpp
63585 ac_cpp='$CXXCPP $CPPFLAGS'
63586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63589
63590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63591 /* end confdefs.h. */
63592 #include <math.h>
63593 #ifdef HAVE_IEEEFP_H
63594 #include <ieeefp.h>
63595 #endif
63596
63597 int
63598 main ()
63599 {
63600 sqrtf(0);
63601 ;
63602 return 0;
63603 }
63604 _ACEOF
63605 if ac_fn_cxx_try_compile "$LINENO"; then :
63606 glibcxx_cv_func_sqrtf_use=yes
63607 else
63608 glibcxx_cv_func_sqrtf_use=no
63609 fi
63610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63611 ac_ext=c
63612 ac_cpp='$CPP $CPPFLAGS'
63613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63616
63617
63618 fi
63619
63620 fi
63621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63622 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63623
63624 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63625 for ac_func in sqrtf
63626 do :
63627 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63628 if test "x$ac_cv_func_sqrtf" = xyes; then :
63629 cat >>confdefs.h <<_ACEOF
63630 #define HAVE_SQRTF 1
63631 _ACEOF
63632
63633 fi
63634 done
63635
63636 else
63637
63638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63639 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63640 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63641 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63642 $as_echo_n "(cached) " >&6
63643 else
63644
63645
63646 ac_ext=cpp
63647 ac_cpp='$CXXCPP $CPPFLAGS'
63648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63651
63652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63653 /* end confdefs.h. */
63654 #include <math.h>
63655 #ifdef HAVE_IEEEFP_H
63656 #include <ieeefp.h>
63657 #endif
63658
63659 int
63660 main ()
63661 {
63662 _sqrtf(0);
63663 ;
63664 return 0;
63665 }
63666 _ACEOF
63667 if ac_fn_cxx_try_compile "$LINENO"; then :
63668 glibcxx_cv_func__sqrtf_use=yes
63669 else
63670 glibcxx_cv_func__sqrtf_use=no
63671 fi
63672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63673 ac_ext=c
63674 ac_cpp='$CPP $CPPFLAGS'
63675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63678
63679
63680 fi
63681
63682 fi
63683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63684 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63685
63686 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63687 for ac_func in _sqrtf
63688 do :
63689 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63690 if test "x$ac_cv_func__sqrtf" = xyes; then :
63691 cat >>confdefs.h <<_ACEOF
63692 #define HAVE__SQRTF 1
63693 _ACEOF
63694
63695 fi
63696 done
63697
63698 fi
63699 fi
63700
63701
63702
63703
63704
63705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63706 $as_echo_n "checking for sincosf declaration... " >&6; }
63707 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63708 if ${glibcxx_cv_func_sincosf_use+:} false; then :
63709 $as_echo_n "(cached) " >&6
63710 else
63711
63712
63713 ac_ext=cpp
63714 ac_cpp='$CXXCPP $CPPFLAGS'
63715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63718
63719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63720 /* end confdefs.h. */
63721 #include <math.h>
63722 int
63723 main ()
63724 {
63725 sincosf(0, 0, 0);
63726 ;
63727 return 0;
63728 }
63729 _ACEOF
63730 if ac_fn_cxx_try_compile "$LINENO"; then :
63731 glibcxx_cv_func_sincosf_use=yes
63732 else
63733 glibcxx_cv_func_sincosf_use=no
63734 fi
63735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63736 ac_ext=c
63737 ac_cpp='$CPP $CPPFLAGS'
63738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63741
63742
63743 fi
63744
63745 fi
63746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63747 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63748
63749 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63750 for ac_func in sincosf
63751 do :
63752 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63753 if test "x$ac_cv_func_sincosf" = xyes; then :
63754 cat >>confdefs.h <<_ACEOF
63755 #define HAVE_SINCOSF 1
63756 _ACEOF
63757
63758 fi
63759 done
63760
63761 else
63762
63763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63764 $as_echo_n "checking for _sincosf declaration... " >&6; }
63765 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63766 if ${glibcxx_cv_func__sincosf_use+:} false; then :
63767 $as_echo_n "(cached) " >&6
63768 else
63769
63770
63771 ac_ext=cpp
63772 ac_cpp='$CXXCPP $CPPFLAGS'
63773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63776
63777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63778 /* end confdefs.h. */
63779 #include <math.h>
63780 int
63781 main ()
63782 {
63783 _sincosf(0, 0, 0);
63784 ;
63785 return 0;
63786 }
63787 _ACEOF
63788 if ac_fn_cxx_try_compile "$LINENO"; then :
63789 glibcxx_cv_func__sincosf_use=yes
63790 else
63791 glibcxx_cv_func__sincosf_use=no
63792 fi
63793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63794 ac_ext=c
63795 ac_cpp='$CPP $CPPFLAGS'
63796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63799
63800
63801 fi
63802
63803 fi
63804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63805 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63806
63807 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63808 for ac_func in _sincosf
63809 do :
63810 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63811 if test "x$ac_cv_func__sincosf" = xyes; then :
63812 cat >>confdefs.h <<_ACEOF
63813 #define HAVE__SINCOSF 1
63814 _ACEOF
63815
63816 fi
63817 done
63818
63819 fi
63820 fi
63821
63822
63823
63824
63825
63826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63827 $as_echo_n "checking for finitef declaration... " >&6; }
63828 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63829 if ${glibcxx_cv_func_finitef_use+:} false; then :
63830 $as_echo_n "(cached) " >&6
63831 else
63832
63833
63834 ac_ext=cpp
63835 ac_cpp='$CXXCPP $CPPFLAGS'
63836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63839
63840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63841 /* end confdefs.h. */
63842 #include <math.h>
63843 #ifdef HAVE_IEEEFP_H
63844 #include <ieeefp.h>
63845 #endif
63846
63847 int
63848 main ()
63849 {
63850 finitef(0);
63851 ;
63852 return 0;
63853 }
63854 _ACEOF
63855 if ac_fn_cxx_try_compile "$LINENO"; then :
63856 glibcxx_cv_func_finitef_use=yes
63857 else
63858 glibcxx_cv_func_finitef_use=no
63859 fi
63860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63861 ac_ext=c
63862 ac_cpp='$CPP $CPPFLAGS'
63863 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63864 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63865 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63866
63867
63868 fi
63869
63870 fi
63871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63872 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63873
63874 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63875 for ac_func in finitef
63876 do :
63877 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63878 if test "x$ac_cv_func_finitef" = xyes; then :
63879 cat >>confdefs.h <<_ACEOF
63880 #define HAVE_FINITEF 1
63881 _ACEOF
63882
63883 fi
63884 done
63885
63886 else
63887
63888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63889 $as_echo_n "checking for _finitef declaration... " >&6; }
63890 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63891 if ${glibcxx_cv_func__finitef_use+:} false; then :
63892 $as_echo_n "(cached) " >&6
63893 else
63894
63895
63896 ac_ext=cpp
63897 ac_cpp='$CXXCPP $CPPFLAGS'
63898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63901
63902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63903 /* end confdefs.h. */
63904 #include <math.h>
63905 #ifdef HAVE_IEEEFP_H
63906 #include <ieeefp.h>
63907 #endif
63908
63909 int
63910 main ()
63911 {
63912 _finitef(0);
63913 ;
63914 return 0;
63915 }
63916 _ACEOF
63917 if ac_fn_cxx_try_compile "$LINENO"; then :
63918 glibcxx_cv_func__finitef_use=yes
63919 else
63920 glibcxx_cv_func__finitef_use=no
63921 fi
63922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63923 ac_ext=c
63924 ac_cpp='$CPP $CPPFLAGS'
63925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63928
63929
63930 fi
63931
63932 fi
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63934 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63935
63936 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63937 for ac_func in _finitef
63938 do :
63939 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63940 if test "x$ac_cv_func__finitef" = xyes; then :
63941 cat >>confdefs.h <<_ACEOF
63942 #define HAVE__FINITEF 1
63943 _ACEOF
63944
63945 fi
63946 done
63947
63948 fi
63949 fi
63950
63951
63952
63953
63954
63955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63956 $as_echo_n "checking for long double trig functions... " >&6; }
63957 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
63958 $as_echo_n "(cached) " >&6
63959 else
63960
63961
63962 ac_ext=cpp
63963 ac_cpp='$CXXCPP $CPPFLAGS'
63964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63967
63968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63969 /* end confdefs.h. */
63970 #include <math.h>
63971 int
63972 main ()
63973 {
63974 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63975 ;
63976 return 0;
63977 }
63978 _ACEOF
63979 if ac_fn_cxx_try_compile "$LINENO"; then :
63980 glibcxx_cv_func_long_double_trig_use=yes
63981 else
63982 glibcxx_cv_func_long_double_trig_use=no
63983 fi
63984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63985 ac_ext=c
63986 ac_cpp='$CPP $CPPFLAGS'
63987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63990
63991 fi
63992
63993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63994 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63995 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63996 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63997 do :
63998 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63999 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64000 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64001 cat >>confdefs.h <<_ACEOF
64002 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64003 _ACEOF
64004
64005 fi
64006 done
64007
64008 else
64009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64010 $as_echo_n "checking for _long double trig functions... " >&6; }
64011 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64012 $as_echo_n "(cached) " >&6
64013 else
64014
64015
64016 ac_ext=cpp
64017 ac_cpp='$CXXCPP $CPPFLAGS'
64018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64021
64022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64023 /* end confdefs.h. */
64024 #include <math.h>
64025 int
64026 main ()
64027 {
64028 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64029 ;
64030 return 0;
64031 }
64032 _ACEOF
64033 if ac_fn_cxx_try_compile "$LINENO"; then :
64034 glibcxx_cv_func__long_double_trig_use=yes
64035 else
64036 glibcxx_cv_func__long_double_trig_use=no
64037 fi
64038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64039 ac_ext=c
64040 ac_cpp='$CPP $CPPFLAGS'
64041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64044
64045 fi
64046
64047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64048 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64049 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64050 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64051 do :
64052 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64053 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64054 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64055 cat >>confdefs.h <<_ACEOF
64056 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64057 _ACEOF
64058
64059 fi
64060 done
64061
64062 fi
64063 fi
64064
64065
64066
64067
64068
64069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64070 $as_echo_n "checking for long double round functions... " >&6; }
64071 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64072 $as_echo_n "(cached) " >&6
64073 else
64074
64075
64076 ac_ext=cpp
64077 ac_cpp='$CXXCPP $CPPFLAGS'
64078 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64079 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64080 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64081
64082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64083 /* end confdefs.h. */
64084 #include <math.h>
64085 int
64086 main ()
64087 {
64088 ceill (0); floorl (0);
64089 ;
64090 return 0;
64091 }
64092 _ACEOF
64093 if ac_fn_cxx_try_compile "$LINENO"; then :
64094 glibcxx_cv_func_long_double_round_use=yes
64095 else
64096 glibcxx_cv_func_long_double_round_use=no
64097 fi
64098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64099 ac_ext=c
64100 ac_cpp='$CPP $CPPFLAGS'
64101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64104
64105 fi
64106
64107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64108 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64109 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64110 for ac_func in ceill floorl
64111 do :
64112 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64113 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64114 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64115 cat >>confdefs.h <<_ACEOF
64116 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64117 _ACEOF
64118
64119 fi
64120 done
64121
64122 else
64123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64124 $as_echo_n "checking for _long double round functions... " >&6; }
64125 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64126 $as_echo_n "(cached) " >&6
64127 else
64128
64129
64130 ac_ext=cpp
64131 ac_cpp='$CXXCPP $CPPFLAGS'
64132 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64133 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64134 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64135
64136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64137 /* end confdefs.h. */
64138 #include <math.h>
64139 int
64140 main ()
64141 {
64142 _ceill (0); _floorl (0);
64143 ;
64144 return 0;
64145 }
64146 _ACEOF
64147 if ac_fn_cxx_try_compile "$LINENO"; then :
64148 glibcxx_cv_func__long_double_round_use=yes
64149 else
64150 glibcxx_cv_func__long_double_round_use=no
64151 fi
64152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64153 ac_ext=c
64154 ac_cpp='$CPP $CPPFLAGS'
64155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64158
64159 fi
64160
64161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64162 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64163 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64164 for ac_func in _ceill _floorl
64165 do :
64166 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64167 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64168 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64169 cat >>confdefs.h <<_ACEOF
64170 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64171 _ACEOF
64172
64173 fi
64174 done
64175
64176 fi
64177 fi
64178
64179
64180
64181
64182
64183
64184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64185 $as_echo_n "checking for isnanl declaration... " >&6; }
64186 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64187 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64188 $as_echo_n "(cached) " >&6
64189 else
64190
64191
64192 ac_ext=cpp
64193 ac_cpp='$CXXCPP $CPPFLAGS'
64194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64197
64198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64199 /* end confdefs.h. */
64200 #include <math.h>
64201 #ifdef HAVE_IEEEFP_H
64202 #include <ieeefp.h>
64203 #endif
64204
64205 int
64206 main ()
64207 {
64208 isnanl(0);
64209 ;
64210 return 0;
64211 }
64212 _ACEOF
64213 if ac_fn_cxx_try_compile "$LINENO"; then :
64214 glibcxx_cv_func_isnanl_use=yes
64215 else
64216 glibcxx_cv_func_isnanl_use=no
64217 fi
64218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64219 ac_ext=c
64220 ac_cpp='$CPP $CPPFLAGS'
64221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64224
64225
64226 fi
64227
64228 fi
64229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64230 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64231
64232 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64233 for ac_func in isnanl
64234 do :
64235 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64236 if test "x$ac_cv_func_isnanl" = xyes; then :
64237 cat >>confdefs.h <<_ACEOF
64238 #define HAVE_ISNANL 1
64239 _ACEOF
64240
64241 fi
64242 done
64243
64244 else
64245
64246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64247 $as_echo_n "checking for _isnanl declaration... " >&6; }
64248 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64249 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64250 $as_echo_n "(cached) " >&6
64251 else
64252
64253
64254 ac_ext=cpp
64255 ac_cpp='$CXXCPP $CPPFLAGS'
64256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64259
64260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64261 /* end confdefs.h. */
64262 #include <math.h>
64263 #ifdef HAVE_IEEEFP_H
64264 #include <ieeefp.h>
64265 #endif
64266
64267 int
64268 main ()
64269 {
64270 _isnanl(0);
64271 ;
64272 return 0;
64273 }
64274 _ACEOF
64275 if ac_fn_cxx_try_compile "$LINENO"; then :
64276 glibcxx_cv_func__isnanl_use=yes
64277 else
64278 glibcxx_cv_func__isnanl_use=no
64279 fi
64280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64281 ac_ext=c
64282 ac_cpp='$CPP $CPPFLAGS'
64283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64286
64287
64288 fi
64289
64290 fi
64291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64292 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64293
64294 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64295 for ac_func in _isnanl
64296 do :
64297 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64298 if test "x$ac_cv_func__isnanl" = xyes; then :
64299 cat >>confdefs.h <<_ACEOF
64300 #define HAVE__ISNANL 1
64301 _ACEOF
64302
64303 fi
64304 done
64305
64306 fi
64307 fi
64308
64309
64310
64311
64312
64313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64314 $as_echo_n "checking for isinfl declaration... " >&6; }
64315 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64316 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64317 $as_echo_n "(cached) " >&6
64318 else
64319
64320
64321 ac_ext=cpp
64322 ac_cpp='$CXXCPP $CPPFLAGS'
64323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64326
64327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64328 /* end confdefs.h. */
64329 #include <math.h>
64330 #ifdef HAVE_IEEEFP_H
64331 #include <ieeefp.h>
64332 #endif
64333
64334 int
64335 main ()
64336 {
64337 isinfl(0);
64338 ;
64339 return 0;
64340 }
64341 _ACEOF
64342 if ac_fn_cxx_try_compile "$LINENO"; then :
64343 glibcxx_cv_func_isinfl_use=yes
64344 else
64345 glibcxx_cv_func_isinfl_use=no
64346 fi
64347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64348 ac_ext=c
64349 ac_cpp='$CPP $CPPFLAGS'
64350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64353
64354
64355 fi
64356
64357 fi
64358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64359 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64360
64361 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64362 for ac_func in isinfl
64363 do :
64364 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64365 if test "x$ac_cv_func_isinfl" = xyes; then :
64366 cat >>confdefs.h <<_ACEOF
64367 #define HAVE_ISINFL 1
64368 _ACEOF
64369
64370 fi
64371 done
64372
64373 else
64374
64375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64376 $as_echo_n "checking for _isinfl declaration... " >&6; }
64377 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64378 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64379 $as_echo_n "(cached) " >&6
64380 else
64381
64382
64383 ac_ext=cpp
64384 ac_cpp='$CXXCPP $CPPFLAGS'
64385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64388
64389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64390 /* end confdefs.h. */
64391 #include <math.h>
64392 #ifdef HAVE_IEEEFP_H
64393 #include <ieeefp.h>
64394 #endif
64395
64396 int
64397 main ()
64398 {
64399 _isinfl(0);
64400 ;
64401 return 0;
64402 }
64403 _ACEOF
64404 if ac_fn_cxx_try_compile "$LINENO"; then :
64405 glibcxx_cv_func__isinfl_use=yes
64406 else
64407 glibcxx_cv_func__isinfl_use=no
64408 fi
64409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64410 ac_ext=c
64411 ac_cpp='$CPP $CPPFLAGS'
64412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64415
64416
64417 fi
64418
64419 fi
64420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64421 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64422
64423 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64424 for ac_func in _isinfl
64425 do :
64426 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64427 if test "x$ac_cv_func__isinfl" = xyes; then :
64428 cat >>confdefs.h <<_ACEOF
64429 #define HAVE__ISINFL 1
64430 _ACEOF
64431
64432 fi
64433 done
64434
64435 fi
64436 fi
64437
64438
64439
64440
64441
64442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64443 $as_echo_n "checking for atan2l declaration... " >&6; }
64444 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64445 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64446 $as_echo_n "(cached) " >&6
64447 else
64448
64449
64450 ac_ext=cpp
64451 ac_cpp='$CXXCPP $CPPFLAGS'
64452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64455
64456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64457 /* end confdefs.h. */
64458 #include <math.h>
64459 int
64460 main ()
64461 {
64462 atan2l(0, 0);
64463 ;
64464 return 0;
64465 }
64466 _ACEOF
64467 if ac_fn_cxx_try_compile "$LINENO"; then :
64468 glibcxx_cv_func_atan2l_use=yes
64469 else
64470 glibcxx_cv_func_atan2l_use=no
64471 fi
64472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64473 ac_ext=c
64474 ac_cpp='$CPP $CPPFLAGS'
64475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64478
64479
64480 fi
64481
64482 fi
64483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64484 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64485
64486 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64487 for ac_func in atan2l
64488 do :
64489 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64490 if test "x$ac_cv_func_atan2l" = xyes; then :
64491 cat >>confdefs.h <<_ACEOF
64492 #define HAVE_ATAN2L 1
64493 _ACEOF
64494
64495 fi
64496 done
64497
64498 else
64499
64500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64501 $as_echo_n "checking for _atan2l declaration... " >&6; }
64502 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64503 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64504 $as_echo_n "(cached) " >&6
64505 else
64506
64507
64508 ac_ext=cpp
64509 ac_cpp='$CXXCPP $CPPFLAGS'
64510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64513
64514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64515 /* end confdefs.h. */
64516 #include <math.h>
64517 int
64518 main ()
64519 {
64520 _atan2l(0, 0);
64521 ;
64522 return 0;
64523 }
64524 _ACEOF
64525 if ac_fn_cxx_try_compile "$LINENO"; then :
64526 glibcxx_cv_func__atan2l_use=yes
64527 else
64528 glibcxx_cv_func__atan2l_use=no
64529 fi
64530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64531 ac_ext=c
64532 ac_cpp='$CPP $CPPFLAGS'
64533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64536
64537
64538 fi
64539
64540 fi
64541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64542 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64543
64544 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64545 for ac_func in _atan2l
64546 do :
64547 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64548 if test "x$ac_cv_func__atan2l" = xyes; then :
64549 cat >>confdefs.h <<_ACEOF
64550 #define HAVE__ATAN2L 1
64551 _ACEOF
64552
64553 fi
64554 done
64555
64556 fi
64557 fi
64558
64559
64560
64561
64562
64563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64564 $as_echo_n "checking for expl declaration... " >&6; }
64565 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64566 if ${glibcxx_cv_func_expl_use+:} false; then :
64567 $as_echo_n "(cached) " >&6
64568 else
64569
64570
64571 ac_ext=cpp
64572 ac_cpp='$CXXCPP $CPPFLAGS'
64573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64576
64577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64578 /* end confdefs.h. */
64579 #include <math.h>
64580 #ifdef HAVE_IEEEFP_H
64581 #include <ieeefp.h>
64582 #endif
64583
64584 int
64585 main ()
64586 {
64587 expl(0);
64588 ;
64589 return 0;
64590 }
64591 _ACEOF
64592 if ac_fn_cxx_try_compile "$LINENO"; then :
64593 glibcxx_cv_func_expl_use=yes
64594 else
64595 glibcxx_cv_func_expl_use=no
64596 fi
64597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64598 ac_ext=c
64599 ac_cpp='$CPP $CPPFLAGS'
64600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64603
64604
64605 fi
64606
64607 fi
64608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64609 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64610
64611 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64612 for ac_func in expl
64613 do :
64614 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64615 if test "x$ac_cv_func_expl" = xyes; then :
64616 cat >>confdefs.h <<_ACEOF
64617 #define HAVE_EXPL 1
64618 _ACEOF
64619
64620 fi
64621 done
64622
64623 else
64624
64625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64626 $as_echo_n "checking for _expl declaration... " >&6; }
64627 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64628 if ${glibcxx_cv_func__expl_use+:} false; then :
64629 $as_echo_n "(cached) " >&6
64630 else
64631
64632
64633 ac_ext=cpp
64634 ac_cpp='$CXXCPP $CPPFLAGS'
64635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64638
64639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64640 /* end confdefs.h. */
64641 #include <math.h>
64642 #ifdef HAVE_IEEEFP_H
64643 #include <ieeefp.h>
64644 #endif
64645
64646 int
64647 main ()
64648 {
64649 _expl(0);
64650 ;
64651 return 0;
64652 }
64653 _ACEOF
64654 if ac_fn_cxx_try_compile "$LINENO"; then :
64655 glibcxx_cv_func__expl_use=yes
64656 else
64657 glibcxx_cv_func__expl_use=no
64658 fi
64659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64660 ac_ext=c
64661 ac_cpp='$CPP $CPPFLAGS'
64662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64665
64666
64667 fi
64668
64669 fi
64670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64671 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64672
64673 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64674 for ac_func in _expl
64675 do :
64676 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64677 if test "x$ac_cv_func__expl" = xyes; then :
64678 cat >>confdefs.h <<_ACEOF
64679 #define HAVE__EXPL 1
64680 _ACEOF
64681
64682 fi
64683 done
64684
64685 fi
64686 fi
64687
64688
64689
64690
64691
64692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64693 $as_echo_n "checking for fabsl declaration... " >&6; }
64694 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64695 if ${glibcxx_cv_func_fabsl_use+:} false; then :
64696 $as_echo_n "(cached) " >&6
64697 else
64698
64699
64700 ac_ext=cpp
64701 ac_cpp='$CXXCPP $CPPFLAGS'
64702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64705
64706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64707 /* end confdefs.h. */
64708 #include <math.h>
64709 #ifdef HAVE_IEEEFP_H
64710 #include <ieeefp.h>
64711 #endif
64712
64713 int
64714 main ()
64715 {
64716 fabsl(0);
64717 ;
64718 return 0;
64719 }
64720 _ACEOF
64721 if ac_fn_cxx_try_compile "$LINENO"; then :
64722 glibcxx_cv_func_fabsl_use=yes
64723 else
64724 glibcxx_cv_func_fabsl_use=no
64725 fi
64726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64727 ac_ext=c
64728 ac_cpp='$CPP $CPPFLAGS'
64729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64732
64733
64734 fi
64735
64736 fi
64737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64738 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64739
64740 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64741 for ac_func in fabsl
64742 do :
64743 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64744 if test "x$ac_cv_func_fabsl" = xyes; then :
64745 cat >>confdefs.h <<_ACEOF
64746 #define HAVE_FABSL 1
64747 _ACEOF
64748
64749 fi
64750 done
64751
64752 else
64753
64754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64755 $as_echo_n "checking for _fabsl declaration... " >&6; }
64756 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64757 if ${glibcxx_cv_func__fabsl_use+:} false; then :
64758 $as_echo_n "(cached) " >&6
64759 else
64760
64761
64762 ac_ext=cpp
64763 ac_cpp='$CXXCPP $CPPFLAGS'
64764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64767
64768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64769 /* end confdefs.h. */
64770 #include <math.h>
64771 #ifdef HAVE_IEEEFP_H
64772 #include <ieeefp.h>
64773 #endif
64774
64775 int
64776 main ()
64777 {
64778 _fabsl(0);
64779 ;
64780 return 0;
64781 }
64782 _ACEOF
64783 if ac_fn_cxx_try_compile "$LINENO"; then :
64784 glibcxx_cv_func__fabsl_use=yes
64785 else
64786 glibcxx_cv_func__fabsl_use=no
64787 fi
64788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64789 ac_ext=c
64790 ac_cpp='$CPP $CPPFLAGS'
64791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64794
64795
64796 fi
64797
64798 fi
64799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64800 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64801
64802 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64803 for ac_func in _fabsl
64804 do :
64805 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64806 if test "x$ac_cv_func__fabsl" = xyes; then :
64807 cat >>confdefs.h <<_ACEOF
64808 #define HAVE__FABSL 1
64809 _ACEOF
64810
64811 fi
64812 done
64813
64814 fi
64815 fi
64816
64817
64818
64819
64820
64821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64822 $as_echo_n "checking for fmodl declaration... " >&6; }
64823 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64824 if ${glibcxx_cv_func_fmodl_use+:} false; then :
64825 $as_echo_n "(cached) " >&6
64826 else
64827
64828
64829 ac_ext=cpp
64830 ac_cpp='$CXXCPP $CPPFLAGS'
64831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64834
64835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64836 /* end confdefs.h. */
64837 #include <math.h>
64838 int
64839 main ()
64840 {
64841 fmodl(0, 0);
64842 ;
64843 return 0;
64844 }
64845 _ACEOF
64846 if ac_fn_cxx_try_compile "$LINENO"; then :
64847 glibcxx_cv_func_fmodl_use=yes
64848 else
64849 glibcxx_cv_func_fmodl_use=no
64850 fi
64851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64852 ac_ext=c
64853 ac_cpp='$CPP $CPPFLAGS'
64854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64857
64858
64859 fi
64860
64861 fi
64862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64863 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64864
64865 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64866 for ac_func in fmodl
64867 do :
64868 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64869 if test "x$ac_cv_func_fmodl" = xyes; then :
64870 cat >>confdefs.h <<_ACEOF
64871 #define HAVE_FMODL 1
64872 _ACEOF
64873
64874 fi
64875 done
64876
64877 else
64878
64879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64880 $as_echo_n "checking for _fmodl declaration... " >&6; }
64881 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64882 if ${glibcxx_cv_func__fmodl_use+:} false; then :
64883 $as_echo_n "(cached) " >&6
64884 else
64885
64886
64887 ac_ext=cpp
64888 ac_cpp='$CXXCPP $CPPFLAGS'
64889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64892
64893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64894 /* end confdefs.h. */
64895 #include <math.h>
64896 int
64897 main ()
64898 {
64899 _fmodl(0, 0);
64900 ;
64901 return 0;
64902 }
64903 _ACEOF
64904 if ac_fn_cxx_try_compile "$LINENO"; then :
64905 glibcxx_cv_func__fmodl_use=yes
64906 else
64907 glibcxx_cv_func__fmodl_use=no
64908 fi
64909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64910 ac_ext=c
64911 ac_cpp='$CPP $CPPFLAGS'
64912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64915
64916
64917 fi
64918
64919 fi
64920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64921 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64922
64923 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64924 for ac_func in _fmodl
64925 do :
64926 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64927 if test "x$ac_cv_func__fmodl" = xyes; then :
64928 cat >>confdefs.h <<_ACEOF
64929 #define HAVE__FMODL 1
64930 _ACEOF
64931
64932 fi
64933 done
64934
64935 fi
64936 fi
64937
64938
64939
64940
64941
64942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64943 $as_echo_n "checking for frexpl declaration... " >&6; }
64944 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64945 if ${glibcxx_cv_func_frexpl_use+:} false; then :
64946 $as_echo_n "(cached) " >&6
64947 else
64948
64949
64950 ac_ext=cpp
64951 ac_cpp='$CXXCPP $CPPFLAGS'
64952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64955
64956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64957 /* end confdefs.h. */
64958 #include <math.h>
64959 int
64960 main ()
64961 {
64962 frexpl(0, 0);
64963 ;
64964 return 0;
64965 }
64966 _ACEOF
64967 if ac_fn_cxx_try_compile "$LINENO"; then :
64968 glibcxx_cv_func_frexpl_use=yes
64969 else
64970 glibcxx_cv_func_frexpl_use=no
64971 fi
64972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64973 ac_ext=c
64974 ac_cpp='$CPP $CPPFLAGS'
64975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64978
64979
64980 fi
64981
64982 fi
64983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64984 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64985
64986 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64987 for ac_func in frexpl
64988 do :
64989 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64990 if test "x$ac_cv_func_frexpl" = xyes; then :
64991 cat >>confdefs.h <<_ACEOF
64992 #define HAVE_FREXPL 1
64993 _ACEOF
64994
64995 fi
64996 done
64997
64998 else
64999
65000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65001 $as_echo_n "checking for _frexpl declaration... " >&6; }
65002 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65003 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65004 $as_echo_n "(cached) " >&6
65005 else
65006
65007
65008 ac_ext=cpp
65009 ac_cpp='$CXXCPP $CPPFLAGS'
65010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65013
65014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65015 /* end confdefs.h. */
65016 #include <math.h>
65017 int
65018 main ()
65019 {
65020 _frexpl(0, 0);
65021 ;
65022 return 0;
65023 }
65024 _ACEOF
65025 if ac_fn_cxx_try_compile "$LINENO"; then :
65026 glibcxx_cv_func__frexpl_use=yes
65027 else
65028 glibcxx_cv_func__frexpl_use=no
65029 fi
65030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65031 ac_ext=c
65032 ac_cpp='$CPP $CPPFLAGS'
65033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65036
65037
65038 fi
65039
65040 fi
65041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65042 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65043
65044 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65045 for ac_func in _frexpl
65046 do :
65047 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65048 if test "x$ac_cv_func__frexpl" = xyes; then :
65049 cat >>confdefs.h <<_ACEOF
65050 #define HAVE__FREXPL 1
65051 _ACEOF
65052
65053 fi
65054 done
65055
65056 fi
65057 fi
65058
65059
65060
65061
65062
65063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65064 $as_echo_n "checking for hypotl declaration... " >&6; }
65065 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65066 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65067 $as_echo_n "(cached) " >&6
65068 else
65069
65070
65071 ac_ext=cpp
65072 ac_cpp='$CXXCPP $CPPFLAGS'
65073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65076
65077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65078 /* end confdefs.h. */
65079 #include <math.h>
65080 int
65081 main ()
65082 {
65083 hypotl(0, 0);
65084 ;
65085 return 0;
65086 }
65087 _ACEOF
65088 if ac_fn_cxx_try_compile "$LINENO"; then :
65089 glibcxx_cv_func_hypotl_use=yes
65090 else
65091 glibcxx_cv_func_hypotl_use=no
65092 fi
65093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65094 ac_ext=c
65095 ac_cpp='$CPP $CPPFLAGS'
65096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65099
65100
65101 fi
65102
65103 fi
65104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65105 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65106
65107 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65108 for ac_func in hypotl
65109 do :
65110 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65111 if test "x$ac_cv_func_hypotl" = xyes; then :
65112 cat >>confdefs.h <<_ACEOF
65113 #define HAVE_HYPOTL 1
65114 _ACEOF
65115
65116 fi
65117 done
65118
65119 else
65120
65121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65122 $as_echo_n "checking for _hypotl declaration... " >&6; }
65123 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65124 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65125 $as_echo_n "(cached) " >&6
65126 else
65127
65128
65129 ac_ext=cpp
65130 ac_cpp='$CXXCPP $CPPFLAGS'
65131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65134
65135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65136 /* end confdefs.h. */
65137 #include <math.h>
65138 int
65139 main ()
65140 {
65141 _hypotl(0, 0);
65142 ;
65143 return 0;
65144 }
65145 _ACEOF
65146 if ac_fn_cxx_try_compile "$LINENO"; then :
65147 glibcxx_cv_func__hypotl_use=yes
65148 else
65149 glibcxx_cv_func__hypotl_use=no
65150 fi
65151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65152 ac_ext=c
65153 ac_cpp='$CPP $CPPFLAGS'
65154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65157
65158
65159 fi
65160
65161 fi
65162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65163 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65164
65165 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65166 for ac_func in _hypotl
65167 do :
65168 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65169 if test "x$ac_cv_func__hypotl" = xyes; then :
65170 cat >>confdefs.h <<_ACEOF
65171 #define HAVE__HYPOTL 1
65172 _ACEOF
65173
65174 fi
65175 done
65176
65177 fi
65178 fi
65179
65180
65181
65182
65183
65184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65185 $as_echo_n "checking for ldexpl declaration... " >&6; }
65186 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65187 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65188 $as_echo_n "(cached) " >&6
65189 else
65190
65191
65192 ac_ext=cpp
65193 ac_cpp='$CXXCPP $CPPFLAGS'
65194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65197
65198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65199 /* end confdefs.h. */
65200 #include <math.h>
65201 int
65202 main ()
65203 {
65204 ldexpl(0, 0);
65205 ;
65206 return 0;
65207 }
65208 _ACEOF
65209 if ac_fn_cxx_try_compile "$LINENO"; then :
65210 glibcxx_cv_func_ldexpl_use=yes
65211 else
65212 glibcxx_cv_func_ldexpl_use=no
65213 fi
65214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65215 ac_ext=c
65216 ac_cpp='$CPP $CPPFLAGS'
65217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65220
65221
65222 fi
65223
65224 fi
65225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65226 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65227
65228 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65229 for ac_func in ldexpl
65230 do :
65231 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65232 if test "x$ac_cv_func_ldexpl" = xyes; then :
65233 cat >>confdefs.h <<_ACEOF
65234 #define HAVE_LDEXPL 1
65235 _ACEOF
65236
65237 fi
65238 done
65239
65240 else
65241
65242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65243 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65244 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65245 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65246 $as_echo_n "(cached) " >&6
65247 else
65248
65249
65250 ac_ext=cpp
65251 ac_cpp='$CXXCPP $CPPFLAGS'
65252 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65253 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65254 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65255
65256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65257 /* end confdefs.h. */
65258 #include <math.h>
65259 int
65260 main ()
65261 {
65262 _ldexpl(0, 0);
65263 ;
65264 return 0;
65265 }
65266 _ACEOF
65267 if ac_fn_cxx_try_compile "$LINENO"; then :
65268 glibcxx_cv_func__ldexpl_use=yes
65269 else
65270 glibcxx_cv_func__ldexpl_use=no
65271 fi
65272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65273 ac_ext=c
65274 ac_cpp='$CPP $CPPFLAGS'
65275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65278
65279
65280 fi
65281
65282 fi
65283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65284 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65285
65286 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65287 for ac_func in _ldexpl
65288 do :
65289 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65290 if test "x$ac_cv_func__ldexpl" = xyes; then :
65291 cat >>confdefs.h <<_ACEOF
65292 #define HAVE__LDEXPL 1
65293 _ACEOF
65294
65295 fi
65296 done
65297
65298 fi
65299 fi
65300
65301
65302
65303
65304
65305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65306 $as_echo_n "checking for logl declaration... " >&6; }
65307 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65308 if ${glibcxx_cv_func_logl_use+:} false; then :
65309 $as_echo_n "(cached) " >&6
65310 else
65311
65312
65313 ac_ext=cpp
65314 ac_cpp='$CXXCPP $CPPFLAGS'
65315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65318
65319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65320 /* end confdefs.h. */
65321 #include <math.h>
65322 #ifdef HAVE_IEEEFP_H
65323 #include <ieeefp.h>
65324 #endif
65325
65326 int
65327 main ()
65328 {
65329 logl(0);
65330 ;
65331 return 0;
65332 }
65333 _ACEOF
65334 if ac_fn_cxx_try_compile "$LINENO"; then :
65335 glibcxx_cv_func_logl_use=yes
65336 else
65337 glibcxx_cv_func_logl_use=no
65338 fi
65339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65340 ac_ext=c
65341 ac_cpp='$CPP $CPPFLAGS'
65342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65345
65346
65347 fi
65348
65349 fi
65350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65351 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65352
65353 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65354 for ac_func in logl
65355 do :
65356 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65357 if test "x$ac_cv_func_logl" = xyes; then :
65358 cat >>confdefs.h <<_ACEOF
65359 #define HAVE_LOGL 1
65360 _ACEOF
65361
65362 fi
65363 done
65364
65365 else
65366
65367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65368 $as_echo_n "checking for _logl declaration... " >&6; }
65369 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65370 if ${glibcxx_cv_func__logl_use+:} false; then :
65371 $as_echo_n "(cached) " >&6
65372 else
65373
65374
65375 ac_ext=cpp
65376 ac_cpp='$CXXCPP $CPPFLAGS'
65377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65380
65381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65382 /* end confdefs.h. */
65383 #include <math.h>
65384 #ifdef HAVE_IEEEFP_H
65385 #include <ieeefp.h>
65386 #endif
65387
65388 int
65389 main ()
65390 {
65391 _logl(0);
65392 ;
65393 return 0;
65394 }
65395 _ACEOF
65396 if ac_fn_cxx_try_compile "$LINENO"; then :
65397 glibcxx_cv_func__logl_use=yes
65398 else
65399 glibcxx_cv_func__logl_use=no
65400 fi
65401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65402 ac_ext=c
65403 ac_cpp='$CPP $CPPFLAGS'
65404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65407
65408
65409 fi
65410
65411 fi
65412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65413 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65414
65415 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65416 for ac_func in _logl
65417 do :
65418 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65419 if test "x$ac_cv_func__logl" = xyes; then :
65420 cat >>confdefs.h <<_ACEOF
65421 #define HAVE__LOGL 1
65422 _ACEOF
65423
65424 fi
65425 done
65426
65427 fi
65428 fi
65429
65430
65431
65432
65433
65434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65435 $as_echo_n "checking for log10l declaration... " >&6; }
65436 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65437 if ${glibcxx_cv_func_log10l_use+:} false; then :
65438 $as_echo_n "(cached) " >&6
65439 else
65440
65441
65442 ac_ext=cpp
65443 ac_cpp='$CXXCPP $CPPFLAGS'
65444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65447
65448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65449 /* end confdefs.h. */
65450 #include <math.h>
65451 #ifdef HAVE_IEEEFP_H
65452 #include <ieeefp.h>
65453 #endif
65454
65455 int
65456 main ()
65457 {
65458 log10l(0);
65459 ;
65460 return 0;
65461 }
65462 _ACEOF
65463 if ac_fn_cxx_try_compile "$LINENO"; then :
65464 glibcxx_cv_func_log10l_use=yes
65465 else
65466 glibcxx_cv_func_log10l_use=no
65467 fi
65468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65469 ac_ext=c
65470 ac_cpp='$CPP $CPPFLAGS'
65471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65474
65475
65476 fi
65477
65478 fi
65479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65480 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65481
65482 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65483 for ac_func in log10l
65484 do :
65485 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65486 if test "x$ac_cv_func_log10l" = xyes; then :
65487 cat >>confdefs.h <<_ACEOF
65488 #define HAVE_LOG10L 1
65489 _ACEOF
65490
65491 fi
65492 done
65493
65494 else
65495
65496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65497 $as_echo_n "checking for _log10l declaration... " >&6; }
65498 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65499 if ${glibcxx_cv_func__log10l_use+:} false; then :
65500 $as_echo_n "(cached) " >&6
65501 else
65502
65503
65504 ac_ext=cpp
65505 ac_cpp='$CXXCPP $CPPFLAGS'
65506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65509
65510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65511 /* end confdefs.h. */
65512 #include <math.h>
65513 #ifdef HAVE_IEEEFP_H
65514 #include <ieeefp.h>
65515 #endif
65516
65517 int
65518 main ()
65519 {
65520 _log10l(0);
65521 ;
65522 return 0;
65523 }
65524 _ACEOF
65525 if ac_fn_cxx_try_compile "$LINENO"; then :
65526 glibcxx_cv_func__log10l_use=yes
65527 else
65528 glibcxx_cv_func__log10l_use=no
65529 fi
65530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65531 ac_ext=c
65532 ac_cpp='$CPP $CPPFLAGS'
65533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65536
65537
65538 fi
65539
65540 fi
65541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65542 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65543
65544 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65545 for ac_func in _log10l
65546 do :
65547 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65548 if test "x$ac_cv_func__log10l" = xyes; then :
65549 cat >>confdefs.h <<_ACEOF
65550 #define HAVE__LOG10L 1
65551 _ACEOF
65552
65553 fi
65554 done
65555
65556 fi
65557 fi
65558
65559
65560
65561
65562
65563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65564 $as_echo_n "checking for modfl declaration... " >&6; }
65565 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65566 if ${glibcxx_cv_func_modfl_use+:} false; then :
65567 $as_echo_n "(cached) " >&6
65568 else
65569
65570
65571 ac_ext=cpp
65572 ac_cpp='$CXXCPP $CPPFLAGS'
65573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65576
65577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65578 /* end confdefs.h. */
65579 #include <math.h>
65580 int
65581 main ()
65582 {
65583 modfl(0, 0);
65584 ;
65585 return 0;
65586 }
65587 _ACEOF
65588 if ac_fn_cxx_try_compile "$LINENO"; then :
65589 glibcxx_cv_func_modfl_use=yes
65590 else
65591 glibcxx_cv_func_modfl_use=no
65592 fi
65593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65594 ac_ext=c
65595 ac_cpp='$CPP $CPPFLAGS'
65596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65599
65600
65601 fi
65602
65603 fi
65604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65605 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65606
65607 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65608 for ac_func in modfl
65609 do :
65610 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65611 if test "x$ac_cv_func_modfl" = xyes; then :
65612 cat >>confdefs.h <<_ACEOF
65613 #define HAVE_MODFL 1
65614 _ACEOF
65615
65616 fi
65617 done
65618
65619 else
65620
65621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65622 $as_echo_n "checking for _modfl declaration... " >&6; }
65623 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65624 if ${glibcxx_cv_func__modfl_use+:} false; then :
65625 $as_echo_n "(cached) " >&6
65626 else
65627
65628
65629 ac_ext=cpp
65630 ac_cpp='$CXXCPP $CPPFLAGS'
65631 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65632 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65633 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65634
65635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65636 /* end confdefs.h. */
65637 #include <math.h>
65638 int
65639 main ()
65640 {
65641 _modfl(0, 0);
65642 ;
65643 return 0;
65644 }
65645 _ACEOF
65646 if ac_fn_cxx_try_compile "$LINENO"; then :
65647 glibcxx_cv_func__modfl_use=yes
65648 else
65649 glibcxx_cv_func__modfl_use=no
65650 fi
65651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65652 ac_ext=c
65653 ac_cpp='$CPP $CPPFLAGS'
65654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65657
65658
65659 fi
65660
65661 fi
65662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65663 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65664
65665 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65666 for ac_func in _modfl
65667 do :
65668 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65669 if test "x$ac_cv_func__modfl" = xyes; then :
65670 cat >>confdefs.h <<_ACEOF
65671 #define HAVE__MODFL 1
65672 _ACEOF
65673
65674 fi
65675 done
65676
65677 fi
65678 fi
65679
65680
65681
65682
65683
65684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65685 $as_echo_n "checking for powl declaration... " >&6; }
65686 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65687 if ${glibcxx_cv_func_powl_use+:} false; then :
65688 $as_echo_n "(cached) " >&6
65689 else
65690
65691
65692 ac_ext=cpp
65693 ac_cpp='$CXXCPP $CPPFLAGS'
65694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65697
65698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65699 /* end confdefs.h. */
65700 #include <math.h>
65701 int
65702 main ()
65703 {
65704 powl(0, 0);
65705 ;
65706 return 0;
65707 }
65708 _ACEOF
65709 if ac_fn_cxx_try_compile "$LINENO"; then :
65710 glibcxx_cv_func_powl_use=yes
65711 else
65712 glibcxx_cv_func_powl_use=no
65713 fi
65714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65715 ac_ext=c
65716 ac_cpp='$CPP $CPPFLAGS'
65717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65720
65721
65722 fi
65723
65724 fi
65725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65726 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65727
65728 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65729 for ac_func in powl
65730 do :
65731 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65732 if test "x$ac_cv_func_powl" = xyes; then :
65733 cat >>confdefs.h <<_ACEOF
65734 #define HAVE_POWL 1
65735 _ACEOF
65736
65737 fi
65738 done
65739
65740 else
65741
65742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65743 $as_echo_n "checking for _powl declaration... " >&6; }
65744 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65745 if ${glibcxx_cv_func__powl_use+:} false; then :
65746 $as_echo_n "(cached) " >&6
65747 else
65748
65749
65750 ac_ext=cpp
65751 ac_cpp='$CXXCPP $CPPFLAGS'
65752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65755
65756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65757 /* end confdefs.h. */
65758 #include <math.h>
65759 int
65760 main ()
65761 {
65762 _powl(0, 0);
65763 ;
65764 return 0;
65765 }
65766 _ACEOF
65767 if ac_fn_cxx_try_compile "$LINENO"; then :
65768 glibcxx_cv_func__powl_use=yes
65769 else
65770 glibcxx_cv_func__powl_use=no
65771 fi
65772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65773 ac_ext=c
65774 ac_cpp='$CPP $CPPFLAGS'
65775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65778
65779
65780 fi
65781
65782 fi
65783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65784 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65785
65786 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65787 for ac_func in _powl
65788 do :
65789 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65790 if test "x$ac_cv_func__powl" = xyes; then :
65791 cat >>confdefs.h <<_ACEOF
65792 #define HAVE__POWL 1
65793 _ACEOF
65794
65795 fi
65796 done
65797
65798 fi
65799 fi
65800
65801
65802
65803
65804
65805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65806 $as_echo_n "checking for sqrtl declaration... " >&6; }
65807 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65808 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
65809 $as_echo_n "(cached) " >&6
65810 else
65811
65812
65813 ac_ext=cpp
65814 ac_cpp='$CXXCPP $CPPFLAGS'
65815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65818
65819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65820 /* end confdefs.h. */
65821 #include <math.h>
65822 #ifdef HAVE_IEEEFP_H
65823 #include <ieeefp.h>
65824 #endif
65825
65826 int
65827 main ()
65828 {
65829 sqrtl(0);
65830 ;
65831 return 0;
65832 }
65833 _ACEOF
65834 if ac_fn_cxx_try_compile "$LINENO"; then :
65835 glibcxx_cv_func_sqrtl_use=yes
65836 else
65837 glibcxx_cv_func_sqrtl_use=no
65838 fi
65839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65840 ac_ext=c
65841 ac_cpp='$CPP $CPPFLAGS'
65842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65845
65846
65847 fi
65848
65849 fi
65850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65851 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65852
65853 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65854 for ac_func in sqrtl
65855 do :
65856 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65857 if test "x$ac_cv_func_sqrtl" = xyes; then :
65858 cat >>confdefs.h <<_ACEOF
65859 #define HAVE_SQRTL 1
65860 _ACEOF
65861
65862 fi
65863 done
65864
65865 else
65866
65867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65868 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65869 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65870 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
65871 $as_echo_n "(cached) " >&6
65872 else
65873
65874
65875 ac_ext=cpp
65876 ac_cpp='$CXXCPP $CPPFLAGS'
65877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65880
65881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65882 /* end confdefs.h. */
65883 #include <math.h>
65884 #ifdef HAVE_IEEEFP_H
65885 #include <ieeefp.h>
65886 #endif
65887
65888 int
65889 main ()
65890 {
65891 _sqrtl(0);
65892 ;
65893 return 0;
65894 }
65895 _ACEOF
65896 if ac_fn_cxx_try_compile "$LINENO"; then :
65897 glibcxx_cv_func__sqrtl_use=yes
65898 else
65899 glibcxx_cv_func__sqrtl_use=no
65900 fi
65901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65902 ac_ext=c
65903 ac_cpp='$CPP $CPPFLAGS'
65904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65907
65908
65909 fi
65910
65911 fi
65912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65913 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65914
65915 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65916 for ac_func in _sqrtl
65917 do :
65918 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65919 if test "x$ac_cv_func__sqrtl" = xyes; then :
65920 cat >>confdefs.h <<_ACEOF
65921 #define HAVE__SQRTL 1
65922 _ACEOF
65923
65924 fi
65925 done
65926
65927 fi
65928 fi
65929
65930
65931
65932
65933
65934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65935 $as_echo_n "checking for sincosl declaration... " >&6; }
65936 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65937 if ${glibcxx_cv_func_sincosl_use+:} false; then :
65938 $as_echo_n "(cached) " >&6
65939 else
65940
65941
65942 ac_ext=cpp
65943 ac_cpp='$CXXCPP $CPPFLAGS'
65944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65947
65948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65949 /* end confdefs.h. */
65950 #include <math.h>
65951 int
65952 main ()
65953 {
65954 sincosl(0, 0, 0);
65955 ;
65956 return 0;
65957 }
65958 _ACEOF
65959 if ac_fn_cxx_try_compile "$LINENO"; then :
65960 glibcxx_cv_func_sincosl_use=yes
65961 else
65962 glibcxx_cv_func_sincosl_use=no
65963 fi
65964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65965 ac_ext=c
65966 ac_cpp='$CPP $CPPFLAGS'
65967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65970
65971
65972 fi
65973
65974 fi
65975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65976 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65977
65978 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65979 for ac_func in sincosl
65980 do :
65981 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65982 if test "x$ac_cv_func_sincosl" = xyes; then :
65983 cat >>confdefs.h <<_ACEOF
65984 #define HAVE_SINCOSL 1
65985 _ACEOF
65986
65987 fi
65988 done
65989
65990 else
65991
65992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65993 $as_echo_n "checking for _sincosl declaration... " >&6; }
65994 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65995 if ${glibcxx_cv_func__sincosl_use+:} false; then :
65996 $as_echo_n "(cached) " >&6
65997 else
65998
65999
66000 ac_ext=cpp
66001 ac_cpp='$CXXCPP $CPPFLAGS'
66002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66005
66006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66007 /* end confdefs.h. */
66008 #include <math.h>
66009 int
66010 main ()
66011 {
66012 _sincosl(0, 0, 0);
66013 ;
66014 return 0;
66015 }
66016 _ACEOF
66017 if ac_fn_cxx_try_compile "$LINENO"; then :
66018 glibcxx_cv_func__sincosl_use=yes
66019 else
66020 glibcxx_cv_func__sincosl_use=no
66021 fi
66022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66023 ac_ext=c
66024 ac_cpp='$CPP $CPPFLAGS'
66025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66028
66029
66030 fi
66031
66032 fi
66033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66034 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66035
66036 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66037 for ac_func in _sincosl
66038 do :
66039 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66040 if test "x$ac_cv_func__sincosl" = xyes; then :
66041 cat >>confdefs.h <<_ACEOF
66042 #define HAVE__SINCOSL 1
66043 _ACEOF
66044
66045 fi
66046 done
66047
66048 fi
66049 fi
66050
66051
66052
66053
66054
66055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66056 $as_echo_n "checking for finitel declaration... " >&6; }
66057 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66058 if ${glibcxx_cv_func_finitel_use+:} false; then :
66059 $as_echo_n "(cached) " >&6
66060 else
66061
66062
66063 ac_ext=cpp
66064 ac_cpp='$CXXCPP $CPPFLAGS'
66065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66068
66069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66070 /* end confdefs.h. */
66071 #include <math.h>
66072 #ifdef HAVE_IEEEFP_H
66073 #include <ieeefp.h>
66074 #endif
66075
66076 int
66077 main ()
66078 {
66079 finitel(0);
66080 ;
66081 return 0;
66082 }
66083 _ACEOF
66084 if ac_fn_cxx_try_compile "$LINENO"; then :
66085 glibcxx_cv_func_finitel_use=yes
66086 else
66087 glibcxx_cv_func_finitel_use=no
66088 fi
66089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66090 ac_ext=c
66091 ac_cpp='$CPP $CPPFLAGS'
66092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66095
66096
66097 fi
66098
66099 fi
66100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66101 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66102
66103 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66104 for ac_func in finitel
66105 do :
66106 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66107 if test "x$ac_cv_func_finitel" = xyes; then :
66108 cat >>confdefs.h <<_ACEOF
66109 #define HAVE_FINITEL 1
66110 _ACEOF
66111
66112 fi
66113 done
66114
66115 else
66116
66117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66118 $as_echo_n "checking for _finitel declaration... " >&6; }
66119 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66120 if ${glibcxx_cv_func__finitel_use+:} false; then :
66121 $as_echo_n "(cached) " >&6
66122 else
66123
66124
66125 ac_ext=cpp
66126 ac_cpp='$CXXCPP $CPPFLAGS'
66127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66130
66131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66132 /* end confdefs.h. */
66133 #include <math.h>
66134 #ifdef HAVE_IEEEFP_H
66135 #include <ieeefp.h>
66136 #endif
66137
66138 int
66139 main ()
66140 {
66141 _finitel(0);
66142 ;
66143 return 0;
66144 }
66145 _ACEOF
66146 if ac_fn_cxx_try_compile "$LINENO"; then :
66147 glibcxx_cv_func__finitel_use=yes
66148 else
66149 glibcxx_cv_func__finitel_use=no
66150 fi
66151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66152 ac_ext=c
66153 ac_cpp='$CPP $CPPFLAGS'
66154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66157
66158
66159 fi
66160
66161 fi
66162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66163 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66164
66165 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66166 for ac_func in _finitel
66167 do :
66168 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66169 if test "x$ac_cv_func__finitel" = xyes; then :
66170 cat >>confdefs.h <<_ACEOF
66171 #define HAVE__FINITEL 1
66172 _ACEOF
66173
66174 fi
66175 done
66176
66177 fi
66178 fi
66179
66180
66181
66182
66183 LIBS="$ac_save_LIBS"
66184 CXXFLAGS="$ac_save_CXXFLAGS"
66185
66186
66187 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66188 ac_save_CXXFLAGS="$CXXFLAGS"
66189 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66190
66191
66192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66193 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66194 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66195 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66196 $as_echo_n "(cached) " >&6
66197 else
66198
66199
66200 ac_ext=cpp
66201 ac_cpp='$CXXCPP $CPPFLAGS'
66202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66205
66206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66207 /* end confdefs.h. */
66208 #include <stdlib.h>
66209 int
66210 main ()
66211 {
66212 at_quick_exit(0);
66213 ;
66214 return 0;
66215 }
66216 _ACEOF
66217 if ac_fn_cxx_try_compile "$LINENO"; then :
66218 glibcxx_cv_func_at_quick_exit_use=yes
66219 else
66220 glibcxx_cv_func_at_quick_exit_use=no
66221 fi
66222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66223 ac_ext=c
66224 ac_cpp='$CPP $CPPFLAGS'
66225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66228
66229
66230 fi
66231
66232 fi
66233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66234 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66235 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66236 for ac_func in at_quick_exit
66237 do :
66238 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66239 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66240 cat >>confdefs.h <<_ACEOF
66241 #define HAVE_AT_QUICK_EXIT 1
66242 _ACEOF
66243
66244 fi
66245 done
66246
66247 fi
66248
66249
66250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66251 $as_echo_n "checking for quick_exit declaration... " >&6; }
66252 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66253 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66254 $as_echo_n "(cached) " >&6
66255 else
66256
66257
66258 ac_ext=cpp
66259 ac_cpp='$CXXCPP $CPPFLAGS'
66260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66263
66264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66265 /* end confdefs.h. */
66266 #include <stdlib.h>
66267 int
66268 main ()
66269 {
66270 quick_exit(0);
66271 ;
66272 return 0;
66273 }
66274 _ACEOF
66275 if ac_fn_cxx_try_compile "$LINENO"; then :
66276 glibcxx_cv_func_quick_exit_use=yes
66277 else
66278 glibcxx_cv_func_quick_exit_use=no
66279 fi
66280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66281 ac_ext=c
66282 ac_cpp='$CPP $CPPFLAGS'
66283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66286
66287
66288 fi
66289
66290 fi
66291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66292 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66293 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66294 for ac_func in quick_exit
66295 do :
66296 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66297 if test "x$ac_cv_func_quick_exit" = xyes; then :
66298 cat >>confdefs.h <<_ACEOF
66299 #define HAVE_QUICK_EXIT 1
66300 _ACEOF
66301
66302 fi
66303 done
66304
66305 fi
66306
66307
66308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66309 $as_echo_n "checking for strtold declaration... " >&6; }
66310 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66311 if ${glibcxx_cv_func_strtold_use+:} false; then :
66312 $as_echo_n "(cached) " >&6
66313 else
66314
66315
66316 ac_ext=cpp
66317 ac_cpp='$CXXCPP $CPPFLAGS'
66318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66321
66322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66323 /* end confdefs.h. */
66324 #include <stdlib.h>
66325 int
66326 main ()
66327 {
66328 strtold(0, 0);
66329 ;
66330 return 0;
66331 }
66332 _ACEOF
66333 if ac_fn_cxx_try_compile "$LINENO"; then :
66334 glibcxx_cv_func_strtold_use=yes
66335 else
66336 glibcxx_cv_func_strtold_use=no
66337 fi
66338 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66339 ac_ext=c
66340 ac_cpp='$CPP $CPPFLAGS'
66341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66344
66345
66346 fi
66347
66348 fi
66349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66350 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66351 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66352 for ac_func in strtold
66353 do :
66354 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66355 if test "x$ac_cv_func_strtold" = xyes; then :
66356 cat >>confdefs.h <<_ACEOF
66357 #define HAVE_STRTOLD 1
66358 _ACEOF
66359
66360 fi
66361 done
66362
66363 fi
66364
66365
66366
66367
66368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66369 $as_echo_n "checking for strtof declaration... " >&6; }
66370 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66371 if ${glibcxx_cv_func_strtof_use+:} false; then :
66372 $as_echo_n "(cached) " >&6
66373 else
66374
66375
66376 ac_ext=cpp
66377 ac_cpp='$CXXCPP $CPPFLAGS'
66378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66381
66382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66383 /* end confdefs.h. */
66384 #include <stdlib.h>
66385 int
66386 main ()
66387 {
66388 strtof(0, 0);
66389 ;
66390 return 0;
66391 }
66392 _ACEOF
66393 if ac_fn_cxx_try_compile "$LINENO"; then :
66394 glibcxx_cv_func_strtof_use=yes
66395 else
66396 glibcxx_cv_func_strtof_use=no
66397 fi
66398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66399 ac_ext=c
66400 ac_cpp='$CPP $CPPFLAGS'
66401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66404
66405
66406 fi
66407
66408 fi
66409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66410 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66411 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66412 for ac_func in strtof
66413 do :
66414 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66415 if test "x$ac_cv_func_strtof" = xyes; then :
66416 cat >>confdefs.h <<_ACEOF
66417 #define HAVE_STRTOF 1
66418 _ACEOF
66419
66420 fi
66421 done
66422
66423 fi
66424
66425
66426
66427
66428 CXXFLAGS="$ac_save_CXXFLAGS"
66429
66430 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66431 do :
66432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66433 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66434 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66435 cat >>confdefs.h <<_ACEOF
66436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66437 _ACEOF
66438
66439 fi
66440 done
66441
66442 for ac_func in _wfopen
66443 do :
66444 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66445 if test "x$ac_cv_func__wfopen" = xyes; then :
66446 cat >>confdefs.h <<_ACEOF
66447 #define HAVE__WFOPEN 1
66448 _ACEOF
66449
66450 fi
66451 done
66452
66453 ;;
66454 *-netbsd* | *-openbsd*)
66455 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66456
66457
66458 # If we're not using GNU ld, then there's no point in even trying these
66459 # tests. Check for that first. We should have already tested for gld
66460 # by now (in libtool), but require it now just to be safe...
66461 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66462 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66463
66464
66465
66466 # The name set by libtool depends on the version of libtool. Shame on us
66467 # for depending on an impl detail, but c'est la vie. Older versions used
66468 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66469 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66470 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66471 # set (hence we're using an older libtool), then set it.
66472 if test x${with_gnu_ld+set} != xset; then
66473 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66474 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66475 with_gnu_ld=no
66476 else
66477 with_gnu_ld=$ac_cv_prog_gnu_ld
66478 fi
66479 fi
66480
66481 # Start by getting the version number. I think the libtool test already
66482 # does some of this, but throws away the result.
66483 glibcxx_ld_is_gold=no
66484 if test x"$with_gnu_ld" = x"yes"; then
66485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66486 $as_echo_n "checking for ld version... " >&6; }
66487
66488 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66489 glibcxx_ld_is_gold=yes
66490 fi
66491 ldver=`$LD --version 2>/dev/null |
66492 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'`
66493
66494 glibcxx_gnu_ld_version=`echo $ldver | \
66495 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66497 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66498 fi
66499
66500 # Set --gc-sections.
66501 glibcxx_have_gc_sections=no
66502 if test "$glibcxx_ld_is_gold" = "yes"; then
66503 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66504 glibcxx_have_gc_sections=yes
66505 fi
66506 else
66507 glibcxx_gcsections_min_ld=21602
66508 if test x"$with_gnu_ld" = x"yes" &&
66509 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66510 glibcxx_have_gc_sections=yes
66511 fi
66512 fi
66513 if test "$glibcxx_have_gc_sections" = "yes"; then
66514 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66515 # NB: This flag only works reliably after 2.16.1. Configure tests
66516 # for this are difficult, so hard wire a value that should work.
66517
66518 ac_test_CFLAGS="${CFLAGS+set}"
66519 ac_save_CFLAGS="$CFLAGS"
66520 CFLAGS='-Wl,--gc-sections'
66521
66522 # Check for -Wl,--gc-sections
66523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66524 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66525 if test x$gcc_no_link = xyes; then
66526 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66527 fi
66528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66529 /* end confdefs.h. */
66530 int one(void) { return 1; }
66531 int two(void) { return 2; }
66532
66533 int
66534 main ()
66535 {
66536 two();
66537 ;
66538 return 0;
66539 }
66540 _ACEOF
66541 if ac_fn_c_try_link "$LINENO"; then :
66542 ac_gcsections=yes
66543 else
66544 ac_gcsections=no
66545 fi
66546 rm -f core conftest.err conftest.$ac_objext \
66547 conftest$ac_exeext conftest.$ac_ext
66548 if test "$ac_gcsections" = "yes"; then
66549 rm -f conftest.c
66550 touch conftest.c
66551 if $CC -c conftest.c; then
66552 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66553 grep "Warning: gc-sections option ignored" > /dev/null; then
66554 ac_gcsections=no
66555 fi
66556 fi
66557 rm -f conftest.c conftest.o conftest
66558 fi
66559 if test "$ac_gcsections" = "yes"; then
66560 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66561 fi
66562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66563 $as_echo "$ac_gcsections" >&6; }
66564
66565 if test "$ac_test_CFLAGS" = set; then
66566 CFLAGS="$ac_save_CFLAGS"
66567 else
66568 # this is the suspicious part
66569 CFLAGS=''
66570 fi
66571 fi
66572
66573 # Set -z,relro.
66574 # Note this is only for shared objects.
66575 ac_ld_relro=no
66576 if test x"$with_gnu_ld" = x"yes"; then
66577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66578 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66579 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66580 if test -n "$cxx_z_relo"; then
66581 OPT_LDFLAGS="-Wl,-z,relro"
66582 ac_ld_relro=yes
66583 fi
66584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66585 $as_echo "$ac_ld_relro" >&6; }
66586 fi
66587
66588 # Set linker optimization flags.
66589 if test x"$with_gnu_ld" = x"yes"; then
66590 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66591 fi
66592
66593
66594
66595
66596 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66597
66598 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66599
66600 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66601
66602 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66603
66604 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66605
66606 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66607
66608 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66609
66610 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66611
66612 if test x"long_double_math_on_this_cpu" = x"yes"; then
66613 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66614
66615 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66616
66617 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66618
66619 fi
66620 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66621 do :
66622 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66623 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66624 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66625 cat >>confdefs.h <<_ACEOF
66626 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66627 _ACEOF
66628
66629 fi
66630 done
66631
66632 for ac_func in timespec_get
66633 do :
66634 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
66635 if test "x$ac_cv_func_timespec_get" = xyes; then :
66636 cat >>confdefs.h <<_ACEOF
66637 #define HAVE_TIMESPEC_GET 1
66638 _ACEOF
66639
66640 fi
66641 done
66642
66643 for ac_func in sockatmark
66644 do :
66645 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
66646 if test "x$ac_cv_func_sockatmark" = xyes; then :
66647 cat >>confdefs.h <<_ACEOF
66648 #define HAVE_SOCKATMARK 1
66649 _ACEOF
66650
66651 fi
66652 done
66653
66654 ;;
66655 *-qnx6.1* | *-qnx6.2*)
66656 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66657
66658
66659 # If we're not using GNU ld, then there's no point in even trying these
66660 # tests. Check for that first. We should have already tested for gld
66661 # by now (in libtool), but require it now just to be safe...
66662 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66663 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66664
66665
66666
66667 # The name set by libtool depends on the version of libtool. Shame on us
66668 # for depending on an impl detail, but c'est la vie. Older versions used
66669 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66670 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66671 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66672 # set (hence we're using an older libtool), then set it.
66673 if test x${with_gnu_ld+set} != xset; then
66674 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66675 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66676 with_gnu_ld=no
66677 else
66678 with_gnu_ld=$ac_cv_prog_gnu_ld
66679 fi
66680 fi
66681
66682 # Start by getting the version number. I think the libtool test already
66683 # does some of this, but throws away the result.
66684 glibcxx_ld_is_gold=no
66685 if test x"$with_gnu_ld" = x"yes"; then
66686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66687 $as_echo_n "checking for ld version... " >&6; }
66688
66689 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66690 glibcxx_ld_is_gold=yes
66691 fi
66692 ldver=`$LD --version 2>/dev/null |
66693 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'`
66694
66695 glibcxx_gnu_ld_version=`echo $ldver | \
66696 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66698 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66699 fi
66700
66701 # Set --gc-sections.
66702 glibcxx_have_gc_sections=no
66703 if test "$glibcxx_ld_is_gold" = "yes"; then
66704 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66705 glibcxx_have_gc_sections=yes
66706 fi
66707 else
66708 glibcxx_gcsections_min_ld=21602
66709 if test x"$with_gnu_ld" = x"yes" &&
66710 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66711 glibcxx_have_gc_sections=yes
66712 fi
66713 fi
66714 if test "$glibcxx_have_gc_sections" = "yes"; then
66715 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66716 # NB: This flag only works reliably after 2.16.1. Configure tests
66717 # for this are difficult, so hard wire a value that should work.
66718
66719 ac_test_CFLAGS="${CFLAGS+set}"
66720 ac_save_CFLAGS="$CFLAGS"
66721 CFLAGS='-Wl,--gc-sections'
66722
66723 # Check for -Wl,--gc-sections
66724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66725 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66726 if test x$gcc_no_link = xyes; then
66727 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66728 fi
66729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66730 /* end confdefs.h. */
66731 int one(void) { return 1; }
66732 int two(void) { return 2; }
66733
66734 int
66735 main ()
66736 {
66737 two();
66738 ;
66739 return 0;
66740 }
66741 _ACEOF
66742 if ac_fn_c_try_link "$LINENO"; then :
66743 ac_gcsections=yes
66744 else
66745 ac_gcsections=no
66746 fi
66747 rm -f core conftest.err conftest.$ac_objext \
66748 conftest$ac_exeext conftest.$ac_ext
66749 if test "$ac_gcsections" = "yes"; then
66750 rm -f conftest.c
66751 touch conftest.c
66752 if $CC -c conftest.c; then
66753 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66754 grep "Warning: gc-sections option ignored" > /dev/null; then
66755 ac_gcsections=no
66756 fi
66757 fi
66758 rm -f conftest.c conftest.o conftest
66759 fi
66760 if test "$ac_gcsections" = "yes"; then
66761 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66762 fi
66763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66764 $as_echo "$ac_gcsections" >&6; }
66765
66766 if test "$ac_test_CFLAGS" = set; then
66767 CFLAGS="$ac_save_CFLAGS"
66768 else
66769 # this is the suspicious part
66770 CFLAGS=''
66771 fi
66772 fi
66773
66774 # Set -z,relro.
66775 # Note this is only for shared objects.
66776 ac_ld_relro=no
66777 if test x"$with_gnu_ld" = x"yes"; then
66778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66779 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66780 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66781 if test -n "$cxx_z_relo"; then
66782 OPT_LDFLAGS="-Wl,-z,relro"
66783 ac_ld_relro=yes
66784 fi
66785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66786 $as_echo "$ac_ld_relro" >&6; }
66787 fi
66788
66789 # Set linker optimization flags.
66790 if test x"$with_gnu_ld" = x"yes"; then
66791 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66792 fi
66793
66794
66795
66796
66797 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66798
66799 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66800
66801 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66802
66803 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66804
66805 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66806
66807 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66808
66809 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66810
66811 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66812
66813 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66814
66815 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66816
66817 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66818
66819 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66820
66821 ;;
66822 *-rtems*)
66823
66824 # All these tests are for C++; save the language and the compiler flags.
66825 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66826 # found in GLIBCXX_CONFIGURE.
66827
66828 ac_ext=cpp
66829 ac_cpp='$CXXCPP $CPPFLAGS'
66830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66833
66834 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66835 ac_save_CXXFLAGS="$CXXFLAGS"
66836
66837 # Check for -ffunction-sections -fdata-sections
66838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66839 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66840 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66842 /* end confdefs.h. */
66843 int foo; void bar() { };
66844 int
66845 main ()
66846 {
66847
66848 ;
66849 return 0;
66850 }
66851 _ACEOF
66852 if ac_fn_cxx_try_compile "$LINENO"; then :
66853 ac_fdsections=yes
66854 else
66855 ac_fdsections=no
66856 fi
66857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66858 if test "$ac_test_CXXFLAGS" = set; then
66859 CXXFLAGS="$ac_save_CXXFLAGS"
66860 else
66861 # this is the suspicious part
66862 CXXFLAGS=''
66863 fi
66864 if test x"$ac_fdsections" = x"yes"; then
66865 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66866 fi
66867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66868 $as_echo "$ac_fdsections" >&6; }
66869
66870 ac_ext=c
66871 ac_cpp='$CPP $CPPFLAGS'
66872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66875
66876
66877
66878
66879 # If we're not using GNU ld, then there's no point in even trying these
66880 # tests. Check for that first. We should have already tested for gld
66881 # by now (in libtool), but require it now just to be safe...
66882 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66883 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66884
66885
66886
66887 # The name set by libtool depends on the version of libtool. Shame on us
66888 # for depending on an impl detail, but c'est la vie. Older versions used
66889 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66890 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66891 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66892 # set (hence we're using an older libtool), then set it.
66893 if test x${with_gnu_ld+set} != xset; then
66894 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66895 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66896 with_gnu_ld=no
66897 else
66898 with_gnu_ld=$ac_cv_prog_gnu_ld
66899 fi
66900 fi
66901
66902 # Start by getting the version number. I think the libtool test already
66903 # does some of this, but throws away the result.
66904 glibcxx_ld_is_gold=no
66905 if test x"$with_gnu_ld" = x"yes"; then
66906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66907 $as_echo_n "checking for ld version... " >&6; }
66908
66909 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66910 glibcxx_ld_is_gold=yes
66911 fi
66912 ldver=`$LD --version 2>/dev/null |
66913 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'`
66914
66915 glibcxx_gnu_ld_version=`echo $ldver | \
66916 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66918 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66919 fi
66920
66921 # Set --gc-sections.
66922 glibcxx_have_gc_sections=no
66923 if test "$glibcxx_ld_is_gold" = "yes"; then
66924 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66925 glibcxx_have_gc_sections=yes
66926 fi
66927 else
66928 glibcxx_gcsections_min_ld=21602
66929 if test x"$with_gnu_ld" = x"yes" &&
66930 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66931 glibcxx_have_gc_sections=yes
66932 fi
66933 fi
66934 if test "$glibcxx_have_gc_sections" = "yes"; then
66935 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66936 # NB: This flag only works reliably after 2.16.1. Configure tests
66937 # for this are difficult, so hard wire a value that should work.
66938
66939 ac_test_CFLAGS="${CFLAGS+set}"
66940 ac_save_CFLAGS="$CFLAGS"
66941 CFLAGS='-Wl,--gc-sections'
66942
66943 # Check for -Wl,--gc-sections
66944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66945 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66946 if test x$gcc_no_link = xyes; then
66947 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66948 fi
66949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66950 /* end confdefs.h. */
66951 int one(void) { return 1; }
66952 int two(void) { return 2; }
66953
66954 int
66955 main ()
66956 {
66957 two();
66958 ;
66959 return 0;
66960 }
66961 _ACEOF
66962 if ac_fn_c_try_link "$LINENO"; then :
66963 ac_gcsections=yes
66964 else
66965 ac_gcsections=no
66966 fi
66967 rm -f core conftest.err conftest.$ac_objext \
66968 conftest$ac_exeext conftest.$ac_ext
66969 if test "$ac_gcsections" = "yes"; then
66970 rm -f conftest.c
66971 touch conftest.c
66972 if $CC -c conftest.c; then
66973 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66974 grep "Warning: gc-sections option ignored" > /dev/null; then
66975 ac_gcsections=no
66976 fi
66977 fi
66978 rm -f conftest.c conftest.o conftest
66979 fi
66980 if test "$ac_gcsections" = "yes"; then
66981 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66982 fi
66983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66984 $as_echo "$ac_gcsections" >&6; }
66985
66986 if test "$ac_test_CFLAGS" = set; then
66987 CFLAGS="$ac_save_CFLAGS"
66988 else
66989 # this is the suspicious part
66990 CFLAGS=''
66991 fi
66992 fi
66993
66994 # Set -z,relro.
66995 # Note this is only for shared objects.
66996 ac_ld_relro=no
66997 if test x"$with_gnu_ld" = x"yes"; then
66998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66999 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
67000 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
67001 if test -n "$cxx_z_relo"; then
67002 OPT_LDFLAGS="-Wl,-z,relro"
67003 ac_ld_relro=yes
67004 fi
67005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
67006 $as_echo "$ac_ld_relro" >&6; }
67007 fi
67008
67009 # Set linker optimization flags.
67010 if test x"$with_gnu_ld" = x"yes"; then
67011 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
67012 fi
67013
67014
67015
67016
67017
67018 ac_test_CXXFLAGS="${CXXFLAGS+set}"
67019 ac_save_CXXFLAGS="$CXXFLAGS"
67020 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
67021
67022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
67023 $as_echo_n "checking for sin in -lm... " >&6; }
67024 if ${ac_cv_lib_m_sin+:} false; then :
67025 $as_echo_n "(cached) " >&6
67026 else
67027 ac_check_lib_save_LIBS=$LIBS
67028 LIBS="-lm $LIBS"
67029 if test x$gcc_no_link = xyes; then
67030 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
67031 fi
67032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67033 /* end confdefs.h. */
67034
67035 /* Override any GCC internal prototype to avoid an error.
67036 Use char because int might match the return type of a GCC
67037 builtin and then its argument prototype would still apply. */
67038 #ifdef __cplusplus
67039 extern "C"
67040 #endif
67041 char sin ();
67042 int
67043 main ()
67044 {
67045 return sin ();
67046 ;
67047 return 0;
67048 }
67049 _ACEOF
67050 if ac_fn_c_try_link "$LINENO"; then :
67051 ac_cv_lib_m_sin=yes
67052 else
67053 ac_cv_lib_m_sin=no
67054 fi
67055 rm -f core conftest.err conftest.$ac_objext \
67056 conftest$ac_exeext conftest.$ac_ext
67057 LIBS=$ac_check_lib_save_LIBS
67058 fi
67059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
67060 $as_echo "$ac_cv_lib_m_sin" >&6; }
67061 if test "x$ac_cv_lib_m_sin" = xyes; then :
67062 libm="-lm"
67063 fi
67064
67065 ac_save_LIBS="$LIBS"
67066 LIBS="$LIBS $libm"
67067
67068
67069
67070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
67071 $as_echo_n "checking for isinf declaration... " >&6; }
67072 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
67073 if ${glibcxx_cv_func_isinf_use+:} false; then :
67074 $as_echo_n "(cached) " >&6
67075 else
67076
67077
67078 ac_ext=cpp
67079 ac_cpp='$CXXCPP $CPPFLAGS'
67080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67083
67084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67085 /* end confdefs.h. */
67086 #include <math.h>
67087 #ifdef HAVE_IEEEFP_H
67088 #include <ieeefp.h>
67089 #endif
67090
67091 int
67092 main ()
67093 {
67094 isinf(0);
67095 ;
67096 return 0;
67097 }
67098 _ACEOF
67099 if ac_fn_cxx_try_compile "$LINENO"; then :
67100 glibcxx_cv_func_isinf_use=yes
67101 else
67102 glibcxx_cv_func_isinf_use=no
67103 fi
67104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67105 ac_ext=c
67106 ac_cpp='$CPP $CPPFLAGS'
67107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67110
67111
67112 fi
67113
67114 fi
67115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67116 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67117
67118 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67119 for ac_func in isinf
67120 do :
67121 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67122 if test "x$ac_cv_func_isinf" = xyes; then :
67123 cat >>confdefs.h <<_ACEOF
67124 #define HAVE_ISINF 1
67125 _ACEOF
67126
67127 fi
67128 done
67129
67130 else
67131
67132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67133 $as_echo_n "checking for _isinf declaration... " >&6; }
67134 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67135 if ${glibcxx_cv_func__isinf_use+:} false; then :
67136 $as_echo_n "(cached) " >&6
67137 else
67138
67139
67140 ac_ext=cpp
67141 ac_cpp='$CXXCPP $CPPFLAGS'
67142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67145
67146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67147 /* end confdefs.h. */
67148 #include <math.h>
67149 #ifdef HAVE_IEEEFP_H
67150 #include <ieeefp.h>
67151 #endif
67152
67153 int
67154 main ()
67155 {
67156 _isinf(0);
67157 ;
67158 return 0;
67159 }
67160 _ACEOF
67161 if ac_fn_cxx_try_compile "$LINENO"; then :
67162 glibcxx_cv_func__isinf_use=yes
67163 else
67164 glibcxx_cv_func__isinf_use=no
67165 fi
67166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67167 ac_ext=c
67168 ac_cpp='$CPP $CPPFLAGS'
67169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67172
67173
67174 fi
67175
67176 fi
67177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67178 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67179
67180 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67181 for ac_func in _isinf
67182 do :
67183 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67184 if test "x$ac_cv_func__isinf" = xyes; then :
67185 cat >>confdefs.h <<_ACEOF
67186 #define HAVE__ISINF 1
67187 _ACEOF
67188
67189 fi
67190 done
67191
67192 fi
67193 fi
67194
67195
67196
67197
67198
67199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67200 $as_echo_n "checking for isnan declaration... " >&6; }
67201 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67202 if ${glibcxx_cv_func_isnan_use+:} false; then :
67203 $as_echo_n "(cached) " >&6
67204 else
67205
67206
67207 ac_ext=cpp
67208 ac_cpp='$CXXCPP $CPPFLAGS'
67209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67212
67213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67214 /* end confdefs.h. */
67215 #include <math.h>
67216 #ifdef HAVE_IEEEFP_H
67217 #include <ieeefp.h>
67218 #endif
67219
67220 int
67221 main ()
67222 {
67223 isnan(0);
67224 ;
67225 return 0;
67226 }
67227 _ACEOF
67228 if ac_fn_cxx_try_compile "$LINENO"; then :
67229 glibcxx_cv_func_isnan_use=yes
67230 else
67231 glibcxx_cv_func_isnan_use=no
67232 fi
67233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67234 ac_ext=c
67235 ac_cpp='$CPP $CPPFLAGS'
67236 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67237 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67238 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67239
67240
67241 fi
67242
67243 fi
67244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67245 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67246
67247 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67248 for ac_func in isnan
67249 do :
67250 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67251 if test "x$ac_cv_func_isnan" = xyes; then :
67252 cat >>confdefs.h <<_ACEOF
67253 #define HAVE_ISNAN 1
67254 _ACEOF
67255
67256 fi
67257 done
67258
67259 else
67260
67261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67262 $as_echo_n "checking for _isnan declaration... " >&6; }
67263 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67264 if ${glibcxx_cv_func__isnan_use+:} false; then :
67265 $as_echo_n "(cached) " >&6
67266 else
67267
67268
67269 ac_ext=cpp
67270 ac_cpp='$CXXCPP $CPPFLAGS'
67271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67274
67275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67276 /* end confdefs.h. */
67277 #include <math.h>
67278 #ifdef HAVE_IEEEFP_H
67279 #include <ieeefp.h>
67280 #endif
67281
67282 int
67283 main ()
67284 {
67285 _isnan(0);
67286 ;
67287 return 0;
67288 }
67289 _ACEOF
67290 if ac_fn_cxx_try_compile "$LINENO"; then :
67291 glibcxx_cv_func__isnan_use=yes
67292 else
67293 glibcxx_cv_func__isnan_use=no
67294 fi
67295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67296 ac_ext=c
67297 ac_cpp='$CPP $CPPFLAGS'
67298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67301
67302
67303 fi
67304
67305 fi
67306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67307 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67308
67309 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67310 for ac_func in _isnan
67311 do :
67312 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67313 if test "x$ac_cv_func__isnan" = xyes; then :
67314 cat >>confdefs.h <<_ACEOF
67315 #define HAVE__ISNAN 1
67316 _ACEOF
67317
67318 fi
67319 done
67320
67321 fi
67322 fi
67323
67324
67325
67326
67327
67328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67329 $as_echo_n "checking for finite declaration... " >&6; }
67330 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67331 if ${glibcxx_cv_func_finite_use+:} false; then :
67332 $as_echo_n "(cached) " >&6
67333 else
67334
67335
67336 ac_ext=cpp
67337 ac_cpp='$CXXCPP $CPPFLAGS'
67338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67341
67342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67343 /* end confdefs.h. */
67344 #include <math.h>
67345 #ifdef HAVE_IEEEFP_H
67346 #include <ieeefp.h>
67347 #endif
67348
67349 int
67350 main ()
67351 {
67352 finite(0);
67353 ;
67354 return 0;
67355 }
67356 _ACEOF
67357 if ac_fn_cxx_try_compile "$LINENO"; then :
67358 glibcxx_cv_func_finite_use=yes
67359 else
67360 glibcxx_cv_func_finite_use=no
67361 fi
67362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67363 ac_ext=c
67364 ac_cpp='$CPP $CPPFLAGS'
67365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67368
67369
67370 fi
67371
67372 fi
67373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67374 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67375
67376 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67377 for ac_func in finite
67378 do :
67379 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67380 if test "x$ac_cv_func_finite" = xyes; then :
67381 cat >>confdefs.h <<_ACEOF
67382 #define HAVE_FINITE 1
67383 _ACEOF
67384
67385 fi
67386 done
67387
67388 else
67389
67390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67391 $as_echo_n "checking for _finite declaration... " >&6; }
67392 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67393 if ${glibcxx_cv_func__finite_use+:} false; then :
67394 $as_echo_n "(cached) " >&6
67395 else
67396
67397
67398 ac_ext=cpp
67399 ac_cpp='$CXXCPP $CPPFLAGS'
67400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67403
67404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67405 /* end confdefs.h. */
67406 #include <math.h>
67407 #ifdef HAVE_IEEEFP_H
67408 #include <ieeefp.h>
67409 #endif
67410
67411 int
67412 main ()
67413 {
67414 _finite(0);
67415 ;
67416 return 0;
67417 }
67418 _ACEOF
67419 if ac_fn_cxx_try_compile "$LINENO"; then :
67420 glibcxx_cv_func__finite_use=yes
67421 else
67422 glibcxx_cv_func__finite_use=no
67423 fi
67424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67425 ac_ext=c
67426 ac_cpp='$CPP $CPPFLAGS'
67427 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67428 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67429 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67430
67431
67432 fi
67433
67434 fi
67435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67436 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67437
67438 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67439 for ac_func in _finite
67440 do :
67441 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67442 if test "x$ac_cv_func__finite" = xyes; then :
67443 cat >>confdefs.h <<_ACEOF
67444 #define HAVE__FINITE 1
67445 _ACEOF
67446
67447 fi
67448 done
67449
67450 fi
67451 fi
67452
67453
67454
67455
67456
67457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67458 $as_echo_n "checking for sincos declaration... " >&6; }
67459 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67460 if ${glibcxx_cv_func_sincos_use+:} false; then :
67461 $as_echo_n "(cached) " >&6
67462 else
67463
67464
67465 ac_ext=cpp
67466 ac_cpp='$CXXCPP $CPPFLAGS'
67467 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67468 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67469 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67470
67471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67472 /* end confdefs.h. */
67473 #include <math.h>
67474 int
67475 main ()
67476 {
67477 sincos(0, 0, 0);
67478 ;
67479 return 0;
67480 }
67481 _ACEOF
67482 if ac_fn_cxx_try_compile "$LINENO"; then :
67483 glibcxx_cv_func_sincos_use=yes
67484 else
67485 glibcxx_cv_func_sincos_use=no
67486 fi
67487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67488 ac_ext=c
67489 ac_cpp='$CPP $CPPFLAGS'
67490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67493
67494
67495 fi
67496
67497 fi
67498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67499 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67500
67501 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67502 for ac_func in sincos
67503 do :
67504 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67505 if test "x$ac_cv_func_sincos" = xyes; then :
67506 cat >>confdefs.h <<_ACEOF
67507 #define HAVE_SINCOS 1
67508 _ACEOF
67509
67510 fi
67511 done
67512
67513 else
67514
67515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67516 $as_echo_n "checking for _sincos declaration... " >&6; }
67517 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67518 if ${glibcxx_cv_func__sincos_use+:} false; then :
67519 $as_echo_n "(cached) " >&6
67520 else
67521
67522
67523 ac_ext=cpp
67524 ac_cpp='$CXXCPP $CPPFLAGS'
67525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67528
67529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67530 /* end confdefs.h. */
67531 #include <math.h>
67532 int
67533 main ()
67534 {
67535 _sincos(0, 0, 0);
67536 ;
67537 return 0;
67538 }
67539 _ACEOF
67540 if ac_fn_cxx_try_compile "$LINENO"; then :
67541 glibcxx_cv_func__sincos_use=yes
67542 else
67543 glibcxx_cv_func__sincos_use=no
67544 fi
67545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67546 ac_ext=c
67547 ac_cpp='$CPP $CPPFLAGS'
67548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67551
67552
67553 fi
67554
67555 fi
67556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67557 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67558
67559 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67560 for ac_func in _sincos
67561 do :
67562 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67563 if test "x$ac_cv_func__sincos" = xyes; then :
67564 cat >>confdefs.h <<_ACEOF
67565 #define HAVE__SINCOS 1
67566 _ACEOF
67567
67568 fi
67569 done
67570
67571 fi
67572 fi
67573
67574
67575
67576
67577
67578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67579 $as_echo_n "checking for fpclass declaration... " >&6; }
67580 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67581 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67582 $as_echo_n "(cached) " >&6
67583 else
67584
67585
67586 ac_ext=cpp
67587 ac_cpp='$CXXCPP $CPPFLAGS'
67588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67591
67592 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67593 /* end confdefs.h. */
67594 #include <math.h>
67595 #ifdef HAVE_IEEEFP_H
67596 #include <ieeefp.h>
67597 #endif
67598
67599 int
67600 main ()
67601 {
67602 fpclass(0);
67603 ;
67604 return 0;
67605 }
67606 _ACEOF
67607 if ac_fn_cxx_try_compile "$LINENO"; then :
67608 glibcxx_cv_func_fpclass_use=yes
67609 else
67610 glibcxx_cv_func_fpclass_use=no
67611 fi
67612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67613 ac_ext=c
67614 ac_cpp='$CPP $CPPFLAGS'
67615 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67616 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67617 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67618
67619
67620 fi
67621
67622 fi
67623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67624 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67625
67626 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67627 for ac_func in fpclass
67628 do :
67629 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67630 if test "x$ac_cv_func_fpclass" = xyes; then :
67631 cat >>confdefs.h <<_ACEOF
67632 #define HAVE_FPCLASS 1
67633 _ACEOF
67634
67635 fi
67636 done
67637
67638 else
67639
67640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67641 $as_echo_n "checking for _fpclass declaration... " >&6; }
67642 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67643 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67644 $as_echo_n "(cached) " >&6
67645 else
67646
67647
67648 ac_ext=cpp
67649 ac_cpp='$CXXCPP $CPPFLAGS'
67650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67653
67654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67655 /* end confdefs.h. */
67656 #include <math.h>
67657 #ifdef HAVE_IEEEFP_H
67658 #include <ieeefp.h>
67659 #endif
67660
67661 int
67662 main ()
67663 {
67664 _fpclass(0);
67665 ;
67666 return 0;
67667 }
67668 _ACEOF
67669 if ac_fn_cxx_try_compile "$LINENO"; then :
67670 glibcxx_cv_func__fpclass_use=yes
67671 else
67672 glibcxx_cv_func__fpclass_use=no
67673 fi
67674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67675 ac_ext=c
67676 ac_cpp='$CPP $CPPFLAGS'
67677 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67678 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67679 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67680
67681
67682 fi
67683
67684 fi
67685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67686 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67687
67688 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67689 for ac_func in _fpclass
67690 do :
67691 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67692 if test "x$ac_cv_func__fpclass" = xyes; then :
67693 cat >>confdefs.h <<_ACEOF
67694 #define HAVE__FPCLASS 1
67695 _ACEOF
67696
67697 fi
67698 done
67699
67700 fi
67701 fi
67702
67703
67704
67705
67706
67707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67708 $as_echo_n "checking for qfpclass declaration... " >&6; }
67709 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67710 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67711 $as_echo_n "(cached) " >&6
67712 else
67713
67714
67715 ac_ext=cpp
67716 ac_cpp='$CXXCPP $CPPFLAGS'
67717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67720
67721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67722 /* end confdefs.h. */
67723 #include <math.h>
67724 #ifdef HAVE_IEEEFP_H
67725 #include <ieeefp.h>
67726 #endif
67727
67728 int
67729 main ()
67730 {
67731 qfpclass(0);
67732 ;
67733 return 0;
67734 }
67735 _ACEOF
67736 if ac_fn_cxx_try_compile "$LINENO"; then :
67737 glibcxx_cv_func_qfpclass_use=yes
67738 else
67739 glibcxx_cv_func_qfpclass_use=no
67740 fi
67741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67742 ac_ext=c
67743 ac_cpp='$CPP $CPPFLAGS'
67744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67747
67748
67749 fi
67750
67751 fi
67752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67753 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67754
67755 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67756 for ac_func in qfpclass
67757 do :
67758 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67759 if test "x$ac_cv_func_qfpclass" = xyes; then :
67760 cat >>confdefs.h <<_ACEOF
67761 #define HAVE_QFPCLASS 1
67762 _ACEOF
67763
67764 fi
67765 done
67766
67767 else
67768
67769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67770 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67771 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67772 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67773 $as_echo_n "(cached) " >&6
67774 else
67775
67776
67777 ac_ext=cpp
67778 ac_cpp='$CXXCPP $CPPFLAGS'
67779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67782
67783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67784 /* end confdefs.h. */
67785 #include <math.h>
67786 #ifdef HAVE_IEEEFP_H
67787 #include <ieeefp.h>
67788 #endif
67789
67790 int
67791 main ()
67792 {
67793 _qfpclass(0);
67794 ;
67795 return 0;
67796 }
67797 _ACEOF
67798 if ac_fn_cxx_try_compile "$LINENO"; then :
67799 glibcxx_cv_func__qfpclass_use=yes
67800 else
67801 glibcxx_cv_func__qfpclass_use=no
67802 fi
67803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67804 ac_ext=c
67805 ac_cpp='$CPP $CPPFLAGS'
67806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67809
67810
67811 fi
67812
67813 fi
67814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67815 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67816
67817 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67818 for ac_func in _qfpclass
67819 do :
67820 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67821 if test "x$ac_cv_func__qfpclass" = xyes; then :
67822 cat >>confdefs.h <<_ACEOF
67823 #define HAVE__QFPCLASS 1
67824 _ACEOF
67825
67826 fi
67827 done
67828
67829 fi
67830 fi
67831
67832
67833
67834
67835
67836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67837 $as_echo_n "checking for hypot declaration... " >&6; }
67838 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67839 if ${glibcxx_cv_func_hypot_use+:} false; then :
67840 $as_echo_n "(cached) " >&6
67841 else
67842
67843
67844 ac_ext=cpp
67845 ac_cpp='$CXXCPP $CPPFLAGS'
67846 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67847 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67848 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67849
67850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67851 /* end confdefs.h. */
67852 #include <math.h>
67853 int
67854 main ()
67855 {
67856 hypot(0, 0);
67857 ;
67858 return 0;
67859 }
67860 _ACEOF
67861 if ac_fn_cxx_try_compile "$LINENO"; then :
67862 glibcxx_cv_func_hypot_use=yes
67863 else
67864 glibcxx_cv_func_hypot_use=no
67865 fi
67866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67867 ac_ext=c
67868 ac_cpp='$CPP $CPPFLAGS'
67869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67872
67873
67874 fi
67875
67876 fi
67877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67878 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67879
67880 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67881 for ac_func in hypot
67882 do :
67883 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67884 if test "x$ac_cv_func_hypot" = xyes; then :
67885 cat >>confdefs.h <<_ACEOF
67886 #define HAVE_HYPOT 1
67887 _ACEOF
67888
67889 fi
67890 done
67891
67892 else
67893
67894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67895 $as_echo_n "checking for _hypot declaration... " >&6; }
67896 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67897 if ${glibcxx_cv_func__hypot_use+:} false; then :
67898 $as_echo_n "(cached) " >&6
67899 else
67900
67901
67902 ac_ext=cpp
67903 ac_cpp='$CXXCPP $CPPFLAGS'
67904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67907
67908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67909 /* end confdefs.h. */
67910 #include <math.h>
67911 int
67912 main ()
67913 {
67914 _hypot(0, 0);
67915 ;
67916 return 0;
67917 }
67918 _ACEOF
67919 if ac_fn_cxx_try_compile "$LINENO"; then :
67920 glibcxx_cv_func__hypot_use=yes
67921 else
67922 glibcxx_cv_func__hypot_use=no
67923 fi
67924 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67925 ac_ext=c
67926 ac_cpp='$CPP $CPPFLAGS'
67927 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67928 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67929 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67930
67931
67932 fi
67933
67934 fi
67935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67936 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67937
67938 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67939 for ac_func in _hypot
67940 do :
67941 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67942 if test "x$ac_cv_func__hypot" = xyes; then :
67943 cat >>confdefs.h <<_ACEOF
67944 #define HAVE__HYPOT 1
67945 _ACEOF
67946
67947 fi
67948 done
67949
67950 fi
67951 fi
67952
67953
67954
67955
67956
67957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67958 $as_echo_n "checking for float trig functions... " >&6; }
67959 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67960 $as_echo_n "(cached) " >&6
67961 else
67962
67963
67964 ac_ext=cpp
67965 ac_cpp='$CXXCPP $CPPFLAGS'
67966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67969
67970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67971 /* end confdefs.h. */
67972 #include <math.h>
67973 int
67974 main ()
67975 {
67976 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67977 ;
67978 return 0;
67979 }
67980 _ACEOF
67981 if ac_fn_cxx_try_compile "$LINENO"; then :
67982 glibcxx_cv_func_float_trig_use=yes
67983 else
67984 glibcxx_cv_func_float_trig_use=no
67985 fi
67986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67987 ac_ext=c
67988 ac_cpp='$CPP $CPPFLAGS'
67989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67992
67993 fi
67994
67995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67996 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67997 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67998 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67999 do :
68000 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68001 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68002 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68003 cat >>confdefs.h <<_ACEOF
68004 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68005 _ACEOF
68006
68007 fi
68008 done
68009
68010 else
68011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
68012 $as_echo_n "checking for _float trig functions... " >&6; }
68013 if ${glibcxx_cv_func__float_trig_use+:} false; then :
68014 $as_echo_n "(cached) " >&6
68015 else
68016
68017
68018 ac_ext=cpp
68019 ac_cpp='$CXXCPP $CPPFLAGS'
68020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68023
68024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68025 /* end confdefs.h. */
68026 #include <math.h>
68027 int
68028 main ()
68029 {
68030 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68031 ;
68032 return 0;
68033 }
68034 _ACEOF
68035 if ac_fn_cxx_try_compile "$LINENO"; then :
68036 glibcxx_cv_func__float_trig_use=yes
68037 else
68038 glibcxx_cv_func__float_trig_use=no
68039 fi
68040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68041 ac_ext=c
68042 ac_cpp='$CPP $CPPFLAGS'
68043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68046
68047 fi
68048
68049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
68050 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
68051 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68052 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68053 do :
68054 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68055 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68056 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68057 cat >>confdefs.h <<_ACEOF
68058 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68059 _ACEOF
68060
68061 fi
68062 done
68063
68064 fi
68065 fi
68066
68067
68068
68069
68070
68071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
68072 $as_echo_n "checking for float round functions... " >&6; }
68073 if ${glibcxx_cv_func_float_round_use+:} false; then :
68074 $as_echo_n "(cached) " >&6
68075 else
68076
68077
68078 ac_ext=cpp
68079 ac_cpp='$CXXCPP $CPPFLAGS'
68080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68083
68084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68085 /* end confdefs.h. */
68086 #include <math.h>
68087 int
68088 main ()
68089 {
68090 ceilf (0); floorf (0);
68091 ;
68092 return 0;
68093 }
68094 _ACEOF
68095 if ac_fn_cxx_try_compile "$LINENO"; then :
68096 glibcxx_cv_func_float_round_use=yes
68097 else
68098 glibcxx_cv_func_float_round_use=no
68099 fi
68100 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68101 ac_ext=c
68102 ac_cpp='$CPP $CPPFLAGS'
68103 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68104 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68105 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68106
68107 fi
68108
68109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68110 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68111 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68112 for ac_func in ceilf floorf
68113 do :
68114 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68115 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68116 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68117 cat >>confdefs.h <<_ACEOF
68118 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68119 _ACEOF
68120
68121 fi
68122 done
68123
68124 else
68125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68126 $as_echo_n "checking for _float round functions... " >&6; }
68127 if ${glibcxx_cv_func__float_round_use+:} false; then :
68128 $as_echo_n "(cached) " >&6
68129 else
68130
68131
68132 ac_ext=cpp
68133 ac_cpp='$CXXCPP $CPPFLAGS'
68134 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68135 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68136 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68137
68138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68139 /* end confdefs.h. */
68140 #include <math.h>
68141 int
68142 main ()
68143 {
68144 _ceilf (0); _floorf (0);
68145 ;
68146 return 0;
68147 }
68148 _ACEOF
68149 if ac_fn_cxx_try_compile "$LINENO"; then :
68150 glibcxx_cv_func__float_round_use=yes
68151 else
68152 glibcxx_cv_func__float_round_use=no
68153 fi
68154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68155 ac_ext=c
68156 ac_cpp='$CPP $CPPFLAGS'
68157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68160
68161 fi
68162
68163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68164 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68165 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68166 for ac_func in _ceilf _floorf
68167 do :
68168 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68169 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68170 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68171 cat >>confdefs.h <<_ACEOF
68172 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68173 _ACEOF
68174
68175 fi
68176 done
68177
68178 fi
68179 fi
68180
68181
68182
68183
68184
68185
68186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68187 $as_echo_n "checking for expf declaration... " >&6; }
68188 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68189 if ${glibcxx_cv_func_expf_use+:} false; then :
68190 $as_echo_n "(cached) " >&6
68191 else
68192
68193
68194 ac_ext=cpp
68195 ac_cpp='$CXXCPP $CPPFLAGS'
68196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68199
68200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68201 /* end confdefs.h. */
68202 #include <math.h>
68203 #ifdef HAVE_IEEEFP_H
68204 #include <ieeefp.h>
68205 #endif
68206
68207 int
68208 main ()
68209 {
68210 expf(0);
68211 ;
68212 return 0;
68213 }
68214 _ACEOF
68215 if ac_fn_cxx_try_compile "$LINENO"; then :
68216 glibcxx_cv_func_expf_use=yes
68217 else
68218 glibcxx_cv_func_expf_use=no
68219 fi
68220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68221 ac_ext=c
68222 ac_cpp='$CPP $CPPFLAGS'
68223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68226
68227
68228 fi
68229
68230 fi
68231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68232 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68233
68234 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68235 for ac_func in expf
68236 do :
68237 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68238 if test "x$ac_cv_func_expf" = xyes; then :
68239 cat >>confdefs.h <<_ACEOF
68240 #define HAVE_EXPF 1
68241 _ACEOF
68242
68243 fi
68244 done
68245
68246 else
68247
68248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68249 $as_echo_n "checking for _expf declaration... " >&6; }
68250 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68251 if ${glibcxx_cv_func__expf_use+:} false; then :
68252 $as_echo_n "(cached) " >&6
68253 else
68254
68255
68256 ac_ext=cpp
68257 ac_cpp='$CXXCPP $CPPFLAGS'
68258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68261
68262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68263 /* end confdefs.h. */
68264 #include <math.h>
68265 #ifdef HAVE_IEEEFP_H
68266 #include <ieeefp.h>
68267 #endif
68268
68269 int
68270 main ()
68271 {
68272 _expf(0);
68273 ;
68274 return 0;
68275 }
68276 _ACEOF
68277 if ac_fn_cxx_try_compile "$LINENO"; then :
68278 glibcxx_cv_func__expf_use=yes
68279 else
68280 glibcxx_cv_func__expf_use=no
68281 fi
68282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68283 ac_ext=c
68284 ac_cpp='$CPP $CPPFLAGS'
68285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68288
68289
68290 fi
68291
68292 fi
68293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68294 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68295
68296 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68297 for ac_func in _expf
68298 do :
68299 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68300 if test "x$ac_cv_func__expf" = xyes; then :
68301 cat >>confdefs.h <<_ACEOF
68302 #define HAVE__EXPF 1
68303 _ACEOF
68304
68305 fi
68306 done
68307
68308 fi
68309 fi
68310
68311
68312
68313
68314
68315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68316 $as_echo_n "checking for isnanf declaration... " >&6; }
68317 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68318 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68319 $as_echo_n "(cached) " >&6
68320 else
68321
68322
68323 ac_ext=cpp
68324 ac_cpp='$CXXCPP $CPPFLAGS'
68325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68328
68329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68330 /* end confdefs.h. */
68331 #include <math.h>
68332 #ifdef HAVE_IEEEFP_H
68333 #include <ieeefp.h>
68334 #endif
68335
68336 int
68337 main ()
68338 {
68339 isnanf(0);
68340 ;
68341 return 0;
68342 }
68343 _ACEOF
68344 if ac_fn_cxx_try_compile "$LINENO"; then :
68345 glibcxx_cv_func_isnanf_use=yes
68346 else
68347 glibcxx_cv_func_isnanf_use=no
68348 fi
68349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68350 ac_ext=c
68351 ac_cpp='$CPP $CPPFLAGS'
68352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68355
68356
68357 fi
68358
68359 fi
68360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68361 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68362
68363 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68364 for ac_func in isnanf
68365 do :
68366 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68367 if test "x$ac_cv_func_isnanf" = xyes; then :
68368 cat >>confdefs.h <<_ACEOF
68369 #define HAVE_ISNANF 1
68370 _ACEOF
68371
68372 fi
68373 done
68374
68375 else
68376
68377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68378 $as_echo_n "checking for _isnanf declaration... " >&6; }
68379 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68380 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68381 $as_echo_n "(cached) " >&6
68382 else
68383
68384
68385 ac_ext=cpp
68386 ac_cpp='$CXXCPP $CPPFLAGS'
68387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68390
68391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68392 /* end confdefs.h. */
68393 #include <math.h>
68394 #ifdef HAVE_IEEEFP_H
68395 #include <ieeefp.h>
68396 #endif
68397
68398 int
68399 main ()
68400 {
68401 _isnanf(0);
68402 ;
68403 return 0;
68404 }
68405 _ACEOF
68406 if ac_fn_cxx_try_compile "$LINENO"; then :
68407 glibcxx_cv_func__isnanf_use=yes
68408 else
68409 glibcxx_cv_func__isnanf_use=no
68410 fi
68411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68412 ac_ext=c
68413 ac_cpp='$CPP $CPPFLAGS'
68414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68417
68418
68419 fi
68420
68421 fi
68422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68423 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68424
68425 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68426 for ac_func in _isnanf
68427 do :
68428 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68429 if test "x$ac_cv_func__isnanf" = xyes; then :
68430 cat >>confdefs.h <<_ACEOF
68431 #define HAVE__ISNANF 1
68432 _ACEOF
68433
68434 fi
68435 done
68436
68437 fi
68438 fi
68439
68440
68441
68442
68443
68444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68445 $as_echo_n "checking for isinff declaration... " >&6; }
68446 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68447 if ${glibcxx_cv_func_isinff_use+:} false; then :
68448 $as_echo_n "(cached) " >&6
68449 else
68450
68451
68452 ac_ext=cpp
68453 ac_cpp='$CXXCPP $CPPFLAGS'
68454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68457
68458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68459 /* end confdefs.h. */
68460 #include <math.h>
68461 #ifdef HAVE_IEEEFP_H
68462 #include <ieeefp.h>
68463 #endif
68464
68465 int
68466 main ()
68467 {
68468 isinff(0);
68469 ;
68470 return 0;
68471 }
68472 _ACEOF
68473 if ac_fn_cxx_try_compile "$LINENO"; then :
68474 glibcxx_cv_func_isinff_use=yes
68475 else
68476 glibcxx_cv_func_isinff_use=no
68477 fi
68478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68479 ac_ext=c
68480 ac_cpp='$CPP $CPPFLAGS'
68481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68484
68485
68486 fi
68487
68488 fi
68489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68490 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68491
68492 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68493 for ac_func in isinff
68494 do :
68495 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68496 if test "x$ac_cv_func_isinff" = xyes; then :
68497 cat >>confdefs.h <<_ACEOF
68498 #define HAVE_ISINFF 1
68499 _ACEOF
68500
68501 fi
68502 done
68503
68504 else
68505
68506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68507 $as_echo_n "checking for _isinff declaration... " >&6; }
68508 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68509 if ${glibcxx_cv_func__isinff_use+:} false; then :
68510 $as_echo_n "(cached) " >&6
68511 else
68512
68513
68514 ac_ext=cpp
68515 ac_cpp='$CXXCPP $CPPFLAGS'
68516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68519
68520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68521 /* end confdefs.h. */
68522 #include <math.h>
68523 #ifdef HAVE_IEEEFP_H
68524 #include <ieeefp.h>
68525 #endif
68526
68527 int
68528 main ()
68529 {
68530 _isinff(0);
68531 ;
68532 return 0;
68533 }
68534 _ACEOF
68535 if ac_fn_cxx_try_compile "$LINENO"; then :
68536 glibcxx_cv_func__isinff_use=yes
68537 else
68538 glibcxx_cv_func__isinff_use=no
68539 fi
68540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68541 ac_ext=c
68542 ac_cpp='$CPP $CPPFLAGS'
68543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68546
68547
68548 fi
68549
68550 fi
68551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68552 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68553
68554 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68555 for ac_func in _isinff
68556 do :
68557 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68558 if test "x$ac_cv_func__isinff" = xyes; then :
68559 cat >>confdefs.h <<_ACEOF
68560 #define HAVE__ISINFF 1
68561 _ACEOF
68562
68563 fi
68564 done
68565
68566 fi
68567 fi
68568
68569
68570
68571
68572
68573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68574 $as_echo_n "checking for atan2f declaration... " >&6; }
68575 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68576 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68577 $as_echo_n "(cached) " >&6
68578 else
68579
68580
68581 ac_ext=cpp
68582 ac_cpp='$CXXCPP $CPPFLAGS'
68583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68586
68587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68588 /* end confdefs.h. */
68589 #include <math.h>
68590 int
68591 main ()
68592 {
68593 atan2f(0, 0);
68594 ;
68595 return 0;
68596 }
68597 _ACEOF
68598 if ac_fn_cxx_try_compile "$LINENO"; then :
68599 glibcxx_cv_func_atan2f_use=yes
68600 else
68601 glibcxx_cv_func_atan2f_use=no
68602 fi
68603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68604 ac_ext=c
68605 ac_cpp='$CPP $CPPFLAGS'
68606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68609
68610
68611 fi
68612
68613 fi
68614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68615 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68616
68617 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68618 for ac_func in atan2f
68619 do :
68620 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68621 if test "x$ac_cv_func_atan2f" = xyes; then :
68622 cat >>confdefs.h <<_ACEOF
68623 #define HAVE_ATAN2F 1
68624 _ACEOF
68625
68626 fi
68627 done
68628
68629 else
68630
68631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68632 $as_echo_n "checking for _atan2f declaration... " >&6; }
68633 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68634 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68635 $as_echo_n "(cached) " >&6
68636 else
68637
68638
68639 ac_ext=cpp
68640 ac_cpp='$CXXCPP $CPPFLAGS'
68641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68644
68645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68646 /* end confdefs.h. */
68647 #include <math.h>
68648 int
68649 main ()
68650 {
68651 _atan2f(0, 0);
68652 ;
68653 return 0;
68654 }
68655 _ACEOF
68656 if ac_fn_cxx_try_compile "$LINENO"; then :
68657 glibcxx_cv_func__atan2f_use=yes
68658 else
68659 glibcxx_cv_func__atan2f_use=no
68660 fi
68661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68662 ac_ext=c
68663 ac_cpp='$CPP $CPPFLAGS'
68664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68667
68668
68669 fi
68670
68671 fi
68672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68673 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68674
68675 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68676 for ac_func in _atan2f
68677 do :
68678 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68679 if test "x$ac_cv_func__atan2f" = xyes; then :
68680 cat >>confdefs.h <<_ACEOF
68681 #define HAVE__ATAN2F 1
68682 _ACEOF
68683
68684 fi
68685 done
68686
68687 fi
68688 fi
68689
68690
68691
68692
68693
68694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68695 $as_echo_n "checking for fabsf declaration... " >&6; }
68696 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68697 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68698 $as_echo_n "(cached) " >&6
68699 else
68700
68701
68702 ac_ext=cpp
68703 ac_cpp='$CXXCPP $CPPFLAGS'
68704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68707
68708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68709 /* end confdefs.h. */
68710 #include <math.h>
68711 #ifdef HAVE_IEEEFP_H
68712 #include <ieeefp.h>
68713 #endif
68714
68715 int
68716 main ()
68717 {
68718 fabsf(0);
68719 ;
68720 return 0;
68721 }
68722 _ACEOF
68723 if ac_fn_cxx_try_compile "$LINENO"; then :
68724 glibcxx_cv_func_fabsf_use=yes
68725 else
68726 glibcxx_cv_func_fabsf_use=no
68727 fi
68728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68729 ac_ext=c
68730 ac_cpp='$CPP $CPPFLAGS'
68731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68734
68735
68736 fi
68737
68738 fi
68739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68740 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68741
68742 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68743 for ac_func in fabsf
68744 do :
68745 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68746 if test "x$ac_cv_func_fabsf" = xyes; then :
68747 cat >>confdefs.h <<_ACEOF
68748 #define HAVE_FABSF 1
68749 _ACEOF
68750
68751 fi
68752 done
68753
68754 else
68755
68756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68757 $as_echo_n "checking for _fabsf declaration... " >&6; }
68758 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68759 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68760 $as_echo_n "(cached) " >&6
68761 else
68762
68763
68764 ac_ext=cpp
68765 ac_cpp='$CXXCPP $CPPFLAGS'
68766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68769
68770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68771 /* end confdefs.h. */
68772 #include <math.h>
68773 #ifdef HAVE_IEEEFP_H
68774 #include <ieeefp.h>
68775 #endif
68776
68777 int
68778 main ()
68779 {
68780 _fabsf(0);
68781 ;
68782 return 0;
68783 }
68784 _ACEOF
68785 if ac_fn_cxx_try_compile "$LINENO"; then :
68786 glibcxx_cv_func__fabsf_use=yes
68787 else
68788 glibcxx_cv_func__fabsf_use=no
68789 fi
68790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68791 ac_ext=c
68792 ac_cpp='$CPP $CPPFLAGS'
68793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68796
68797
68798 fi
68799
68800 fi
68801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68802 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68803
68804 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68805 for ac_func in _fabsf
68806 do :
68807 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68808 if test "x$ac_cv_func__fabsf" = xyes; then :
68809 cat >>confdefs.h <<_ACEOF
68810 #define HAVE__FABSF 1
68811 _ACEOF
68812
68813 fi
68814 done
68815
68816 fi
68817 fi
68818
68819
68820
68821
68822
68823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68824 $as_echo_n "checking for fmodf declaration... " >&6; }
68825 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68826 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68827 $as_echo_n "(cached) " >&6
68828 else
68829
68830
68831 ac_ext=cpp
68832 ac_cpp='$CXXCPP $CPPFLAGS'
68833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68836
68837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68838 /* end confdefs.h. */
68839 #include <math.h>
68840 int
68841 main ()
68842 {
68843 fmodf(0, 0);
68844 ;
68845 return 0;
68846 }
68847 _ACEOF
68848 if ac_fn_cxx_try_compile "$LINENO"; then :
68849 glibcxx_cv_func_fmodf_use=yes
68850 else
68851 glibcxx_cv_func_fmodf_use=no
68852 fi
68853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68854 ac_ext=c
68855 ac_cpp='$CPP $CPPFLAGS'
68856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68859
68860
68861 fi
68862
68863 fi
68864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68865 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68866
68867 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68868 for ac_func in fmodf
68869 do :
68870 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68871 if test "x$ac_cv_func_fmodf" = xyes; then :
68872 cat >>confdefs.h <<_ACEOF
68873 #define HAVE_FMODF 1
68874 _ACEOF
68875
68876 fi
68877 done
68878
68879 else
68880
68881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68882 $as_echo_n "checking for _fmodf declaration... " >&6; }
68883 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68884 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68885 $as_echo_n "(cached) " >&6
68886 else
68887
68888
68889 ac_ext=cpp
68890 ac_cpp='$CXXCPP $CPPFLAGS'
68891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68894
68895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68896 /* end confdefs.h. */
68897 #include <math.h>
68898 int
68899 main ()
68900 {
68901 _fmodf(0, 0);
68902 ;
68903 return 0;
68904 }
68905 _ACEOF
68906 if ac_fn_cxx_try_compile "$LINENO"; then :
68907 glibcxx_cv_func__fmodf_use=yes
68908 else
68909 glibcxx_cv_func__fmodf_use=no
68910 fi
68911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68912 ac_ext=c
68913 ac_cpp='$CPP $CPPFLAGS'
68914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68917
68918
68919 fi
68920
68921 fi
68922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68923 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68924
68925 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68926 for ac_func in _fmodf
68927 do :
68928 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68929 if test "x$ac_cv_func__fmodf" = xyes; then :
68930 cat >>confdefs.h <<_ACEOF
68931 #define HAVE__FMODF 1
68932 _ACEOF
68933
68934 fi
68935 done
68936
68937 fi
68938 fi
68939
68940
68941
68942
68943
68944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68945 $as_echo_n "checking for frexpf declaration... " >&6; }
68946 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68947 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68948 $as_echo_n "(cached) " >&6
68949 else
68950
68951
68952 ac_ext=cpp
68953 ac_cpp='$CXXCPP $CPPFLAGS'
68954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68957
68958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68959 /* end confdefs.h. */
68960 #include <math.h>
68961 int
68962 main ()
68963 {
68964 frexpf(0, 0);
68965 ;
68966 return 0;
68967 }
68968 _ACEOF
68969 if ac_fn_cxx_try_compile "$LINENO"; then :
68970 glibcxx_cv_func_frexpf_use=yes
68971 else
68972 glibcxx_cv_func_frexpf_use=no
68973 fi
68974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68975 ac_ext=c
68976 ac_cpp='$CPP $CPPFLAGS'
68977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68980
68981
68982 fi
68983
68984 fi
68985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68986 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68987
68988 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68989 for ac_func in frexpf
68990 do :
68991 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68992 if test "x$ac_cv_func_frexpf" = xyes; then :
68993 cat >>confdefs.h <<_ACEOF
68994 #define HAVE_FREXPF 1
68995 _ACEOF
68996
68997 fi
68998 done
68999
69000 else
69001
69002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
69003 $as_echo_n "checking for _frexpf declaration... " >&6; }
69004 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
69005 if ${glibcxx_cv_func__frexpf_use+:} false; then :
69006 $as_echo_n "(cached) " >&6
69007 else
69008
69009
69010 ac_ext=cpp
69011 ac_cpp='$CXXCPP $CPPFLAGS'
69012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69015
69016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69017 /* end confdefs.h. */
69018 #include <math.h>
69019 int
69020 main ()
69021 {
69022 _frexpf(0, 0);
69023 ;
69024 return 0;
69025 }
69026 _ACEOF
69027 if ac_fn_cxx_try_compile "$LINENO"; then :
69028 glibcxx_cv_func__frexpf_use=yes
69029 else
69030 glibcxx_cv_func__frexpf_use=no
69031 fi
69032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69033 ac_ext=c
69034 ac_cpp='$CPP $CPPFLAGS'
69035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69038
69039
69040 fi
69041
69042 fi
69043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
69044 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
69045
69046 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
69047 for ac_func in _frexpf
69048 do :
69049 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
69050 if test "x$ac_cv_func__frexpf" = xyes; then :
69051 cat >>confdefs.h <<_ACEOF
69052 #define HAVE__FREXPF 1
69053 _ACEOF
69054
69055 fi
69056 done
69057
69058 fi
69059 fi
69060
69061
69062
69063
69064
69065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69066 $as_echo_n "checking for hypotf declaration... " >&6; }
69067 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69068 if ${glibcxx_cv_func_hypotf_use+:} false; then :
69069 $as_echo_n "(cached) " >&6
69070 else
69071
69072
69073 ac_ext=cpp
69074 ac_cpp='$CXXCPP $CPPFLAGS'
69075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69078
69079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69080 /* end confdefs.h. */
69081 #include <math.h>
69082 int
69083 main ()
69084 {
69085 hypotf(0, 0);
69086 ;
69087 return 0;
69088 }
69089 _ACEOF
69090 if ac_fn_cxx_try_compile "$LINENO"; then :
69091 glibcxx_cv_func_hypotf_use=yes
69092 else
69093 glibcxx_cv_func_hypotf_use=no
69094 fi
69095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69096 ac_ext=c
69097 ac_cpp='$CPP $CPPFLAGS'
69098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69101
69102
69103 fi
69104
69105 fi
69106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69107 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69108
69109 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69110 for ac_func in hypotf
69111 do :
69112 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69113 if test "x$ac_cv_func_hypotf" = xyes; then :
69114 cat >>confdefs.h <<_ACEOF
69115 #define HAVE_HYPOTF 1
69116 _ACEOF
69117
69118 fi
69119 done
69120
69121 else
69122
69123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69124 $as_echo_n "checking for _hypotf declaration... " >&6; }
69125 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69126 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69127 $as_echo_n "(cached) " >&6
69128 else
69129
69130
69131 ac_ext=cpp
69132 ac_cpp='$CXXCPP $CPPFLAGS'
69133 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69134 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69135 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69136
69137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69138 /* end confdefs.h. */
69139 #include <math.h>
69140 int
69141 main ()
69142 {
69143 _hypotf(0, 0);
69144 ;
69145 return 0;
69146 }
69147 _ACEOF
69148 if ac_fn_cxx_try_compile "$LINENO"; then :
69149 glibcxx_cv_func__hypotf_use=yes
69150 else
69151 glibcxx_cv_func__hypotf_use=no
69152 fi
69153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69154 ac_ext=c
69155 ac_cpp='$CPP $CPPFLAGS'
69156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69159
69160
69161 fi
69162
69163 fi
69164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69165 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69166
69167 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69168 for ac_func in _hypotf
69169 do :
69170 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69171 if test "x$ac_cv_func__hypotf" = xyes; then :
69172 cat >>confdefs.h <<_ACEOF
69173 #define HAVE__HYPOTF 1
69174 _ACEOF
69175
69176 fi
69177 done
69178
69179 fi
69180 fi
69181
69182
69183
69184
69185
69186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69187 $as_echo_n "checking for ldexpf declaration... " >&6; }
69188 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69189 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69190 $as_echo_n "(cached) " >&6
69191 else
69192
69193
69194 ac_ext=cpp
69195 ac_cpp='$CXXCPP $CPPFLAGS'
69196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69199
69200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69201 /* end confdefs.h. */
69202 #include <math.h>
69203 int
69204 main ()
69205 {
69206 ldexpf(0, 0);
69207 ;
69208 return 0;
69209 }
69210 _ACEOF
69211 if ac_fn_cxx_try_compile "$LINENO"; then :
69212 glibcxx_cv_func_ldexpf_use=yes
69213 else
69214 glibcxx_cv_func_ldexpf_use=no
69215 fi
69216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69217 ac_ext=c
69218 ac_cpp='$CPP $CPPFLAGS'
69219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69222
69223
69224 fi
69225
69226 fi
69227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69228 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69229
69230 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69231 for ac_func in ldexpf
69232 do :
69233 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69234 if test "x$ac_cv_func_ldexpf" = xyes; then :
69235 cat >>confdefs.h <<_ACEOF
69236 #define HAVE_LDEXPF 1
69237 _ACEOF
69238
69239 fi
69240 done
69241
69242 else
69243
69244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69245 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69246 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69247 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69248 $as_echo_n "(cached) " >&6
69249 else
69250
69251
69252 ac_ext=cpp
69253 ac_cpp='$CXXCPP $CPPFLAGS'
69254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69257
69258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69259 /* end confdefs.h. */
69260 #include <math.h>
69261 int
69262 main ()
69263 {
69264 _ldexpf(0, 0);
69265 ;
69266 return 0;
69267 }
69268 _ACEOF
69269 if ac_fn_cxx_try_compile "$LINENO"; then :
69270 glibcxx_cv_func__ldexpf_use=yes
69271 else
69272 glibcxx_cv_func__ldexpf_use=no
69273 fi
69274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69275 ac_ext=c
69276 ac_cpp='$CPP $CPPFLAGS'
69277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69280
69281
69282 fi
69283
69284 fi
69285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69286 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69287
69288 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69289 for ac_func in _ldexpf
69290 do :
69291 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69292 if test "x$ac_cv_func__ldexpf" = xyes; then :
69293 cat >>confdefs.h <<_ACEOF
69294 #define HAVE__LDEXPF 1
69295 _ACEOF
69296
69297 fi
69298 done
69299
69300 fi
69301 fi
69302
69303
69304
69305
69306
69307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69308 $as_echo_n "checking for logf declaration... " >&6; }
69309 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69310 if ${glibcxx_cv_func_logf_use+:} false; then :
69311 $as_echo_n "(cached) " >&6
69312 else
69313
69314
69315 ac_ext=cpp
69316 ac_cpp='$CXXCPP $CPPFLAGS'
69317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69320
69321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69322 /* end confdefs.h. */
69323 #include <math.h>
69324 #ifdef HAVE_IEEEFP_H
69325 #include <ieeefp.h>
69326 #endif
69327
69328 int
69329 main ()
69330 {
69331 logf(0);
69332 ;
69333 return 0;
69334 }
69335 _ACEOF
69336 if ac_fn_cxx_try_compile "$LINENO"; then :
69337 glibcxx_cv_func_logf_use=yes
69338 else
69339 glibcxx_cv_func_logf_use=no
69340 fi
69341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69342 ac_ext=c
69343 ac_cpp='$CPP $CPPFLAGS'
69344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69347
69348
69349 fi
69350
69351 fi
69352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69353 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69354
69355 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69356 for ac_func in logf
69357 do :
69358 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69359 if test "x$ac_cv_func_logf" = xyes; then :
69360 cat >>confdefs.h <<_ACEOF
69361 #define HAVE_LOGF 1
69362 _ACEOF
69363
69364 fi
69365 done
69366
69367 else
69368
69369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69370 $as_echo_n "checking for _logf declaration... " >&6; }
69371 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69372 if ${glibcxx_cv_func__logf_use+:} false; then :
69373 $as_echo_n "(cached) " >&6
69374 else
69375
69376
69377 ac_ext=cpp
69378 ac_cpp='$CXXCPP $CPPFLAGS'
69379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69382
69383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69384 /* end confdefs.h. */
69385 #include <math.h>
69386 #ifdef HAVE_IEEEFP_H
69387 #include <ieeefp.h>
69388 #endif
69389
69390 int
69391 main ()
69392 {
69393 _logf(0);
69394 ;
69395 return 0;
69396 }
69397 _ACEOF
69398 if ac_fn_cxx_try_compile "$LINENO"; then :
69399 glibcxx_cv_func__logf_use=yes
69400 else
69401 glibcxx_cv_func__logf_use=no
69402 fi
69403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69404 ac_ext=c
69405 ac_cpp='$CPP $CPPFLAGS'
69406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69409
69410
69411 fi
69412
69413 fi
69414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69415 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69416
69417 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69418 for ac_func in _logf
69419 do :
69420 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69421 if test "x$ac_cv_func__logf" = xyes; then :
69422 cat >>confdefs.h <<_ACEOF
69423 #define HAVE__LOGF 1
69424 _ACEOF
69425
69426 fi
69427 done
69428
69429 fi
69430 fi
69431
69432
69433
69434
69435
69436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69437 $as_echo_n "checking for log10f declaration... " >&6; }
69438 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69439 if ${glibcxx_cv_func_log10f_use+:} false; then :
69440 $as_echo_n "(cached) " >&6
69441 else
69442
69443
69444 ac_ext=cpp
69445 ac_cpp='$CXXCPP $CPPFLAGS'
69446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69449
69450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69451 /* end confdefs.h. */
69452 #include <math.h>
69453 #ifdef HAVE_IEEEFP_H
69454 #include <ieeefp.h>
69455 #endif
69456
69457 int
69458 main ()
69459 {
69460 log10f(0);
69461 ;
69462 return 0;
69463 }
69464 _ACEOF
69465 if ac_fn_cxx_try_compile "$LINENO"; then :
69466 glibcxx_cv_func_log10f_use=yes
69467 else
69468 glibcxx_cv_func_log10f_use=no
69469 fi
69470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69471 ac_ext=c
69472 ac_cpp='$CPP $CPPFLAGS'
69473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69476
69477
69478 fi
69479
69480 fi
69481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69482 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69483
69484 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69485 for ac_func in log10f
69486 do :
69487 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69488 if test "x$ac_cv_func_log10f" = xyes; then :
69489 cat >>confdefs.h <<_ACEOF
69490 #define HAVE_LOG10F 1
69491 _ACEOF
69492
69493 fi
69494 done
69495
69496 else
69497
69498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69499 $as_echo_n "checking for _log10f declaration... " >&6; }
69500 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69501 if ${glibcxx_cv_func__log10f_use+:} false; then :
69502 $as_echo_n "(cached) " >&6
69503 else
69504
69505
69506 ac_ext=cpp
69507 ac_cpp='$CXXCPP $CPPFLAGS'
69508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69511
69512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69513 /* end confdefs.h. */
69514 #include <math.h>
69515 #ifdef HAVE_IEEEFP_H
69516 #include <ieeefp.h>
69517 #endif
69518
69519 int
69520 main ()
69521 {
69522 _log10f(0);
69523 ;
69524 return 0;
69525 }
69526 _ACEOF
69527 if ac_fn_cxx_try_compile "$LINENO"; then :
69528 glibcxx_cv_func__log10f_use=yes
69529 else
69530 glibcxx_cv_func__log10f_use=no
69531 fi
69532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69533 ac_ext=c
69534 ac_cpp='$CPP $CPPFLAGS'
69535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69538
69539
69540 fi
69541
69542 fi
69543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69544 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69545
69546 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69547 for ac_func in _log10f
69548 do :
69549 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69550 if test "x$ac_cv_func__log10f" = xyes; then :
69551 cat >>confdefs.h <<_ACEOF
69552 #define HAVE__LOG10F 1
69553 _ACEOF
69554
69555 fi
69556 done
69557
69558 fi
69559 fi
69560
69561
69562
69563
69564
69565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69566 $as_echo_n "checking for modff declaration... " >&6; }
69567 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69568 if ${glibcxx_cv_func_modff_use+:} false; then :
69569 $as_echo_n "(cached) " >&6
69570 else
69571
69572
69573 ac_ext=cpp
69574 ac_cpp='$CXXCPP $CPPFLAGS'
69575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69578
69579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69580 /* end confdefs.h. */
69581 #include <math.h>
69582 int
69583 main ()
69584 {
69585 modff(0, 0);
69586 ;
69587 return 0;
69588 }
69589 _ACEOF
69590 if ac_fn_cxx_try_compile "$LINENO"; then :
69591 glibcxx_cv_func_modff_use=yes
69592 else
69593 glibcxx_cv_func_modff_use=no
69594 fi
69595 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69596 ac_ext=c
69597 ac_cpp='$CPP $CPPFLAGS'
69598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69601
69602
69603 fi
69604
69605 fi
69606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69607 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69608
69609 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69610 for ac_func in modff
69611 do :
69612 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69613 if test "x$ac_cv_func_modff" = xyes; then :
69614 cat >>confdefs.h <<_ACEOF
69615 #define HAVE_MODFF 1
69616 _ACEOF
69617
69618 fi
69619 done
69620
69621 else
69622
69623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69624 $as_echo_n "checking for _modff declaration... " >&6; }
69625 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69626 if ${glibcxx_cv_func__modff_use+:} false; then :
69627 $as_echo_n "(cached) " >&6
69628 else
69629
69630
69631 ac_ext=cpp
69632 ac_cpp='$CXXCPP $CPPFLAGS'
69633 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69634 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69635 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69636
69637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69638 /* end confdefs.h. */
69639 #include <math.h>
69640 int
69641 main ()
69642 {
69643 _modff(0, 0);
69644 ;
69645 return 0;
69646 }
69647 _ACEOF
69648 if ac_fn_cxx_try_compile "$LINENO"; then :
69649 glibcxx_cv_func__modff_use=yes
69650 else
69651 glibcxx_cv_func__modff_use=no
69652 fi
69653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69654 ac_ext=c
69655 ac_cpp='$CPP $CPPFLAGS'
69656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69659
69660
69661 fi
69662
69663 fi
69664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69665 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69666
69667 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69668 for ac_func in _modff
69669 do :
69670 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69671 if test "x$ac_cv_func__modff" = xyes; then :
69672 cat >>confdefs.h <<_ACEOF
69673 #define HAVE__MODFF 1
69674 _ACEOF
69675
69676 fi
69677 done
69678
69679 fi
69680 fi
69681
69682
69683
69684
69685
69686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69687 $as_echo_n "checking for modf declaration... " >&6; }
69688 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69689 if ${glibcxx_cv_func_modf_use+:} false; then :
69690 $as_echo_n "(cached) " >&6
69691 else
69692
69693
69694 ac_ext=cpp
69695 ac_cpp='$CXXCPP $CPPFLAGS'
69696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69699
69700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69701 /* end confdefs.h. */
69702 #include <math.h>
69703 int
69704 main ()
69705 {
69706 modf(0, 0);
69707 ;
69708 return 0;
69709 }
69710 _ACEOF
69711 if ac_fn_cxx_try_compile "$LINENO"; then :
69712 glibcxx_cv_func_modf_use=yes
69713 else
69714 glibcxx_cv_func_modf_use=no
69715 fi
69716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69717 ac_ext=c
69718 ac_cpp='$CPP $CPPFLAGS'
69719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69722
69723
69724 fi
69725
69726 fi
69727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69728 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69729
69730 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69731 for ac_func in modf
69732 do :
69733 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69734 if test "x$ac_cv_func_modf" = xyes; then :
69735 cat >>confdefs.h <<_ACEOF
69736 #define HAVE_MODF 1
69737 _ACEOF
69738
69739 fi
69740 done
69741
69742 else
69743
69744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69745 $as_echo_n "checking for _modf declaration... " >&6; }
69746 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69747 if ${glibcxx_cv_func__modf_use+:} false; then :
69748 $as_echo_n "(cached) " >&6
69749 else
69750
69751
69752 ac_ext=cpp
69753 ac_cpp='$CXXCPP $CPPFLAGS'
69754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69757
69758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69759 /* end confdefs.h. */
69760 #include <math.h>
69761 int
69762 main ()
69763 {
69764 _modf(0, 0);
69765 ;
69766 return 0;
69767 }
69768 _ACEOF
69769 if ac_fn_cxx_try_compile "$LINENO"; then :
69770 glibcxx_cv_func__modf_use=yes
69771 else
69772 glibcxx_cv_func__modf_use=no
69773 fi
69774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69775 ac_ext=c
69776 ac_cpp='$CPP $CPPFLAGS'
69777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69780
69781
69782 fi
69783
69784 fi
69785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69786 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69787
69788 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69789 for ac_func in _modf
69790 do :
69791 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69792 if test "x$ac_cv_func__modf" = xyes; then :
69793 cat >>confdefs.h <<_ACEOF
69794 #define HAVE__MODF 1
69795 _ACEOF
69796
69797 fi
69798 done
69799
69800 fi
69801 fi
69802
69803
69804
69805
69806
69807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69808 $as_echo_n "checking for powf declaration... " >&6; }
69809 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69810 if ${glibcxx_cv_func_powf_use+:} false; then :
69811 $as_echo_n "(cached) " >&6
69812 else
69813
69814
69815 ac_ext=cpp
69816 ac_cpp='$CXXCPP $CPPFLAGS'
69817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69820
69821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69822 /* end confdefs.h. */
69823 #include <math.h>
69824 int
69825 main ()
69826 {
69827 powf(0, 0);
69828 ;
69829 return 0;
69830 }
69831 _ACEOF
69832 if ac_fn_cxx_try_compile "$LINENO"; then :
69833 glibcxx_cv_func_powf_use=yes
69834 else
69835 glibcxx_cv_func_powf_use=no
69836 fi
69837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69838 ac_ext=c
69839 ac_cpp='$CPP $CPPFLAGS'
69840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69843
69844
69845 fi
69846
69847 fi
69848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69849 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69850
69851 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69852 for ac_func in powf
69853 do :
69854 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69855 if test "x$ac_cv_func_powf" = xyes; then :
69856 cat >>confdefs.h <<_ACEOF
69857 #define HAVE_POWF 1
69858 _ACEOF
69859
69860 fi
69861 done
69862
69863 else
69864
69865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69866 $as_echo_n "checking for _powf declaration... " >&6; }
69867 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69868 if ${glibcxx_cv_func__powf_use+:} false; then :
69869 $as_echo_n "(cached) " >&6
69870 else
69871
69872
69873 ac_ext=cpp
69874 ac_cpp='$CXXCPP $CPPFLAGS'
69875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69878
69879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69880 /* end confdefs.h. */
69881 #include <math.h>
69882 int
69883 main ()
69884 {
69885 _powf(0, 0);
69886 ;
69887 return 0;
69888 }
69889 _ACEOF
69890 if ac_fn_cxx_try_compile "$LINENO"; then :
69891 glibcxx_cv_func__powf_use=yes
69892 else
69893 glibcxx_cv_func__powf_use=no
69894 fi
69895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69896 ac_ext=c
69897 ac_cpp='$CPP $CPPFLAGS'
69898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69901
69902
69903 fi
69904
69905 fi
69906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69907 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69908
69909 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69910 for ac_func in _powf
69911 do :
69912 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69913 if test "x$ac_cv_func__powf" = xyes; then :
69914 cat >>confdefs.h <<_ACEOF
69915 #define HAVE__POWF 1
69916 _ACEOF
69917
69918 fi
69919 done
69920
69921 fi
69922 fi
69923
69924
69925
69926
69927
69928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69929 $as_echo_n "checking for sqrtf declaration... " >&6; }
69930 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69931 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69932 $as_echo_n "(cached) " >&6
69933 else
69934
69935
69936 ac_ext=cpp
69937 ac_cpp='$CXXCPP $CPPFLAGS'
69938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69941
69942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69943 /* end confdefs.h. */
69944 #include <math.h>
69945 #ifdef HAVE_IEEEFP_H
69946 #include <ieeefp.h>
69947 #endif
69948
69949 int
69950 main ()
69951 {
69952 sqrtf(0);
69953 ;
69954 return 0;
69955 }
69956 _ACEOF
69957 if ac_fn_cxx_try_compile "$LINENO"; then :
69958 glibcxx_cv_func_sqrtf_use=yes
69959 else
69960 glibcxx_cv_func_sqrtf_use=no
69961 fi
69962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69963 ac_ext=c
69964 ac_cpp='$CPP $CPPFLAGS'
69965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69968
69969
69970 fi
69971
69972 fi
69973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69974 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69975
69976 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69977 for ac_func in sqrtf
69978 do :
69979 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69980 if test "x$ac_cv_func_sqrtf" = xyes; then :
69981 cat >>confdefs.h <<_ACEOF
69982 #define HAVE_SQRTF 1
69983 _ACEOF
69984
69985 fi
69986 done
69987
69988 else
69989
69990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69991 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69992 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69993 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69994 $as_echo_n "(cached) " >&6
69995 else
69996
69997
69998 ac_ext=cpp
69999 ac_cpp='$CXXCPP $CPPFLAGS'
70000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70003
70004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70005 /* end confdefs.h. */
70006 #include <math.h>
70007 #ifdef HAVE_IEEEFP_H
70008 #include <ieeefp.h>
70009 #endif
70010
70011 int
70012 main ()
70013 {
70014 _sqrtf(0);
70015 ;
70016 return 0;
70017 }
70018 _ACEOF
70019 if ac_fn_cxx_try_compile "$LINENO"; then :
70020 glibcxx_cv_func__sqrtf_use=yes
70021 else
70022 glibcxx_cv_func__sqrtf_use=no
70023 fi
70024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70025 ac_ext=c
70026 ac_cpp='$CPP $CPPFLAGS'
70027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70030
70031
70032 fi
70033
70034 fi
70035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
70036 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
70037
70038 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70039 for ac_func in _sqrtf
70040 do :
70041 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
70042 if test "x$ac_cv_func__sqrtf" = xyes; then :
70043 cat >>confdefs.h <<_ACEOF
70044 #define HAVE__SQRTF 1
70045 _ACEOF
70046
70047 fi
70048 done
70049
70050 fi
70051 fi
70052
70053
70054
70055
70056
70057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
70058 $as_echo_n "checking for sincosf declaration... " >&6; }
70059 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70060 if ${glibcxx_cv_func_sincosf_use+:} false; then :
70061 $as_echo_n "(cached) " >&6
70062 else
70063
70064
70065 ac_ext=cpp
70066 ac_cpp='$CXXCPP $CPPFLAGS'
70067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70070
70071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70072 /* end confdefs.h. */
70073 #include <math.h>
70074 int
70075 main ()
70076 {
70077 sincosf(0, 0, 0);
70078 ;
70079 return 0;
70080 }
70081 _ACEOF
70082 if ac_fn_cxx_try_compile "$LINENO"; then :
70083 glibcxx_cv_func_sincosf_use=yes
70084 else
70085 glibcxx_cv_func_sincosf_use=no
70086 fi
70087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70088 ac_ext=c
70089 ac_cpp='$CPP $CPPFLAGS'
70090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70093
70094
70095 fi
70096
70097 fi
70098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70099 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70100
70101 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70102 for ac_func in sincosf
70103 do :
70104 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70105 if test "x$ac_cv_func_sincosf" = xyes; then :
70106 cat >>confdefs.h <<_ACEOF
70107 #define HAVE_SINCOSF 1
70108 _ACEOF
70109
70110 fi
70111 done
70112
70113 else
70114
70115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70116 $as_echo_n "checking for _sincosf declaration... " >&6; }
70117 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70118 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70119 $as_echo_n "(cached) " >&6
70120 else
70121
70122
70123 ac_ext=cpp
70124 ac_cpp='$CXXCPP $CPPFLAGS'
70125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70128
70129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70130 /* end confdefs.h. */
70131 #include <math.h>
70132 int
70133 main ()
70134 {
70135 _sincosf(0, 0, 0);
70136 ;
70137 return 0;
70138 }
70139 _ACEOF
70140 if ac_fn_cxx_try_compile "$LINENO"; then :
70141 glibcxx_cv_func__sincosf_use=yes
70142 else
70143 glibcxx_cv_func__sincosf_use=no
70144 fi
70145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70146 ac_ext=c
70147 ac_cpp='$CPP $CPPFLAGS'
70148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70151
70152
70153 fi
70154
70155 fi
70156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70157 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70158
70159 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70160 for ac_func in _sincosf
70161 do :
70162 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70163 if test "x$ac_cv_func__sincosf" = xyes; then :
70164 cat >>confdefs.h <<_ACEOF
70165 #define HAVE__SINCOSF 1
70166 _ACEOF
70167
70168 fi
70169 done
70170
70171 fi
70172 fi
70173
70174
70175
70176
70177
70178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70179 $as_echo_n "checking for finitef declaration... " >&6; }
70180 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70181 if ${glibcxx_cv_func_finitef_use+:} false; then :
70182 $as_echo_n "(cached) " >&6
70183 else
70184
70185
70186 ac_ext=cpp
70187 ac_cpp='$CXXCPP $CPPFLAGS'
70188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70191
70192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70193 /* end confdefs.h. */
70194 #include <math.h>
70195 #ifdef HAVE_IEEEFP_H
70196 #include <ieeefp.h>
70197 #endif
70198
70199 int
70200 main ()
70201 {
70202 finitef(0);
70203 ;
70204 return 0;
70205 }
70206 _ACEOF
70207 if ac_fn_cxx_try_compile "$LINENO"; then :
70208 glibcxx_cv_func_finitef_use=yes
70209 else
70210 glibcxx_cv_func_finitef_use=no
70211 fi
70212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70213 ac_ext=c
70214 ac_cpp='$CPP $CPPFLAGS'
70215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70218
70219
70220 fi
70221
70222 fi
70223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70224 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70225
70226 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70227 for ac_func in finitef
70228 do :
70229 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70230 if test "x$ac_cv_func_finitef" = xyes; then :
70231 cat >>confdefs.h <<_ACEOF
70232 #define HAVE_FINITEF 1
70233 _ACEOF
70234
70235 fi
70236 done
70237
70238 else
70239
70240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70241 $as_echo_n "checking for _finitef declaration... " >&6; }
70242 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70243 if ${glibcxx_cv_func__finitef_use+:} false; then :
70244 $as_echo_n "(cached) " >&6
70245 else
70246
70247
70248 ac_ext=cpp
70249 ac_cpp='$CXXCPP $CPPFLAGS'
70250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70253
70254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70255 /* end confdefs.h. */
70256 #include <math.h>
70257 #ifdef HAVE_IEEEFP_H
70258 #include <ieeefp.h>
70259 #endif
70260
70261 int
70262 main ()
70263 {
70264 _finitef(0);
70265 ;
70266 return 0;
70267 }
70268 _ACEOF
70269 if ac_fn_cxx_try_compile "$LINENO"; then :
70270 glibcxx_cv_func__finitef_use=yes
70271 else
70272 glibcxx_cv_func__finitef_use=no
70273 fi
70274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70275 ac_ext=c
70276 ac_cpp='$CPP $CPPFLAGS'
70277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70280
70281
70282 fi
70283
70284 fi
70285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70286 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70287
70288 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70289 for ac_func in _finitef
70290 do :
70291 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70292 if test "x$ac_cv_func__finitef" = xyes; then :
70293 cat >>confdefs.h <<_ACEOF
70294 #define HAVE__FINITEF 1
70295 _ACEOF
70296
70297 fi
70298 done
70299
70300 fi
70301 fi
70302
70303
70304
70305
70306
70307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70308 $as_echo_n "checking for long double trig functions... " >&6; }
70309 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70310 $as_echo_n "(cached) " >&6
70311 else
70312
70313
70314 ac_ext=cpp
70315 ac_cpp='$CXXCPP $CPPFLAGS'
70316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70319
70320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70321 /* end confdefs.h. */
70322 #include <math.h>
70323 int
70324 main ()
70325 {
70326 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70327 ;
70328 return 0;
70329 }
70330 _ACEOF
70331 if ac_fn_cxx_try_compile "$LINENO"; then :
70332 glibcxx_cv_func_long_double_trig_use=yes
70333 else
70334 glibcxx_cv_func_long_double_trig_use=no
70335 fi
70336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70337 ac_ext=c
70338 ac_cpp='$CPP $CPPFLAGS'
70339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70342
70343 fi
70344
70345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70346 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70347 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70348 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70349 do :
70350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70352 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70353 cat >>confdefs.h <<_ACEOF
70354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70355 _ACEOF
70356
70357 fi
70358 done
70359
70360 else
70361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70362 $as_echo_n "checking for _long double trig functions... " >&6; }
70363 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70364 $as_echo_n "(cached) " >&6
70365 else
70366
70367
70368 ac_ext=cpp
70369 ac_cpp='$CXXCPP $CPPFLAGS'
70370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70373
70374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70375 /* end confdefs.h. */
70376 #include <math.h>
70377 int
70378 main ()
70379 {
70380 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70381 ;
70382 return 0;
70383 }
70384 _ACEOF
70385 if ac_fn_cxx_try_compile "$LINENO"; then :
70386 glibcxx_cv_func__long_double_trig_use=yes
70387 else
70388 glibcxx_cv_func__long_double_trig_use=no
70389 fi
70390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70391 ac_ext=c
70392 ac_cpp='$CPP $CPPFLAGS'
70393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70396
70397 fi
70398
70399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70400 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70401 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70402 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70403 do :
70404 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70405 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70406 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70407 cat >>confdefs.h <<_ACEOF
70408 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70409 _ACEOF
70410
70411 fi
70412 done
70413
70414 fi
70415 fi
70416
70417
70418
70419
70420
70421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70422 $as_echo_n "checking for long double round functions... " >&6; }
70423 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70424 $as_echo_n "(cached) " >&6
70425 else
70426
70427
70428 ac_ext=cpp
70429 ac_cpp='$CXXCPP $CPPFLAGS'
70430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70433
70434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70435 /* end confdefs.h. */
70436 #include <math.h>
70437 int
70438 main ()
70439 {
70440 ceill (0); floorl (0);
70441 ;
70442 return 0;
70443 }
70444 _ACEOF
70445 if ac_fn_cxx_try_compile "$LINENO"; then :
70446 glibcxx_cv_func_long_double_round_use=yes
70447 else
70448 glibcxx_cv_func_long_double_round_use=no
70449 fi
70450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70451 ac_ext=c
70452 ac_cpp='$CPP $CPPFLAGS'
70453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70456
70457 fi
70458
70459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70460 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70461 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70462 for ac_func in ceill floorl
70463 do :
70464 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70465 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70466 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70467 cat >>confdefs.h <<_ACEOF
70468 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70469 _ACEOF
70470
70471 fi
70472 done
70473
70474 else
70475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70476 $as_echo_n "checking for _long double round functions... " >&6; }
70477 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70478 $as_echo_n "(cached) " >&6
70479 else
70480
70481
70482 ac_ext=cpp
70483 ac_cpp='$CXXCPP $CPPFLAGS'
70484 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70485 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70486 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70487
70488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70489 /* end confdefs.h. */
70490 #include <math.h>
70491 int
70492 main ()
70493 {
70494 _ceill (0); _floorl (0);
70495 ;
70496 return 0;
70497 }
70498 _ACEOF
70499 if ac_fn_cxx_try_compile "$LINENO"; then :
70500 glibcxx_cv_func__long_double_round_use=yes
70501 else
70502 glibcxx_cv_func__long_double_round_use=no
70503 fi
70504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70505 ac_ext=c
70506 ac_cpp='$CPP $CPPFLAGS'
70507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70510
70511 fi
70512
70513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70514 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70515 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70516 for ac_func in _ceill _floorl
70517 do :
70518 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70519 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70520 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70521 cat >>confdefs.h <<_ACEOF
70522 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70523 _ACEOF
70524
70525 fi
70526 done
70527
70528 fi
70529 fi
70530
70531
70532
70533
70534
70535
70536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70537 $as_echo_n "checking for isnanl declaration... " >&6; }
70538 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70539 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70540 $as_echo_n "(cached) " >&6
70541 else
70542
70543
70544 ac_ext=cpp
70545 ac_cpp='$CXXCPP $CPPFLAGS'
70546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70549
70550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70551 /* end confdefs.h. */
70552 #include <math.h>
70553 #ifdef HAVE_IEEEFP_H
70554 #include <ieeefp.h>
70555 #endif
70556
70557 int
70558 main ()
70559 {
70560 isnanl(0);
70561 ;
70562 return 0;
70563 }
70564 _ACEOF
70565 if ac_fn_cxx_try_compile "$LINENO"; then :
70566 glibcxx_cv_func_isnanl_use=yes
70567 else
70568 glibcxx_cv_func_isnanl_use=no
70569 fi
70570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70571 ac_ext=c
70572 ac_cpp='$CPP $CPPFLAGS'
70573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70576
70577
70578 fi
70579
70580 fi
70581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70582 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70583
70584 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70585 for ac_func in isnanl
70586 do :
70587 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70588 if test "x$ac_cv_func_isnanl" = xyes; then :
70589 cat >>confdefs.h <<_ACEOF
70590 #define HAVE_ISNANL 1
70591 _ACEOF
70592
70593 fi
70594 done
70595
70596 else
70597
70598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70599 $as_echo_n "checking for _isnanl declaration... " >&6; }
70600 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70601 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70602 $as_echo_n "(cached) " >&6
70603 else
70604
70605
70606 ac_ext=cpp
70607 ac_cpp='$CXXCPP $CPPFLAGS'
70608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70611
70612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70613 /* end confdefs.h. */
70614 #include <math.h>
70615 #ifdef HAVE_IEEEFP_H
70616 #include <ieeefp.h>
70617 #endif
70618
70619 int
70620 main ()
70621 {
70622 _isnanl(0);
70623 ;
70624 return 0;
70625 }
70626 _ACEOF
70627 if ac_fn_cxx_try_compile "$LINENO"; then :
70628 glibcxx_cv_func__isnanl_use=yes
70629 else
70630 glibcxx_cv_func__isnanl_use=no
70631 fi
70632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70633 ac_ext=c
70634 ac_cpp='$CPP $CPPFLAGS'
70635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70638
70639
70640 fi
70641
70642 fi
70643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70644 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70645
70646 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70647 for ac_func in _isnanl
70648 do :
70649 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70650 if test "x$ac_cv_func__isnanl" = xyes; then :
70651 cat >>confdefs.h <<_ACEOF
70652 #define HAVE__ISNANL 1
70653 _ACEOF
70654
70655 fi
70656 done
70657
70658 fi
70659 fi
70660
70661
70662
70663
70664
70665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70666 $as_echo_n "checking for isinfl declaration... " >&6; }
70667 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70668 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70669 $as_echo_n "(cached) " >&6
70670 else
70671
70672
70673 ac_ext=cpp
70674 ac_cpp='$CXXCPP $CPPFLAGS'
70675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70678
70679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70680 /* end confdefs.h. */
70681 #include <math.h>
70682 #ifdef HAVE_IEEEFP_H
70683 #include <ieeefp.h>
70684 #endif
70685
70686 int
70687 main ()
70688 {
70689 isinfl(0);
70690 ;
70691 return 0;
70692 }
70693 _ACEOF
70694 if ac_fn_cxx_try_compile "$LINENO"; then :
70695 glibcxx_cv_func_isinfl_use=yes
70696 else
70697 glibcxx_cv_func_isinfl_use=no
70698 fi
70699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70700 ac_ext=c
70701 ac_cpp='$CPP $CPPFLAGS'
70702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70705
70706
70707 fi
70708
70709 fi
70710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70711 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70712
70713 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70714 for ac_func in isinfl
70715 do :
70716 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70717 if test "x$ac_cv_func_isinfl" = xyes; then :
70718 cat >>confdefs.h <<_ACEOF
70719 #define HAVE_ISINFL 1
70720 _ACEOF
70721
70722 fi
70723 done
70724
70725 else
70726
70727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70728 $as_echo_n "checking for _isinfl declaration... " >&6; }
70729 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70730 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70731 $as_echo_n "(cached) " >&6
70732 else
70733
70734
70735 ac_ext=cpp
70736 ac_cpp='$CXXCPP $CPPFLAGS'
70737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70740
70741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70742 /* end confdefs.h. */
70743 #include <math.h>
70744 #ifdef HAVE_IEEEFP_H
70745 #include <ieeefp.h>
70746 #endif
70747
70748 int
70749 main ()
70750 {
70751 _isinfl(0);
70752 ;
70753 return 0;
70754 }
70755 _ACEOF
70756 if ac_fn_cxx_try_compile "$LINENO"; then :
70757 glibcxx_cv_func__isinfl_use=yes
70758 else
70759 glibcxx_cv_func__isinfl_use=no
70760 fi
70761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70762 ac_ext=c
70763 ac_cpp='$CPP $CPPFLAGS'
70764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70767
70768
70769 fi
70770
70771 fi
70772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70773 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70774
70775 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70776 for ac_func in _isinfl
70777 do :
70778 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70779 if test "x$ac_cv_func__isinfl" = xyes; then :
70780 cat >>confdefs.h <<_ACEOF
70781 #define HAVE__ISINFL 1
70782 _ACEOF
70783
70784 fi
70785 done
70786
70787 fi
70788 fi
70789
70790
70791
70792
70793
70794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70795 $as_echo_n "checking for atan2l declaration... " >&6; }
70796 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70797 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70798 $as_echo_n "(cached) " >&6
70799 else
70800
70801
70802 ac_ext=cpp
70803 ac_cpp='$CXXCPP $CPPFLAGS'
70804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70807
70808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70809 /* end confdefs.h. */
70810 #include <math.h>
70811 int
70812 main ()
70813 {
70814 atan2l(0, 0);
70815 ;
70816 return 0;
70817 }
70818 _ACEOF
70819 if ac_fn_cxx_try_compile "$LINENO"; then :
70820 glibcxx_cv_func_atan2l_use=yes
70821 else
70822 glibcxx_cv_func_atan2l_use=no
70823 fi
70824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70825 ac_ext=c
70826 ac_cpp='$CPP $CPPFLAGS'
70827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70830
70831
70832 fi
70833
70834 fi
70835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70836 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70837
70838 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70839 for ac_func in atan2l
70840 do :
70841 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70842 if test "x$ac_cv_func_atan2l" = xyes; then :
70843 cat >>confdefs.h <<_ACEOF
70844 #define HAVE_ATAN2L 1
70845 _ACEOF
70846
70847 fi
70848 done
70849
70850 else
70851
70852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70853 $as_echo_n "checking for _atan2l declaration... " >&6; }
70854 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70855 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70856 $as_echo_n "(cached) " >&6
70857 else
70858
70859
70860 ac_ext=cpp
70861 ac_cpp='$CXXCPP $CPPFLAGS'
70862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70865
70866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70867 /* end confdefs.h. */
70868 #include <math.h>
70869 int
70870 main ()
70871 {
70872 _atan2l(0, 0);
70873 ;
70874 return 0;
70875 }
70876 _ACEOF
70877 if ac_fn_cxx_try_compile "$LINENO"; then :
70878 glibcxx_cv_func__atan2l_use=yes
70879 else
70880 glibcxx_cv_func__atan2l_use=no
70881 fi
70882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70883 ac_ext=c
70884 ac_cpp='$CPP $CPPFLAGS'
70885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70888
70889
70890 fi
70891
70892 fi
70893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70894 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70895
70896 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70897 for ac_func in _atan2l
70898 do :
70899 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70900 if test "x$ac_cv_func__atan2l" = xyes; then :
70901 cat >>confdefs.h <<_ACEOF
70902 #define HAVE__ATAN2L 1
70903 _ACEOF
70904
70905 fi
70906 done
70907
70908 fi
70909 fi
70910
70911
70912
70913
70914
70915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70916 $as_echo_n "checking for expl declaration... " >&6; }
70917 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70918 if ${glibcxx_cv_func_expl_use+:} false; then :
70919 $as_echo_n "(cached) " >&6
70920 else
70921
70922
70923 ac_ext=cpp
70924 ac_cpp='$CXXCPP $CPPFLAGS'
70925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70928
70929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70930 /* end confdefs.h. */
70931 #include <math.h>
70932 #ifdef HAVE_IEEEFP_H
70933 #include <ieeefp.h>
70934 #endif
70935
70936 int
70937 main ()
70938 {
70939 expl(0);
70940 ;
70941 return 0;
70942 }
70943 _ACEOF
70944 if ac_fn_cxx_try_compile "$LINENO"; then :
70945 glibcxx_cv_func_expl_use=yes
70946 else
70947 glibcxx_cv_func_expl_use=no
70948 fi
70949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70950 ac_ext=c
70951 ac_cpp='$CPP $CPPFLAGS'
70952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70955
70956
70957 fi
70958
70959 fi
70960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70961 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70962
70963 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70964 for ac_func in expl
70965 do :
70966 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70967 if test "x$ac_cv_func_expl" = xyes; then :
70968 cat >>confdefs.h <<_ACEOF
70969 #define HAVE_EXPL 1
70970 _ACEOF
70971
70972 fi
70973 done
70974
70975 else
70976
70977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70978 $as_echo_n "checking for _expl declaration... " >&6; }
70979 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70980 if ${glibcxx_cv_func__expl_use+:} false; then :
70981 $as_echo_n "(cached) " >&6
70982 else
70983
70984
70985 ac_ext=cpp
70986 ac_cpp='$CXXCPP $CPPFLAGS'
70987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70990
70991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70992 /* end confdefs.h. */
70993 #include <math.h>
70994 #ifdef HAVE_IEEEFP_H
70995 #include <ieeefp.h>
70996 #endif
70997
70998 int
70999 main ()
71000 {
71001 _expl(0);
71002 ;
71003 return 0;
71004 }
71005 _ACEOF
71006 if ac_fn_cxx_try_compile "$LINENO"; then :
71007 glibcxx_cv_func__expl_use=yes
71008 else
71009 glibcxx_cv_func__expl_use=no
71010 fi
71011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71012 ac_ext=c
71013 ac_cpp='$CPP $CPPFLAGS'
71014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71017
71018
71019 fi
71020
71021 fi
71022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
71023 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
71024
71025 if test x$glibcxx_cv_func__expl_use = x"yes"; then
71026 for ac_func in _expl
71027 do :
71028 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
71029 if test "x$ac_cv_func__expl" = xyes; then :
71030 cat >>confdefs.h <<_ACEOF
71031 #define HAVE__EXPL 1
71032 _ACEOF
71033
71034 fi
71035 done
71036
71037 fi
71038 fi
71039
71040
71041
71042
71043
71044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
71045 $as_echo_n "checking for fabsl declaration... " >&6; }
71046 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71047 if ${glibcxx_cv_func_fabsl_use+:} false; then :
71048 $as_echo_n "(cached) " >&6
71049 else
71050
71051
71052 ac_ext=cpp
71053 ac_cpp='$CXXCPP $CPPFLAGS'
71054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71057
71058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71059 /* end confdefs.h. */
71060 #include <math.h>
71061 #ifdef HAVE_IEEEFP_H
71062 #include <ieeefp.h>
71063 #endif
71064
71065 int
71066 main ()
71067 {
71068 fabsl(0);
71069 ;
71070 return 0;
71071 }
71072 _ACEOF
71073 if ac_fn_cxx_try_compile "$LINENO"; then :
71074 glibcxx_cv_func_fabsl_use=yes
71075 else
71076 glibcxx_cv_func_fabsl_use=no
71077 fi
71078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71079 ac_ext=c
71080 ac_cpp='$CPP $CPPFLAGS'
71081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71084
71085
71086 fi
71087
71088 fi
71089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71090 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71091
71092 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71093 for ac_func in fabsl
71094 do :
71095 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71096 if test "x$ac_cv_func_fabsl" = xyes; then :
71097 cat >>confdefs.h <<_ACEOF
71098 #define HAVE_FABSL 1
71099 _ACEOF
71100
71101 fi
71102 done
71103
71104 else
71105
71106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71107 $as_echo_n "checking for _fabsl declaration... " >&6; }
71108 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71109 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71110 $as_echo_n "(cached) " >&6
71111 else
71112
71113
71114 ac_ext=cpp
71115 ac_cpp='$CXXCPP $CPPFLAGS'
71116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71119
71120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71121 /* end confdefs.h. */
71122 #include <math.h>
71123 #ifdef HAVE_IEEEFP_H
71124 #include <ieeefp.h>
71125 #endif
71126
71127 int
71128 main ()
71129 {
71130 _fabsl(0);
71131 ;
71132 return 0;
71133 }
71134 _ACEOF
71135 if ac_fn_cxx_try_compile "$LINENO"; then :
71136 glibcxx_cv_func__fabsl_use=yes
71137 else
71138 glibcxx_cv_func__fabsl_use=no
71139 fi
71140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71141 ac_ext=c
71142 ac_cpp='$CPP $CPPFLAGS'
71143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71146
71147
71148 fi
71149
71150 fi
71151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71152 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71153
71154 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71155 for ac_func in _fabsl
71156 do :
71157 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71158 if test "x$ac_cv_func__fabsl" = xyes; then :
71159 cat >>confdefs.h <<_ACEOF
71160 #define HAVE__FABSL 1
71161 _ACEOF
71162
71163 fi
71164 done
71165
71166 fi
71167 fi
71168
71169
71170
71171
71172
71173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71174 $as_echo_n "checking for fmodl declaration... " >&6; }
71175 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71176 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71177 $as_echo_n "(cached) " >&6
71178 else
71179
71180
71181 ac_ext=cpp
71182 ac_cpp='$CXXCPP $CPPFLAGS'
71183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71186
71187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71188 /* end confdefs.h. */
71189 #include <math.h>
71190 int
71191 main ()
71192 {
71193 fmodl(0, 0);
71194 ;
71195 return 0;
71196 }
71197 _ACEOF
71198 if ac_fn_cxx_try_compile "$LINENO"; then :
71199 glibcxx_cv_func_fmodl_use=yes
71200 else
71201 glibcxx_cv_func_fmodl_use=no
71202 fi
71203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71204 ac_ext=c
71205 ac_cpp='$CPP $CPPFLAGS'
71206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71209
71210
71211 fi
71212
71213 fi
71214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71215 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71216
71217 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71218 for ac_func in fmodl
71219 do :
71220 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71221 if test "x$ac_cv_func_fmodl" = xyes; then :
71222 cat >>confdefs.h <<_ACEOF
71223 #define HAVE_FMODL 1
71224 _ACEOF
71225
71226 fi
71227 done
71228
71229 else
71230
71231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71232 $as_echo_n "checking for _fmodl declaration... " >&6; }
71233 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71234 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71235 $as_echo_n "(cached) " >&6
71236 else
71237
71238
71239 ac_ext=cpp
71240 ac_cpp='$CXXCPP $CPPFLAGS'
71241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71244
71245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71246 /* end confdefs.h. */
71247 #include <math.h>
71248 int
71249 main ()
71250 {
71251 _fmodl(0, 0);
71252 ;
71253 return 0;
71254 }
71255 _ACEOF
71256 if ac_fn_cxx_try_compile "$LINENO"; then :
71257 glibcxx_cv_func__fmodl_use=yes
71258 else
71259 glibcxx_cv_func__fmodl_use=no
71260 fi
71261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71262 ac_ext=c
71263 ac_cpp='$CPP $CPPFLAGS'
71264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71267
71268
71269 fi
71270
71271 fi
71272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71273 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71274
71275 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71276 for ac_func in _fmodl
71277 do :
71278 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71279 if test "x$ac_cv_func__fmodl" = xyes; then :
71280 cat >>confdefs.h <<_ACEOF
71281 #define HAVE__FMODL 1
71282 _ACEOF
71283
71284 fi
71285 done
71286
71287 fi
71288 fi
71289
71290
71291
71292
71293
71294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71295 $as_echo_n "checking for frexpl declaration... " >&6; }
71296 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71297 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71298 $as_echo_n "(cached) " >&6
71299 else
71300
71301
71302 ac_ext=cpp
71303 ac_cpp='$CXXCPP $CPPFLAGS'
71304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71307
71308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71309 /* end confdefs.h. */
71310 #include <math.h>
71311 int
71312 main ()
71313 {
71314 frexpl(0, 0);
71315 ;
71316 return 0;
71317 }
71318 _ACEOF
71319 if ac_fn_cxx_try_compile "$LINENO"; then :
71320 glibcxx_cv_func_frexpl_use=yes
71321 else
71322 glibcxx_cv_func_frexpl_use=no
71323 fi
71324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71325 ac_ext=c
71326 ac_cpp='$CPP $CPPFLAGS'
71327 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71328 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71329 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71330
71331
71332 fi
71333
71334 fi
71335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71336 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71337
71338 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71339 for ac_func in frexpl
71340 do :
71341 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71342 if test "x$ac_cv_func_frexpl" = xyes; then :
71343 cat >>confdefs.h <<_ACEOF
71344 #define HAVE_FREXPL 1
71345 _ACEOF
71346
71347 fi
71348 done
71349
71350 else
71351
71352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71353 $as_echo_n "checking for _frexpl declaration... " >&6; }
71354 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71355 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71356 $as_echo_n "(cached) " >&6
71357 else
71358
71359
71360 ac_ext=cpp
71361 ac_cpp='$CXXCPP $CPPFLAGS'
71362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71365
71366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71367 /* end confdefs.h. */
71368 #include <math.h>
71369 int
71370 main ()
71371 {
71372 _frexpl(0, 0);
71373 ;
71374 return 0;
71375 }
71376 _ACEOF
71377 if ac_fn_cxx_try_compile "$LINENO"; then :
71378 glibcxx_cv_func__frexpl_use=yes
71379 else
71380 glibcxx_cv_func__frexpl_use=no
71381 fi
71382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71383 ac_ext=c
71384 ac_cpp='$CPP $CPPFLAGS'
71385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71388
71389
71390 fi
71391
71392 fi
71393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71394 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71395
71396 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71397 for ac_func in _frexpl
71398 do :
71399 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71400 if test "x$ac_cv_func__frexpl" = xyes; then :
71401 cat >>confdefs.h <<_ACEOF
71402 #define HAVE__FREXPL 1
71403 _ACEOF
71404
71405 fi
71406 done
71407
71408 fi
71409 fi
71410
71411
71412
71413
71414
71415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71416 $as_echo_n "checking for hypotl declaration... " >&6; }
71417 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71418 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71419 $as_echo_n "(cached) " >&6
71420 else
71421
71422
71423 ac_ext=cpp
71424 ac_cpp='$CXXCPP $CPPFLAGS'
71425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71428
71429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71430 /* end confdefs.h. */
71431 #include <math.h>
71432 int
71433 main ()
71434 {
71435 hypotl(0, 0);
71436 ;
71437 return 0;
71438 }
71439 _ACEOF
71440 if ac_fn_cxx_try_compile "$LINENO"; then :
71441 glibcxx_cv_func_hypotl_use=yes
71442 else
71443 glibcxx_cv_func_hypotl_use=no
71444 fi
71445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71446 ac_ext=c
71447 ac_cpp='$CPP $CPPFLAGS'
71448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71451
71452
71453 fi
71454
71455 fi
71456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71457 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71458
71459 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71460 for ac_func in hypotl
71461 do :
71462 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71463 if test "x$ac_cv_func_hypotl" = xyes; then :
71464 cat >>confdefs.h <<_ACEOF
71465 #define HAVE_HYPOTL 1
71466 _ACEOF
71467
71468 fi
71469 done
71470
71471 else
71472
71473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71474 $as_echo_n "checking for _hypotl declaration... " >&6; }
71475 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71476 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71477 $as_echo_n "(cached) " >&6
71478 else
71479
71480
71481 ac_ext=cpp
71482 ac_cpp='$CXXCPP $CPPFLAGS'
71483 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71484 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71485 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71486
71487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71488 /* end confdefs.h. */
71489 #include <math.h>
71490 int
71491 main ()
71492 {
71493 _hypotl(0, 0);
71494 ;
71495 return 0;
71496 }
71497 _ACEOF
71498 if ac_fn_cxx_try_compile "$LINENO"; then :
71499 glibcxx_cv_func__hypotl_use=yes
71500 else
71501 glibcxx_cv_func__hypotl_use=no
71502 fi
71503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71504 ac_ext=c
71505 ac_cpp='$CPP $CPPFLAGS'
71506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71509
71510
71511 fi
71512
71513 fi
71514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71515 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71516
71517 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71518 for ac_func in _hypotl
71519 do :
71520 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71521 if test "x$ac_cv_func__hypotl" = xyes; then :
71522 cat >>confdefs.h <<_ACEOF
71523 #define HAVE__HYPOTL 1
71524 _ACEOF
71525
71526 fi
71527 done
71528
71529 fi
71530 fi
71531
71532
71533
71534
71535
71536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71537 $as_echo_n "checking for ldexpl declaration... " >&6; }
71538 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71539 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71540 $as_echo_n "(cached) " >&6
71541 else
71542
71543
71544 ac_ext=cpp
71545 ac_cpp='$CXXCPP $CPPFLAGS'
71546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71549
71550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71551 /* end confdefs.h. */
71552 #include <math.h>
71553 int
71554 main ()
71555 {
71556 ldexpl(0, 0);
71557 ;
71558 return 0;
71559 }
71560 _ACEOF
71561 if ac_fn_cxx_try_compile "$LINENO"; then :
71562 glibcxx_cv_func_ldexpl_use=yes
71563 else
71564 glibcxx_cv_func_ldexpl_use=no
71565 fi
71566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71567 ac_ext=c
71568 ac_cpp='$CPP $CPPFLAGS'
71569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71572
71573
71574 fi
71575
71576 fi
71577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71578 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71579
71580 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71581 for ac_func in ldexpl
71582 do :
71583 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71584 if test "x$ac_cv_func_ldexpl" = xyes; then :
71585 cat >>confdefs.h <<_ACEOF
71586 #define HAVE_LDEXPL 1
71587 _ACEOF
71588
71589 fi
71590 done
71591
71592 else
71593
71594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71595 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71596 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71597 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71598 $as_echo_n "(cached) " >&6
71599 else
71600
71601
71602 ac_ext=cpp
71603 ac_cpp='$CXXCPP $CPPFLAGS'
71604 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71605 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71606 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71607
71608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71609 /* end confdefs.h. */
71610 #include <math.h>
71611 int
71612 main ()
71613 {
71614 _ldexpl(0, 0);
71615 ;
71616 return 0;
71617 }
71618 _ACEOF
71619 if ac_fn_cxx_try_compile "$LINENO"; then :
71620 glibcxx_cv_func__ldexpl_use=yes
71621 else
71622 glibcxx_cv_func__ldexpl_use=no
71623 fi
71624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71625 ac_ext=c
71626 ac_cpp='$CPP $CPPFLAGS'
71627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71630
71631
71632 fi
71633
71634 fi
71635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71636 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71637
71638 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71639 for ac_func in _ldexpl
71640 do :
71641 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71642 if test "x$ac_cv_func__ldexpl" = xyes; then :
71643 cat >>confdefs.h <<_ACEOF
71644 #define HAVE__LDEXPL 1
71645 _ACEOF
71646
71647 fi
71648 done
71649
71650 fi
71651 fi
71652
71653
71654
71655
71656
71657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71658 $as_echo_n "checking for logl declaration... " >&6; }
71659 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71660 if ${glibcxx_cv_func_logl_use+:} false; then :
71661 $as_echo_n "(cached) " >&6
71662 else
71663
71664
71665 ac_ext=cpp
71666 ac_cpp='$CXXCPP $CPPFLAGS'
71667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71670
71671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71672 /* end confdefs.h. */
71673 #include <math.h>
71674 #ifdef HAVE_IEEEFP_H
71675 #include <ieeefp.h>
71676 #endif
71677
71678 int
71679 main ()
71680 {
71681 logl(0);
71682 ;
71683 return 0;
71684 }
71685 _ACEOF
71686 if ac_fn_cxx_try_compile "$LINENO"; then :
71687 glibcxx_cv_func_logl_use=yes
71688 else
71689 glibcxx_cv_func_logl_use=no
71690 fi
71691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71692 ac_ext=c
71693 ac_cpp='$CPP $CPPFLAGS'
71694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71697
71698
71699 fi
71700
71701 fi
71702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71703 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71704
71705 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71706 for ac_func in logl
71707 do :
71708 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71709 if test "x$ac_cv_func_logl" = xyes; then :
71710 cat >>confdefs.h <<_ACEOF
71711 #define HAVE_LOGL 1
71712 _ACEOF
71713
71714 fi
71715 done
71716
71717 else
71718
71719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71720 $as_echo_n "checking for _logl declaration... " >&6; }
71721 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71722 if ${glibcxx_cv_func__logl_use+:} false; then :
71723 $as_echo_n "(cached) " >&6
71724 else
71725
71726
71727 ac_ext=cpp
71728 ac_cpp='$CXXCPP $CPPFLAGS'
71729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71732
71733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71734 /* end confdefs.h. */
71735 #include <math.h>
71736 #ifdef HAVE_IEEEFP_H
71737 #include <ieeefp.h>
71738 #endif
71739
71740 int
71741 main ()
71742 {
71743 _logl(0);
71744 ;
71745 return 0;
71746 }
71747 _ACEOF
71748 if ac_fn_cxx_try_compile "$LINENO"; then :
71749 glibcxx_cv_func__logl_use=yes
71750 else
71751 glibcxx_cv_func__logl_use=no
71752 fi
71753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71754 ac_ext=c
71755 ac_cpp='$CPP $CPPFLAGS'
71756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71759
71760
71761 fi
71762
71763 fi
71764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71765 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71766
71767 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71768 for ac_func in _logl
71769 do :
71770 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71771 if test "x$ac_cv_func__logl" = xyes; then :
71772 cat >>confdefs.h <<_ACEOF
71773 #define HAVE__LOGL 1
71774 _ACEOF
71775
71776 fi
71777 done
71778
71779 fi
71780 fi
71781
71782
71783
71784
71785
71786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71787 $as_echo_n "checking for log10l declaration... " >&6; }
71788 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71789 if ${glibcxx_cv_func_log10l_use+:} false; then :
71790 $as_echo_n "(cached) " >&6
71791 else
71792
71793
71794 ac_ext=cpp
71795 ac_cpp='$CXXCPP $CPPFLAGS'
71796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71799
71800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71801 /* end confdefs.h. */
71802 #include <math.h>
71803 #ifdef HAVE_IEEEFP_H
71804 #include <ieeefp.h>
71805 #endif
71806
71807 int
71808 main ()
71809 {
71810 log10l(0);
71811 ;
71812 return 0;
71813 }
71814 _ACEOF
71815 if ac_fn_cxx_try_compile "$LINENO"; then :
71816 glibcxx_cv_func_log10l_use=yes
71817 else
71818 glibcxx_cv_func_log10l_use=no
71819 fi
71820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71821 ac_ext=c
71822 ac_cpp='$CPP $CPPFLAGS'
71823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71826
71827
71828 fi
71829
71830 fi
71831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71832 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71833
71834 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71835 for ac_func in log10l
71836 do :
71837 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71838 if test "x$ac_cv_func_log10l" = xyes; then :
71839 cat >>confdefs.h <<_ACEOF
71840 #define HAVE_LOG10L 1
71841 _ACEOF
71842
71843 fi
71844 done
71845
71846 else
71847
71848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71849 $as_echo_n "checking for _log10l declaration... " >&6; }
71850 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71851 if ${glibcxx_cv_func__log10l_use+:} false; then :
71852 $as_echo_n "(cached) " >&6
71853 else
71854
71855
71856 ac_ext=cpp
71857 ac_cpp='$CXXCPP $CPPFLAGS'
71858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71861
71862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71863 /* end confdefs.h. */
71864 #include <math.h>
71865 #ifdef HAVE_IEEEFP_H
71866 #include <ieeefp.h>
71867 #endif
71868
71869 int
71870 main ()
71871 {
71872 _log10l(0);
71873 ;
71874 return 0;
71875 }
71876 _ACEOF
71877 if ac_fn_cxx_try_compile "$LINENO"; then :
71878 glibcxx_cv_func__log10l_use=yes
71879 else
71880 glibcxx_cv_func__log10l_use=no
71881 fi
71882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71883 ac_ext=c
71884 ac_cpp='$CPP $CPPFLAGS'
71885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71888
71889
71890 fi
71891
71892 fi
71893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71894 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71895
71896 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71897 for ac_func in _log10l
71898 do :
71899 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71900 if test "x$ac_cv_func__log10l" = xyes; then :
71901 cat >>confdefs.h <<_ACEOF
71902 #define HAVE__LOG10L 1
71903 _ACEOF
71904
71905 fi
71906 done
71907
71908 fi
71909 fi
71910
71911
71912
71913
71914
71915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71916 $as_echo_n "checking for modfl declaration... " >&6; }
71917 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71918 if ${glibcxx_cv_func_modfl_use+:} false; then :
71919 $as_echo_n "(cached) " >&6
71920 else
71921
71922
71923 ac_ext=cpp
71924 ac_cpp='$CXXCPP $CPPFLAGS'
71925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71928
71929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71930 /* end confdefs.h. */
71931 #include <math.h>
71932 int
71933 main ()
71934 {
71935 modfl(0, 0);
71936 ;
71937 return 0;
71938 }
71939 _ACEOF
71940 if ac_fn_cxx_try_compile "$LINENO"; then :
71941 glibcxx_cv_func_modfl_use=yes
71942 else
71943 glibcxx_cv_func_modfl_use=no
71944 fi
71945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71946 ac_ext=c
71947 ac_cpp='$CPP $CPPFLAGS'
71948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71951
71952
71953 fi
71954
71955 fi
71956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71957 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71958
71959 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71960 for ac_func in modfl
71961 do :
71962 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71963 if test "x$ac_cv_func_modfl" = xyes; then :
71964 cat >>confdefs.h <<_ACEOF
71965 #define HAVE_MODFL 1
71966 _ACEOF
71967
71968 fi
71969 done
71970
71971 else
71972
71973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71974 $as_echo_n "checking for _modfl declaration... " >&6; }
71975 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71976 if ${glibcxx_cv_func__modfl_use+:} false; then :
71977 $as_echo_n "(cached) " >&6
71978 else
71979
71980
71981 ac_ext=cpp
71982 ac_cpp='$CXXCPP $CPPFLAGS'
71983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71986
71987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71988 /* end confdefs.h. */
71989 #include <math.h>
71990 int
71991 main ()
71992 {
71993 _modfl(0, 0);
71994 ;
71995 return 0;
71996 }
71997 _ACEOF
71998 if ac_fn_cxx_try_compile "$LINENO"; then :
71999 glibcxx_cv_func__modfl_use=yes
72000 else
72001 glibcxx_cv_func__modfl_use=no
72002 fi
72003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72004 ac_ext=c
72005 ac_cpp='$CPP $CPPFLAGS'
72006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72009
72010
72011 fi
72012
72013 fi
72014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
72015 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
72016
72017 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
72018 for ac_func in _modfl
72019 do :
72020 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
72021 if test "x$ac_cv_func__modfl" = xyes; then :
72022 cat >>confdefs.h <<_ACEOF
72023 #define HAVE__MODFL 1
72024 _ACEOF
72025
72026 fi
72027 done
72028
72029 fi
72030 fi
72031
72032
72033
72034
72035
72036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
72037 $as_echo_n "checking for powl declaration... " >&6; }
72038 if test x${glibcxx_cv_func_powl_use+set} != xset; then
72039 if ${glibcxx_cv_func_powl_use+:} false; then :
72040 $as_echo_n "(cached) " >&6
72041 else
72042
72043
72044 ac_ext=cpp
72045 ac_cpp='$CXXCPP $CPPFLAGS'
72046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72049
72050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72051 /* end confdefs.h. */
72052 #include <math.h>
72053 int
72054 main ()
72055 {
72056 powl(0, 0);
72057 ;
72058 return 0;
72059 }
72060 _ACEOF
72061 if ac_fn_cxx_try_compile "$LINENO"; then :
72062 glibcxx_cv_func_powl_use=yes
72063 else
72064 glibcxx_cv_func_powl_use=no
72065 fi
72066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72067 ac_ext=c
72068 ac_cpp='$CPP $CPPFLAGS'
72069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72072
72073
72074 fi
72075
72076 fi
72077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
72078 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
72079
72080 if test x$glibcxx_cv_func_powl_use = x"yes"; then
72081 for ac_func in powl
72082 do :
72083 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72084 if test "x$ac_cv_func_powl" = xyes; then :
72085 cat >>confdefs.h <<_ACEOF
72086 #define HAVE_POWL 1
72087 _ACEOF
72088
72089 fi
72090 done
72091
72092 else
72093
72094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72095 $as_echo_n "checking for _powl declaration... " >&6; }
72096 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72097 if ${glibcxx_cv_func__powl_use+:} false; then :
72098 $as_echo_n "(cached) " >&6
72099 else
72100
72101
72102 ac_ext=cpp
72103 ac_cpp='$CXXCPP $CPPFLAGS'
72104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72107
72108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72109 /* end confdefs.h. */
72110 #include <math.h>
72111 int
72112 main ()
72113 {
72114 _powl(0, 0);
72115 ;
72116 return 0;
72117 }
72118 _ACEOF
72119 if ac_fn_cxx_try_compile "$LINENO"; then :
72120 glibcxx_cv_func__powl_use=yes
72121 else
72122 glibcxx_cv_func__powl_use=no
72123 fi
72124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72125 ac_ext=c
72126 ac_cpp='$CPP $CPPFLAGS'
72127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72130
72131
72132 fi
72133
72134 fi
72135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72136 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72137
72138 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72139 for ac_func in _powl
72140 do :
72141 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72142 if test "x$ac_cv_func__powl" = xyes; then :
72143 cat >>confdefs.h <<_ACEOF
72144 #define HAVE__POWL 1
72145 _ACEOF
72146
72147 fi
72148 done
72149
72150 fi
72151 fi
72152
72153
72154
72155
72156
72157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72158 $as_echo_n "checking for sqrtl declaration... " >&6; }
72159 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72160 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72161 $as_echo_n "(cached) " >&6
72162 else
72163
72164
72165 ac_ext=cpp
72166 ac_cpp='$CXXCPP $CPPFLAGS'
72167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72170
72171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72172 /* end confdefs.h. */
72173 #include <math.h>
72174 #ifdef HAVE_IEEEFP_H
72175 #include <ieeefp.h>
72176 #endif
72177
72178 int
72179 main ()
72180 {
72181 sqrtl(0);
72182 ;
72183 return 0;
72184 }
72185 _ACEOF
72186 if ac_fn_cxx_try_compile "$LINENO"; then :
72187 glibcxx_cv_func_sqrtl_use=yes
72188 else
72189 glibcxx_cv_func_sqrtl_use=no
72190 fi
72191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72192 ac_ext=c
72193 ac_cpp='$CPP $CPPFLAGS'
72194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72197
72198
72199 fi
72200
72201 fi
72202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72203 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72204
72205 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72206 for ac_func in sqrtl
72207 do :
72208 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72209 if test "x$ac_cv_func_sqrtl" = xyes; then :
72210 cat >>confdefs.h <<_ACEOF
72211 #define HAVE_SQRTL 1
72212 _ACEOF
72213
72214 fi
72215 done
72216
72217 else
72218
72219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72220 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72221 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72222 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72223 $as_echo_n "(cached) " >&6
72224 else
72225
72226
72227 ac_ext=cpp
72228 ac_cpp='$CXXCPP $CPPFLAGS'
72229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72232
72233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72234 /* end confdefs.h. */
72235 #include <math.h>
72236 #ifdef HAVE_IEEEFP_H
72237 #include <ieeefp.h>
72238 #endif
72239
72240 int
72241 main ()
72242 {
72243 _sqrtl(0);
72244 ;
72245 return 0;
72246 }
72247 _ACEOF
72248 if ac_fn_cxx_try_compile "$LINENO"; then :
72249 glibcxx_cv_func__sqrtl_use=yes
72250 else
72251 glibcxx_cv_func__sqrtl_use=no
72252 fi
72253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72254 ac_ext=c
72255 ac_cpp='$CPP $CPPFLAGS'
72256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72259
72260
72261 fi
72262
72263 fi
72264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72265 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72266
72267 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72268 for ac_func in _sqrtl
72269 do :
72270 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72271 if test "x$ac_cv_func__sqrtl" = xyes; then :
72272 cat >>confdefs.h <<_ACEOF
72273 #define HAVE__SQRTL 1
72274 _ACEOF
72275
72276 fi
72277 done
72278
72279 fi
72280 fi
72281
72282
72283
72284
72285
72286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72287 $as_echo_n "checking for sincosl declaration... " >&6; }
72288 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72289 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72290 $as_echo_n "(cached) " >&6
72291 else
72292
72293
72294 ac_ext=cpp
72295 ac_cpp='$CXXCPP $CPPFLAGS'
72296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72299
72300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72301 /* end confdefs.h. */
72302 #include <math.h>
72303 int
72304 main ()
72305 {
72306 sincosl(0, 0, 0);
72307 ;
72308 return 0;
72309 }
72310 _ACEOF
72311 if ac_fn_cxx_try_compile "$LINENO"; then :
72312 glibcxx_cv_func_sincosl_use=yes
72313 else
72314 glibcxx_cv_func_sincosl_use=no
72315 fi
72316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72317 ac_ext=c
72318 ac_cpp='$CPP $CPPFLAGS'
72319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72322
72323
72324 fi
72325
72326 fi
72327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72328 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72329
72330 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72331 for ac_func in sincosl
72332 do :
72333 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72334 if test "x$ac_cv_func_sincosl" = xyes; then :
72335 cat >>confdefs.h <<_ACEOF
72336 #define HAVE_SINCOSL 1
72337 _ACEOF
72338
72339 fi
72340 done
72341
72342 else
72343
72344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72345 $as_echo_n "checking for _sincosl declaration... " >&6; }
72346 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72347 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72348 $as_echo_n "(cached) " >&6
72349 else
72350
72351
72352 ac_ext=cpp
72353 ac_cpp='$CXXCPP $CPPFLAGS'
72354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72357
72358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72359 /* end confdefs.h. */
72360 #include <math.h>
72361 int
72362 main ()
72363 {
72364 _sincosl(0, 0, 0);
72365 ;
72366 return 0;
72367 }
72368 _ACEOF
72369 if ac_fn_cxx_try_compile "$LINENO"; then :
72370 glibcxx_cv_func__sincosl_use=yes
72371 else
72372 glibcxx_cv_func__sincosl_use=no
72373 fi
72374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72375 ac_ext=c
72376 ac_cpp='$CPP $CPPFLAGS'
72377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72380
72381
72382 fi
72383
72384 fi
72385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72386 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72387
72388 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72389 for ac_func in _sincosl
72390 do :
72391 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72392 if test "x$ac_cv_func__sincosl" = xyes; then :
72393 cat >>confdefs.h <<_ACEOF
72394 #define HAVE__SINCOSL 1
72395 _ACEOF
72396
72397 fi
72398 done
72399
72400 fi
72401 fi
72402
72403
72404
72405
72406
72407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72408 $as_echo_n "checking for finitel declaration... " >&6; }
72409 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72410 if ${glibcxx_cv_func_finitel_use+:} false; then :
72411 $as_echo_n "(cached) " >&6
72412 else
72413
72414
72415 ac_ext=cpp
72416 ac_cpp='$CXXCPP $CPPFLAGS'
72417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72420
72421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72422 /* end confdefs.h. */
72423 #include <math.h>
72424 #ifdef HAVE_IEEEFP_H
72425 #include <ieeefp.h>
72426 #endif
72427
72428 int
72429 main ()
72430 {
72431 finitel(0);
72432 ;
72433 return 0;
72434 }
72435 _ACEOF
72436 if ac_fn_cxx_try_compile "$LINENO"; then :
72437 glibcxx_cv_func_finitel_use=yes
72438 else
72439 glibcxx_cv_func_finitel_use=no
72440 fi
72441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72442 ac_ext=c
72443 ac_cpp='$CPP $CPPFLAGS'
72444 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72445 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72446 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72447
72448
72449 fi
72450
72451 fi
72452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72453 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72454
72455 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72456 for ac_func in finitel
72457 do :
72458 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72459 if test "x$ac_cv_func_finitel" = xyes; then :
72460 cat >>confdefs.h <<_ACEOF
72461 #define HAVE_FINITEL 1
72462 _ACEOF
72463
72464 fi
72465 done
72466
72467 else
72468
72469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72470 $as_echo_n "checking for _finitel declaration... " >&6; }
72471 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72472 if ${glibcxx_cv_func__finitel_use+:} false; then :
72473 $as_echo_n "(cached) " >&6
72474 else
72475
72476
72477 ac_ext=cpp
72478 ac_cpp='$CXXCPP $CPPFLAGS'
72479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72482
72483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72484 /* end confdefs.h. */
72485 #include <math.h>
72486 #ifdef HAVE_IEEEFP_H
72487 #include <ieeefp.h>
72488 #endif
72489
72490 int
72491 main ()
72492 {
72493 _finitel(0);
72494 ;
72495 return 0;
72496 }
72497 _ACEOF
72498 if ac_fn_cxx_try_compile "$LINENO"; then :
72499 glibcxx_cv_func__finitel_use=yes
72500 else
72501 glibcxx_cv_func__finitel_use=no
72502 fi
72503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72504 ac_ext=c
72505 ac_cpp='$CPP $CPPFLAGS'
72506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72509
72510
72511 fi
72512
72513 fi
72514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72515 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72516
72517 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72518 for ac_func in _finitel
72519 do :
72520 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72521 if test "x$ac_cv_func__finitel" = xyes; then :
72522 cat >>confdefs.h <<_ACEOF
72523 #define HAVE__FINITEL 1
72524 _ACEOF
72525
72526 fi
72527 done
72528
72529 fi
72530 fi
72531
72532
72533
72534
72535 LIBS="$ac_save_LIBS"
72536 CXXFLAGS="$ac_save_CXXFLAGS"
72537
72538
72539 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72540 ac_save_CXXFLAGS="$CXXFLAGS"
72541 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72542
72543
72544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72545 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72546 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72547 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72548 $as_echo_n "(cached) " >&6
72549 else
72550
72551
72552 ac_ext=cpp
72553 ac_cpp='$CXXCPP $CPPFLAGS'
72554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72557
72558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72559 /* end confdefs.h. */
72560 #include <stdlib.h>
72561 int
72562 main ()
72563 {
72564 at_quick_exit(0);
72565 ;
72566 return 0;
72567 }
72568 _ACEOF
72569 if ac_fn_cxx_try_compile "$LINENO"; then :
72570 glibcxx_cv_func_at_quick_exit_use=yes
72571 else
72572 glibcxx_cv_func_at_quick_exit_use=no
72573 fi
72574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72575 ac_ext=c
72576 ac_cpp='$CPP $CPPFLAGS'
72577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72580
72581
72582 fi
72583
72584 fi
72585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72586 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72587 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72588 for ac_func in at_quick_exit
72589 do :
72590 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72591 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72592 cat >>confdefs.h <<_ACEOF
72593 #define HAVE_AT_QUICK_EXIT 1
72594 _ACEOF
72595
72596 fi
72597 done
72598
72599 fi
72600
72601
72602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72603 $as_echo_n "checking for quick_exit declaration... " >&6; }
72604 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72605 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72606 $as_echo_n "(cached) " >&6
72607 else
72608
72609
72610 ac_ext=cpp
72611 ac_cpp='$CXXCPP $CPPFLAGS'
72612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72615
72616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72617 /* end confdefs.h. */
72618 #include <stdlib.h>
72619 int
72620 main ()
72621 {
72622 quick_exit(0);
72623 ;
72624 return 0;
72625 }
72626 _ACEOF
72627 if ac_fn_cxx_try_compile "$LINENO"; then :
72628 glibcxx_cv_func_quick_exit_use=yes
72629 else
72630 glibcxx_cv_func_quick_exit_use=no
72631 fi
72632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72633 ac_ext=c
72634 ac_cpp='$CPP $CPPFLAGS'
72635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72638
72639
72640 fi
72641
72642 fi
72643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72644 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72645 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72646 for ac_func in quick_exit
72647 do :
72648 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72649 if test "x$ac_cv_func_quick_exit" = xyes; then :
72650 cat >>confdefs.h <<_ACEOF
72651 #define HAVE_QUICK_EXIT 1
72652 _ACEOF
72653
72654 fi
72655 done
72656
72657 fi
72658
72659
72660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72661 $as_echo_n "checking for strtold declaration... " >&6; }
72662 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72663 if ${glibcxx_cv_func_strtold_use+:} false; then :
72664 $as_echo_n "(cached) " >&6
72665 else
72666
72667
72668 ac_ext=cpp
72669 ac_cpp='$CXXCPP $CPPFLAGS'
72670 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72671 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72672 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72673
72674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72675 /* end confdefs.h. */
72676 #include <stdlib.h>
72677 int
72678 main ()
72679 {
72680 strtold(0, 0);
72681 ;
72682 return 0;
72683 }
72684 _ACEOF
72685 if ac_fn_cxx_try_compile "$LINENO"; then :
72686 glibcxx_cv_func_strtold_use=yes
72687 else
72688 glibcxx_cv_func_strtold_use=no
72689 fi
72690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72691 ac_ext=c
72692 ac_cpp='$CPP $CPPFLAGS'
72693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72696
72697
72698 fi
72699
72700 fi
72701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72702 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72703 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72704 for ac_func in strtold
72705 do :
72706 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72707 if test "x$ac_cv_func_strtold" = xyes; then :
72708 cat >>confdefs.h <<_ACEOF
72709 #define HAVE_STRTOLD 1
72710 _ACEOF
72711
72712 fi
72713 done
72714
72715 fi
72716
72717
72718
72719
72720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72721 $as_echo_n "checking for strtof declaration... " >&6; }
72722 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72723 if ${glibcxx_cv_func_strtof_use+:} false; then :
72724 $as_echo_n "(cached) " >&6
72725 else
72726
72727
72728 ac_ext=cpp
72729 ac_cpp='$CXXCPP $CPPFLAGS'
72730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72733
72734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72735 /* end confdefs.h. */
72736 #include <stdlib.h>
72737 int
72738 main ()
72739 {
72740 strtof(0, 0);
72741 ;
72742 return 0;
72743 }
72744 _ACEOF
72745 if ac_fn_cxx_try_compile "$LINENO"; then :
72746 glibcxx_cv_func_strtof_use=yes
72747 else
72748 glibcxx_cv_func_strtof_use=no
72749 fi
72750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72751 ac_ext=c
72752 ac_cpp='$CPP $CPPFLAGS'
72753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72756
72757
72758 fi
72759
72760 fi
72761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72762 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72763 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72764 for ac_func in strtof
72765 do :
72766 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72767 if test "x$ac_cv_func_strtof" = xyes; then :
72768 cat >>confdefs.h <<_ACEOF
72769 #define HAVE_STRTOF 1
72770 _ACEOF
72771
72772 fi
72773 done
72774
72775 fi
72776
72777
72778
72779
72780 CXXFLAGS="$ac_save_CXXFLAGS"
72781
72782 ;;
72783 *-tpf)
72784 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72785 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72786
72787 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72788
72789 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72790
72791 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72792
72793 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72794
72795 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72796
72797 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72798
72799 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72800
72801 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72802
72803 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72804
72805 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72806
72807 if test x"long_double_math_on_this_cpu" = x"yes"; then
72808 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72809
72810 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72811
72812 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72813
72814 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72815
72816 fi
72817 ;;
72818 *-*vms*)
72819 # Check for available headers.
72820 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72821
72822 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72823 ac_save_CXXFLAGS="$CXXFLAGS"
72824 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72825
72826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72827 $as_echo_n "checking for sin in -lm... " >&6; }
72828 if ${ac_cv_lib_m_sin+:} false; then :
72829 $as_echo_n "(cached) " >&6
72830 else
72831 ac_check_lib_save_LIBS=$LIBS
72832 LIBS="-lm $LIBS"
72833 if test x$gcc_no_link = xyes; then
72834 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72835 fi
72836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72837 /* end confdefs.h. */
72838
72839 /* Override any GCC internal prototype to avoid an error.
72840 Use char because int might match the return type of a GCC
72841 builtin and then its argument prototype would still apply. */
72842 #ifdef __cplusplus
72843 extern "C"
72844 #endif
72845 char sin ();
72846 int
72847 main ()
72848 {
72849 return sin ();
72850 ;
72851 return 0;
72852 }
72853 _ACEOF
72854 if ac_fn_c_try_link "$LINENO"; then :
72855 ac_cv_lib_m_sin=yes
72856 else
72857 ac_cv_lib_m_sin=no
72858 fi
72859 rm -f core conftest.err conftest.$ac_objext \
72860 conftest$ac_exeext conftest.$ac_ext
72861 LIBS=$ac_check_lib_save_LIBS
72862 fi
72863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72864 $as_echo "$ac_cv_lib_m_sin" >&6; }
72865 if test "x$ac_cv_lib_m_sin" = xyes; then :
72866 libm="-lm"
72867 fi
72868
72869 ac_save_LIBS="$LIBS"
72870 LIBS="$LIBS $libm"
72871
72872
72873
72874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72875 $as_echo_n "checking for isinf declaration... " >&6; }
72876 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72877 if ${glibcxx_cv_func_isinf_use+:} false; then :
72878 $as_echo_n "(cached) " >&6
72879 else
72880
72881
72882 ac_ext=cpp
72883 ac_cpp='$CXXCPP $CPPFLAGS'
72884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72887
72888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72889 /* end confdefs.h. */
72890 #include <math.h>
72891 #ifdef HAVE_IEEEFP_H
72892 #include <ieeefp.h>
72893 #endif
72894
72895 int
72896 main ()
72897 {
72898 isinf(0);
72899 ;
72900 return 0;
72901 }
72902 _ACEOF
72903 if ac_fn_cxx_try_compile "$LINENO"; then :
72904 glibcxx_cv_func_isinf_use=yes
72905 else
72906 glibcxx_cv_func_isinf_use=no
72907 fi
72908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72909 ac_ext=c
72910 ac_cpp='$CPP $CPPFLAGS'
72911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72914
72915
72916 fi
72917
72918 fi
72919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72920 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72921
72922 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72923 for ac_func in isinf
72924 do :
72925 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72926 if test "x$ac_cv_func_isinf" = xyes; then :
72927 cat >>confdefs.h <<_ACEOF
72928 #define HAVE_ISINF 1
72929 _ACEOF
72930
72931 fi
72932 done
72933
72934 else
72935
72936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72937 $as_echo_n "checking for _isinf declaration... " >&6; }
72938 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72939 if ${glibcxx_cv_func__isinf_use+:} false; then :
72940 $as_echo_n "(cached) " >&6
72941 else
72942
72943
72944 ac_ext=cpp
72945 ac_cpp='$CXXCPP $CPPFLAGS'
72946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72949
72950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72951 /* end confdefs.h. */
72952 #include <math.h>
72953 #ifdef HAVE_IEEEFP_H
72954 #include <ieeefp.h>
72955 #endif
72956
72957 int
72958 main ()
72959 {
72960 _isinf(0);
72961 ;
72962 return 0;
72963 }
72964 _ACEOF
72965 if ac_fn_cxx_try_compile "$LINENO"; then :
72966 glibcxx_cv_func__isinf_use=yes
72967 else
72968 glibcxx_cv_func__isinf_use=no
72969 fi
72970 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72971 ac_ext=c
72972 ac_cpp='$CPP $CPPFLAGS'
72973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72976
72977
72978 fi
72979
72980 fi
72981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72982 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72983
72984 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72985 for ac_func in _isinf
72986 do :
72987 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72988 if test "x$ac_cv_func__isinf" = xyes; then :
72989 cat >>confdefs.h <<_ACEOF
72990 #define HAVE__ISINF 1
72991 _ACEOF
72992
72993 fi
72994 done
72995
72996 fi
72997 fi
72998
72999
73000
73001
73002
73003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
73004 $as_echo_n "checking for isnan declaration... " >&6; }
73005 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
73006 if ${glibcxx_cv_func_isnan_use+:} false; then :
73007 $as_echo_n "(cached) " >&6
73008 else
73009
73010
73011 ac_ext=cpp
73012 ac_cpp='$CXXCPP $CPPFLAGS'
73013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73016
73017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73018 /* end confdefs.h. */
73019 #include <math.h>
73020 #ifdef HAVE_IEEEFP_H
73021 #include <ieeefp.h>
73022 #endif
73023
73024 int
73025 main ()
73026 {
73027 isnan(0);
73028 ;
73029 return 0;
73030 }
73031 _ACEOF
73032 if ac_fn_cxx_try_compile "$LINENO"; then :
73033 glibcxx_cv_func_isnan_use=yes
73034 else
73035 glibcxx_cv_func_isnan_use=no
73036 fi
73037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73038 ac_ext=c
73039 ac_cpp='$CPP $CPPFLAGS'
73040 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73041 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73042 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73043
73044
73045 fi
73046
73047 fi
73048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
73049 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
73050
73051 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
73052 for ac_func in isnan
73053 do :
73054 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
73055 if test "x$ac_cv_func_isnan" = xyes; then :
73056 cat >>confdefs.h <<_ACEOF
73057 #define HAVE_ISNAN 1
73058 _ACEOF
73059
73060 fi
73061 done
73062
73063 else
73064
73065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
73066 $as_echo_n "checking for _isnan declaration... " >&6; }
73067 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
73068 if ${glibcxx_cv_func__isnan_use+:} false; then :
73069 $as_echo_n "(cached) " >&6
73070 else
73071
73072
73073 ac_ext=cpp
73074 ac_cpp='$CXXCPP $CPPFLAGS'
73075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73078
73079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73080 /* end confdefs.h. */
73081 #include <math.h>
73082 #ifdef HAVE_IEEEFP_H
73083 #include <ieeefp.h>
73084 #endif
73085
73086 int
73087 main ()
73088 {
73089 _isnan(0);
73090 ;
73091 return 0;
73092 }
73093 _ACEOF
73094 if ac_fn_cxx_try_compile "$LINENO"; then :
73095 glibcxx_cv_func__isnan_use=yes
73096 else
73097 glibcxx_cv_func__isnan_use=no
73098 fi
73099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73100 ac_ext=c
73101 ac_cpp='$CPP $CPPFLAGS'
73102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73105
73106
73107 fi
73108
73109 fi
73110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
73111 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
73112
73113 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
73114 for ac_func in _isnan
73115 do :
73116 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
73117 if test "x$ac_cv_func__isnan" = xyes; then :
73118 cat >>confdefs.h <<_ACEOF
73119 #define HAVE__ISNAN 1
73120 _ACEOF
73121
73122 fi
73123 done
73124
73125 fi
73126 fi
73127
73128
73129
73130
73131
73132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
73133 $as_echo_n "checking for finite declaration... " >&6; }
73134 if test x${glibcxx_cv_func_finite_use+set} != xset; then
73135 if ${glibcxx_cv_func_finite_use+:} false; then :
73136 $as_echo_n "(cached) " >&6
73137 else
73138
73139
73140 ac_ext=cpp
73141 ac_cpp='$CXXCPP $CPPFLAGS'
73142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73145
73146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73147 /* end confdefs.h. */
73148 #include <math.h>
73149 #ifdef HAVE_IEEEFP_H
73150 #include <ieeefp.h>
73151 #endif
73152
73153 int
73154 main ()
73155 {
73156 finite(0);
73157 ;
73158 return 0;
73159 }
73160 _ACEOF
73161 if ac_fn_cxx_try_compile "$LINENO"; then :
73162 glibcxx_cv_func_finite_use=yes
73163 else
73164 glibcxx_cv_func_finite_use=no
73165 fi
73166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73167 ac_ext=c
73168 ac_cpp='$CPP $CPPFLAGS'
73169 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73170 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73171 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73172
73173
73174 fi
73175
73176 fi
73177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
73178 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
73179
73180 if test x$glibcxx_cv_func_finite_use = x"yes"; then
73181 for ac_func in finite
73182 do :
73183 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
73184 if test "x$ac_cv_func_finite" = xyes; then :
73185 cat >>confdefs.h <<_ACEOF
73186 #define HAVE_FINITE 1
73187 _ACEOF
73188
73189 fi
73190 done
73191
73192 else
73193
73194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
73195 $as_echo_n "checking for _finite declaration... " >&6; }
73196 if test x${glibcxx_cv_func__finite_use+set} != xset; then
73197 if ${glibcxx_cv_func__finite_use+:} false; then :
73198 $as_echo_n "(cached) " >&6
73199 else
73200
73201
73202 ac_ext=cpp
73203 ac_cpp='$CXXCPP $CPPFLAGS'
73204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73207
73208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73209 /* end confdefs.h. */
73210 #include <math.h>
73211 #ifdef HAVE_IEEEFP_H
73212 #include <ieeefp.h>
73213 #endif
73214
73215 int
73216 main ()
73217 {
73218 _finite(0);
73219 ;
73220 return 0;
73221 }
73222 _ACEOF
73223 if ac_fn_cxx_try_compile "$LINENO"; then :
73224 glibcxx_cv_func__finite_use=yes
73225 else
73226 glibcxx_cv_func__finite_use=no
73227 fi
73228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73229 ac_ext=c
73230 ac_cpp='$CPP $CPPFLAGS'
73231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73234
73235
73236 fi
73237
73238 fi
73239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
73240 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
73241
73242 if test x$glibcxx_cv_func__finite_use = x"yes"; then
73243 for ac_func in _finite
73244 do :
73245 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
73246 if test "x$ac_cv_func__finite" = xyes; then :
73247 cat >>confdefs.h <<_ACEOF
73248 #define HAVE__FINITE 1
73249 _ACEOF
73250
73251 fi
73252 done
73253
73254 fi
73255 fi
73256
73257
73258
73259
73260
73261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
73262 $as_echo_n "checking for sincos declaration... " >&6; }
73263 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
73264 if ${glibcxx_cv_func_sincos_use+:} false; then :
73265 $as_echo_n "(cached) " >&6
73266 else
73267
73268
73269 ac_ext=cpp
73270 ac_cpp='$CXXCPP $CPPFLAGS'
73271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73274
73275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73276 /* end confdefs.h. */
73277 #include <math.h>
73278 int
73279 main ()
73280 {
73281 sincos(0, 0, 0);
73282 ;
73283 return 0;
73284 }
73285 _ACEOF
73286 if ac_fn_cxx_try_compile "$LINENO"; then :
73287 glibcxx_cv_func_sincos_use=yes
73288 else
73289 glibcxx_cv_func_sincos_use=no
73290 fi
73291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73292 ac_ext=c
73293 ac_cpp='$CPP $CPPFLAGS'
73294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73297
73298
73299 fi
73300
73301 fi
73302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
73303 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
73304
73305 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
73306 for ac_func in sincos
73307 do :
73308 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73309 if test "x$ac_cv_func_sincos" = xyes; then :
73310 cat >>confdefs.h <<_ACEOF
73311 #define HAVE_SINCOS 1
73312 _ACEOF
73313
73314 fi
73315 done
73316
73317 else
73318
73319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73320 $as_echo_n "checking for _sincos declaration... " >&6; }
73321 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73322 if ${glibcxx_cv_func__sincos_use+:} false; then :
73323 $as_echo_n "(cached) " >&6
73324 else
73325
73326
73327 ac_ext=cpp
73328 ac_cpp='$CXXCPP $CPPFLAGS'
73329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73332
73333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73334 /* end confdefs.h. */
73335 #include <math.h>
73336 int
73337 main ()
73338 {
73339 _sincos(0, 0, 0);
73340 ;
73341 return 0;
73342 }
73343 _ACEOF
73344 if ac_fn_cxx_try_compile "$LINENO"; then :
73345 glibcxx_cv_func__sincos_use=yes
73346 else
73347 glibcxx_cv_func__sincos_use=no
73348 fi
73349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73350 ac_ext=c
73351 ac_cpp='$CPP $CPPFLAGS'
73352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73355
73356
73357 fi
73358
73359 fi
73360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73361 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73362
73363 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73364 for ac_func in _sincos
73365 do :
73366 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73367 if test "x$ac_cv_func__sincos" = xyes; then :
73368 cat >>confdefs.h <<_ACEOF
73369 #define HAVE__SINCOS 1
73370 _ACEOF
73371
73372 fi
73373 done
73374
73375 fi
73376 fi
73377
73378
73379
73380
73381
73382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73383 $as_echo_n "checking for fpclass declaration... " >&6; }
73384 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73385 if ${glibcxx_cv_func_fpclass_use+:} false; then :
73386 $as_echo_n "(cached) " >&6
73387 else
73388
73389
73390 ac_ext=cpp
73391 ac_cpp='$CXXCPP $CPPFLAGS'
73392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73395
73396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73397 /* end confdefs.h. */
73398 #include <math.h>
73399 #ifdef HAVE_IEEEFP_H
73400 #include <ieeefp.h>
73401 #endif
73402
73403 int
73404 main ()
73405 {
73406 fpclass(0);
73407 ;
73408 return 0;
73409 }
73410 _ACEOF
73411 if ac_fn_cxx_try_compile "$LINENO"; then :
73412 glibcxx_cv_func_fpclass_use=yes
73413 else
73414 glibcxx_cv_func_fpclass_use=no
73415 fi
73416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73417 ac_ext=c
73418 ac_cpp='$CPP $CPPFLAGS'
73419 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73420 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73421 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73422
73423
73424 fi
73425
73426 fi
73427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73428 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73429
73430 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73431 for ac_func in fpclass
73432 do :
73433 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73434 if test "x$ac_cv_func_fpclass" = xyes; then :
73435 cat >>confdefs.h <<_ACEOF
73436 #define HAVE_FPCLASS 1
73437 _ACEOF
73438
73439 fi
73440 done
73441
73442 else
73443
73444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73445 $as_echo_n "checking for _fpclass declaration... " >&6; }
73446 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73447 if ${glibcxx_cv_func__fpclass_use+:} false; then :
73448 $as_echo_n "(cached) " >&6
73449 else
73450
73451
73452 ac_ext=cpp
73453 ac_cpp='$CXXCPP $CPPFLAGS'
73454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73457
73458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73459 /* end confdefs.h. */
73460 #include <math.h>
73461 #ifdef HAVE_IEEEFP_H
73462 #include <ieeefp.h>
73463 #endif
73464
73465 int
73466 main ()
73467 {
73468 _fpclass(0);
73469 ;
73470 return 0;
73471 }
73472 _ACEOF
73473 if ac_fn_cxx_try_compile "$LINENO"; then :
73474 glibcxx_cv_func__fpclass_use=yes
73475 else
73476 glibcxx_cv_func__fpclass_use=no
73477 fi
73478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73479 ac_ext=c
73480 ac_cpp='$CPP $CPPFLAGS'
73481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73484
73485
73486 fi
73487
73488 fi
73489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73490 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73491
73492 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73493 for ac_func in _fpclass
73494 do :
73495 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73496 if test "x$ac_cv_func__fpclass" = xyes; then :
73497 cat >>confdefs.h <<_ACEOF
73498 #define HAVE__FPCLASS 1
73499 _ACEOF
73500
73501 fi
73502 done
73503
73504 fi
73505 fi
73506
73507
73508
73509
73510
73511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73512 $as_echo_n "checking for qfpclass declaration... " >&6; }
73513 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73514 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
73515 $as_echo_n "(cached) " >&6
73516 else
73517
73518
73519 ac_ext=cpp
73520 ac_cpp='$CXXCPP $CPPFLAGS'
73521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73524
73525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73526 /* end confdefs.h. */
73527 #include <math.h>
73528 #ifdef HAVE_IEEEFP_H
73529 #include <ieeefp.h>
73530 #endif
73531
73532 int
73533 main ()
73534 {
73535 qfpclass(0);
73536 ;
73537 return 0;
73538 }
73539 _ACEOF
73540 if ac_fn_cxx_try_compile "$LINENO"; then :
73541 glibcxx_cv_func_qfpclass_use=yes
73542 else
73543 glibcxx_cv_func_qfpclass_use=no
73544 fi
73545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73546 ac_ext=c
73547 ac_cpp='$CPP $CPPFLAGS'
73548 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73549 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73550 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73551
73552
73553 fi
73554
73555 fi
73556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73557 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73558
73559 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73560 for ac_func in qfpclass
73561 do :
73562 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73563 if test "x$ac_cv_func_qfpclass" = xyes; then :
73564 cat >>confdefs.h <<_ACEOF
73565 #define HAVE_QFPCLASS 1
73566 _ACEOF
73567
73568 fi
73569 done
73570
73571 else
73572
73573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73574 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73575 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73576 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
73577 $as_echo_n "(cached) " >&6
73578 else
73579
73580
73581 ac_ext=cpp
73582 ac_cpp='$CXXCPP $CPPFLAGS'
73583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73586
73587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73588 /* end confdefs.h. */
73589 #include <math.h>
73590 #ifdef HAVE_IEEEFP_H
73591 #include <ieeefp.h>
73592 #endif
73593
73594 int
73595 main ()
73596 {
73597 _qfpclass(0);
73598 ;
73599 return 0;
73600 }
73601 _ACEOF
73602 if ac_fn_cxx_try_compile "$LINENO"; then :
73603 glibcxx_cv_func__qfpclass_use=yes
73604 else
73605 glibcxx_cv_func__qfpclass_use=no
73606 fi
73607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73608 ac_ext=c
73609 ac_cpp='$CPP $CPPFLAGS'
73610 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73611 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73612 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73613
73614
73615 fi
73616
73617 fi
73618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73619 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73620
73621 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73622 for ac_func in _qfpclass
73623 do :
73624 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73625 if test "x$ac_cv_func__qfpclass" = xyes; then :
73626 cat >>confdefs.h <<_ACEOF
73627 #define HAVE__QFPCLASS 1
73628 _ACEOF
73629
73630 fi
73631 done
73632
73633 fi
73634 fi
73635
73636
73637
73638
73639
73640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73641 $as_echo_n "checking for hypot declaration... " >&6; }
73642 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73643 if ${glibcxx_cv_func_hypot_use+:} false; then :
73644 $as_echo_n "(cached) " >&6
73645 else
73646
73647
73648 ac_ext=cpp
73649 ac_cpp='$CXXCPP $CPPFLAGS'
73650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73653
73654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73655 /* end confdefs.h. */
73656 #include <math.h>
73657 int
73658 main ()
73659 {
73660 hypot(0, 0);
73661 ;
73662 return 0;
73663 }
73664 _ACEOF
73665 if ac_fn_cxx_try_compile "$LINENO"; then :
73666 glibcxx_cv_func_hypot_use=yes
73667 else
73668 glibcxx_cv_func_hypot_use=no
73669 fi
73670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73671 ac_ext=c
73672 ac_cpp='$CPP $CPPFLAGS'
73673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73676
73677
73678 fi
73679
73680 fi
73681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73682 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73683
73684 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73685 for ac_func in hypot
73686 do :
73687 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73688 if test "x$ac_cv_func_hypot" = xyes; then :
73689 cat >>confdefs.h <<_ACEOF
73690 #define HAVE_HYPOT 1
73691 _ACEOF
73692
73693 fi
73694 done
73695
73696 else
73697
73698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73699 $as_echo_n "checking for _hypot declaration... " >&6; }
73700 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73701 if ${glibcxx_cv_func__hypot_use+:} false; then :
73702 $as_echo_n "(cached) " >&6
73703 else
73704
73705
73706 ac_ext=cpp
73707 ac_cpp='$CXXCPP $CPPFLAGS'
73708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73711
73712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73713 /* end confdefs.h. */
73714 #include <math.h>
73715 int
73716 main ()
73717 {
73718 _hypot(0, 0);
73719 ;
73720 return 0;
73721 }
73722 _ACEOF
73723 if ac_fn_cxx_try_compile "$LINENO"; then :
73724 glibcxx_cv_func__hypot_use=yes
73725 else
73726 glibcxx_cv_func__hypot_use=no
73727 fi
73728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73729 ac_ext=c
73730 ac_cpp='$CPP $CPPFLAGS'
73731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73734
73735
73736 fi
73737
73738 fi
73739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73740 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73741
73742 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73743 for ac_func in _hypot
73744 do :
73745 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73746 if test "x$ac_cv_func__hypot" = xyes; then :
73747 cat >>confdefs.h <<_ACEOF
73748 #define HAVE__HYPOT 1
73749 _ACEOF
73750
73751 fi
73752 done
73753
73754 fi
73755 fi
73756
73757
73758
73759
73760
73761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73762 $as_echo_n "checking for float trig functions... " >&6; }
73763 if ${glibcxx_cv_func_float_trig_use+:} false; then :
73764 $as_echo_n "(cached) " >&6
73765 else
73766
73767
73768 ac_ext=cpp
73769 ac_cpp='$CXXCPP $CPPFLAGS'
73770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73773
73774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73775 /* end confdefs.h. */
73776 #include <math.h>
73777 int
73778 main ()
73779 {
73780 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73781 ;
73782 return 0;
73783 }
73784 _ACEOF
73785 if ac_fn_cxx_try_compile "$LINENO"; then :
73786 glibcxx_cv_func_float_trig_use=yes
73787 else
73788 glibcxx_cv_func_float_trig_use=no
73789 fi
73790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73791 ac_ext=c
73792 ac_cpp='$CPP $CPPFLAGS'
73793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73796
73797 fi
73798
73799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73800 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73801 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73802 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73803 do :
73804 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73805 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73806 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73807 cat >>confdefs.h <<_ACEOF
73808 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73809 _ACEOF
73810
73811 fi
73812 done
73813
73814 else
73815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73816 $as_echo_n "checking for _float trig functions... " >&6; }
73817 if ${glibcxx_cv_func__float_trig_use+:} false; then :
73818 $as_echo_n "(cached) " >&6
73819 else
73820
73821
73822 ac_ext=cpp
73823 ac_cpp='$CXXCPP $CPPFLAGS'
73824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73827
73828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73829 /* end confdefs.h. */
73830 #include <math.h>
73831 int
73832 main ()
73833 {
73834 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73835 ;
73836 return 0;
73837 }
73838 _ACEOF
73839 if ac_fn_cxx_try_compile "$LINENO"; then :
73840 glibcxx_cv_func__float_trig_use=yes
73841 else
73842 glibcxx_cv_func__float_trig_use=no
73843 fi
73844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73845 ac_ext=c
73846 ac_cpp='$CPP $CPPFLAGS'
73847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73850
73851 fi
73852
73853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73854 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73855 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73856 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73857 do :
73858 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73859 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73860 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73861 cat >>confdefs.h <<_ACEOF
73862 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73863 _ACEOF
73864
73865 fi
73866 done
73867
73868 fi
73869 fi
73870
73871
73872
73873
73874
73875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73876 $as_echo_n "checking for float round functions... " >&6; }
73877 if ${glibcxx_cv_func_float_round_use+:} false; then :
73878 $as_echo_n "(cached) " >&6
73879 else
73880
73881
73882 ac_ext=cpp
73883 ac_cpp='$CXXCPP $CPPFLAGS'
73884 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73885 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73886 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73887
73888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73889 /* end confdefs.h. */
73890 #include <math.h>
73891 int
73892 main ()
73893 {
73894 ceilf (0); floorf (0);
73895 ;
73896 return 0;
73897 }
73898 _ACEOF
73899 if ac_fn_cxx_try_compile "$LINENO"; then :
73900 glibcxx_cv_func_float_round_use=yes
73901 else
73902 glibcxx_cv_func_float_round_use=no
73903 fi
73904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73905 ac_ext=c
73906 ac_cpp='$CPP $CPPFLAGS'
73907 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73908 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73909 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73910
73911 fi
73912
73913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73914 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73915 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73916 for ac_func in ceilf floorf
73917 do :
73918 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73919 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73920 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73921 cat >>confdefs.h <<_ACEOF
73922 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73923 _ACEOF
73924
73925 fi
73926 done
73927
73928 else
73929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73930 $as_echo_n "checking for _float round functions... " >&6; }
73931 if ${glibcxx_cv_func__float_round_use+:} false; then :
73932 $as_echo_n "(cached) " >&6
73933 else
73934
73935
73936 ac_ext=cpp
73937 ac_cpp='$CXXCPP $CPPFLAGS'
73938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73941
73942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73943 /* end confdefs.h. */
73944 #include <math.h>
73945 int
73946 main ()
73947 {
73948 _ceilf (0); _floorf (0);
73949 ;
73950 return 0;
73951 }
73952 _ACEOF
73953 if ac_fn_cxx_try_compile "$LINENO"; then :
73954 glibcxx_cv_func__float_round_use=yes
73955 else
73956 glibcxx_cv_func__float_round_use=no
73957 fi
73958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73959 ac_ext=c
73960 ac_cpp='$CPP $CPPFLAGS'
73961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73964
73965 fi
73966
73967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73968 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73969 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73970 for ac_func in _ceilf _floorf
73971 do :
73972 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73973 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73974 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73975 cat >>confdefs.h <<_ACEOF
73976 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73977 _ACEOF
73978
73979 fi
73980 done
73981
73982 fi
73983 fi
73984
73985
73986
73987
73988
73989
73990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73991 $as_echo_n "checking for expf declaration... " >&6; }
73992 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73993 if ${glibcxx_cv_func_expf_use+:} false; then :
73994 $as_echo_n "(cached) " >&6
73995 else
73996
73997
73998 ac_ext=cpp
73999 ac_cpp='$CXXCPP $CPPFLAGS'
74000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74003
74004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74005 /* end confdefs.h. */
74006 #include <math.h>
74007 #ifdef HAVE_IEEEFP_H
74008 #include <ieeefp.h>
74009 #endif
74010
74011 int
74012 main ()
74013 {
74014 expf(0);
74015 ;
74016 return 0;
74017 }
74018 _ACEOF
74019 if ac_fn_cxx_try_compile "$LINENO"; then :
74020 glibcxx_cv_func_expf_use=yes
74021 else
74022 glibcxx_cv_func_expf_use=no
74023 fi
74024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74025 ac_ext=c
74026 ac_cpp='$CPP $CPPFLAGS'
74027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74030
74031
74032 fi
74033
74034 fi
74035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
74036 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
74037
74038 if test x$glibcxx_cv_func_expf_use = x"yes"; then
74039 for ac_func in expf
74040 do :
74041 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
74042 if test "x$ac_cv_func_expf" = xyes; then :
74043 cat >>confdefs.h <<_ACEOF
74044 #define HAVE_EXPF 1
74045 _ACEOF
74046
74047 fi
74048 done
74049
74050 else
74051
74052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
74053 $as_echo_n "checking for _expf declaration... " >&6; }
74054 if test x${glibcxx_cv_func__expf_use+set} != xset; then
74055 if ${glibcxx_cv_func__expf_use+:} false; then :
74056 $as_echo_n "(cached) " >&6
74057 else
74058
74059
74060 ac_ext=cpp
74061 ac_cpp='$CXXCPP $CPPFLAGS'
74062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74065
74066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74067 /* end confdefs.h. */
74068 #include <math.h>
74069 #ifdef HAVE_IEEEFP_H
74070 #include <ieeefp.h>
74071 #endif
74072
74073 int
74074 main ()
74075 {
74076 _expf(0);
74077 ;
74078 return 0;
74079 }
74080 _ACEOF
74081 if ac_fn_cxx_try_compile "$LINENO"; then :
74082 glibcxx_cv_func__expf_use=yes
74083 else
74084 glibcxx_cv_func__expf_use=no
74085 fi
74086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74087 ac_ext=c
74088 ac_cpp='$CPP $CPPFLAGS'
74089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74092
74093
74094 fi
74095
74096 fi
74097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
74098 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
74099
74100 if test x$glibcxx_cv_func__expf_use = x"yes"; then
74101 for ac_func in _expf
74102 do :
74103 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
74104 if test "x$ac_cv_func__expf" = xyes; then :
74105 cat >>confdefs.h <<_ACEOF
74106 #define HAVE__EXPF 1
74107 _ACEOF
74108
74109 fi
74110 done
74111
74112 fi
74113 fi
74114
74115
74116
74117
74118
74119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
74120 $as_echo_n "checking for isnanf declaration... " >&6; }
74121 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
74122 if ${glibcxx_cv_func_isnanf_use+:} false; then :
74123 $as_echo_n "(cached) " >&6
74124 else
74125
74126
74127 ac_ext=cpp
74128 ac_cpp='$CXXCPP $CPPFLAGS'
74129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74132
74133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74134 /* end confdefs.h. */
74135 #include <math.h>
74136 #ifdef HAVE_IEEEFP_H
74137 #include <ieeefp.h>
74138 #endif
74139
74140 int
74141 main ()
74142 {
74143 isnanf(0);
74144 ;
74145 return 0;
74146 }
74147 _ACEOF
74148 if ac_fn_cxx_try_compile "$LINENO"; then :
74149 glibcxx_cv_func_isnanf_use=yes
74150 else
74151 glibcxx_cv_func_isnanf_use=no
74152 fi
74153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74154 ac_ext=c
74155 ac_cpp='$CPP $CPPFLAGS'
74156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74159
74160
74161 fi
74162
74163 fi
74164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
74165 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
74166
74167 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
74168 for ac_func in isnanf
74169 do :
74170 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
74171 if test "x$ac_cv_func_isnanf" = xyes; then :
74172 cat >>confdefs.h <<_ACEOF
74173 #define HAVE_ISNANF 1
74174 _ACEOF
74175
74176 fi
74177 done
74178
74179 else
74180
74181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
74182 $as_echo_n "checking for _isnanf declaration... " >&6; }
74183 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
74184 if ${glibcxx_cv_func__isnanf_use+:} false; then :
74185 $as_echo_n "(cached) " >&6
74186 else
74187
74188
74189 ac_ext=cpp
74190 ac_cpp='$CXXCPP $CPPFLAGS'
74191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74194
74195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74196 /* end confdefs.h. */
74197 #include <math.h>
74198 #ifdef HAVE_IEEEFP_H
74199 #include <ieeefp.h>
74200 #endif
74201
74202 int
74203 main ()
74204 {
74205 _isnanf(0);
74206 ;
74207 return 0;
74208 }
74209 _ACEOF
74210 if ac_fn_cxx_try_compile "$LINENO"; then :
74211 glibcxx_cv_func__isnanf_use=yes
74212 else
74213 glibcxx_cv_func__isnanf_use=no
74214 fi
74215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74216 ac_ext=c
74217 ac_cpp='$CPP $CPPFLAGS'
74218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74221
74222
74223 fi
74224
74225 fi
74226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
74227 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
74228
74229 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
74230 for ac_func in _isnanf
74231 do :
74232 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
74233 if test "x$ac_cv_func__isnanf" = xyes; then :
74234 cat >>confdefs.h <<_ACEOF
74235 #define HAVE__ISNANF 1
74236 _ACEOF
74237
74238 fi
74239 done
74240
74241 fi
74242 fi
74243
74244
74245
74246
74247
74248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
74249 $as_echo_n "checking for isinff declaration... " >&6; }
74250 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
74251 if ${glibcxx_cv_func_isinff_use+:} false; then :
74252 $as_echo_n "(cached) " >&6
74253 else
74254
74255
74256 ac_ext=cpp
74257 ac_cpp='$CXXCPP $CPPFLAGS'
74258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74261
74262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74263 /* end confdefs.h. */
74264 #include <math.h>
74265 #ifdef HAVE_IEEEFP_H
74266 #include <ieeefp.h>
74267 #endif
74268
74269 int
74270 main ()
74271 {
74272 isinff(0);
74273 ;
74274 return 0;
74275 }
74276 _ACEOF
74277 if ac_fn_cxx_try_compile "$LINENO"; then :
74278 glibcxx_cv_func_isinff_use=yes
74279 else
74280 glibcxx_cv_func_isinff_use=no
74281 fi
74282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74283 ac_ext=c
74284 ac_cpp='$CPP $CPPFLAGS'
74285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74288
74289
74290 fi
74291
74292 fi
74293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
74294 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
74295
74296 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
74297 for ac_func in isinff
74298 do :
74299 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
74300 if test "x$ac_cv_func_isinff" = xyes; then :
74301 cat >>confdefs.h <<_ACEOF
74302 #define HAVE_ISINFF 1
74303 _ACEOF
74304
74305 fi
74306 done
74307
74308 else
74309
74310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74311 $as_echo_n "checking for _isinff declaration... " >&6; }
74312 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74313 if ${glibcxx_cv_func__isinff_use+:} false; then :
74314 $as_echo_n "(cached) " >&6
74315 else
74316
74317
74318 ac_ext=cpp
74319 ac_cpp='$CXXCPP $CPPFLAGS'
74320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74323
74324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74325 /* end confdefs.h. */
74326 #include <math.h>
74327 #ifdef HAVE_IEEEFP_H
74328 #include <ieeefp.h>
74329 #endif
74330
74331 int
74332 main ()
74333 {
74334 _isinff(0);
74335 ;
74336 return 0;
74337 }
74338 _ACEOF
74339 if ac_fn_cxx_try_compile "$LINENO"; then :
74340 glibcxx_cv_func__isinff_use=yes
74341 else
74342 glibcxx_cv_func__isinff_use=no
74343 fi
74344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74345 ac_ext=c
74346 ac_cpp='$CPP $CPPFLAGS'
74347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74350
74351
74352 fi
74353
74354 fi
74355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74356 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74357
74358 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74359 for ac_func in _isinff
74360 do :
74361 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74362 if test "x$ac_cv_func__isinff" = xyes; then :
74363 cat >>confdefs.h <<_ACEOF
74364 #define HAVE__ISINFF 1
74365 _ACEOF
74366
74367 fi
74368 done
74369
74370 fi
74371 fi
74372
74373
74374
74375
74376
74377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74378 $as_echo_n "checking for atan2f declaration... " >&6; }
74379 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74380 if ${glibcxx_cv_func_atan2f_use+:} false; then :
74381 $as_echo_n "(cached) " >&6
74382 else
74383
74384
74385 ac_ext=cpp
74386 ac_cpp='$CXXCPP $CPPFLAGS'
74387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74390
74391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74392 /* end confdefs.h. */
74393 #include <math.h>
74394 int
74395 main ()
74396 {
74397 atan2f(0, 0);
74398 ;
74399 return 0;
74400 }
74401 _ACEOF
74402 if ac_fn_cxx_try_compile "$LINENO"; then :
74403 glibcxx_cv_func_atan2f_use=yes
74404 else
74405 glibcxx_cv_func_atan2f_use=no
74406 fi
74407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74408 ac_ext=c
74409 ac_cpp='$CPP $CPPFLAGS'
74410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74413
74414
74415 fi
74416
74417 fi
74418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74419 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74420
74421 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74422 for ac_func in atan2f
74423 do :
74424 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74425 if test "x$ac_cv_func_atan2f" = xyes; then :
74426 cat >>confdefs.h <<_ACEOF
74427 #define HAVE_ATAN2F 1
74428 _ACEOF
74429
74430 fi
74431 done
74432
74433 else
74434
74435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74436 $as_echo_n "checking for _atan2f declaration... " >&6; }
74437 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74438 if ${glibcxx_cv_func__atan2f_use+:} false; then :
74439 $as_echo_n "(cached) " >&6
74440 else
74441
74442
74443 ac_ext=cpp
74444 ac_cpp='$CXXCPP $CPPFLAGS'
74445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74448
74449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74450 /* end confdefs.h. */
74451 #include <math.h>
74452 int
74453 main ()
74454 {
74455 _atan2f(0, 0);
74456 ;
74457 return 0;
74458 }
74459 _ACEOF
74460 if ac_fn_cxx_try_compile "$LINENO"; then :
74461 glibcxx_cv_func__atan2f_use=yes
74462 else
74463 glibcxx_cv_func__atan2f_use=no
74464 fi
74465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74466 ac_ext=c
74467 ac_cpp='$CPP $CPPFLAGS'
74468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74471
74472
74473 fi
74474
74475 fi
74476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74477 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74478
74479 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74480 for ac_func in _atan2f
74481 do :
74482 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74483 if test "x$ac_cv_func__atan2f" = xyes; then :
74484 cat >>confdefs.h <<_ACEOF
74485 #define HAVE__ATAN2F 1
74486 _ACEOF
74487
74488 fi
74489 done
74490
74491 fi
74492 fi
74493
74494
74495
74496
74497
74498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74499 $as_echo_n "checking for fabsf declaration... " >&6; }
74500 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74501 if ${glibcxx_cv_func_fabsf_use+:} false; then :
74502 $as_echo_n "(cached) " >&6
74503 else
74504
74505
74506 ac_ext=cpp
74507 ac_cpp='$CXXCPP $CPPFLAGS'
74508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74511
74512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74513 /* end confdefs.h. */
74514 #include <math.h>
74515 #ifdef HAVE_IEEEFP_H
74516 #include <ieeefp.h>
74517 #endif
74518
74519 int
74520 main ()
74521 {
74522 fabsf(0);
74523 ;
74524 return 0;
74525 }
74526 _ACEOF
74527 if ac_fn_cxx_try_compile "$LINENO"; then :
74528 glibcxx_cv_func_fabsf_use=yes
74529 else
74530 glibcxx_cv_func_fabsf_use=no
74531 fi
74532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74533 ac_ext=c
74534 ac_cpp='$CPP $CPPFLAGS'
74535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74538
74539
74540 fi
74541
74542 fi
74543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74544 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74545
74546 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74547 for ac_func in fabsf
74548 do :
74549 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74550 if test "x$ac_cv_func_fabsf" = xyes; then :
74551 cat >>confdefs.h <<_ACEOF
74552 #define HAVE_FABSF 1
74553 _ACEOF
74554
74555 fi
74556 done
74557
74558 else
74559
74560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74561 $as_echo_n "checking for _fabsf declaration... " >&6; }
74562 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74563 if ${glibcxx_cv_func__fabsf_use+:} false; then :
74564 $as_echo_n "(cached) " >&6
74565 else
74566
74567
74568 ac_ext=cpp
74569 ac_cpp='$CXXCPP $CPPFLAGS'
74570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74573
74574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74575 /* end confdefs.h. */
74576 #include <math.h>
74577 #ifdef HAVE_IEEEFP_H
74578 #include <ieeefp.h>
74579 #endif
74580
74581 int
74582 main ()
74583 {
74584 _fabsf(0);
74585 ;
74586 return 0;
74587 }
74588 _ACEOF
74589 if ac_fn_cxx_try_compile "$LINENO"; then :
74590 glibcxx_cv_func__fabsf_use=yes
74591 else
74592 glibcxx_cv_func__fabsf_use=no
74593 fi
74594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74595 ac_ext=c
74596 ac_cpp='$CPP $CPPFLAGS'
74597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74600
74601
74602 fi
74603
74604 fi
74605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74606 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74607
74608 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74609 for ac_func in _fabsf
74610 do :
74611 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74612 if test "x$ac_cv_func__fabsf" = xyes; then :
74613 cat >>confdefs.h <<_ACEOF
74614 #define HAVE__FABSF 1
74615 _ACEOF
74616
74617 fi
74618 done
74619
74620 fi
74621 fi
74622
74623
74624
74625
74626
74627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74628 $as_echo_n "checking for fmodf declaration... " >&6; }
74629 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74630 if ${glibcxx_cv_func_fmodf_use+:} false; then :
74631 $as_echo_n "(cached) " >&6
74632 else
74633
74634
74635 ac_ext=cpp
74636 ac_cpp='$CXXCPP $CPPFLAGS'
74637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74640
74641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74642 /* end confdefs.h. */
74643 #include <math.h>
74644 int
74645 main ()
74646 {
74647 fmodf(0, 0);
74648 ;
74649 return 0;
74650 }
74651 _ACEOF
74652 if ac_fn_cxx_try_compile "$LINENO"; then :
74653 glibcxx_cv_func_fmodf_use=yes
74654 else
74655 glibcxx_cv_func_fmodf_use=no
74656 fi
74657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74658 ac_ext=c
74659 ac_cpp='$CPP $CPPFLAGS'
74660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74663
74664
74665 fi
74666
74667 fi
74668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74669 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74670
74671 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74672 for ac_func in fmodf
74673 do :
74674 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74675 if test "x$ac_cv_func_fmodf" = xyes; then :
74676 cat >>confdefs.h <<_ACEOF
74677 #define HAVE_FMODF 1
74678 _ACEOF
74679
74680 fi
74681 done
74682
74683 else
74684
74685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74686 $as_echo_n "checking for _fmodf declaration... " >&6; }
74687 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74688 if ${glibcxx_cv_func__fmodf_use+:} false; then :
74689 $as_echo_n "(cached) " >&6
74690 else
74691
74692
74693 ac_ext=cpp
74694 ac_cpp='$CXXCPP $CPPFLAGS'
74695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74698
74699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74700 /* end confdefs.h. */
74701 #include <math.h>
74702 int
74703 main ()
74704 {
74705 _fmodf(0, 0);
74706 ;
74707 return 0;
74708 }
74709 _ACEOF
74710 if ac_fn_cxx_try_compile "$LINENO"; then :
74711 glibcxx_cv_func__fmodf_use=yes
74712 else
74713 glibcxx_cv_func__fmodf_use=no
74714 fi
74715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74716 ac_ext=c
74717 ac_cpp='$CPP $CPPFLAGS'
74718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74721
74722
74723 fi
74724
74725 fi
74726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74727 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74728
74729 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74730 for ac_func in _fmodf
74731 do :
74732 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74733 if test "x$ac_cv_func__fmodf" = xyes; then :
74734 cat >>confdefs.h <<_ACEOF
74735 #define HAVE__FMODF 1
74736 _ACEOF
74737
74738 fi
74739 done
74740
74741 fi
74742 fi
74743
74744
74745
74746
74747
74748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74749 $as_echo_n "checking for frexpf declaration... " >&6; }
74750 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74751 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74752 $as_echo_n "(cached) " >&6
74753 else
74754
74755
74756 ac_ext=cpp
74757 ac_cpp='$CXXCPP $CPPFLAGS'
74758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74761
74762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74763 /* end confdefs.h. */
74764 #include <math.h>
74765 int
74766 main ()
74767 {
74768 frexpf(0, 0);
74769 ;
74770 return 0;
74771 }
74772 _ACEOF
74773 if ac_fn_cxx_try_compile "$LINENO"; then :
74774 glibcxx_cv_func_frexpf_use=yes
74775 else
74776 glibcxx_cv_func_frexpf_use=no
74777 fi
74778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74779 ac_ext=c
74780 ac_cpp='$CPP $CPPFLAGS'
74781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74784
74785
74786 fi
74787
74788 fi
74789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74790 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74791
74792 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74793 for ac_func in frexpf
74794 do :
74795 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74796 if test "x$ac_cv_func_frexpf" = xyes; then :
74797 cat >>confdefs.h <<_ACEOF
74798 #define HAVE_FREXPF 1
74799 _ACEOF
74800
74801 fi
74802 done
74803
74804 else
74805
74806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74807 $as_echo_n "checking for _frexpf declaration... " >&6; }
74808 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74809 if ${glibcxx_cv_func__frexpf_use+:} false; then :
74810 $as_echo_n "(cached) " >&6
74811 else
74812
74813
74814 ac_ext=cpp
74815 ac_cpp='$CXXCPP $CPPFLAGS'
74816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74819
74820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74821 /* end confdefs.h. */
74822 #include <math.h>
74823 int
74824 main ()
74825 {
74826 _frexpf(0, 0);
74827 ;
74828 return 0;
74829 }
74830 _ACEOF
74831 if ac_fn_cxx_try_compile "$LINENO"; then :
74832 glibcxx_cv_func__frexpf_use=yes
74833 else
74834 glibcxx_cv_func__frexpf_use=no
74835 fi
74836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74837 ac_ext=c
74838 ac_cpp='$CPP $CPPFLAGS'
74839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74842
74843
74844 fi
74845
74846 fi
74847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74848 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74849
74850 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74851 for ac_func in _frexpf
74852 do :
74853 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74854 if test "x$ac_cv_func__frexpf" = xyes; then :
74855 cat >>confdefs.h <<_ACEOF
74856 #define HAVE__FREXPF 1
74857 _ACEOF
74858
74859 fi
74860 done
74861
74862 fi
74863 fi
74864
74865
74866
74867
74868
74869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74870 $as_echo_n "checking for hypotf declaration... " >&6; }
74871 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74872 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74873 $as_echo_n "(cached) " >&6
74874 else
74875
74876
74877 ac_ext=cpp
74878 ac_cpp='$CXXCPP $CPPFLAGS'
74879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74882
74883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74884 /* end confdefs.h. */
74885 #include <math.h>
74886 int
74887 main ()
74888 {
74889 hypotf(0, 0);
74890 ;
74891 return 0;
74892 }
74893 _ACEOF
74894 if ac_fn_cxx_try_compile "$LINENO"; then :
74895 glibcxx_cv_func_hypotf_use=yes
74896 else
74897 glibcxx_cv_func_hypotf_use=no
74898 fi
74899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74900 ac_ext=c
74901 ac_cpp='$CPP $CPPFLAGS'
74902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74905
74906
74907 fi
74908
74909 fi
74910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74911 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74912
74913 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74914 for ac_func in hypotf
74915 do :
74916 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74917 if test "x$ac_cv_func_hypotf" = xyes; then :
74918 cat >>confdefs.h <<_ACEOF
74919 #define HAVE_HYPOTF 1
74920 _ACEOF
74921
74922 fi
74923 done
74924
74925 else
74926
74927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74928 $as_echo_n "checking for _hypotf declaration... " >&6; }
74929 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74930 if ${glibcxx_cv_func__hypotf_use+:} false; then :
74931 $as_echo_n "(cached) " >&6
74932 else
74933
74934
74935 ac_ext=cpp
74936 ac_cpp='$CXXCPP $CPPFLAGS'
74937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74940
74941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74942 /* end confdefs.h. */
74943 #include <math.h>
74944 int
74945 main ()
74946 {
74947 _hypotf(0, 0);
74948 ;
74949 return 0;
74950 }
74951 _ACEOF
74952 if ac_fn_cxx_try_compile "$LINENO"; then :
74953 glibcxx_cv_func__hypotf_use=yes
74954 else
74955 glibcxx_cv_func__hypotf_use=no
74956 fi
74957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74958 ac_ext=c
74959 ac_cpp='$CPP $CPPFLAGS'
74960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74963
74964
74965 fi
74966
74967 fi
74968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74969 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74970
74971 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74972 for ac_func in _hypotf
74973 do :
74974 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74975 if test "x$ac_cv_func__hypotf" = xyes; then :
74976 cat >>confdefs.h <<_ACEOF
74977 #define HAVE__HYPOTF 1
74978 _ACEOF
74979
74980 fi
74981 done
74982
74983 fi
74984 fi
74985
74986
74987
74988
74989
74990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74991 $as_echo_n "checking for ldexpf declaration... " >&6; }
74992 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74993 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
74994 $as_echo_n "(cached) " >&6
74995 else
74996
74997
74998 ac_ext=cpp
74999 ac_cpp='$CXXCPP $CPPFLAGS'
75000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75003
75004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75005 /* end confdefs.h. */
75006 #include <math.h>
75007 int
75008 main ()
75009 {
75010 ldexpf(0, 0);
75011 ;
75012 return 0;
75013 }
75014 _ACEOF
75015 if ac_fn_cxx_try_compile "$LINENO"; then :
75016 glibcxx_cv_func_ldexpf_use=yes
75017 else
75018 glibcxx_cv_func_ldexpf_use=no
75019 fi
75020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75021 ac_ext=c
75022 ac_cpp='$CPP $CPPFLAGS'
75023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75026
75027
75028 fi
75029
75030 fi
75031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
75032 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
75033
75034 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
75035 for ac_func in ldexpf
75036 do :
75037 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
75038 if test "x$ac_cv_func_ldexpf" = xyes; then :
75039 cat >>confdefs.h <<_ACEOF
75040 #define HAVE_LDEXPF 1
75041 _ACEOF
75042
75043 fi
75044 done
75045
75046 else
75047
75048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
75049 $as_echo_n "checking for _ldexpf declaration... " >&6; }
75050 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
75051 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
75052 $as_echo_n "(cached) " >&6
75053 else
75054
75055
75056 ac_ext=cpp
75057 ac_cpp='$CXXCPP $CPPFLAGS'
75058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75061
75062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75063 /* end confdefs.h. */
75064 #include <math.h>
75065 int
75066 main ()
75067 {
75068 _ldexpf(0, 0);
75069 ;
75070 return 0;
75071 }
75072 _ACEOF
75073 if ac_fn_cxx_try_compile "$LINENO"; then :
75074 glibcxx_cv_func__ldexpf_use=yes
75075 else
75076 glibcxx_cv_func__ldexpf_use=no
75077 fi
75078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75079 ac_ext=c
75080 ac_cpp='$CPP $CPPFLAGS'
75081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75084
75085
75086 fi
75087
75088 fi
75089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
75090 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
75091
75092 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
75093 for ac_func in _ldexpf
75094 do :
75095 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
75096 if test "x$ac_cv_func__ldexpf" = xyes; then :
75097 cat >>confdefs.h <<_ACEOF
75098 #define HAVE__LDEXPF 1
75099 _ACEOF
75100
75101 fi
75102 done
75103
75104 fi
75105 fi
75106
75107
75108
75109
75110
75111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
75112 $as_echo_n "checking for logf declaration... " >&6; }
75113 if test x${glibcxx_cv_func_logf_use+set} != xset; then
75114 if ${glibcxx_cv_func_logf_use+:} false; then :
75115 $as_echo_n "(cached) " >&6
75116 else
75117
75118
75119 ac_ext=cpp
75120 ac_cpp='$CXXCPP $CPPFLAGS'
75121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75124
75125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75126 /* end confdefs.h. */
75127 #include <math.h>
75128 #ifdef HAVE_IEEEFP_H
75129 #include <ieeefp.h>
75130 #endif
75131
75132 int
75133 main ()
75134 {
75135 logf(0);
75136 ;
75137 return 0;
75138 }
75139 _ACEOF
75140 if ac_fn_cxx_try_compile "$LINENO"; then :
75141 glibcxx_cv_func_logf_use=yes
75142 else
75143 glibcxx_cv_func_logf_use=no
75144 fi
75145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75146 ac_ext=c
75147 ac_cpp='$CPP $CPPFLAGS'
75148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75151
75152
75153 fi
75154
75155 fi
75156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
75157 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
75158
75159 if test x$glibcxx_cv_func_logf_use = x"yes"; then
75160 for ac_func in logf
75161 do :
75162 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
75163 if test "x$ac_cv_func_logf" = xyes; then :
75164 cat >>confdefs.h <<_ACEOF
75165 #define HAVE_LOGF 1
75166 _ACEOF
75167
75168 fi
75169 done
75170
75171 else
75172
75173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
75174 $as_echo_n "checking for _logf declaration... " >&6; }
75175 if test x${glibcxx_cv_func__logf_use+set} != xset; then
75176 if ${glibcxx_cv_func__logf_use+:} false; then :
75177 $as_echo_n "(cached) " >&6
75178 else
75179
75180
75181 ac_ext=cpp
75182 ac_cpp='$CXXCPP $CPPFLAGS'
75183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75186
75187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75188 /* end confdefs.h. */
75189 #include <math.h>
75190 #ifdef HAVE_IEEEFP_H
75191 #include <ieeefp.h>
75192 #endif
75193
75194 int
75195 main ()
75196 {
75197 _logf(0);
75198 ;
75199 return 0;
75200 }
75201 _ACEOF
75202 if ac_fn_cxx_try_compile "$LINENO"; then :
75203 glibcxx_cv_func__logf_use=yes
75204 else
75205 glibcxx_cv_func__logf_use=no
75206 fi
75207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75208 ac_ext=c
75209 ac_cpp='$CPP $CPPFLAGS'
75210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75213
75214
75215 fi
75216
75217 fi
75218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
75219 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
75220
75221 if test x$glibcxx_cv_func__logf_use = x"yes"; then
75222 for ac_func in _logf
75223 do :
75224 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
75225 if test "x$ac_cv_func__logf" = xyes; then :
75226 cat >>confdefs.h <<_ACEOF
75227 #define HAVE__LOGF 1
75228 _ACEOF
75229
75230 fi
75231 done
75232
75233 fi
75234 fi
75235
75236
75237
75238
75239
75240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
75241 $as_echo_n "checking for log10f declaration... " >&6; }
75242 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
75243 if ${glibcxx_cv_func_log10f_use+:} false; then :
75244 $as_echo_n "(cached) " >&6
75245 else
75246
75247
75248 ac_ext=cpp
75249 ac_cpp='$CXXCPP $CPPFLAGS'
75250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75253
75254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75255 /* end confdefs.h. */
75256 #include <math.h>
75257 #ifdef HAVE_IEEEFP_H
75258 #include <ieeefp.h>
75259 #endif
75260
75261 int
75262 main ()
75263 {
75264 log10f(0);
75265 ;
75266 return 0;
75267 }
75268 _ACEOF
75269 if ac_fn_cxx_try_compile "$LINENO"; then :
75270 glibcxx_cv_func_log10f_use=yes
75271 else
75272 glibcxx_cv_func_log10f_use=no
75273 fi
75274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75275 ac_ext=c
75276 ac_cpp='$CPP $CPPFLAGS'
75277 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75278 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75279 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75280
75281
75282 fi
75283
75284 fi
75285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
75286 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
75287
75288 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
75289 for ac_func in log10f
75290 do :
75291 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
75292 if test "x$ac_cv_func_log10f" = xyes; then :
75293 cat >>confdefs.h <<_ACEOF
75294 #define HAVE_LOG10F 1
75295 _ACEOF
75296
75297 fi
75298 done
75299
75300 else
75301
75302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
75303 $as_echo_n "checking for _log10f declaration... " >&6; }
75304 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75305 if ${glibcxx_cv_func__log10f_use+:} false; then :
75306 $as_echo_n "(cached) " >&6
75307 else
75308
75309
75310 ac_ext=cpp
75311 ac_cpp='$CXXCPP $CPPFLAGS'
75312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75315
75316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75317 /* end confdefs.h. */
75318 #include <math.h>
75319 #ifdef HAVE_IEEEFP_H
75320 #include <ieeefp.h>
75321 #endif
75322
75323 int
75324 main ()
75325 {
75326 _log10f(0);
75327 ;
75328 return 0;
75329 }
75330 _ACEOF
75331 if ac_fn_cxx_try_compile "$LINENO"; then :
75332 glibcxx_cv_func__log10f_use=yes
75333 else
75334 glibcxx_cv_func__log10f_use=no
75335 fi
75336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75337 ac_ext=c
75338 ac_cpp='$CPP $CPPFLAGS'
75339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75342
75343
75344 fi
75345
75346 fi
75347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75348 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75349
75350 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75351 for ac_func in _log10f
75352 do :
75353 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75354 if test "x$ac_cv_func__log10f" = xyes; then :
75355 cat >>confdefs.h <<_ACEOF
75356 #define HAVE__LOG10F 1
75357 _ACEOF
75358
75359 fi
75360 done
75361
75362 fi
75363 fi
75364
75365
75366
75367
75368
75369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75370 $as_echo_n "checking for modff declaration... " >&6; }
75371 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75372 if ${glibcxx_cv_func_modff_use+:} false; then :
75373 $as_echo_n "(cached) " >&6
75374 else
75375
75376
75377 ac_ext=cpp
75378 ac_cpp='$CXXCPP $CPPFLAGS'
75379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75382
75383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75384 /* end confdefs.h. */
75385 #include <math.h>
75386 int
75387 main ()
75388 {
75389 modff(0, 0);
75390 ;
75391 return 0;
75392 }
75393 _ACEOF
75394 if ac_fn_cxx_try_compile "$LINENO"; then :
75395 glibcxx_cv_func_modff_use=yes
75396 else
75397 glibcxx_cv_func_modff_use=no
75398 fi
75399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75400 ac_ext=c
75401 ac_cpp='$CPP $CPPFLAGS'
75402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75405
75406
75407 fi
75408
75409 fi
75410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75411 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75412
75413 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75414 for ac_func in modff
75415 do :
75416 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75417 if test "x$ac_cv_func_modff" = xyes; then :
75418 cat >>confdefs.h <<_ACEOF
75419 #define HAVE_MODFF 1
75420 _ACEOF
75421
75422 fi
75423 done
75424
75425 else
75426
75427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75428 $as_echo_n "checking for _modff declaration... " >&6; }
75429 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75430 if ${glibcxx_cv_func__modff_use+:} false; then :
75431 $as_echo_n "(cached) " >&6
75432 else
75433
75434
75435 ac_ext=cpp
75436 ac_cpp='$CXXCPP $CPPFLAGS'
75437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75440
75441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75442 /* end confdefs.h. */
75443 #include <math.h>
75444 int
75445 main ()
75446 {
75447 _modff(0, 0);
75448 ;
75449 return 0;
75450 }
75451 _ACEOF
75452 if ac_fn_cxx_try_compile "$LINENO"; then :
75453 glibcxx_cv_func__modff_use=yes
75454 else
75455 glibcxx_cv_func__modff_use=no
75456 fi
75457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75458 ac_ext=c
75459 ac_cpp='$CPP $CPPFLAGS'
75460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75463
75464
75465 fi
75466
75467 fi
75468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75469 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75470
75471 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75472 for ac_func in _modff
75473 do :
75474 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75475 if test "x$ac_cv_func__modff" = xyes; then :
75476 cat >>confdefs.h <<_ACEOF
75477 #define HAVE__MODFF 1
75478 _ACEOF
75479
75480 fi
75481 done
75482
75483 fi
75484 fi
75485
75486
75487
75488
75489
75490 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75491 $as_echo_n "checking for modf declaration... " >&6; }
75492 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75493 if ${glibcxx_cv_func_modf_use+:} false; then :
75494 $as_echo_n "(cached) " >&6
75495 else
75496
75497
75498 ac_ext=cpp
75499 ac_cpp='$CXXCPP $CPPFLAGS'
75500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75503
75504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75505 /* end confdefs.h. */
75506 #include <math.h>
75507 int
75508 main ()
75509 {
75510 modf(0, 0);
75511 ;
75512 return 0;
75513 }
75514 _ACEOF
75515 if ac_fn_cxx_try_compile "$LINENO"; then :
75516 glibcxx_cv_func_modf_use=yes
75517 else
75518 glibcxx_cv_func_modf_use=no
75519 fi
75520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75521 ac_ext=c
75522 ac_cpp='$CPP $CPPFLAGS'
75523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75526
75527
75528 fi
75529
75530 fi
75531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75532 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75533
75534 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75535 for ac_func in modf
75536 do :
75537 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75538 if test "x$ac_cv_func_modf" = xyes; then :
75539 cat >>confdefs.h <<_ACEOF
75540 #define HAVE_MODF 1
75541 _ACEOF
75542
75543 fi
75544 done
75545
75546 else
75547
75548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75549 $as_echo_n "checking for _modf declaration... " >&6; }
75550 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75551 if ${glibcxx_cv_func__modf_use+:} false; then :
75552 $as_echo_n "(cached) " >&6
75553 else
75554
75555
75556 ac_ext=cpp
75557 ac_cpp='$CXXCPP $CPPFLAGS'
75558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75561
75562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75563 /* end confdefs.h. */
75564 #include <math.h>
75565 int
75566 main ()
75567 {
75568 _modf(0, 0);
75569 ;
75570 return 0;
75571 }
75572 _ACEOF
75573 if ac_fn_cxx_try_compile "$LINENO"; then :
75574 glibcxx_cv_func__modf_use=yes
75575 else
75576 glibcxx_cv_func__modf_use=no
75577 fi
75578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75579 ac_ext=c
75580 ac_cpp='$CPP $CPPFLAGS'
75581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75584
75585
75586 fi
75587
75588 fi
75589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75590 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75591
75592 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75593 for ac_func in _modf
75594 do :
75595 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75596 if test "x$ac_cv_func__modf" = xyes; then :
75597 cat >>confdefs.h <<_ACEOF
75598 #define HAVE__MODF 1
75599 _ACEOF
75600
75601 fi
75602 done
75603
75604 fi
75605 fi
75606
75607
75608
75609
75610
75611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75612 $as_echo_n "checking for powf declaration... " >&6; }
75613 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75614 if ${glibcxx_cv_func_powf_use+:} false; then :
75615 $as_echo_n "(cached) " >&6
75616 else
75617
75618
75619 ac_ext=cpp
75620 ac_cpp='$CXXCPP $CPPFLAGS'
75621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75624
75625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75626 /* end confdefs.h. */
75627 #include <math.h>
75628 int
75629 main ()
75630 {
75631 powf(0, 0);
75632 ;
75633 return 0;
75634 }
75635 _ACEOF
75636 if ac_fn_cxx_try_compile "$LINENO"; then :
75637 glibcxx_cv_func_powf_use=yes
75638 else
75639 glibcxx_cv_func_powf_use=no
75640 fi
75641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75642 ac_ext=c
75643 ac_cpp='$CPP $CPPFLAGS'
75644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75647
75648
75649 fi
75650
75651 fi
75652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75653 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75654
75655 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75656 for ac_func in powf
75657 do :
75658 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75659 if test "x$ac_cv_func_powf" = xyes; then :
75660 cat >>confdefs.h <<_ACEOF
75661 #define HAVE_POWF 1
75662 _ACEOF
75663
75664 fi
75665 done
75666
75667 else
75668
75669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75670 $as_echo_n "checking for _powf declaration... " >&6; }
75671 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75672 if ${glibcxx_cv_func__powf_use+:} false; then :
75673 $as_echo_n "(cached) " >&6
75674 else
75675
75676
75677 ac_ext=cpp
75678 ac_cpp='$CXXCPP $CPPFLAGS'
75679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75682
75683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75684 /* end confdefs.h. */
75685 #include <math.h>
75686 int
75687 main ()
75688 {
75689 _powf(0, 0);
75690 ;
75691 return 0;
75692 }
75693 _ACEOF
75694 if ac_fn_cxx_try_compile "$LINENO"; then :
75695 glibcxx_cv_func__powf_use=yes
75696 else
75697 glibcxx_cv_func__powf_use=no
75698 fi
75699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75700 ac_ext=c
75701 ac_cpp='$CPP $CPPFLAGS'
75702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75705
75706
75707 fi
75708
75709 fi
75710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75711 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75712
75713 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75714 for ac_func in _powf
75715 do :
75716 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75717 if test "x$ac_cv_func__powf" = xyes; then :
75718 cat >>confdefs.h <<_ACEOF
75719 #define HAVE__POWF 1
75720 _ACEOF
75721
75722 fi
75723 done
75724
75725 fi
75726 fi
75727
75728
75729
75730
75731
75732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75733 $as_echo_n "checking for sqrtf declaration... " >&6; }
75734 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75735 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
75736 $as_echo_n "(cached) " >&6
75737 else
75738
75739
75740 ac_ext=cpp
75741 ac_cpp='$CXXCPP $CPPFLAGS'
75742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75745
75746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75747 /* end confdefs.h. */
75748 #include <math.h>
75749 #ifdef HAVE_IEEEFP_H
75750 #include <ieeefp.h>
75751 #endif
75752
75753 int
75754 main ()
75755 {
75756 sqrtf(0);
75757 ;
75758 return 0;
75759 }
75760 _ACEOF
75761 if ac_fn_cxx_try_compile "$LINENO"; then :
75762 glibcxx_cv_func_sqrtf_use=yes
75763 else
75764 glibcxx_cv_func_sqrtf_use=no
75765 fi
75766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75767 ac_ext=c
75768 ac_cpp='$CPP $CPPFLAGS'
75769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75772
75773
75774 fi
75775
75776 fi
75777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75778 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75779
75780 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75781 for ac_func in sqrtf
75782 do :
75783 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75784 if test "x$ac_cv_func_sqrtf" = xyes; then :
75785 cat >>confdefs.h <<_ACEOF
75786 #define HAVE_SQRTF 1
75787 _ACEOF
75788
75789 fi
75790 done
75791
75792 else
75793
75794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75795 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75796 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75797 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
75798 $as_echo_n "(cached) " >&6
75799 else
75800
75801
75802 ac_ext=cpp
75803 ac_cpp='$CXXCPP $CPPFLAGS'
75804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75807
75808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75809 /* end confdefs.h. */
75810 #include <math.h>
75811 #ifdef HAVE_IEEEFP_H
75812 #include <ieeefp.h>
75813 #endif
75814
75815 int
75816 main ()
75817 {
75818 _sqrtf(0);
75819 ;
75820 return 0;
75821 }
75822 _ACEOF
75823 if ac_fn_cxx_try_compile "$LINENO"; then :
75824 glibcxx_cv_func__sqrtf_use=yes
75825 else
75826 glibcxx_cv_func__sqrtf_use=no
75827 fi
75828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75829 ac_ext=c
75830 ac_cpp='$CPP $CPPFLAGS'
75831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75834
75835
75836 fi
75837
75838 fi
75839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75840 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75841
75842 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75843 for ac_func in _sqrtf
75844 do :
75845 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75846 if test "x$ac_cv_func__sqrtf" = xyes; then :
75847 cat >>confdefs.h <<_ACEOF
75848 #define HAVE__SQRTF 1
75849 _ACEOF
75850
75851 fi
75852 done
75853
75854 fi
75855 fi
75856
75857
75858
75859
75860
75861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75862 $as_echo_n "checking for sincosf declaration... " >&6; }
75863 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75864 if ${glibcxx_cv_func_sincosf_use+:} false; then :
75865 $as_echo_n "(cached) " >&6
75866 else
75867
75868
75869 ac_ext=cpp
75870 ac_cpp='$CXXCPP $CPPFLAGS'
75871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75874
75875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75876 /* end confdefs.h. */
75877 #include <math.h>
75878 int
75879 main ()
75880 {
75881 sincosf(0, 0, 0);
75882 ;
75883 return 0;
75884 }
75885 _ACEOF
75886 if ac_fn_cxx_try_compile "$LINENO"; then :
75887 glibcxx_cv_func_sincosf_use=yes
75888 else
75889 glibcxx_cv_func_sincosf_use=no
75890 fi
75891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75892 ac_ext=c
75893 ac_cpp='$CPP $CPPFLAGS'
75894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75897
75898
75899 fi
75900
75901 fi
75902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75903 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75904
75905 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75906 for ac_func in sincosf
75907 do :
75908 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75909 if test "x$ac_cv_func_sincosf" = xyes; then :
75910 cat >>confdefs.h <<_ACEOF
75911 #define HAVE_SINCOSF 1
75912 _ACEOF
75913
75914 fi
75915 done
75916
75917 else
75918
75919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75920 $as_echo_n "checking for _sincosf declaration... " >&6; }
75921 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75922 if ${glibcxx_cv_func__sincosf_use+:} false; then :
75923 $as_echo_n "(cached) " >&6
75924 else
75925
75926
75927 ac_ext=cpp
75928 ac_cpp='$CXXCPP $CPPFLAGS'
75929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75932
75933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75934 /* end confdefs.h. */
75935 #include <math.h>
75936 int
75937 main ()
75938 {
75939 _sincosf(0, 0, 0);
75940 ;
75941 return 0;
75942 }
75943 _ACEOF
75944 if ac_fn_cxx_try_compile "$LINENO"; then :
75945 glibcxx_cv_func__sincosf_use=yes
75946 else
75947 glibcxx_cv_func__sincosf_use=no
75948 fi
75949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75950 ac_ext=c
75951 ac_cpp='$CPP $CPPFLAGS'
75952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75955
75956
75957 fi
75958
75959 fi
75960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75961 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75962
75963 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75964 for ac_func in _sincosf
75965 do :
75966 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75967 if test "x$ac_cv_func__sincosf" = xyes; then :
75968 cat >>confdefs.h <<_ACEOF
75969 #define HAVE__SINCOSF 1
75970 _ACEOF
75971
75972 fi
75973 done
75974
75975 fi
75976 fi
75977
75978
75979
75980
75981
75982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75983 $as_echo_n "checking for finitef declaration... " >&6; }
75984 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75985 if ${glibcxx_cv_func_finitef_use+:} false; then :
75986 $as_echo_n "(cached) " >&6
75987 else
75988
75989
75990 ac_ext=cpp
75991 ac_cpp='$CXXCPP $CPPFLAGS'
75992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75995
75996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75997 /* end confdefs.h. */
75998 #include <math.h>
75999 #ifdef HAVE_IEEEFP_H
76000 #include <ieeefp.h>
76001 #endif
76002
76003 int
76004 main ()
76005 {
76006 finitef(0);
76007 ;
76008 return 0;
76009 }
76010 _ACEOF
76011 if ac_fn_cxx_try_compile "$LINENO"; then :
76012 glibcxx_cv_func_finitef_use=yes
76013 else
76014 glibcxx_cv_func_finitef_use=no
76015 fi
76016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76017 ac_ext=c
76018 ac_cpp='$CPP $CPPFLAGS'
76019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76022
76023
76024 fi
76025
76026 fi
76027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
76028 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
76029
76030 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
76031 for ac_func in finitef
76032 do :
76033 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
76034 if test "x$ac_cv_func_finitef" = xyes; then :
76035 cat >>confdefs.h <<_ACEOF
76036 #define HAVE_FINITEF 1
76037 _ACEOF
76038
76039 fi
76040 done
76041
76042 else
76043
76044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
76045 $as_echo_n "checking for _finitef declaration... " >&6; }
76046 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
76047 if ${glibcxx_cv_func__finitef_use+:} false; then :
76048 $as_echo_n "(cached) " >&6
76049 else
76050
76051
76052 ac_ext=cpp
76053 ac_cpp='$CXXCPP $CPPFLAGS'
76054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76057
76058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76059 /* end confdefs.h. */
76060 #include <math.h>
76061 #ifdef HAVE_IEEEFP_H
76062 #include <ieeefp.h>
76063 #endif
76064
76065 int
76066 main ()
76067 {
76068 _finitef(0);
76069 ;
76070 return 0;
76071 }
76072 _ACEOF
76073 if ac_fn_cxx_try_compile "$LINENO"; then :
76074 glibcxx_cv_func__finitef_use=yes
76075 else
76076 glibcxx_cv_func__finitef_use=no
76077 fi
76078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76079 ac_ext=c
76080 ac_cpp='$CPP $CPPFLAGS'
76081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76084
76085
76086 fi
76087
76088 fi
76089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
76090 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
76091
76092 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
76093 for ac_func in _finitef
76094 do :
76095 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
76096 if test "x$ac_cv_func__finitef" = xyes; then :
76097 cat >>confdefs.h <<_ACEOF
76098 #define HAVE__FINITEF 1
76099 _ACEOF
76100
76101 fi
76102 done
76103
76104 fi
76105 fi
76106
76107
76108
76109
76110
76111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
76112 $as_echo_n "checking for long double trig functions... " >&6; }
76113 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
76114 $as_echo_n "(cached) " >&6
76115 else
76116
76117
76118 ac_ext=cpp
76119 ac_cpp='$CXXCPP $CPPFLAGS'
76120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76123
76124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76125 /* end confdefs.h. */
76126 #include <math.h>
76127 int
76128 main ()
76129 {
76130 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
76131 ;
76132 return 0;
76133 }
76134 _ACEOF
76135 if ac_fn_cxx_try_compile "$LINENO"; then :
76136 glibcxx_cv_func_long_double_trig_use=yes
76137 else
76138 glibcxx_cv_func_long_double_trig_use=no
76139 fi
76140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76141 ac_ext=c
76142 ac_cpp='$CPP $CPPFLAGS'
76143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76146
76147 fi
76148
76149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
76150 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
76151 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
76152 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
76153 do :
76154 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76155 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76156 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76157 cat >>confdefs.h <<_ACEOF
76158 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76159 _ACEOF
76160
76161 fi
76162 done
76163
76164 else
76165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
76166 $as_echo_n "checking for _long double trig functions... " >&6; }
76167 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
76168 $as_echo_n "(cached) " >&6
76169 else
76170
76171
76172 ac_ext=cpp
76173 ac_cpp='$CXXCPP $CPPFLAGS'
76174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76177
76178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76179 /* end confdefs.h. */
76180 #include <math.h>
76181 int
76182 main ()
76183 {
76184 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
76185 ;
76186 return 0;
76187 }
76188 _ACEOF
76189 if ac_fn_cxx_try_compile "$LINENO"; then :
76190 glibcxx_cv_func__long_double_trig_use=yes
76191 else
76192 glibcxx_cv_func__long_double_trig_use=no
76193 fi
76194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76195 ac_ext=c
76196 ac_cpp='$CPP $CPPFLAGS'
76197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76200
76201 fi
76202
76203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
76204 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
76205 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
76206 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
76207 do :
76208 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76209 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76210 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76211 cat >>confdefs.h <<_ACEOF
76212 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76213 _ACEOF
76214
76215 fi
76216 done
76217
76218 fi
76219 fi
76220
76221
76222
76223
76224
76225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
76226 $as_echo_n "checking for long double round functions... " >&6; }
76227 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
76228 $as_echo_n "(cached) " >&6
76229 else
76230
76231
76232 ac_ext=cpp
76233 ac_cpp='$CXXCPP $CPPFLAGS'
76234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76237
76238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76239 /* end confdefs.h. */
76240 #include <math.h>
76241 int
76242 main ()
76243 {
76244 ceill (0); floorl (0);
76245 ;
76246 return 0;
76247 }
76248 _ACEOF
76249 if ac_fn_cxx_try_compile "$LINENO"; then :
76250 glibcxx_cv_func_long_double_round_use=yes
76251 else
76252 glibcxx_cv_func_long_double_round_use=no
76253 fi
76254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76255 ac_ext=c
76256 ac_cpp='$CPP $CPPFLAGS'
76257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76260
76261 fi
76262
76263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
76264 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
76265 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76266 for ac_func in ceill floorl
76267 do :
76268 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76269 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76270 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76271 cat >>confdefs.h <<_ACEOF
76272 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76273 _ACEOF
76274
76275 fi
76276 done
76277
76278 else
76279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
76280 $as_echo_n "checking for _long double round functions... " >&6; }
76281 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
76282 $as_echo_n "(cached) " >&6
76283 else
76284
76285
76286 ac_ext=cpp
76287 ac_cpp='$CXXCPP $CPPFLAGS'
76288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76291
76292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76293 /* end confdefs.h. */
76294 #include <math.h>
76295 int
76296 main ()
76297 {
76298 _ceill (0); _floorl (0);
76299 ;
76300 return 0;
76301 }
76302 _ACEOF
76303 if ac_fn_cxx_try_compile "$LINENO"; then :
76304 glibcxx_cv_func__long_double_round_use=yes
76305 else
76306 glibcxx_cv_func__long_double_round_use=no
76307 fi
76308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76309 ac_ext=c
76310 ac_cpp='$CPP $CPPFLAGS'
76311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76314
76315 fi
76316
76317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76318 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76319 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76320 for ac_func in _ceill _floorl
76321 do :
76322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76324 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76325 cat >>confdefs.h <<_ACEOF
76326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76327 _ACEOF
76328
76329 fi
76330 done
76331
76332 fi
76333 fi
76334
76335
76336
76337
76338
76339
76340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76341 $as_echo_n "checking for isnanl declaration... " >&6; }
76342 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76343 if ${glibcxx_cv_func_isnanl_use+:} false; then :
76344 $as_echo_n "(cached) " >&6
76345 else
76346
76347
76348 ac_ext=cpp
76349 ac_cpp='$CXXCPP $CPPFLAGS'
76350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76353
76354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76355 /* end confdefs.h. */
76356 #include <math.h>
76357 #ifdef HAVE_IEEEFP_H
76358 #include <ieeefp.h>
76359 #endif
76360
76361 int
76362 main ()
76363 {
76364 isnanl(0);
76365 ;
76366 return 0;
76367 }
76368 _ACEOF
76369 if ac_fn_cxx_try_compile "$LINENO"; then :
76370 glibcxx_cv_func_isnanl_use=yes
76371 else
76372 glibcxx_cv_func_isnanl_use=no
76373 fi
76374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76375 ac_ext=c
76376 ac_cpp='$CPP $CPPFLAGS'
76377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76380
76381
76382 fi
76383
76384 fi
76385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76386 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76387
76388 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76389 for ac_func in isnanl
76390 do :
76391 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76392 if test "x$ac_cv_func_isnanl" = xyes; then :
76393 cat >>confdefs.h <<_ACEOF
76394 #define HAVE_ISNANL 1
76395 _ACEOF
76396
76397 fi
76398 done
76399
76400 else
76401
76402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76403 $as_echo_n "checking for _isnanl declaration... " >&6; }
76404 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76405 if ${glibcxx_cv_func__isnanl_use+:} false; then :
76406 $as_echo_n "(cached) " >&6
76407 else
76408
76409
76410 ac_ext=cpp
76411 ac_cpp='$CXXCPP $CPPFLAGS'
76412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76415
76416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76417 /* end confdefs.h. */
76418 #include <math.h>
76419 #ifdef HAVE_IEEEFP_H
76420 #include <ieeefp.h>
76421 #endif
76422
76423 int
76424 main ()
76425 {
76426 _isnanl(0);
76427 ;
76428 return 0;
76429 }
76430 _ACEOF
76431 if ac_fn_cxx_try_compile "$LINENO"; then :
76432 glibcxx_cv_func__isnanl_use=yes
76433 else
76434 glibcxx_cv_func__isnanl_use=no
76435 fi
76436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76437 ac_ext=c
76438 ac_cpp='$CPP $CPPFLAGS'
76439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76442
76443
76444 fi
76445
76446 fi
76447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76448 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76449
76450 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76451 for ac_func in _isnanl
76452 do :
76453 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76454 if test "x$ac_cv_func__isnanl" = xyes; then :
76455 cat >>confdefs.h <<_ACEOF
76456 #define HAVE__ISNANL 1
76457 _ACEOF
76458
76459 fi
76460 done
76461
76462 fi
76463 fi
76464
76465
76466
76467
76468
76469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76470 $as_echo_n "checking for isinfl declaration... " >&6; }
76471 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76472 if ${glibcxx_cv_func_isinfl_use+:} false; then :
76473 $as_echo_n "(cached) " >&6
76474 else
76475
76476
76477 ac_ext=cpp
76478 ac_cpp='$CXXCPP $CPPFLAGS'
76479 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76480 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76481 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76482
76483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76484 /* end confdefs.h. */
76485 #include <math.h>
76486 #ifdef HAVE_IEEEFP_H
76487 #include <ieeefp.h>
76488 #endif
76489
76490 int
76491 main ()
76492 {
76493 isinfl(0);
76494 ;
76495 return 0;
76496 }
76497 _ACEOF
76498 if ac_fn_cxx_try_compile "$LINENO"; then :
76499 glibcxx_cv_func_isinfl_use=yes
76500 else
76501 glibcxx_cv_func_isinfl_use=no
76502 fi
76503 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76504 ac_ext=c
76505 ac_cpp='$CPP $CPPFLAGS'
76506 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76507 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76508 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76509
76510
76511 fi
76512
76513 fi
76514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76515 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76516
76517 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76518 for ac_func in isinfl
76519 do :
76520 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76521 if test "x$ac_cv_func_isinfl" = xyes; then :
76522 cat >>confdefs.h <<_ACEOF
76523 #define HAVE_ISINFL 1
76524 _ACEOF
76525
76526 fi
76527 done
76528
76529 else
76530
76531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76532 $as_echo_n "checking for _isinfl declaration... " >&6; }
76533 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76534 if ${glibcxx_cv_func__isinfl_use+:} false; then :
76535 $as_echo_n "(cached) " >&6
76536 else
76537
76538
76539 ac_ext=cpp
76540 ac_cpp='$CXXCPP $CPPFLAGS'
76541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76544
76545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76546 /* end confdefs.h. */
76547 #include <math.h>
76548 #ifdef HAVE_IEEEFP_H
76549 #include <ieeefp.h>
76550 #endif
76551
76552 int
76553 main ()
76554 {
76555 _isinfl(0);
76556 ;
76557 return 0;
76558 }
76559 _ACEOF
76560 if ac_fn_cxx_try_compile "$LINENO"; then :
76561 glibcxx_cv_func__isinfl_use=yes
76562 else
76563 glibcxx_cv_func__isinfl_use=no
76564 fi
76565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76566 ac_ext=c
76567 ac_cpp='$CPP $CPPFLAGS'
76568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76571
76572
76573 fi
76574
76575 fi
76576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76577 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76578
76579 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76580 for ac_func in _isinfl
76581 do :
76582 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76583 if test "x$ac_cv_func__isinfl" = xyes; then :
76584 cat >>confdefs.h <<_ACEOF
76585 #define HAVE__ISINFL 1
76586 _ACEOF
76587
76588 fi
76589 done
76590
76591 fi
76592 fi
76593
76594
76595
76596
76597
76598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76599 $as_echo_n "checking for atan2l declaration... " >&6; }
76600 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76601 if ${glibcxx_cv_func_atan2l_use+:} false; then :
76602 $as_echo_n "(cached) " >&6
76603 else
76604
76605
76606 ac_ext=cpp
76607 ac_cpp='$CXXCPP $CPPFLAGS'
76608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76611
76612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76613 /* end confdefs.h. */
76614 #include <math.h>
76615 int
76616 main ()
76617 {
76618 atan2l(0, 0);
76619 ;
76620 return 0;
76621 }
76622 _ACEOF
76623 if ac_fn_cxx_try_compile "$LINENO"; then :
76624 glibcxx_cv_func_atan2l_use=yes
76625 else
76626 glibcxx_cv_func_atan2l_use=no
76627 fi
76628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76629 ac_ext=c
76630 ac_cpp='$CPP $CPPFLAGS'
76631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76634
76635
76636 fi
76637
76638 fi
76639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76640 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76641
76642 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76643 for ac_func in atan2l
76644 do :
76645 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76646 if test "x$ac_cv_func_atan2l" = xyes; then :
76647 cat >>confdefs.h <<_ACEOF
76648 #define HAVE_ATAN2L 1
76649 _ACEOF
76650
76651 fi
76652 done
76653
76654 else
76655
76656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76657 $as_echo_n "checking for _atan2l declaration... " >&6; }
76658 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76659 if ${glibcxx_cv_func__atan2l_use+:} false; then :
76660 $as_echo_n "(cached) " >&6
76661 else
76662
76663
76664 ac_ext=cpp
76665 ac_cpp='$CXXCPP $CPPFLAGS'
76666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76669
76670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76671 /* end confdefs.h. */
76672 #include <math.h>
76673 int
76674 main ()
76675 {
76676 _atan2l(0, 0);
76677 ;
76678 return 0;
76679 }
76680 _ACEOF
76681 if ac_fn_cxx_try_compile "$LINENO"; then :
76682 glibcxx_cv_func__atan2l_use=yes
76683 else
76684 glibcxx_cv_func__atan2l_use=no
76685 fi
76686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76687 ac_ext=c
76688 ac_cpp='$CPP $CPPFLAGS'
76689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76692
76693
76694 fi
76695
76696 fi
76697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76698 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76699
76700 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76701 for ac_func in _atan2l
76702 do :
76703 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76704 if test "x$ac_cv_func__atan2l" = xyes; then :
76705 cat >>confdefs.h <<_ACEOF
76706 #define HAVE__ATAN2L 1
76707 _ACEOF
76708
76709 fi
76710 done
76711
76712 fi
76713 fi
76714
76715
76716
76717
76718
76719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76720 $as_echo_n "checking for expl declaration... " >&6; }
76721 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76722 if ${glibcxx_cv_func_expl_use+:} false; then :
76723 $as_echo_n "(cached) " >&6
76724 else
76725
76726
76727 ac_ext=cpp
76728 ac_cpp='$CXXCPP $CPPFLAGS'
76729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76732
76733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76734 /* end confdefs.h. */
76735 #include <math.h>
76736 #ifdef HAVE_IEEEFP_H
76737 #include <ieeefp.h>
76738 #endif
76739
76740 int
76741 main ()
76742 {
76743 expl(0);
76744 ;
76745 return 0;
76746 }
76747 _ACEOF
76748 if ac_fn_cxx_try_compile "$LINENO"; then :
76749 glibcxx_cv_func_expl_use=yes
76750 else
76751 glibcxx_cv_func_expl_use=no
76752 fi
76753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76754 ac_ext=c
76755 ac_cpp='$CPP $CPPFLAGS'
76756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76759
76760
76761 fi
76762
76763 fi
76764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76765 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76766
76767 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76768 for ac_func in expl
76769 do :
76770 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76771 if test "x$ac_cv_func_expl" = xyes; then :
76772 cat >>confdefs.h <<_ACEOF
76773 #define HAVE_EXPL 1
76774 _ACEOF
76775
76776 fi
76777 done
76778
76779 else
76780
76781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76782 $as_echo_n "checking for _expl declaration... " >&6; }
76783 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76784 if ${glibcxx_cv_func__expl_use+:} false; then :
76785 $as_echo_n "(cached) " >&6
76786 else
76787
76788
76789 ac_ext=cpp
76790 ac_cpp='$CXXCPP $CPPFLAGS'
76791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76794
76795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76796 /* end confdefs.h. */
76797 #include <math.h>
76798 #ifdef HAVE_IEEEFP_H
76799 #include <ieeefp.h>
76800 #endif
76801
76802 int
76803 main ()
76804 {
76805 _expl(0);
76806 ;
76807 return 0;
76808 }
76809 _ACEOF
76810 if ac_fn_cxx_try_compile "$LINENO"; then :
76811 glibcxx_cv_func__expl_use=yes
76812 else
76813 glibcxx_cv_func__expl_use=no
76814 fi
76815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76816 ac_ext=c
76817 ac_cpp='$CPP $CPPFLAGS'
76818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76821
76822
76823 fi
76824
76825 fi
76826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76827 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76828
76829 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76830 for ac_func in _expl
76831 do :
76832 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76833 if test "x$ac_cv_func__expl" = xyes; then :
76834 cat >>confdefs.h <<_ACEOF
76835 #define HAVE__EXPL 1
76836 _ACEOF
76837
76838 fi
76839 done
76840
76841 fi
76842 fi
76843
76844
76845
76846
76847
76848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76849 $as_echo_n "checking for fabsl declaration... " >&6; }
76850 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76851 if ${glibcxx_cv_func_fabsl_use+:} false; then :
76852 $as_echo_n "(cached) " >&6
76853 else
76854
76855
76856 ac_ext=cpp
76857 ac_cpp='$CXXCPP $CPPFLAGS'
76858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76861
76862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76863 /* end confdefs.h. */
76864 #include <math.h>
76865 #ifdef HAVE_IEEEFP_H
76866 #include <ieeefp.h>
76867 #endif
76868
76869 int
76870 main ()
76871 {
76872 fabsl(0);
76873 ;
76874 return 0;
76875 }
76876 _ACEOF
76877 if ac_fn_cxx_try_compile "$LINENO"; then :
76878 glibcxx_cv_func_fabsl_use=yes
76879 else
76880 glibcxx_cv_func_fabsl_use=no
76881 fi
76882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76883 ac_ext=c
76884 ac_cpp='$CPP $CPPFLAGS'
76885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76888
76889
76890 fi
76891
76892 fi
76893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76894 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76895
76896 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76897 for ac_func in fabsl
76898 do :
76899 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76900 if test "x$ac_cv_func_fabsl" = xyes; then :
76901 cat >>confdefs.h <<_ACEOF
76902 #define HAVE_FABSL 1
76903 _ACEOF
76904
76905 fi
76906 done
76907
76908 else
76909
76910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76911 $as_echo_n "checking for _fabsl declaration... " >&6; }
76912 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76913 if ${glibcxx_cv_func__fabsl_use+:} false; then :
76914 $as_echo_n "(cached) " >&6
76915 else
76916
76917
76918 ac_ext=cpp
76919 ac_cpp='$CXXCPP $CPPFLAGS'
76920 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76921 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76922 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76923
76924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76925 /* end confdefs.h. */
76926 #include <math.h>
76927 #ifdef HAVE_IEEEFP_H
76928 #include <ieeefp.h>
76929 #endif
76930
76931 int
76932 main ()
76933 {
76934 _fabsl(0);
76935 ;
76936 return 0;
76937 }
76938 _ACEOF
76939 if ac_fn_cxx_try_compile "$LINENO"; then :
76940 glibcxx_cv_func__fabsl_use=yes
76941 else
76942 glibcxx_cv_func__fabsl_use=no
76943 fi
76944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76945 ac_ext=c
76946 ac_cpp='$CPP $CPPFLAGS'
76947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76950
76951
76952 fi
76953
76954 fi
76955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76956 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76957
76958 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76959 for ac_func in _fabsl
76960 do :
76961 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76962 if test "x$ac_cv_func__fabsl" = xyes; then :
76963 cat >>confdefs.h <<_ACEOF
76964 #define HAVE__FABSL 1
76965 _ACEOF
76966
76967 fi
76968 done
76969
76970 fi
76971 fi
76972
76973
76974
76975
76976
76977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76978 $as_echo_n "checking for fmodl declaration... " >&6; }
76979 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76980 if ${glibcxx_cv_func_fmodl_use+:} false; then :
76981 $as_echo_n "(cached) " >&6
76982 else
76983
76984
76985 ac_ext=cpp
76986 ac_cpp='$CXXCPP $CPPFLAGS'
76987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76990
76991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76992 /* end confdefs.h. */
76993 #include <math.h>
76994 int
76995 main ()
76996 {
76997 fmodl(0, 0);
76998 ;
76999 return 0;
77000 }
77001 _ACEOF
77002 if ac_fn_cxx_try_compile "$LINENO"; then :
77003 glibcxx_cv_func_fmodl_use=yes
77004 else
77005 glibcxx_cv_func_fmodl_use=no
77006 fi
77007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77008 ac_ext=c
77009 ac_cpp='$CPP $CPPFLAGS'
77010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77013
77014
77015 fi
77016
77017 fi
77018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
77019 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
77020
77021 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77022 for ac_func in fmodl
77023 do :
77024 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
77025 if test "x$ac_cv_func_fmodl" = xyes; then :
77026 cat >>confdefs.h <<_ACEOF
77027 #define HAVE_FMODL 1
77028 _ACEOF
77029
77030 fi
77031 done
77032
77033 else
77034
77035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
77036 $as_echo_n "checking for _fmodl declaration... " >&6; }
77037 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77038 if ${glibcxx_cv_func__fmodl_use+:} false; then :
77039 $as_echo_n "(cached) " >&6
77040 else
77041
77042
77043 ac_ext=cpp
77044 ac_cpp='$CXXCPP $CPPFLAGS'
77045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77048
77049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77050 /* end confdefs.h. */
77051 #include <math.h>
77052 int
77053 main ()
77054 {
77055 _fmodl(0, 0);
77056 ;
77057 return 0;
77058 }
77059 _ACEOF
77060 if ac_fn_cxx_try_compile "$LINENO"; then :
77061 glibcxx_cv_func__fmodl_use=yes
77062 else
77063 glibcxx_cv_func__fmodl_use=no
77064 fi
77065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77066 ac_ext=c
77067 ac_cpp='$CPP $CPPFLAGS'
77068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77071
77072
77073 fi
77074
77075 fi
77076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
77077 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
77078
77079 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77080 for ac_func in _fmodl
77081 do :
77082 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
77083 if test "x$ac_cv_func__fmodl" = xyes; then :
77084 cat >>confdefs.h <<_ACEOF
77085 #define HAVE__FMODL 1
77086 _ACEOF
77087
77088 fi
77089 done
77090
77091 fi
77092 fi
77093
77094
77095
77096
77097
77098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
77099 $as_echo_n "checking for frexpl declaration... " >&6; }
77100 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77101 if ${glibcxx_cv_func_frexpl_use+:} false; then :
77102 $as_echo_n "(cached) " >&6
77103 else
77104
77105
77106 ac_ext=cpp
77107 ac_cpp='$CXXCPP $CPPFLAGS'
77108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77111
77112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77113 /* end confdefs.h. */
77114 #include <math.h>
77115 int
77116 main ()
77117 {
77118 frexpl(0, 0);
77119 ;
77120 return 0;
77121 }
77122 _ACEOF
77123 if ac_fn_cxx_try_compile "$LINENO"; then :
77124 glibcxx_cv_func_frexpl_use=yes
77125 else
77126 glibcxx_cv_func_frexpl_use=no
77127 fi
77128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77129 ac_ext=c
77130 ac_cpp='$CPP $CPPFLAGS'
77131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77134
77135
77136 fi
77137
77138 fi
77139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
77140 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
77141
77142 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77143 for ac_func in frexpl
77144 do :
77145 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
77146 if test "x$ac_cv_func_frexpl" = xyes; then :
77147 cat >>confdefs.h <<_ACEOF
77148 #define HAVE_FREXPL 1
77149 _ACEOF
77150
77151 fi
77152 done
77153
77154 else
77155
77156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
77157 $as_echo_n "checking for _frexpl declaration... " >&6; }
77158 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77159 if ${glibcxx_cv_func__frexpl_use+:} false; then :
77160 $as_echo_n "(cached) " >&6
77161 else
77162
77163
77164 ac_ext=cpp
77165 ac_cpp='$CXXCPP $CPPFLAGS'
77166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77169
77170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77171 /* end confdefs.h. */
77172 #include <math.h>
77173 int
77174 main ()
77175 {
77176 _frexpl(0, 0);
77177 ;
77178 return 0;
77179 }
77180 _ACEOF
77181 if ac_fn_cxx_try_compile "$LINENO"; then :
77182 glibcxx_cv_func__frexpl_use=yes
77183 else
77184 glibcxx_cv_func__frexpl_use=no
77185 fi
77186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77187 ac_ext=c
77188 ac_cpp='$CPP $CPPFLAGS'
77189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77192
77193
77194 fi
77195
77196 fi
77197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
77198 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
77199
77200 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77201 for ac_func in _frexpl
77202 do :
77203 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
77204 if test "x$ac_cv_func__frexpl" = xyes; then :
77205 cat >>confdefs.h <<_ACEOF
77206 #define HAVE__FREXPL 1
77207 _ACEOF
77208
77209 fi
77210 done
77211
77212 fi
77213 fi
77214
77215
77216
77217
77218
77219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
77220 $as_echo_n "checking for hypotl declaration... " >&6; }
77221 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77222 if ${glibcxx_cv_func_hypotl_use+:} false; then :
77223 $as_echo_n "(cached) " >&6
77224 else
77225
77226
77227 ac_ext=cpp
77228 ac_cpp='$CXXCPP $CPPFLAGS'
77229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77232
77233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77234 /* end confdefs.h. */
77235 #include <math.h>
77236 int
77237 main ()
77238 {
77239 hypotl(0, 0);
77240 ;
77241 return 0;
77242 }
77243 _ACEOF
77244 if ac_fn_cxx_try_compile "$LINENO"; then :
77245 glibcxx_cv_func_hypotl_use=yes
77246 else
77247 glibcxx_cv_func_hypotl_use=no
77248 fi
77249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77250 ac_ext=c
77251 ac_cpp='$CPP $CPPFLAGS'
77252 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77253 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77254 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77255
77256
77257 fi
77258
77259 fi
77260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
77261 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
77262
77263 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77264 for ac_func in hypotl
77265 do :
77266 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
77267 if test "x$ac_cv_func_hypotl" = xyes; then :
77268 cat >>confdefs.h <<_ACEOF
77269 #define HAVE_HYPOTL 1
77270 _ACEOF
77271
77272 fi
77273 done
77274
77275 else
77276
77277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
77278 $as_echo_n "checking for _hypotl declaration... " >&6; }
77279 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77280 if ${glibcxx_cv_func__hypotl_use+:} false; then :
77281 $as_echo_n "(cached) " >&6
77282 else
77283
77284
77285 ac_ext=cpp
77286 ac_cpp='$CXXCPP $CPPFLAGS'
77287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77290
77291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77292 /* end confdefs.h. */
77293 #include <math.h>
77294 int
77295 main ()
77296 {
77297 _hypotl(0, 0);
77298 ;
77299 return 0;
77300 }
77301 _ACEOF
77302 if ac_fn_cxx_try_compile "$LINENO"; then :
77303 glibcxx_cv_func__hypotl_use=yes
77304 else
77305 glibcxx_cv_func__hypotl_use=no
77306 fi
77307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77308 ac_ext=c
77309 ac_cpp='$CPP $CPPFLAGS'
77310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77313
77314
77315 fi
77316
77317 fi
77318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77319 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77320
77321 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77322 for ac_func in _hypotl
77323 do :
77324 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77325 if test "x$ac_cv_func__hypotl" = xyes; then :
77326 cat >>confdefs.h <<_ACEOF
77327 #define HAVE__HYPOTL 1
77328 _ACEOF
77329
77330 fi
77331 done
77332
77333 fi
77334 fi
77335
77336
77337
77338
77339
77340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77341 $as_echo_n "checking for ldexpl declaration... " >&6; }
77342 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77343 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
77344 $as_echo_n "(cached) " >&6
77345 else
77346
77347
77348 ac_ext=cpp
77349 ac_cpp='$CXXCPP $CPPFLAGS'
77350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77353
77354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77355 /* end confdefs.h. */
77356 #include <math.h>
77357 int
77358 main ()
77359 {
77360 ldexpl(0, 0);
77361 ;
77362 return 0;
77363 }
77364 _ACEOF
77365 if ac_fn_cxx_try_compile "$LINENO"; then :
77366 glibcxx_cv_func_ldexpl_use=yes
77367 else
77368 glibcxx_cv_func_ldexpl_use=no
77369 fi
77370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77371 ac_ext=c
77372 ac_cpp='$CPP $CPPFLAGS'
77373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77376
77377
77378 fi
77379
77380 fi
77381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77382 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77383
77384 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77385 for ac_func in ldexpl
77386 do :
77387 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77388 if test "x$ac_cv_func_ldexpl" = xyes; then :
77389 cat >>confdefs.h <<_ACEOF
77390 #define HAVE_LDEXPL 1
77391 _ACEOF
77392
77393 fi
77394 done
77395
77396 else
77397
77398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77399 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77400 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77401 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
77402 $as_echo_n "(cached) " >&6
77403 else
77404
77405
77406 ac_ext=cpp
77407 ac_cpp='$CXXCPP $CPPFLAGS'
77408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77411
77412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77413 /* end confdefs.h. */
77414 #include <math.h>
77415 int
77416 main ()
77417 {
77418 _ldexpl(0, 0);
77419 ;
77420 return 0;
77421 }
77422 _ACEOF
77423 if ac_fn_cxx_try_compile "$LINENO"; then :
77424 glibcxx_cv_func__ldexpl_use=yes
77425 else
77426 glibcxx_cv_func__ldexpl_use=no
77427 fi
77428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77429 ac_ext=c
77430 ac_cpp='$CPP $CPPFLAGS'
77431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77434
77435
77436 fi
77437
77438 fi
77439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77440 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77441
77442 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77443 for ac_func in _ldexpl
77444 do :
77445 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77446 if test "x$ac_cv_func__ldexpl" = xyes; then :
77447 cat >>confdefs.h <<_ACEOF
77448 #define HAVE__LDEXPL 1
77449 _ACEOF
77450
77451 fi
77452 done
77453
77454 fi
77455 fi
77456
77457
77458
77459
77460
77461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77462 $as_echo_n "checking for logl declaration... " >&6; }
77463 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77464 if ${glibcxx_cv_func_logl_use+:} false; then :
77465 $as_echo_n "(cached) " >&6
77466 else
77467
77468
77469 ac_ext=cpp
77470 ac_cpp='$CXXCPP $CPPFLAGS'
77471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77474
77475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77476 /* end confdefs.h. */
77477 #include <math.h>
77478 #ifdef HAVE_IEEEFP_H
77479 #include <ieeefp.h>
77480 #endif
77481
77482 int
77483 main ()
77484 {
77485 logl(0);
77486 ;
77487 return 0;
77488 }
77489 _ACEOF
77490 if ac_fn_cxx_try_compile "$LINENO"; then :
77491 glibcxx_cv_func_logl_use=yes
77492 else
77493 glibcxx_cv_func_logl_use=no
77494 fi
77495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77496 ac_ext=c
77497 ac_cpp='$CPP $CPPFLAGS'
77498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77501
77502
77503 fi
77504
77505 fi
77506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77507 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77508
77509 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77510 for ac_func in logl
77511 do :
77512 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77513 if test "x$ac_cv_func_logl" = xyes; then :
77514 cat >>confdefs.h <<_ACEOF
77515 #define HAVE_LOGL 1
77516 _ACEOF
77517
77518 fi
77519 done
77520
77521 else
77522
77523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77524 $as_echo_n "checking for _logl declaration... " >&6; }
77525 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77526 if ${glibcxx_cv_func__logl_use+:} false; then :
77527 $as_echo_n "(cached) " >&6
77528 else
77529
77530
77531 ac_ext=cpp
77532 ac_cpp='$CXXCPP $CPPFLAGS'
77533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77536
77537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77538 /* end confdefs.h. */
77539 #include <math.h>
77540 #ifdef HAVE_IEEEFP_H
77541 #include <ieeefp.h>
77542 #endif
77543
77544 int
77545 main ()
77546 {
77547 _logl(0);
77548 ;
77549 return 0;
77550 }
77551 _ACEOF
77552 if ac_fn_cxx_try_compile "$LINENO"; then :
77553 glibcxx_cv_func__logl_use=yes
77554 else
77555 glibcxx_cv_func__logl_use=no
77556 fi
77557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77558 ac_ext=c
77559 ac_cpp='$CPP $CPPFLAGS'
77560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77563
77564
77565 fi
77566
77567 fi
77568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77569 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77570
77571 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77572 for ac_func in _logl
77573 do :
77574 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77575 if test "x$ac_cv_func__logl" = xyes; then :
77576 cat >>confdefs.h <<_ACEOF
77577 #define HAVE__LOGL 1
77578 _ACEOF
77579
77580 fi
77581 done
77582
77583 fi
77584 fi
77585
77586
77587
77588
77589
77590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77591 $as_echo_n "checking for log10l declaration... " >&6; }
77592 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77593 if ${glibcxx_cv_func_log10l_use+:} false; then :
77594 $as_echo_n "(cached) " >&6
77595 else
77596
77597
77598 ac_ext=cpp
77599 ac_cpp='$CXXCPP $CPPFLAGS'
77600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77603
77604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77605 /* end confdefs.h. */
77606 #include <math.h>
77607 #ifdef HAVE_IEEEFP_H
77608 #include <ieeefp.h>
77609 #endif
77610
77611 int
77612 main ()
77613 {
77614 log10l(0);
77615 ;
77616 return 0;
77617 }
77618 _ACEOF
77619 if ac_fn_cxx_try_compile "$LINENO"; then :
77620 glibcxx_cv_func_log10l_use=yes
77621 else
77622 glibcxx_cv_func_log10l_use=no
77623 fi
77624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77625 ac_ext=c
77626 ac_cpp='$CPP $CPPFLAGS'
77627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77630
77631
77632 fi
77633
77634 fi
77635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77636 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77637
77638 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77639 for ac_func in log10l
77640 do :
77641 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77642 if test "x$ac_cv_func_log10l" = xyes; then :
77643 cat >>confdefs.h <<_ACEOF
77644 #define HAVE_LOG10L 1
77645 _ACEOF
77646
77647 fi
77648 done
77649
77650 else
77651
77652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77653 $as_echo_n "checking for _log10l declaration... " >&6; }
77654 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77655 if ${glibcxx_cv_func__log10l_use+:} false; then :
77656 $as_echo_n "(cached) " >&6
77657 else
77658
77659
77660 ac_ext=cpp
77661 ac_cpp='$CXXCPP $CPPFLAGS'
77662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77665
77666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77667 /* end confdefs.h. */
77668 #include <math.h>
77669 #ifdef HAVE_IEEEFP_H
77670 #include <ieeefp.h>
77671 #endif
77672
77673 int
77674 main ()
77675 {
77676 _log10l(0);
77677 ;
77678 return 0;
77679 }
77680 _ACEOF
77681 if ac_fn_cxx_try_compile "$LINENO"; then :
77682 glibcxx_cv_func__log10l_use=yes
77683 else
77684 glibcxx_cv_func__log10l_use=no
77685 fi
77686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77687 ac_ext=c
77688 ac_cpp='$CPP $CPPFLAGS'
77689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77692
77693
77694 fi
77695
77696 fi
77697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77698 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77699
77700 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77701 for ac_func in _log10l
77702 do :
77703 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77704 if test "x$ac_cv_func__log10l" = xyes; then :
77705 cat >>confdefs.h <<_ACEOF
77706 #define HAVE__LOG10L 1
77707 _ACEOF
77708
77709 fi
77710 done
77711
77712 fi
77713 fi
77714
77715
77716
77717
77718
77719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77720 $as_echo_n "checking for modfl declaration... " >&6; }
77721 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77722 if ${glibcxx_cv_func_modfl_use+:} false; then :
77723 $as_echo_n "(cached) " >&6
77724 else
77725
77726
77727 ac_ext=cpp
77728 ac_cpp='$CXXCPP $CPPFLAGS'
77729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77732
77733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77734 /* end confdefs.h. */
77735 #include <math.h>
77736 int
77737 main ()
77738 {
77739 modfl(0, 0);
77740 ;
77741 return 0;
77742 }
77743 _ACEOF
77744 if ac_fn_cxx_try_compile "$LINENO"; then :
77745 glibcxx_cv_func_modfl_use=yes
77746 else
77747 glibcxx_cv_func_modfl_use=no
77748 fi
77749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77750 ac_ext=c
77751 ac_cpp='$CPP $CPPFLAGS'
77752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77755
77756
77757 fi
77758
77759 fi
77760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77761 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77762
77763 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77764 for ac_func in modfl
77765 do :
77766 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77767 if test "x$ac_cv_func_modfl" = xyes; then :
77768 cat >>confdefs.h <<_ACEOF
77769 #define HAVE_MODFL 1
77770 _ACEOF
77771
77772 fi
77773 done
77774
77775 else
77776
77777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77778 $as_echo_n "checking for _modfl declaration... " >&6; }
77779 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77780 if ${glibcxx_cv_func__modfl_use+:} false; then :
77781 $as_echo_n "(cached) " >&6
77782 else
77783
77784
77785 ac_ext=cpp
77786 ac_cpp='$CXXCPP $CPPFLAGS'
77787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77790
77791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77792 /* end confdefs.h. */
77793 #include <math.h>
77794 int
77795 main ()
77796 {
77797 _modfl(0, 0);
77798 ;
77799 return 0;
77800 }
77801 _ACEOF
77802 if ac_fn_cxx_try_compile "$LINENO"; then :
77803 glibcxx_cv_func__modfl_use=yes
77804 else
77805 glibcxx_cv_func__modfl_use=no
77806 fi
77807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77808 ac_ext=c
77809 ac_cpp='$CPP $CPPFLAGS'
77810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77813
77814
77815 fi
77816
77817 fi
77818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77819 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77820
77821 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77822 for ac_func in _modfl
77823 do :
77824 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77825 if test "x$ac_cv_func__modfl" = xyes; then :
77826 cat >>confdefs.h <<_ACEOF
77827 #define HAVE__MODFL 1
77828 _ACEOF
77829
77830 fi
77831 done
77832
77833 fi
77834 fi
77835
77836
77837
77838
77839
77840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77841 $as_echo_n "checking for powl declaration... " >&6; }
77842 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77843 if ${glibcxx_cv_func_powl_use+:} false; then :
77844 $as_echo_n "(cached) " >&6
77845 else
77846
77847
77848 ac_ext=cpp
77849 ac_cpp='$CXXCPP $CPPFLAGS'
77850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77853
77854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77855 /* end confdefs.h. */
77856 #include <math.h>
77857 int
77858 main ()
77859 {
77860 powl(0, 0);
77861 ;
77862 return 0;
77863 }
77864 _ACEOF
77865 if ac_fn_cxx_try_compile "$LINENO"; then :
77866 glibcxx_cv_func_powl_use=yes
77867 else
77868 glibcxx_cv_func_powl_use=no
77869 fi
77870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77871 ac_ext=c
77872 ac_cpp='$CPP $CPPFLAGS'
77873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77876
77877
77878 fi
77879
77880 fi
77881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77882 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77883
77884 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77885 for ac_func in powl
77886 do :
77887 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77888 if test "x$ac_cv_func_powl" = xyes; then :
77889 cat >>confdefs.h <<_ACEOF
77890 #define HAVE_POWL 1
77891 _ACEOF
77892
77893 fi
77894 done
77895
77896 else
77897
77898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77899 $as_echo_n "checking for _powl declaration... " >&6; }
77900 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77901 if ${glibcxx_cv_func__powl_use+:} false; then :
77902 $as_echo_n "(cached) " >&6
77903 else
77904
77905
77906 ac_ext=cpp
77907 ac_cpp='$CXXCPP $CPPFLAGS'
77908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77911
77912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77913 /* end confdefs.h. */
77914 #include <math.h>
77915 int
77916 main ()
77917 {
77918 _powl(0, 0);
77919 ;
77920 return 0;
77921 }
77922 _ACEOF
77923 if ac_fn_cxx_try_compile "$LINENO"; then :
77924 glibcxx_cv_func__powl_use=yes
77925 else
77926 glibcxx_cv_func__powl_use=no
77927 fi
77928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77929 ac_ext=c
77930 ac_cpp='$CPP $CPPFLAGS'
77931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77934
77935
77936 fi
77937
77938 fi
77939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77940 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77941
77942 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77943 for ac_func in _powl
77944 do :
77945 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77946 if test "x$ac_cv_func__powl" = xyes; then :
77947 cat >>confdefs.h <<_ACEOF
77948 #define HAVE__POWL 1
77949 _ACEOF
77950
77951 fi
77952 done
77953
77954 fi
77955 fi
77956
77957
77958
77959
77960
77961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77962 $as_echo_n "checking for sqrtl declaration... " >&6; }
77963 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77964 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
77965 $as_echo_n "(cached) " >&6
77966 else
77967
77968
77969 ac_ext=cpp
77970 ac_cpp='$CXXCPP $CPPFLAGS'
77971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77974
77975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77976 /* end confdefs.h. */
77977 #include <math.h>
77978 #ifdef HAVE_IEEEFP_H
77979 #include <ieeefp.h>
77980 #endif
77981
77982 int
77983 main ()
77984 {
77985 sqrtl(0);
77986 ;
77987 return 0;
77988 }
77989 _ACEOF
77990 if ac_fn_cxx_try_compile "$LINENO"; then :
77991 glibcxx_cv_func_sqrtl_use=yes
77992 else
77993 glibcxx_cv_func_sqrtl_use=no
77994 fi
77995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77996 ac_ext=c
77997 ac_cpp='$CPP $CPPFLAGS'
77998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78001
78002
78003 fi
78004
78005 fi
78006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
78007 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
78008
78009 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
78010 for ac_func in sqrtl
78011 do :
78012 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
78013 if test "x$ac_cv_func_sqrtl" = xyes; then :
78014 cat >>confdefs.h <<_ACEOF
78015 #define HAVE_SQRTL 1
78016 _ACEOF
78017
78018 fi
78019 done
78020
78021 else
78022
78023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
78024 $as_echo_n "checking for _sqrtl declaration... " >&6; }
78025 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
78026 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
78027 $as_echo_n "(cached) " >&6
78028 else
78029
78030
78031 ac_ext=cpp
78032 ac_cpp='$CXXCPP $CPPFLAGS'
78033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78036
78037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78038 /* end confdefs.h. */
78039 #include <math.h>
78040 #ifdef HAVE_IEEEFP_H
78041 #include <ieeefp.h>
78042 #endif
78043
78044 int
78045 main ()
78046 {
78047 _sqrtl(0);
78048 ;
78049 return 0;
78050 }
78051 _ACEOF
78052 if ac_fn_cxx_try_compile "$LINENO"; then :
78053 glibcxx_cv_func__sqrtl_use=yes
78054 else
78055 glibcxx_cv_func__sqrtl_use=no
78056 fi
78057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78058 ac_ext=c
78059 ac_cpp='$CPP $CPPFLAGS'
78060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78063
78064
78065 fi
78066
78067 fi
78068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
78069 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
78070
78071 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
78072 for ac_func in _sqrtl
78073 do :
78074 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
78075 if test "x$ac_cv_func__sqrtl" = xyes; then :
78076 cat >>confdefs.h <<_ACEOF
78077 #define HAVE__SQRTL 1
78078 _ACEOF
78079
78080 fi
78081 done
78082
78083 fi
78084 fi
78085
78086
78087
78088
78089
78090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
78091 $as_echo_n "checking for sincosl declaration... " >&6; }
78092 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
78093 if ${glibcxx_cv_func_sincosl_use+:} false; then :
78094 $as_echo_n "(cached) " >&6
78095 else
78096
78097
78098 ac_ext=cpp
78099 ac_cpp='$CXXCPP $CPPFLAGS'
78100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78103
78104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78105 /* end confdefs.h. */
78106 #include <math.h>
78107 int
78108 main ()
78109 {
78110 sincosl(0, 0, 0);
78111 ;
78112 return 0;
78113 }
78114 _ACEOF
78115 if ac_fn_cxx_try_compile "$LINENO"; then :
78116 glibcxx_cv_func_sincosl_use=yes
78117 else
78118 glibcxx_cv_func_sincosl_use=no
78119 fi
78120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78121 ac_ext=c
78122 ac_cpp='$CPP $CPPFLAGS'
78123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78126
78127
78128 fi
78129
78130 fi
78131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
78132 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
78133
78134 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
78135 for ac_func in sincosl
78136 do :
78137 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
78138 if test "x$ac_cv_func_sincosl" = xyes; then :
78139 cat >>confdefs.h <<_ACEOF
78140 #define HAVE_SINCOSL 1
78141 _ACEOF
78142
78143 fi
78144 done
78145
78146 else
78147
78148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
78149 $as_echo_n "checking for _sincosl declaration... " >&6; }
78150 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
78151 if ${glibcxx_cv_func__sincosl_use+:} false; then :
78152 $as_echo_n "(cached) " >&6
78153 else
78154
78155
78156 ac_ext=cpp
78157 ac_cpp='$CXXCPP $CPPFLAGS'
78158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78161
78162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78163 /* end confdefs.h. */
78164 #include <math.h>
78165 int
78166 main ()
78167 {
78168 _sincosl(0, 0, 0);
78169 ;
78170 return 0;
78171 }
78172 _ACEOF
78173 if ac_fn_cxx_try_compile "$LINENO"; then :
78174 glibcxx_cv_func__sincosl_use=yes
78175 else
78176 glibcxx_cv_func__sincosl_use=no
78177 fi
78178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78179 ac_ext=c
78180 ac_cpp='$CPP $CPPFLAGS'
78181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78184
78185
78186 fi
78187
78188 fi
78189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
78190 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
78191
78192 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78193 for ac_func in _sincosl
78194 do :
78195 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
78196 if test "x$ac_cv_func__sincosl" = xyes; then :
78197 cat >>confdefs.h <<_ACEOF
78198 #define HAVE__SINCOSL 1
78199 _ACEOF
78200
78201 fi
78202 done
78203
78204 fi
78205 fi
78206
78207
78208
78209
78210
78211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
78212 $as_echo_n "checking for finitel declaration... " >&6; }
78213 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78214 if ${glibcxx_cv_func_finitel_use+:} false; then :
78215 $as_echo_n "(cached) " >&6
78216 else
78217
78218
78219 ac_ext=cpp
78220 ac_cpp='$CXXCPP $CPPFLAGS'
78221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78224
78225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78226 /* end confdefs.h. */
78227 #include <math.h>
78228 #ifdef HAVE_IEEEFP_H
78229 #include <ieeefp.h>
78230 #endif
78231
78232 int
78233 main ()
78234 {
78235 finitel(0);
78236 ;
78237 return 0;
78238 }
78239 _ACEOF
78240 if ac_fn_cxx_try_compile "$LINENO"; then :
78241 glibcxx_cv_func_finitel_use=yes
78242 else
78243 glibcxx_cv_func_finitel_use=no
78244 fi
78245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78246 ac_ext=c
78247 ac_cpp='$CPP $CPPFLAGS'
78248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78251
78252
78253 fi
78254
78255 fi
78256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
78257 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
78258
78259 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78260 for ac_func in finitel
78261 do :
78262 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
78263 if test "x$ac_cv_func_finitel" = xyes; then :
78264 cat >>confdefs.h <<_ACEOF
78265 #define HAVE_FINITEL 1
78266 _ACEOF
78267
78268 fi
78269 done
78270
78271 else
78272
78273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
78274 $as_echo_n "checking for _finitel declaration... " >&6; }
78275 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78276 if ${glibcxx_cv_func__finitel_use+:} false; then :
78277 $as_echo_n "(cached) " >&6
78278 else
78279
78280
78281 ac_ext=cpp
78282 ac_cpp='$CXXCPP $CPPFLAGS'
78283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78286
78287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78288 /* end confdefs.h. */
78289 #include <math.h>
78290 #ifdef HAVE_IEEEFP_H
78291 #include <ieeefp.h>
78292 #endif
78293
78294 int
78295 main ()
78296 {
78297 _finitel(0);
78298 ;
78299 return 0;
78300 }
78301 _ACEOF
78302 if ac_fn_cxx_try_compile "$LINENO"; then :
78303 glibcxx_cv_func__finitel_use=yes
78304 else
78305 glibcxx_cv_func__finitel_use=no
78306 fi
78307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78308 ac_ext=c
78309 ac_cpp='$CPP $CPPFLAGS'
78310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78313
78314
78315 fi
78316
78317 fi
78318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78319 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78320
78321 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78322 for ac_func in _finitel
78323 do :
78324 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78325 if test "x$ac_cv_func__finitel" = xyes; then :
78326 cat >>confdefs.h <<_ACEOF
78327 #define HAVE__FINITEL 1
78328 _ACEOF
78329
78330 fi
78331 done
78332
78333 fi
78334 fi
78335
78336
78337
78338
78339 LIBS="$ac_save_LIBS"
78340 CXXFLAGS="$ac_save_CXXFLAGS"
78341
78342
78343 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78344 ac_save_CXXFLAGS="$CXXFLAGS"
78345 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78346
78347
78348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78349 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78350 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78351 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
78352 $as_echo_n "(cached) " >&6
78353 else
78354
78355
78356 ac_ext=cpp
78357 ac_cpp='$CXXCPP $CPPFLAGS'
78358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78361
78362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78363 /* end confdefs.h. */
78364 #include <stdlib.h>
78365 int
78366 main ()
78367 {
78368 at_quick_exit(0);
78369 ;
78370 return 0;
78371 }
78372 _ACEOF
78373 if ac_fn_cxx_try_compile "$LINENO"; then :
78374 glibcxx_cv_func_at_quick_exit_use=yes
78375 else
78376 glibcxx_cv_func_at_quick_exit_use=no
78377 fi
78378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78379 ac_ext=c
78380 ac_cpp='$CPP $CPPFLAGS'
78381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78384
78385
78386 fi
78387
78388 fi
78389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78390 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78391 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78392 for ac_func in at_quick_exit
78393 do :
78394 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78395 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
78396 cat >>confdefs.h <<_ACEOF
78397 #define HAVE_AT_QUICK_EXIT 1
78398 _ACEOF
78399
78400 fi
78401 done
78402
78403 fi
78404
78405
78406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78407 $as_echo_n "checking for quick_exit declaration... " >&6; }
78408 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78409 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
78410 $as_echo_n "(cached) " >&6
78411 else
78412
78413
78414 ac_ext=cpp
78415 ac_cpp='$CXXCPP $CPPFLAGS'
78416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78419
78420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78421 /* end confdefs.h. */
78422 #include <stdlib.h>
78423 int
78424 main ()
78425 {
78426 quick_exit(0);
78427 ;
78428 return 0;
78429 }
78430 _ACEOF
78431 if ac_fn_cxx_try_compile "$LINENO"; then :
78432 glibcxx_cv_func_quick_exit_use=yes
78433 else
78434 glibcxx_cv_func_quick_exit_use=no
78435 fi
78436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78437 ac_ext=c
78438 ac_cpp='$CPP $CPPFLAGS'
78439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78442
78443
78444 fi
78445
78446 fi
78447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78448 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78449 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78450 for ac_func in quick_exit
78451 do :
78452 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78453 if test "x$ac_cv_func_quick_exit" = xyes; then :
78454 cat >>confdefs.h <<_ACEOF
78455 #define HAVE_QUICK_EXIT 1
78456 _ACEOF
78457
78458 fi
78459 done
78460
78461 fi
78462
78463
78464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78465 $as_echo_n "checking for strtold declaration... " >&6; }
78466 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78467 if ${glibcxx_cv_func_strtold_use+:} false; then :
78468 $as_echo_n "(cached) " >&6
78469 else
78470
78471
78472 ac_ext=cpp
78473 ac_cpp='$CXXCPP $CPPFLAGS'
78474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78477
78478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78479 /* end confdefs.h. */
78480 #include <stdlib.h>
78481 int
78482 main ()
78483 {
78484 strtold(0, 0);
78485 ;
78486 return 0;
78487 }
78488 _ACEOF
78489 if ac_fn_cxx_try_compile "$LINENO"; then :
78490 glibcxx_cv_func_strtold_use=yes
78491 else
78492 glibcxx_cv_func_strtold_use=no
78493 fi
78494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78495 ac_ext=c
78496 ac_cpp='$CPP $CPPFLAGS'
78497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78500
78501
78502 fi
78503
78504 fi
78505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78506 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78507 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78508 for ac_func in strtold
78509 do :
78510 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78511 if test "x$ac_cv_func_strtold" = xyes; then :
78512 cat >>confdefs.h <<_ACEOF
78513 #define HAVE_STRTOLD 1
78514 _ACEOF
78515
78516 fi
78517 done
78518
78519 fi
78520
78521
78522
78523
78524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78525 $as_echo_n "checking for strtof declaration... " >&6; }
78526 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78527 if ${glibcxx_cv_func_strtof_use+:} false; then :
78528 $as_echo_n "(cached) " >&6
78529 else
78530
78531
78532 ac_ext=cpp
78533 ac_cpp='$CXXCPP $CPPFLAGS'
78534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78537
78538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78539 /* end confdefs.h. */
78540 #include <stdlib.h>
78541 int
78542 main ()
78543 {
78544 strtof(0, 0);
78545 ;
78546 return 0;
78547 }
78548 _ACEOF
78549 if ac_fn_cxx_try_compile "$LINENO"; then :
78550 glibcxx_cv_func_strtof_use=yes
78551 else
78552 glibcxx_cv_func_strtof_use=no
78553 fi
78554 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78555 ac_ext=c
78556 ac_cpp='$CPP $CPPFLAGS'
78557 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78558 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78559 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78560
78561
78562 fi
78563
78564 fi
78565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78566 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78567 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78568 for ac_func in strtof
78569 do :
78570 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78571 if test "x$ac_cv_func_strtof" = xyes; then :
78572 cat >>confdefs.h <<_ACEOF
78573 #define HAVE_STRTOF 1
78574 _ACEOF
78575
78576 fi
78577 done
78578
78579 fi
78580
78581
78582
78583
78584 CXXFLAGS="$ac_save_CXXFLAGS"
78585
78586 ;;
78587 *-vxworks)
78588 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78589
78590 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78591
78592 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78593
78594 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78595
78596 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78597
78598 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78599
78600 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78601
78602 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78603
78604 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78605
78606 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78607
78608 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78609
78610 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78611
78612 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78613
78614 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78615
78616 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78617
78618 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78619
78620 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78621
78622 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78623
78624 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78625
78626 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78627
78628 ;;
78629 *)
78630 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
78631 ;;
78632 esac
78633
78634 fi
78635
78636 # At some point, we should differentiate between architectures
78637 # like x86, which have long double versions, and alpha/powerpc/etc.,
78638 # which don't. For the time being, punt.
78639 if test x"long_double_math_on_this_cpu" = x"yes"; then
78640 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78641
78642 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78643
78644 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78645
78646 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78647
78648 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78649
78650 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78651
78652 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78653
78654 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78655
78656 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78657
78658 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78659
78660 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78661
78662 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78663
78664 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78665
78666 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78667
78668 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78669
78670 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78671
78672 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78673
78674 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78675
78676 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78677
78678 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78679
78680 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78681
78682 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78683
78684 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78685
78686 fi
78687 fi
78688
78689 # Check for _Unwind_GetIPInfo.
78690
78691
78692 # Check whether --with-system-libunwind was given.
78693 if test "${with_system_libunwind+set}" = set; then :
78694 withval=$with_system_libunwind;
78695 fi
78696
78697 # If system-libunwind was not specifically set, pick a default setting.
78698 if test x$with_system_libunwind = x; then
78699 case ${target} in
78700 ia64-*-hpux*) with_system_libunwind=yes ;;
78701 *) with_system_libunwind=no ;;
78702 esac
78703 fi
78704 # Based on system-libunwind and target, do we have ipinfo?
78705 if test x$with_system_libunwind = xyes; then
78706 case ${target} in
78707 ia64-*-*) have_unwind_getipinfo=no ;;
78708 *) have_unwind_getipinfo=yes ;;
78709 esac
78710 else
78711 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78712
78713 case ${target} in
78714 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78715 *) have_unwind_getipinfo=yes ;;
78716 esac
78717
78718 fi
78719
78720 if test x$have_unwind_getipinfo = xyes; then
78721
78722 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78723
78724 fi
78725
78726
78727 # Check whether --enable-linux-futex was given.
78728 if test "${enable_linux_futex+set}" = set; then :
78729 enableval=$enable_linux_futex;
78730 case "$enableval" in
78731 yes|no|default) ;;
78732 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78733 esac
78734
78735 else
78736 enable_linux_futex=default
78737 fi
78738
78739
78740 case "$target" in
78741 *-linux*)
78742 case "$enable_linux_futex" in
78743 default)
78744 # If headers don't have gettid/futex syscalls definition, then
78745 # default to no, otherwise there will be compile time failures.
78746 # Otherwise, default to yes. If we don't detect we are
78747 # compiled/linked against NPTL and not cross-compiling, check
78748 # if programs are run by default against NPTL and if not, issue
78749 # a warning.
78750 enable_linux_futex=no
78751 if test x$gcc_no_link = xyes; then
78752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78753 fi
78754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78755 /* end confdefs.h. */
78756 #include <sys/syscall.h>
78757 int lk;
78758 int
78759 main ()
78760 {
78761 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78762 ;
78763 return 0;
78764 }
78765 _ACEOF
78766 if ac_fn_c_try_link "$LINENO"; then :
78767 save_LIBS="$LIBS"
78768 LIBS="-lpthread $LIBS"
78769 if test x$gcc_no_link = xyes; then
78770 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78771 fi
78772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78773 /* end confdefs.h. */
78774 #ifndef _GNU_SOURCE
78775 #define _GNU_SOURCE 1
78776 #endif
78777 #include <pthread.h>
78778 pthread_t th; void *status;
78779 int
78780 main ()
78781 {
78782 pthread_tryjoin_np (th, &status);
78783 ;
78784 return 0;
78785 }
78786 _ACEOF
78787 if ac_fn_c_try_link "$LINENO"; then :
78788 enable_linux_futex=yes
78789 else
78790 if test x$cross_compiling = xno; then
78791 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78792 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78793 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78794 If so, please configure with --disable-linux-futex" >&5
78795 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78796 If so, please configure with --disable-linux-futex" >&2;}
78797 fi
78798 fi
78799 enable_linux_futex=yes
78800 fi
78801 rm -f core conftest.err conftest.$ac_objext \
78802 conftest$ac_exeext conftest.$ac_ext
78803 LIBS="$save_LIBS"
78804 fi
78805 rm -f core conftest.err conftest.$ac_objext \
78806 conftest$ac_exeext conftest.$ac_ext
78807 ;;
78808 yes)
78809 if test x$gcc_no_link = xyes; then
78810 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78811 fi
78812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78813 /* end confdefs.h. */
78814 #include <sys/syscall.h>
78815 int lk;
78816 int
78817 main ()
78818 {
78819 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78820 ;
78821 return 0;
78822 }
78823 _ACEOF
78824 if ac_fn_c_try_link "$LINENO"; then :
78825
78826 else
78827 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78828 fi
78829 rm -f core conftest.err conftest.$ac_objext \
78830 conftest$ac_exeext conftest.$ac_ext
78831 ;;
78832 esac
78833 ;;
78834 *)
78835 enable_linux_futex=no
78836 ;;
78837 esac
78838 if test x$enable_linux_futex = xyes; then
78839
78840 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78841
78842 fi
78843
78844
78845
78846
78847 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78848
78849 acx_cv_header_stdint=stddef.h
78850 acx_cv_header_stdint_kind="(already complete)"
78851 for i in stdint.h $inttype_headers; do
78852 unset ac_cv_type_uintptr_t
78853 unset ac_cv_type_uintmax_t
78854 unset ac_cv_type_int_least32_t
78855 unset ac_cv_type_int_fast32_t
78856 unset ac_cv_type_uint64_t
78857 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78858 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78859 #include <$i>
78860 "
78861 if test "x$ac_cv_type_uintmax_t" = xyes; then :
78862 acx_cv_header_stdint=$i
78863 else
78864 continue
78865 fi
78866
78867 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78868 #include <$i>
78869 "
78870 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78871
78872 else
78873 acx_cv_header_stdint_kind="(mostly complete)"
78874 fi
78875
78876 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78877 #include <$i>
78878 "
78879 if test "x$ac_cv_type_int_least32_t" = xyes; then :
78880
78881 else
78882 acx_cv_header_stdint_kind="(mostly complete)"
78883 fi
78884
78885 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78886 #include <$i>
78887 "
78888 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
78889
78890 else
78891 acx_cv_header_stdint_kind="(mostly complete)"
78892 fi
78893
78894 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78895 #include <$i>
78896 "
78897 if test "x$ac_cv_type_uint64_t" = xyes; then :
78898
78899 else
78900 acx_cv_header_stdint_kind="(lacks uint64_t)"
78901 fi
78902
78903 break
78904 done
78905 if test "$acx_cv_header_stdint" = stddef.h; then
78906 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78907 for i in stdint.h $inttype_headers; do
78908 unset ac_cv_type_uintptr_t
78909 unset ac_cv_type_uint32_t
78910 unset ac_cv_type_uint64_t
78911 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78912 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78913 #include <$i>
78914 "
78915 if test "x$ac_cv_type_uint32_t" = xyes; then :
78916 acx_cv_header_stdint=$i
78917 else
78918 continue
78919 fi
78920
78921 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78922 #include <$i>
78923 "
78924 if test "x$ac_cv_type_uint64_t" = xyes; then :
78925
78926 fi
78927
78928 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78929 #include <$i>
78930 "
78931 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78932
78933 fi
78934
78935 break
78936 done
78937 fi
78938 if test "$acx_cv_header_stdint" = stddef.h; then
78939 acx_cv_header_stdint_kind="(u_intXX_t style)"
78940 for i in sys/types.h $inttype_headers; do
78941 unset ac_cv_type_u_int32_t
78942 unset ac_cv_type_u_int64_t
78943 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78944 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78945 #include <$i>
78946 "
78947 if test "x$ac_cv_type_u_int32_t" = xyes; then :
78948 acx_cv_header_stdint=$i
78949 else
78950 continue
78951 fi
78952
78953 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78954 #include <$i>
78955 "
78956 if test "x$ac_cv_type_u_int64_t" = xyes; then :
78957
78958 fi
78959
78960 break
78961 done
78962 fi
78963 if test "$acx_cv_header_stdint" = stddef.h; then
78964 acx_cv_header_stdint_kind="(using manual detection)"
78965 fi
78966
78967 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78968 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78969 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78970 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78971 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78972
78973 # ----------------- Summarize what we found so far
78974
78975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78976 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78977
78978 case `$as_basename -- include/gstdint.h ||
78979 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78980 Xinclude/gstdint.h : 'X\(//\)$' \| \
78981 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78982 $as_echo X/include/gstdint.h |
78983 sed '/^.*\/\([^/][^/]*\)\/*$/{
78984 s//\1/
78985 q
78986 }
78987 /^X\/\(\/\/\)$/{
78988 s//\1/
78989 q
78990 }
78991 /^X\/\(\/\).*/{
78992 s//\1/
78993 q
78994 }
78995 s/.*/./; q'` in
78996 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78997 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78998 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78999 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
79000 *) ;;
79001 esac
79002
79003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
79004 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
79005
79006 # ----------------- done included file, check C basic types --------
79007
79008 # Lacking an uintptr_t? Test size of void *
79009 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
79010 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
79011 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79012 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79013 # This bug is HP SR number 8606223364.
79014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
79015 $as_echo_n "checking size of void *... " >&6; }
79016 if ${ac_cv_sizeof_void_p+:} false; then :
79017 $as_echo_n "(cached) " >&6
79018 else
79019 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
79020
79021 else
79022 if test "$ac_cv_type_void_p" = yes; then
79023 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79024 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79025 as_fn_error 77 "cannot compute sizeof (void *)
79026 See \`config.log' for more details" "$LINENO" 5; }
79027 else
79028 ac_cv_sizeof_void_p=0
79029 fi
79030 fi
79031
79032 fi
79033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
79034 $as_echo "$ac_cv_sizeof_void_p" >&6; }
79035
79036
79037
79038 cat >>confdefs.h <<_ACEOF
79039 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
79040 _ACEOF
79041
79042 ;;
79043 esac
79044
79045 # Lacking an uint64_t? Test size of long
79046 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
79047 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
79048 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79049 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79050 # This bug is HP SR number 8606223364.
79051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
79052 $as_echo_n "checking size of long... " >&6; }
79053 if ${ac_cv_sizeof_long+:} false; then :
79054 $as_echo_n "(cached) " >&6
79055 else
79056 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
79057
79058 else
79059 if test "$ac_cv_type_long" = yes; then
79060 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79061 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79062 as_fn_error 77 "cannot compute sizeof (long)
79063 See \`config.log' for more details" "$LINENO" 5; }
79064 else
79065 ac_cv_sizeof_long=0
79066 fi
79067 fi
79068
79069 fi
79070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
79071 $as_echo "$ac_cv_sizeof_long" >&6; }
79072
79073
79074
79075 cat >>confdefs.h <<_ACEOF
79076 #define SIZEOF_LONG $ac_cv_sizeof_long
79077 _ACEOF
79078
79079 ;;
79080 esac
79081
79082 if test $acx_cv_header_stdint = stddef.h; then
79083 # Lacking a good header? Test size of everything and deduce all types.
79084 # The cast to long int works around a bug in the HP C Compiler
79085 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79086 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79087 # This bug is HP SR number 8606223364.
79088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
79089 $as_echo_n "checking size of int... " >&6; }
79090 if ${ac_cv_sizeof_int+:} false; then :
79091 $as_echo_n "(cached) " >&6
79092 else
79093 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
79094
79095 else
79096 if test "$ac_cv_type_int" = yes; then
79097 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79098 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79099 as_fn_error 77 "cannot compute sizeof (int)
79100 See \`config.log' for more details" "$LINENO" 5; }
79101 else
79102 ac_cv_sizeof_int=0
79103 fi
79104 fi
79105
79106 fi
79107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
79108 $as_echo "$ac_cv_sizeof_int" >&6; }
79109
79110
79111
79112 cat >>confdefs.h <<_ACEOF
79113 #define SIZEOF_INT $ac_cv_sizeof_int
79114 _ACEOF
79115
79116
79117 # The cast to long int works around a bug in the HP C Compiler
79118 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79119 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79120 # This bug is HP SR number 8606223364.
79121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
79122 $as_echo_n "checking size of short... " >&6; }
79123 if ${ac_cv_sizeof_short+:} false; then :
79124 $as_echo_n "(cached) " >&6
79125 else
79126 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
79127
79128 else
79129 if test "$ac_cv_type_short" = yes; then
79130 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79131 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79132 as_fn_error 77 "cannot compute sizeof (short)
79133 See \`config.log' for more details" "$LINENO" 5; }
79134 else
79135 ac_cv_sizeof_short=0
79136 fi
79137 fi
79138
79139 fi
79140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
79141 $as_echo "$ac_cv_sizeof_short" >&6; }
79142
79143
79144
79145 cat >>confdefs.h <<_ACEOF
79146 #define SIZEOF_SHORT $ac_cv_sizeof_short
79147 _ACEOF
79148
79149
79150 # The cast to long int works around a bug in the HP C Compiler
79151 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79152 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79153 # This bug is HP SR number 8606223364.
79154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
79155 $as_echo_n "checking size of char... " >&6; }
79156 if ${ac_cv_sizeof_char+:} false; then :
79157 $as_echo_n "(cached) " >&6
79158 else
79159 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
79160
79161 else
79162 if test "$ac_cv_type_char" = yes; then
79163 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79164 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79165 as_fn_error 77 "cannot compute sizeof (char)
79166 See \`config.log' for more details" "$LINENO" 5; }
79167 else
79168 ac_cv_sizeof_char=0
79169 fi
79170 fi
79171
79172 fi
79173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
79174 $as_echo "$ac_cv_sizeof_char" >&6; }
79175
79176
79177
79178 cat >>confdefs.h <<_ACEOF
79179 #define SIZEOF_CHAR $ac_cv_sizeof_char
79180 _ACEOF
79181
79182
79183
79184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
79185 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
79186 case "$ac_cv_sizeof_char" in
79187 1) acx_cv_type_int8_t=char ;;
79188 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
79189 esac
79190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
79191 $as_echo "$acx_cv_type_int8_t" >&6; }
79192
79193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
79194 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
79195 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
79196 2:*) acx_cv_type_int16_t=int ;;
79197 *:2) acx_cv_type_int16_t=short ;;
79198 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
79199 esac
79200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
79201 $as_echo "$acx_cv_type_int16_t" >&6; }
79202
79203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
79204 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
79205 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
79206 4:*) acx_cv_type_int32_t=int ;;
79207 *:4) acx_cv_type_int32_t=long ;;
79208 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
79209 esac
79210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
79211 $as_echo "$acx_cv_type_int32_t" >&6; }
79212 fi
79213
79214 # These tests are here to make the output prettier
79215
79216 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
79217 case "$ac_cv_sizeof_long" in
79218 8) acx_cv_type_int64_t=long ;;
79219 esac
79220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
79221 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
79222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
79223 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
79224 fi
79225
79226 # Now we can use the above types
79227
79228 if test "$ac_cv_type_uintptr_t" != yes; then
79229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
79230 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
79231 case $ac_cv_sizeof_void_p in
79232 2) acx_cv_type_intptr_t=int16_t ;;
79233 4) acx_cv_type_intptr_t=int32_t ;;
79234 8) acx_cv_type_intptr_t=int64_t ;;
79235 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
79236 esac
79237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
79238 $as_echo "$acx_cv_type_intptr_t" >&6; }
79239 fi
79240
79241 # ----------------- done all checks, emit header -------------
79242 ac_config_commands="$ac_config_commands include/gstdint.h"
79243
79244
79245
79246
79247
79248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
79249 $as_echo_n "checking for GNU c++filt... " >&6; }
79250 if ${ac_cv_path_CXXFILT+:} false; then :
79251 $as_echo_n "(cached) " >&6
79252 else
79253 if test -z "$CXXFILT"; then
79254 ac_path_CXXFILT_found=false
79255 # Loop through the user's path and test for each of PROGNAME-LIST
79256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79257 for as_dir in $PATH
79258 do
79259 IFS=$as_save_IFS
79260 test -z "$as_dir" && as_dir=.
79261 for ac_prog in c++filt gc++filt; do
79262 for ac_exec_ext in '' $ac_executable_extensions; do
79263 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
79264 as_fn_executable_p "$ac_path_CXXFILT" || continue
79265 # Check for GNU $ac_path_CXXFILT
79266 case `"$ac_path_CXXFILT" --version 2>&1` in
79267 *GNU*)
79268 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
79269 esac
79270
79271 $ac_path_CXXFILT_found && break 3
79272 done
79273 done
79274 done
79275 IFS=$as_save_IFS
79276 if test -z "$ac_cv_path_CXXFILT"; then
79277 :
79278 fi
79279 else
79280 ac_cv_path_CXXFILT=$CXXFILT
79281 fi
79282
79283 fi
79284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
79285 $as_echo "$ac_cv_path_CXXFILT" >&6; }
79286 CXXFILT=$ac_cv_path_CXXFILT
79287
79288
79289
79290 # Check whether --enable-symvers was given.
79291 if test "${enable_symvers+set}" = set; then :
79292 enableval=$enable_symvers;
79293 case "$enableval" in
79294 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79295 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79296 esac
79297
79298 else
79299 enable_symvers=yes
79300 fi
79301
79302
79303
79304 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79305 # don't know enough about $LD to do tricks...
79306
79307 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79308 # with extern "C++" in version scripts.
79309
79310
79311 # Turn a 'yes' into a suitable default.
79312 if test x$enable_symvers = xyes ; then
79313 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79314 enable_symvers=no
79315 else
79316 if test $with_gnu_ld = yes ; then
79317 case ${target_os} in
79318 hpux*)
79319 enable_symvers=no ;;
79320 *)
79321 enable_symvers=gnu ;;
79322 esac
79323 else
79324 case ${target_os} in
79325 darwin*)
79326 enable_symvers=darwin ;;
79327 # Sun symbol versioning exists since Solaris 2.5.
79328 solaris2.[5-9]* | solaris2.1[0-9]*)
79329 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79330 # version scripts, so disable symbol versioning if none can be
79331 # found.
79332 if test -z "$ac_cv_path_CXXFILT"; then
79333 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79334 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79335 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79336 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79338 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79339 enable_symvers=no
79340 else
79341 enable_symvers=sun
79342 fi
79343 ;;
79344 *)
79345 enable_symvers=no ;;
79346 esac
79347 fi
79348 fi
79349 fi
79350
79351 # Check to see if 'darwin' or 'darwin-export' can win.
79352 if test x$enable_symvers = xdarwin-export ; then
79353 enable_symvers=darwin
79354 fi
79355
79356 # Check if 'sun' was requested on non-Solaris 2 platforms.
79357 if test x$enable_symvers = xsun ; then
79358 case ${target_os} in
79359 solaris2*)
79360 # All fine.
79361 ;;
79362 *)
79363 # Unlikely to work.
79364 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79365 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79366 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79367 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79368 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79369 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79370 enable_symvers=no
79371 ;;
79372 esac
79373 fi
79374
79375 # Check to see if 'gnu' can win.
79376 if test $enable_symvers = gnu ||
79377 test $enable_symvers = gnu-versioned-namespace ||
79378 test $enable_symvers = sun; then
79379 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79381 $as_echo_n "checking for shared libgcc... " >&6; }
79382 ac_save_CFLAGS="$CFLAGS"
79383 CFLAGS=' -lgcc_s'
79384 if test x$gcc_no_link = xyes; then
79385 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79386 fi
79387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79388 /* end confdefs.h. */
79389
79390 int
79391 main ()
79392 {
79393 return 0;
79394 ;
79395 return 0;
79396 }
79397 _ACEOF
79398 if ac_fn_c_try_link "$LINENO"; then :
79399 glibcxx_shared_libgcc=yes
79400 else
79401 glibcxx_shared_libgcc=no
79402 fi
79403 rm -f core conftest.err conftest.$ac_objext \
79404 conftest$ac_exeext conftest.$ac_ext
79405 CFLAGS="$ac_save_CFLAGS"
79406 if test $glibcxx_shared_libgcc = no; then
79407 cat > conftest.c <<EOF
79408 int main (void) { return 0; }
79409 EOF
79410 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79411 -shared -shared-libgcc -o conftest.so \
79412 conftest.c -v 2>&1 >/dev/null \
79413 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79414 rm -f conftest.c conftest.so
79415 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79416 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79417 if test x$gcc_no_link = xyes; then
79418 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79419 fi
79420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79421 /* end confdefs.h. */
79422
79423 int
79424 main ()
79425 {
79426 return 0;
79427 ;
79428 return 0;
79429 }
79430 _ACEOF
79431 if ac_fn_c_try_link "$LINENO"; then :
79432 glibcxx_shared_libgcc=yes
79433 fi
79434 rm -f core conftest.err conftest.$ac_objext \
79435 conftest$ac_exeext conftest.$ac_ext
79436 CFLAGS="$ac_save_CFLAGS"
79437 fi
79438 fi
79439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79440 $as_echo "$glibcxx_shared_libgcc" >&6; }
79441
79442 # For GNU ld, we need at least this version. The format is described in
79443 # GLIBCXX_CHECK_LINKER_FEATURES above.
79444 glibcxx_min_gnu_ld_version=21400
79445
79446 # If no shared libgcc, can't win.
79447 if test $glibcxx_shared_libgcc != yes; then
79448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79449 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79451 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79453 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79454 enable_symvers=no
79455 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79456 : All interesting versions of Sun ld support sun style symbol versioning.
79457 elif test $with_gnu_ld != yes ; then
79458 # just fail for now
79459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79460 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79462 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79464 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79465 enable_symvers=no
79466 elif test $glibcxx_ld_is_gold = yes ; then
79467 : All versions of gold support symbol versioning.
79468 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79469 # The right tools, the right setup, but too old. Fallbacks?
79470 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79471 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79472 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79473 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79474 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79475 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79476 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79477 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79478 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79479 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79480 enable_symvers=no
79481 fi
79482 fi
79483
79484 # For libtool versioning info, format is CURRENT:REVISION:AGE
79485 libtool_VERSION=6:27:0
79486
79487 # Everything parsed; figure out what files and settings to use.
79488 case $enable_symvers in
79489 no)
79490 SYMVER_FILE=config/abi/pre/none.ver
79491 ;;
79492 gnu)
79493 SYMVER_FILE=config/abi/pre/gnu.ver
79494
79495 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79496
79497 ;;
79498 gnu-versioned-namespace)
79499 libtool_VERSION=8:0:0
79500 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79501
79502 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79503
79504 ;;
79505 darwin)
79506 SYMVER_FILE=config/abi/pre/gnu.ver
79507
79508 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79509
79510 ;;
79511 sun)
79512 SYMVER_FILE=config/abi/pre/gnu.ver
79513
79514 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79515
79516 ;;
79517 esac
79518
79519 if test x$enable_symvers != xno ; then
79520
79521 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79522
79523 fi
79524
79525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79526 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79527 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
79528 $as_echo_n "(cached) " >&6
79529 else
79530
79531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79532 /* end confdefs.h. */
79533 void foo (void); __asm (".symver foo, bar@SYMVER");
79534 int
79535 main ()
79536 {
79537
79538 ;
79539 return 0;
79540 }
79541 _ACEOF
79542 if ac_fn_c_try_compile "$LINENO"; then :
79543 glibcxx_cv_have_as_symver_directive=yes
79544 else
79545 glibcxx_cv_have_as_symver_directive=no
79546 fi
79547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79548 fi
79549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79550 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79551 if test $glibcxx_cv_have_as_symver_directive = yes; then
79552
79553 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79554
79555 fi
79556
79557
79558
79559
79560
79561
79562
79563
79564 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79565 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79566
79567 if test $enable_symvers != no ; then
79568 case ${target_os} in
79569 # The Solaris 2 runtime linker doesn't support the GNU extension of
79570 # binding the same symbol to different versions
79571 solaris2*)
79572 ;;
79573 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79574 *)
79575
79576 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79577
79578 ;;
79579 esac
79580 fi
79581
79582 # Now, set up compatibility support, if any.
79583 # In addition, need this to deal with std::size_t mangling in
79584 # src/compatibility.cc. In a perfect world, could use
79585 # typeid(std::size_t).name()[0] to do direct substitution.
79586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79587 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79588 ac_save_CFLAGS="$CFLAGS"
79589 CFLAGS="-Werror"
79590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79591 /* end confdefs.h. */
79592
79593 int
79594 main ()
79595 {
79596 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79597 ;
79598 return 0;
79599 }
79600 _ACEOF
79601 if ac_fn_c_try_compile "$LINENO"; then :
79602 glibcxx_size_t_is_i=yes
79603 else
79604 glibcxx_size_t_is_i=no
79605 fi
79606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79607 CFLAGS=$ac_save_CFLAGS
79608 if test "$glibcxx_size_t_is_i" = yes; then
79609
79610 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79611
79612 fi
79613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79614 $as_echo "$glibcxx_size_t_is_i" >&6; }
79615
79616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79617 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79618 ac_save_CFLAGS="$CFLAGS"
79619 CFLAGS="-Werror"
79620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79621 /* end confdefs.h. */
79622
79623 int
79624 main ()
79625 {
79626 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79627 ;
79628 return 0;
79629 }
79630 _ACEOF
79631 if ac_fn_c_try_compile "$LINENO"; then :
79632 glibcxx_ptrdiff_t_is_i=yes
79633 else
79634 glibcxx_ptrdiff_t_is_i=no
79635 fi
79636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79637 CFLAGS=$ac_save_CFLAGS
79638 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79639
79640 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79641
79642 fi
79643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79644 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79645
79646
79647
79648
79649 # Check whether --enable-libstdcxx-visibility was given.
79650 if test "${enable_libstdcxx_visibility+set}" = set; then :
79651 enableval=$enable_libstdcxx_visibility;
79652 case "$enableval" in
79653 yes|no) ;;
79654 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79655 esac
79656
79657 else
79658 enable_libstdcxx_visibility=yes
79659 fi
79660
79661
79662
79663 if test x$enable_libstdcxx_visibility = xyes ; then
79664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79665 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79666 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
79667 $as_echo_n "(cached) " >&6
79668 else
79669
79670 save_CFLAGS="$CFLAGS"
79671 CFLAGS="$CFLAGS -Werror"
79672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79673 /* end confdefs.h. */
79674 void __attribute__((visibility("hidden"))) foo(void) { }
79675 int
79676 main ()
79677 {
79678
79679 ;
79680 return 0;
79681 }
79682 _ACEOF
79683 if ac_fn_c_try_compile "$LINENO"; then :
79684 glibcxx_cv_have_attribute_visibility=yes
79685 else
79686 glibcxx_cv_have_attribute_visibility=no
79687 fi
79688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79689 CFLAGS="$save_CFLAGS"
79690 fi
79691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79692 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79693 if test $glibcxx_cv_have_attribute_visibility = no; then
79694 enable_libstdcxx_visibility=no
79695 fi
79696 fi
79697
79698
79699 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79700 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79701
79702
79703
79704 # Check whether --enable-libstdcxx-dual-abi was given.
79705 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79706 enableval=$enable_libstdcxx_dual_abi;
79707 case "$enableval" in
79708 yes|no) ;;
79709 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79710 esac
79711
79712 else
79713 enable_libstdcxx_dual_abi=yes
79714 fi
79715
79716
79717 if test x$enable_symvers = xgnu-versioned-namespace; then
79718 # gnu-versioned-namespace is incompatible with the dual ABI.
79719 enable_libstdcxx_dual_abi="no"
79720 fi
79721 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79722 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79723 $as_echo "$as_me: dual ABI is disabled" >&6;}
79724 default_libstdcxx_abi="gcc4-compatible"
79725 fi
79726
79727
79728
79729 if test x$enable_libstdcxx_dual_abi = xyes; then
79730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79731 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79732
79733 # Check whether --with-default-libstdcxx-abi was given.
79734 if test "${with_default_libstdcxx_abi+set}" = set; then :
79735 withval=$with_default_libstdcxx_abi; case "$withval" in
79736 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79737 new|cxx11) default_libstdcxx_abi="new" ;;
79738 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79739 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79740 esac
79741
79742 else
79743 default_libstdcxx_abi="new"
79744 fi
79745
79746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79747 $as_echo "${default_libstdcxx_abi}" >&6; }
79748 fi
79749 if test $default_libstdcxx_abi = "new"; then
79750 glibcxx_cxx11_abi=1
79751 glibcxx_cxx98_abi=0
79752 else
79753 glibcxx_cxx11_abi=0
79754 glibcxx_cxx98_abi=1
79755 fi
79756
79757
79758
79759
79760 ac_ldbl_compat=no
79761 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79762 case "$target" in
79763 powerpc*-*-linux* | \
79764 sparc*-*-linux* | \
79765 s390*-*-linux* | \
79766 alpha*-*-linux*)
79767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79768 /* end confdefs.h. */
79769
79770 int
79771 main ()
79772 {
79773
79774 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79775 #error no need for long double compatibility
79776 #endif
79777
79778 ;
79779 return 0;
79780 }
79781 _ACEOF
79782 if ac_fn_c_try_compile "$LINENO"; then :
79783 ac_ldbl_compat=yes
79784 else
79785 ac_ldbl_compat=no
79786 fi
79787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79788 if test "$ac_ldbl_compat" = yes; then
79789
79790 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79791
79792 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79793 case "$target" in
79794 powerpc*-*-linux*)
79795 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79796 esac
79797 fi
79798 esac
79799
79800
79801
79802 # Check if assembler supports disabling hardware capability support.
79803
79804 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79805
79806 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79807 # with a different meaning.
79808 case ${target_os} in
79809 solaris2*)
79810 ac_save_CFLAGS="$CFLAGS"
79811 CFLAGS="$CFLAGS -Wa,-nH"
79812
79813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79814 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79816 /* end confdefs.h. */
79817
79818 int
79819 main ()
79820 {
79821 return 0;
79822 ;
79823 return 0;
79824 }
79825 _ACEOF
79826 if ac_fn_c_try_compile "$LINENO"; then :
79827 ac_hwcap_flags=yes
79828 else
79829 ac_hwcap_flags=no
79830 fi
79831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79832 if test "$ac_hwcap_flags" = "yes"; then
79833 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79834 fi
79835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79836 $as_echo "$ac_hwcap_flags" >&6; }
79837
79838 CFLAGS="$ac_save_CFLAGS"
79839 ;;
79840 esac
79841
79842
79843
79844
79845 # Check if assembler supports rdrand opcode.
79846
79847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79848 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79849 if ${ac_cv_x86_rdrand+:} false; then :
79850 $as_echo_n "(cached) " >&6
79851 else
79852
79853 ac_cv_x86_rdrand=no
79854 case "$target" in
79855 i?86-*-* | \
79856 x86_64-*-*)
79857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79858 /* end confdefs.h. */
79859
79860 int
79861 main ()
79862 {
79863 asm("rdrand %eax");
79864 ;
79865 return 0;
79866 }
79867 _ACEOF
79868 if ac_fn_c_try_compile "$LINENO"; then :
79869 ac_cv_x86_rdrand=yes
79870 else
79871 ac_cv_x86_rdrand=no
79872 fi
79873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79874 esac
79875
79876 fi
79877
79878 if test $ac_cv_x86_rdrand = yes; then
79879
79880 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79881
79882 fi
79883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79884 $as_echo "$ac_cv_x86_rdrand" >&6; }
79885
79886 # Check if assembler supports rdseed opcode.
79887
79888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
79889 $as_echo_n "checking for rdseed support in assembler... " >&6; }
79890 if ${ac_cv_x86_rdseed+:} false; then :
79891 $as_echo_n "(cached) " >&6
79892 else
79893
79894 ac_cv_x86_rdseed=no
79895 case "$target" in
79896 i?86-*-* | \
79897 x86_64-*-*)
79898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79899 /* end confdefs.h. */
79900
79901 int
79902 main ()
79903 {
79904 asm("rdseed %eax");
79905 ;
79906 return 0;
79907 }
79908 _ACEOF
79909 if ac_fn_c_try_compile "$LINENO"; then :
79910 ac_cv_x86_rdseed=yes
79911 else
79912 ac_cv_x86_rdseed=no
79913 fi
79914 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79915 esac
79916
79917 fi
79918
79919 if test $ac_cv_x86_rdseed = yes; then
79920
79921 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
79922
79923 fi
79924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
79925 $as_echo "$ac_cv_x86_rdseed" >&6; }
79926
79927
79928 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79929
79930 # Do checks for resource limit functions.
79931
79932 setrlimit_have_headers=yes
79933 for ac_header in unistd.h sys/time.h sys/resource.h
79934 do :
79935 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79936 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79937 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
79938 cat >>confdefs.h <<_ACEOF
79939 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79940 _ACEOF
79941
79942 else
79943 setrlimit_have_headers=no
79944 fi
79945
79946 done
79947
79948 # If don't have the headers, then we can't run the tests now, and we
79949 # won't be seeing any of these during testsuite compilation.
79950 if test $setrlimit_have_headers = yes; then
79951 # Can't do these in a loop, else the resulting syntax is wrong.
79952
79953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79954 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79956 /* end confdefs.h. */
79957 #include <unistd.h>
79958 #include <sys/time.h>
79959 #include <sys/resource.h>
79960
79961 int
79962 main ()
79963 {
79964 int f = RLIMIT_DATA ;
79965 ;
79966 return 0;
79967 }
79968 _ACEOF
79969 if ac_fn_c_try_compile "$LINENO"; then :
79970 glibcxx_mresult=1
79971 else
79972 glibcxx_mresult=0
79973 fi
79974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79975
79976 cat >>confdefs.h <<_ACEOF
79977 #define HAVE_LIMIT_DATA $glibcxx_mresult
79978 _ACEOF
79979
79980 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79982 $as_echo "$res" >&6; }
79983
79984
79985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79986 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79988 /* end confdefs.h. */
79989 #include <unistd.h>
79990 #include <sys/time.h>
79991 #include <sys/resource.h>
79992
79993 int
79994 main ()
79995 {
79996 int f = RLIMIT_RSS ;
79997 ;
79998 return 0;
79999 }
80000 _ACEOF
80001 if ac_fn_c_try_compile "$LINENO"; then :
80002 glibcxx_mresult=1
80003 else
80004 glibcxx_mresult=0
80005 fi
80006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80007
80008 cat >>confdefs.h <<_ACEOF
80009 #define HAVE_LIMIT_RSS $glibcxx_mresult
80010 _ACEOF
80011
80012 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80014 $as_echo "$res" >&6; }
80015
80016
80017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
80018 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
80019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80020 /* end confdefs.h. */
80021 #include <unistd.h>
80022 #include <sys/time.h>
80023 #include <sys/resource.h>
80024
80025 int
80026 main ()
80027 {
80028 int f = RLIMIT_VMEM ;
80029 ;
80030 return 0;
80031 }
80032 _ACEOF
80033 if ac_fn_c_try_compile "$LINENO"; then :
80034 glibcxx_mresult=1
80035 else
80036 glibcxx_mresult=0
80037 fi
80038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80039
80040 cat >>confdefs.h <<_ACEOF
80041 #define HAVE_LIMIT_VMEM $glibcxx_mresult
80042 _ACEOF
80043
80044 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80046 $as_echo "$res" >&6; }
80047
80048
80049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
80050 $as_echo_n "checking for RLIMIT_AS... " >&6; }
80051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80052 /* end confdefs.h. */
80053 #include <unistd.h>
80054 #include <sys/time.h>
80055 #include <sys/resource.h>
80056
80057 int
80058 main ()
80059 {
80060 int f = RLIMIT_AS ;
80061 ;
80062 return 0;
80063 }
80064 _ACEOF
80065 if ac_fn_c_try_compile "$LINENO"; then :
80066 glibcxx_mresult=1
80067 else
80068 glibcxx_mresult=0
80069 fi
80070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80071
80072 cat >>confdefs.h <<_ACEOF
80073 #define HAVE_LIMIT_AS $glibcxx_mresult
80074 _ACEOF
80075
80076 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80078 $as_echo "$res" >&6; }
80079
80080
80081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
80082 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
80083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80084 /* end confdefs.h. */
80085 #include <unistd.h>
80086 #include <sys/time.h>
80087 #include <sys/resource.h>
80088
80089 int
80090 main ()
80091 {
80092 int f = RLIMIT_FSIZE ;
80093 ;
80094 return 0;
80095 }
80096 _ACEOF
80097 if ac_fn_c_try_compile "$LINENO"; then :
80098 glibcxx_mresult=1
80099 else
80100 glibcxx_mresult=0
80101 fi
80102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80103
80104 cat >>confdefs.h <<_ACEOF
80105 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
80106 _ACEOF
80107
80108 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80110 $as_echo "$res" >&6; }
80111
80112
80113 # Check for rlimit, setrlimit.
80114 if ${glibcxx_cv_setrlimit+:} false; then :
80115 $as_echo_n "(cached) " >&6
80116 else
80117
80118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80119 /* end confdefs.h. */
80120 #include <unistd.h>
80121 #include <sys/time.h>
80122 #include <sys/resource.h>
80123
80124 int
80125 main ()
80126 {
80127 struct rlimit r;
80128 setrlimit(0, &r);
80129 ;
80130 return 0;
80131 }
80132 _ACEOF
80133 if ac_fn_c_try_compile "$LINENO"; then :
80134 glibcxx_cv_setrlimit=yes
80135 else
80136 glibcxx_cv_setrlimit=no
80137 fi
80138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80139
80140 fi
80141
80142 fi
80143
80144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
80145 $as_echo_n "checking for testsuite resource limits support... " >&6; }
80146 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
80147 ac_res_limits=yes
80148
80149 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
80150
80151 else
80152 ac_res_limits=no
80153 fi
80154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
80155 $as_echo "$ac_res_limits" >&6; }
80156
80157
80158 if $GLIBCXX_IS_NATIVE ; then
80159 # Look for setenv, so that extended locale tests can be performed.
80160
80161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
80162 $as_echo_n "checking for setenv declaration... " >&6; }
80163 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
80164 if ${glibcxx_cv_func_setenv_use+:} false; then :
80165 $as_echo_n "(cached) " >&6
80166 else
80167
80168
80169 ac_ext=cpp
80170 ac_cpp='$CXXCPP $CPPFLAGS'
80171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80174
80175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80176 /* end confdefs.h. */
80177 #include <stdlib.h>
80178 int
80179 main ()
80180 {
80181 setenv(0, 0, 0);
80182 ;
80183 return 0;
80184 }
80185 _ACEOF
80186 if ac_fn_cxx_try_compile "$LINENO"; then :
80187 glibcxx_cv_func_setenv_use=yes
80188 else
80189 glibcxx_cv_func_setenv_use=no
80190 fi
80191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80192 ac_ext=c
80193 ac_cpp='$CPP $CPPFLAGS'
80194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80197
80198
80199 fi
80200
80201 fi
80202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
80203 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
80204 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
80205 for ac_func in setenv
80206 do :
80207 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
80208 if test "x$ac_cv_func_setenv" = xyes; then :
80209 cat >>confdefs.h <<_ACEOF
80210 #define HAVE_SETENV 1
80211 _ACEOF
80212
80213 fi
80214 done
80215
80216 fi
80217
80218 fi
80219
80220 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
80221 test $enable_symvers != no; then
80222 case "$host" in
80223 *-*-cygwin*)
80224 enable_abi_check=no ;;
80225 *)
80226 enable_abi_check=yes ;;
80227 esac
80228 else
80229 # Only build this as native, since automake does not understand
80230 # CXX_FOR_BUILD.
80231 enable_abi_check=no
80232 fi
80233
80234 # Export file names for ABI checking.
80235 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
80236
80237 baseline_subdir_switch="$abi_baseline_subdir_switch"
80238
80239
80240
80241 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
80242
80243 # Check whether --enable-libstdcxx-threads was given.
80244 if test "${enable_libstdcxx_threads+set}" = set; then :
80245 enableval=$enable_libstdcxx_threads;
80246 case "$enableval" in
80247 yes|no) ;;
80248 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
80249 esac
80250
80251 else
80252 enable_libstdcxx_threads=auto
80253 fi
80254
80255
80256
80257 if test x$enable_libstdcxx_threads = xauto ||
80258 test x$enable_libstdcxx_threads = xyes; then
80259
80260
80261 ac_ext=cpp
80262 ac_cpp='$CXXCPP $CPPFLAGS'
80263 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80264 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80265 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80266
80267
80268 ac_save_CXXFLAGS="$CXXFLAGS"
80269 CXXFLAGS="$CXXFLAGS -fno-exceptions \
80270 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
80271
80272 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
80273 case $target_thread_file in
80274 posix)
80275 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
80276 esac
80277
80278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
80279 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
80280
80281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80282 /* end confdefs.h. */
80283 #include <unistd.h>
80284 int
80285 main ()
80286 {
80287
80288 // In case of POSIX threads check _POSIX_TIMEOUTS.
80289 #if (defined(_PTHREADS) \
80290 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
80291 #error
80292 #endif
80293
80294 ;
80295 return 0;
80296 }
80297 _ACEOF
80298 if ac_fn_cxx_try_compile "$LINENO"; then :
80299 ac_gthread_use_mutex_timedlock=1
80300 else
80301 ac_gthread_use_mutex_timedlock=0
80302 fi
80303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80304
80305
80306 cat >>confdefs.h <<_ACEOF
80307 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
80308 _ACEOF
80309
80310
80311 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
80312 else res_mutex_timedlock=no ; fi
80313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
80314 $as_echo "$res_mutex_timedlock" >&6; }
80315
80316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
80317 $as_echo_n "checking for gthreads library... " >&6; }
80318
80319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80320 /* end confdefs.h. */
80321 #include "gthr.h"
80322 int
80323 main ()
80324 {
80325
80326 #ifndef __GTHREADS_CXX0X
80327 #error
80328 #endif
80329
80330 ;
80331 return 0;
80332 }
80333 _ACEOF
80334 if ac_fn_cxx_try_compile "$LINENO"; then :
80335 ac_has_gthreads=yes
80336 else
80337 ac_has_gthreads=no
80338 fi
80339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80340 else
80341 ac_has_gthreads=no
80342 fi
80343
80344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80345 $as_echo "$ac_has_gthreads" >&6; }
80346
80347 if test x"$ac_has_gthreads" = x"yes"; then
80348
80349 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80350
80351
80352 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80353 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80354 "
80355 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
80356
80357 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80358
80359 fi
80360
80361 fi
80362
80363 CXXFLAGS="$ac_save_CXXFLAGS"
80364 ac_ext=c
80365 ac_cpp='$CPP $CPPFLAGS'
80366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80369
80370
80371
80372 # For Filesystem TS.
80373 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80374 do :
80375 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80376 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80377 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
80378 cat >>confdefs.h <<_ACEOF
80379 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80380 _ACEOF
80381
80382 fi
80383
80384 done
80385
80386
80387 # Check whether --enable-libstdcxx-filesystem-ts was given.
80388 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80389 enableval=$enable_libstdcxx_filesystem_ts;
80390 case "$enableval" in
80391 yes|no|auto) ;;
80392 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80393 esac
80394
80395 else
80396 enable_libstdcxx_filesystem_ts=auto
80397 fi
80398
80399
80400
80401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80402 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80403 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80404 enable_libstdcxx_filesystem_ts=no
80405 fi
80406 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80407 case "${target_os}" in
80408 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80409 enable_libstdcxx_filesystem_ts=yes
80410 ;;
80411 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80412 enable_libstdcxx_filesystem_ts=yes
80413 ;;
80414 rtems*)
80415 enable_libstdcxx_filesystem_ts=yes
80416 ;;
80417 solaris*)
80418 enable_libstdcxx_filesystem_ts=yes
80419 ;;
80420 *)
80421 enable_libstdcxx_filesystem_ts=no
80422 ;;
80423 esac
80424 fi
80425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80426 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80427
80428
80429 if test $enable_libstdcxx_filesystem_ts = yes; then
80430
80431 ac_ext=cpp
80432 ac_cpp='$CXXCPP $CPPFLAGS'
80433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80436
80437 ac_save_CXXFLAGS="$CXXFLAGS"
80438 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80440 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80441 if ${glibcxx_cv_dirent_d_type+:} false; then :
80442 $as_echo_n "(cached) " >&6
80443 else
80444 if test x$gcc_no_link = xyes; then
80445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80446 /* end confdefs.h. */
80447 #include <dirent.h>
80448 int
80449 main ()
80450 {
80451
80452 struct dirent d;
80453 if (sizeof d.d_type) return 0;
80454
80455 ;
80456 return 0;
80457 }
80458 _ACEOF
80459 if ac_fn_cxx_try_compile "$LINENO"; then :
80460 glibcxx_cv_dirent_d_type=yes
80461 else
80462 glibcxx_cv_dirent_d_type=no
80463 fi
80464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80465 else
80466 if test x$gcc_no_link = xyes; then
80467 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80468 fi
80469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80470 /* end confdefs.h. */
80471 #include <dirent.h>
80472 int
80473 main ()
80474 {
80475
80476 struct dirent d;
80477 if (sizeof d.d_type) return 0;
80478
80479 ;
80480 return 0;
80481 }
80482 _ACEOF
80483 if ac_fn_cxx_try_link "$LINENO"; then :
80484 glibcxx_cv_dirent_d_type=yes
80485 else
80486 glibcxx_cv_dirent_d_type=no
80487 fi
80488 rm -f core conftest.err conftest.$ac_objext \
80489 conftest$ac_exeext conftest.$ac_ext
80490 fi
80491
80492 fi
80493
80494 if test $glibcxx_cv_dirent_d_type = yes; then
80495
80496 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80497
80498 fi
80499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80500 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80502 $as_echo_n "checking for realpath... " >&6; }
80503 if ${glibcxx_cv_realpath+:} false; then :
80504 $as_echo_n "(cached) " >&6
80505 else
80506 if test x$gcc_no_link = xyes; then
80507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80508 /* end confdefs.h. */
80509
80510 #include <limits.h>
80511 #include <stdlib.h>
80512 #include <unistd.h>
80513
80514 int
80515 main ()
80516 {
80517
80518 #if _XOPEN_VERSION < 500
80519 #error
80520 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80521 char *tmp = realpath((const char*)NULL, (char*)NULL);
80522 #else
80523 #error
80524 #endif
80525
80526 ;
80527 return 0;
80528 }
80529 _ACEOF
80530 if ac_fn_cxx_try_compile "$LINENO"; then :
80531 glibcxx_cv_realpath=yes
80532 else
80533 glibcxx_cv_realpath=no
80534 fi
80535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80536 else
80537 if test x$gcc_no_link = xyes; then
80538 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80539 fi
80540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80541 /* end confdefs.h. */
80542
80543 #include <limits.h>
80544 #include <stdlib.h>
80545 #include <unistd.h>
80546
80547 int
80548 main ()
80549 {
80550
80551 #if _XOPEN_VERSION < 500
80552 #error
80553 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80554 char *tmp = realpath((const char*)NULL, (char*)NULL);
80555 #else
80556 #error
80557 #endif
80558
80559 ;
80560 return 0;
80561 }
80562 _ACEOF
80563 if ac_fn_cxx_try_link "$LINENO"; then :
80564 glibcxx_cv_realpath=yes
80565 else
80566 glibcxx_cv_realpath=no
80567 fi
80568 rm -f core conftest.err conftest.$ac_objext \
80569 conftest$ac_exeext conftest.$ac_ext
80570 fi
80571
80572 fi
80573
80574 if test $glibcxx_cv_realpath = yes; then
80575
80576 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80577
80578 fi
80579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80580 $as_echo "$glibcxx_cv_realpath" >&6; }
80581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80582 $as_echo_n "checking for utimensat... " >&6; }
80583 if ${glibcxx_cv_utimensat+:} false; then :
80584 $as_echo_n "(cached) " >&6
80585 else
80586 if test x$gcc_no_link = xyes; then
80587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80588 /* end confdefs.h. */
80589
80590 #include <fcntl.h>
80591 #include <sys/stat.h>
80592
80593 int
80594 main ()
80595 {
80596
80597 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80598 int i = utimensat(AT_FDCWD, "path", ts, 0);
80599
80600 ;
80601 return 0;
80602 }
80603 _ACEOF
80604 if ac_fn_cxx_try_compile "$LINENO"; then :
80605 glibcxx_cv_utimensat=yes
80606 else
80607 glibcxx_cv_utimensat=no
80608 fi
80609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80610 else
80611 if test x$gcc_no_link = xyes; then
80612 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80613 fi
80614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80615 /* end confdefs.h. */
80616
80617 #include <fcntl.h>
80618 #include <sys/stat.h>
80619
80620 int
80621 main ()
80622 {
80623
80624 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80625 int i = utimensat(AT_FDCWD, "path", ts, 0);
80626
80627 ;
80628 return 0;
80629 }
80630 _ACEOF
80631 if ac_fn_cxx_try_link "$LINENO"; then :
80632 glibcxx_cv_utimensat=yes
80633 else
80634 glibcxx_cv_utimensat=no
80635 fi
80636 rm -f core conftest.err conftest.$ac_objext \
80637 conftest$ac_exeext conftest.$ac_ext
80638 fi
80639
80640 fi
80641
80642 if test $glibcxx_cv_utimensat = yes; then
80643
80644 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80645
80646 fi
80647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80648 $as_echo "$glibcxx_cv_utimensat" >&6; }
80649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
80650 $as_echo_n "checking for utime... " >&6; }
80651 if ${glibcxx_cv_utime+:} false; then :
80652 $as_echo_n "(cached) " >&6
80653 else
80654 if test x$gcc_no_link = xyes; then
80655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80656 /* end confdefs.h. */
80657
80658 #include <utime.h>
80659
80660 int
80661 main ()
80662 {
80663
80664 struct utimbuf t = { 1, 1 };
80665 int i = utime("path", &t);
80666
80667 ;
80668 return 0;
80669 }
80670 _ACEOF
80671 if ac_fn_cxx_try_compile "$LINENO"; then :
80672 glibcxx_cv_utime=yes
80673 else
80674 glibcxx_cv_utime=no
80675 fi
80676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80677 else
80678 if test x$gcc_no_link = xyes; then
80679 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80680 fi
80681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80682 /* end confdefs.h. */
80683
80684 #include <utime.h>
80685
80686 int
80687 main ()
80688 {
80689
80690 struct utimbuf t = { 1, 1 };
80691 int i = utime("path", &t);
80692
80693 ;
80694 return 0;
80695 }
80696 _ACEOF
80697 if ac_fn_cxx_try_link "$LINENO"; then :
80698 glibcxx_cv_utime=yes
80699 else
80700 glibcxx_cv_utime=no
80701 fi
80702 rm -f core conftest.err conftest.$ac_objext \
80703 conftest$ac_exeext conftest.$ac_ext
80704 fi
80705
80706 fi
80707
80708 if test $glibcxx_cv_utime = yes; then
80709
80710 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
80711
80712 fi
80713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
80714 $as_echo "$glibcxx_cv_utime" >&6; }
80715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
80716 $as_echo_n "checking for lstat... " >&6; }
80717 if ${glibcxx_cv_lstat+:} false; then :
80718 $as_echo_n "(cached) " >&6
80719 else
80720 if test x$gcc_no_link = xyes; then
80721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80722 /* end confdefs.h. */
80723 #include <sys/stat.h>
80724 int
80725 main ()
80726 {
80727
80728 struct stat st;
80729 int i = lstat("path", &st);
80730
80731 ;
80732 return 0;
80733 }
80734 _ACEOF
80735 if ac_fn_cxx_try_compile "$LINENO"; then :
80736 glibcxx_cv_lstat=yes
80737 else
80738 glibcxx_cv_lstat=no
80739 fi
80740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80741 else
80742 if test x$gcc_no_link = xyes; then
80743 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80744 fi
80745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80746 /* end confdefs.h. */
80747 #include <sys/stat.h>
80748 int
80749 main ()
80750 {
80751
80752 struct stat st;
80753 int i = lstat("path", &st);
80754
80755 ;
80756 return 0;
80757 }
80758 _ACEOF
80759 if ac_fn_cxx_try_link "$LINENO"; then :
80760 glibcxx_cv_lstat=yes
80761 else
80762 glibcxx_cv_lstat=no
80763 fi
80764 rm -f core conftest.err conftest.$ac_objext \
80765 conftest$ac_exeext conftest.$ac_ext
80766 fi
80767
80768 fi
80769
80770 if test $glibcxx_cv_lstat = yes; then
80771
80772 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
80773
80774 fi
80775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
80776 $as_echo "$glibcxx_cv_lstat" >&6; }
80777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80778 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80779 if ${glibcxx_cv_st_mtim+:} false; then :
80780 $as_echo_n "(cached) " >&6
80781 else
80782 if test x$gcc_no_link = xyes; then
80783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80784 /* end confdefs.h. */
80785 #include <sys/stat.h>
80786 int
80787 main ()
80788 {
80789
80790 struct stat st;
80791 return st.st_mtim.tv_nsec;
80792
80793 ;
80794 return 0;
80795 }
80796 _ACEOF
80797 if ac_fn_cxx_try_compile "$LINENO"; then :
80798 glibcxx_cv_st_mtim=yes
80799 else
80800 glibcxx_cv_st_mtim=no
80801 fi
80802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80803 else
80804 if test x$gcc_no_link = xyes; then
80805 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80806 fi
80807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80808 /* end confdefs.h. */
80809 #include <sys/stat.h>
80810 int
80811 main ()
80812 {
80813
80814 struct stat st;
80815 return st.st_mtim.tv_nsec;
80816
80817 ;
80818 return 0;
80819 }
80820 _ACEOF
80821 if ac_fn_cxx_try_link "$LINENO"; then :
80822 glibcxx_cv_st_mtim=yes
80823 else
80824 glibcxx_cv_st_mtim=no
80825 fi
80826 rm -f core conftest.err conftest.$ac_objext \
80827 conftest$ac_exeext conftest.$ac_ext
80828 fi
80829
80830 fi
80831
80832 if test $glibcxx_cv_st_mtim = yes; then
80833
80834 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80835
80836 fi
80837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80838 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80840 $as_echo_n "checking for fchmod... " >&6; }
80841 if ${glibcxx_cv_fchmod+:} false; then :
80842 $as_echo_n "(cached) " >&6
80843 else
80844 if test x$gcc_no_link = xyes; then
80845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80846 /* end confdefs.h. */
80847 #include <sys/stat.h>
80848 int
80849 main ()
80850 {
80851 fchmod(1, S_IWUSR);
80852 ;
80853 return 0;
80854 }
80855 _ACEOF
80856 if ac_fn_cxx_try_compile "$LINENO"; then :
80857 glibcxx_cv_fchmod=yes
80858 else
80859 glibcxx_cv_fchmod=no
80860 fi
80861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80862 else
80863 if test x$gcc_no_link = xyes; then
80864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80865 fi
80866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80867 /* end confdefs.h. */
80868 #include <sys/stat.h>
80869 int
80870 main ()
80871 {
80872 fchmod(1, S_IWUSR);
80873 ;
80874 return 0;
80875 }
80876 _ACEOF
80877 if ac_fn_cxx_try_link "$LINENO"; then :
80878 glibcxx_cv_fchmod=yes
80879 else
80880 glibcxx_cv_fchmod=no
80881 fi
80882 rm -f core conftest.err conftest.$ac_objext \
80883 conftest$ac_exeext conftest.$ac_ext
80884 fi
80885
80886 fi
80887
80888 if test $glibcxx_cv_fchmod = yes; then
80889
80890 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80891
80892 fi
80893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80894 $as_echo "$glibcxx_cv_fchmod" >&6; }
80895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80896 $as_echo_n "checking for fchmodat... " >&6; }
80897 if ${glibcxx_cv_fchmodat+:} false; then :
80898 $as_echo_n "(cached) " >&6
80899 else
80900 if test x$gcc_no_link = xyes; then
80901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80902 /* end confdefs.h. */
80903
80904 #include <fcntl.h>
80905 #include <sys/stat.h>
80906
80907 int
80908 main ()
80909 {
80910 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80911 ;
80912 return 0;
80913 }
80914 _ACEOF
80915 if ac_fn_cxx_try_compile "$LINENO"; then :
80916 glibcxx_cv_fchmodat=yes
80917 else
80918 glibcxx_cv_fchmodat=no
80919 fi
80920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80921 else
80922 if test x$gcc_no_link = xyes; then
80923 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80924 fi
80925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80926 /* end confdefs.h. */
80927
80928 #include <fcntl.h>
80929 #include <sys/stat.h>
80930
80931 int
80932 main ()
80933 {
80934 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80935 ;
80936 return 0;
80937 }
80938 _ACEOF
80939 if ac_fn_cxx_try_link "$LINENO"; then :
80940 glibcxx_cv_fchmodat=yes
80941 else
80942 glibcxx_cv_fchmodat=no
80943 fi
80944 rm -f core conftest.err conftest.$ac_objext \
80945 conftest$ac_exeext conftest.$ac_ext
80946 fi
80947
80948 fi
80949
80950 if test $glibcxx_cv_fchmodat = yes; then
80951
80952 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80953
80954 fi
80955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80956 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80958 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80959 if ${glibcxx_cv_sendfile+:} false; then :
80960 $as_echo_n "(cached) " >&6
80961 else
80962 case "${target_os}" in
80963 gnu* | linux* | solaris*)
80964 if test x$gcc_no_link = xyes; then
80965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80966 /* end confdefs.h. */
80967 #include <sys/sendfile.h>
80968 int
80969 main ()
80970 {
80971 sendfile(1, 2, (off_t*)0, sizeof 1);
80972 ;
80973 return 0;
80974 }
80975 _ACEOF
80976 if ac_fn_cxx_try_compile "$LINENO"; then :
80977 glibcxx_cv_sendfile=yes
80978 else
80979 glibcxx_cv_sendfile=no
80980 fi
80981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80982 else
80983 if test x$gcc_no_link = xyes; then
80984 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80985 fi
80986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80987 /* end confdefs.h. */
80988 #include <sys/sendfile.h>
80989 int
80990 main ()
80991 {
80992 sendfile(1, 2, (off_t*)0, sizeof 1);
80993 ;
80994 return 0;
80995 }
80996 _ACEOF
80997 if ac_fn_cxx_try_link "$LINENO"; then :
80998 glibcxx_cv_sendfile=yes
80999 else
81000 glibcxx_cv_sendfile=no
81001 fi
81002 rm -f core conftest.err conftest.$ac_objext \
81003 conftest$ac_exeext conftest.$ac_ext
81004 fi
81005 ;;
81006 *)
81007 glibcxx_cv_sendfile=no
81008 ;;
81009 esac
81010
81011 fi
81012
81013 if test $glibcxx_cv_sendfile = yes; then
81014
81015 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
81016
81017 fi
81018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
81019 $as_echo "$glibcxx_cv_sendfile" >&6; }
81020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
81021 $as_echo_n "checking for link... " >&6; }
81022 if ${glibcxx_cv_link+:} false; then :
81023 $as_echo_n "(cached) " >&6
81024 else
81025 if test x$gcc_no_link = xyes; then
81026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81027 /* end confdefs.h. */
81028 #include <unistd.h>
81029 int
81030 main ()
81031 {
81032 link("", "");
81033 ;
81034 return 0;
81035 }
81036 _ACEOF
81037 if ac_fn_cxx_try_compile "$LINENO"; then :
81038 glibcxx_cv_link=yes
81039 else
81040 glibcxx_cv_link=no
81041 fi
81042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81043 else
81044 if test x$gcc_no_link = xyes; then
81045 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81046 fi
81047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81048 /* end confdefs.h. */
81049 #include <unistd.h>
81050 int
81051 main ()
81052 {
81053 link("", "");
81054 ;
81055 return 0;
81056 }
81057 _ACEOF
81058 if ac_fn_cxx_try_link "$LINENO"; then :
81059 glibcxx_cv_link=yes
81060 else
81061 glibcxx_cv_link=no
81062 fi
81063 rm -f core conftest.err conftest.$ac_objext \
81064 conftest$ac_exeext conftest.$ac_ext
81065 fi
81066
81067 fi
81068
81069 if test $glibcxx_cv_link = yes; then
81070
81071 $as_echo "#define HAVE_LINK 1" >>confdefs.h
81072
81073 fi
81074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
81075 $as_echo "$glibcxx_cv_link" >&6; }
81076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
81077 $as_echo_n "checking for readlink... " >&6; }
81078 if ${glibcxx_cv_readlink+:} false; then :
81079 $as_echo_n "(cached) " >&6
81080 else
81081 if test x$gcc_no_link = xyes; then
81082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81083 /* end confdefs.h. */
81084 #include <unistd.h>
81085 int
81086 main ()
81087 {
81088 char buf[32]; readlink("", buf, sizeof(buf));
81089 ;
81090 return 0;
81091 }
81092 _ACEOF
81093 if ac_fn_cxx_try_compile "$LINENO"; then :
81094 glibcxx_cv_readlink=yes
81095 else
81096 glibcxx_cv_readlink=no
81097 fi
81098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81099 else
81100 if test x$gcc_no_link = xyes; then
81101 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81102 fi
81103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81104 /* end confdefs.h. */
81105 #include <unistd.h>
81106 int
81107 main ()
81108 {
81109 char buf[32]; readlink("", buf, sizeof(buf));
81110 ;
81111 return 0;
81112 }
81113 _ACEOF
81114 if ac_fn_cxx_try_link "$LINENO"; then :
81115 glibcxx_cv_readlink=yes
81116 else
81117 glibcxx_cv_readlink=no
81118 fi
81119 rm -f core conftest.err conftest.$ac_objext \
81120 conftest$ac_exeext conftest.$ac_ext
81121 fi
81122
81123 fi
81124
81125 if test $glibcxx_cv_readlink = yes; then
81126
81127 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
81128
81129 fi
81130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
81131 $as_echo "$glibcxx_cv_readlink" >&6; }
81132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
81133 $as_echo_n "checking for symlink... " >&6; }
81134 if ${glibcxx_cv_symlink+:} false; then :
81135 $as_echo_n "(cached) " >&6
81136 else
81137 if test x$gcc_no_link = xyes; then
81138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81139 /* end confdefs.h. */
81140 #include <unistd.h>
81141 int
81142 main ()
81143 {
81144 symlink("", "");
81145 ;
81146 return 0;
81147 }
81148 _ACEOF
81149 if ac_fn_cxx_try_compile "$LINENO"; then :
81150 glibcxx_cv_symlink=yes
81151 else
81152 glibcxx_cv_symlink=no
81153 fi
81154 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81155 else
81156 if test x$gcc_no_link = xyes; then
81157 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81158 fi
81159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81160 /* end confdefs.h. */
81161 #include <unistd.h>
81162 int
81163 main ()
81164 {
81165 symlink("", "");
81166 ;
81167 return 0;
81168 }
81169 _ACEOF
81170 if ac_fn_cxx_try_link "$LINENO"; then :
81171 glibcxx_cv_symlink=yes
81172 else
81173 glibcxx_cv_symlink=no
81174 fi
81175 rm -f core conftest.err conftest.$ac_objext \
81176 conftest$ac_exeext conftest.$ac_ext
81177 fi
81178
81179 fi
81180
81181 if test $glibcxx_cv_symlink = yes; then
81182
81183 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
81184
81185 fi
81186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
81187 $as_echo "$glibcxx_cv_symlink" >&6; }
81188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
81189 $as_echo_n "checking for truncate... " >&6; }
81190 if ${glibcxx_cv_truncate+:} false; then :
81191 $as_echo_n "(cached) " >&6
81192 else
81193 if test x$gcc_no_link = xyes; then
81194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81195 /* end confdefs.h. */
81196 #include <unistd.h>
81197 int
81198 main ()
81199 {
81200 truncate("", 99);
81201 ;
81202 return 0;
81203 }
81204 _ACEOF
81205 if ac_fn_cxx_try_compile "$LINENO"; then :
81206 glibcxx_cv_truncate=yes
81207 else
81208 glibcxx_cv_truncate=no
81209 fi
81210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81211 else
81212 if test x$gcc_no_link = xyes; then
81213 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81214 fi
81215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81216 /* end confdefs.h. */
81217 #include <unistd.h>
81218 int
81219 main ()
81220 {
81221 truncate("", 99);
81222 ;
81223 return 0;
81224 }
81225 _ACEOF
81226 if ac_fn_cxx_try_link "$LINENO"; then :
81227 glibcxx_cv_truncate=yes
81228 else
81229 glibcxx_cv_truncate=no
81230 fi
81231 rm -f core conftest.err conftest.$ac_objext \
81232 conftest$ac_exeext conftest.$ac_ext
81233 fi
81234
81235 fi
81236
81237 if test $glibcxx_cv_truncate = yes; then
81238
81239 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
81240
81241 fi
81242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
81243 $as_echo "$glibcxx_cv_truncate" >&6; }
81244 CXXFLAGS="$ac_save_CXXFLAGS"
81245 ac_ext=c
81246 ac_cpp='$CPP $CPPFLAGS'
81247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81250
81251 fi
81252
81253
81254 # For Networking TS.
81255 for ac_header in fcntl.h sys/ioctl.h sys/socket.h sys/uio.h poll.h netdb.h arpa/inet.h netinet/in.h netinet/tcp.h
81256 do :
81257 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
81258 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
81259 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
81260 cat >>confdefs.h <<_ACEOF
81261 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
81262 _ACEOF
81263
81264 fi
81265
81266 done
81267
81268
81269 # For Transactional Memory TS
81270
81271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
81272 $as_echo_n "checking how size_t is mangled... " >&6; }
81273 if ${glibcxx_cv_size_t_mangling+:} false; then :
81274 $as_echo_n "(cached) " >&6
81275 else
81276
81277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81278 /* end confdefs.h. */
81279
81280 int
81281 main ()
81282 {
81283 extern __SIZE_TYPE__ x; extern unsigned long x;
81284 ;
81285 return 0;
81286 }
81287 _ACEOF
81288 if ac_fn_c_try_compile "$LINENO"; then :
81289 glibcxx_cv_size_t_mangling=m
81290 else
81291
81292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81293 /* end confdefs.h. */
81294
81295 int
81296 main ()
81297 {
81298 extern __SIZE_TYPE__ x; extern unsigned int x;
81299 ;
81300 return 0;
81301 }
81302 _ACEOF
81303 if ac_fn_c_try_compile "$LINENO"; then :
81304 glibcxx_cv_size_t_mangling=j
81305 else
81306
81307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81308 /* end confdefs.h. */
81309
81310 int
81311 main ()
81312 {
81313 extern __SIZE_TYPE__ x; extern unsigned long long x;
81314 ;
81315 return 0;
81316 }
81317 _ACEOF
81318 if ac_fn_c_try_compile "$LINENO"; then :
81319 glibcxx_cv_size_t_mangling=y
81320 else
81321
81322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81323 /* end confdefs.h. */
81324
81325 int
81326 main ()
81327 {
81328 extern __SIZE_TYPE__ x; extern unsigned short x;
81329 ;
81330 return 0;
81331 }
81332 _ACEOF
81333 if ac_fn_c_try_compile "$LINENO"; then :
81334 glibcxx_cv_size_t_mangling=t
81335 else
81336
81337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81338 /* end confdefs.h. */
81339
81340 int
81341 main ()
81342 {
81343 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
81344 ;
81345 return 0;
81346 }
81347 _ACEOF
81348 if ac_fn_c_try_compile "$LINENO"; then :
81349 glibcxx_cv_size_t_mangling=u6uint20
81350 else
81351 glibcxx_cv_size_t_mangling=x
81352 fi
81353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81354
81355 fi
81356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81357
81358 fi
81359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81360
81361 fi
81362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81363
81364 fi
81365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81366
81367 fi
81368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
81369 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
81370 if test $glibcxx_cv_size_t_mangling = x; then
81371 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
81372 fi
81373
81374 cat >>confdefs.h <<_ACEOF
81375 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
81376 _ACEOF
81377
81378
81379
81380 # Check which release added std::exception_ptr for the target
81381
81382 if test $enable_symvers != no; then
81383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
81384 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
81385 case ${target} in
81386 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
81387 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
81388 ac_exception_ptr_since_gcc46=yes
81389 ;;
81390 *)
81391 # If the value of this macro changes then we will need to hardcode
81392 # yes/no here for additional targets based on the original value.
81393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81394 /* end confdefs.h. */
81395
81396 int
81397 main ()
81398 {
81399
81400 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
81401 # error atomic int not always lock free
81402 #endif
81403
81404 ;
81405 return 0;
81406 }
81407 _ACEOF
81408 if ac_fn_c_try_compile "$LINENO"; then :
81409 ac_exception_ptr_since_gcc46=yes
81410 else
81411 ac_exception_ptr_since_gcc46=no
81412 fi
81413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81414 ;;
81415 esac
81416 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
81417
81418 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
81419
81420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
81421 $as_echo "4.6.0" >&6; }
81422 else
81423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
81424 $as_echo "7.1.0" >&6; }
81425 fi
81426 fi
81427
81428
81429 # Define documentation rules conditionally.
81430
81431 # See if makeinfo has been installed and is modern enough
81432 # that we can use it.
81433
81434 # Extract the first word of "makeinfo", so it can be a program name with args.
81435 set dummy makeinfo; ac_word=$2
81436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81437 $as_echo_n "checking for $ac_word... " >&6; }
81438 if ${ac_cv_prog_MAKEINFO+:} false; then :
81439 $as_echo_n "(cached) " >&6
81440 else
81441 if test -n "$MAKEINFO"; then
81442 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
81443 else
81444 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81445 for as_dir in $PATH
81446 do
81447 IFS=$as_save_IFS
81448 test -z "$as_dir" && as_dir=.
81449 for ac_exec_ext in '' $ac_executable_extensions; do
81450 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81451 ac_cv_prog_MAKEINFO="makeinfo"
81452 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81453 break 2
81454 fi
81455 done
81456 done
81457 IFS=$as_save_IFS
81458
81459 fi
81460 fi
81461 MAKEINFO=$ac_cv_prog_MAKEINFO
81462 if test -n "$MAKEINFO"; then
81463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
81464 $as_echo "$MAKEINFO" >&6; }
81465 else
81466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81467 $as_echo "no" >&6; }
81468 fi
81469
81470
81471 if test -n "$MAKEINFO"; then
81472 # Found it, now check the version.
81473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
81474 $as_echo_n "checking for modern makeinfo... " >&6; }
81475 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
81476 $as_echo_n "(cached) " >&6
81477 else
81478 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
81479 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
81480
81481 case $ac_prog_version in
81482 '') gcc_cv_prog_makeinfo_modern=no;;
81483 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
81484 *) gcc_cv_prog_makeinfo_modern=no;;
81485 esac
81486
81487 fi
81488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
81489 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
81490 else
81491 gcc_cv_prog_makeinfo_modern=no
81492 fi
81493 if test $gcc_cv_prog_makeinfo_modern = no; then
81494 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
81495 fi
81496
81497 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
81498 BUILD_INFO_TRUE=
81499 BUILD_INFO_FALSE='#'
81500 else
81501 BUILD_INFO_TRUE='#'
81502 BUILD_INFO_FALSE=
81503 fi
81504
81505
81506 # Check for doxygen
81507 # Extract the first word of "doxygen", so it can be a program name with args.
81508 set dummy doxygen; ac_word=$2
81509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81510 $as_echo_n "checking for $ac_word... " >&6; }
81511 if ${ac_cv_prog_DOXYGEN+:} false; then :
81512 $as_echo_n "(cached) " >&6
81513 else
81514 if test -n "$DOXYGEN"; then
81515 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
81516 else
81517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81518 for as_dir in $PATH
81519 do
81520 IFS=$as_save_IFS
81521 test -z "$as_dir" && as_dir=.
81522 for ac_exec_ext in '' $ac_executable_extensions; do
81523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81524 ac_cv_prog_DOXYGEN="yes"
81525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81526 break 2
81527 fi
81528 done
81529 done
81530 IFS=$as_save_IFS
81531
81532 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
81533 fi
81534 fi
81535 DOXYGEN=$ac_cv_prog_DOXYGEN
81536 if test -n "$DOXYGEN"; then
81537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
81538 $as_echo "$DOXYGEN" >&6; }
81539 else
81540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81541 $as_echo "no" >&6; }
81542 fi
81543
81544
81545 # Extract the first word of "dot", so it can be a program name with args.
81546 set dummy dot; ac_word=$2
81547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81548 $as_echo_n "checking for $ac_word... " >&6; }
81549 if ${ac_cv_prog_DOT+:} false; then :
81550 $as_echo_n "(cached) " >&6
81551 else
81552 if test -n "$DOT"; then
81553 ac_cv_prog_DOT="$DOT" # Let the user override the test.
81554 else
81555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81556 for as_dir in $PATH
81557 do
81558 IFS=$as_save_IFS
81559 test -z "$as_dir" && as_dir=.
81560 for ac_exec_ext in '' $ac_executable_extensions; do
81561 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81562 ac_cv_prog_DOT="yes"
81563 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81564 break 2
81565 fi
81566 done
81567 done
81568 IFS=$as_save_IFS
81569
81570 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
81571 fi
81572 fi
81573 DOT=$ac_cv_prog_DOT
81574 if test -n "$DOT"; then
81575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81576 $as_echo "$DOT" >&6; }
81577 else
81578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81579 $as_echo "no" >&6; }
81580 fi
81581
81582
81583
81584 # Check for docbook
81585 # Extract the first word of "xmlcatalog", so it can be a program name with args.
81586 set dummy xmlcatalog; ac_word=$2
81587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81588 $as_echo_n "checking for $ac_word... " >&6; }
81589 if ${ac_cv_prog_XMLCATALOG+:} false; then :
81590 $as_echo_n "(cached) " >&6
81591 else
81592 if test -n "$XMLCATALOG"; then
81593 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
81594 else
81595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81596 for as_dir in $PATH
81597 do
81598 IFS=$as_save_IFS
81599 test -z "$as_dir" && as_dir=.
81600 for ac_exec_ext in '' $ac_executable_extensions; do
81601 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81602 ac_cv_prog_XMLCATALOG="yes"
81603 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81604 break 2
81605 fi
81606 done
81607 done
81608 IFS=$as_save_IFS
81609
81610 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
81611 fi
81612 fi
81613 XMLCATALOG=$ac_cv_prog_XMLCATALOG
81614 if test -n "$XMLCATALOG"; then
81615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
81616 $as_echo "$XMLCATALOG" >&6; }
81617 else
81618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81619 $as_echo "no" >&6; }
81620 fi
81621
81622
81623 # Extract the first word of "xsltproc", so it can be a program name with args.
81624 set dummy xsltproc; ac_word=$2
81625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81626 $as_echo_n "checking for $ac_word... " >&6; }
81627 if ${ac_cv_prog_XSLTPROC+:} false; then :
81628 $as_echo_n "(cached) " >&6
81629 else
81630 if test -n "$XSLTPROC"; then
81631 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81632 else
81633 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81634 for as_dir in $PATH
81635 do
81636 IFS=$as_save_IFS
81637 test -z "$as_dir" && as_dir=.
81638 for ac_exec_ext in '' $ac_executable_extensions; do
81639 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81640 ac_cv_prog_XSLTPROC="yes"
81641 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81642 break 2
81643 fi
81644 done
81645 done
81646 IFS=$as_save_IFS
81647
81648 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81649 fi
81650 fi
81651 XSLTPROC=$ac_cv_prog_XSLTPROC
81652 if test -n "$XSLTPROC"; then
81653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81654 $as_echo "$XSLTPROC" >&6; }
81655 else
81656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81657 $as_echo "no" >&6; }
81658 fi
81659
81660
81661 # Extract the first word of "xmllint", so it can be a program name with args.
81662 set dummy xmllint; ac_word=$2
81663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81664 $as_echo_n "checking for $ac_word... " >&6; }
81665 if ${ac_cv_prog_XMLLINT+:} false; then :
81666 $as_echo_n "(cached) " >&6
81667 else
81668 if test -n "$XMLLINT"; then
81669 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81670 else
81671 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81672 for as_dir in $PATH
81673 do
81674 IFS=$as_save_IFS
81675 test -z "$as_dir" && as_dir=.
81676 for ac_exec_ext in '' $ac_executable_extensions; do
81677 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81678 ac_cv_prog_XMLLINT="yes"
81679 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81680 break 2
81681 fi
81682 done
81683 done
81684 IFS=$as_save_IFS
81685
81686 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81687 fi
81688 fi
81689 XMLLINT=$ac_cv_prog_XMLLINT
81690 if test -n "$XMLLINT"; then
81691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81692 $as_echo "$XMLLINT" >&6; }
81693 else
81694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81695 $as_echo "no" >&6; }
81696 fi
81697
81698
81699
81700
81701 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
81702
81703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81704 $as_echo_n "checking for local stylesheet directory... " >&6; }
81705 glibcxx_local_stylesheets=no
81706 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
81707 then
81708 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
81709 glibcxx_local_stylesheets=yes
81710 else
81711 for dir in \
81712 /usr/share/sgml/docbook/xsl-ns-stylesheets \
81713 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
81714 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
81715 /usr/share/xml/docbook/stylesheet/nwalsh/current
81716 do
81717 if test -d $dir; then
81718 glibcxx_local_stylesheets=yes
81719 XSL_STYLE_DIR=$dir
81720 break
81721 fi
81722 done
81723 fi
81724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81725 $as_echo "$glibcxx_local_stylesheets" >&6; }
81726
81727 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81728
81729 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81730 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81731
81732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81733 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81734 glibcxx_stylesheets=no
81735 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
81736 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
81737 glibcxx_stylesheets=yes
81738 fi
81739 fi
81740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81741 $as_echo "$glibcxx_stylesheets" >&6; }
81742
81743 else
81744 glibcxx_stylesheets=no
81745 fi
81746
81747 # Check for epub3 dependencies.
81748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81749 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81750 glibcxx_epub_stylesheets=no
81751 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81752 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81753 glibcxx_epub_stylesheets=yes
81754 fi
81755 fi
81756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81757 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81758 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81759 BUILD_EPUB_TRUE=
81760 BUILD_EPUB_FALSE='#'
81761 else
81762 BUILD_EPUB_TRUE='#'
81763 BUILD_EPUB_FALSE=
81764 fi
81765
81766
81767
81768
81769 # Check for xml/html dependencies.
81770 if test $ac_cv_prog_DOXYGEN = "yes" &&
81771 test $ac_cv_prog_DOT = "yes" &&
81772 test $ac_cv_prog_XSLTPROC = "yes" &&
81773 test $ac_cv_prog_XMLLINT = "yes" &&
81774 test $glibcxx_stylesheets = "yes"; then
81775 BUILD_XML_TRUE=
81776 BUILD_XML_FALSE='#'
81777 else
81778 BUILD_XML_TRUE='#'
81779 BUILD_XML_FALSE=
81780 fi
81781
81782
81783 if test $ac_cv_prog_DOXYGEN = "yes" &&
81784 test $ac_cv_prog_DOT = "yes" &&
81785 test $ac_cv_prog_XSLTPROC = "yes" &&
81786 test $ac_cv_prog_XMLLINT = "yes" &&
81787 test $glibcxx_stylesheets = "yes"; then
81788 BUILD_HTML_TRUE=
81789 BUILD_HTML_FALSE='#'
81790 else
81791 BUILD_HTML_TRUE='#'
81792 BUILD_HTML_FALSE=
81793 fi
81794
81795
81796 # Check for man dependencies.
81797 if test $ac_cv_prog_DOXYGEN = "yes" &&
81798 test $ac_cv_prog_DOT = "yes"; then
81799 BUILD_MAN_TRUE=
81800 BUILD_MAN_FALSE='#'
81801 else
81802 BUILD_MAN_TRUE='#'
81803 BUILD_MAN_FALSE=
81804 fi
81805
81806
81807 # Check for pdf dependencies.
81808 # Extract the first word of "dblatex", so it can be a program name with args.
81809 set dummy dblatex; ac_word=$2
81810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81811 $as_echo_n "checking for $ac_word... " >&6; }
81812 if ${ac_cv_prog_DBLATEX+:} false; then :
81813 $as_echo_n "(cached) " >&6
81814 else
81815 if test -n "$DBLATEX"; then
81816 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81817 else
81818 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81819 for as_dir in $PATH
81820 do
81821 IFS=$as_save_IFS
81822 test -z "$as_dir" && as_dir=.
81823 for ac_exec_ext in '' $ac_executable_extensions; do
81824 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81825 ac_cv_prog_DBLATEX="yes"
81826 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81827 break 2
81828 fi
81829 done
81830 done
81831 IFS=$as_save_IFS
81832
81833 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81834 fi
81835 fi
81836 DBLATEX=$ac_cv_prog_DBLATEX
81837 if test -n "$DBLATEX"; then
81838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81839 $as_echo "$DBLATEX" >&6; }
81840 else
81841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81842 $as_echo "no" >&6; }
81843 fi
81844
81845
81846 # Extract the first word of "pdflatex", so it can be a program name with args.
81847 set dummy pdflatex; ac_word=$2
81848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81849 $as_echo_n "checking for $ac_word... " >&6; }
81850 if ${ac_cv_prog_PDFLATEX+:} false; then :
81851 $as_echo_n "(cached) " >&6
81852 else
81853 if test -n "$PDFLATEX"; then
81854 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81855 else
81856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81857 for as_dir in $PATH
81858 do
81859 IFS=$as_save_IFS
81860 test -z "$as_dir" && as_dir=.
81861 for ac_exec_ext in '' $ac_executable_extensions; do
81862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81863 ac_cv_prog_PDFLATEX="yes"
81864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81865 break 2
81866 fi
81867 done
81868 done
81869 IFS=$as_save_IFS
81870
81871 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81872 fi
81873 fi
81874 PDFLATEX=$ac_cv_prog_PDFLATEX
81875 if test -n "$PDFLATEX"; then
81876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81877 $as_echo "$PDFLATEX" >&6; }
81878 else
81879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81880 $as_echo "no" >&6; }
81881 fi
81882
81883
81884 if test $ac_cv_prog_DOXYGEN = "yes" &&
81885 test $ac_cv_prog_DOT = "yes" &&
81886 test $ac_cv_prog_XSLTPROC = "yes" &&
81887 test $ac_cv_prog_XMLLINT = "yes" &&
81888 test $ac_cv_prog_DBLATEX = "yes" &&
81889 test $ac_cv_prog_PDFLATEX = "yes"; then
81890 BUILD_PDF_TRUE=
81891 BUILD_PDF_FALSE='#'
81892 else
81893 BUILD_PDF_TRUE='#'
81894 BUILD_PDF_FALSE=
81895 fi
81896
81897
81898 case "$build" in
81899 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81900 * ) glibcxx_include_dir_notparallel=no ;;
81901 esac
81902 if test $glibcxx_include_dir_notparallel = "yes"; then
81903 INCLUDE_DIR_NOTPARALLEL_TRUE=
81904 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81905 else
81906 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81907 INCLUDE_DIR_NOTPARALLEL_FALSE=
81908 fi
81909
81910
81911 # Propagate the target-specific source directories through the build chain.
81912 ATOMICITY_SRCDIR=config/${atomicity_dir}
81913 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81914 ATOMIC_FLAGS=${atomic_flags}
81915 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81916 OS_INC_SRCDIR=config/${os_include_dir}
81917 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81918 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81919 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81920 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81921
81922
81923
81924
81925
81926
81927
81928
81929
81930
81931
81932 # Add CET specific flags if Intel CET is enabled.
81933 # Check whether --enable-cet was given.
81934 if test "${enable_cet+set}" = set; then :
81935 enableval=$enable_cet;
81936 case "$enableval" in
81937 yes|no|auto) ;;
81938 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81939 esac
81940
81941 else
81942 enable_cet=no
81943 fi
81944
81945
81946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81947 $as_echo_n "checking for CET support... " >&6; }
81948
81949 case "$host" in
81950 i[34567]86-*-linux* | x86_64-*-linux*)
81951 case "$enable_cet" in
81952 auto)
81953 # Check if target supports multi-byte NOPs
81954 # and if assembler supports CET insn.
81955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81956 /* end confdefs.h. */
81957
81958 int
81959 main ()
81960 {
81961
81962 #if !defined(__SSE2__)
81963 #error target does not support multi-byte NOPs
81964 #else
81965 asm ("setssbsy");
81966 #endif
81967
81968 ;
81969 return 0;
81970 }
81971 _ACEOF
81972 if ac_fn_c_try_compile "$LINENO"; then :
81973 enable_cet=yes
81974 else
81975 enable_cet=no
81976 fi
81977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81978 ;;
81979 yes)
81980 # Check if assembler supports CET.
81981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81982 /* end confdefs.h. */
81983
81984 int
81985 main ()
81986 {
81987 asm ("setssbsy");
81988 ;
81989 return 0;
81990 }
81991 _ACEOF
81992 if ac_fn_c_try_compile "$LINENO"; then :
81993
81994 else
81995 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
81996 fi
81997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81998 ;;
81999 esac
82000 ;;
82001 *)
82002 enable_cet=no
82003 ;;
82004 esac
82005 if test x$enable_cet = xyes; then
82006 CET_FLAGS="-fcf-protection -mshstk"
82007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
82008 $as_echo "yes" >&6; }
82009 else
82010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
82011 $as_echo "no" >&6; }
82012 fi
82013
82014 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
82015 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
82016
82017
82018
82019 # Determine cross-compile flags and AM_CONDITIONALs.
82020 #AC_SUBST(GLIBCXX_IS_NATIVE)
82021 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
82022 if test $is_hosted = yes; then
82023 GLIBCXX_HOSTED_TRUE=
82024 GLIBCXX_HOSTED_FALSE='#'
82025 else
82026 GLIBCXX_HOSTED_TRUE='#'
82027 GLIBCXX_HOSTED_FALSE=
82028 fi
82029
82030
82031 if test $enable_libstdcxx_pch = yes; then
82032 GLIBCXX_BUILD_PCH_TRUE=
82033 GLIBCXX_BUILD_PCH_FALSE='#'
82034 else
82035 GLIBCXX_BUILD_PCH_TRUE='#'
82036 GLIBCXX_BUILD_PCH_FALSE=
82037 fi
82038
82039
82040 if test $enable_float128 = yes; then
82041 ENABLE_FLOAT128_TRUE=
82042 ENABLE_FLOAT128_FALSE='#'
82043 else
82044 ENABLE_FLOAT128_TRUE='#'
82045 ENABLE_FLOAT128_FALSE=
82046 fi
82047
82048
82049 if test $enable_libstdcxx_allocator_flag = new; then
82050 ENABLE_ALLOCATOR_NEW_TRUE=
82051 ENABLE_ALLOCATOR_NEW_FALSE='#'
82052 else
82053 ENABLE_ALLOCATOR_NEW_TRUE='#'
82054 ENABLE_ALLOCATOR_NEW_FALSE=
82055 fi
82056
82057
82058 if test $enable_cheaders = c; then
82059 GLIBCXX_C_HEADERS_C_TRUE=
82060 GLIBCXX_C_HEADERS_C_FALSE='#'
82061 else
82062 GLIBCXX_C_HEADERS_C_TRUE='#'
82063 GLIBCXX_C_HEADERS_C_FALSE=
82064 fi
82065
82066
82067 if test $enable_cheaders = c_std; then
82068 GLIBCXX_C_HEADERS_C_STD_TRUE=
82069 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
82070 else
82071 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
82072 GLIBCXX_C_HEADERS_C_STD_FALSE=
82073 fi
82074
82075
82076 if test $enable_cheaders = c_global; then
82077 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
82078 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
82079 else
82080 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
82081 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
82082 fi
82083
82084
82085 if test $c_compatibility = yes; then
82086 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
82087 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
82088 else
82089 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
82090 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
82091 fi
82092
82093
82094 if test $enable_libstdcxx_debug = yes; then
82095 GLIBCXX_BUILD_DEBUG_TRUE=
82096 GLIBCXX_BUILD_DEBUG_FALSE='#'
82097 else
82098 GLIBCXX_BUILD_DEBUG_TRUE='#'
82099 GLIBCXX_BUILD_DEBUG_FALSE=
82100 fi
82101
82102
82103 if test $enable_extern_template = yes; then
82104 ENABLE_EXTERN_TEMPLATE_TRUE=
82105 ENABLE_EXTERN_TEMPLATE_FALSE='#'
82106 else
82107 ENABLE_EXTERN_TEMPLATE_TRUE='#'
82108 ENABLE_EXTERN_TEMPLATE_FALSE=
82109 fi
82110
82111
82112 if test $python_mod_dir != no; then
82113 ENABLE_PYTHONDIR_TRUE=
82114 ENABLE_PYTHONDIR_FALSE='#'
82115 else
82116 ENABLE_PYTHONDIR_TRUE='#'
82117 ENABLE_PYTHONDIR_FALSE=
82118 fi
82119
82120
82121 if test $enable_werror = yes; then
82122 ENABLE_WERROR_TRUE=
82123 ENABLE_WERROR_FALSE='#'
82124 else
82125 ENABLE_WERROR_TRUE='#'
82126 ENABLE_WERROR_FALSE=
82127 fi
82128
82129
82130 if test $enable_vtable_verify = yes; then
82131 ENABLE_VTABLE_VERIFY_TRUE=
82132 ENABLE_VTABLE_VERIFY_FALSE='#'
82133 else
82134 ENABLE_VTABLE_VERIFY_TRUE='#'
82135 ENABLE_VTABLE_VERIFY_FALSE=
82136 fi
82137
82138
82139 if test $enable_symvers != no; then
82140 ENABLE_SYMVERS_TRUE=
82141 ENABLE_SYMVERS_FALSE='#'
82142 else
82143 ENABLE_SYMVERS_TRUE='#'
82144 ENABLE_SYMVERS_FALSE=
82145 fi
82146
82147
82148 if test $enable_symvers = gnu; then
82149 ENABLE_SYMVERS_GNU_TRUE=
82150 ENABLE_SYMVERS_GNU_FALSE='#'
82151 else
82152 ENABLE_SYMVERS_GNU_TRUE='#'
82153 ENABLE_SYMVERS_GNU_FALSE=
82154 fi
82155
82156
82157 if test $enable_symvers = gnu-versioned-namespace; then
82158 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
82159 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
82160 else
82161 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
82162 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
82163 fi
82164
82165
82166 if test $enable_symvers = darwin; then
82167 ENABLE_SYMVERS_DARWIN_TRUE=
82168 ENABLE_SYMVERS_DARWIN_FALSE='#'
82169 else
82170 ENABLE_SYMVERS_DARWIN_TRUE='#'
82171 ENABLE_SYMVERS_DARWIN_FALSE=
82172 fi
82173
82174
82175 if test $enable_symvers = sun; then
82176 ENABLE_SYMVERS_SUN_TRUE=
82177 ENABLE_SYMVERS_SUN_FALSE='#'
82178 else
82179 ENABLE_SYMVERS_SUN_TRUE='#'
82180 ENABLE_SYMVERS_SUN_FALSE=
82181 fi
82182
82183
82184 if test $enable_libstdcxx_visibility = yes; then
82185 ENABLE_VISIBILITY_TRUE=
82186 ENABLE_VISIBILITY_FALSE='#'
82187 else
82188 ENABLE_VISIBILITY_TRUE='#'
82189 ENABLE_VISIBILITY_FALSE=
82190 fi
82191
82192
82193 if test $enable_libstdcxx_dual_abi = yes; then
82194 ENABLE_DUAL_ABI_TRUE=
82195 ENABLE_DUAL_ABI_FALSE='#'
82196 else
82197 ENABLE_DUAL_ABI_TRUE='#'
82198 ENABLE_DUAL_ABI_FALSE=
82199 fi
82200
82201
82202 if test $glibcxx_cxx11_abi = 1; then
82203 ENABLE_CXX11_ABI_TRUE=
82204 ENABLE_CXX11_ABI_FALSE='#'
82205 else
82206 ENABLE_CXX11_ABI_TRUE='#'
82207 ENABLE_CXX11_ABI_FALSE=
82208 fi
82209
82210
82211 if test $ac_ldbl_compat = yes; then
82212 GLIBCXX_LDBL_COMPAT_TRUE=
82213 GLIBCXX_LDBL_COMPAT_FALSE='#'
82214 else
82215 GLIBCXX_LDBL_COMPAT_TRUE='#'
82216 GLIBCXX_LDBL_COMPAT_FALSE=
82217 fi
82218
82219
82220 if test $enable_libstdcxx_filesystem_ts = yes; then
82221 ENABLE_FILESYSTEM_TS_TRUE=
82222 ENABLE_FILESYSTEM_TS_FALSE='#'
82223 else
82224 ENABLE_FILESYSTEM_TS_TRUE='#'
82225 ENABLE_FILESYSTEM_TS_FALSE=
82226 fi
82227
82228
82229
82230
82231 cat >confcache <<\_ACEOF
82232 # This file is a shell script that caches the results of configure
82233 # tests run on this system so they can be shared between configure
82234 # scripts and configure runs, see configure's option --config-cache.
82235 # It is not useful on other systems. If it contains results you don't
82236 # want to keep, you may remove or edit it.
82237 #
82238 # config.status only pays attention to the cache file if you give it
82239 # the --recheck option to rerun configure.
82240 #
82241 # `ac_cv_env_foo' variables (set or unset) will be overridden when
82242 # loading this file, other *unset* `ac_cv_foo' will be assigned the
82243 # following values.
82244
82245 _ACEOF
82246
82247 # The following way of writing the cache mishandles newlines in values,
82248 # but we know of no workaround that is simple, portable, and efficient.
82249 # So, we kill variables containing newlines.
82250 # Ultrix sh set writes to stderr and can't be redirected directly,
82251 # and sets the high bit in the cache file unless we assign to the vars.
82252 (
82253 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82254 eval ac_val=\$$ac_var
82255 case $ac_val in #(
82256 *${as_nl}*)
82257 case $ac_var in #(
82258 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82259 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82260 esac
82261 case $ac_var in #(
82262 _ | IFS | as_nl) ;; #(
82263 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82264 *) { eval $ac_var=; unset $ac_var;} ;;
82265 esac ;;
82266 esac
82267 done
82268
82269 (set) 2>&1 |
82270 case $as_nl`(ac_space=' '; set) 2>&1` in #(
82271 *${as_nl}ac_space=\ *)
82272 # `set' does not quote correctly, so add quotes: double-quote
82273 # substitution turns \\\\ into \\, and sed turns \\ into \.
82274 sed -n \
82275 "s/'/'\\\\''/g;
82276 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82277 ;; #(
82278 *)
82279 # `set' quotes correctly as required by POSIX, so do not add quotes.
82280 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82281 ;;
82282 esac |
82283 sort
82284 ) |
82285 sed '
82286 /^ac_cv_env_/b end
82287 t clear
82288 :clear
82289 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82290 t end
82291 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82292 :end' >>confcache
82293 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82294 if test -w "$cache_file"; then
82295 if test "x$cache_file" != "x/dev/null"; then
82296 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82297 $as_echo "$as_me: updating cache $cache_file" >&6;}
82298 if test ! -f "$cache_file" || test -h "$cache_file"; then
82299 cat confcache >"$cache_file"
82300 else
82301 case $cache_file in #(
82302 */* | ?:*)
82303 mv -f confcache "$cache_file"$$ &&
82304 mv -f "$cache_file"$$ "$cache_file" ;; #(
82305 *)
82306 mv -f confcache "$cache_file" ;;
82307 esac
82308 fi
82309 fi
82310 else
82311 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82312 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82313 fi
82314 fi
82315 rm -f confcache
82316
82317 if test ${multilib} = yes; then
82318 multilib_arg="--enable-multilib"
82319 else
82320 multilib_arg=
82321 fi
82322
82323 # Export all the install information.
82324
82325 glibcxx_toolexecdir=no
82326 glibcxx_toolexeclibdir=no
82327 glibcxx_prefixdir=$prefix
82328
82329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
82330 $as_echo_n "checking for gxx-include-dir... " >&6; }
82331
82332 # Check whether --with-gxx-include-dir was given.
82333 if test "${with_gxx_include_dir+set}" = set; then :
82334 withval=$with_gxx_include_dir; case "$withval" in
82335 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
82336 no) gxx_include_dir=no ;;
82337 *) gxx_include_dir=$withval ;;
82338 esac
82339 else
82340 gxx_include_dir=no
82341 fi
82342
82343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
82344 $as_echo "$gxx_include_dir" >&6; }
82345
82346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
82347 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
82348 # Check whether --enable-version-specific-runtime-libs was given.
82349 if test "${enable_version_specific_runtime_libs+set}" = set; then :
82350 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
82351 yes) version_specific_libs=yes ;;
82352 no) version_specific_libs=no ;;
82353 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
82354 esac
82355 else
82356 version_specific_libs=no
82357 fi
82358
82359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
82360 $as_echo "$version_specific_libs" >&6; }
82361
82362 # Default case for install directory for include files.
82363 if test $version_specific_libs = no && test $gxx_include_dir = no; then
82364 gxx_include_dir='include/c++/${gcc_version}'
82365 if test -n "$with_cross_host" &&
82366 test x"$with_cross_host" != x"no"; then
82367 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
82368 else
82369 gxx_include_dir='${prefix}/'"$gxx_include_dir"
82370 fi
82371 fi
82372
82373 # Version-specific runtime libs processing.
82374 if test $version_specific_libs = yes; then
82375 # Need the gcc compiler version to know where to install libraries
82376 # and header files if --enable-version-specific-runtime-libs option
82377 # is selected. FIXME: these variables are misnamed, there are
82378 # no executables installed in _toolexecdir or _toolexeclibdir.
82379 if test x"$gxx_include_dir" = x"no"; then
82380 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
82381 fi
82382 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
82383 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
82384 fi
82385
82386 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
82387 # Install a library built with a cross compiler in tooldir, not libdir.
82388 if test x"$glibcxx_toolexecdir" = x"no"; then
82389 if test -n "$with_cross_host" &&
82390 test x"$with_cross_host" != x"no"; then
82391 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
82392 glibcxx_toolexeclibdir='${toolexecdir}/lib'
82393 else
82394 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
82395 glibcxx_toolexeclibdir='${libdir}'
82396 fi
82397 multi_os_directory=`$CXX -print-multi-os-directory`
82398 case $multi_os_directory in
82399 .) ;; # Avoid trailing /.
82400 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
82401 esac
82402 fi
82403
82404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
82405 $as_echo_n "checking for install location... " >&6; }
82406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
82407 $as_echo "$gxx_include_dir" >&6; }
82408
82409
82410
82411
82412
82413
82414
82415 # Export all the include and flag information to Makefiles.
82416
82417 # Used for every C++ compile we perform.
82418 GLIBCXX_INCLUDES="\
82419 -I$glibcxx_builddir/include/$host_alias \
82420 -I$glibcxx_builddir/include \
82421 -I$glibcxx_srcdir/libsupc++"
82422
82423 # For Canadian crosses, pick this up too.
82424 if test $CANADIAN = yes; then
82425 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
82426 fi
82427
82428 # Stuff in the actual top level. Currently only used by libsupc++ to
82429 # get unwind* headers from the libgcc dir.
82430 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
82431 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
82432
82433 # Now, export this to all the little Makefiles....
82434
82435
82436
82437
82438 # Optimization flags that are probably a good idea for thrill-seekers. Just
82439 # uncomment the lines below and make, everything else is ready to go...
82440 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
82441 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
82442
82443
82444 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
82445
82446
82447
82448 # Determine what GCC version number to use in filesystem paths.
82449
82450 get_gcc_base_ver="cat"
82451
82452 # Check whether --with-gcc-major-version-only was given.
82453 if test "${with_gcc_major_version_only+set}" = set; then :
82454 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
82455 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
82456 fi
82457
82458 fi
82459
82460
82461
82462
82463 ac_config_files="$ac_config_files Makefile"
82464
82465 ac_config_files="$ac_config_files scripts/testsuite_flags"
82466
82467 ac_config_files="$ac_config_files scripts/extract_symvers"
82468
82469 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
82470
82471
82472 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
82473 # that multilib installs will end up installed in the correct place.
82474 # The testsuite needs it for multilib-aware ABI baseline files.
82475 # To work around this not being passed down from config-ml.in ->
82476 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
82477 # append it here. Only modify Makefiles that have just been created.
82478 #
82479 # Also, get rid of this simulated-VPATH thing that automake does.
82480 ac_config_files="$ac_config_files include/Makefile libsupc++/Makefile src/Makefile src/c++98/Makefile src/c++11/Makefile src/c++17/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
82481
82482
82483 ac_config_commands="$ac_config_commands generate-headers"
82484
82485
82486 cat >confcache <<\_ACEOF
82487 # This file is a shell script that caches the results of configure
82488 # tests run on this system so they can be shared between configure
82489 # scripts and configure runs, see configure's option --config-cache.
82490 # It is not useful on other systems. If it contains results you don't
82491 # want to keep, you may remove or edit it.
82492 #
82493 # config.status only pays attention to the cache file if you give it
82494 # the --recheck option to rerun configure.
82495 #
82496 # `ac_cv_env_foo' variables (set or unset) will be overridden when
82497 # loading this file, other *unset* `ac_cv_foo' will be assigned the
82498 # following values.
82499
82500 _ACEOF
82501
82502 # The following way of writing the cache mishandles newlines in values,
82503 # but we know of no workaround that is simple, portable, and efficient.
82504 # So, we kill variables containing newlines.
82505 # Ultrix sh set writes to stderr and can't be redirected directly,
82506 # and sets the high bit in the cache file unless we assign to the vars.
82507 (
82508 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82509 eval ac_val=\$$ac_var
82510 case $ac_val in #(
82511 *${as_nl}*)
82512 case $ac_var in #(
82513 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82514 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82515 esac
82516 case $ac_var in #(
82517 _ | IFS | as_nl) ;; #(
82518 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82519 *) { eval $ac_var=; unset $ac_var;} ;;
82520 esac ;;
82521 esac
82522 done
82523
82524 (set) 2>&1 |
82525 case $as_nl`(ac_space=' '; set) 2>&1` in #(
82526 *${as_nl}ac_space=\ *)
82527 # `set' does not quote correctly, so add quotes: double-quote
82528 # substitution turns \\\\ into \\, and sed turns \\ into \.
82529 sed -n \
82530 "s/'/'\\\\''/g;
82531 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82532 ;; #(
82533 *)
82534 # `set' quotes correctly as required by POSIX, so do not add quotes.
82535 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82536 ;;
82537 esac |
82538 sort
82539 ) |
82540 sed '
82541 /^ac_cv_env_/b end
82542 t clear
82543 :clear
82544 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82545 t end
82546 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82547 :end' >>confcache
82548 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82549 if test -w "$cache_file"; then
82550 if test "x$cache_file" != "x/dev/null"; then
82551 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82552 $as_echo "$as_me: updating cache $cache_file" >&6;}
82553 if test ! -f "$cache_file" || test -h "$cache_file"; then
82554 cat confcache >"$cache_file"
82555 else
82556 case $cache_file in #(
82557 */* | ?:*)
82558 mv -f confcache "$cache_file"$$ &&
82559 mv -f "$cache_file"$$ "$cache_file" ;; #(
82560 *)
82561 mv -f confcache "$cache_file" ;;
82562 esac
82563 fi
82564 fi
82565 else
82566 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82567 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82568 fi
82569 fi
82570 rm -f confcache
82571
82572 test "x$prefix" = xNONE && prefix=$ac_default_prefix
82573 # Let make expand exec_prefix.
82574 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
82575
82576 DEFS=-DHAVE_CONFIG_H
82577
82578 ac_libobjs=
82579 ac_ltlibobjs=
82580 U=
82581 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
82582 # 1. Remove the extension, and $U if already installed.
82583 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
82584 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
82585 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
82586 # will be set to the directory where LIBOBJS objects are built.
82587 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
82588 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
82589 done
82590 LIBOBJS=$ac_libobjs
82591
82592 LTLIBOBJS=$ac_ltlibobjs
82593
82594
82595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
82596 $as_echo_n "checking that generated files are newer than configure... " >&6; }
82597 if test -n "$am_sleep_pid"; then
82598 # Hide warnings about reused PIDs.
82599 wait $am_sleep_pid 2>/dev/null
82600 fi
82601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
82602 $as_echo "done" >&6; }
82603 if test -n "$EXEEXT"; then
82604 am__EXEEXT_TRUE=
82605 am__EXEEXT_FALSE='#'
82606 else
82607 am__EXEEXT_TRUE='#'
82608 am__EXEEXT_FALSE=
82609 fi
82610
82611 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
82612 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
82613 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82614 fi
82615 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
82616 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
82617 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82618 fi
82619 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
82620 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
82621 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82622 fi
82623 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
82624 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
82625 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82626 fi
82627 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
82628 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
82629 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82630 fi
82631 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
82632 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
82633 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82634 fi
82635 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
82636 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
82637 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82638 fi
82639 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
82640 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
82641 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82642 fi
82643 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
82644 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
82645 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82646 fi
82647 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
82648 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
82649 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82650 fi
82651 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
82652 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
82653 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82654 fi
82655 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82656 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
82657 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82658 fi
82659 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82660 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
82661 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82662 fi
82663 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82664 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
82665 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82666 fi
82667 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82668 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82669 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82670 fi
82671 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82672 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
82673 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82674 fi
82675 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82676 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82677 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82678 fi
82679 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82680 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82681 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82682 fi
82683 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82684 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82685 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82686 fi
82687 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82688 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82689 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82690 fi
82691 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82692 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
82693 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82694 fi
82695 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82696 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
82697 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82698 fi
82699 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82700 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
82701 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82702 fi
82703 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82704 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82705 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82706 fi
82707 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82708 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82709 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82710 fi
82711 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82712 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
82713 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82714 fi
82715 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82716 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
82717 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82718 fi
82719 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82720 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
82721 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82722 fi
82723 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82724 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
82725 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82726 fi
82727 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82728 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
82729 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82730 fi
82731 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82732 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
82733 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82734 fi
82735 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82736 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82737 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82738 fi
82739
82740 : "${CONFIG_STATUS=./config.status}"
82741 ac_write_fail=0
82742 ac_clean_files_save=$ac_clean_files
82743 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82744 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82745 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82746 as_write_fail=0
82747 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82748 #! $SHELL
82749 # Generated by $as_me.
82750 # Run this file to recreate the current configuration.
82751 # Compiler output produced by configure, useful for debugging
82752 # configure, is in config.log if it exists.
82753
82754 debug=false
82755 ac_cs_recheck=false
82756 ac_cs_silent=false
82757
82758 SHELL=\${CONFIG_SHELL-$SHELL}
82759 export SHELL
82760 _ASEOF
82761 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82762 ## -------------------- ##
82763 ## M4sh Initialization. ##
82764 ## -------------------- ##
82765
82766 # Be more Bourne compatible
82767 DUALCASE=1; export DUALCASE # for MKS sh
82768 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82769 emulate sh
82770 NULLCMD=:
82771 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82772 # is contrary to our usage. Disable this feature.
82773 alias -g '${1+"$@"}'='"$@"'
82774 setopt NO_GLOB_SUBST
82775 else
82776 case `(set -o) 2>/dev/null` in #(
82777 *posix*) :
82778 set -o posix ;; #(
82779 *) :
82780 ;;
82781 esac
82782 fi
82783
82784
82785 as_nl='
82786 '
82787 export as_nl
82788 # Printing a long string crashes Solaris 7 /usr/bin/printf.
82789 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82790 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82791 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82792 # Prefer a ksh shell builtin over an external printf program on Solaris,
82793 # but without wasting forks for bash or zsh.
82794 if test -z "$BASH_VERSION$ZSH_VERSION" \
82795 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82796 as_echo='print -r --'
82797 as_echo_n='print -rn --'
82798 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82799 as_echo='printf %s\n'
82800 as_echo_n='printf %s'
82801 else
82802 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82803 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82804 as_echo_n='/usr/ucb/echo -n'
82805 else
82806 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82807 as_echo_n_body='eval
82808 arg=$1;
82809 case $arg in #(
82810 *"$as_nl"*)
82811 expr "X$arg" : "X\\(.*\\)$as_nl";
82812 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82813 esac;
82814 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82815 '
82816 export as_echo_n_body
82817 as_echo_n='sh -c $as_echo_n_body as_echo'
82818 fi
82819 export as_echo_body
82820 as_echo='sh -c $as_echo_body as_echo'
82821 fi
82822
82823 # The user is always right.
82824 if test "${PATH_SEPARATOR+set}" != set; then
82825 PATH_SEPARATOR=:
82826 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82827 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82828 PATH_SEPARATOR=';'
82829 }
82830 fi
82831
82832
82833 # IFS
82834 # We need space, tab and new line, in precisely that order. Quoting is
82835 # there to prevent editors from complaining about space-tab.
82836 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82837 # splitting by setting IFS to empty value.)
82838 IFS=" "" $as_nl"
82839
82840 # Find who we are. Look in the path if we contain no directory separator.
82841 as_myself=
82842 case $0 in #((
82843 *[\\/]* ) as_myself=$0 ;;
82844 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82845 for as_dir in $PATH
82846 do
82847 IFS=$as_save_IFS
82848 test -z "$as_dir" && as_dir=.
82849 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82850 done
82851 IFS=$as_save_IFS
82852
82853 ;;
82854 esac
82855 # We did not find ourselves, most probably we were run as `sh COMMAND'
82856 # in which case we are not to be found in the path.
82857 if test "x$as_myself" = x; then
82858 as_myself=$0
82859 fi
82860 if test ! -f "$as_myself"; then
82861 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82862 exit 1
82863 fi
82864
82865 # Unset variables that we do not need and which cause bugs (e.g. in
82866 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82867 # suppresses any "Segmentation fault" message there. '((' could
82868 # trigger a bug in pdksh 5.2.14.
82869 for as_var in BASH_ENV ENV MAIL MAILPATH
82870 do eval test x\${$as_var+set} = xset \
82871 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82872 done
82873 PS1='$ '
82874 PS2='> '
82875 PS4='+ '
82876
82877 # NLS nuisances.
82878 LC_ALL=C
82879 export LC_ALL
82880 LANGUAGE=C
82881 export LANGUAGE
82882
82883 # CDPATH.
82884 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82885
82886
82887 # as_fn_error STATUS ERROR [LINENO LOG_FD]
82888 # ----------------------------------------
82889 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82890 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82891 # script with STATUS, using 1 if that was 0.
82892 as_fn_error ()
82893 {
82894 as_status=$1; test $as_status -eq 0 && as_status=1
82895 if test "$4"; then
82896 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82897 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
82898 fi
82899 $as_echo "$as_me: error: $2" >&2
82900 as_fn_exit $as_status
82901 } # as_fn_error
82902
82903
82904 # as_fn_set_status STATUS
82905 # -----------------------
82906 # Set $? to STATUS, without forking.
82907 as_fn_set_status ()
82908 {
82909 return $1
82910 } # as_fn_set_status
82911
82912 # as_fn_exit STATUS
82913 # -----------------
82914 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82915 as_fn_exit ()
82916 {
82917 set +e
82918 as_fn_set_status $1
82919 exit $1
82920 } # as_fn_exit
82921
82922 # as_fn_unset VAR
82923 # ---------------
82924 # Portably unset VAR.
82925 as_fn_unset ()
82926 {
82927 { eval $1=; unset $1;}
82928 }
82929 as_unset=as_fn_unset
82930 # as_fn_append VAR VALUE
82931 # ----------------------
82932 # Append the text in VALUE to the end of the definition contained in VAR. Take
82933 # advantage of any shell optimizations that allow amortized linear growth over
82934 # repeated appends, instead of the typical quadratic growth present in naive
82935 # implementations.
82936 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82937 eval 'as_fn_append ()
82938 {
82939 eval $1+=\$2
82940 }'
82941 else
82942 as_fn_append ()
82943 {
82944 eval $1=\$$1\$2
82945 }
82946 fi # as_fn_append
82947
82948 # as_fn_arith ARG...
82949 # ------------------
82950 # Perform arithmetic evaluation on the ARGs, and store the result in the
82951 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82952 # must be portable across $(()) and expr.
82953 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82954 eval 'as_fn_arith ()
82955 {
82956 as_val=$(( $* ))
82957 }'
82958 else
82959 as_fn_arith ()
82960 {
82961 as_val=`expr "$@" || test $? -eq 1`
82962 }
82963 fi # as_fn_arith
82964
82965
82966 if expr a : '\(a\)' >/dev/null 2>&1 &&
82967 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82968 as_expr=expr
82969 else
82970 as_expr=false
82971 fi
82972
82973 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82974 as_basename=basename
82975 else
82976 as_basename=false
82977 fi
82978
82979 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82980 as_dirname=dirname
82981 else
82982 as_dirname=false
82983 fi
82984
82985 as_me=`$as_basename -- "$0" ||
82986 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82987 X"$0" : 'X\(//\)$' \| \
82988 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82989 $as_echo X/"$0" |
82990 sed '/^.*\/\([^/][^/]*\)\/*$/{
82991 s//\1/
82992 q
82993 }
82994 /^X\/\(\/\/\)$/{
82995 s//\1/
82996 q
82997 }
82998 /^X\/\(\/\).*/{
82999 s//\1/
83000 q
83001 }
83002 s/.*/./; q'`
83003
83004 # Avoid depending upon Character Ranges.
83005 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
83006 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
83007 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
83008 as_cr_digits='0123456789'
83009 as_cr_alnum=$as_cr_Letters$as_cr_digits
83010
83011 ECHO_C= ECHO_N= ECHO_T=
83012 case `echo -n x` in #(((((
83013 -n*)
83014 case `echo 'xy\c'` in
83015 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
83016 xy) ECHO_C='\c';;
83017 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
83018 ECHO_T=' ';;
83019 esac;;
83020 *)
83021 ECHO_N='-n';;
83022 esac
83023
83024 rm -f conf$$ conf$$.exe conf$$.file
83025 if test -d conf$$.dir; then
83026 rm -f conf$$.dir/conf$$.file
83027 else
83028 rm -f conf$$.dir
83029 mkdir conf$$.dir 2>/dev/null
83030 fi
83031 if (echo >conf$$.file) 2>/dev/null; then
83032 if ln -s conf$$.file conf$$ 2>/dev/null; then
83033 as_ln_s='ln -s'
83034 # ... but there are two gotchas:
83035 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
83036 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
83037 # In both cases, we have to default to `cp -pR'.
83038 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
83039 as_ln_s='cp -pR'
83040 elif ln conf$$.file conf$$ 2>/dev/null; then
83041 as_ln_s=ln
83042 else
83043 as_ln_s='cp -pR'
83044 fi
83045 else
83046 as_ln_s='cp -pR'
83047 fi
83048 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
83049 rmdir conf$$.dir 2>/dev/null
83050
83051
83052 # as_fn_mkdir_p
83053 # -------------
83054 # Create "$as_dir" as a directory, including parents if necessary.
83055 as_fn_mkdir_p ()
83056 {
83057
83058 case $as_dir in #(
83059 -*) as_dir=./$as_dir;;
83060 esac
83061 test -d "$as_dir" || eval $as_mkdir_p || {
83062 as_dirs=
83063 while :; do
83064 case $as_dir in #(
83065 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
83066 *) as_qdir=$as_dir;;
83067 esac
83068 as_dirs="'$as_qdir' $as_dirs"
83069 as_dir=`$as_dirname -- "$as_dir" ||
83070 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83071 X"$as_dir" : 'X\(//\)[^/]' \| \
83072 X"$as_dir" : 'X\(//\)$' \| \
83073 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
83074 $as_echo X"$as_dir" |
83075 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83076 s//\1/
83077 q
83078 }
83079 /^X\(\/\/\)[^/].*/{
83080 s//\1/
83081 q
83082 }
83083 /^X\(\/\/\)$/{
83084 s//\1/
83085 q
83086 }
83087 /^X\(\/\).*/{
83088 s//\1/
83089 q
83090 }
83091 s/.*/./; q'`
83092 test -d "$as_dir" && break
83093 done
83094 test -z "$as_dirs" || eval "mkdir $as_dirs"
83095 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
83096
83097
83098 } # as_fn_mkdir_p
83099 if mkdir -p . 2>/dev/null; then
83100 as_mkdir_p='mkdir -p "$as_dir"'
83101 else
83102 test -d ./-p && rmdir ./-p
83103 as_mkdir_p=false
83104 fi
83105
83106
83107 # as_fn_executable_p FILE
83108 # -----------------------
83109 # Test if FILE is an executable regular file.
83110 as_fn_executable_p ()
83111 {
83112 test -f "$1" && test -x "$1"
83113 } # as_fn_executable_p
83114 as_test_x='test -x'
83115 as_executable_p=as_fn_executable_p
83116
83117 # Sed expression to map a string onto a valid CPP name.
83118 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
83119
83120 # Sed expression to map a string onto a valid variable name.
83121 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
83122
83123
83124 exec 6>&1
83125 ## ----------------------------------- ##
83126 ## Main body of $CONFIG_STATUS script. ##
83127 ## ----------------------------------- ##
83128 _ASEOF
83129 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
83130
83131 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83132 # Save the log message, to keep $0 and so on meaningful, and to
83133 # report actual input values of CONFIG_FILES etc. instead of their
83134 # values after options handling.
83135 ac_log="
83136 This file was extended by package-unused $as_me version-unused, which was
83137 generated by GNU Autoconf 2.69. Invocation command line was
83138
83139 CONFIG_FILES = $CONFIG_FILES
83140 CONFIG_HEADERS = $CONFIG_HEADERS
83141 CONFIG_LINKS = $CONFIG_LINKS
83142 CONFIG_COMMANDS = $CONFIG_COMMANDS
83143 $ $0 $@
83144
83145 on `(hostname || uname -n) 2>/dev/null | sed 1q`
83146 "
83147
83148 _ACEOF
83149
83150 case $ac_config_files in *"
83151 "*) set x $ac_config_files; shift; ac_config_files=$*;;
83152 esac
83153
83154 case $ac_config_headers in *"
83155 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
83156 esac
83157
83158
83159 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83160 # Files that config.status was made for.
83161 config_files="$ac_config_files"
83162 config_headers="$ac_config_headers"
83163 config_commands="$ac_config_commands"
83164
83165 _ACEOF
83166
83167 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83168 ac_cs_usage="\
83169 \`$as_me' instantiates files and other configuration actions
83170 from templates according to the current configuration. Unless the files
83171 and actions are specified as TAGs, all are instantiated by default.
83172
83173 Usage: $0 [OPTION]... [TAG]...
83174
83175 -h, --help print this help, then exit
83176 -V, --version print version number and configuration settings, then exit
83177 --config print configuration, then exit
83178 -q, --quiet, --silent
83179 do not print progress messages
83180 -d, --debug don't remove temporary files
83181 --recheck update $as_me by reconfiguring in the same conditions
83182 --file=FILE[:TEMPLATE]
83183 instantiate the configuration file FILE
83184 --header=FILE[:TEMPLATE]
83185 instantiate the configuration header FILE
83186
83187 Configuration files:
83188 $config_files
83189
83190 Configuration headers:
83191 $config_headers
83192
83193 Configuration commands:
83194 $config_commands
83195
83196 Report bugs to the package provider."
83197
83198 _ACEOF
83199 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83200 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
83201 ac_cs_version="\\
83202 package-unused config.status version-unused
83203 configured by $0, generated by GNU Autoconf 2.69,
83204 with options \\"\$ac_cs_config\\"
83205
83206 Copyright (C) 2012 Free Software Foundation, Inc.
83207 This config.status script is free software; the Free Software Foundation
83208 gives unlimited permission to copy, distribute and modify it."
83209
83210 ac_pwd='$ac_pwd'
83211 srcdir='$srcdir'
83212 INSTALL='$INSTALL'
83213 MKDIR_P='$MKDIR_P'
83214 AWK='$AWK'
83215 test -n "\$AWK" || AWK=awk
83216 _ACEOF
83217
83218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83219 # The default lists apply if the user does not specify any file.
83220 ac_need_defaults=:
83221 while test $# != 0
83222 do
83223 case $1 in
83224 --*=?*)
83225 ac_option=`expr "X$1" : 'X\([^=]*\)='`
83226 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
83227 ac_shift=:
83228 ;;
83229 --*=)
83230 ac_option=`expr "X$1" : 'X\([^=]*\)='`
83231 ac_optarg=
83232 ac_shift=:
83233 ;;
83234 *)
83235 ac_option=$1
83236 ac_optarg=$2
83237 ac_shift=shift
83238 ;;
83239 esac
83240
83241 case $ac_option in
83242 # Handling of the options.
83243 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
83244 ac_cs_recheck=: ;;
83245 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
83246 $as_echo "$ac_cs_version"; exit ;;
83247 --config | --confi | --conf | --con | --co | --c )
83248 $as_echo "$ac_cs_config"; exit ;;
83249 --debug | --debu | --deb | --de | --d | -d )
83250 debug=: ;;
83251 --file | --fil | --fi | --f )
83252 $ac_shift
83253 case $ac_optarg in
83254 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
83255 '') as_fn_error $? "missing file argument" ;;
83256 esac
83257 as_fn_append CONFIG_FILES " '$ac_optarg'"
83258 ac_need_defaults=false;;
83259 --header | --heade | --head | --hea )
83260 $ac_shift
83261 case $ac_optarg in
83262 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
83263 esac
83264 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
83265 ac_need_defaults=false;;
83266 --he | --h)
83267 # Conflict between --help and --header
83268 as_fn_error $? "ambiguous option: \`$1'
83269 Try \`$0 --help' for more information.";;
83270 --help | --hel | -h )
83271 $as_echo "$ac_cs_usage"; exit ;;
83272 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
83273 | -silent | --silent | --silen | --sile | --sil | --si | --s)
83274 ac_cs_silent=: ;;
83275
83276 # This is an error.
83277 -*) as_fn_error $? "unrecognized option: \`$1'
83278 Try \`$0 --help' for more information." ;;
83279
83280 *) as_fn_append ac_config_targets " $1"
83281 ac_need_defaults=false ;;
83282
83283 esac
83284 shift
83285 done
83286
83287 ac_configure_extra_args=
83288
83289 if $ac_cs_silent; then
83290 exec 6>/dev/null
83291 ac_configure_extra_args="$ac_configure_extra_args --silent"
83292 fi
83293
83294 _ACEOF
83295 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83296 if \$ac_cs_recheck; then
83297 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
83298 shift
83299 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
83300 CONFIG_SHELL='$SHELL'
83301 export CONFIG_SHELL
83302 exec "\$@"
83303 fi
83304
83305 _ACEOF
83306 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83307 exec 5>>config.log
83308 {
83309 echo
83310 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
83311 ## Running $as_me. ##
83312 _ASBOX
83313 $as_echo "$ac_log"
83314 } >&5
83315
83316 _ACEOF
83317 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83318 #
83319 # INIT-COMMANDS
83320 #
83321
83322 srcdir="$srcdir"
83323 host="$host"
83324 target="$target"
83325 with_multisubdir="$with_multisubdir"
83326 with_multisrctop="$with_multisrctop"
83327 with_target_subdir="$with_target_subdir"
83328 ac_configure_args="${multilib_arg} ${ac_configure_args}"
83329 multi_basedir="$multi_basedir"
83330 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
83331 CC="$CC"
83332 CXX="$CXX"
83333 GFORTRAN="$GFORTRAN"
83334 GDC="$GDC"
83335
83336
83337 # The HP-UX ksh and POSIX shell print the target directory to stdout
83338 # if CDPATH is set.
83339 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
83340
83341 sed_quote_subst='$sed_quote_subst'
83342 double_quote_subst='$double_quote_subst'
83343 delay_variable_subst='$delay_variable_subst'
83344 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
83345 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
83346 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
83347 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
83348 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
83349 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
83350 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
83351 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
83352 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
83353 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
83354 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
83355 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
83356 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
83357 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
83358 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
83359 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
83360 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
83361 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
83362 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
83363 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
83364 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
83365 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
83366 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
83367 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
83368 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
83369 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
83370 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
83371 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
83372 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
83373 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
83374 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
83375 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
83376 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
83377 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
83378 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
83379 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
83380 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
83381 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
83382 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
83383 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
83384 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
83385 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
83386 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
83387 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
83388 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
83389 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
83390 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
83391 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
83392 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"`'
83393 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
83394 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
83395 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
83396 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
83397 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
83398 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
83399 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
83400 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
83401 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
83402 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
83403 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
83404 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
83405 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
83406 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
83407 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
83408 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
83409 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
83410 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
83411 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
83412 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
83413 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
83414 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
83415 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
83416 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
83417 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
83418 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
83419 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
83420 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
83421 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
83422 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
83423 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
83424 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
83425 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
83426 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
83427 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
83428 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
83429 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
83430 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
83431 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
83432 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
83433 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
83434 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
83435 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
83436 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
83437 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
83438 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
83439 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
83440 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
83441 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
83442 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
83443 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
83444 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
83445 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
83446 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
83447 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
83448 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
83449 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
83450 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
83451 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
83452 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
83453 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
83454 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
83455 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
83456 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
83457 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
83458 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
83459 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
83460 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
83461 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
83462 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
83463 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
83464 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
83465 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
83466 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
83467 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
83468 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
83469 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
83470 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
83471 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
83472 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83473 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83474 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
83475 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
83476 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
83477 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
83478 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
83479 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
83480 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
83481 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
83482 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
83483 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83484 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83485 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
83486 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83487 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83488 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83489 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83490 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83491 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83492 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
83493 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83494 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83495 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83496 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
83497 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
83498 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
83499 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
83500 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
83501 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
83502 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
83503 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
83504 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
83505 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
83506 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
83507 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83508 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83509 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83510 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83511 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
83512 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
83513 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
83514 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83515 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83516 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
83517 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
83518 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
83519
83520 LTCC='$LTCC'
83521 LTCFLAGS='$LTCFLAGS'
83522 compiler='$compiler_DEFAULT'
83523
83524 # A function that is used when there is no print builtin or printf.
83525 func_fallback_echo ()
83526 {
83527 eval 'cat <<_LTECHO_EOF
83528 \$1
83529 _LTECHO_EOF'
83530 }
83531
83532 # Quote evaled strings.
83533 for var in SHELL \
83534 ECHO \
83535 SED \
83536 GREP \
83537 EGREP \
83538 FGREP \
83539 LD \
83540 NM \
83541 LN_S \
83542 lt_SP2NL \
83543 lt_NL2SP \
83544 reload_flag \
83545 OBJDUMP \
83546 deplibs_check_method \
83547 file_magic_cmd \
83548 AR \
83549 AR_FLAGS \
83550 STRIP \
83551 RANLIB \
83552 CC \
83553 CFLAGS \
83554 compiler \
83555 lt_cv_sys_global_symbol_pipe \
83556 lt_cv_sys_global_symbol_to_cdecl \
83557 lt_cv_sys_global_symbol_to_c_name_address \
83558 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
83559 lt_prog_compiler_no_builtin_flag \
83560 lt_prog_compiler_wl \
83561 lt_prog_compiler_pic \
83562 lt_prog_compiler_static \
83563 lt_cv_prog_compiler_c_o \
83564 need_locks \
83565 DSYMUTIL \
83566 NMEDIT \
83567 LIPO \
83568 OTOOL \
83569 OTOOL64 \
83570 shrext_cmds \
83571 export_dynamic_flag_spec \
83572 whole_archive_flag_spec \
83573 compiler_needs_object \
83574 with_gnu_ld \
83575 allow_undefined_flag \
83576 no_undefined_flag \
83577 hardcode_libdir_flag_spec \
83578 hardcode_libdir_flag_spec_ld \
83579 hardcode_libdir_separator \
83580 fix_srcfile_path \
83581 exclude_expsyms \
83582 include_expsyms \
83583 file_list_spec \
83584 variables_saved_for_relink \
83585 libname_spec \
83586 library_names_spec \
83587 soname_spec \
83588 install_override_mode \
83589 finish_eval \
83590 old_striplib \
83591 striplib \
83592 compiler_lib_search_dirs \
83593 predep_objects \
83594 postdep_objects \
83595 predeps \
83596 postdeps \
83597 compiler_lib_search_path \
83598 LD_CXX \
83599 reload_flag_CXX \
83600 compiler_CXX \
83601 lt_prog_compiler_no_builtin_flag_CXX \
83602 lt_prog_compiler_wl_CXX \
83603 lt_prog_compiler_pic_CXX \
83604 lt_prog_compiler_static_CXX \
83605 lt_cv_prog_compiler_c_o_CXX \
83606 export_dynamic_flag_spec_CXX \
83607 whole_archive_flag_spec_CXX \
83608 compiler_needs_object_CXX \
83609 with_gnu_ld_CXX \
83610 allow_undefined_flag_CXX \
83611 no_undefined_flag_CXX \
83612 hardcode_libdir_flag_spec_CXX \
83613 hardcode_libdir_flag_spec_ld_CXX \
83614 hardcode_libdir_separator_CXX \
83615 fix_srcfile_path_CXX \
83616 exclude_expsyms_CXX \
83617 include_expsyms_CXX \
83618 file_list_spec_CXX \
83619 compiler_lib_search_dirs_CXX \
83620 predep_objects_CXX \
83621 postdep_objects_CXX \
83622 predeps_CXX \
83623 postdeps_CXX \
83624 compiler_lib_search_path_CXX; do
83625 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83626 *[\\\\\\\`\\"\\\$]*)
83627 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
83628 ;;
83629 *)
83630 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83631 ;;
83632 esac
83633 done
83634
83635 # Double-quote double-evaled strings.
83636 for var in reload_cmds \
83637 old_postinstall_cmds \
83638 old_postuninstall_cmds \
83639 old_archive_cmds \
83640 extract_expsyms_cmds \
83641 old_archive_from_new_cmds \
83642 old_archive_from_expsyms_cmds \
83643 archive_cmds \
83644 archive_expsym_cmds \
83645 module_cmds \
83646 module_expsym_cmds \
83647 export_symbols_cmds \
83648 prelink_cmds \
83649 postinstall_cmds \
83650 postuninstall_cmds \
83651 finish_cmds \
83652 sys_lib_search_path_spec \
83653 sys_lib_dlsearch_path_spec \
83654 reload_cmds_CXX \
83655 old_archive_cmds_CXX \
83656 old_archive_from_new_cmds_CXX \
83657 old_archive_from_expsyms_cmds_CXX \
83658 archive_cmds_CXX \
83659 archive_expsym_cmds_CXX \
83660 module_cmds_CXX \
83661 module_expsym_cmds_CXX \
83662 export_symbols_cmds_CXX \
83663 prelink_cmds_CXX; do
83664 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83665 *[\\\\\\\`\\"\\\$]*)
83666 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83667 ;;
83668 *)
83669 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83670 ;;
83671 esac
83672 done
83673
83674 ac_aux_dir='$ac_aux_dir'
83675 xsi_shell='$xsi_shell'
83676 lt_shell_append='$lt_shell_append'
83677
83678 # See if we are running on zsh, and set the options which allow our
83679 # commands through without removal of \ escapes INIT.
83680 if test -n "\${ZSH_VERSION+set}" ; then
83681 setopt NO_GLOB_SUBST
83682 fi
83683
83684
83685 PACKAGE='$PACKAGE'
83686 VERSION='$VERSION'
83687 TIMESTAMP='$TIMESTAMP'
83688 RM='$RM'
83689 ofile='$ofile'
83690
83691
83692
83693
83694
83695
83696 GCC="$GCC"
83697 CC="$CC"
83698 acx_cv_header_stdint="$acx_cv_header_stdint"
83699 acx_cv_type_int8_t="$acx_cv_type_int8_t"
83700 acx_cv_type_int16_t="$acx_cv_type_int16_t"
83701 acx_cv_type_int32_t="$acx_cv_type_int32_t"
83702 acx_cv_type_int64_t="$acx_cv_type_int64_t"
83703 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83704 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83705 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83706 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83707 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83708 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83709 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83710 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83711 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83712
83713
83714 _ACEOF
83715
83716 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83717
83718 # Handling of arguments.
83719 for ac_config_target in $ac_config_targets
83720 do
83721 case $ac_config_target in
83722 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83723 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83724 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83725 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83726 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83727 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83728 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83729 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83730 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83731 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83732 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83733 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83734 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83735 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
83736 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83737 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83738 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83739 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83740 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83741 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83742
83743 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83744 esac
83745 done
83746
83747
83748 # If the user did not use the arguments to specify the items to instantiate,
83749 # then the envvar interface is used. Set only those that are not.
83750 # We use the long form for the default assignment because of an extremely
83751 # bizarre bug on SunOS 4.1.3.
83752 if $ac_need_defaults; then
83753 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83754 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83755 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83756 fi
83757
83758 # Have a temporary directory for convenience. Make it in the build tree
83759 # simply because there is no reason against having it here, and in addition,
83760 # creating and moving files from /tmp can sometimes cause problems.
83761 # Hook for its removal unless debugging.
83762 # Note that there is a small window in which the directory will not be cleaned:
83763 # after its creation but before its name has been assigned to `$tmp'.
83764 $debug ||
83765 {
83766 tmp= ac_tmp=
83767 trap 'exit_status=$?
83768 : "${ac_tmp:=$tmp}"
83769 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
83770 ' 0
83771 trap 'as_fn_exit 1' 1 2 13 15
83772 }
83773 # Create a (secure) tmp directory for tmp files.
83774
83775 {
83776 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83777 test -d "$tmp"
83778 } ||
83779 {
83780 tmp=./conf$$-$RANDOM
83781 (umask 077 && mkdir "$tmp")
83782 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
83783 ac_tmp=$tmp
83784
83785 # Set up the scripts for CONFIG_FILES section.
83786 # No need to generate them if there are no CONFIG_FILES.
83787 # This happens for instance with `./config.status config.h'.
83788 if test -n "$CONFIG_FILES"; then
83789
83790
83791 ac_cr=`echo X | tr X '\015'`
83792 # On cygwin, bash can eat \r inside `` if the user requested igncr.
83793 # But we know of no other shell where ac_cr would be empty at this
83794 # point, so we can use a bashism as a fallback.
83795 if test "x$ac_cr" = x; then
83796 eval ac_cr=\$\'\\r\'
83797 fi
83798 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83799 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83800 ac_cs_awk_cr='\\r'
83801 else
83802 ac_cs_awk_cr=$ac_cr
83803 fi
83804
83805 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
83806 _ACEOF
83807
83808
83809 {
83810 echo "cat >conf$$subs.awk <<_ACEOF" &&
83811 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83812 echo "_ACEOF"
83813 } >conf$$subs.sh ||
83814 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83815 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
83816 ac_delim='%!_!# '
83817 for ac_last_try in false false false false false :; do
83818 . ./conf$$subs.sh ||
83819 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83820
83821 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83822 if test $ac_delim_n = $ac_delim_num; then
83823 break
83824 elif $ac_last_try; then
83825 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83826 else
83827 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83828 fi
83829 done
83830 rm -f conf$$subs.sh
83831
83832 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83833 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
83834 _ACEOF
83835 sed -n '
83836 h
83837 s/^/S["/; s/!.*/"]=/
83838 p
83839 g
83840 s/^[^!]*!//
83841 :repl
83842 t repl
83843 s/'"$ac_delim"'$//
83844 t delim
83845 :nl
83846 h
83847 s/\(.\{148\}\)..*/\1/
83848 t more1
83849 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83850 p
83851 n
83852 b repl
83853 :more1
83854 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83855 p
83856 g
83857 s/.\{148\}//
83858 t nl
83859 :delim
83860 h
83861 s/\(.\{148\}\)..*/\1/
83862 t more2
83863 s/["\\]/\\&/g; s/^/"/; s/$/"/
83864 p
83865 b
83866 :more2
83867 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83868 p
83869 g
83870 s/.\{148\}//
83871 t delim
83872 ' <conf$$subs.awk | sed '
83873 /^[^""]/{
83874 N
83875 s/\n//
83876 }
83877 ' >>$CONFIG_STATUS || ac_write_fail=1
83878 rm -f conf$$subs.awk
83879 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83880 _ACAWK
83881 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
83882 for (key in S) S_is_set[key] = 1
83883 FS = "\a"
83884
83885 }
83886 {
83887 line = $ 0
83888 nfields = split(line, field, "@")
83889 substed = 0
83890 len = length(field[1])
83891 for (i = 2; i < nfields; i++) {
83892 key = field[i]
83893 keylen = length(key)
83894 if (S_is_set[key]) {
83895 value = S[key]
83896 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83897 len += length(value) + length(field[++i])
83898 substed = 1
83899 } else
83900 len += 1 + keylen
83901 }
83902
83903 print line
83904 }
83905
83906 _ACAWK
83907 _ACEOF
83908 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83909 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83910 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83911 else
83912 cat
83913 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
83914 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
83915 _ACEOF
83916
83917 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
83918 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
83919 # trailing colons and then remove the whole line if VPATH becomes empty
83920 # (actually we leave an empty line to preserve line numbers).
83921 if test "x$srcdir" = x.; then
83922 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
83923 h
83924 s///
83925 s/^/:/
83926 s/[ ]*$/:/
83927 s/:\$(srcdir):/:/g
83928 s/:\${srcdir}:/:/g
83929 s/:@srcdir@:/:/g
83930 s/^:*//
83931 s/:*$//
83932 x
83933 s/\(=[ ]*\).*/\1/
83934 G
83935 s/\n//
83936 s/^[^=]*=[ ]*$//
83937 }'
83938 fi
83939
83940 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83941 fi # test -n "$CONFIG_FILES"
83942
83943 # Set up the scripts for CONFIG_HEADERS section.
83944 # No need to generate them if there are no CONFIG_HEADERS.
83945 # This happens for instance with `./config.status Makefile'.
83946 if test -n "$CONFIG_HEADERS"; then
83947 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
83948 BEGIN {
83949 _ACEOF
83950
83951 # Transform confdefs.h into an awk script `defines.awk', embedded as
83952 # here-document in config.status, that substitutes the proper values into
83953 # config.h.in to produce config.h.
83954
83955 # Create a delimiter string that does not exist in confdefs.h, to ease
83956 # handling of long lines.
83957 ac_delim='%!_!# '
83958 for ac_last_try in false false :; do
83959 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
83960 if test -z "$ac_tt"; then
83961 break
83962 elif $ac_last_try; then
83963 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
83964 else
83965 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83966 fi
83967 done
83968
83969 # For the awk script, D is an array of macro values keyed by name,
83970 # likewise P contains macro parameters if any. Preserve backslash
83971 # newline sequences.
83972
83973 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83974 sed -n '
83975 s/.\{148\}/&'"$ac_delim"'/g
83976 t rset
83977 :rset
83978 s/^[ ]*#[ ]*define[ ][ ]*/ /
83979 t def
83980 d
83981 :def
83982 s/\\$//
83983 t bsnl
83984 s/["\\]/\\&/g
83985 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83986 D["\1"]=" \3"/p
83987 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83988 d
83989 :bsnl
83990 s/["\\]/\\&/g
83991 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83992 D["\1"]=" \3\\\\\\n"\\/p
83993 t cont
83994 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83995 t cont
83996 d
83997 :cont
83998 n
83999 s/.\{148\}/&'"$ac_delim"'/g
84000 t clear
84001 :clear
84002 s/\\$//
84003 t bsnlc
84004 s/["\\]/\\&/g; s/^/"/; s/$/"/p
84005 d
84006 :bsnlc
84007 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
84008 b cont
84009 ' <confdefs.h | sed '
84010 s/'"$ac_delim"'/"\\\
84011 "/g' >>$CONFIG_STATUS || ac_write_fail=1
84012
84013 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84014 for (key in D) D_is_set[key] = 1
84015 FS = "\a"
84016 }
84017 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
84018 line = \$ 0
84019 split(line, arg, " ")
84020 if (arg[1] == "#") {
84021 defundef = arg[2]
84022 mac1 = arg[3]
84023 } else {
84024 defundef = substr(arg[1], 2)
84025 mac1 = arg[2]
84026 }
84027 split(mac1, mac2, "(") #)
84028 macro = mac2[1]
84029 prefix = substr(line, 1, index(line, defundef) - 1)
84030 if (D_is_set[macro]) {
84031 # Preserve the white space surrounding the "#".
84032 print prefix "define", macro P[macro] D[macro]
84033 next
84034 } else {
84035 # Replace #undef with comments. This is necessary, for example,
84036 # in the case of _POSIX_SOURCE, which is predefined and required
84037 # on some systems where configure will not decide to define it.
84038 if (defundef == "undef") {
84039 print "/*", prefix defundef, macro, "*/"
84040 next
84041 }
84042 }
84043 }
84044 { print }
84045 _ACAWK
84046 _ACEOF
84047 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84048 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
84049 fi # test -n "$CONFIG_HEADERS"
84050
84051
84052 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
84053 shift
84054 for ac_tag
84055 do
84056 case $ac_tag in
84057 :[FHLC]) ac_mode=$ac_tag; continue;;
84058 esac
84059 case $ac_mode$ac_tag in
84060 :[FHL]*:*);;
84061 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
84062 :[FH]-) ac_tag=-:-;;
84063 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
84064 esac
84065 ac_save_IFS=$IFS
84066 IFS=:
84067 set x $ac_tag
84068 IFS=$ac_save_IFS
84069 shift
84070 ac_file=$1
84071 shift
84072
84073 case $ac_mode in
84074 :L) ac_source=$1;;
84075 :[FH])
84076 ac_file_inputs=
84077 for ac_f
84078 do
84079 case $ac_f in
84080 -) ac_f="$ac_tmp/stdin";;
84081 *) # Look for the file first in the build tree, then in the source tree
84082 # (if the path is not absolute). The absolute path cannot be DOS-style,
84083 # because $ac_f cannot contain `:'.
84084 test -f "$ac_f" ||
84085 case $ac_f in
84086 [\\/$]*) false;;
84087 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
84088 esac ||
84089 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
84090 esac
84091 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
84092 as_fn_append ac_file_inputs " '$ac_f'"
84093 done
84094
84095 # Let's still pretend it is `configure' which instantiates (i.e., don't
84096 # use $as_me), people would be surprised to read:
84097 # /* config.h. Generated by config.status. */
84098 configure_input='Generated from '`
84099 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
84100 `' by configure.'
84101 if test x"$ac_file" != x-; then
84102 configure_input="$ac_file. $configure_input"
84103 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
84104 $as_echo "$as_me: creating $ac_file" >&6;}
84105 fi
84106 # Neutralize special characters interpreted by sed in replacement strings.
84107 case $configure_input in #(
84108 *\&* | *\|* | *\\* )
84109 ac_sed_conf_input=`$as_echo "$configure_input" |
84110 sed 's/[\\\\&|]/\\\\&/g'`;; #(
84111 *) ac_sed_conf_input=$configure_input;;
84112 esac
84113
84114 case $ac_tag in
84115 *:-:* | *:-) cat >"$ac_tmp/stdin" \
84116 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
84117 esac
84118 ;;
84119 esac
84120
84121 ac_dir=`$as_dirname -- "$ac_file" ||
84122 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84123 X"$ac_file" : 'X\(//\)[^/]' \| \
84124 X"$ac_file" : 'X\(//\)$' \| \
84125 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
84126 $as_echo X"$ac_file" |
84127 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
84128 s//\1/
84129 q
84130 }
84131 /^X\(\/\/\)[^/].*/{
84132 s//\1/
84133 q
84134 }
84135 /^X\(\/\/\)$/{
84136 s//\1/
84137 q
84138 }
84139 /^X\(\/\).*/{
84140 s//\1/
84141 q
84142 }
84143 s/.*/./; q'`
84144 as_dir="$ac_dir"; as_fn_mkdir_p
84145 ac_builddir=.
84146
84147 case "$ac_dir" in
84148 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
84149 *)
84150 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
84151 # A ".." for each directory in $ac_dir_suffix.
84152 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
84153 case $ac_top_builddir_sub in
84154 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
84155 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
84156 esac ;;
84157 esac
84158 ac_abs_top_builddir=$ac_pwd
84159 ac_abs_builddir=$ac_pwd$ac_dir_suffix
84160 # for backward compatibility:
84161 ac_top_builddir=$ac_top_build_prefix
84162
84163 case $srcdir in
84164 .) # We are building in place.
84165 ac_srcdir=.
84166 ac_top_srcdir=$ac_top_builddir_sub
84167 ac_abs_top_srcdir=$ac_pwd ;;
84168 [\\/]* | ?:[\\/]* ) # Absolute name.
84169 ac_srcdir=$srcdir$ac_dir_suffix;
84170 ac_top_srcdir=$srcdir
84171 ac_abs_top_srcdir=$srcdir ;;
84172 *) # Relative name.
84173 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
84174 ac_top_srcdir=$ac_top_build_prefix$srcdir
84175 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
84176 esac
84177 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
84178
84179
84180 case $ac_mode in
84181 :F)
84182 #
84183 # CONFIG_FILE
84184 #
84185
84186 case $INSTALL in
84187 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
84188 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
84189 esac
84190 ac_MKDIR_P=$MKDIR_P
84191 case $MKDIR_P in
84192 [\\/$]* | ?:[\\/]* ) ;;
84193 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
84194 esac
84195 _ACEOF
84196
84197 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84198 # If the template does not know about datarootdir, expand it.
84199 # FIXME: This hack should be removed a few years after 2.60.
84200 ac_datarootdir_hack=; ac_datarootdir_seen=
84201 ac_sed_dataroot='
84202 /datarootdir/ {
84203 p
84204 q
84205 }
84206 /@datadir@/p
84207 /@docdir@/p
84208 /@infodir@/p
84209 /@localedir@/p
84210 /@mandir@/p'
84211 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
84212 *datarootdir*) ac_datarootdir_seen=yes;;
84213 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
84214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
84215 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
84216 _ACEOF
84217 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84218 ac_datarootdir_hack='
84219 s&@datadir@&$datadir&g
84220 s&@docdir@&$docdir&g
84221 s&@infodir@&$infodir&g
84222 s&@localedir@&$localedir&g
84223 s&@mandir@&$mandir&g
84224 s&\\\${datarootdir}&$datarootdir&g' ;;
84225 esac
84226 _ACEOF
84227
84228 # Neutralize VPATH when `$srcdir' = `.'.
84229 # Shell code in configure.ac might set extrasub.
84230 # FIXME: do we really want to maintain this feature?
84231 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84232 ac_sed_extra="$ac_vpsub
84233 $extrasub
84234 _ACEOF
84235 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84236 :t
84237 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
84238 s|@configure_input@|$ac_sed_conf_input|;t t
84239 s&@top_builddir@&$ac_top_builddir_sub&;t t
84240 s&@top_build_prefix@&$ac_top_build_prefix&;t t
84241 s&@srcdir@&$ac_srcdir&;t t
84242 s&@abs_srcdir@&$ac_abs_srcdir&;t t
84243 s&@top_srcdir@&$ac_top_srcdir&;t t
84244 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
84245 s&@builddir@&$ac_builddir&;t t
84246 s&@abs_builddir@&$ac_abs_builddir&;t t
84247 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
84248 s&@INSTALL@&$ac_INSTALL&;t t
84249 s&@MKDIR_P@&$ac_MKDIR_P&;t t
84250 $ac_datarootdir_hack
84251 "
84252 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
84253 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84254
84255 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
84256 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
84257 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
84258 "$ac_tmp/out"`; test -z "$ac_out"; } &&
84259 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
84260 which seems to be undefined. Please make sure it is defined" >&5
84261 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
84262 which seems to be undefined. Please make sure it is defined" >&2;}
84263
84264 rm -f "$ac_tmp/stdin"
84265 case $ac_file in
84266 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
84267 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
84268 esac \
84269 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84270 ;;
84271 :H)
84272 #
84273 # CONFIG_HEADER
84274 #
84275 if test x"$ac_file" != x-; then
84276 {
84277 $as_echo "/* $configure_input */" \
84278 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
84279 } >"$ac_tmp/config.h" \
84280 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84281 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
84282 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
84283 $as_echo "$as_me: $ac_file is unchanged" >&6;}
84284 else
84285 rm -f "$ac_file"
84286 mv "$ac_tmp/config.h" "$ac_file" \
84287 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84288 fi
84289 else
84290 $as_echo "/* $configure_input */" \
84291 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
84292 || as_fn_error $? "could not create -" "$LINENO" 5
84293 fi
84294 # Compute "$ac_file"'s index in $config_headers.
84295 _am_arg="$ac_file"
84296 _am_stamp_count=1
84297 for _am_header in $config_headers :; do
84298 case $_am_header in
84299 $_am_arg | $_am_arg:* )
84300 break ;;
84301 * )
84302 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
84303 esac
84304 done
84305 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
84306 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84307 X"$_am_arg" : 'X\(//\)[^/]' \| \
84308 X"$_am_arg" : 'X\(//\)$' \| \
84309 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
84310 $as_echo X"$_am_arg" |
84311 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
84312 s//\1/
84313 q
84314 }
84315 /^X\(\/\/\)[^/].*/{
84316 s//\1/
84317 q
84318 }
84319 /^X\(\/\/\)$/{
84320 s//\1/
84321 q
84322 }
84323 /^X\(\/\).*/{
84324 s//\1/
84325 q
84326 }
84327 s/.*/./; q'`/stamp-h$_am_stamp_count
84328 ;;
84329
84330 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
84331 $as_echo "$as_me: executing $ac_file commands" >&6;}
84332 ;;
84333 esac
84334
84335
84336 case $ac_file$ac_mode in
84337 "default-1":C)
84338 # Only add multilib support code if we just rebuilt the top-level
84339 # Makefile.
84340 case " $CONFIG_FILES " in
84341 *" Makefile "*)
84342 ac_file=Makefile . ${multi_basedir}/config-ml.in
84343 ;;
84344 esac ;;
84345 "libtool":C)
84346
84347 # See if we are running on zsh, and set the options which allow our
84348 # commands through without removal of \ escapes.
84349 if test -n "${ZSH_VERSION+set}" ; then
84350 setopt NO_GLOB_SUBST
84351 fi
84352
84353 cfgfile="${ofile}T"
84354 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
84355 $RM "$cfgfile"
84356
84357 cat <<_LT_EOF >> "$cfgfile"
84358 #! $SHELL
84359
84360 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
84361 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
84362 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
84363 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
84364 #
84365 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
84366 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
84367 # Written by Gordon Matzigkeit, 1996
84368 #
84369 # This file is part of GNU Libtool.
84370 #
84371 # GNU Libtool is free software; you can redistribute it and/or
84372 # modify it under the terms of the GNU General Public License as
84373 # published by the Free Software Foundation; either version 2 of
84374 # the License, or (at your option) any later version.
84375 #
84376 # As a special exception to the GNU General Public License,
84377 # if you distribute this file as part of a program or library that
84378 # is built using GNU Libtool, you may include this file under the
84379 # same distribution terms that you use for the rest of that program.
84380 #
84381 # GNU Libtool is distributed in the hope that it will be useful,
84382 # but WITHOUT ANY WARRANTY; without even the implied warranty of
84383 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
84384 # GNU General Public License for more details.
84385 #
84386 # You should have received a copy of the GNU General Public License
84387 # along with GNU Libtool; see the file COPYING. If not, a copy
84388 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
84389 # obtained by writing to the Free Software Foundation, Inc.,
84390 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
84391
84392
84393 # The names of the tagged configurations supported by this script.
84394 available_tags="CXX "
84395
84396 # ### BEGIN LIBTOOL CONFIG
84397
84398 # Which release of libtool.m4 was used?
84399 macro_version=$macro_version
84400 macro_revision=$macro_revision
84401
84402 # Whether or not to build shared libraries.
84403 build_libtool_libs=$enable_shared
84404
84405 # Whether or not to build static libraries.
84406 build_old_libs=$enable_static
84407
84408 # What type of objects to build.
84409 pic_mode=$pic_mode
84410
84411 # Whether or not to optimize for fast installation.
84412 fast_install=$enable_fast_install
84413
84414 # Shell to use when invoking shell scripts.
84415 SHELL=$lt_SHELL
84416
84417 # An echo program that protects backslashes.
84418 ECHO=$lt_ECHO
84419
84420 # The host system.
84421 host_alias=$host_alias
84422 host=$host
84423 host_os=$host_os
84424
84425 # The build system.
84426 build_alias=$build_alias
84427 build=$build
84428 build_os=$build_os
84429
84430 # A sed program that does not truncate output.
84431 SED=$lt_SED
84432
84433 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
84434 Xsed="\$SED -e 1s/^X//"
84435
84436 # A grep program that handles long lines.
84437 GREP=$lt_GREP
84438
84439 # An ERE matcher.
84440 EGREP=$lt_EGREP
84441
84442 # A literal string matcher.
84443 FGREP=$lt_FGREP
84444
84445 # A BSD- or MS-compatible name lister.
84446 NM=$lt_NM
84447
84448 # Whether we need soft or hard links.
84449 LN_S=$lt_LN_S
84450
84451 # What is the maximum length of a command?
84452 max_cmd_len=$max_cmd_len
84453
84454 # Object file suffix (normally "o").
84455 objext=$ac_objext
84456
84457 # Executable file suffix (normally "").
84458 exeext=$exeext
84459
84460 # whether the shell understands "unset".
84461 lt_unset=$lt_unset
84462
84463 # turn spaces into newlines.
84464 SP2NL=$lt_lt_SP2NL
84465
84466 # turn newlines into spaces.
84467 NL2SP=$lt_lt_NL2SP
84468
84469 # An object symbol dumper.
84470 OBJDUMP=$lt_OBJDUMP
84471
84472 # Method to check whether dependent libraries are shared objects.
84473 deplibs_check_method=$lt_deplibs_check_method
84474
84475 # Command to use when deplibs_check_method == "file_magic".
84476 file_magic_cmd=$lt_file_magic_cmd
84477
84478 # The archiver.
84479 AR=$lt_AR
84480 AR_FLAGS=$lt_AR_FLAGS
84481
84482 # A symbol stripping program.
84483 STRIP=$lt_STRIP
84484
84485 # Commands used to install an old-style archive.
84486 RANLIB=$lt_RANLIB
84487 old_postinstall_cmds=$lt_old_postinstall_cmds
84488 old_postuninstall_cmds=$lt_old_postuninstall_cmds
84489
84490 # Whether to use a lock for old archive extraction.
84491 lock_old_archive_extraction=$lock_old_archive_extraction
84492
84493 # A C compiler.
84494 LTCC=$lt_CC
84495
84496 # LTCC compiler flags.
84497 LTCFLAGS=$lt_CFLAGS
84498
84499 # Take the output of nm and produce a listing of raw symbols and C names.
84500 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
84501
84502 # Transform the output of nm in a proper C declaration.
84503 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
84504
84505 # Transform the output of nm in a C name address pair.
84506 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
84507
84508 # Transform the output of nm in a C name address pair when lib prefix is needed.
84509 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
84510
84511 # The name of the directory that contains temporary libtool files.
84512 objdir=$objdir
84513
84514 # Used to examine libraries when file_magic_cmd begins with "file".
84515 MAGIC_CMD=$MAGIC_CMD
84516
84517 # Must we lock files when doing compilation?
84518 need_locks=$lt_need_locks
84519
84520 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
84521 DSYMUTIL=$lt_DSYMUTIL
84522
84523 # Tool to change global to local symbols on Mac OS X.
84524 NMEDIT=$lt_NMEDIT
84525
84526 # Tool to manipulate fat objects and archives on Mac OS X.
84527 LIPO=$lt_LIPO
84528
84529 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
84530 OTOOL=$lt_OTOOL
84531
84532 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
84533 OTOOL64=$lt_OTOOL64
84534
84535 # Old archive suffix (normally "a").
84536 libext=$libext
84537
84538 # Shared library suffix (normally ".so").
84539 shrext_cmds=$lt_shrext_cmds
84540
84541 # The commands to extract the exported symbol list from a shared archive.
84542 extract_expsyms_cmds=$lt_extract_expsyms_cmds
84543
84544 # Variables whose values should be saved in libtool wrapper scripts and
84545 # restored at link time.
84546 variables_saved_for_relink=$lt_variables_saved_for_relink
84547
84548 # Do we need the "lib" prefix for modules?
84549 need_lib_prefix=$need_lib_prefix
84550
84551 # Do we need a version for libraries?
84552 need_version=$need_version
84553
84554 # Library versioning type.
84555 version_type=$version_type
84556
84557 # Shared library runtime path variable.
84558 runpath_var=$runpath_var
84559
84560 # Shared library path variable.
84561 shlibpath_var=$shlibpath_var
84562
84563 # Is shlibpath searched before the hard-coded library search path?
84564 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
84565
84566 # Format of library name prefix.
84567 libname_spec=$lt_libname_spec
84568
84569 # List of archive names. First name is the real one, the rest are links.
84570 # The last name is the one that the linker finds with -lNAME
84571 library_names_spec=$lt_library_names_spec
84572
84573 # The coded name of the library, if different from the real name.
84574 soname_spec=$lt_soname_spec
84575
84576 # Permission mode override for installation of shared libraries.
84577 install_override_mode=$lt_install_override_mode
84578
84579 # Command to use after installation of a shared archive.
84580 postinstall_cmds=$lt_postinstall_cmds
84581
84582 # Command to use after uninstallation of a shared archive.
84583 postuninstall_cmds=$lt_postuninstall_cmds
84584
84585 # Commands used to finish a libtool library installation in a directory.
84586 finish_cmds=$lt_finish_cmds
84587
84588 # As "finish_cmds", except a single script fragment to be evaled but
84589 # not shown.
84590 finish_eval=$lt_finish_eval
84591
84592 # Whether we should hardcode library paths into libraries.
84593 hardcode_into_libs=$hardcode_into_libs
84594
84595 # Compile-time system search path for libraries.
84596 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
84597
84598 # Run-time system search path for libraries.
84599 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
84600
84601 # Whether dlopen is supported.
84602 dlopen_support=$enable_dlopen
84603
84604 # Whether dlopen of programs is supported.
84605 dlopen_self=$enable_dlopen_self
84606
84607 # Whether dlopen of statically linked programs is supported.
84608 dlopen_self_static=$enable_dlopen_self_static
84609
84610 # Commands to strip libraries.
84611 old_striplib=$lt_old_striplib
84612 striplib=$lt_striplib
84613
84614
84615 # The linker used to build libraries.
84616 LD=$lt_LD
84617
84618 # How to create reloadable object files.
84619 reload_flag=$lt_reload_flag
84620 reload_cmds=$lt_reload_cmds
84621
84622 # Commands used to build an old-style archive.
84623 old_archive_cmds=$lt_old_archive_cmds
84624
84625 # A language specific compiler.
84626 CC=$lt_compiler
84627
84628 # Is the compiler the GNU compiler?
84629 with_gcc=$GCC
84630
84631 # Compiler flag to turn off builtin functions.
84632 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
84633
84634 # How to pass a linker flag through the compiler.
84635 wl=$lt_lt_prog_compiler_wl
84636
84637 # Additional compiler flags for building library objects.
84638 pic_flag=$lt_lt_prog_compiler_pic
84639
84640 # Compiler flag to prevent dynamic linking.
84641 link_static_flag=$lt_lt_prog_compiler_static
84642
84643 # Does compiler simultaneously support -c and -o options?
84644 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
84645
84646 # Whether or not to add -lc for building shared libraries.
84647 build_libtool_need_lc=$archive_cmds_need_lc
84648
84649 # Whether or not to disallow shared libs when runtime libs are static.
84650 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
84651
84652 # Compiler flag to allow reflexive dlopens.
84653 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
84654
84655 # Compiler flag to generate shared objects directly from archives.
84656 whole_archive_flag_spec=$lt_whole_archive_flag_spec
84657
84658 # Whether the compiler copes with passing no objects directly.
84659 compiler_needs_object=$lt_compiler_needs_object
84660
84661 # Create an old-style archive from a shared archive.
84662 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
84663
84664 # Create a temporary old-style archive to link instead of a shared archive.
84665 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84666
84667 # Commands used to build a shared archive.
84668 archive_cmds=$lt_archive_cmds
84669 archive_expsym_cmds=$lt_archive_expsym_cmds
84670
84671 # Commands used to build a loadable module if different from building
84672 # a shared archive.
84673 module_cmds=$lt_module_cmds
84674 module_expsym_cmds=$lt_module_expsym_cmds
84675
84676 # Whether we are building with GNU ld or not.
84677 with_gnu_ld=$lt_with_gnu_ld
84678
84679 # Flag that allows shared libraries with undefined symbols to be built.
84680 allow_undefined_flag=$lt_allow_undefined_flag
84681
84682 # Flag that enforces no undefined symbols.
84683 no_undefined_flag=$lt_no_undefined_flag
84684
84685 # Flag to hardcode \$libdir into a binary during linking.
84686 # This must work even if \$libdir does not exist
84687 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84688
84689 # If ld is used when linking, flag to hardcode \$libdir into a binary
84690 # during linking. This must work even if \$libdir does not exist.
84691 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84692
84693 # Whether we need a single "-rpath" flag with a separated argument.
84694 hardcode_libdir_separator=$lt_hardcode_libdir_separator
84695
84696 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84697 # DIR into the resulting binary.
84698 hardcode_direct=$hardcode_direct
84699
84700 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84701 # DIR into the resulting binary and the resulting library dependency is
84702 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84703 # library is relocated.
84704 hardcode_direct_absolute=$hardcode_direct_absolute
84705
84706 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84707 # into the resulting binary.
84708 hardcode_minus_L=$hardcode_minus_L
84709
84710 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84711 # into the resulting binary.
84712 hardcode_shlibpath_var=$hardcode_shlibpath_var
84713
84714 # Set to "yes" if building a shared library automatically hardcodes DIR
84715 # into the library and all subsequent libraries and executables linked
84716 # against it.
84717 hardcode_automatic=$hardcode_automatic
84718
84719 # Set to yes if linker adds runtime paths of dependent libraries
84720 # to runtime path list.
84721 inherit_rpath=$inherit_rpath
84722
84723 # Whether libtool must link a program against all its dependency libraries.
84724 link_all_deplibs=$link_all_deplibs
84725
84726 # Fix the shell variable \$srcfile for the compiler.
84727 fix_srcfile_path=$lt_fix_srcfile_path
84728
84729 # Set to "yes" if exported symbols are required.
84730 always_export_symbols=$always_export_symbols
84731
84732 # The commands to list exported symbols.
84733 export_symbols_cmds=$lt_export_symbols_cmds
84734
84735 # Symbols that should not be listed in the preloaded symbols.
84736 exclude_expsyms=$lt_exclude_expsyms
84737
84738 # Symbols that must always be exported.
84739 include_expsyms=$lt_include_expsyms
84740
84741 # Commands necessary for linking programs (against libraries) with templates.
84742 prelink_cmds=$lt_prelink_cmds
84743
84744 # Specify filename containing input files.
84745 file_list_spec=$lt_file_list_spec
84746
84747 # How to hardcode a shared library path into an executable.
84748 hardcode_action=$hardcode_action
84749
84750 # The directories searched by this compiler when creating a shared library.
84751 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84752
84753 # Dependencies to place before and after the objects being linked to
84754 # create a shared library.
84755 predep_objects=$lt_predep_objects
84756 postdep_objects=$lt_postdep_objects
84757 predeps=$lt_predeps
84758 postdeps=$lt_postdeps
84759
84760 # The library search path used internally by the compiler when linking
84761 # a shared library.
84762 compiler_lib_search_path=$lt_compiler_lib_search_path
84763
84764 # ### END LIBTOOL CONFIG
84765
84766 _LT_EOF
84767
84768 case $host_os in
84769 aix3*)
84770 cat <<\_LT_EOF >> "$cfgfile"
84771 # AIX sometimes has problems with the GCC collect2 program. For some
84772 # reason, if we set the COLLECT_NAMES environment variable, the problems
84773 # vanish in a puff of smoke.
84774 if test "X${COLLECT_NAMES+set}" != Xset; then
84775 COLLECT_NAMES=
84776 export COLLECT_NAMES
84777 fi
84778 _LT_EOF
84779 ;;
84780 esac
84781
84782
84783 ltmain="$ac_aux_dir/ltmain.sh"
84784
84785
84786 # We use sed instead of cat because bash on DJGPP gets confused if
84787 # if finds mixed CR/LF and LF-only lines. Since sed operates in
84788 # text mode, it properly converts lines to CR/LF. This bash problem
84789 # is reportedly fixed, but why not run on old versions too?
84790 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84791 || (rm -f "$cfgfile"; exit 1)
84792
84793 case $xsi_shell in
84794 yes)
84795 cat << \_LT_EOF >> "$cfgfile"
84796
84797 # func_dirname file append nondir_replacement
84798 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84799 # otherwise set result to NONDIR_REPLACEMENT.
84800 func_dirname ()
84801 {
84802 case ${1} in
84803 */*) func_dirname_result="${1%/*}${2}" ;;
84804 * ) func_dirname_result="${3}" ;;
84805 esac
84806 }
84807
84808 # func_basename file
84809 func_basename ()
84810 {
84811 func_basename_result="${1##*/}"
84812 }
84813
84814 # func_dirname_and_basename file append nondir_replacement
84815 # perform func_basename and func_dirname in a single function
84816 # call:
84817 # dirname: Compute the dirname of FILE. If nonempty,
84818 # add APPEND to the result, otherwise set result
84819 # to NONDIR_REPLACEMENT.
84820 # value returned in "$func_dirname_result"
84821 # basename: Compute filename of FILE.
84822 # value retuned in "$func_basename_result"
84823 # Implementation must be kept synchronized with func_dirname
84824 # and func_basename. For efficiency, we do not delegate to
84825 # those functions but instead duplicate the functionality here.
84826 func_dirname_and_basename ()
84827 {
84828 case ${1} in
84829 */*) func_dirname_result="${1%/*}${2}" ;;
84830 * ) func_dirname_result="${3}" ;;
84831 esac
84832 func_basename_result="${1##*/}"
84833 }
84834
84835 # func_stripname prefix suffix name
84836 # strip PREFIX and SUFFIX off of NAME.
84837 # PREFIX and SUFFIX must not contain globbing or regex special
84838 # characters, hashes, percent signs, but SUFFIX may contain a leading
84839 # dot (in which case that matches only a dot).
84840 func_stripname ()
84841 {
84842 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84843 # positional parameters, so assign one to ordinary parameter first.
84844 func_stripname_result=${3}
84845 func_stripname_result=${func_stripname_result#"${1}"}
84846 func_stripname_result=${func_stripname_result%"${2}"}
84847 }
84848
84849 # func_opt_split
84850 func_opt_split ()
84851 {
84852 func_opt_split_opt=${1%%=*}
84853 func_opt_split_arg=${1#*=}
84854 }
84855
84856 # func_lo2o object
84857 func_lo2o ()
84858 {
84859 case ${1} in
84860 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84861 *) func_lo2o_result=${1} ;;
84862 esac
84863 }
84864
84865 # func_xform libobj-or-source
84866 func_xform ()
84867 {
84868 func_xform_result=${1%.*}.lo
84869 }
84870
84871 # func_arith arithmetic-term...
84872 func_arith ()
84873 {
84874 func_arith_result=$(( $* ))
84875 }
84876
84877 # func_len string
84878 # STRING may not start with a hyphen.
84879 func_len ()
84880 {
84881 func_len_result=${#1}
84882 }
84883
84884 _LT_EOF
84885 ;;
84886 *) # Bourne compatible functions.
84887 cat << \_LT_EOF >> "$cfgfile"
84888
84889 # func_dirname file append nondir_replacement
84890 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84891 # otherwise set result to NONDIR_REPLACEMENT.
84892 func_dirname ()
84893 {
84894 # Extract subdirectory from the argument.
84895 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84896 if test "X$func_dirname_result" = "X${1}"; then
84897 func_dirname_result="${3}"
84898 else
84899 func_dirname_result="$func_dirname_result${2}"
84900 fi
84901 }
84902
84903 # func_basename file
84904 func_basename ()
84905 {
84906 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84907 }
84908
84909
84910 # func_stripname prefix suffix name
84911 # strip PREFIX and SUFFIX off of NAME.
84912 # PREFIX and SUFFIX must not contain globbing or regex special
84913 # characters, hashes, percent signs, but SUFFIX may contain a leading
84914 # dot (in which case that matches only a dot).
84915 # func_strip_suffix prefix name
84916 func_stripname ()
84917 {
84918 case ${2} in
84919 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84920 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84921 esac
84922 }
84923
84924 # sed scripts:
84925 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84926 my_sed_long_arg='1s/^-[^=]*=//'
84927
84928 # func_opt_split
84929 func_opt_split ()
84930 {
84931 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84932 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84933 }
84934
84935 # func_lo2o object
84936 func_lo2o ()
84937 {
84938 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84939 }
84940
84941 # func_xform libobj-or-source
84942 func_xform ()
84943 {
84944 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84945 }
84946
84947 # func_arith arithmetic-term...
84948 func_arith ()
84949 {
84950 func_arith_result=`expr "$@"`
84951 }
84952
84953 # func_len string
84954 # STRING may not start with a hyphen.
84955 func_len ()
84956 {
84957 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84958 }
84959
84960 _LT_EOF
84961 esac
84962
84963 case $lt_shell_append in
84964 yes)
84965 cat << \_LT_EOF >> "$cfgfile"
84966
84967 # func_append var value
84968 # Append VALUE to the end of shell variable VAR.
84969 func_append ()
84970 {
84971 eval "$1+=\$2"
84972 }
84973 _LT_EOF
84974 ;;
84975 *)
84976 cat << \_LT_EOF >> "$cfgfile"
84977
84978 # func_append var value
84979 # Append VALUE to the end of shell variable VAR.
84980 func_append ()
84981 {
84982 eval "$1=\$$1\$2"
84983 }
84984
84985 _LT_EOF
84986 ;;
84987 esac
84988
84989
84990 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84991 || (rm -f "$cfgfile"; exit 1)
84992
84993 mv -f "$cfgfile" "$ofile" ||
84994 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84995 chmod +x "$ofile"
84996
84997
84998 cat <<_LT_EOF >> "$ofile"
84999
85000 # ### BEGIN LIBTOOL TAG CONFIG: CXX
85001
85002 # The linker used to build libraries.
85003 LD=$lt_LD_CXX
85004
85005 # How to create reloadable object files.
85006 reload_flag=$lt_reload_flag_CXX
85007 reload_cmds=$lt_reload_cmds_CXX
85008
85009 # Commands used to build an old-style archive.
85010 old_archive_cmds=$lt_old_archive_cmds_CXX
85011
85012 # A language specific compiler.
85013 CC=$lt_compiler_CXX
85014
85015 # Is the compiler the GNU compiler?
85016 with_gcc=$GCC_CXX
85017
85018 # Compiler flag to turn off builtin functions.
85019 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
85020
85021 # How to pass a linker flag through the compiler.
85022 wl=$lt_lt_prog_compiler_wl_CXX
85023
85024 # Additional compiler flags for building library objects.
85025 pic_flag=$lt_lt_prog_compiler_pic_CXX
85026
85027 # Compiler flag to prevent dynamic linking.
85028 link_static_flag=$lt_lt_prog_compiler_static_CXX
85029
85030 # Does compiler simultaneously support -c and -o options?
85031 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
85032
85033 # Whether or not to add -lc for building shared libraries.
85034 build_libtool_need_lc=$archive_cmds_need_lc_CXX
85035
85036 # Whether or not to disallow shared libs when runtime libs are static.
85037 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
85038
85039 # Compiler flag to allow reflexive dlopens.
85040 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
85041
85042 # Compiler flag to generate shared objects directly from archives.
85043 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
85044
85045 # Whether the compiler copes with passing no objects directly.
85046 compiler_needs_object=$lt_compiler_needs_object_CXX
85047
85048 # Create an old-style archive from a shared archive.
85049 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
85050
85051 # Create a temporary old-style archive to link instead of a shared archive.
85052 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
85053
85054 # Commands used to build a shared archive.
85055 archive_cmds=$lt_archive_cmds_CXX
85056 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
85057
85058 # Commands used to build a loadable module if different from building
85059 # a shared archive.
85060 module_cmds=$lt_module_cmds_CXX
85061 module_expsym_cmds=$lt_module_expsym_cmds_CXX
85062
85063 # Whether we are building with GNU ld or not.
85064 with_gnu_ld=$lt_with_gnu_ld_CXX
85065
85066 # Flag that allows shared libraries with undefined symbols to be built.
85067 allow_undefined_flag=$lt_allow_undefined_flag_CXX
85068
85069 # Flag that enforces no undefined symbols.
85070 no_undefined_flag=$lt_no_undefined_flag_CXX
85071
85072 # Flag to hardcode \$libdir into a binary during linking.
85073 # This must work even if \$libdir does not exist
85074 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
85075
85076 # If ld is used when linking, flag to hardcode \$libdir into a binary
85077 # during linking. This must work even if \$libdir does not exist.
85078 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
85079
85080 # Whether we need a single "-rpath" flag with a separated argument.
85081 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
85082
85083 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
85084 # DIR into the resulting binary.
85085 hardcode_direct=$hardcode_direct_CXX
85086
85087 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
85088 # DIR into the resulting binary and the resulting library dependency is
85089 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
85090 # library is relocated.
85091 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
85092
85093 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
85094 # into the resulting binary.
85095 hardcode_minus_L=$hardcode_minus_L_CXX
85096
85097 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
85098 # into the resulting binary.
85099 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
85100
85101 # Set to "yes" if building a shared library automatically hardcodes DIR
85102 # into the library and all subsequent libraries and executables linked
85103 # against it.
85104 hardcode_automatic=$hardcode_automatic_CXX
85105
85106 # Set to yes if linker adds runtime paths of dependent libraries
85107 # to runtime path list.
85108 inherit_rpath=$inherit_rpath_CXX
85109
85110 # Whether libtool must link a program against all its dependency libraries.
85111 link_all_deplibs=$link_all_deplibs_CXX
85112
85113 # Fix the shell variable \$srcfile for the compiler.
85114 fix_srcfile_path=$lt_fix_srcfile_path_CXX
85115
85116 # Set to "yes" if exported symbols are required.
85117 always_export_symbols=$always_export_symbols_CXX
85118
85119 # The commands to list exported symbols.
85120 export_symbols_cmds=$lt_export_symbols_cmds_CXX
85121
85122 # Symbols that should not be listed in the preloaded symbols.
85123 exclude_expsyms=$lt_exclude_expsyms_CXX
85124
85125 # Symbols that must always be exported.
85126 include_expsyms=$lt_include_expsyms_CXX
85127
85128 # Commands necessary for linking programs (against libraries) with templates.
85129 prelink_cmds=$lt_prelink_cmds_CXX
85130
85131 # Specify filename containing input files.
85132 file_list_spec=$lt_file_list_spec_CXX
85133
85134 # How to hardcode a shared library path into an executable.
85135 hardcode_action=$hardcode_action_CXX
85136
85137 # The directories searched by this compiler when creating a shared library.
85138 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
85139
85140 # Dependencies to place before and after the objects being linked to
85141 # create a shared library.
85142 predep_objects=$lt_predep_objects_CXX
85143 postdep_objects=$lt_postdep_objects_CXX
85144 predeps=$lt_predeps_CXX
85145 postdeps=$lt_postdeps_CXX
85146
85147 # The library search path used internally by the compiler when linking
85148 # a shared library.
85149 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
85150
85151 # ### END LIBTOOL TAG CONFIG: CXX
85152 _LT_EOF
85153
85154 ;;
85155 "include/gstdint.h":C)
85156 if test "$GCC" = yes; then
85157 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
85158 else
85159 echo "/* generated for $CC */" > tmp-stdint.h
85160 fi
85161
85162 sed 's/^ *//' >> tmp-stdint.h <<EOF
85163
85164 #ifndef GCC_GENERATED_STDINT_H
85165 #define GCC_GENERATED_STDINT_H 1
85166
85167 #include <sys/types.h>
85168 EOF
85169
85170 if test "$acx_cv_header_stdint" != stdint.h; then
85171 echo "#include <stddef.h>" >> tmp-stdint.h
85172 fi
85173 if test "$acx_cv_header_stdint" != stddef.h; then
85174 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
85175 fi
85176
85177 sed 's/^ *//' >> tmp-stdint.h <<EOF
85178 /* glibc uses these symbols as guards to prevent redefinitions. */
85179 #ifdef __int8_t_defined
85180 #define _INT8_T
85181 #define _INT16_T
85182 #define _INT32_T
85183 #endif
85184 #ifdef __uint32_t_defined
85185 #define _UINT32_T
85186 #endif
85187
85188 EOF
85189
85190 # ----------------- done header, emit basic int types -------------
85191 if test "$acx_cv_header_stdint" = stddef.h; then
85192 sed 's/^ *//' >> tmp-stdint.h <<EOF
85193
85194 #ifndef _UINT8_T
85195 #define _UINT8_T
85196 #ifndef __uint8_t_defined
85197 #define __uint8_t_defined
85198 #ifndef uint8_t
85199 typedef unsigned $acx_cv_type_int8_t uint8_t;
85200 #endif
85201 #endif
85202 #endif
85203
85204 #ifndef _UINT16_T
85205 #define _UINT16_T
85206 #ifndef __uint16_t_defined
85207 #define __uint16_t_defined
85208 #ifndef uint16_t
85209 typedef unsigned $acx_cv_type_int16_t uint16_t;
85210 #endif
85211 #endif
85212 #endif
85213
85214 #ifndef _UINT32_T
85215 #define _UINT32_T
85216 #ifndef __uint32_t_defined
85217 #define __uint32_t_defined
85218 #ifndef uint32_t
85219 typedef unsigned $acx_cv_type_int32_t uint32_t;
85220 #endif
85221 #endif
85222 #endif
85223
85224 #ifndef _INT8_T
85225 #define _INT8_T
85226 #ifndef __int8_t_defined
85227 #define __int8_t_defined
85228 #ifndef int8_t
85229 typedef $acx_cv_type_int8_t int8_t;
85230 #endif
85231 #endif
85232 #endif
85233
85234 #ifndef _INT16_T
85235 #define _INT16_T
85236 #ifndef __int16_t_defined
85237 #define __int16_t_defined
85238 #ifndef int16_t
85239 typedef $acx_cv_type_int16_t int16_t;
85240 #endif
85241 #endif
85242 #endif
85243
85244 #ifndef _INT32_T
85245 #define _INT32_T
85246 #ifndef __int32_t_defined
85247 #define __int32_t_defined
85248 #ifndef int32_t
85249 typedef $acx_cv_type_int32_t int32_t;
85250 #endif
85251 #endif
85252 #endif
85253 EOF
85254 elif test "$ac_cv_type_u_int32_t" = yes; then
85255 sed 's/^ *//' >> tmp-stdint.h <<EOF
85256
85257 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
85258 #ifndef _INT8_T
85259 #define _INT8_T
85260 #endif
85261 #ifndef _INT16_T
85262 #define _INT16_T
85263 #endif
85264 #ifndef _INT32_T
85265 #define _INT32_T
85266 #endif
85267
85268 #ifndef _UINT8_T
85269 #define _UINT8_T
85270 #ifndef __uint8_t_defined
85271 #define __uint8_t_defined
85272 #ifndef uint8_t
85273 typedef u_int8_t uint8_t;
85274 #endif
85275 #endif
85276 #endif
85277
85278 #ifndef _UINT16_T
85279 #define _UINT16_T
85280 #ifndef __uint16_t_defined
85281 #define __uint16_t_defined
85282 #ifndef uint16_t
85283 typedef u_int16_t uint16_t;
85284 #endif
85285 #endif
85286 #endif
85287
85288 #ifndef _UINT32_T
85289 #define _UINT32_T
85290 #ifndef __uint32_t_defined
85291 #define __uint32_t_defined
85292 #ifndef uint32_t
85293 typedef u_int32_t uint32_t;
85294 #endif
85295 #endif
85296 #endif
85297 EOF
85298 else
85299 sed 's/^ *//' >> tmp-stdint.h <<EOF
85300
85301 /* Some systems have guard macros to prevent redefinitions, define them. */
85302 #ifndef _INT8_T
85303 #define _INT8_T
85304 #endif
85305 #ifndef _INT16_T
85306 #define _INT16_T
85307 #endif
85308 #ifndef _INT32_T
85309 #define _INT32_T
85310 #endif
85311 #ifndef _UINT8_T
85312 #define _UINT8_T
85313 #endif
85314 #ifndef _UINT16_T
85315 #define _UINT16_T
85316 #endif
85317 #ifndef _UINT32_T
85318 #define _UINT32_T
85319 #endif
85320 EOF
85321 fi
85322
85323 # ------------- done basic int types, emit int64_t types ------------
85324 if test "$ac_cv_type_uint64_t" = yes; then
85325 sed 's/^ *//' >> tmp-stdint.h <<EOF
85326
85327 /* system headers have good uint64_t and int64_t */
85328 #ifndef _INT64_T
85329 #define _INT64_T
85330 #endif
85331 #ifndef _UINT64_T
85332 #define _UINT64_T
85333 #endif
85334 EOF
85335 elif test "$ac_cv_type_u_int64_t" = yes; then
85336 sed 's/^ *//' >> tmp-stdint.h <<EOF
85337
85338 /* system headers have an u_int64_t (and int64_t) */
85339 #ifndef _INT64_T
85340 #define _INT64_T
85341 #endif
85342 #ifndef _UINT64_T
85343 #define _UINT64_T
85344 #ifndef __uint64_t_defined
85345 #define __uint64_t_defined
85346 #ifndef uint64_t
85347 typedef u_int64_t uint64_t;
85348 #endif
85349 #endif
85350 #endif
85351 EOF
85352 elif test -n "$acx_cv_type_int64_t"; then
85353 sed 's/^ *//' >> tmp-stdint.h <<EOF
85354
85355 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
85356 #ifndef _INT64_T
85357 #define _INT64_T
85358 #ifndef int64_t
85359 typedef $acx_cv_type_int64_t int64_t;
85360 #endif
85361 #endif
85362 #ifndef _UINT64_T
85363 #define _UINT64_T
85364 #ifndef __uint64_t_defined
85365 #define __uint64_t_defined
85366 #ifndef uint64_t
85367 typedef unsigned $acx_cv_type_int64_t uint64_t;
85368 #endif
85369 #endif
85370 #endif
85371 EOF
85372 else
85373 sed 's/^ *//' >> tmp-stdint.h <<EOF
85374
85375 /* some common heuristics for int64_t, using compiler-specific tests */
85376 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
85377 #ifndef _INT64_T
85378 #define _INT64_T
85379 #ifndef __int64_t_defined
85380 #ifndef int64_t
85381 typedef long long int64_t;
85382 #endif
85383 #endif
85384 #endif
85385 #ifndef _UINT64_T
85386 #define _UINT64_T
85387 #ifndef uint64_t
85388 typedef unsigned long long uint64_t;
85389 #endif
85390 #endif
85391
85392 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
85393 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
85394 does not implement __extension__. But that compiler doesn't define
85395 __GNUC_MINOR__. */
85396 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
85397 # define __extension__
85398 # endif
85399
85400 # ifndef _INT64_T
85401 # define _INT64_T
85402 # ifndef int64_t
85403 __extension__ typedef long long int64_t;
85404 # endif
85405 # endif
85406 # ifndef _UINT64_T
85407 # define _UINT64_T
85408 # ifndef uint64_t
85409 __extension__ typedef unsigned long long uint64_t;
85410 # endif
85411 # endif
85412
85413 #elif !defined __STRICT_ANSI__
85414 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
85415
85416 # ifndef _INT64_T
85417 # define _INT64_T
85418 # ifndef int64_t
85419 typedef __int64 int64_t;
85420 # endif
85421 # endif
85422 # ifndef _UINT64_T
85423 # define _UINT64_T
85424 # ifndef uint64_t
85425 typedef unsigned __int64 uint64_t;
85426 # endif
85427 # endif
85428 # endif /* compiler */
85429
85430 #endif /* ANSI version */
85431 EOF
85432 fi
85433
85434 # ------------- done int64_t types, emit intptr types ------------
85435 if test "$ac_cv_type_uintptr_t" != yes; then
85436 sed 's/^ *//' >> tmp-stdint.h <<EOF
85437
85438 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
85439 #ifndef __uintptr_t_defined
85440 #ifndef uintptr_t
85441 typedef u$acx_cv_type_intptr_t uintptr_t;
85442 #endif
85443 #endif
85444 #ifndef __intptr_t_defined
85445 #ifndef intptr_t
85446 typedef $acx_cv_type_intptr_t intptr_t;
85447 #endif
85448 #endif
85449 EOF
85450 fi
85451
85452 # ------------- done intptr types, emit int_least types ------------
85453 if test "$ac_cv_type_int_least32_t" != yes; then
85454 sed 's/^ *//' >> tmp-stdint.h <<EOF
85455
85456 /* Define int_least types */
85457 typedef int8_t int_least8_t;
85458 typedef int16_t int_least16_t;
85459 typedef int32_t int_least32_t;
85460 #ifdef _INT64_T
85461 typedef int64_t int_least64_t;
85462 #endif
85463
85464 typedef uint8_t uint_least8_t;
85465 typedef uint16_t uint_least16_t;
85466 typedef uint32_t uint_least32_t;
85467 #ifdef _UINT64_T
85468 typedef uint64_t uint_least64_t;
85469 #endif
85470 EOF
85471 fi
85472
85473 # ------------- done intptr types, emit int_fast types ------------
85474 if test "$ac_cv_type_int_fast32_t" != yes; then
85475 sed 's/^ *//' >> tmp-stdint.h <<EOF
85476
85477 /* Define int_fast types. short is often slow */
85478 typedef int8_t int_fast8_t;
85479 typedef int int_fast16_t;
85480 typedef int32_t int_fast32_t;
85481 #ifdef _INT64_T
85482 typedef int64_t int_fast64_t;
85483 #endif
85484
85485 typedef uint8_t uint_fast8_t;
85486 typedef unsigned int uint_fast16_t;
85487 typedef uint32_t uint_fast32_t;
85488 #ifdef _UINT64_T
85489 typedef uint64_t uint_fast64_t;
85490 #endif
85491 EOF
85492 fi
85493
85494 if test "$ac_cv_type_uintmax_t" != yes; then
85495 sed 's/^ *//' >> tmp-stdint.h <<EOF
85496
85497 /* Define intmax based on what we found */
85498 #ifndef intmax_t
85499 #ifdef _INT64_T
85500 typedef int64_t intmax_t;
85501 #else
85502 typedef long intmax_t;
85503 #endif
85504 #endif
85505 #ifndef uintmax_t
85506 #ifdef _UINT64_T
85507 typedef uint64_t uintmax_t;
85508 #else
85509 typedef unsigned long uintmax_t;
85510 #endif
85511 #endif
85512 EOF
85513 fi
85514
85515 sed 's/^ *//' >> tmp-stdint.h <<EOF
85516
85517 #endif /* GCC_GENERATED_STDINT_H */
85518 EOF
85519
85520 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
85521 rm -f tmp-stdint.h
85522 else
85523 mv -f tmp-stdint.h include/gstdint.h
85524 fi
85525
85526 ;;
85527 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
85528 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
85529 "include/Makefile":F) cat > vpsed$$ << \_EOF
85530 s!`test -f '$<' || echo '$(srcdir)/'`!!
85531 _EOF
85532 sed -f vpsed$$ $ac_file > tmp$$
85533 mv tmp$$ $ac_file
85534 rm vpsed$$
85535 echo 'MULTISUBDIR =' >> $ac_file
85536 ml_norecursion=yes
85537 . ${multi_basedir}/config-ml.in
85538 { ml_norecursion=; unset ml_norecursion;}
85539 ;;
85540 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
85541 s!`test -f '$<' || echo '$(srcdir)/'`!!
85542 _EOF
85543 sed -f vpsed$$ $ac_file > tmp$$
85544 mv tmp$$ $ac_file
85545 rm vpsed$$
85546 echo 'MULTISUBDIR =' >> $ac_file
85547 ml_norecursion=yes
85548 . ${multi_basedir}/config-ml.in
85549 { ml_norecursion=; unset ml_norecursion;}
85550 ;;
85551 "src/Makefile":F) cat > vpsed$$ << \_EOF
85552 s!`test -f '$<' || echo '$(srcdir)/'`!!
85553 _EOF
85554 sed -f vpsed$$ $ac_file > tmp$$
85555 mv tmp$$ $ac_file
85556 rm vpsed$$
85557 echo 'MULTISUBDIR =' >> $ac_file
85558 ml_norecursion=yes
85559 . ${multi_basedir}/config-ml.in
85560 { ml_norecursion=; unset ml_norecursion;}
85561 ;;
85562 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
85563 s!`test -f '$<' || echo '$(srcdir)/'`!!
85564 _EOF
85565 sed -f vpsed$$ $ac_file > tmp$$
85566 mv tmp$$ $ac_file
85567 rm vpsed$$
85568 echo 'MULTISUBDIR =' >> $ac_file
85569 ml_norecursion=yes
85570 . ${multi_basedir}/config-ml.in
85571 { ml_norecursion=; unset ml_norecursion;}
85572 ;;
85573 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
85574 s!`test -f '$<' || echo '$(srcdir)/'`!!
85575 _EOF
85576 sed -f vpsed$$ $ac_file > tmp$$
85577 mv tmp$$ $ac_file
85578 rm vpsed$$
85579 echo 'MULTISUBDIR =' >> $ac_file
85580 ml_norecursion=yes
85581 . ${multi_basedir}/config-ml.in
85582 { ml_norecursion=; unset ml_norecursion;}
85583 ;;
85584 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
85585 s!`test -f '$<' || echo '$(srcdir)/'`!!
85586 _EOF
85587 sed -f vpsed$$ $ac_file > tmp$$
85588 mv tmp$$ $ac_file
85589 rm vpsed$$
85590 echo 'MULTISUBDIR =' >> $ac_file
85591 ml_norecursion=yes
85592 . ${multi_basedir}/config-ml.in
85593 { ml_norecursion=; unset ml_norecursion;}
85594 ;;
85595 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
85596 s!`test -f '$<' || echo '$(srcdir)/'`!!
85597 _EOF
85598 sed -f vpsed$$ $ac_file > tmp$$
85599 mv tmp$$ $ac_file
85600 rm vpsed$$
85601 echo 'MULTISUBDIR =' >> $ac_file
85602 ml_norecursion=yes
85603 . ${multi_basedir}/config-ml.in
85604 { ml_norecursion=; unset ml_norecursion;}
85605 ;;
85606 "doc/Makefile":F) cat > vpsed$$ << \_EOF
85607 s!`test -f '$<' || echo '$(srcdir)/'`!!
85608 _EOF
85609 sed -f vpsed$$ $ac_file > tmp$$
85610 mv tmp$$ $ac_file
85611 rm vpsed$$
85612 echo 'MULTISUBDIR =' >> $ac_file
85613 ml_norecursion=yes
85614 . ${multi_basedir}/config-ml.in
85615 { ml_norecursion=; unset ml_norecursion;}
85616 ;;
85617 "po/Makefile":F) cat > vpsed$$ << \_EOF
85618 s!`test -f '$<' || echo '$(srcdir)/'`!!
85619 _EOF
85620 sed -f vpsed$$ $ac_file > tmp$$
85621 mv tmp$$ $ac_file
85622 rm vpsed$$
85623 echo 'MULTISUBDIR =' >> $ac_file
85624 ml_norecursion=yes
85625 . ${multi_basedir}/config-ml.in
85626 { ml_norecursion=; unset ml_norecursion;}
85627 ;;
85628 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
85629 s!`test -f '$<' || echo '$(srcdir)/'`!!
85630 _EOF
85631 sed -f vpsed$$ $ac_file > tmp$$
85632 mv tmp$$ $ac_file
85633 rm vpsed$$
85634 echo 'MULTISUBDIR =' >> $ac_file
85635 ml_norecursion=yes
85636 . ${multi_basedir}/config-ml.in
85637 { ml_norecursion=; unset ml_norecursion;}
85638 ;;
85639 "python/Makefile":F) cat > vpsed$$ << \_EOF
85640 s!`test -f '$<' || echo '$(srcdir)/'`!!
85641 _EOF
85642 sed -f vpsed$$ $ac_file > tmp$$
85643 mv tmp$$ $ac_file
85644 rm vpsed$$
85645 echo 'MULTISUBDIR =' >> $ac_file
85646 ml_norecursion=yes
85647 . ${multi_basedir}/config-ml.in
85648 { ml_norecursion=; unset ml_norecursion;}
85649 ;;
85650 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
85651
85652 esac
85653 done # for ac_tag
85654
85655
85656 as_fn_exit 0
85657 _ACEOF
85658 ac_clean_files=$ac_clean_files_save
85659
85660 test $ac_write_fail = 0 ||
85661 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
85662
85663
85664 # configure is writing to config.log, and then calls config.status.
85665 # config.status does its own redirection, appending to config.log.
85666 # Unfortunately, on DOS this fails, as config.log is still kept open
85667 # by configure, so config.status won't be able to write to it; its
85668 # output is simply discarded. So we exec the FD to /dev/null,
85669 # effectively closing config.log, so it can be properly (re)opened and
85670 # appended to by config.status. When coming back to configure, we
85671 # need to make the FD available again.
85672 if test "$no_create" != yes; then
85673 ac_cs_success=:
85674 ac_config_status_args=
85675 test "$silent" = yes &&
85676 ac_config_status_args="$ac_config_status_args --quiet"
85677 exec 5>/dev/null
85678 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85679 exec 5>>config.log
85680 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85681 # would make configure fail if this is the last instruction.
85682 $ac_cs_success || as_fn_exit 1
85683 fi
85684 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85685 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85686 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
85687 fi
85688