]> git.ipfire.org Git - thirdparty/gcc.git/blob - libstdc++-v3/configure
PR c++/71548
[thirdparty/gcc.git] / libstdc++-v3 / configure
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.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 lynx) thread_header=config/gthr-lynx.h ;;
15422 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15423 posix) thread_header=gthr-posix.h ;;
15424 rtems) thread_header=config/gthr-rtems.h ;;
15425 single) thread_header=gthr-single.h ;;
15426 tpf) thread_header=config/s390/gthr-tpf.h ;;
15427 vxworks) thread_header=config/gthr-vxworks.h ;;
15428 win32) thread_header=config/i386/gthr-win32.h ;;
15429 esac
15430
15431
15432
15433
15434
15435 ac_ext=cpp
15436 ac_cpp='$CXXCPP $CPPFLAGS'
15437 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15438 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15439 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15440
15441 old_CXXFLAGS="$CXXFLAGS"
15442
15443 # Do link tests if possible, instead asm tests, limited to some platforms
15444 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15445 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15446 atomic_builtins_link_tests=no
15447 if test x$gcc_no_link != xyes; then
15448 # Can do link tests. Limit to some tested platforms
15449 case "$host" in
15450 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15451 atomic_builtins_link_tests=yes
15452 ;;
15453 esac
15454 fi
15455
15456 if test x$atomic_builtins_link_tests = xyes; then
15457
15458 # Do link tests.
15459
15460 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15461
15462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15463 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15464 if ${glibcxx_cv_atomic_bool+:} false; then :
15465 $as_echo_n "(cached) " >&6
15466 else
15467
15468 if test x$gcc_no_link = xyes; then
15469 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15470 fi
15471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15472 /* end confdefs.h. */
15473
15474 int
15475 main ()
15476 {
15477 typedef bool atomic_type;
15478 atomic_type c1;
15479 atomic_type c2;
15480 atomic_type c3(0);
15481 // N.B. __atomic_fetch_add is not supported for bool.
15482 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15483 __ATOMIC_RELAXED);
15484 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15485 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15486
15487 ;
15488 return 0;
15489 }
15490 _ACEOF
15491 if ac_fn_cxx_try_link "$LINENO"; then :
15492 glibcxx_cv_atomic_bool=yes
15493 else
15494 glibcxx_cv_atomic_bool=no
15495 fi
15496 rm -f core conftest.err conftest.$ac_objext \
15497 conftest$ac_exeext conftest.$ac_ext
15498
15499 fi
15500
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15502 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15503
15504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15505 $as_echo_n "checking for atomic builtins for short... " >&6; }
15506 if ${glibcxx_cv_atomic_short+:} false; then :
15507 $as_echo_n "(cached) " >&6
15508 else
15509
15510 if test x$gcc_no_link = xyes; then
15511 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15512 fi
15513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15514 /* end confdefs.h. */
15515
15516 int
15517 main ()
15518 {
15519 typedef short atomic_type;
15520 atomic_type c1;
15521 atomic_type c2;
15522 atomic_type c3(0);
15523 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15524 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15525 __ATOMIC_RELAXED);
15526 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15527 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15528
15529 ;
15530 return 0;
15531 }
15532 _ACEOF
15533 if ac_fn_cxx_try_link "$LINENO"; then :
15534 glibcxx_cv_atomic_short=yes
15535 else
15536 glibcxx_cv_atomic_short=no
15537 fi
15538 rm -f core conftest.err conftest.$ac_objext \
15539 conftest$ac_exeext conftest.$ac_ext
15540
15541 fi
15542
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15544 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15545
15546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15547 $as_echo_n "checking for atomic builtins for int... " >&6; }
15548 if ${glibcxx_cv_atomic_int+:} false; then :
15549 $as_echo_n "(cached) " >&6
15550 else
15551
15552 if test x$gcc_no_link = xyes; then
15553 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15554 fi
15555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15556 /* end confdefs.h. */
15557
15558 int
15559 main ()
15560 {
15561 typedef int atomic_type;
15562 atomic_type c1;
15563 atomic_type c2;
15564 atomic_type c3(0);
15565 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15566 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15567 __ATOMIC_RELAXED);
15568 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15569 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15570
15571 ;
15572 return 0;
15573 }
15574 _ACEOF
15575 if ac_fn_cxx_try_link "$LINENO"; then :
15576 glibcxx_cv_atomic_int=yes
15577 else
15578 glibcxx_cv_atomic_int=no
15579 fi
15580 rm -f core conftest.err conftest.$ac_objext \
15581 conftest$ac_exeext conftest.$ac_ext
15582
15583 fi
15584
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15586 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15587
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15589 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15590 if ${glibcxx_cv_atomic_long_long+:} false; then :
15591 $as_echo_n "(cached) " >&6
15592 else
15593
15594 if test x$gcc_no_link = xyes; then
15595 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15596 fi
15597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15598 /* end confdefs.h. */
15599
15600 int
15601 main ()
15602 {
15603 typedef long long atomic_type;
15604 atomic_type c1;
15605 atomic_type c2;
15606 atomic_type c3(0);
15607 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15608 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15609 __ATOMIC_RELAXED);
15610 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15611 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15612
15613 ;
15614 return 0;
15615 }
15616 _ACEOF
15617 if ac_fn_cxx_try_link "$LINENO"; then :
15618 glibcxx_cv_atomic_long_long=yes
15619 else
15620 glibcxx_cv_atomic_long_long=no
15621 fi
15622 rm -f core conftest.err conftest.$ac_objext \
15623 conftest$ac_exeext conftest.$ac_ext
15624
15625 fi
15626
15627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15628 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15629
15630 else
15631
15632 # Do asm tests.
15633
15634 # Compile unoptimized.
15635 CXXFLAGS='-O0 -S'
15636
15637 # Fake what AC_TRY_COMPILE does.
15638
15639 cat > conftest.$ac_ext << EOF
15640 #line 15640 "configure"
15641 int main()
15642 {
15643 typedef bool atomic_type;
15644 atomic_type c1;
15645 atomic_type c2;
15646 atomic_type c3(0);
15647 // N.B. __atomic_fetch_add is not supported for bool.
15648 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15649 __ATOMIC_RELAXED);
15650 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15651 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15652
15653 return 0;
15654 }
15655 EOF
15656
15657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15658 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15659 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15660 (eval $ac_compile) 2>&5
15661 ac_status=$?
15662 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15663 test $ac_status = 0; }; then
15664 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15665 glibcxx_cv_atomic_bool=no
15666 else
15667 glibcxx_cv_atomic_bool=yes
15668 fi
15669 fi
15670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15671 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15672 rm -f conftest*
15673
15674 cat > conftest.$ac_ext << EOF
15675 #line 15675 "configure"
15676 int main()
15677 {
15678 typedef short atomic_type;
15679 atomic_type c1;
15680 atomic_type c2;
15681 atomic_type c3(0);
15682 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15683 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15684 __ATOMIC_RELAXED);
15685 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15686 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15687
15688 return 0;
15689 }
15690 EOF
15691
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15693 $as_echo_n "checking for atomic builtins for short... " >&6; }
15694 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15695 (eval $ac_compile) 2>&5
15696 ac_status=$?
15697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15698 test $ac_status = 0; }; then
15699 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15700 glibcxx_cv_atomic_short=no
15701 else
15702 glibcxx_cv_atomic_short=yes
15703 fi
15704 fi
15705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15706 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15707 rm -f conftest*
15708
15709 cat > conftest.$ac_ext << EOF
15710 #line 15710 "configure"
15711 int main()
15712 {
15713 // NB: _Atomic_word not necessarily int.
15714 typedef int atomic_type;
15715 atomic_type c1;
15716 atomic_type c2;
15717 atomic_type c3(0);
15718 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15719 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15720 __ATOMIC_RELAXED);
15721 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15722 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15723
15724 return 0;
15725 }
15726 EOF
15727
15728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15729 $as_echo_n "checking for atomic builtins for int... " >&6; }
15730 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15731 (eval $ac_compile) 2>&5
15732 ac_status=$?
15733 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15734 test $ac_status = 0; }; then
15735 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15736 glibcxx_cv_atomic_int=no
15737 else
15738 glibcxx_cv_atomic_int=yes
15739 fi
15740 fi
15741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15742 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15743 rm -f conftest*
15744
15745 cat > conftest.$ac_ext << EOF
15746 #line 15746 "configure"
15747 int main()
15748 {
15749 typedef long long atomic_type;
15750 atomic_type c1;
15751 atomic_type c2;
15752 atomic_type c3(0);
15753 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15754 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15755 __ATOMIC_RELAXED);
15756 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15757 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15758
15759 return 0;
15760 }
15761 EOF
15762
15763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15764 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15765 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15766 (eval $ac_compile) 2>&5
15767 ac_status=$?
15768 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15769 test $ac_status = 0; }; then
15770 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15771 glibcxx_cv_atomic_long_long=no
15772 else
15773 glibcxx_cv_atomic_long_long=yes
15774 fi
15775 fi
15776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15777 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15778 rm -f conftest*
15779
15780 fi
15781
15782 CXXFLAGS="$old_CXXFLAGS"
15783 ac_ext=c
15784 ac_cpp='$CPP $CPPFLAGS'
15785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15788
15789
15790 # Set atomicity_dir to builtins if all but the long long test above passes,
15791 # or if the builtins were already chosen (e.g. by configure.host).
15792 if { test "$glibcxx_cv_atomic_bool" = yes \
15793 && test "$glibcxx_cv_atomic_short" = yes \
15794 && test "$glibcxx_cv_atomic_int" = yes; } \
15795 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
15796
15797 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
15798
15799 atomicity_dir=cpu/generic/atomicity_builtins
15800 fi
15801
15802 # If still generic, set to mutex.
15803 if test $atomicity_dir = "cpu/generic" ; then
15804 atomicity_dir=cpu/generic/atomicity_mutex
15805 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
15806 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
15807 if test "x$target_thread_file" = xsingle; then
15808 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
15809 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
15810 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
15811 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
15812 else
15813 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
15814 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
15815 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
15816 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
15817 fi
15818 fi
15819
15820
15821
15822
15823
15824 # Check whether --with-libstdcxx-lock-policy was given.
15825 if test "${with_libstdcxx_lock_policy+set}" = set; then :
15826 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
15827 else
15828 libstdcxx_atomic_lock_policy=auto
15829 fi
15830
15831
15832 case "$libstdcxx_atomic_lock_policy" in
15833 atomic|mutex|auto) ;;
15834 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
15835 esac
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
15837 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
15838
15839 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
15840
15841 ac_ext=cpp
15842 ac_cpp='$CXXCPP $CPPFLAGS'
15843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15846
15847 ac_save_CXXFLAGS="$CXXFLAGS"
15848
15849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15850 /* end confdefs.h. */
15851
15852 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
15853 # error "No 2-byte compare-and-swap"
15854 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
15855 # error "No 4-byte compare-and-swap"
15856 #endif
15857
15858 int
15859 main ()
15860 {
15861
15862 ;
15863 return 0;
15864 }
15865 _ACEOF
15866 if ac_fn_cxx_try_compile "$LINENO"; then :
15867 libstdcxx_atomic_lock_policy=atomic
15868 else
15869 libstdcxx_atomic_lock_policy=mutex
15870 fi
15871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15872 ac_ext=c
15873 ac_cpp='$CPP $CPPFLAGS'
15874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15877
15878 CXXFLAGS="$ac_save_CXXFLAGS"
15879 fi
15880
15881 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
15882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
15883 $as_echo "atomic" >&6; }
15884
15885 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
15886
15887 else
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
15889 $as_echo "mutex" >&6; }
15890 fi
15891
15892
15893
15894
15895 # Fake what AC_TRY_COMPILE does, without linking as this is
15896 # unnecessary for this test.
15897
15898 cat > conftest.$ac_ext << EOF
15899 #line 15899 "configure"
15900 int main()
15901 {
15902 _Decimal32 d1;
15903 _Decimal64 d2;
15904 _Decimal128 d3;
15905 return 0;
15906 }
15907 EOF
15908
15909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
15910 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
15911 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15912 (eval $ac_compile) 2>&5
15913 ac_status=$?
15914 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15915 test $ac_status = 0; }; then
15916
15917 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
15918
15919 enable_dfp=yes
15920 else
15921 enable_dfp=no
15922 fi
15923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
15924 $as_echo "$enable_dfp" >&6; }
15925 rm -f conftest*
15926
15927
15928
15929
15930 ac_ext=cpp
15931 ac_cpp='$CXXCPP $CPPFLAGS'
15932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15935
15936
15937 # Fake what AC_TRY_COMPILE does, without linking as this is
15938 # unnecessary for this test.
15939
15940 cat > conftest.$ac_ext << EOF
15941 #line 15941 "configure"
15942 template<typename T1, typename T2>
15943 struct same
15944 { typedef T2 type; };
15945
15946 template<typename T>
15947 struct same<T, T>;
15948
15949 int main()
15950 {
15951 typename same<long, __int128>::type i1;
15952 typename same<long long, __int128>::type i2;
15953 }
15954 EOF
15955
15956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
15957 $as_echo_n "checking for __int128... " >&6; }
15958 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15959 (eval $ac_compile) 2>&5
15960 ac_status=$?
15961 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15962 test $ac_status = 0; }; then
15963
15964 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
15965
15966 enable_int128=yes
15967 else
15968 enable_int128=no
15969 fi
15970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
15971 $as_echo "$enable_int128" >&6; }
15972 rm -f conftest*
15973
15974 cat > conftest.$ac_ext << EOF
15975 #line 15975 "configure"
15976 template<typename T1, typename T2>
15977 struct same
15978 { typedef T2 type; };
15979
15980 template<typename T>
15981 struct same<T, T>;
15982
15983 int main()
15984 {
15985 typename same<double, __float128>::type f1;
15986 typename same<long double, __float128>::type f2;
15987 }
15988 EOF
15989
15990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
15991 $as_echo_n "checking for __float128... " >&6; }
15992 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15993 (eval $ac_compile) 2>&5
15994 ac_status=$?
15995 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15996 test $ac_status = 0; }; then
15997 enable_float128=yes
15998 else
15999 enable_float128=no
16000 fi
16001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16002 $as_echo "$enable_float128" >&6; }
16003
16004 rm -f conftest*
16005
16006 ac_ext=c
16007 ac_cpp='$CPP $CPPFLAGS'
16008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16011
16012
16013 if test "$enable_float128" = yes; then
16014 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16015 fi
16016
16017 # Checks for compiler support that doesn't require linking.
16018
16019 # All these tests are for C++; save the language and the compiler flags.
16020 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16021 # found in GLIBCXX_CONFIGURE.
16022
16023 ac_ext=cpp
16024 ac_cpp='$CXXCPP $CPPFLAGS'
16025 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16026 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16027 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16028
16029 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16030 ac_save_CXXFLAGS="$CXXFLAGS"
16031
16032 # Check for -ffunction-sections -fdata-sections
16033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16034 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16035 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16037 /* end confdefs.h. */
16038 int foo; void bar() { };
16039 int
16040 main ()
16041 {
16042
16043 ;
16044 return 0;
16045 }
16046 _ACEOF
16047 if ac_fn_cxx_try_compile "$LINENO"; then :
16048 ac_fdsections=yes
16049 else
16050 ac_fdsections=no
16051 fi
16052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16053 if test "$ac_test_CXXFLAGS" = set; then
16054 CXXFLAGS="$ac_save_CXXFLAGS"
16055 else
16056 # this is the suspicious part
16057 CXXFLAGS=''
16058 fi
16059 if test x"$ac_fdsections" = x"yes"; then
16060 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16061 fi
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16063 $as_echo "$ac_fdsections" >&6; }
16064
16065 ac_ext=c
16066 ac_cpp='$CPP $CPPFLAGS'
16067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16070
16071
16072
16073
16074 # Enable all the variable C++ runtime options that don't require linking.
16075
16076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16077 $as_echo_n "checking for underlying I/O to use... " >&6; }
16078 # Check whether --enable-cstdio was given.
16079 if test "${enable_cstdio+set}" = set; then :
16080 enableval=$enable_cstdio;
16081 case "$enableval" in
16082 stdio) ;;
16083 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16084 esac
16085
16086 else
16087 enable_cstdio=stdio
16088 fi
16089
16090
16091
16092 # Now that libio has been removed, you can have any color you want as long
16093 # as it's black. This is one big no-op until other packages are added, but
16094 # showing the framework never hurts.
16095 case ${enable_cstdio} in
16096 stdio)
16097 CSTDIO_H=config/io/c_io_stdio.h
16098 BASIC_FILE_H=config/io/basic_file_stdio.h
16099 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16101 $as_echo "stdio" >&6; }
16102 ;;
16103 esac
16104
16105
16106
16107
16108
16109
16110 # Check whether --enable-clocale was given.
16111 if test "${enable_clocale+set}" = set; then :
16112 enableval=$enable_clocale;
16113 case "$enableval" in
16114 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16115 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16116 esac
16117
16118 else
16119 enable_clocale=auto
16120 fi
16121
16122
16123
16124 # Deal with gettext issues. Default to not using it (=no) until we detect
16125 # support for it later. Let the user turn it off via --e/d, but let that
16126 # default to on for easier handling.
16127 USE_NLS=no
16128 # Check whether --enable-nls was given.
16129 if test "${enable_nls+set}" = set; then :
16130 enableval=$enable_nls;
16131 else
16132 enable_nls=yes
16133 fi
16134
16135
16136 # Either a known package, or "auto"
16137 if test $enable_clocale = no || test $enable_clocale = yes; then
16138 enable_clocale=auto
16139 fi
16140 enable_clocale_flag=$enable_clocale
16141
16142 # Probe for locale model to use if none specified.
16143 # Default to "generic".
16144 if test $enable_clocale_flag = auto; then
16145 case ${target_os} in
16146 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16147 enable_clocale_flag=gnu
16148 ;;
16149 darwin*)
16150 enable_clocale_flag=darwin
16151 ;;
16152 dragonfly* | freebsd*)
16153 enable_clocale_flag=dragonfly
16154 ;;
16155 openbsd*)
16156 enable_clocale_flag=newlib
16157 ;;
16158 *)
16159 if test x"$with_newlib" = x"yes"; then
16160 enable_clocale_flag=newlib
16161 else
16162 enable_clocale_flag=generic
16163 fi
16164 ;;
16165 esac
16166 fi
16167
16168 # Sanity check model, and test for special functionality.
16169 if test $enable_clocale_flag = gnu; then
16170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16171 /* end confdefs.h. */
16172
16173 #include <features.h>
16174 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16175 _GLIBCXX_ok
16176 #endif
16177
16178 _ACEOF
16179 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16180 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16181 enable_clocale_flag=gnu
16182 else
16183 enable_clocale_flag=generic
16184 fi
16185 rm -f conftest*
16186
16187
16188 # Set it to scream when it hurts.
16189 ac_save_CFLAGS="$CFLAGS"
16190 CFLAGS="-Wimplicit-function-declaration -Werror"
16191
16192 # Use strxfrm_l if available.
16193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16194 /* end confdefs.h. */
16195 #define _GNU_SOURCE 1
16196 #include <string.h>
16197 #include <locale.h>
16198 int
16199 main ()
16200 {
16201 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16202 ;
16203 return 0;
16204 }
16205 _ACEOF
16206 if ac_fn_c_try_compile "$LINENO"; then :
16207
16208 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16209
16210 fi
16211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16212
16213 # Use strerror_l if available.
16214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16215 /* end confdefs.h. */
16216 #define _GNU_SOURCE 1
16217 #include <string.h>
16218 #include <locale.h>
16219 int
16220 main ()
16221 {
16222 __locale_t loc; strerror_l(5, loc);
16223 ;
16224 return 0;
16225 }
16226 _ACEOF
16227 if ac_fn_c_try_compile "$LINENO"; then :
16228
16229 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16230
16231 fi
16232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16233
16234 CFLAGS="$ac_save_CFLAGS"
16235 fi
16236
16237 # Perhaps use strerror_r if available, and strerror_l isn't.
16238 ac_save_CFLAGS="$CFLAGS"
16239 CFLAGS="-Wimplicit-function-declaration -Werror"
16240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16241 /* end confdefs.h. */
16242 #define _GNU_SOURCE 1
16243 #include <string.h>
16244 #include <locale.h>
16245 int
16246 main ()
16247 {
16248 char s[128]; strerror_r(5, s, 128);
16249 ;
16250 return 0;
16251 }
16252 _ACEOF
16253 if ac_fn_c_try_compile "$LINENO"; then :
16254
16255 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16256
16257 fi
16258 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16259 CFLAGS="$ac_save_CFLAGS"
16260
16261 # Set configure bits for specified locale package
16262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16263 $as_echo_n "checking for C locale to use... " >&6; }
16264 case ${enable_clocale_flag} in
16265 generic)
16266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16267 $as_echo "generic" >&6; }
16268
16269 CLOCALE_H=config/locale/generic/c_locale.h
16270 CLOCALE_CC=config/locale/generic/c_locale.cc
16271 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16272 CCOLLATE_CC=config/locale/generic/collate_members.cc
16273 CCTYPE_CC=config/locale/generic/ctype_members.cc
16274 CMESSAGES_H=config/locale/generic/messages_members.h
16275 CMESSAGES_CC=config/locale/generic/messages_members.cc
16276 CMONEY_CC=config/locale/generic/monetary_members.cc
16277 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16278 CTIME_H=config/locale/generic/time_members.h
16279 CTIME_CC=config/locale/generic/time_members.cc
16280 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16281 ;;
16282 darwin)
16283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16284 $as_echo "darwin" >&6; }
16285
16286 CLOCALE_H=config/locale/generic/c_locale.h
16287 CLOCALE_CC=config/locale/generic/c_locale.cc
16288 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16289 CCOLLATE_CC=config/locale/generic/collate_members.cc
16290 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16291 CMESSAGES_H=config/locale/generic/messages_members.h
16292 CMESSAGES_CC=config/locale/generic/messages_members.cc
16293 CMONEY_CC=config/locale/generic/monetary_members.cc
16294 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16295 CTIME_H=config/locale/generic/time_members.h
16296 CTIME_CC=config/locale/generic/time_members.cc
16297 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16298 ;;
16299
16300 dragonfly)
16301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16302 $as_echo "dragonfly or freebsd" >&6; }
16303
16304 CLOCALE_H=config/locale/dragonfly/c_locale.h
16305 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16306 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16307 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16308 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16309 CMESSAGES_H=config/locale/generic/messages_members.h
16310 CMESSAGES_CC=config/locale/generic/messages_members.cc
16311 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16312 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16313 CTIME_H=config/locale/dragonfly/time_members.h
16314 CTIME_CC=config/locale/dragonfly/time_members.cc
16315 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16316 ;;
16317
16318 gnu)
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16320 $as_echo "gnu" >&6; }
16321
16322 # Declare intention to use gettext, and add support for specific
16323 # languages.
16324 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16325 ALL_LINGUAS="de fr"
16326
16327 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16328 # Extract the first word of "msgfmt", so it can be a program name with args.
16329 set dummy msgfmt; ac_word=$2
16330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16331 $as_echo_n "checking for $ac_word... " >&6; }
16332 if ${ac_cv_prog_check_msgfmt+:} false; then :
16333 $as_echo_n "(cached) " >&6
16334 else
16335 if test -n "$check_msgfmt"; then
16336 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16337 else
16338 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16339 for as_dir in $PATH
16340 do
16341 IFS=$as_save_IFS
16342 test -z "$as_dir" && as_dir=.
16343 for ac_exec_ext in '' $ac_executable_extensions; do
16344 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16345 ac_cv_prog_check_msgfmt="yes"
16346 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16347 break 2
16348 fi
16349 done
16350 done
16351 IFS=$as_save_IFS
16352
16353 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16354 fi
16355 fi
16356 check_msgfmt=$ac_cv_prog_check_msgfmt
16357 if test -n "$check_msgfmt"; then
16358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16359 $as_echo "$check_msgfmt" >&6; }
16360 else
16361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16362 $as_echo "no" >&6; }
16363 fi
16364
16365
16366 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16367 USE_NLS=yes
16368 fi
16369 # Export the build objects.
16370 for ling in $ALL_LINGUAS; do \
16371 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16372 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16373 done
16374
16375
16376
16377 CLOCALE_H=config/locale/gnu/c_locale.h
16378 CLOCALE_CC=config/locale/gnu/c_locale.cc
16379 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16380 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16381 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16382 CMESSAGES_H=config/locale/gnu/messages_members.h
16383 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16384 CMONEY_CC=config/locale/gnu/monetary_members.cc
16385 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16386 CTIME_H=config/locale/gnu/time_members.h
16387 CTIME_CC=config/locale/gnu/time_members.cc
16388 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16389 ;;
16390 ieee_1003.1-2001)
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16392 $as_echo "IEEE 1003.1" >&6; }
16393
16394 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16395 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16396 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16397 CCOLLATE_CC=config/locale/generic/collate_members.cc
16398 CCTYPE_CC=config/locale/generic/ctype_members.cc
16399 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16400 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16401 CMONEY_CC=config/locale/generic/monetary_members.cc
16402 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16403 CTIME_H=config/locale/generic/time_members.h
16404 CTIME_CC=config/locale/generic/time_members.cc
16405 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16406 ;;
16407 newlib)
16408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16409 $as_echo "newlib" >&6; }
16410
16411 CLOCALE_H=config/locale/generic/c_locale.h
16412 CLOCALE_CC=config/locale/generic/c_locale.cc
16413 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16414 CCOLLATE_CC=config/locale/generic/collate_members.cc
16415 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16416 CMESSAGES_H=config/locale/generic/messages_members.h
16417 CMESSAGES_CC=config/locale/generic/messages_members.cc
16418 CMONEY_CC=config/locale/generic/monetary_members.cc
16419 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16420 CTIME_H=config/locale/generic/time_members.h
16421 CTIME_CC=config/locale/generic/time_members.cc
16422 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16423 ;;
16424 esac
16425
16426 # This is where the testsuite looks for locale catalogs, using the
16427 # -DLOCALEDIR define during testsuite compilation.
16428 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16429
16430
16431 # A standalone libintl (e.g., GNU libintl) may be in use.
16432 if test $USE_NLS = yes; then
16433 for ac_header in libintl.h
16434 do :
16435 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16436 if test "x$ac_cv_header_libintl_h" = xyes; then :
16437 cat >>confdefs.h <<_ACEOF
16438 #define HAVE_LIBINTL_H 1
16439 _ACEOF
16440
16441 else
16442 USE_NLS=no
16443 fi
16444
16445 done
16446
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16448 $as_echo_n "checking for library containing gettext... " >&6; }
16449 if ${ac_cv_search_gettext+:} false; then :
16450 $as_echo_n "(cached) " >&6
16451 else
16452 ac_func_search_save_LIBS=$LIBS
16453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16454 /* end confdefs.h. */
16455
16456 /* Override any GCC internal prototype to avoid an error.
16457 Use char because int might match the return type of a GCC
16458 builtin and then its argument prototype would still apply. */
16459 #ifdef __cplusplus
16460 extern "C"
16461 #endif
16462 char gettext ();
16463 int
16464 main ()
16465 {
16466 return gettext ();
16467 ;
16468 return 0;
16469 }
16470 _ACEOF
16471 for ac_lib in '' intl; do
16472 if test -z "$ac_lib"; then
16473 ac_res="none required"
16474 else
16475 ac_res=-l$ac_lib
16476 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16477 fi
16478 if test x$gcc_no_link = xyes; then
16479 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16480 fi
16481 if ac_fn_c_try_link "$LINENO"; then :
16482 ac_cv_search_gettext=$ac_res
16483 fi
16484 rm -f core conftest.err conftest.$ac_objext \
16485 conftest$ac_exeext
16486 if ${ac_cv_search_gettext+:} false; then :
16487 break
16488 fi
16489 done
16490 if ${ac_cv_search_gettext+:} false; then :
16491
16492 else
16493 ac_cv_search_gettext=no
16494 fi
16495 rm conftest.$ac_ext
16496 LIBS=$ac_func_search_save_LIBS
16497 fi
16498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16499 $as_echo "$ac_cv_search_gettext" >&6; }
16500 ac_res=$ac_cv_search_gettext
16501 if test "$ac_res" != no; then :
16502 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16503
16504 else
16505 USE_NLS=no
16506 fi
16507
16508 fi
16509 if test $USE_NLS = yes; then
16510
16511 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16512
16513 fi
16514
16515
16516
16517
16518
16519
16520
16521
16522
16523
16524
16525
16526
16527
16528
16529
16530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16531 $as_echo_n "checking for std::allocator base class... " >&6; }
16532 # Check whether --enable-libstdcxx-allocator was given.
16533 if test "${enable_libstdcxx_allocator+set}" = set; then :
16534 enableval=$enable_libstdcxx_allocator;
16535 case "$enableval" in
16536 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16537 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16538 esac
16539
16540 else
16541 enable_libstdcxx_allocator=auto
16542 fi
16543
16544
16545
16546 # If they didn't use this option switch, or if they specified --enable
16547 # with no specific model, we'll have to look for one. If they
16548 # specified --disable (???), do likewise.
16549 if test $enable_libstdcxx_allocator = no ||
16550 test $enable_libstdcxx_allocator = yes;
16551 then
16552 enable_libstdcxx_allocator=auto
16553 fi
16554
16555 # Either a known package, or "auto". Auto implies the default choice
16556 # for a particular platform.
16557 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16558
16559 # Probe for host-specific support if no specific model is specified.
16560 # Default to "new".
16561 if test $enable_libstdcxx_allocator_flag = auto; then
16562 case ${target_os} in
16563 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16564 enable_libstdcxx_allocator_flag=new
16565 ;;
16566 *)
16567 enable_libstdcxx_allocator_flag=new
16568 ;;
16569 esac
16570 fi
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16572 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16573
16574
16575 # Set configure bits for specified locale package
16576 case ${enable_libstdcxx_allocator_flag} in
16577 bitmap)
16578 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16579 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16580 ;;
16581 malloc)
16582 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16583 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16584 ;;
16585 mt)
16586 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16587 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16588 ;;
16589 new)
16590 ALLOCATOR_H=config/allocator/new_allocator_base.h
16591 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16592 ;;
16593 pool)
16594 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16595 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16596 ;;
16597 esac
16598
16599
16600
16601
16602
16603
16604 # Check whether --enable-cheaders was given.
16605 if test "${enable_cheaders+set}" = set; then :
16606 enableval=$enable_cheaders;
16607 case "$enableval" in
16608 c|c_std|c_global) ;;
16609 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16610 esac
16611
16612 else
16613 enable_cheaders=$c_model
16614 fi
16615
16616
16617 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16618 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16619
16620 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16621
16622 # Allow overrides to configure.host here.
16623 if test $enable_cheaders = c_global; then
16624 c_compatibility=yes
16625 fi
16626
16627
16628
16629
16630
16631
16632
16633 # Check whether --enable-long-long was given.
16634 if test "${enable_long_long+set}" = set; then :
16635 enableval=$enable_long_long;
16636 case "$enableval" in
16637 yes|no) ;;
16638 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16639 esac
16640
16641 else
16642 enable_long_long=yes
16643 fi
16644
16645
16646 if test $enable_long_long = yes; then
16647
16648 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16649
16650 fi
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16652 $as_echo_n "checking for enabled long long specializations... " >&6; }
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16654 $as_echo "$enable_long_long" >&6; }
16655
16656
16657 # Check whether --enable-wchar_t was given.
16658 if test "${enable_wchar_t+set}" = set; then :
16659 enableval=$enable_wchar_t;
16660 case "$enableval" in
16661 yes|no) ;;
16662 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16663 esac
16664
16665 else
16666 enable_wchar_t=yes
16667 fi
16668
16669
16670
16671 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16672 for ac_header in wchar.h
16673 do :
16674 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16675 if test "x$ac_cv_header_wchar_h" = xyes; then :
16676 cat >>confdefs.h <<_ACEOF
16677 #define HAVE_WCHAR_H 1
16678 _ACEOF
16679 ac_has_wchar_h=yes
16680 else
16681 ac_has_wchar_h=no
16682 fi
16683
16684 done
16685
16686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16687 $as_echo_n "checking for mbstate_t... " >&6; }
16688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16689 /* end confdefs.h. */
16690 #include <wchar.h>
16691 int
16692 main ()
16693 {
16694 mbstate_t teststate;
16695 ;
16696 return 0;
16697 }
16698 _ACEOF
16699 if ac_fn_c_try_compile "$LINENO"; then :
16700 have_mbstate_t=yes
16701 else
16702 have_mbstate_t=no
16703 fi
16704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
16706 $as_echo "$have_mbstate_t" >&6; }
16707 if test x"$have_mbstate_t" = xyes; then
16708
16709 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
16710
16711 fi
16712
16713 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
16714 # ac_has_wchar_h.
16715 for ac_header in wctype.h
16716 do :
16717 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
16718 if test "x$ac_cv_header_wctype_h" = xyes; then :
16719 cat >>confdefs.h <<_ACEOF
16720 #define HAVE_WCTYPE_H 1
16721 _ACEOF
16722 ac_has_wctype_h=yes
16723 else
16724 ac_has_wctype_h=no
16725 fi
16726
16727 done
16728
16729
16730 if test x"$enable_wchar_t" = x"yes"; then
16731
16732
16733 ac_ext=cpp
16734 ac_cpp='$CXXCPP $CPPFLAGS'
16735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16738
16739
16740 if test x"$ac_has_wchar_h" = xyes &&
16741 test x"$ac_has_wctype_h" = xyes; then
16742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16743 /* end confdefs.h. */
16744 #include <wchar.h>
16745 #include <stddef.h>
16746 wint_t i;
16747 long l = WEOF;
16748 long j = WCHAR_MIN;
16749 long k = WCHAR_MAX;
16750 namespace test
16751 {
16752 using ::btowc;
16753 using ::fgetwc;
16754 using ::fgetws;
16755 using ::fputwc;
16756 using ::fputws;
16757 using ::fwide;
16758 using ::fwprintf;
16759 using ::fwscanf;
16760 using ::getwc;
16761 using ::getwchar;
16762 using ::mbrlen;
16763 using ::mbrtowc;
16764 using ::mbsinit;
16765 using ::mbsrtowcs;
16766 using ::putwc;
16767 using ::putwchar;
16768 using ::swprintf;
16769 using ::swscanf;
16770 using ::ungetwc;
16771 using ::vfwprintf;
16772 using ::vswprintf;
16773 using ::vwprintf;
16774 using ::wcrtomb;
16775 using ::wcscat;
16776 using ::wcschr;
16777 using ::wcscmp;
16778 using ::wcscoll;
16779 using ::wcscpy;
16780 using ::wcscspn;
16781 using ::wcsftime;
16782 using ::wcslen;
16783 using ::wcsncat;
16784 using ::wcsncmp;
16785 using ::wcsncpy;
16786 using ::wcspbrk;
16787 using ::wcsrchr;
16788 using ::wcsrtombs;
16789 using ::wcsspn;
16790 using ::wcsstr;
16791 using ::wcstod;
16792 using ::wcstok;
16793 using ::wcstol;
16794 using ::wcstoul;
16795 using ::wcsxfrm;
16796 using ::wctob;
16797 using ::wmemchr;
16798 using ::wmemcmp;
16799 using ::wmemcpy;
16800 using ::wmemmove;
16801 using ::wmemset;
16802 using ::wprintf;
16803 using ::wscanf;
16804 }
16805
16806 int
16807 main ()
16808 {
16809
16810 ;
16811 return 0;
16812 }
16813 _ACEOF
16814 if ac_fn_cxx_try_compile "$LINENO"; then :
16815
16816 else
16817 enable_wchar_t=no
16818 fi
16819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16820 else
16821 enable_wchar_t=no
16822 fi
16823
16824 ac_ext=c
16825 ac_cpp='$CPP $CPPFLAGS'
16826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16829
16830 fi
16831
16832 if test x"$enable_wchar_t" = x"yes"; then
16833
16834 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
16835
16836 fi
16837
16838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
16839 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
16840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
16841 $as_echo "$enable_wchar_t" >&6; }
16842
16843
16844
16845 # Check whether --enable-c99 was given.
16846 if test "${enable_c99+set}" = set; then :
16847 enableval=$enable_c99;
16848 case "$enableval" in
16849 yes|no) ;;
16850 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
16851 esac
16852
16853 else
16854 enable_c99=yes
16855 fi
16856
16857
16858
16859 if test x"$enable_c99" = x"yes"; then
16860
16861 ac_ext=cpp
16862 ac_cpp='$CXXCPP $CPPFLAGS'
16863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16866
16867
16868 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
16869 # undefined may cause fake C99 facilities, like pre-standard snprintf,
16870 # to be spuriously enabled.
16871 ac_save_CXXFLAGS="$CXXFLAGS"
16872 CXXFLAGS="$CXXFLAGS -std=c++98"
16873 ac_save_LIBS="$LIBS"
16874 ac_save_gcc_no_link="$gcc_no_link"
16875
16876 if test x$gcc_no_link != xyes; then
16877 # Use -fno-exceptions to that the C driver can link these tests without
16878 # hitting undefined references to personality routines.
16879 CXXFLAGS="$CXXFLAGS -fno-exceptions"
16880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
16881 $as_echo_n "checking for sin in -lm... " >&6; }
16882 if ${ac_cv_lib_m_sin+:} false; then :
16883 $as_echo_n "(cached) " >&6
16884 else
16885 ac_check_lib_save_LIBS=$LIBS
16886 LIBS="-lm $LIBS"
16887 if test x$gcc_no_link = xyes; then
16888 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16889 fi
16890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16891 /* end confdefs.h. */
16892
16893 /* Override any GCC internal prototype to avoid an error.
16894 Use char because int might match the return type of a GCC
16895 builtin and then its argument prototype would still apply. */
16896 #ifdef __cplusplus
16897 extern "C"
16898 #endif
16899 char sin ();
16900 int
16901 main ()
16902 {
16903 return sin ();
16904 ;
16905 return 0;
16906 }
16907 _ACEOF
16908 if ac_fn_cxx_try_link "$LINENO"; then :
16909 ac_cv_lib_m_sin=yes
16910 else
16911 ac_cv_lib_m_sin=no
16912 fi
16913 rm -f core conftest.err conftest.$ac_objext \
16914 conftest$ac_exeext conftest.$ac_ext
16915 LIBS=$ac_check_lib_save_LIBS
16916 fi
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
16918 $as_echo "$ac_cv_lib_m_sin" >&6; }
16919 if test "x$ac_cv_lib_m_sin" = xyes; then :
16920 LIBS="$LIBS -lm"
16921 else
16922
16923 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
16924 gcc_no_link=yes
16925
16926 fi
16927
16928 fi
16929
16930 # Check for the existence of <math.h> functions used if C99 is enabled.
16931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
16932 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
16933 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
16934 $as_echo_n "(cached) " >&6
16935 else
16936
16937 if test x$gcc_no_link = xyes; then
16938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16939 /* end confdefs.h. */
16940 #include <math.h>
16941 volatile double d1, d2;
16942 volatile int i;
16943 int
16944 main ()
16945 {
16946 i = fpclassify(d1);
16947 i = isfinite(d1);
16948 i = isinf(d1);
16949 i = isnan(d1);
16950 i = isnormal(d1);
16951 i = signbit(d1);
16952 i = isgreater(d1, d2);
16953 i = isgreaterequal(d1, d2);
16954 i = isless(d1, d2);
16955 i = islessequal(d1, d2);
16956 i = islessgreater(d1, d2);
16957 i = islessgreater(d1, d2);
16958 i = isunordered(d1, d2);
16959
16960 ;
16961 return 0;
16962 }
16963 _ACEOF
16964 if ac_fn_cxx_try_compile "$LINENO"; then :
16965 glibcxx_cv_c99_math_cxx98=yes
16966 else
16967 glibcxx_cv_c99_math_cxx98=no
16968 fi
16969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16970 else
16971 if test x$gcc_no_link = xyes; then
16972 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16973 fi
16974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16975 /* end confdefs.h. */
16976 #include <math.h>
16977 volatile double d1, d2;
16978 volatile int i;
16979 int
16980 main ()
16981 {
16982 i = fpclassify(d1);
16983 i = isfinite(d1);
16984 i = isinf(d1);
16985 i = isnan(d1);
16986 i = isnormal(d1);
16987 i = signbit(d1);
16988 i = isgreater(d1, d2);
16989 i = isgreaterequal(d1, d2);
16990 i = isless(d1, d2);
16991 i = islessequal(d1, d2);
16992 i = islessgreater(d1, d2);
16993 i = islessgreater(d1, d2);
16994 i = isunordered(d1, d2);
16995
16996 ;
16997 return 0;
16998 }
16999 _ACEOF
17000 if ac_fn_cxx_try_link "$LINENO"; then :
17001 glibcxx_cv_c99_math_cxx98=yes
17002 else
17003 glibcxx_cv_c99_math_cxx98=no
17004 fi
17005 rm -f core conftest.err conftest.$ac_objext \
17006 conftest$ac_exeext conftest.$ac_ext
17007 fi
17008
17009 fi
17010
17011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17012 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17013 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17014
17015 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17016
17017 fi
17018
17019 # Check for the existence of <complex.h> complex math functions.
17020 # This is necessary even though libstdc++ uses the builtin versions
17021 # of these functions, because if the builtin cannot be used, a reference
17022 # to the library function is emitted.
17023 for ac_header in tgmath.h
17024 do :
17025 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17026 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17027 cat >>confdefs.h <<_ACEOF
17028 #define HAVE_TGMATH_H 1
17029 _ACEOF
17030 ac_has_tgmath_h=yes
17031 else
17032 ac_has_tgmath_h=no
17033 fi
17034
17035 done
17036
17037 for ac_header in complex.h
17038 do :
17039 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17040 if test "x$ac_cv_header_complex_h" = xyes; then :
17041 cat >>confdefs.h <<_ACEOF
17042 #define HAVE_COMPLEX_H 1
17043 _ACEOF
17044 ac_has_complex_h=yes
17045 else
17046 ac_has_complex_h=no
17047 fi
17048
17049 done
17050
17051 if test x"$ac_has_complex_h" = x"yes"; then
17052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17053 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17054 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17055 $as_echo_n "(cached) " >&6
17056 else
17057
17058 if test x$gcc_no_link = xyes; then
17059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17060 /* end confdefs.h. */
17061 #include <complex.h>
17062 typedef __complex__ float float_type;
17063 typedef __complex__ double double_type;
17064 typedef __complex__ long double ld_type;
17065 volatile float_type tmpf;
17066 volatile double_type tmpd;
17067 volatile ld_type tmpld;
17068 volatile float f;
17069 volatile double d;
17070 volatile long double ld;
17071 int
17072 main ()
17073 {
17074 f = cabsf(tmpf);
17075 f = cargf(tmpf);
17076 tmpf = ccosf(tmpf);
17077 tmpf = ccoshf(tmpf);
17078 tmpf = cexpf(tmpf);
17079 tmpf = clogf(tmpf);
17080 tmpf = csinf(tmpf);
17081 tmpf = csinhf(tmpf);
17082 tmpf = csqrtf(tmpf);
17083 tmpf = ctanf(tmpf);
17084 tmpf = ctanhf(tmpf);
17085 tmpf = cpowf(tmpf, tmpf);
17086 tmpf = cprojf(tmpf);
17087 d = cabs(tmpd);
17088 d = carg(tmpd);
17089 tmpd = ccos(tmpd);
17090 tmpd = ccosh(tmpd);
17091 tmpd = cexp(tmpd);
17092 tmpd = clog(tmpd);
17093 tmpd = csin(tmpd);
17094 tmpd = csinh(tmpd);
17095 tmpd = csqrt(tmpd);
17096 tmpd = ctan(tmpd);
17097 tmpd = ctanh(tmpd);
17098 tmpd = cpow(tmpd, tmpd);
17099 tmpd = cproj(tmpd);
17100 ld = cabsl(tmpld);
17101 ld = cargl(tmpld);
17102 tmpld = ccosl(tmpld);
17103 tmpld = ccoshl(tmpld);
17104 tmpld = cexpl(tmpld);
17105 tmpld = clogl(tmpld);
17106 tmpld = csinl(tmpld);
17107 tmpld = csinhl(tmpld);
17108 tmpld = csqrtl(tmpld);
17109 tmpld = ctanl(tmpld);
17110 tmpld = ctanhl(tmpld);
17111 tmpld = cpowl(tmpld, tmpld);
17112 tmpld = cprojl(tmpld);
17113
17114 ;
17115 return 0;
17116 }
17117 _ACEOF
17118 if ac_fn_cxx_try_compile "$LINENO"; then :
17119 glibcxx_cv_c99_complex_cxx98=yes
17120 else
17121 glibcxx_cv_c99_complex_cxx98=no
17122 fi
17123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17124 else
17125 if test x$gcc_no_link = xyes; then
17126 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17127 fi
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17130 #include <complex.h>
17131 typedef __complex__ float float_type;
17132 typedef __complex__ double double_type;
17133 typedef __complex__ long double ld_type;
17134 volatile float_type tmpf;
17135 volatile double_type tmpd;
17136 volatile ld_type tmpld;
17137 volatile float f;
17138 volatile double d;
17139 volatile long double ld;
17140 int
17141 main ()
17142 {
17143 f = cabsf(tmpf);
17144 f = cargf(tmpf);
17145 tmpf = ccosf(tmpf);
17146 tmpf = ccoshf(tmpf);
17147 tmpf = cexpf(tmpf);
17148 tmpf = clogf(tmpf);
17149 tmpf = csinf(tmpf);
17150 tmpf = csinhf(tmpf);
17151 tmpf = csqrtf(tmpf);
17152 tmpf = ctanf(tmpf);
17153 tmpf = ctanhf(tmpf);
17154 tmpf = cpowf(tmpf, tmpf);
17155 tmpf = cprojf(tmpf);
17156 d = cabs(tmpd);
17157 d = carg(tmpd);
17158 tmpd = ccos(tmpd);
17159 tmpd = ccosh(tmpd);
17160 tmpd = cexp(tmpd);
17161 tmpd = clog(tmpd);
17162 tmpd = csin(tmpd);
17163 tmpd = csinh(tmpd);
17164 tmpd = csqrt(tmpd);
17165 tmpd = ctan(tmpd);
17166 tmpd = ctanh(tmpd);
17167 tmpd = cpow(tmpd, tmpd);
17168 tmpd = cproj(tmpd);
17169 ld = cabsl(tmpld);
17170 ld = cargl(tmpld);
17171 tmpld = ccosl(tmpld);
17172 tmpld = ccoshl(tmpld);
17173 tmpld = cexpl(tmpld);
17174 tmpld = clogl(tmpld);
17175 tmpld = csinl(tmpld);
17176 tmpld = csinhl(tmpld);
17177 tmpld = csqrtl(tmpld);
17178 tmpld = ctanl(tmpld);
17179 tmpld = ctanhl(tmpld);
17180 tmpld = cpowl(tmpld, tmpld);
17181 tmpld = cprojl(tmpld);
17182
17183 ;
17184 return 0;
17185 }
17186 _ACEOF
17187 if ac_fn_cxx_try_link "$LINENO"; then :
17188 glibcxx_cv_c99_complex_cxx98=yes
17189 else
17190 glibcxx_cv_c99_complex_cxx98=no
17191 fi
17192 rm -f core conftest.err conftest.$ac_objext \
17193 conftest$ac_exeext conftest.$ac_ext
17194 fi
17195
17196 fi
17197
17198 fi
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17200 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17201 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17202
17203 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17204
17205 fi
17206
17207 # Check for the existence in <stdio.h> of vscanf, et. al.
17208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17209 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17210 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17211 $as_echo_n "(cached) " >&6
17212 else
17213
17214 if test x$gcc_no_link = xyes; then
17215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17216 /* end confdefs.h. */
17217 #include <stdio.h>
17218 #include <stdarg.h>
17219 void foo(char* fmt, ...)
17220 {
17221 va_list args; va_start(args, fmt);
17222 vfscanf(stderr, "%i", args);
17223 vscanf("%i", args);
17224 vsnprintf(fmt, 0, "%i", args);
17225 vsscanf(fmt, "%i", args);
17226 snprintf(fmt, 0, "%i");
17227 }
17228 int
17229 main ()
17230 {
17231
17232 ;
17233 return 0;
17234 }
17235 _ACEOF
17236 if ac_fn_cxx_try_compile "$LINENO"; then :
17237 glibcxx_cv_c99_stdio_cxx98=yes
17238 else
17239 glibcxx_cv_c99_stdio_cxx98=no
17240 fi
17241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17242 else
17243 if test x$gcc_no_link = xyes; then
17244 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17245 fi
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 #include <stdio.h>
17249 #include <stdarg.h>
17250 void foo(char* fmt, ...)
17251 {
17252 va_list args; va_start(args, fmt);
17253 vfscanf(stderr, "%i", args);
17254 vscanf("%i", args);
17255 vsnprintf(fmt, 0, "%i", args);
17256 vsscanf(fmt, "%i", args);
17257 snprintf(fmt, 0, "%i");
17258 }
17259 int
17260 main ()
17261 {
17262
17263 ;
17264 return 0;
17265 }
17266 _ACEOF
17267 if ac_fn_cxx_try_link "$LINENO"; then :
17268 glibcxx_cv_c99_stdio_cxx98=yes
17269 else
17270 glibcxx_cv_c99_stdio_cxx98=no
17271 fi
17272 rm -f core conftest.err conftest.$ac_objext \
17273 conftest$ac_exeext conftest.$ac_ext
17274 fi
17275
17276 fi
17277
17278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17279 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17280 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17281
17282 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17283
17284 fi
17285
17286 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17288 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17289 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17290 $as_echo_n "(cached) " >&6
17291 else
17292
17293 if test x$gcc_no_link = xyes; then
17294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17295 /* end confdefs.h. */
17296 #include <stdlib.h>
17297 volatile float f;
17298 volatile long double ld;
17299 volatile unsigned long long ll;
17300 lldiv_t mydivt;
17301 int
17302 main ()
17303 {
17304 char* tmp;
17305 f = strtof("gnu", &tmp);
17306 ld = strtold("gnu", &tmp);
17307 ll = strtoll("gnu", &tmp, 10);
17308 ll = strtoull("gnu", &tmp, 10);
17309 ll = llabs(10);
17310 mydivt = lldiv(10,1);
17311 ll = mydivt.quot;
17312 ll = mydivt.rem;
17313 ll = atoll("10");
17314 _Exit(0);
17315
17316 ;
17317 return 0;
17318 }
17319 _ACEOF
17320 if ac_fn_cxx_try_compile "$LINENO"; then :
17321 glibcxx_cv_c99_stdlib_cxx98=yes
17322 else
17323 glibcxx_cv_c99_stdlib_cxx98=no
17324 fi
17325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17326 else
17327 if test x$gcc_no_link = xyes; then
17328 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17329 fi
17330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17331 /* end confdefs.h. */
17332 #include <stdlib.h>
17333 volatile float f;
17334 volatile long double ld;
17335 volatile unsigned long long ll;
17336 lldiv_t mydivt;
17337 int
17338 main ()
17339 {
17340 char* tmp;
17341 f = strtof("gnu", &tmp);
17342 ld = strtold("gnu", &tmp);
17343 ll = strtoll("gnu", &tmp, 10);
17344 ll = strtoull("gnu", &tmp, 10);
17345 ll = llabs(10);
17346 mydivt = lldiv(10,1);
17347 ll = mydivt.quot;
17348 ll = mydivt.rem;
17349 ll = atoll("10");
17350 _Exit(0);
17351
17352 ;
17353 return 0;
17354 }
17355 _ACEOF
17356 if ac_fn_cxx_try_link "$LINENO"; then :
17357 glibcxx_cv_c99_stdlib_cxx98=yes
17358 else
17359 glibcxx_cv_c99_stdlib_cxx98=no
17360 fi
17361 rm -f core conftest.err conftest.$ac_objext \
17362 conftest$ac_exeext conftest.$ac_ext
17363 fi
17364
17365 fi
17366
17367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17368 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17369 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17370
17371 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17372
17373 fi
17374
17375 # Check for the existence in <wchar.h> of wcstold, etc.
17376 if test x"$ac_has_wchar_h" = xyes &&
17377 test x"$ac_has_wctype_h" = xyes; then
17378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17379 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17380 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17381 $as_echo_n "(cached) " >&6
17382 else
17383
17384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17385 /* end confdefs.h. */
17386 #include <wchar.h>
17387 namespace test
17388 {
17389 using ::wcstold;
17390 using ::wcstoll;
17391 using ::wcstoull;
17392 }
17393
17394 int
17395 main ()
17396 {
17397
17398 ;
17399 return 0;
17400 }
17401 _ACEOF
17402 if ac_fn_cxx_try_compile "$LINENO"; then :
17403 glibcxx_cv_c99_wchar_cxx98=yes
17404 else
17405 glibcxx_cv_c99_wchar_cxx98=no
17406 fi
17407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17408
17409 fi
17410
17411
17412 # Checks for wide character functions that may not be present.
17413 # Injection of these is wrapped with guard macros.
17414 # NB: only put functions here, instead of immediately above, if
17415 # absolutely necessary.
17416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17417 /* end confdefs.h. */
17418 #include <wchar.h>
17419 namespace test { using ::vfwscanf; }
17420 int
17421 main ()
17422 {
17423
17424 ;
17425 return 0;
17426 }
17427 _ACEOF
17428 if ac_fn_cxx_try_compile "$LINENO"; then :
17429
17430 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17431
17432 fi
17433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17434
17435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17436 /* end confdefs.h. */
17437 #include <wchar.h>
17438 namespace test { using ::vswscanf; }
17439 int
17440 main ()
17441 {
17442
17443 ;
17444 return 0;
17445 }
17446 _ACEOF
17447 if ac_fn_cxx_try_compile "$LINENO"; then :
17448
17449 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17450
17451 fi
17452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17453
17454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17455 /* end confdefs.h. */
17456 #include <wchar.h>
17457 namespace test { using ::vwscanf; }
17458 int
17459 main ()
17460 {
17461
17462 ;
17463 return 0;
17464 }
17465 _ACEOF
17466 if ac_fn_cxx_try_compile "$LINENO"; then :
17467
17468 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17469
17470 fi
17471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17472
17473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17474 /* end confdefs.h. */
17475 #include <wchar.h>
17476 namespace test { using ::wcstof; }
17477 int
17478 main ()
17479 {
17480
17481 ;
17482 return 0;
17483 }
17484 _ACEOF
17485 if ac_fn_cxx_try_compile "$LINENO"; then :
17486
17487 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17488
17489 fi
17490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17491
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17494 #include <wctype.h>
17495 int
17496 main ()
17497 {
17498 wint_t t; int i = iswblank(t);
17499 ;
17500 return 0;
17501 }
17502 _ACEOF
17503 if ac_fn_cxx_try_compile "$LINENO"; then :
17504
17505 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17506
17507 fi
17508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17509
17510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17511 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17512 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17513
17514 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17515
17516 fi
17517 fi
17518
17519 # Option parsed, now set things appropriately.
17520 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17521 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17522 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17523 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17524 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17525 enable_c99=no;
17526 else
17527
17528 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17529
17530 fi
17531
17532 gcc_no_link="$ac_save_gcc_no_link"
17533 LIBS="$ac_save_LIBS"
17534 CXXFLAGS="$ac_save_CXXFLAGS"
17535 ac_ext=c
17536 ac_cpp='$CPP $CPPFLAGS'
17537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17540
17541
17542
17543 ac_ext=cpp
17544 ac_cpp='$CXXCPP $CPPFLAGS'
17545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17548
17549
17550 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17551 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17552 ac_save_CXXFLAGS="$CXXFLAGS"
17553 CXXFLAGS="$CXXFLAGS -std=c++11"
17554 ac_save_LIBS="$LIBS"
17555 ac_save_gcc_no_link="$gcc_no_link"
17556
17557 if test x$gcc_no_link != xyes; then
17558 # Use -fno-exceptions to that the C driver can link these tests without
17559 # hitting undefined references to personality routines.
17560 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17562 $as_echo_n "checking for sin in -lm... " >&6; }
17563 if ${ac_cv_lib_m_sin+:} false; then :
17564 $as_echo_n "(cached) " >&6
17565 else
17566 ac_check_lib_save_LIBS=$LIBS
17567 LIBS="-lm $LIBS"
17568 if test x$gcc_no_link = xyes; then
17569 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17570 fi
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17573
17574 /* Override any GCC internal prototype to avoid an error.
17575 Use char because int might match the return type of a GCC
17576 builtin and then its argument prototype would still apply. */
17577 #ifdef __cplusplus
17578 extern "C"
17579 #endif
17580 char sin ();
17581 int
17582 main ()
17583 {
17584 return sin ();
17585 ;
17586 return 0;
17587 }
17588 _ACEOF
17589 if ac_fn_cxx_try_link "$LINENO"; then :
17590 ac_cv_lib_m_sin=yes
17591 else
17592 ac_cv_lib_m_sin=no
17593 fi
17594 rm -f core conftest.err conftest.$ac_objext \
17595 conftest$ac_exeext conftest.$ac_ext
17596 LIBS=$ac_check_lib_save_LIBS
17597 fi
17598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17599 $as_echo "$ac_cv_lib_m_sin" >&6; }
17600 if test "x$ac_cv_lib_m_sin" = xyes; then :
17601 LIBS="$LIBS -lm"
17602 else
17603
17604 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17605 gcc_no_link=yes
17606
17607 fi
17608
17609 fi
17610
17611 # Check for the existence of <math.h> functions used if C99 is enabled.
17612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17613 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17614 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17615 $as_echo_n "(cached) " >&6
17616 else
17617
17618 if test x$gcc_no_link = xyes; then
17619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17620 /* end confdefs.h. */
17621 #include <math.h>
17622 volatile double d1, d2;
17623 volatile int i;
17624 int
17625 main ()
17626 {
17627 i = fpclassify(d1);
17628 i = isfinite(d1);
17629 i = isinf(d1);
17630 i = isnan(d1);
17631 i = isnormal(d1);
17632 i = signbit(d1);
17633 i = isgreater(d1, d2);
17634 i = isgreaterequal(d1, d2);
17635 i = isless(d1, d2);
17636 i = islessequal(d1, d2);
17637 i = islessgreater(d1, d2);
17638 i = islessgreater(d1, d2);
17639 i = isunordered(d1, d2);
17640
17641 ;
17642 return 0;
17643 }
17644 _ACEOF
17645 if ac_fn_cxx_try_compile "$LINENO"; then :
17646 glibcxx_cv_c99_math_cxx11=yes
17647 else
17648 glibcxx_cv_c99_math_cxx11=no
17649 fi
17650 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17651 else
17652 if test x$gcc_no_link = xyes; then
17653 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17654 fi
17655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17656 /* end confdefs.h. */
17657 #include <math.h>
17658 volatile double d1, d2;
17659 volatile int i;
17660 int
17661 main ()
17662 {
17663 i = fpclassify(d1);
17664 i = isfinite(d1);
17665 i = isinf(d1);
17666 i = isnan(d1);
17667 i = isnormal(d1);
17668 i = signbit(d1);
17669 i = isgreater(d1, d2);
17670 i = isgreaterequal(d1, d2);
17671 i = isless(d1, d2);
17672 i = islessequal(d1, d2);
17673 i = islessgreater(d1, d2);
17674 i = islessgreater(d1, d2);
17675 i = isunordered(d1, d2);
17676
17677 ;
17678 return 0;
17679 }
17680 _ACEOF
17681 if ac_fn_cxx_try_link "$LINENO"; then :
17682 glibcxx_cv_c99_math_cxx11=yes
17683 else
17684 glibcxx_cv_c99_math_cxx11=no
17685 fi
17686 rm -f core conftest.err conftest.$ac_objext \
17687 conftest$ac_exeext conftest.$ac_ext
17688 fi
17689
17690 fi
17691
17692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
17693 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
17694 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
17695
17696 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
17697
17698 fi
17699
17700 # Check for the existence of <complex.h> complex math functions.
17701 # This is necessary even though libstdc++ uses the builtin versions
17702 # of these functions, because if the builtin cannot be used, a reference
17703 # to the library function is emitted.
17704 for ac_header in tgmath.h
17705 do :
17706 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17707 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17708 cat >>confdefs.h <<_ACEOF
17709 #define HAVE_TGMATH_H 1
17710 _ACEOF
17711 ac_has_tgmath_h=yes
17712 else
17713 ac_has_tgmath_h=no
17714 fi
17715
17716 done
17717
17718 for ac_header in complex.h
17719 do :
17720 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17721 if test "x$ac_cv_header_complex_h" = xyes; then :
17722 cat >>confdefs.h <<_ACEOF
17723 #define HAVE_COMPLEX_H 1
17724 _ACEOF
17725 ac_has_complex_h=yes
17726 else
17727 ac_has_complex_h=no
17728 fi
17729
17730 done
17731
17732 if test x"$ac_has_complex_h" = x"yes"; then
17733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
17734 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
17735 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
17736 $as_echo_n "(cached) " >&6
17737 else
17738
17739 if test x$gcc_no_link = xyes; then
17740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17741 /* end confdefs.h. */
17742 #include <complex.h>
17743 typedef __complex__ float float_type;
17744 typedef __complex__ double double_type;
17745 typedef __complex__ long double ld_type;
17746 volatile float_type tmpf;
17747 volatile double_type tmpd;
17748 volatile ld_type tmpld;
17749 volatile float f;
17750 volatile double d;
17751 volatile long double ld;
17752 int
17753 main ()
17754 {
17755 f = cabsf(tmpf);
17756 f = cargf(tmpf);
17757 tmpf = ccosf(tmpf);
17758 tmpf = ccoshf(tmpf);
17759 tmpf = cexpf(tmpf);
17760 tmpf = clogf(tmpf);
17761 tmpf = csinf(tmpf);
17762 tmpf = csinhf(tmpf);
17763 tmpf = csqrtf(tmpf);
17764 tmpf = ctanf(tmpf);
17765 tmpf = ctanhf(tmpf);
17766 tmpf = cpowf(tmpf, tmpf);
17767 tmpf = cprojf(tmpf);
17768 d = cabs(tmpd);
17769 d = carg(tmpd);
17770 tmpd = ccos(tmpd);
17771 tmpd = ccosh(tmpd);
17772 tmpd = cexp(tmpd);
17773 tmpd = clog(tmpd);
17774 tmpd = csin(tmpd);
17775 tmpd = csinh(tmpd);
17776 tmpd = csqrt(tmpd);
17777 tmpd = ctan(tmpd);
17778 tmpd = ctanh(tmpd);
17779 tmpd = cpow(tmpd, tmpd);
17780 tmpd = cproj(tmpd);
17781 ld = cabsl(tmpld);
17782 ld = cargl(tmpld);
17783 tmpld = ccosl(tmpld);
17784 tmpld = ccoshl(tmpld);
17785 tmpld = cexpl(tmpld);
17786 tmpld = clogl(tmpld);
17787 tmpld = csinl(tmpld);
17788 tmpld = csinhl(tmpld);
17789 tmpld = csqrtl(tmpld);
17790 tmpld = ctanl(tmpld);
17791 tmpld = ctanhl(tmpld);
17792 tmpld = cpowl(tmpld, tmpld);
17793 tmpld = cprojl(tmpld);
17794
17795 ;
17796 return 0;
17797 }
17798 _ACEOF
17799 if ac_fn_cxx_try_compile "$LINENO"; then :
17800 glibcxx_cv_c99_complex_cxx11=yes
17801 else
17802 glibcxx_cv_c99_complex_cxx11=no
17803 fi
17804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17805 else
17806 if test x$gcc_no_link = xyes; then
17807 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17808 fi
17809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17810 /* end confdefs.h. */
17811 #include <complex.h>
17812 typedef __complex__ float float_type;
17813 typedef __complex__ double double_type;
17814 typedef __complex__ long double ld_type;
17815 volatile float_type tmpf;
17816 volatile double_type tmpd;
17817 volatile ld_type tmpld;
17818 volatile float f;
17819 volatile double d;
17820 volatile long double ld;
17821 int
17822 main ()
17823 {
17824 f = cabsf(tmpf);
17825 f = cargf(tmpf);
17826 tmpf = ccosf(tmpf);
17827 tmpf = ccoshf(tmpf);
17828 tmpf = cexpf(tmpf);
17829 tmpf = clogf(tmpf);
17830 tmpf = csinf(tmpf);
17831 tmpf = csinhf(tmpf);
17832 tmpf = csqrtf(tmpf);
17833 tmpf = ctanf(tmpf);
17834 tmpf = ctanhf(tmpf);
17835 tmpf = cpowf(tmpf, tmpf);
17836 tmpf = cprojf(tmpf);
17837 d = cabs(tmpd);
17838 d = carg(tmpd);
17839 tmpd = ccos(tmpd);
17840 tmpd = ccosh(tmpd);
17841 tmpd = cexp(tmpd);
17842 tmpd = clog(tmpd);
17843 tmpd = csin(tmpd);
17844 tmpd = csinh(tmpd);
17845 tmpd = csqrt(tmpd);
17846 tmpd = ctan(tmpd);
17847 tmpd = ctanh(tmpd);
17848 tmpd = cpow(tmpd, tmpd);
17849 tmpd = cproj(tmpd);
17850 ld = cabsl(tmpld);
17851 ld = cargl(tmpld);
17852 tmpld = ccosl(tmpld);
17853 tmpld = ccoshl(tmpld);
17854 tmpld = cexpl(tmpld);
17855 tmpld = clogl(tmpld);
17856 tmpld = csinl(tmpld);
17857 tmpld = csinhl(tmpld);
17858 tmpld = csqrtl(tmpld);
17859 tmpld = ctanl(tmpld);
17860 tmpld = ctanhl(tmpld);
17861 tmpld = cpowl(tmpld, tmpld);
17862 tmpld = cprojl(tmpld);
17863
17864 ;
17865 return 0;
17866 }
17867 _ACEOF
17868 if ac_fn_cxx_try_link "$LINENO"; then :
17869 glibcxx_cv_c99_complex_cxx11=yes
17870 else
17871 glibcxx_cv_c99_complex_cxx11=no
17872 fi
17873 rm -f core conftest.err conftest.$ac_objext \
17874 conftest$ac_exeext conftest.$ac_ext
17875 fi
17876
17877 fi
17878
17879 fi
17880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
17881 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
17882 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
17883
17884 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
17885
17886 fi
17887
17888 # Check for the existence in <stdio.h> of vscanf, et. al.
17889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
17890 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
17891 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
17892 $as_echo_n "(cached) " >&6
17893 else
17894
17895 if test x$gcc_no_link = xyes; then
17896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17897 /* end confdefs.h. */
17898 #include <stdio.h>
17899 #include <stdarg.h>
17900 void foo(char* fmt, ...)
17901 {
17902 va_list args; va_start(args, fmt);
17903 vfscanf(stderr, "%i", args);
17904 vscanf("%i", args);
17905 vsnprintf(fmt, 0, "%i", args);
17906 vsscanf(fmt, "%i", args);
17907 snprintf(fmt, 0, "%i");
17908 }
17909 int
17910 main ()
17911 {
17912
17913 ;
17914 return 0;
17915 }
17916 _ACEOF
17917 if ac_fn_cxx_try_compile "$LINENO"; then :
17918 glibcxx_cv_c99_stdio_cxx11=yes
17919 else
17920 glibcxx_cv_c99_stdio_cxx11=no
17921 fi
17922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17923 else
17924 if test x$gcc_no_link = xyes; then
17925 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17926 fi
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17929 #include <stdio.h>
17930 #include <stdarg.h>
17931 void foo(char* fmt, ...)
17932 {
17933 va_list args; va_start(args, fmt);
17934 vfscanf(stderr, "%i", args);
17935 vscanf("%i", args);
17936 vsnprintf(fmt, 0, "%i", args);
17937 vsscanf(fmt, "%i", args);
17938 snprintf(fmt, 0, "%i");
17939 }
17940 int
17941 main ()
17942 {
17943
17944 ;
17945 return 0;
17946 }
17947 _ACEOF
17948 if ac_fn_cxx_try_link "$LINENO"; then :
17949 glibcxx_cv_c99_stdio_cxx11=yes
17950 else
17951 glibcxx_cv_c99_stdio_cxx11=no
17952 fi
17953 rm -f core conftest.err conftest.$ac_objext \
17954 conftest$ac_exeext conftest.$ac_ext
17955 fi
17956
17957 fi
17958
17959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
17960 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
17961 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
17962
17963 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
17964
17965 fi
17966
17967 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
17969 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
17970 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
17971 $as_echo_n "(cached) " >&6
17972 else
17973
17974 if test x$gcc_no_link = xyes; then
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17977 #include <stdlib.h>
17978 volatile float f;
17979 volatile long double ld;
17980 volatile unsigned long long ll;
17981 lldiv_t mydivt;
17982 int
17983 main ()
17984 {
17985 char* tmp;
17986 f = strtof("gnu", &tmp);
17987 ld = strtold("gnu", &tmp);
17988 ll = strtoll("gnu", &tmp, 10);
17989 ll = strtoull("gnu", &tmp, 10);
17990 ll = llabs(10);
17991 mydivt = lldiv(10,1);
17992 ll = mydivt.quot;
17993 ll = mydivt.rem;
17994 ll = atoll("10");
17995 _Exit(0);
17996
17997 ;
17998 return 0;
17999 }
18000 _ACEOF
18001 if ac_fn_cxx_try_compile "$LINENO"; then :
18002 glibcxx_cv_c99_stdlib_cxx11=yes
18003 else
18004 glibcxx_cv_c99_stdlib_cxx11=no
18005 fi
18006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18007 else
18008 if test x$gcc_no_link = xyes; then
18009 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18010 fi
18011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18012 /* end confdefs.h. */
18013 #include <stdlib.h>
18014 volatile float f;
18015 volatile long double ld;
18016 volatile unsigned long long ll;
18017 lldiv_t mydivt;
18018 int
18019 main ()
18020 {
18021 char* tmp;
18022 f = strtof("gnu", &tmp);
18023 ld = strtold("gnu", &tmp);
18024 ll = strtoll("gnu", &tmp, 10);
18025 ll = strtoull("gnu", &tmp, 10);
18026 ll = llabs(10);
18027 mydivt = lldiv(10,1);
18028 ll = mydivt.quot;
18029 ll = mydivt.rem;
18030 ll = atoll("10");
18031 _Exit(0);
18032
18033 ;
18034 return 0;
18035 }
18036 _ACEOF
18037 if ac_fn_cxx_try_link "$LINENO"; then :
18038 glibcxx_cv_c99_stdlib_cxx11=yes
18039 else
18040 glibcxx_cv_c99_stdlib_cxx11=no
18041 fi
18042 rm -f core conftest.err conftest.$ac_objext \
18043 conftest$ac_exeext conftest.$ac_ext
18044 fi
18045
18046 fi
18047
18048 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18049 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18050 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18051
18052 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18053
18054 fi
18055
18056 # Check for the existence in <wchar.h> of wcstold, etc.
18057 if test x"$ac_has_wchar_h" = xyes &&
18058 test x"$ac_has_wctype_h" = xyes; then
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18060 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18061 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18062 $as_echo_n "(cached) " >&6
18063 else
18064
18065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18066 /* end confdefs.h. */
18067 #include <wchar.h>
18068 namespace test
18069 {
18070 using ::wcstold;
18071 using ::wcstoll;
18072 using ::wcstoull;
18073 }
18074
18075 int
18076 main ()
18077 {
18078
18079 ;
18080 return 0;
18081 }
18082 _ACEOF
18083 if ac_fn_cxx_try_compile "$LINENO"; then :
18084 glibcxx_cv_c99_wchar_cxx11=yes
18085 else
18086 glibcxx_cv_c99_wchar_cxx11=no
18087 fi
18088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18089
18090 fi
18091
18092
18093 # Checks for wide character functions that may not be present.
18094 # Injection of these is wrapped with guard macros.
18095 # NB: only put functions here, instead of immediately above, if
18096 # absolutely necessary.
18097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18098 /* end confdefs.h. */
18099 #include <wchar.h>
18100 namespace test { using ::vfwscanf; }
18101 int
18102 main ()
18103 {
18104
18105 ;
18106 return 0;
18107 }
18108 _ACEOF
18109 if ac_fn_cxx_try_compile "$LINENO"; then :
18110
18111 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18112
18113 fi
18114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18115
18116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18117 /* end confdefs.h. */
18118 #include <wchar.h>
18119 namespace test { using ::vswscanf; }
18120 int
18121 main ()
18122 {
18123
18124 ;
18125 return 0;
18126 }
18127 _ACEOF
18128 if ac_fn_cxx_try_compile "$LINENO"; then :
18129
18130 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18131
18132 fi
18133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18134
18135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18136 /* end confdefs.h. */
18137 #include <wchar.h>
18138 namespace test { using ::vwscanf; }
18139 int
18140 main ()
18141 {
18142
18143 ;
18144 return 0;
18145 }
18146 _ACEOF
18147 if ac_fn_cxx_try_compile "$LINENO"; then :
18148
18149 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18150
18151 fi
18152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18153
18154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18155 /* end confdefs.h. */
18156 #include <wchar.h>
18157 namespace test { using ::wcstof; }
18158 int
18159 main ()
18160 {
18161
18162 ;
18163 return 0;
18164 }
18165 _ACEOF
18166 if ac_fn_cxx_try_compile "$LINENO"; then :
18167
18168 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18169
18170 fi
18171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18172
18173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18174 /* end confdefs.h. */
18175 #include <wctype.h>
18176 int
18177 main ()
18178 {
18179 wint_t t; int i = iswblank(t);
18180 ;
18181 return 0;
18182 }
18183 _ACEOF
18184 if ac_fn_cxx_try_compile "$LINENO"; then :
18185
18186 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18187
18188 fi
18189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18190
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18192 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18193 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18194
18195 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18196
18197 fi
18198 fi
18199
18200 gcc_no_link="$ac_save_gcc_no_link"
18201 LIBS="$ac_save_LIBS"
18202 CXXFLAGS="$ac_save_CXXFLAGS"
18203 ac_ext=c
18204 ac_cpp='$CPP $CPPFLAGS'
18205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18208
18209 fi
18210
18211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18212 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18214 $as_echo "$enable_c99" >&6; }
18215
18216
18217 # Check whether --enable-concept-checks was given.
18218 if test "${enable_concept_checks+set}" = set; then :
18219 enableval=$enable_concept_checks;
18220 case "$enableval" in
18221 yes|no) ;;
18222 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18223 esac
18224
18225 else
18226 enable_concept_checks=no
18227 fi
18228
18229
18230 if test $enable_concept_checks = yes; then
18231
18232 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18233
18234 fi
18235
18236
18237 # Check whether --enable-libstdcxx-debug-flags was given.
18238 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18239 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18240 xno | x) enable_libstdcxx_debug_flags= ;;
18241 x-*) ;;
18242 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18243 esac
18244 else
18245 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18246 fi
18247
18248
18249
18250 # Option parsed, now set things appropriately
18251 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18252
18253
18254 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18255 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18256
18257
18258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18259 $as_echo_n "checking for additional debug build... " >&6; }
18260 # Check whether --enable-libstdcxx-debug was given.
18261 if test "${enable_libstdcxx_debug+set}" = set; then :
18262 enableval=$enable_libstdcxx_debug;
18263 case "$enableval" in
18264 yes|no) ;;
18265 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18266 esac
18267
18268 else
18269 enable_libstdcxx_debug=no
18270 fi
18271
18272
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug" >&5
18274 $as_echo "$enable_libstdcxx_debug" >&6; }
18275
18276
18277
18278
18279 enable_parallel=no;
18280
18281 # See if configured libgomp/omp.h exists. (libgomp may be in
18282 # noconfigdirs but not explicitly disabled.)
18283 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18284 enable_parallel=yes;
18285 else
18286 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18287 $as_echo "$as_me: target-libgomp not built" >&6;}
18288 fi
18289
18290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18291 $as_echo_n "checking for parallel mode support... " >&6; }
18292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18293 $as_echo "$enable_parallel" >&6; }
18294
18295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18296 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18297 # Check whether --enable-cxx-flags was given.
18298 if test "${enable_cxx_flags+set}" = set; then :
18299 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18300 xno | x) enable_cxx_flags= ;;
18301 x-*) ;;
18302 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18303 esac
18304 else
18305 enable_cxx_flags=
18306 fi
18307
18308
18309
18310 # Run through flags (either default or command-line) and set anything
18311 # extra (e.g., #defines) that must accompany particular g++ options.
18312 if test -n "$enable_cxx_flags"; then
18313 for f in $enable_cxx_flags; do
18314 case "$f" in
18315 -fhonor-std) ;;
18316 -*) ;;
18317 *) # and we're trying to pass /what/ exactly?
18318 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18319 esac
18320 done
18321 fi
18322
18323 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18325 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18326
18327
18328
18329 # Check whether --enable-fully-dynamic-string was given.
18330 if test "${enable_fully_dynamic_string+set}" = set; then :
18331 enableval=$enable_fully_dynamic_string;
18332 case "$enableval" in
18333 yes|no) ;;
18334 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18335 esac
18336
18337 else
18338 enable_fully_dynamic_string=no
18339 fi
18340
18341
18342 if test $enable_fully_dynamic_string = yes; then
18343 enable_fully_dynamic_string_def=1
18344 else
18345 enable_fully_dynamic_string_def=0
18346 fi
18347
18348 cat >>confdefs.h <<_ACEOF
18349 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18350 _ACEOF
18351
18352
18353
18354
18355 # Check whether --enable-extern-template was given.
18356 if test "${enable_extern_template+set}" = set; then :
18357 enableval=$enable_extern_template;
18358 case "$enableval" in
18359 yes|no) ;;
18360 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18361 esac
18362
18363 else
18364 enable_extern_template=yes
18365 fi
18366
18367
18368
18369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18370 $as_echo_n "checking for extern template support... " >&6; }
18371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18372 $as_echo "$enable_extern_template" >&6; }
18373
18374
18375
18376
18377
18378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18379 $as_echo_n "checking for custom python install directory... " >&6; }
18380
18381 # Check whether --with-python-dir was given.
18382 if test "${with_python_dir+set}" = set; then :
18383 withval=$with_python_dir; with_python_dir=$withval
18384 else
18385 with_python_dir="no"
18386 fi
18387
18388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18389 $as_echo "${with_python_dir}" >&6; }
18390
18391 # Needed for installing Python modules during make install.
18392 python_mod_dir="${with_python_dir}"
18393
18394
18395
18396
18397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18398 $as_echo_n "checking for -Werror... " >&6; }
18399 # Check whether --enable-werror was given.
18400 if test "${enable_werror+set}" = set; then :
18401 enableval=$enable_werror;
18402 case "$enableval" in
18403 yes|no) ;;
18404 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18405 esac
18406
18407 else
18408 enable_werror=no
18409 fi
18410
18411
18412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18413 $as_echo "$enable_werror" >&6; }
18414
18415
18416
18417
18418 # Check whether --enable-vtable-verify was given.
18419 if test "${enable_vtable_verify+set}" = set; then :
18420 enableval=$enable_vtable_verify;
18421 case "$enableval" in
18422 yes|no) ;;
18423 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18424 esac
18425
18426 else
18427 enable_vtable_verify=no
18428 fi
18429
18430
18431
18432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18433 $as_echo_n "checking for vtable verify support... " >&6; }
18434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18435 $as_echo "$enable_vtable_verify" >&6; }
18436
18437 vtv_cygmin=no
18438 if test $enable_vtable_verify = yes; then
18439 case ${target_os} in
18440 cygwin*|mingw32*)
18441 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18442 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18443 vtv_cygmin=yes
18444 ;;
18445 darwin*)
18446 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18447 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18448 ;;
18449 solaris2*)
18450 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18451 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18452 ;;
18453 *)
18454 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-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 ;;
18457 esac
18458 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18459 else
18460 VTV_CXXFLAGS=
18461 VTV_PCH_CXXFLAGS=
18462 VTV_CXXLINKFLAGS=
18463 fi
18464
18465
18466
18467
18468 if test x$vtv_cygmin = xyes; then
18469 VTV_CYGMIN_TRUE=
18470 VTV_CYGMIN_FALSE='#'
18471 else
18472 VTV_CYGMIN_TRUE='#'
18473 VTV_CYGMIN_FALSE=
18474 fi
18475
18476
18477
18478
18479 # Checks for operating systems support that doesn't require linking.
18480
18481
18482
18483 ac_ext=cpp
18484 ac_cpp='$CXXCPP $CPPFLAGS'
18485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18488
18489 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18490 # and we don't need a declaration for C++14 anyway.
18491 ac_save_CXXFLAGS="$CXXFLAGS"
18492 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18493
18494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18495 $as_echo_n "checking for gets declaration... " >&6; }
18496 if ${glibcxx_cv_gets+:} false; then :
18497 $as_echo_n "(cached) " >&6
18498 else
18499
18500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18501 /* end confdefs.h. */
18502 #include <stdio.h>
18503 namespace test
18504 {
18505 using ::gets;
18506 }
18507
18508 _ACEOF
18509 if ac_fn_cxx_try_compile "$LINENO"; then :
18510 glibcxx_cv_gets=yes
18511 else
18512 glibcxx_cv_gets=no
18513
18514 fi
18515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18516 fi
18517
18518
18519 if test $glibcxx_cv_gets = yes; then
18520
18521 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18522
18523 fi
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18525 $as_echo "$glibcxx_cv_gets" >&6; }
18526
18527 CXXFLAGS="$ac_save_CXXFLAGS"
18528 ac_ext=c
18529 ac_cpp='$CPP $CPPFLAGS'
18530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18533
18534
18535
18536
18537
18538 ac_ext=cpp
18539 ac_cpp='$CXXCPP $CPPFLAGS'
18540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18543
18544 ac_save_CXXFLAGS="$CXXFLAGS"
18545 CXXFLAGS="$CXXFLAGS -std=c++11"
18546
18547 case "$host" in
18548 *-*-solaris2.*)
18549 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18550 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18552 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18553 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18554 $as_echo_n "(cached) " >&6
18555 else
18556
18557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18558 /* end confdefs.h. */
18559 #include <math.h>
18560 #undef isfinite
18561 namespace std {
18562 inline bool isfinite(float __x)
18563 { return __builtin_isfinite(__x); }
18564 }
18565
18566 _ACEOF
18567 if ac_fn_cxx_try_compile "$LINENO"; then :
18568 glibcxx_cv_math11_fp_overload=no
18569 else
18570 glibcxx_cv_math11_fp_overload=yes
18571
18572 fi
18573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18574 fi
18575
18576
18577 # autoheader cannot handle indented templates.
18578
18579
18580 if test $glibcxx_cv_math11_fp_overload = yes; then
18581 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18582
18583 fi
18584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18585 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18586
18587 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18588 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18590 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18591 if ${glibcxx_cv_math11_int_overload+:} false; then :
18592 $as_echo_n "(cached) " >&6
18593 else
18594
18595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18596 /* end confdefs.h. */
18597 #include <math.h>
18598 namespace std {
18599 template<typename _Tp>
18600 struct __is_integer;
18601 template<>
18602 struct __is_integer<int>
18603 {
18604 enum { __value = 1 };
18605 };
18606 }
18607 namespace __gnu_cxx {
18608 template<bool, typename>
18609 struct __enable_if;
18610 template<typename _Tp>
18611 struct __enable_if<true, _Tp>
18612 { typedef _Tp __type; };
18613 }
18614 namespace std {
18615 template<typename _Tp>
18616 constexpr typename __gnu_cxx::__enable_if
18617 <__is_integer<_Tp>::__value, double>::__type
18618 log2(_Tp __x)
18619 { return __builtin_log2(__x); }
18620 }
18621 int
18622 main (void)
18623 {
18624 int i = 1000;
18625 return std::log2(i);
18626 }
18627
18628 _ACEOF
18629 if ac_fn_cxx_try_compile "$LINENO"; then :
18630 glibcxx_cv_math11_int_overload=no
18631 else
18632 glibcxx_cv_math11_int_overload=yes
18633
18634 fi
18635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18636 fi
18637
18638
18639 # autoheader cannot handle indented templates.
18640
18641
18642 if test $glibcxx_cv_math11_int_overload = yes; then
18643 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18644
18645 fi
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18647 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18648 ;;
18649 *)
18650 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18651 # functions (instead of or as well as the C99 generic macros) then we
18652 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18653 # and must use the ones from <math.h> instead.
18654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18655 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18656 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18657 $as_echo_n "(cached) " >&6
18658 else
18659
18660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18661 /* end confdefs.h. */
18662 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18663 #include <math.h>
18664 #undef isinf
18665 namespace std {
18666 using ::isinf;
18667 bool isinf(float);
18668 bool isinf(long double);
18669 }
18670 using std::isinf;
18671 bool b = isinf(0.0);
18672
18673 _ACEOF
18674 if ac_fn_cxx_try_compile "$LINENO"; then :
18675 glibcxx_cv_obsolete_isinf=yes
18676 else
18677 glibcxx_cv_obsolete_isinf=no
18678
18679 fi
18680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18681 fi
18682
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
18684 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
18685 if test $glibcxx_cv_obsolete_isinf = yes; then
18686
18687 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
18688
18689 fi
18690
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
18692 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
18693 if ${glibcxx_cv_obsolete_isnan+:} false; then :
18694 $as_echo_n "(cached) " >&6
18695 else
18696
18697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18698 /* end confdefs.h. */
18699 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18700 #include <math.h>
18701 #undef isnan
18702 namespace std {
18703 using ::isnan;
18704 bool isnan(float);
18705 bool isnan(long double);
18706 }
18707 using std::isnan;
18708 bool b = isnan(0.0);
18709
18710 _ACEOF
18711 if ac_fn_cxx_try_compile "$LINENO"; then :
18712 glibcxx_cv_obsolete_isnan=yes
18713 else
18714 glibcxx_cv_obsolete_isnan=no
18715
18716 fi
18717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18718 fi
18719
18720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
18721 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
18722 if test $glibcxx_cv_obsolete_isnan = yes; then
18723
18724 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
18725
18726 fi
18727 ;;
18728 esac
18729
18730 CXXFLAGS="$ac_save_CXXFLAGS"
18731 ac_ext=c
18732 ac_cpp='$CPP $CPPFLAGS'
18733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18736
18737
18738
18739
18740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOWNERDEAD" >&5
18741 $as_echo_n "checking for EOWNERDEAD... " >&6; }
18742 if ${glibcxx_cv_system_error1+:} false; then :
18743 $as_echo_n "(cached) " >&6
18744 else
18745
18746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18747 /* end confdefs.h. */
18748 #include <errno.h>
18749 int
18750 main ()
18751 {
18752 int i = EOWNERDEAD;
18753 ;
18754 return 0;
18755 }
18756 _ACEOF
18757 if ac_fn_c_try_compile "$LINENO"; then :
18758 glibcxx_cv_system_error1=yes
18759 else
18760 glibcxx_cv_system_error1=no
18761 fi
18762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18763
18764 fi
18765
18766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error1" >&5
18767 $as_echo "$glibcxx_cv_system_error1" >&6; }
18768 if test x"$glibcxx_cv_system_error1" = x"yes"; then
18769
18770 $as_echo "#define HAVE_EOWNERDEAD 1" >>confdefs.h
18771
18772 fi
18773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTRECOVERABLE" >&5
18774 $as_echo_n "checking for ENOTRECOVERABLE... " >&6; }
18775 if ${glibcxx_cv_system_error2+:} false; then :
18776 $as_echo_n "(cached) " >&6
18777 else
18778
18779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18780 /* end confdefs.h. */
18781 #include <errno.h>
18782 int
18783 main ()
18784 {
18785 int i = ENOTRECOVERABLE;
18786 ;
18787 return 0;
18788 }
18789 _ACEOF
18790 if ac_fn_c_try_compile "$LINENO"; then :
18791 glibcxx_cv_system_error2=yes
18792 else
18793 glibcxx_cv_system_error2=no
18794 fi
18795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18796
18797 fi
18798
18799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error2" >&5
18800 $as_echo "$glibcxx_cv_system_error2" >&6; }
18801 if test x"$glibcxx_cv_system_error2" = x"yes"; then
18802
18803 $as_echo "#define HAVE_ENOTRECOVERABLE 1" >>confdefs.h
18804
18805 fi
18806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOLINK" >&5
18807 $as_echo_n "checking for ENOLINK... " >&6; }
18808 if ${glibcxx_cv_system_error3+:} false; then :
18809 $as_echo_n "(cached) " >&6
18810 else
18811
18812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18813 /* end confdefs.h. */
18814 #include <errno.h>
18815 int
18816 main ()
18817 {
18818 int i = ENOLINK;
18819 ;
18820 return 0;
18821 }
18822 _ACEOF
18823 if ac_fn_c_try_compile "$LINENO"; then :
18824 glibcxx_cv_system_error3=yes
18825 else
18826 glibcxx_cv_system_error3=no
18827 fi
18828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18829
18830 fi
18831
18832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error3" >&5
18833 $as_echo "$glibcxx_cv_system_error3" >&6; }
18834 if test x"$glibcxx_cv_system_error3" = x"yes"; then
18835
18836 $as_echo "#define HAVE_ENOLINK 1" >>confdefs.h
18837
18838 fi
18839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPROTO" >&5
18840 $as_echo_n "checking for EPROTO... " >&6; }
18841 if ${glibcxx_cv_system_error4+:} false; then :
18842 $as_echo_n "(cached) " >&6
18843 else
18844
18845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18846 /* end confdefs.h. */
18847 #include <errno.h>
18848 int
18849 main ()
18850 {
18851 int i = EPROTO;
18852 ;
18853 return 0;
18854 }
18855 _ACEOF
18856 if ac_fn_c_try_compile "$LINENO"; then :
18857 glibcxx_cv_system_error4=yes
18858 else
18859 glibcxx_cv_system_error4=no
18860 fi
18861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18862
18863 fi
18864
18865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error4" >&5
18866 $as_echo "$glibcxx_cv_system_error4" >&6; }
18867 if test x"$glibcxx_cv_system_error4" = x"yes"; then
18868
18869 $as_echo "#define HAVE_EPROTO 1" >>confdefs.h
18870
18871 fi
18872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENODATA" >&5
18873 $as_echo_n "checking for ENODATA... " >&6; }
18874 if ${glibcxx_cv_system_error5+:} false; then :
18875 $as_echo_n "(cached) " >&6
18876 else
18877
18878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18879 /* end confdefs.h. */
18880 #include <errno.h>
18881 int
18882 main ()
18883 {
18884 int i = ENODATA;
18885 ;
18886 return 0;
18887 }
18888 _ACEOF
18889 if ac_fn_c_try_compile "$LINENO"; then :
18890 glibcxx_cv_system_error5=yes
18891 else
18892 glibcxx_cv_system_error5=no
18893 fi
18894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18895
18896 fi
18897
18898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error5" >&5
18899 $as_echo "$glibcxx_cv_system_error5" >&6; }
18900 if test x"$glibcxx_cv_system_error5" = x"yes"; then
18901
18902 $as_echo "#define HAVE_ENODATA 1" >>confdefs.h
18903
18904 fi
18905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSR" >&5
18906 $as_echo_n "checking for ENOSR... " >&6; }
18907 if ${glibcxx_cv_system_error6+:} false; then :
18908 $as_echo_n "(cached) " >&6
18909 else
18910
18911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18912 /* end confdefs.h. */
18913 #include <errno.h>
18914 int
18915 main ()
18916 {
18917 int i = ENOSR;
18918 ;
18919 return 0;
18920 }
18921 _ACEOF
18922 if ac_fn_c_try_compile "$LINENO"; then :
18923 glibcxx_cv_system_error6=yes
18924 else
18925 glibcxx_cv_system_error6=no
18926 fi
18927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18928
18929 fi
18930
18931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error6" >&5
18932 $as_echo "$glibcxx_cv_system_error6" >&6; }
18933 if test x"$glibcxx_cv_system_error6" = x"yes"; then
18934
18935 $as_echo "#define HAVE_ENOSR 1" >>confdefs.h
18936
18937 fi
18938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSTR" >&5
18939 $as_echo_n "checking for ENOSTR... " >&6; }
18940 if ${glibcxx_cv_system_error7+:} false; then :
18941 $as_echo_n "(cached) " >&6
18942 else
18943
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18946 #include <errno.h>
18947 int
18948 main ()
18949 {
18950 int i = ENOSTR;
18951 ;
18952 return 0;
18953 }
18954 _ACEOF
18955 if ac_fn_c_try_compile "$LINENO"; then :
18956 glibcxx_cv_system_error7=yes
18957 else
18958 glibcxx_cv_system_error7=no
18959 fi
18960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18961
18962 fi
18963
18964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error7" >&5
18965 $as_echo "$glibcxx_cv_system_error7" >&6; }
18966 if test x"$glibcxx_cv_system_error7" = x"yes"; then
18967
18968 $as_echo "#define HAVE_ENOSTR 1" >>confdefs.h
18969
18970 fi
18971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIME" >&5
18972 $as_echo_n "checking for ETIME... " >&6; }
18973 if ${glibcxx_cv_system_error8+:} false; then :
18974 $as_echo_n "(cached) " >&6
18975 else
18976
18977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18978 /* end confdefs.h. */
18979 #include <errno.h>
18980 int
18981 main ()
18982 {
18983 int i = ETIME;
18984 ;
18985 return 0;
18986 }
18987 _ACEOF
18988 if ac_fn_c_try_compile "$LINENO"; then :
18989 glibcxx_cv_system_error8=yes
18990 else
18991 glibcxx_cv_system_error8=no
18992 fi
18993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18994
18995 fi
18996
18997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error8" >&5
18998 $as_echo "$glibcxx_cv_system_error8" >&6; }
18999 if test x"$glibcxx_cv_system_error8" = x"yes"; then
19000
19001 $as_echo "#define HAVE_ETIME 1" >>confdefs.h
19002
19003 fi
19004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EBADMSG" >&5
19005 $as_echo_n "checking for EBADMSG... " >&6; }
19006 if ${glibcxx_cv_system_error9+:} false; then :
19007 $as_echo_n "(cached) " >&6
19008 else
19009
19010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19011 /* end confdefs.h. */
19012 #include <errno.h>
19013 int
19014 main ()
19015 {
19016 int i = EBADMSG;
19017 ;
19018 return 0;
19019 }
19020 _ACEOF
19021 if ac_fn_c_try_compile "$LINENO"; then :
19022 glibcxx_cv_system_error9=yes
19023 else
19024 glibcxx_cv_system_error9=no
19025 fi
19026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19027
19028 fi
19029
19030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error9" >&5
19031 $as_echo "$glibcxx_cv_system_error9" >&6; }
19032 if test x"$glibcxx_cv_system_error9" = x"yes"; then
19033
19034 $as_echo "#define HAVE_EBADMSG 1" >>confdefs.h
19035
19036 fi
19037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECANCELED" >&5
19038 $as_echo_n "checking for ECANCELED... " >&6; }
19039 if ${glibcxx_cv_system_error10+:} false; then :
19040 $as_echo_n "(cached) " >&6
19041 else
19042
19043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19044 /* end confdefs.h. */
19045 #include <errno.h>
19046 int
19047 main ()
19048 {
19049 int i = ECANCELED;
19050 ;
19051 return 0;
19052 }
19053 _ACEOF
19054 if ac_fn_c_try_compile "$LINENO"; then :
19055 glibcxx_cv_system_error10=yes
19056 else
19057 glibcxx_cv_system_error10=no
19058 fi
19059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19060
19061 fi
19062
19063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error10" >&5
19064 $as_echo "$glibcxx_cv_system_error10" >&6; }
19065 if test x"$glibcxx_cv_system_error10" = x"yes"; then
19066
19067 $as_echo "#define HAVE_ECANCELED 1" >>confdefs.h
19068
19069 fi
19070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EOVERFLOW" >&5
19071 $as_echo_n "checking for EOVERFLOW... " >&6; }
19072 if ${glibcxx_cv_system_error11+:} false; then :
19073 $as_echo_n "(cached) " >&6
19074 else
19075
19076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19077 /* end confdefs.h. */
19078 #include <errno.h>
19079 int
19080 main ()
19081 {
19082 int i = EOVERFLOW;
19083 ;
19084 return 0;
19085 }
19086 _ACEOF
19087 if ac_fn_c_try_compile "$LINENO"; then :
19088 glibcxx_cv_system_error11=yes
19089 else
19090 glibcxx_cv_system_error11=no
19091 fi
19092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19093
19094 fi
19095
19096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error11" >&5
19097 $as_echo "$glibcxx_cv_system_error11" >&6; }
19098 if test x"$glibcxx_cv_system_error11" = x"yes"; then
19099
19100 $as_echo "#define HAVE_EOVERFLOW 1" >>confdefs.h
19101
19102 fi
19103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOTSUP" >&5
19104 $as_echo_n "checking for ENOTSUP... " >&6; }
19105 if ${glibcxx_cv_system_error12+:} false; then :
19106 $as_echo_n "(cached) " >&6
19107 else
19108
19109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19110 /* end confdefs.h. */
19111 #include <errno.h>
19112 int
19113 main ()
19114 {
19115 int i = ENOTSUP;
19116 ;
19117 return 0;
19118 }
19119 _ACEOF
19120 if ac_fn_c_try_compile "$LINENO"; then :
19121 glibcxx_cv_system_error12=yes
19122 else
19123 glibcxx_cv_system_error12=no
19124 fi
19125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19126
19127 fi
19128
19129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error12" >&5
19130 $as_echo "$glibcxx_cv_system_error12" >&6; }
19131 if test x"$glibcxx_cv_system_error12" = x"yes"; then
19132
19133 $as_echo "#define HAVE_ENOTSUP 1" >>confdefs.h
19134
19135 fi
19136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EIDRM" >&5
19137 $as_echo_n "checking for EIDRM... " >&6; }
19138 if ${glibcxx_cv_system_error13+:} false; then :
19139 $as_echo_n "(cached) " >&6
19140 else
19141
19142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19143 /* end confdefs.h. */
19144 #include <errno.h>
19145 int
19146 main ()
19147 {
19148 int i = EIDRM;
19149 ;
19150 return 0;
19151 }
19152 _ACEOF
19153 if ac_fn_c_try_compile "$LINENO"; then :
19154 glibcxx_cv_system_error13=yes
19155 else
19156 glibcxx_cv_system_error13=no
19157 fi
19158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19159
19160 fi
19161
19162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error13" >&5
19163 $as_echo "$glibcxx_cv_system_error13" >&6; }
19164 if test x"$glibcxx_cv_system_error13" = x"yes"; then
19165
19166 $as_echo "#define HAVE_EIDRM 1" >>confdefs.h
19167
19168 fi
19169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETXTBSY" >&5
19170 $as_echo_n "checking for ETXTBSY... " >&6; }
19171 if ${glibcxx_cv_system_error14+:} false; then :
19172 $as_echo_n "(cached) " >&6
19173 else
19174
19175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19176 /* end confdefs.h. */
19177 #include <errno.h>
19178 int
19179 main ()
19180 {
19181 int i = ETXTBSY;
19182 ;
19183 return 0;
19184 }
19185 _ACEOF
19186 if ac_fn_c_try_compile "$LINENO"; then :
19187 glibcxx_cv_system_error14=yes
19188 else
19189 glibcxx_cv_system_error14=no
19190 fi
19191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19192
19193 fi
19194
19195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error14" >&5
19196 $as_echo "$glibcxx_cv_system_error14" >&6; }
19197 if test x"$glibcxx_cv_system_error14" = x"yes"; then
19198
19199 $as_echo "#define HAVE_ETXTBSY 1" >>confdefs.h
19200
19201 fi
19202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ECHILD" >&5
19203 $as_echo_n "checking for ECHILD... " >&6; }
19204 if ${glibcxx_cv_system_error15+:} false; then :
19205 $as_echo_n "(cached) " >&6
19206 else
19207
19208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19209 /* end confdefs.h. */
19210 #include <errno.h>
19211 int
19212 main ()
19213 {
19214 int i = ECHILD;
19215 ;
19216 return 0;
19217 }
19218 _ACEOF
19219 if ac_fn_c_try_compile "$LINENO"; then :
19220 glibcxx_cv_system_error15=yes
19221 else
19222 glibcxx_cv_system_error15=no
19223 fi
19224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19225
19226 fi
19227
19228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error15" >&5
19229 $as_echo "$glibcxx_cv_system_error15" >&6; }
19230 if test x"$glibcxx_cv_system_error15" = x"yes"; then
19231
19232 $as_echo "#define HAVE_ECHILD 1" >>confdefs.h
19233
19234 fi
19235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ENOSPC" >&5
19236 $as_echo_n "checking for ENOSPC... " >&6; }
19237 if ${glibcxx_cv_system_error16+:} false; then :
19238 $as_echo_n "(cached) " >&6
19239 else
19240
19241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19242 /* end confdefs.h. */
19243 #include <errno.h>
19244 int
19245 main ()
19246 {
19247 int i = ENOSPC;
19248 ;
19249 return 0;
19250 }
19251 _ACEOF
19252 if ac_fn_c_try_compile "$LINENO"; then :
19253 glibcxx_cv_system_error16=yes
19254 else
19255 glibcxx_cv_system_error16=no
19256 fi
19257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19258
19259 fi
19260
19261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error16" >&5
19262 $as_echo "$glibcxx_cv_system_error16" >&6; }
19263 if test x"$glibcxx_cv_system_error16" = x"yes"; then
19264
19265 $as_echo "#define HAVE_ENOSPC 1" >>confdefs.h
19266
19267 fi
19268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EPERM" >&5
19269 $as_echo_n "checking for EPERM... " >&6; }
19270 if ${glibcxx_cv_system_error17+:} false; then :
19271 $as_echo_n "(cached) " >&6
19272 else
19273
19274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19275 /* end confdefs.h. */
19276 #include <errno.h>
19277 int
19278 main ()
19279 {
19280 int i = EPERM;
19281 ;
19282 return 0;
19283 }
19284 _ACEOF
19285 if ac_fn_c_try_compile "$LINENO"; then :
19286 glibcxx_cv_system_error17=yes
19287 else
19288 glibcxx_cv_system_error17=no
19289 fi
19290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19291
19292 fi
19293
19294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error17" >&5
19295 $as_echo "$glibcxx_cv_system_error17" >&6; }
19296 if test x"$glibcxx_cv_system_error17" = x"yes"; then
19297
19298 $as_echo "#define HAVE_EPERM 1" >>confdefs.h
19299
19300 fi
19301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ETIMEDOUT" >&5
19302 $as_echo_n "checking for ETIMEDOUT... " >&6; }
19303 if ${glibcxx_cv_system_error18+:} false; then :
19304 $as_echo_n "(cached) " >&6
19305 else
19306
19307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19308 /* end confdefs.h. */
19309 #include <errno.h>
19310 int
19311 main ()
19312 {
19313 int i = ETIMEDOUT;
19314 ;
19315 return 0;
19316 }
19317 _ACEOF
19318 if ac_fn_c_try_compile "$LINENO"; then :
19319 glibcxx_cv_system_error18=yes
19320 else
19321 glibcxx_cv_system_error18=no
19322 fi
19323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19324
19325 fi
19326
19327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error18" >&5
19328 $as_echo "$glibcxx_cv_system_error18" >&6; }
19329 if test x"$glibcxx_cv_system_error18" = x"yes"; then
19330
19331 $as_echo "#define HAVE_ETIMEDOUT 1" >>confdefs.h
19332
19333 fi
19334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for EWOULDBLOCK" >&5
19335 $as_echo_n "checking for EWOULDBLOCK... " >&6; }
19336 if ${glibcxx_cv_system_error19+:} false; then :
19337 $as_echo_n "(cached) " >&6
19338 else
19339
19340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19341 /* end confdefs.h. */
19342 #include <errno.h>
19343 int
19344 main ()
19345 {
19346 int i = EWOULDBLOCK;
19347 ;
19348 return 0;
19349 }
19350 _ACEOF
19351 if ac_fn_c_try_compile "$LINENO"; then :
19352 glibcxx_cv_system_error19=yes
19353 else
19354 glibcxx_cv_system_error19=no
19355 fi
19356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19357
19358 fi
19359
19360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_system_error19" >&5
19361 $as_echo "$glibcxx_cv_system_error19" >&6; }
19362 if test x"$glibcxx_cv_system_error19" = x"yes"; then
19363
19364 $as_echo "#define HAVE_EWOULDBLOCK 1" >>confdefs.h
19365
19366 fi
19367
19368
19369
19370
19371 # Test uchar.h.
19372 for ac_header in uchar.h
19373 do :
19374 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19375 if test "x$ac_cv_header_uchar_h" = xyes; then :
19376 cat >>confdefs.h <<_ACEOF
19377 #define HAVE_UCHAR_H 1
19378 _ACEOF
19379 ac_has_uchar_h=yes
19380 else
19381 ac_has_uchar_h=no
19382 fi
19383
19384 done
19385
19386
19387
19388 ac_ext=cpp
19389 ac_cpp='$CXXCPP $CPPFLAGS'
19390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19393
19394 ac_save_CXXFLAGS="$CXXFLAGS"
19395 CXXFLAGS="$CXXFLAGS -std=c++11"
19396
19397 if test x"$ac_has_uchar_h" = x"yes"; then
19398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19399 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19401 /* end confdefs.h. */
19402 #include <uchar.h>
19403 #ifdef __STDC_UTF_16__
19404 long i = __STDC_UTF_16__;
19405 #endif
19406 #ifdef __STDC_UTF_32__
19407 long j = __STDC_UTF_32__;
19408 #endif
19409 namespace test
19410 {
19411 using ::c16rtomb;
19412 using ::c32rtomb;
19413 using ::mbrtoc16;
19414 using ::mbrtoc32;
19415 }
19416
19417 int
19418 main ()
19419 {
19420
19421 ;
19422 return 0;
19423 }
19424 _ACEOF
19425 if ac_fn_cxx_try_compile "$LINENO"; then :
19426 ac_c11_uchar_cxx11=yes
19427 else
19428 ac_c11_uchar_cxx11=no
19429 fi
19430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19431 else
19432 ac_c11_uchar_cxx11=no
19433 fi
19434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19435 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19436 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19437
19438 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19439
19440 fi
19441
19442 CXXFLAGS="$ac_save_CXXFLAGS"
19443 ac_ext=c
19444 ac_cpp='$CPP $CPPFLAGS'
19445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19448
19449
19450
19451 # For the streamoff typedef.
19452
19453
19454
19455 ac_ext=cpp
19456 ac_cpp='$CXXCPP $CPPFLAGS'
19457 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19458 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19459 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19460
19461
19462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t" >&5
19463 $as_echo_n "checking for int64_t... " >&6; }
19464 if ${glibcxx_cv_INT64_T+:} false; then :
19465 $as_echo_n "(cached) " >&6
19466 else
19467
19468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19469 /* end confdefs.h. */
19470 #include <stdint.h>
19471 int
19472 main ()
19473 {
19474 int64_t var;
19475 ;
19476 return 0;
19477 }
19478 _ACEOF
19479 if ac_fn_cxx_try_compile "$LINENO"; then :
19480 glibcxx_cv_INT64_T=yes
19481 else
19482 glibcxx_cv_INT64_T=no
19483 fi
19484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19485
19486 fi
19487
19488
19489 if test $glibcxx_cv_INT64_T = yes; then
19490
19491 $as_echo "#define HAVE_INT64_T 1" >>confdefs.h
19492
19493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_INT64_T" >&5
19494 $as_echo "$glibcxx_cv_INT64_T" >&6; }
19495
19496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long" >&5
19497 $as_echo_n "checking for int64_t as long... " >&6; }
19498 if ${glibcxx_cv_int64_t_long+:} false; then :
19499 $as_echo_n "(cached) " >&6
19500 else
19501
19502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19503 /* end confdefs.h. */
19504 #include <stdint.h>
19505 template<typename, typename> struct same { enum { value = -1 }; };
19506 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19507 int array[same<int64_t, long>::value];
19508 int
19509 main ()
19510 {
19511
19512 ;
19513 return 0;
19514 }
19515 _ACEOF
19516 if ac_fn_cxx_try_compile "$LINENO"; then :
19517 glibcxx_cv_int64_t_long=yes
19518 else
19519 glibcxx_cv_int64_t_long=no
19520 fi
19521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19522
19523 fi
19524
19525
19526 if test $glibcxx_cv_int64_t_long = yes; then
19527
19528 $as_echo "#define HAVE_INT64_T_LONG 1" >>confdefs.h
19529
19530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long" >&5
19531 $as_echo "$glibcxx_cv_int64_t_long" >&6; }
19532 fi
19533
19534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for int64_t as long long" >&5
19535 $as_echo_n "checking for int64_t as long long... " >&6; }
19536 if ${glibcxx_cv_int64_t_long_long+:} false; then :
19537 $as_echo_n "(cached) " >&6
19538 else
19539
19540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19541 /* end confdefs.h. */
19542 #include <stdint.h>
19543 template<typename, typename> struct same { enum { value = -1 }; };
19544 template<typename Tp> struct same<Tp, Tp> { enum { value = 1 }; };
19545 int array[same<int64_t, long long>::value];
19546 int
19547 main ()
19548 {
19549
19550 ;
19551 return 0;
19552 }
19553 _ACEOF
19554 if ac_fn_cxx_try_compile "$LINENO"; then :
19555 glibcxx_cv_int64_t_long_long=yes
19556 else
19557 glibcxx_cv_int64_t_long_long=no
19558 fi
19559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19560
19561 fi
19562
19563
19564 if test $glibcxx_cv_int64_t_long_long = yes; then
19565
19566 $as_echo "#define HAVE_INT64_T_LONG_LONG 1" >>confdefs.h
19567
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_int64_t_long_long" >&5
19569 $as_echo "$glibcxx_cv_int64_t_long_long" >&6; }
19570 fi
19571 fi
19572
19573 ac_ext=c
19574 ac_cpp='$CPP $CPPFLAGS'
19575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19578
19579
19580
19581 # For LFS support.
19582
19583
19584 ac_ext=cpp
19585 ac_cpp='$CXXCPP $CPPFLAGS'
19586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19589
19590 ac_save_CXXFLAGS="$CXXFLAGS"
19591 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19593 $as_echo_n "checking for LFS support... " >&6; }
19594 if ${glibcxx_cv_LFS+:} false; then :
19595 $as_echo_n "(cached) " >&6
19596 else
19597
19598 if test x$gcc_no_link = xyes; then
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601 #include <unistd.h>
19602 #include <stdio.h>
19603 #include <sys/stat.h>
19604
19605 int
19606 main ()
19607 {
19608 FILE* fp;
19609 fopen64("t", "w");
19610 fseeko64(fp, 0, SEEK_CUR);
19611 ftello64(fp);
19612 lseek64(1, 0, SEEK_CUR);
19613 struct stat64 buf;
19614 fstat64(1, &buf);
19615 ;
19616 return 0;
19617 }
19618 _ACEOF
19619 if ac_fn_cxx_try_compile "$LINENO"; then :
19620 glibcxx_cv_LFS=yes
19621 else
19622 glibcxx_cv_LFS=no
19623 fi
19624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19625 else
19626 if test x$gcc_no_link = xyes; then
19627 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19628 fi
19629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19630 /* end confdefs.h. */
19631 #include <unistd.h>
19632 #include <stdio.h>
19633 #include <sys/stat.h>
19634
19635 int
19636 main ()
19637 {
19638 FILE* fp;
19639 fopen64("t", "w");
19640 fseeko64(fp, 0, SEEK_CUR);
19641 ftello64(fp);
19642 lseek64(1, 0, SEEK_CUR);
19643 struct stat64 buf;
19644 fstat64(1, &buf);
19645 ;
19646 return 0;
19647 }
19648 _ACEOF
19649 if ac_fn_cxx_try_link "$LINENO"; then :
19650 glibcxx_cv_LFS=yes
19651 else
19652 glibcxx_cv_LFS=no
19653 fi
19654 rm -f core conftest.err conftest.$ac_objext \
19655 conftest$ac_exeext conftest.$ac_ext
19656 fi
19657
19658 fi
19659
19660 if test $glibcxx_cv_LFS = yes; then
19661
19662 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19663
19664 fi
19665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19666 $as_echo "$glibcxx_cv_LFS" >&6; }
19667 CXXFLAGS="$ac_save_CXXFLAGS"
19668 ac_ext=c
19669 ac_cpp='$CPP $CPPFLAGS'
19670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19673
19674
19675
19676 # For showmanyc_helper().
19677 for ac_header in sys/ioctl.h sys/filio.h
19678 do :
19679 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19680 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19681 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19682 cat >>confdefs.h <<_ACEOF
19683 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19684 _ACEOF
19685
19686 fi
19687
19688 done
19689
19690
19691
19692
19693 ac_ext=cpp
19694 ac_cpp='$CXXCPP $CPPFLAGS'
19695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19698
19699 ac_save_CXXFLAGS="$CXXFLAGS"
19700 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19701
19702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19703 $as_echo_n "checking for poll... " >&6; }
19704 if ${glibcxx_cv_POLL+:} false; then :
19705 $as_echo_n "(cached) " >&6
19706 else
19707
19708 if test x$gcc_no_link = xyes; then
19709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19710 /* end confdefs.h. */
19711 #include <poll.h>
19712 int
19713 main ()
19714 {
19715 struct pollfd pfd[1];
19716 pfd[0].events = POLLIN;
19717 poll(pfd, 1, 0);
19718 ;
19719 return 0;
19720 }
19721 _ACEOF
19722 if ac_fn_cxx_try_compile "$LINENO"; then :
19723 glibcxx_cv_POLL=yes
19724 else
19725 glibcxx_cv_POLL=no
19726 fi
19727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19728 else
19729 if test x$gcc_no_link = xyes; then
19730 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19731 fi
19732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19733 /* end confdefs.h. */
19734 #include <poll.h>
19735 int
19736 main ()
19737 {
19738 struct pollfd pfd[1];
19739 pfd[0].events = POLLIN;
19740 poll(pfd, 1, 0);
19741 ;
19742 return 0;
19743 }
19744 _ACEOF
19745 if ac_fn_cxx_try_link "$LINENO"; then :
19746 glibcxx_cv_POLL=yes
19747 else
19748 glibcxx_cv_POLL=no
19749 fi
19750 rm -f core conftest.err conftest.$ac_objext \
19751 conftest$ac_exeext conftest.$ac_ext
19752 fi
19753
19754 fi
19755
19756 if test $glibcxx_cv_POLL = yes; then
19757
19758 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19759
19760 fi
19761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19762 $as_echo "$glibcxx_cv_POLL" >&6; }
19763
19764 CXXFLAGS="$ac_save_CXXFLAGS"
19765 ac_ext=c
19766 ac_cpp='$CPP $CPPFLAGS'
19767 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19768 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19769 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19770
19771
19772
19773
19774
19775 ac_ext=cpp
19776 ac_cpp='$CXXCPP $CPPFLAGS'
19777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19780
19781 ac_save_CXXFLAGS="$CXXFLAGS"
19782 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19783
19784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19785 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19786 if ${glibcxx_cv_S_ISREG+:} false; then :
19787 $as_echo_n "(cached) " >&6
19788 else
19789
19790 if test x$gcc_no_link = xyes; then
19791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19792 /* end confdefs.h. */
19793 #include <sys/stat.h>
19794 int
19795 main ()
19796 {
19797 struct stat buffer;
19798 fstat(0, &buffer);
19799 S_ISREG(buffer.st_mode);
19800 ;
19801 return 0;
19802 }
19803 _ACEOF
19804 if ac_fn_cxx_try_compile "$LINENO"; then :
19805 glibcxx_cv_S_ISREG=yes
19806 else
19807 glibcxx_cv_S_ISREG=no
19808 fi
19809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19810 else
19811 if test x$gcc_no_link = xyes; then
19812 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19813 fi
19814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19815 /* end confdefs.h. */
19816 #include <sys/stat.h>
19817 int
19818 main ()
19819 {
19820 struct stat buffer;
19821 fstat(0, &buffer);
19822 S_ISREG(buffer.st_mode);
19823 ;
19824 return 0;
19825 }
19826 _ACEOF
19827 if ac_fn_cxx_try_link "$LINENO"; then :
19828 glibcxx_cv_S_ISREG=yes
19829 else
19830 glibcxx_cv_S_ISREG=no
19831 fi
19832 rm -f core conftest.err conftest.$ac_objext \
19833 conftest$ac_exeext conftest.$ac_ext
19834 fi
19835
19836 fi
19837
19838 if ${glibcxx_cv_S_IFREG+:} false; then :
19839 $as_echo_n "(cached) " >&6
19840 else
19841
19842 if test x$gcc_no_link = xyes; then
19843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19844 /* end confdefs.h. */
19845 #include <sys/stat.h>
19846 int
19847 main ()
19848 {
19849 struct stat buffer;
19850 fstat(0, &buffer);
19851 S_IFREG & buffer.st_mode;
19852 ;
19853 return 0;
19854 }
19855 _ACEOF
19856 if ac_fn_cxx_try_compile "$LINENO"; then :
19857 glibcxx_cv_S_IFREG=yes
19858 else
19859 glibcxx_cv_S_IFREG=no
19860 fi
19861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19862 else
19863 if test x$gcc_no_link = xyes; then
19864 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19865 fi
19866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19867 /* end confdefs.h. */
19868 #include <sys/stat.h>
19869 int
19870 main ()
19871 {
19872 struct stat buffer;
19873 fstat(0, &buffer);
19874 S_IFREG & buffer.st_mode;
19875 ;
19876 return 0;
19877 }
19878 _ACEOF
19879 if ac_fn_cxx_try_link "$LINENO"; then :
19880 glibcxx_cv_S_IFREG=yes
19881 else
19882 glibcxx_cv_S_IFREG=no
19883 fi
19884 rm -f core conftest.err conftest.$ac_objext \
19885 conftest$ac_exeext conftest.$ac_ext
19886 fi
19887
19888 fi
19889
19890 res=no
19891 if test $glibcxx_cv_S_ISREG = yes; then
19892
19893 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19894
19895 res=S_ISREG
19896 elif test $glibcxx_cv_S_IFREG = yes; then
19897
19898 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19899
19900 res=S_IFREG
19901 fi
19902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19903 $as_echo "$res" >&6; }
19904
19905 CXXFLAGS="$ac_save_CXXFLAGS"
19906 ac_ext=c
19907 ac_cpp='$CPP $CPPFLAGS'
19908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19911
19912
19913
19914 # For xsputn_2().
19915 for ac_header in sys/uio.h
19916 do :
19917 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19918 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19919 cat >>confdefs.h <<_ACEOF
19920 #define HAVE_SYS_UIO_H 1
19921 _ACEOF
19922
19923 fi
19924
19925 done
19926
19927
19928
19929
19930 ac_ext=cpp
19931 ac_cpp='$CXXCPP $CPPFLAGS'
19932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19935
19936 ac_save_CXXFLAGS="$CXXFLAGS"
19937 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19938
19939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19940 $as_echo_n "checking for writev... " >&6; }
19941 if ${glibcxx_cv_WRITEV+:} false; then :
19942 $as_echo_n "(cached) " >&6
19943 else
19944
19945 if test x$gcc_no_link = xyes; then
19946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19947 /* end confdefs.h. */
19948 #include <sys/uio.h>
19949 int
19950 main ()
19951 {
19952 struct iovec iov[2];
19953 writev(0, iov, 0);
19954 ;
19955 return 0;
19956 }
19957 _ACEOF
19958 if ac_fn_cxx_try_compile "$LINENO"; then :
19959 glibcxx_cv_WRITEV=yes
19960 else
19961 glibcxx_cv_WRITEV=no
19962 fi
19963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19964 else
19965 if test x$gcc_no_link = xyes; then
19966 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19967 fi
19968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19969 /* end confdefs.h. */
19970 #include <sys/uio.h>
19971 int
19972 main ()
19973 {
19974 struct iovec iov[2];
19975 writev(0, iov, 0);
19976 ;
19977 return 0;
19978 }
19979 _ACEOF
19980 if ac_fn_cxx_try_link "$LINENO"; then :
19981 glibcxx_cv_WRITEV=yes
19982 else
19983 glibcxx_cv_WRITEV=no
19984 fi
19985 rm -f core conftest.err conftest.$ac_objext \
19986 conftest$ac_exeext conftest.$ac_ext
19987 fi
19988
19989 fi
19990
19991 if test $glibcxx_cv_WRITEV = yes; then
19992
19993 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19994
19995 fi
19996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19997 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19998
19999 CXXFLAGS="$ac_save_CXXFLAGS"
20000 ac_ext=c
20001 ac_cpp='$CPP $CPPFLAGS'
20002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20005
20006
20007
20008 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
20009 # so that the check is done with the C compiler (not C++).
20010 # Checking with C++ can break a canadian cross build if either
20011 # file does not exist in C but does in C++.
20012 for ac_header in fenv.h complex.h
20013 do :
20014 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
20015 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
20016 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
20017 cat >>confdefs.h <<_ACEOF
20018 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
20019 _ACEOF
20020
20021 fi
20022
20023 done
20024
20025
20026 # For C99 support to TR1.
20027
20028
20029
20030 ac_ext=cpp
20031 ac_cpp='$CXXCPP $CPPFLAGS'
20032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20035
20036
20037 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
20038 # undefined and fake C99 facilities may be spuriously enabled.
20039 ac_save_CXXFLAGS="$CXXFLAGS"
20040 CXXFLAGS="$CXXFLAGS -std=c++98"
20041
20042 # Check for the existence of <complex.h> complex math functions used
20043 # by tr1/complex.
20044 for ac_header in complex.h
20045 do :
20046 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
20047 if test "x$ac_cv_header_complex_h" = xyes; then :
20048 cat >>confdefs.h <<_ACEOF
20049 #define HAVE_COMPLEX_H 1
20050 _ACEOF
20051 ac_has_complex_h=yes
20052 else
20053 ac_has_complex_h=no
20054 fi
20055
20056 done
20057
20058 ac_c99_complex_tr1=no;
20059 if test x"$ac_has_complex_h" = x"yes"; then
20060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
20061 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
20062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20063 /* end confdefs.h. */
20064 #include <complex.h>
20065 int
20066 main ()
20067 {
20068 typedef __complex__ float float_type; float_type tmpf;
20069 cacosf(tmpf);
20070 casinf(tmpf);
20071 catanf(tmpf);
20072 cacoshf(tmpf);
20073 casinhf(tmpf);
20074 catanhf(tmpf);
20075 typedef __complex__ double double_type; double_type tmpd;
20076 cacos(tmpd);
20077 casin(tmpd);
20078 catan(tmpd);
20079 cacosh(tmpd);
20080 casinh(tmpd);
20081 catanh(tmpd);
20082 typedef __complex__ long double ld_type; ld_type tmpld;
20083 cacosl(tmpld);
20084 casinl(tmpld);
20085 catanl(tmpld);
20086 cacoshl(tmpld);
20087 casinhl(tmpld);
20088 catanhl(tmpld);
20089
20090 ;
20091 return 0;
20092 }
20093 _ACEOF
20094 if ac_fn_cxx_try_compile "$LINENO"; then :
20095 ac_c99_complex_tr1=yes
20096 else
20097 ac_c99_complex_tr1=no
20098 fi
20099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20100 fi
20101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
20102 $as_echo "$ac_c99_complex_tr1" >&6; }
20103 if test x"$ac_c99_complex_tr1" = x"yes"; then
20104
20105 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
20106
20107 fi
20108
20109 # Check for the existence of <ctype.h> functions.
20110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
20111 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
20112 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
20113 $as_echo_n "(cached) " >&6
20114 else
20115
20116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20117 /* end confdefs.h. */
20118 #include <ctype.h>
20119 int
20120 main ()
20121 {
20122 int ch;
20123 int ret;
20124 ret = isblank(ch);
20125
20126 ;
20127 return 0;
20128 }
20129 _ACEOF
20130 if ac_fn_cxx_try_compile "$LINENO"; then :
20131 glibcxx_cv_c99_ctype_tr1=yes
20132 else
20133 glibcxx_cv_c99_ctype_tr1=no
20134 fi
20135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20136
20137 fi
20138
20139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
20140 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
20141 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
20142
20143 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
20144
20145 fi
20146
20147 # Check for the existence of <fenv.h> functions.
20148 for ac_header in fenv.h
20149 do :
20150 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
20151 if test "x$ac_cv_header_fenv_h" = xyes; then :
20152 cat >>confdefs.h <<_ACEOF
20153 #define HAVE_FENV_H 1
20154 _ACEOF
20155 ac_has_fenv_h=yes
20156 else
20157 ac_has_fenv_h=no
20158 fi
20159
20160 done
20161
20162 ac_c99_fenv_tr1=no;
20163 if test x"$ac_has_fenv_h" = x"yes"; then
20164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
20165 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
20166 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20167 /* end confdefs.h. */
20168 #include <fenv.h>
20169 int
20170 main ()
20171 {
20172 int except, mode;
20173 fexcept_t* pflag;
20174 fenv_t* penv;
20175 int ret;
20176 ret = feclearexcept(except);
20177 ret = fegetexceptflag(pflag, except);
20178 ret = feraiseexcept(except);
20179 ret = fesetexceptflag(pflag, except);
20180 ret = fetestexcept(except);
20181 ret = fegetround();
20182 ret = fesetround(mode);
20183 ret = fegetenv(penv);
20184 ret = feholdexcept(penv);
20185 ret = fesetenv(penv);
20186 ret = feupdateenv(penv);
20187
20188 ;
20189 return 0;
20190 }
20191 _ACEOF
20192 if ac_fn_cxx_try_compile "$LINENO"; then :
20193 ac_c99_fenv_tr1=yes
20194 else
20195 ac_c99_fenv_tr1=no
20196 fi
20197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20198 fi
20199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
20200 $as_echo "$ac_c99_fenv_tr1" >&6; }
20201 if test x"$ac_c99_fenv_tr1" = x"yes"; then
20202
20203 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
20204
20205 fi
20206
20207 # Check for the existence of <stdint.h> types.
20208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
20209 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
20210 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
20211 $as_echo_n "(cached) " >&6
20212 else
20213
20214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20215 /* end confdefs.h. */
20216 #define __STDC_LIMIT_MACROS
20217 #define __STDC_CONSTANT_MACROS
20218 #include <stdint.h>
20219 int
20220 main ()
20221 {
20222 typedef int8_t my_int8_t;
20223 my_int8_t i8 = INT8_MIN;
20224 i8 = INT8_MAX;
20225 typedef int16_t my_int16_t;
20226 my_int16_t i16 = INT16_MIN;
20227 i16 = INT16_MAX;
20228 typedef int32_t my_int32_t;
20229 my_int32_t i32 = INT32_MIN;
20230 i32 = INT32_MAX;
20231 typedef int64_t my_int64_t;
20232 my_int64_t i64 = INT64_MIN;
20233 i64 = INT64_MAX;
20234 typedef int_fast8_t my_int_fast8_t;
20235 my_int_fast8_t if8 = INT_FAST8_MIN;
20236 if8 = INT_FAST8_MAX;
20237 typedef int_fast16_t my_int_fast16_t;
20238 my_int_fast16_t if16 = INT_FAST16_MIN;
20239 if16 = INT_FAST16_MAX;
20240 typedef int_fast32_t my_int_fast32_t;
20241 my_int_fast32_t if32 = INT_FAST32_MIN;
20242 if32 = INT_FAST32_MAX;
20243 typedef int_fast64_t my_int_fast64_t;
20244 my_int_fast64_t if64 = INT_FAST64_MIN;
20245 if64 = INT_FAST64_MAX;
20246 typedef int_least8_t my_int_least8_t;
20247 my_int_least8_t il8 = INT_LEAST8_MIN;
20248 il8 = INT_LEAST8_MAX;
20249 typedef int_least16_t my_int_least16_t;
20250 my_int_least16_t il16 = INT_LEAST16_MIN;
20251 il16 = INT_LEAST16_MAX;
20252 typedef int_least32_t my_int_least32_t;
20253 my_int_least32_t il32 = INT_LEAST32_MIN;
20254 il32 = INT_LEAST32_MAX;
20255 typedef int_least64_t my_int_least64_t;
20256 my_int_least64_t il64 = INT_LEAST64_MIN;
20257 il64 = INT_LEAST64_MAX;
20258 typedef intmax_t my_intmax_t;
20259 my_intmax_t im = INTMAX_MAX;
20260 im = INTMAX_MIN;
20261 typedef intptr_t my_intptr_t;
20262 my_intptr_t ip = INTPTR_MAX;
20263 ip = INTPTR_MIN;
20264 typedef uint8_t my_uint8_t;
20265 my_uint8_t ui8 = UINT8_MAX;
20266 ui8 = UINT8_MAX;
20267 typedef uint16_t my_uint16_t;
20268 my_uint16_t ui16 = UINT16_MAX;
20269 ui16 = UINT16_MAX;
20270 typedef uint32_t my_uint32_t;
20271 my_uint32_t ui32 = UINT32_MAX;
20272 ui32 = UINT32_MAX;
20273 typedef uint64_t my_uint64_t;
20274 my_uint64_t ui64 = UINT64_MAX;
20275 ui64 = UINT64_MAX;
20276 typedef uint_fast8_t my_uint_fast8_t;
20277 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
20278 uif8 = UINT_FAST8_MAX;
20279 typedef uint_fast16_t my_uint_fast16_t;
20280 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
20281 uif16 = UINT_FAST16_MAX;
20282 typedef uint_fast32_t my_uint_fast32_t;
20283 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
20284 uif32 = UINT_FAST32_MAX;
20285 typedef uint_fast64_t my_uint_fast64_t;
20286 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
20287 uif64 = UINT_FAST64_MAX;
20288 typedef uint_least8_t my_uint_least8_t;
20289 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
20290 uil8 = UINT_LEAST8_MAX;
20291 typedef uint_least16_t my_uint_least16_t;
20292 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
20293 uil16 = UINT_LEAST16_MAX;
20294 typedef uint_least32_t my_uint_least32_t;
20295 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
20296 uil32 = UINT_LEAST32_MAX;
20297 typedef uint_least64_t my_uint_least64_t;
20298 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
20299 uil64 = UINT_LEAST64_MAX;
20300 typedef uintmax_t my_uintmax_t;
20301 my_uintmax_t uim = UINTMAX_MAX;
20302 uim = UINTMAX_MAX;
20303 typedef uintptr_t my_uintptr_t;
20304 my_uintptr_t uip = UINTPTR_MAX;
20305 uip = UINTPTR_MAX;
20306
20307 ;
20308 return 0;
20309 }
20310 _ACEOF
20311 if ac_fn_cxx_try_compile "$LINENO"; then :
20312 glibcxx_cv_c99_stdint_tr1=yes
20313 else
20314 glibcxx_cv_c99_stdint_tr1=no
20315 fi
20316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20317
20318 fi
20319
20320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
20321 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
20322 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20323
20324 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
20325
20326 fi
20327
20328 # Check for the existence of <math.h> functions.
20329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
20330 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
20331 if ${glibcxx_cv_c99_math_tr1+:} false; then :
20332 $as_echo_n "(cached) " >&6
20333 else
20334
20335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20336 /* end confdefs.h. */
20337 #include <math.h>
20338 int
20339 main ()
20340 {
20341 typedef double_t my_double_t;
20342 typedef float_t my_float_t;
20343 acosh(0.0);
20344 acoshf(0.0f);
20345 acoshl(0.0l);
20346 asinh(0.0);
20347 asinhf(0.0f);
20348 asinhl(0.0l);
20349 atanh(0.0);
20350 atanhf(0.0f);
20351 atanhl(0.0l);
20352 cbrt(0.0);
20353 cbrtf(0.0f);
20354 cbrtl(0.0l);
20355 copysign(0.0, 0.0);
20356 copysignf(0.0f, 0.0f);
20357 copysignl(0.0l, 0.0l);
20358 erf(0.0);
20359 erff(0.0f);
20360 erfl(0.0l);
20361 erfc(0.0);
20362 erfcf(0.0f);
20363 erfcl(0.0l);
20364 exp2(0.0);
20365 exp2f(0.0f);
20366 exp2l(0.0l);
20367 expm1(0.0);
20368 expm1f(0.0f);
20369 expm1l(0.0l);
20370 fdim(0.0, 0.0);
20371 fdimf(0.0f, 0.0f);
20372 fdiml(0.0l, 0.0l);
20373 fma(0.0, 0.0, 0.0);
20374 fmaf(0.0f, 0.0f, 0.0f);
20375 fmal(0.0l, 0.0l, 0.0l);
20376 fmax(0.0, 0.0);
20377 fmaxf(0.0f, 0.0f);
20378 fmaxl(0.0l, 0.0l);
20379 fmin(0.0, 0.0);
20380 fminf(0.0f, 0.0f);
20381 fminl(0.0l, 0.0l);
20382 hypot(0.0, 0.0);
20383 hypotf(0.0f, 0.0f);
20384 hypotl(0.0l, 0.0l);
20385 ilogb(0.0);
20386 ilogbf(0.0f);
20387 ilogbl(0.0l);
20388 lgamma(0.0);
20389 lgammaf(0.0f);
20390 lgammal(0.0l);
20391 #ifndef __APPLE__ /* see below */
20392 llrint(0.0);
20393 llrintf(0.0f);
20394 llrintl(0.0l);
20395 llround(0.0);
20396 llroundf(0.0f);
20397 llroundl(0.0l);
20398 #endif
20399 log1p(0.0);
20400 log1pf(0.0f);
20401 log1pl(0.0l);
20402 log2(0.0);
20403 log2f(0.0f);
20404 log2l(0.0l);
20405 logb(0.0);
20406 logbf(0.0f);
20407 logbl(0.0l);
20408 lrint(0.0);
20409 lrintf(0.0f);
20410 lrintl(0.0l);
20411 lround(0.0);
20412 lroundf(0.0f);
20413 lroundl(0.0l);
20414 nan(0);
20415 nanf(0);
20416 nanl(0);
20417 nearbyint(0.0);
20418 nearbyintf(0.0f);
20419 nearbyintl(0.0l);
20420 nextafter(0.0, 0.0);
20421 nextafterf(0.0f, 0.0f);
20422 nextafterl(0.0l, 0.0l);
20423 nexttoward(0.0, 0.0);
20424 nexttowardf(0.0f, 0.0f);
20425 nexttowardl(0.0l, 0.0l);
20426 remainder(0.0, 0.0);
20427 remainderf(0.0f, 0.0f);
20428 remainderl(0.0l, 0.0l);
20429 remquo(0.0, 0.0, 0);
20430 remquof(0.0f, 0.0f, 0);
20431 remquol(0.0l, 0.0l, 0);
20432 rint(0.0);
20433 rintf(0.0f);
20434 rintl(0.0l);
20435 round(0.0);
20436 roundf(0.0f);
20437 roundl(0.0l);
20438 scalbln(0.0, 0l);
20439 scalblnf(0.0f, 0l);
20440 scalblnl(0.0l, 0l);
20441 scalbn(0.0, 0);
20442 scalbnf(0.0f, 0);
20443 scalbnl(0.0l, 0);
20444 tgamma(0.0);
20445 tgammaf(0.0f);
20446 tgammal(0.0l);
20447 trunc(0.0);
20448 truncf(0.0f);
20449 truncl(0.0l);
20450
20451 ;
20452 return 0;
20453 }
20454 _ACEOF
20455 if ac_fn_cxx_try_compile "$LINENO"; then :
20456 glibcxx_cv_c99_math_tr1=yes
20457 else
20458 glibcxx_cv_c99_math_tr1=no
20459 fi
20460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20461
20462 fi
20463
20464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20465 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20466 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20467
20468 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20469
20470
20471 case "${target_os}" in
20472 darwin*)
20473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20474 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20475 if ${glibcxx_cv_c99_math_llround+:} false; then :
20476 $as_echo_n "(cached) " >&6
20477 else
20478
20479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20480 /* end confdefs.h. */
20481 #include <math.h>
20482 int
20483 main ()
20484 {
20485 llrint(0.0);
20486 llrintf(0.0f);
20487 llrintl(0.0l);
20488 llround(0.0);
20489 llroundf(0.0f);
20490 llroundl(0.0l);
20491
20492 ;
20493 return 0;
20494 }
20495 _ACEOF
20496 if ac_fn_cxx_try_compile "$LINENO"; then :
20497 glibcxx_cv_c99_math_llround=yes
20498 else
20499 glibcxx_cv_c99_math_llround=no
20500 fi
20501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20502
20503 fi
20504
20505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20506 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20507 ;;
20508 esac
20509 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20510
20511 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20512
20513 fi
20514 fi
20515
20516 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20517 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20518 ac_c99_inttypes_tr1=no;
20519 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20521 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20523 /* end confdefs.h. */
20524 #include <inttypes.h>
20525 int
20526 main ()
20527 {
20528 intmax_t i, numer, denom, base;
20529 const char* s;
20530 char** endptr;
20531 intmax_t ret = imaxabs(i);
20532 imaxdiv_t dret = imaxdiv(numer, denom);
20533 ret = strtoimax(s, endptr, base);
20534 uintmax_t uret = strtoumax(s, endptr, base);
20535
20536 ;
20537 return 0;
20538 }
20539 _ACEOF
20540 if ac_fn_cxx_try_compile "$LINENO"; then :
20541 ac_c99_inttypes_tr1=yes
20542 else
20543 ac_c99_inttypes_tr1=no
20544 fi
20545 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20546 fi
20547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20548 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20549 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20550
20551 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20552
20553 fi
20554
20555 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20556 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20557 ac_c99_inttypes_wchar_t_tr1=no;
20558 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20560 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20562 /* end confdefs.h. */
20563 #include <inttypes.h>
20564 int
20565 main ()
20566 {
20567 intmax_t base;
20568 const wchar_t* s;
20569 wchar_t** endptr;
20570 intmax_t ret = wcstoimax(s, endptr, base);
20571 uintmax_t uret = wcstoumax(s, endptr, base);
20572
20573 ;
20574 return 0;
20575 }
20576 _ACEOF
20577 if ac_fn_cxx_try_compile "$LINENO"; then :
20578 ac_c99_inttypes_wchar_t_tr1=yes
20579 else
20580 ac_c99_inttypes_wchar_t_tr1=no
20581 fi
20582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20583 fi
20584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20585 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20586 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20587
20588 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20589
20590 fi
20591
20592 # Check for the existence of the <stdbool.h> header.
20593 for ac_header in stdbool.h
20594 do :
20595 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20596 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20597 cat >>confdefs.h <<_ACEOF
20598 #define HAVE_STDBOOL_H 1
20599 _ACEOF
20600
20601 fi
20602
20603 done
20604
20605
20606 # Check for the existence of the <stdalign.h> header.
20607 for ac_header in stdalign.h
20608 do :
20609 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20610 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20611 cat >>confdefs.h <<_ACEOF
20612 #define HAVE_STDALIGN_H 1
20613 _ACEOF
20614
20615 fi
20616
20617 done
20618
20619
20620 CXXFLAGS="$ac_save_CXXFLAGS"
20621 ac_ext=c
20622 ac_cpp='$CPP $CPPFLAGS'
20623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20626
20627
20628
20629 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20630
20631
20632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20633 $as_echo_n "checking for the value of EOF... " >&6; }
20634 if ${glibcxx_cv_stdio_eof+:} false; then :
20635 $as_echo_n "(cached) " >&6
20636 else
20637
20638 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20639
20640 else
20641 as_fn_error $? "computing EOF failed" "$LINENO" 5
20642 fi
20643
20644
20645 fi
20646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20647 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20648
20649 cat >>confdefs.h <<_ACEOF
20650 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20651 _ACEOF
20652
20653
20654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20655 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20656 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20657 $as_echo_n "(cached) " >&6
20658 else
20659
20660 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20661
20662 else
20663 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20664 fi
20665
20666
20667 fi
20668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20669 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20670
20671 cat >>confdefs.h <<_ACEOF
20672 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20673 _ACEOF
20674
20675
20676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20677 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20678 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20679 $as_echo_n "(cached) " >&6
20680 else
20681
20682 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20683
20684 else
20685 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20686 fi
20687
20688
20689 fi
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20691 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20692
20693 cat >>confdefs.h <<_ACEOF
20694 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20695 _ACEOF
20696
20697
20698
20699 # For gettimeofday support.
20700
20701
20702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20703 $as_echo_n "checking for gettimeofday... " >&6; }
20704
20705
20706 ac_ext=cpp
20707 ac_cpp='$CXXCPP $CPPFLAGS'
20708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20711
20712 ac_save_CXXFLAGS="$CXXFLAGS"
20713 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20714
20715 ac_has_gettimeofday=no;
20716 for ac_header in sys/time.h
20717 do :
20718 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20719 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20720 cat >>confdefs.h <<_ACEOF
20721 #define HAVE_SYS_TIME_H 1
20722 _ACEOF
20723 ac_has_sys_time_h=yes
20724 else
20725 ac_has_sys_time_h=no
20726 fi
20727
20728 done
20729
20730 if test x"$ac_has_sys_time_h" = x"yes"; then
20731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20732 $as_echo_n "checking for gettimeofday... " >&6; }
20733 if test x$gcc_no_link = xyes; then
20734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20735 /* end confdefs.h. */
20736 #include <sys/time.h>
20737 int
20738 main ()
20739 {
20740 timeval tv; gettimeofday(&tv, 0);
20741 ;
20742 return 0;
20743 }
20744 _ACEOF
20745 if ac_fn_cxx_try_compile "$LINENO"; then :
20746 ac_has_gettimeofday=yes
20747 else
20748 ac_has_gettimeofday=no
20749 fi
20750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20751 else
20752 if test x$gcc_no_link = xyes; then
20753 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20754 fi
20755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20756 /* end confdefs.h. */
20757 #include <sys/time.h>
20758 int
20759 main ()
20760 {
20761 timeval tv; gettimeofday(&tv, 0);
20762 ;
20763 return 0;
20764 }
20765 _ACEOF
20766 if ac_fn_cxx_try_link "$LINENO"; then :
20767 ac_has_gettimeofday=yes
20768 else
20769 ac_has_gettimeofday=no
20770 fi
20771 rm -f core conftest.err conftest.$ac_objext \
20772 conftest$ac_exeext conftest.$ac_ext
20773 fi
20774
20775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20776 $as_echo "$ac_has_gettimeofday" >&6; }
20777 fi
20778
20779 if test x"$ac_has_gettimeofday" = x"yes"; then
20780
20781 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20782
20783 fi
20784
20785 CXXFLAGS="$ac_save_CXXFLAGS"
20786 ac_ext=c
20787 ac_cpp='$CPP $CPPFLAGS'
20788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20791
20792
20793
20794 # For clock_gettime, nanosleep and sched_yield support.
20795
20796
20797 # Check whether --enable-libstdcxx-time was given.
20798 if test "${enable_libstdcxx_time+set}" = set; then :
20799 enableval=$enable_libstdcxx_time;
20800 case "$enableval" in
20801 yes|no|rt) ;;
20802 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20803 esac
20804
20805 else
20806 enable_libstdcxx_time=auto
20807 fi
20808
20809
20810
20811
20812 ac_ext=cpp
20813 ac_cpp='$CXXCPP $CPPFLAGS'
20814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20817
20818 ac_save_CXXFLAGS="$CXXFLAGS"
20819 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20820 ac_save_LIBS="$LIBS"
20821
20822 ac_has_clock_monotonic=no
20823 ac_has_clock_realtime=no
20824 ac_has_nanosleep=no
20825 ac_has_sched_yield=no
20826
20827 if test x"$enable_libstdcxx_time" = x"auto"; then
20828
20829 case "${target_os}" in
20830 cygwin*)
20831 ac_has_nanosleep=yes
20832 ;;
20833 darwin*)
20834 ac_has_nanosleep=yes
20835 ac_has_sched_yield=yes
20836 ;;
20837 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at least GNU libc 2.17" >&5
20839 $as_echo_n "checking for at least GNU libc 2.17... " >&6; }
20840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20841 /* end confdefs.h. */
20842 #include <features.h>
20843 int
20844 main ()
20845 {
20846
20847 #if ! __GLIBC_PREREQ(2, 17)
20848 #error
20849 #endif
20850
20851 ;
20852 return 0;
20853 }
20854 _ACEOF
20855 if ac_fn_cxx_try_compile "$LINENO"; then :
20856 glibcxx_glibc217=yes
20857 else
20858 glibcxx_glibc217=no
20859 fi
20860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_glibc217" >&5
20862 $as_echo "$glibcxx_glibc217" >&6; }
20863
20864 if test x"$glibcxx_glibc217" = x"yes"; then
20865 ac_has_clock_monotonic=yes
20866 ac_has_clock_realtime=yes
20867 fi
20868 ac_has_nanosleep=yes
20869 ac_has_sched_yield=yes
20870 ;;
20871 freebsd*|netbsd*|dragonfly*|rtems*)
20872 ac_has_clock_monotonic=yes
20873 ac_has_clock_realtime=yes
20874 ac_has_nanosleep=yes
20875 ac_has_sched_yield=yes
20876 ;;
20877 openbsd*)
20878 ac_has_clock_monotonic=yes
20879 ac_has_clock_realtime=yes
20880 ac_has_nanosleep=yes
20881 ;;
20882 solaris*)
20883 GLIBCXX_LIBS="$GLIBCXX_LIBS -lrt"
20884 ac_has_clock_monotonic=yes
20885 ac_has_clock_realtime=yes
20886 ac_has_nanosleep=yes
20887 ac_has_sched_yield=yes
20888 ;;
20889 esac
20890
20891 elif test x"$enable_libstdcxx_time" != x"no"; then
20892
20893 if test x"$enable_libstdcxx_time" = x"rt"; then
20894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20895 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20896 if ${ac_cv_search_clock_gettime+:} false; then :
20897 $as_echo_n "(cached) " >&6
20898 else
20899 ac_func_search_save_LIBS=$LIBS
20900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20901 /* end confdefs.h. */
20902
20903 /* Override any GCC internal prototype to avoid an error.
20904 Use char because int might match the return type of a GCC
20905 builtin and then its argument prototype would still apply. */
20906 #ifdef __cplusplus
20907 extern "C"
20908 #endif
20909 char clock_gettime ();
20910 int
20911 main ()
20912 {
20913 return clock_gettime ();
20914 ;
20915 return 0;
20916 }
20917 _ACEOF
20918 for ac_lib in '' rt posix4; do
20919 if test -z "$ac_lib"; then
20920 ac_res="none required"
20921 else
20922 ac_res=-l$ac_lib
20923 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20924 fi
20925 if test x$gcc_no_link = xyes; then
20926 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20927 fi
20928 if ac_fn_cxx_try_link "$LINENO"; then :
20929 ac_cv_search_clock_gettime=$ac_res
20930 fi
20931 rm -f core conftest.err conftest.$ac_objext \
20932 conftest$ac_exeext
20933 if ${ac_cv_search_clock_gettime+:} false; then :
20934 break
20935 fi
20936 done
20937 if ${ac_cv_search_clock_gettime+:} false; then :
20938
20939 else
20940 ac_cv_search_clock_gettime=no
20941 fi
20942 rm conftest.$ac_ext
20943 LIBS=$ac_func_search_save_LIBS
20944 fi
20945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20946 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20947 ac_res=$ac_cv_search_clock_gettime
20948 if test "$ac_res" != no; then :
20949 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20950
20951 fi
20952
20953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20954 $as_echo_n "checking for library containing nanosleep... " >&6; }
20955 if ${ac_cv_search_nanosleep+:} false; then :
20956 $as_echo_n "(cached) " >&6
20957 else
20958 ac_func_search_save_LIBS=$LIBS
20959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20960 /* end confdefs.h. */
20961
20962 /* Override any GCC internal prototype to avoid an error.
20963 Use char because int might match the return type of a GCC
20964 builtin and then its argument prototype would still apply. */
20965 #ifdef __cplusplus
20966 extern "C"
20967 #endif
20968 char nanosleep ();
20969 int
20970 main ()
20971 {
20972 return nanosleep ();
20973 ;
20974 return 0;
20975 }
20976 _ACEOF
20977 for ac_lib in '' rt posix4; do
20978 if test -z "$ac_lib"; then
20979 ac_res="none required"
20980 else
20981 ac_res=-l$ac_lib
20982 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20983 fi
20984 if test x$gcc_no_link = xyes; then
20985 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20986 fi
20987 if ac_fn_cxx_try_link "$LINENO"; then :
20988 ac_cv_search_nanosleep=$ac_res
20989 fi
20990 rm -f core conftest.err conftest.$ac_objext \
20991 conftest$ac_exeext
20992 if ${ac_cv_search_nanosleep+:} false; then :
20993 break
20994 fi
20995 done
20996 if ${ac_cv_search_nanosleep+:} false; then :
20997
20998 else
20999 ac_cv_search_nanosleep=no
21000 fi
21001 rm conftest.$ac_ext
21002 LIBS=$ac_func_search_save_LIBS
21003 fi
21004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21005 $as_echo "$ac_cv_search_nanosleep" >&6; }
21006 ac_res=$ac_cv_search_nanosleep
21007 if test "$ac_res" != no; then :
21008 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21009
21010 fi
21011
21012 else
21013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
21014 $as_echo_n "checking for library containing clock_gettime... " >&6; }
21015 if ${ac_cv_search_clock_gettime+:} false; then :
21016 $as_echo_n "(cached) " >&6
21017 else
21018 ac_func_search_save_LIBS=$LIBS
21019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21020 /* end confdefs.h. */
21021
21022 /* Override any GCC internal prototype to avoid an error.
21023 Use char because int might match the return type of a GCC
21024 builtin and then its argument prototype would still apply. */
21025 #ifdef __cplusplus
21026 extern "C"
21027 #endif
21028 char clock_gettime ();
21029 int
21030 main ()
21031 {
21032 return clock_gettime ();
21033 ;
21034 return 0;
21035 }
21036 _ACEOF
21037 for ac_lib in '' posix4; do
21038 if test -z "$ac_lib"; then
21039 ac_res="none required"
21040 else
21041 ac_res=-l$ac_lib
21042 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21043 fi
21044 if test x$gcc_no_link = xyes; then
21045 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21046 fi
21047 if ac_fn_cxx_try_link "$LINENO"; then :
21048 ac_cv_search_clock_gettime=$ac_res
21049 fi
21050 rm -f core conftest.err conftest.$ac_objext \
21051 conftest$ac_exeext
21052 if ${ac_cv_search_clock_gettime+:} false; then :
21053 break
21054 fi
21055 done
21056 if ${ac_cv_search_clock_gettime+:} false; then :
21057
21058 else
21059 ac_cv_search_clock_gettime=no
21060 fi
21061 rm conftest.$ac_ext
21062 LIBS=$ac_func_search_save_LIBS
21063 fi
21064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
21065 $as_echo "$ac_cv_search_clock_gettime" >&6; }
21066 ac_res=$ac_cv_search_clock_gettime
21067 if test "$ac_res" != no; then :
21068 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21069
21070 fi
21071
21072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
21073 $as_echo_n "checking for library containing nanosleep... " >&6; }
21074 if ${ac_cv_search_nanosleep+:} false; then :
21075 $as_echo_n "(cached) " >&6
21076 else
21077 ac_func_search_save_LIBS=$LIBS
21078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21079 /* end confdefs.h. */
21080
21081 /* Override any GCC internal prototype to avoid an error.
21082 Use char because int might match the return type of a GCC
21083 builtin and then its argument prototype would still apply. */
21084 #ifdef __cplusplus
21085 extern "C"
21086 #endif
21087 char nanosleep ();
21088 int
21089 main ()
21090 {
21091 return nanosleep ();
21092 ;
21093 return 0;
21094 }
21095 _ACEOF
21096 for ac_lib in '' posix4; do
21097 if test -z "$ac_lib"; then
21098 ac_res="none required"
21099 else
21100 ac_res=-l$ac_lib
21101 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21102 fi
21103 if test x$gcc_no_link = xyes; then
21104 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21105 fi
21106 if ac_fn_cxx_try_link "$LINENO"; then :
21107 ac_cv_search_nanosleep=$ac_res
21108 fi
21109 rm -f core conftest.err conftest.$ac_objext \
21110 conftest$ac_exeext
21111 if ${ac_cv_search_nanosleep+:} false; then :
21112 break
21113 fi
21114 done
21115 if ${ac_cv_search_nanosleep+:} false; then :
21116
21117 else
21118 ac_cv_search_nanosleep=no
21119 fi
21120 rm conftest.$ac_ext
21121 LIBS=$ac_func_search_save_LIBS
21122 fi
21123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
21124 $as_echo "$ac_cv_search_nanosleep" >&6; }
21125 ac_res=$ac_cv_search_nanosleep
21126 if test "$ac_res" != no; then :
21127 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21128
21129 fi
21130
21131 fi
21132
21133 case "$ac_cv_search_clock_gettime" in
21134 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
21135 ;;
21136 esac
21137 case "$ac_cv_search_nanosleep" in
21138 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
21139 ;;
21140 esac
21141
21142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
21143 $as_echo_n "checking for library containing sched_yield... " >&6; }
21144 if ${ac_cv_search_sched_yield+:} false; then :
21145 $as_echo_n "(cached) " >&6
21146 else
21147 ac_func_search_save_LIBS=$LIBS
21148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21149 /* end confdefs.h. */
21150
21151 /* Override any GCC internal prototype to avoid an error.
21152 Use char because int might match the return type of a GCC
21153 builtin and then its argument prototype would still apply. */
21154 #ifdef __cplusplus
21155 extern "C"
21156 #endif
21157 char sched_yield ();
21158 int
21159 main ()
21160 {
21161 return sched_yield ();
21162 ;
21163 return 0;
21164 }
21165 _ACEOF
21166 for ac_lib in '' rt posix4; do
21167 if test -z "$ac_lib"; then
21168 ac_res="none required"
21169 else
21170 ac_res=-l$ac_lib
21171 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
21172 fi
21173 if test x$gcc_no_link = xyes; then
21174 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21175 fi
21176 if ac_fn_cxx_try_link "$LINENO"; then :
21177 ac_cv_search_sched_yield=$ac_res
21178 fi
21179 rm -f core conftest.err conftest.$ac_objext \
21180 conftest$ac_exeext
21181 if ${ac_cv_search_sched_yield+:} false; then :
21182 break
21183 fi
21184 done
21185 if ${ac_cv_search_sched_yield+:} false; then :
21186
21187 else
21188 ac_cv_search_sched_yield=no
21189 fi
21190 rm conftest.$ac_ext
21191 LIBS=$ac_func_search_save_LIBS
21192 fi
21193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
21194 $as_echo "$ac_cv_search_sched_yield" >&6; }
21195 ac_res=$ac_cv_search_sched_yield
21196 if test "$ac_res" != no; then :
21197 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
21198
21199 fi
21200
21201
21202 case "$ac_cv_search_sched_yield" in
21203 -lposix4*)
21204 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21205 ac_has_sched_yield=yes
21206 ;;
21207 -lrt*)
21208 if test x"$enable_libstdcxx_time" = x"rt"; then
21209 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
21210 ac_has_sched_yield=yes
21211 fi
21212 ;;
21213 *)
21214 ac_has_sched_yield=yes
21215 ;;
21216 esac
21217
21218 for ac_header in unistd.h
21219 do :
21220 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21221 if test "x$ac_cv_header_unistd_h" = xyes; then :
21222 cat >>confdefs.h <<_ACEOF
21223 #define HAVE_UNISTD_H 1
21224 _ACEOF
21225 ac_has_unistd_h=yes
21226 else
21227 ac_has_unistd_h=no
21228 fi
21229
21230 done
21231
21232
21233 if test x"$ac_has_unistd_h" = x"yes"; then
21234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
21235 $as_echo_n "checking for monotonic clock... " >&6; }
21236 if test x$gcc_no_link = xyes; then
21237 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21238 fi
21239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21240 /* end confdefs.h. */
21241 #include <unistd.h>
21242 #include <time.h>
21243
21244 int
21245 main ()
21246 {
21247 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21248 timespec tp;
21249 #endif
21250 clock_gettime(CLOCK_MONOTONIC, &tp);
21251
21252 ;
21253 return 0;
21254 }
21255 _ACEOF
21256 if ac_fn_cxx_try_link "$LINENO"; then :
21257 ac_has_clock_monotonic=yes
21258 else
21259 ac_has_clock_monotonic=no
21260 fi
21261 rm -f core conftest.err conftest.$ac_objext \
21262 conftest$ac_exeext conftest.$ac_ext
21263
21264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
21265 $as_echo "$ac_has_clock_monotonic" >&6; }
21266
21267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
21268 $as_echo_n "checking for realtime clock... " >&6; }
21269 if test x$gcc_no_link = xyes; then
21270 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21271 fi
21272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21273 /* end confdefs.h. */
21274 #include <unistd.h>
21275 #include <time.h>
21276
21277 int
21278 main ()
21279 {
21280 #if _POSIX_TIMERS > 0
21281 timespec tp;
21282 #endif
21283 clock_gettime(CLOCK_REALTIME, &tp);
21284
21285 ;
21286 return 0;
21287 }
21288 _ACEOF
21289 if ac_fn_cxx_try_link "$LINENO"; then :
21290 ac_has_clock_realtime=yes
21291 else
21292 ac_has_clock_realtime=no
21293 fi
21294 rm -f core conftest.err conftest.$ac_objext \
21295 conftest$ac_exeext conftest.$ac_ext
21296
21297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
21298 $as_echo "$ac_has_clock_realtime" >&6; }
21299
21300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
21301 $as_echo_n "checking for nanosleep... " >&6; }
21302 if test x$gcc_no_link = xyes; then
21303 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21304 fi
21305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21306 /* end confdefs.h. */
21307 #include <unistd.h>
21308 #include <time.h>
21309
21310 int
21311 main ()
21312 {
21313 #if _POSIX_TIMERS > 0
21314 timespec tp;
21315 #endif
21316 nanosleep(&tp, 0);
21317
21318 ;
21319 return 0;
21320 }
21321 _ACEOF
21322 if ac_fn_cxx_try_link "$LINENO"; then :
21323 ac_has_nanosleep=yes
21324 else
21325 ac_has_nanosleep=no
21326 fi
21327 rm -f core conftest.err conftest.$ac_objext \
21328 conftest$ac_exeext conftest.$ac_ext
21329
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
21331 $as_echo "$ac_has_nanosleep" >&6; }
21332 fi
21333 fi
21334
21335 if test x"$ac_has_clock_monotonic" != x"yes"; then
21336 case ${target_os} in
21337 linux*)
21338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
21339 $as_echo_n "checking for clock_gettime syscall... " >&6; }
21340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21341 /* end confdefs.h. */
21342 #include <unistd.h>
21343 #include <time.h>
21344 #include <sys/syscall.h>
21345
21346 int
21347 main ()
21348 {
21349 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
21350 timespec tp;
21351 #endif
21352 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
21353 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
21354
21355 ;
21356 return 0;
21357 }
21358 _ACEOF
21359 if ac_fn_cxx_try_compile "$LINENO"; then :
21360 ac_has_clock_monotonic_syscall=yes
21361 else
21362 ac_has_clock_monotonic_syscall=no
21363 fi
21364 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic_syscall" >&5
21366 $as_echo "$ac_has_clock_monotonic_syscall" >&6; }
21367 if test x"$ac_has_clock_monotonic_syscall" = x"yes"; then
21368
21369 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
21370
21371 ac_has_clock_monotonic=yes
21372 ac_has_clock_realtime=yes
21373 fi;;
21374 esac
21375 fi
21376
21377 if test x"$ac_has_clock_monotonic" = x"yes"; then
21378
21379 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
21380
21381 fi
21382
21383 if test x"$ac_has_clock_realtime" = x"yes"; then
21384
21385 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
21386
21387 fi
21388
21389 if test x"$ac_has_sched_yield" = x"yes"; then
21390
21391 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
21392
21393 fi
21394
21395 if test x"$ac_has_nanosleep" = x"yes"; then
21396
21397 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
21398
21399 else
21400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
21401 $as_echo_n "checking for sleep... " >&6; }
21402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21403 /* end confdefs.h. */
21404 #include <unistd.h>
21405 int
21406 main ()
21407 {
21408 sleep(1)
21409 ;
21410 return 0;
21411 }
21412 _ACEOF
21413 if ac_fn_cxx_try_compile "$LINENO"; then :
21414 ac_has_sleep=yes
21415 else
21416 ac_has_sleep=no
21417 fi
21418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21419 if test x"$ac_has_sleep" = x"yes"; then
21420
21421 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
21422
21423 fi
21424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
21425 $as_echo "$ac_has_sleep" >&6; }
21426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
21427 $as_echo_n "checking for usleep... " >&6; }
21428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21429 /* end confdefs.h. */
21430 #include <unistd.h>
21431 int
21432 main ()
21433 {
21434 sleep(1);
21435 usleep(100);
21436 ;
21437 return 0;
21438 }
21439 _ACEOF
21440 if ac_fn_cxx_try_compile "$LINENO"; then :
21441 ac_has_usleep=yes
21442 else
21443 ac_has_usleep=no
21444 fi
21445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21446 if test x"$ac_has_usleep" = x"yes"; then
21447
21448 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
21449
21450 fi
21451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
21452 $as_echo "$ac_has_usleep" >&6; }
21453 fi
21454
21455 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
21456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
21457 $as_echo_n "checking for Sleep... " >&6; }
21458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21459 /* end confdefs.h. */
21460 #include <windows.h>
21461 int
21462 main ()
21463 {
21464 Sleep(1)
21465 ;
21466 return 0;
21467 }
21468 _ACEOF
21469 if ac_fn_cxx_try_compile "$LINENO"; then :
21470 ac_has_win32_sleep=yes
21471 else
21472 ac_has_win32_sleep=no
21473 fi
21474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21475 if test x"$ac_has_win32_sleep" = x"yes"; then
21476
21477 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21478
21479 fi
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21481 $as_echo "$ac_has_win32_sleep" >&6; }
21482 fi
21483
21484
21485
21486 CXXFLAGS="$ac_save_CXXFLAGS"
21487 LIBS="$ac_save_LIBS"
21488 ac_ext=c
21489 ac_cpp='$CPP $CPPFLAGS'
21490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21493
21494
21495
21496 # Check for tmpnam which is obsolescent in POSIX.1-2008
21497
21498 ac_ext=cpp
21499 ac_cpp='$CXXCPP $CPPFLAGS'
21500 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21501 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21502 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21503
21504 ac_save_CXXFLAGS="$CXXFLAGS"
21505 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21507 $as_echo_n "checking for tmpnam... " >&6; }
21508 if ${glibcxx_cv_TMPNAM+:} false; then :
21509 $as_echo_n "(cached) " >&6
21510 else
21511 if test x$gcc_no_link = xyes; then
21512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21513 /* end confdefs.h. */
21514 #include <stdio.h>
21515 int
21516 main ()
21517 {
21518 char *tmp = tmpnam(NULL);
21519 ;
21520 return 0;
21521 }
21522 _ACEOF
21523 if ac_fn_cxx_try_compile "$LINENO"; then :
21524 glibcxx_cv_TMPNAM=yes
21525 else
21526 glibcxx_cv_TMPNAM=no
21527 fi
21528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21529 else
21530 if test x$gcc_no_link = xyes; then
21531 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21532 fi
21533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21534 /* end confdefs.h. */
21535 #include <stdio.h>
21536 int
21537 main ()
21538 {
21539 char *tmp = tmpnam(NULL);
21540 ;
21541 return 0;
21542 }
21543 _ACEOF
21544 if ac_fn_cxx_try_link "$LINENO"; then :
21545 glibcxx_cv_TMPNAM=yes
21546 else
21547 glibcxx_cv_TMPNAM=no
21548 fi
21549 rm -f core conftest.err conftest.$ac_objext \
21550 conftest$ac_exeext conftest.$ac_ext
21551 fi
21552
21553 fi
21554
21555 if test $glibcxx_cv_TMPNAM = yes; then
21556
21557 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21558
21559 fi
21560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21561 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21562 CXXFLAGS="$ac_save_CXXFLAGS"
21563 ac_ext=c
21564 ac_cpp='$CPP $CPPFLAGS'
21565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21568
21569
21570
21571
21572 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21573 if test "x$ac_cv_header_locale_h" = xyes; then :
21574
21575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21576 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21577 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21578 $as_echo_n "(cached) " >&6
21579 else
21580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21581 /* end confdefs.h. */
21582 #include <locale.h>
21583 int
21584 main ()
21585 {
21586 return LC_MESSAGES
21587 ;
21588 return 0;
21589 }
21590 _ACEOF
21591 if ac_fn_c_try_compile "$LINENO"; then :
21592 ac_cv_val_LC_MESSAGES=yes
21593 else
21594 ac_cv_val_LC_MESSAGES=no
21595 fi
21596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21597 fi
21598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21599 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21600 if test $ac_cv_val_LC_MESSAGES = yes; then
21601
21602 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21603
21604 fi
21605
21606 fi
21607
21608
21609
21610
21611 # For hardware_concurrency
21612 for ac_header in sys/sysinfo.h
21613 do :
21614 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21615 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21616 cat >>confdefs.h <<_ACEOF
21617 #define HAVE_SYS_SYSINFO_H 1
21618 _ACEOF
21619
21620 fi
21621
21622 done
21623
21624
21625
21626
21627 ac_ext=cpp
21628 ac_cpp='$CXXCPP $CPPFLAGS'
21629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21632
21633 ac_save_CXXFLAGS="$CXXFLAGS"
21634 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21635
21636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21637 $as_echo_n "checking for get_nprocs... " >&6; }
21638 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21639 $as_echo_n "(cached) " >&6
21640 else
21641
21642 if test x$gcc_no_link = xyes; then
21643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21644 /* end confdefs.h. */
21645 #include <sys/sysinfo.h>
21646 int
21647 main ()
21648 {
21649 int n = get_nprocs();
21650 ;
21651 return 0;
21652 }
21653 _ACEOF
21654 if ac_fn_cxx_try_compile "$LINENO"; then :
21655 glibcxx_cv_GET_NPROCS=yes
21656 else
21657 glibcxx_cv_GET_NPROCS=no
21658 fi
21659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21660 else
21661 if test x$gcc_no_link = xyes; then
21662 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21663 fi
21664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21665 /* end confdefs.h. */
21666 #include <sys/sysinfo.h>
21667 int
21668 main ()
21669 {
21670 int n = get_nprocs();
21671 ;
21672 return 0;
21673 }
21674 _ACEOF
21675 if ac_fn_cxx_try_link "$LINENO"; then :
21676 glibcxx_cv_GET_NPROCS=yes
21677 else
21678 glibcxx_cv_GET_NPROCS=no
21679 fi
21680 rm -f core conftest.err conftest.$ac_objext \
21681 conftest$ac_exeext conftest.$ac_ext
21682 fi
21683
21684 fi
21685
21686 if test $glibcxx_cv_GET_NPROCS = yes; then
21687
21688 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21689
21690 fi
21691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21692 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21693
21694 CXXFLAGS="$ac_save_CXXFLAGS"
21695 ac_ext=c
21696 ac_cpp='$CPP $CPPFLAGS'
21697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21700
21701
21702 for ac_header in unistd.h
21703 do :
21704 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21705 if test "x$ac_cv_header_unistd_h" = xyes; then :
21706 cat >>confdefs.h <<_ACEOF
21707 #define HAVE_UNISTD_H 1
21708 _ACEOF
21709
21710 fi
21711
21712 done
21713
21714
21715
21716
21717 ac_ext=cpp
21718 ac_cpp='$CXXCPP $CPPFLAGS'
21719 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21720 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21721 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21722
21723 ac_save_CXXFLAGS="$CXXFLAGS"
21724 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21725
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21727 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21728 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21729 $as_echo_n "(cached) " >&6
21730 else
21731
21732 if test x$gcc_no_link = xyes; then
21733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21734 /* end confdefs.h. */
21735 #include <unistd.h>
21736 int
21737 main ()
21738 {
21739 int n = sysconf(_SC_NPROCESSORS_ONLN);
21740 ;
21741 return 0;
21742 }
21743 _ACEOF
21744 if ac_fn_cxx_try_compile "$LINENO"; then :
21745 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21746 else
21747 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21748 fi
21749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21750 else
21751 if test x$gcc_no_link = xyes; then
21752 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21753 fi
21754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21755 /* end confdefs.h. */
21756 #include <unistd.h>
21757 int
21758 main ()
21759 {
21760 int n = sysconf(_SC_NPROCESSORS_ONLN);
21761 ;
21762 return 0;
21763 }
21764 _ACEOF
21765 if ac_fn_cxx_try_link "$LINENO"; then :
21766 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21767 else
21768 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21769 fi
21770 rm -f core conftest.err conftest.$ac_objext \
21771 conftest$ac_exeext conftest.$ac_ext
21772 fi
21773
21774 fi
21775
21776 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21777
21778 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21779
21780 fi
21781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21782 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21783
21784 CXXFLAGS="$ac_save_CXXFLAGS"
21785 ac_ext=c
21786 ac_cpp='$CPP $CPPFLAGS'
21787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21790
21791
21792
21793
21794
21795 ac_ext=cpp
21796 ac_cpp='$CXXCPP $CPPFLAGS'
21797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21800
21801 ac_save_CXXFLAGS="$CXXFLAGS"
21802 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21803
21804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21805 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21806 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21807 $as_echo_n "(cached) " >&6
21808 else
21809
21810 if test x$gcc_no_link = xyes; then
21811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21812 /* end confdefs.h. */
21813 #include <unistd.h>
21814 int
21815 main ()
21816 {
21817 int n = sysconf(_SC_NPROC_ONLN);
21818 ;
21819 return 0;
21820 }
21821 _ACEOF
21822 if ac_fn_cxx_try_compile "$LINENO"; then :
21823 glibcxx_cv_SC_NPROC_ONLN=yes
21824 else
21825 glibcxx_cv_SC_NPROC_ONLN=no
21826 fi
21827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21828 else
21829 if test x$gcc_no_link = xyes; then
21830 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21831 fi
21832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21833 /* end confdefs.h. */
21834 #include <unistd.h>
21835 int
21836 main ()
21837 {
21838 int n = sysconf(_SC_NPROC_ONLN);
21839 ;
21840 return 0;
21841 }
21842 _ACEOF
21843 if ac_fn_cxx_try_link "$LINENO"; then :
21844 glibcxx_cv_SC_NPROC_ONLN=yes
21845 else
21846 glibcxx_cv_SC_NPROC_ONLN=no
21847 fi
21848 rm -f core conftest.err conftest.$ac_objext \
21849 conftest$ac_exeext conftest.$ac_ext
21850 fi
21851
21852 fi
21853
21854 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21855
21856 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21857
21858 fi
21859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21860 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21861
21862 CXXFLAGS="$ac_save_CXXFLAGS"
21863 ac_ext=c
21864 ac_cpp='$CPP $CPPFLAGS'
21865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21868
21869
21870
21871
21872
21873 ac_ext=cpp
21874 ac_cpp='$CXXCPP $CPPFLAGS'
21875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21878
21879 ac_save_CXXFLAGS="$CXXFLAGS"
21880 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21881
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21883 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21884 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21885 $as_echo_n "(cached) " >&6
21886 else
21887
21888 if test x$gcc_no_link = xyes; then
21889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21890 /* end confdefs.h. */
21891 #include <pthread.h>
21892 int
21893 main ()
21894 {
21895 int n = pthread_num_processors_np();
21896 ;
21897 return 0;
21898 }
21899 _ACEOF
21900 if ac_fn_cxx_try_compile "$LINENO"; then :
21901 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21902 else
21903 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21904 fi
21905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21906 else
21907 if test x$gcc_no_link = xyes; then
21908 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21909 fi
21910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21911 /* end confdefs.h. */
21912 #include <pthread.h>
21913 int
21914 main ()
21915 {
21916 int n = pthread_num_processors_np();
21917 ;
21918 return 0;
21919 }
21920 _ACEOF
21921 if ac_fn_cxx_try_link "$LINENO"; then :
21922 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21923 else
21924 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21925 fi
21926 rm -f core conftest.err conftest.$ac_objext \
21927 conftest$ac_exeext conftest.$ac_ext
21928 fi
21929
21930 fi
21931
21932 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21933
21934 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21935
21936 fi
21937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21938 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21939
21940 CXXFLAGS="$ac_save_CXXFLAGS"
21941 ac_ext=c
21942 ac_cpp='$CPP $CPPFLAGS'
21943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21946
21947
21948
21949
21950
21951 ac_ext=cpp
21952 ac_cpp='$CXXCPP $CPPFLAGS'
21953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21956
21957 ac_save_CXXFLAGS="$CXXFLAGS"
21958 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21959
21960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21961 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21962 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21963 $as_echo_n "(cached) " >&6
21964 else
21965
21966 if test x$gcc_no_link = xyes; then
21967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21968 /* end confdefs.h. */
21969
21970 #include <stddef.h>
21971 #include <sys/sysctl.h>
21972
21973 int
21974 main ()
21975 {
21976
21977 int count;
21978 size_t size = sizeof(count);
21979 int mib[] = { CTL_HW, HW_NCPU };
21980 sysctl(mib, 2, &count, &size, NULL, 0);
21981
21982 ;
21983 return 0;
21984 }
21985 _ACEOF
21986 if ac_fn_cxx_try_compile "$LINENO"; then :
21987 glibcxx_cv_SYSCTL_HW_NCPU=yes
21988 else
21989 glibcxx_cv_SYSCTL_HW_NCPU=no
21990 fi
21991 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21992 else
21993 if test x$gcc_no_link = xyes; then
21994 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21995 fi
21996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21997 /* end confdefs.h. */
21998
21999 #include <stddef.h>
22000 #include <sys/sysctl.h>
22001
22002 int
22003 main ()
22004 {
22005
22006 int count;
22007 size_t size = sizeof(count);
22008 int mib[] = { CTL_HW, HW_NCPU };
22009 sysctl(mib, 2, &count, &size, NULL, 0);
22010
22011 ;
22012 return 0;
22013 }
22014 _ACEOF
22015 if ac_fn_cxx_try_link "$LINENO"; then :
22016 glibcxx_cv_SYSCTL_HW_NCPU=yes
22017 else
22018 glibcxx_cv_SYSCTL_HW_NCPU=no
22019 fi
22020 rm -f core conftest.err conftest.$ac_objext \
22021 conftest$ac_exeext conftest.$ac_ext
22022 fi
22023
22024 fi
22025
22026 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
22027
22028 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
22029
22030 fi
22031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
22032 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
22033
22034 CXXFLAGS="$ac_save_CXXFLAGS"
22035 ac_ext=c
22036 ac_cpp='$CPP $CPPFLAGS'
22037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22040
22041
22042
22043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
22044 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
22045 # Note that this test has to be run with the C language.
22046 # Otherwise, sdt.h will try to include some headers from
22047 # libstdc++ itself.
22048
22049 ac_ext=c
22050 ac_cpp='$CPP $CPPFLAGS'
22051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22054
22055 if ${glibcxx_cv_sys_sdt_h+:} false; then :
22056 $as_echo_n "(cached) " >&6
22057 else
22058
22059 # Because we have to run the test in C, we use grep rather
22060 # than the compiler to check for the bug. The bug is that
22061 # were strings without trailing whitespace, causing g++
22062 # to look for operator"". The pattern searches for the fixed
22063 # output.
22064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22065 /* end confdefs.h. */
22066
22067 #include <sys/sdt.h>
22068 int f() { STAP_PROBE(hi, bob); }
22069
22070 _ACEOF
22071 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
22072 $EGREP " \",\" " >/dev/null 2>&1; then :
22073 glibcxx_cv_sys_sdt_h=yes
22074 else
22075 glibcxx_cv_sys_sdt_h=no
22076 fi
22077 rm -f conftest*
22078
22079
22080 fi
22081
22082 ac_ext=c
22083 ac_cpp='$CPP $CPPFLAGS'
22084 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22085 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22086 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22087
22088 if test $glibcxx_cv_sys_sdt_h = yes; then
22089
22090 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
22091
22092 fi
22093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
22094 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
22095
22096
22097 # Check for available headers.
22098 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
22099 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
22100 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
22101 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
22102 wchar.h wctype.h linux/types.h
22103 do :
22104 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
22105 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
22106 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
22107 cat >>confdefs.h <<_ACEOF
22108 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
22109 _ACEOF
22110
22111 fi
22112
22113 done
22114
22115
22116 for ac_header in linux/random.h
22117 do :
22118 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
22119 # include <linux/types.h>
22120 #endif
22121
22122 "
22123 if test "x$ac_cv_header_linux_random_h" = xyes; then :
22124 cat >>confdefs.h <<_ACEOF
22125 #define HAVE_LINUX_RANDOM_H 1
22126 _ACEOF
22127
22128 fi
22129
22130 done
22131
22132
22133 # Only do link tests if native. Else, hardcode.
22134 if $GLIBCXX_IS_NATIVE; then
22135
22136 # We can do more elaborate tests that assume a working linker.
22137 CANADIAN=no
22138
22139
22140
22141 # Check whether --with-gnu-ld was given.
22142 if test "${with_gnu_ld+set}" = set; then :
22143 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
22144 else
22145 with_gnu_ld=no
22146 fi
22147
22148 ac_prog=ld
22149 if test "$GCC" = yes; then
22150 # Check if gcc -print-prog-name=ld gives a path.
22151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
22152 $as_echo_n "checking for ld used by $CC... " >&6; }
22153 case $host in
22154 *-*-mingw*)
22155 # gcc leaves a trailing carriage return which upsets mingw
22156 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
22157 *)
22158 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
22159 esac
22160 case $ac_prog in
22161 # Accept absolute paths.
22162 [\\/]* | ?:[\\/]*)
22163 re_direlt='/[^/][^/]*/\.\./'
22164 # Canonicalize the pathname of ld
22165 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
22166 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
22167 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
22168 done
22169 test -z "$LD" && LD="$ac_prog"
22170 ;;
22171 "")
22172 # If it fails, then pretend we aren't using GCC.
22173 ac_prog=ld
22174 ;;
22175 *)
22176 # If it is relative, then search for the first ld in PATH.
22177 with_gnu_ld=unknown
22178 ;;
22179 esac
22180 elif test "$with_gnu_ld" = yes; then
22181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
22182 $as_echo_n "checking for GNU ld... " >&6; }
22183 else
22184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
22185 $as_echo_n "checking for non-GNU ld... " >&6; }
22186 fi
22187 if ${lt_cv_path_LD+:} false; then :
22188 $as_echo_n "(cached) " >&6
22189 else
22190 if test -z "$LD"; then
22191 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
22192 for ac_dir in $PATH; do
22193 IFS="$lt_save_ifs"
22194 test -z "$ac_dir" && ac_dir=.
22195 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
22196 lt_cv_path_LD="$ac_dir/$ac_prog"
22197 # Check to see if the program is GNU ld. I'd rather use --version,
22198 # but apparently some variants of GNU ld only accept -v.
22199 # Break only if it was the GNU/non-GNU ld that we prefer.
22200 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22201 *GNU* | *'with BFD'*)
22202 test "$with_gnu_ld" != no && break
22203 ;;
22204 *)
22205 test "$with_gnu_ld" != yes && break
22206 ;;
22207 esac
22208 fi
22209 done
22210 IFS="$lt_save_ifs"
22211 else
22212 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22213 fi
22214 fi
22215
22216 LD="$lt_cv_path_LD"
22217 if test -n "$LD"; then
22218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22219 $as_echo "$LD" >&6; }
22220 else
22221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22222 $as_echo "no" >&6; }
22223 fi
22224 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22226 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22227 if ${lt_cv_prog_gnu_ld+:} false; then :
22228 $as_echo_n "(cached) " >&6
22229 else
22230 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22231 case `$LD -v 2>&1 </dev/null` in
22232 *GNU* | *'with BFD'*)
22233 lt_cv_prog_gnu_ld=yes
22234 ;;
22235 *)
22236 lt_cv_prog_gnu_ld=no
22237 ;;
22238 esac
22239 fi
22240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22241 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22242 with_gnu_ld=$lt_cv_prog_gnu_ld
22243
22244
22245
22246
22247
22248
22249
22250 # If we're not using GNU ld, then there's no point in even trying these
22251 # tests. Check for that first. We should have already tested for gld
22252 # by now (in libtool), but require it now just to be safe...
22253 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22254 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22255
22256
22257
22258 # The name set by libtool depends on the version of libtool. Shame on us
22259 # for depending on an impl detail, but c'est la vie. Older versions used
22260 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22261 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22262 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22263 # set (hence we're using an older libtool), then set it.
22264 if test x${with_gnu_ld+set} != xset; then
22265 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22266 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22267 with_gnu_ld=no
22268 else
22269 with_gnu_ld=$ac_cv_prog_gnu_ld
22270 fi
22271 fi
22272
22273 # Start by getting the version number. I think the libtool test already
22274 # does some of this, but throws away the result.
22275 glibcxx_ld_is_gold=no
22276 if test x"$with_gnu_ld" = x"yes"; then
22277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22278 $as_echo_n "checking for ld version... " >&6; }
22279
22280 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22281 glibcxx_ld_is_gold=yes
22282 fi
22283 ldver=`$LD --version 2>/dev/null |
22284 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'`
22285
22286 glibcxx_gnu_ld_version=`echo $ldver | \
22287 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22289 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22290 fi
22291
22292 # Set --gc-sections.
22293 glibcxx_have_gc_sections=no
22294 if test "$glibcxx_ld_is_gold" = "yes"; then
22295 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22296 glibcxx_have_gc_sections=yes
22297 fi
22298 else
22299 glibcxx_gcsections_min_ld=21602
22300 if test x"$with_gnu_ld" = x"yes" &&
22301 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22302 glibcxx_have_gc_sections=yes
22303 fi
22304 fi
22305 if test "$glibcxx_have_gc_sections" = "yes"; then
22306 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22307 # NB: This flag only works reliably after 2.16.1. Configure tests
22308 # for this are difficult, so hard wire a value that should work.
22309
22310 ac_test_CFLAGS="${CFLAGS+set}"
22311 ac_save_CFLAGS="$CFLAGS"
22312 CFLAGS='-Wl,--gc-sections'
22313
22314 # Check for -Wl,--gc-sections
22315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22316 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22317 if test x$gcc_no_link = xyes; then
22318 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22319 fi
22320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22321 /* end confdefs.h. */
22322 int one(void) { return 1; }
22323 int two(void) { return 2; }
22324
22325 int
22326 main ()
22327 {
22328 two();
22329 ;
22330 return 0;
22331 }
22332 _ACEOF
22333 if ac_fn_c_try_link "$LINENO"; then :
22334 ac_gcsections=yes
22335 else
22336 ac_gcsections=no
22337 fi
22338 rm -f core conftest.err conftest.$ac_objext \
22339 conftest$ac_exeext conftest.$ac_ext
22340 if test "$ac_gcsections" = "yes"; then
22341 rm -f conftest.c
22342 touch conftest.c
22343 if $CC -c conftest.c; then
22344 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22345 grep "Warning: gc-sections option ignored" > /dev/null; then
22346 ac_gcsections=no
22347 fi
22348 fi
22349 rm -f conftest.c conftest.o conftest
22350 fi
22351 if test "$ac_gcsections" = "yes"; then
22352 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22353 fi
22354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22355 $as_echo "$ac_gcsections" >&6; }
22356
22357 if test "$ac_test_CFLAGS" = set; then
22358 CFLAGS="$ac_save_CFLAGS"
22359 else
22360 # this is the suspicious part
22361 CFLAGS=''
22362 fi
22363 fi
22364
22365 # Set -z,relro.
22366 # Note this is only for shared objects.
22367 ac_ld_relro=no
22368 if test x"$with_gnu_ld" = x"yes"; then
22369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22370 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22371 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22372 if test -n "$cxx_z_relo"; then
22373 OPT_LDFLAGS="-Wl,-z,relro"
22374 ac_ld_relro=yes
22375 fi
22376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22377 $as_echo "$ac_ld_relro" >&6; }
22378 fi
22379
22380 # Set linker optimization flags.
22381 if test x"$with_gnu_ld" = x"yes"; then
22382 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22383 fi
22384
22385
22386
22387
22388
22389 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22390 ac_save_CXXFLAGS="$CXXFLAGS"
22391 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22392
22393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22394 $as_echo_n "checking for sin in -lm... " >&6; }
22395 if ${ac_cv_lib_m_sin+:} false; then :
22396 $as_echo_n "(cached) " >&6
22397 else
22398 ac_check_lib_save_LIBS=$LIBS
22399 LIBS="-lm $LIBS"
22400 if test x$gcc_no_link = xyes; then
22401 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22402 fi
22403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22404 /* end confdefs.h. */
22405
22406 /* Override any GCC internal prototype to avoid an error.
22407 Use char because int might match the return type of a GCC
22408 builtin and then its argument prototype would still apply. */
22409 #ifdef __cplusplus
22410 extern "C"
22411 #endif
22412 char sin ();
22413 int
22414 main ()
22415 {
22416 return sin ();
22417 ;
22418 return 0;
22419 }
22420 _ACEOF
22421 if ac_fn_c_try_link "$LINENO"; then :
22422 ac_cv_lib_m_sin=yes
22423 else
22424 ac_cv_lib_m_sin=no
22425 fi
22426 rm -f core conftest.err conftest.$ac_objext \
22427 conftest$ac_exeext conftest.$ac_ext
22428 LIBS=$ac_check_lib_save_LIBS
22429 fi
22430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22431 $as_echo "$ac_cv_lib_m_sin" >&6; }
22432 if test "x$ac_cv_lib_m_sin" = xyes; then :
22433 libm="-lm"
22434 fi
22435
22436 ac_save_LIBS="$LIBS"
22437 LIBS="$LIBS $libm"
22438
22439
22440
22441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22442 $as_echo_n "checking for isinf declaration... " >&6; }
22443 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22444 if ${glibcxx_cv_func_isinf_use+:} false; then :
22445 $as_echo_n "(cached) " >&6
22446 else
22447
22448
22449 ac_ext=cpp
22450 ac_cpp='$CXXCPP $CPPFLAGS'
22451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22454
22455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22456 /* end confdefs.h. */
22457 #include <math.h>
22458 #ifdef HAVE_IEEEFP_H
22459 #include <ieeefp.h>
22460 #endif
22461
22462 int
22463 main ()
22464 {
22465 isinf(0);
22466 ;
22467 return 0;
22468 }
22469 _ACEOF
22470 if ac_fn_cxx_try_compile "$LINENO"; then :
22471 glibcxx_cv_func_isinf_use=yes
22472 else
22473 glibcxx_cv_func_isinf_use=no
22474 fi
22475 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22476 ac_ext=c
22477 ac_cpp='$CPP $CPPFLAGS'
22478 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22479 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22480 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22481
22482
22483 fi
22484
22485 fi
22486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22487 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22488
22489 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22490 for ac_func in isinf
22491 do :
22492 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22493 if test "x$ac_cv_func_isinf" = xyes; then :
22494 cat >>confdefs.h <<_ACEOF
22495 #define HAVE_ISINF 1
22496 _ACEOF
22497
22498 fi
22499 done
22500
22501 else
22502
22503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22504 $as_echo_n "checking for _isinf declaration... " >&6; }
22505 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22506 if ${glibcxx_cv_func__isinf_use+:} false; then :
22507 $as_echo_n "(cached) " >&6
22508 else
22509
22510
22511 ac_ext=cpp
22512 ac_cpp='$CXXCPP $CPPFLAGS'
22513 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22514 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22515 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22516
22517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22518 /* end confdefs.h. */
22519 #include <math.h>
22520 #ifdef HAVE_IEEEFP_H
22521 #include <ieeefp.h>
22522 #endif
22523
22524 int
22525 main ()
22526 {
22527 _isinf(0);
22528 ;
22529 return 0;
22530 }
22531 _ACEOF
22532 if ac_fn_cxx_try_compile "$LINENO"; then :
22533 glibcxx_cv_func__isinf_use=yes
22534 else
22535 glibcxx_cv_func__isinf_use=no
22536 fi
22537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22538 ac_ext=c
22539 ac_cpp='$CPP $CPPFLAGS'
22540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22543
22544
22545 fi
22546
22547 fi
22548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22549 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22550
22551 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22552 for ac_func in _isinf
22553 do :
22554 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22555 if test "x$ac_cv_func__isinf" = xyes; then :
22556 cat >>confdefs.h <<_ACEOF
22557 #define HAVE__ISINF 1
22558 _ACEOF
22559
22560 fi
22561 done
22562
22563 fi
22564 fi
22565
22566
22567
22568
22569
22570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22571 $as_echo_n "checking for isnan declaration... " >&6; }
22572 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22573 if ${glibcxx_cv_func_isnan_use+:} false; then :
22574 $as_echo_n "(cached) " >&6
22575 else
22576
22577
22578 ac_ext=cpp
22579 ac_cpp='$CXXCPP $CPPFLAGS'
22580 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22581 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22582 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22583
22584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22585 /* end confdefs.h. */
22586 #include <math.h>
22587 #ifdef HAVE_IEEEFP_H
22588 #include <ieeefp.h>
22589 #endif
22590
22591 int
22592 main ()
22593 {
22594 isnan(0);
22595 ;
22596 return 0;
22597 }
22598 _ACEOF
22599 if ac_fn_cxx_try_compile "$LINENO"; then :
22600 glibcxx_cv_func_isnan_use=yes
22601 else
22602 glibcxx_cv_func_isnan_use=no
22603 fi
22604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22605 ac_ext=c
22606 ac_cpp='$CPP $CPPFLAGS'
22607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22610
22611
22612 fi
22613
22614 fi
22615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22616 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22617
22618 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22619 for ac_func in isnan
22620 do :
22621 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22622 if test "x$ac_cv_func_isnan" = xyes; then :
22623 cat >>confdefs.h <<_ACEOF
22624 #define HAVE_ISNAN 1
22625 _ACEOF
22626
22627 fi
22628 done
22629
22630 else
22631
22632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22633 $as_echo_n "checking for _isnan declaration... " >&6; }
22634 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22635 if ${glibcxx_cv_func__isnan_use+:} false; then :
22636 $as_echo_n "(cached) " >&6
22637 else
22638
22639
22640 ac_ext=cpp
22641 ac_cpp='$CXXCPP $CPPFLAGS'
22642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22645
22646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22647 /* end confdefs.h. */
22648 #include <math.h>
22649 #ifdef HAVE_IEEEFP_H
22650 #include <ieeefp.h>
22651 #endif
22652
22653 int
22654 main ()
22655 {
22656 _isnan(0);
22657 ;
22658 return 0;
22659 }
22660 _ACEOF
22661 if ac_fn_cxx_try_compile "$LINENO"; then :
22662 glibcxx_cv_func__isnan_use=yes
22663 else
22664 glibcxx_cv_func__isnan_use=no
22665 fi
22666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22667 ac_ext=c
22668 ac_cpp='$CPP $CPPFLAGS'
22669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22672
22673
22674 fi
22675
22676 fi
22677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22678 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22679
22680 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22681 for ac_func in _isnan
22682 do :
22683 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22684 if test "x$ac_cv_func__isnan" = xyes; then :
22685 cat >>confdefs.h <<_ACEOF
22686 #define HAVE__ISNAN 1
22687 _ACEOF
22688
22689 fi
22690 done
22691
22692 fi
22693 fi
22694
22695
22696
22697
22698
22699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22700 $as_echo_n "checking for finite declaration... " >&6; }
22701 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22702 if ${glibcxx_cv_func_finite_use+:} false; then :
22703 $as_echo_n "(cached) " >&6
22704 else
22705
22706
22707 ac_ext=cpp
22708 ac_cpp='$CXXCPP $CPPFLAGS'
22709 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22710 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22711 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22712
22713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22714 /* end confdefs.h. */
22715 #include <math.h>
22716 #ifdef HAVE_IEEEFP_H
22717 #include <ieeefp.h>
22718 #endif
22719
22720 int
22721 main ()
22722 {
22723 finite(0);
22724 ;
22725 return 0;
22726 }
22727 _ACEOF
22728 if ac_fn_cxx_try_compile "$LINENO"; then :
22729 glibcxx_cv_func_finite_use=yes
22730 else
22731 glibcxx_cv_func_finite_use=no
22732 fi
22733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22734 ac_ext=c
22735 ac_cpp='$CPP $CPPFLAGS'
22736 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22737 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22738 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22739
22740
22741 fi
22742
22743 fi
22744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22745 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22746
22747 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22748 for ac_func in finite
22749 do :
22750 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22751 if test "x$ac_cv_func_finite" = xyes; then :
22752 cat >>confdefs.h <<_ACEOF
22753 #define HAVE_FINITE 1
22754 _ACEOF
22755
22756 fi
22757 done
22758
22759 else
22760
22761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22762 $as_echo_n "checking for _finite declaration... " >&6; }
22763 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22764 if ${glibcxx_cv_func__finite_use+:} false; then :
22765 $as_echo_n "(cached) " >&6
22766 else
22767
22768
22769 ac_ext=cpp
22770 ac_cpp='$CXXCPP $CPPFLAGS'
22771 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22772 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22773 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22774
22775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22776 /* end confdefs.h. */
22777 #include <math.h>
22778 #ifdef HAVE_IEEEFP_H
22779 #include <ieeefp.h>
22780 #endif
22781
22782 int
22783 main ()
22784 {
22785 _finite(0);
22786 ;
22787 return 0;
22788 }
22789 _ACEOF
22790 if ac_fn_cxx_try_compile "$LINENO"; then :
22791 glibcxx_cv_func__finite_use=yes
22792 else
22793 glibcxx_cv_func__finite_use=no
22794 fi
22795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22796 ac_ext=c
22797 ac_cpp='$CPP $CPPFLAGS'
22798 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22799 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22800 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22801
22802
22803 fi
22804
22805 fi
22806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22807 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22808
22809 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22810 for ac_func in _finite
22811 do :
22812 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22813 if test "x$ac_cv_func__finite" = xyes; then :
22814 cat >>confdefs.h <<_ACEOF
22815 #define HAVE__FINITE 1
22816 _ACEOF
22817
22818 fi
22819 done
22820
22821 fi
22822 fi
22823
22824
22825
22826
22827
22828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22829 $as_echo_n "checking for sincos declaration... " >&6; }
22830 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22831 if ${glibcxx_cv_func_sincos_use+:} false; then :
22832 $as_echo_n "(cached) " >&6
22833 else
22834
22835
22836 ac_ext=cpp
22837 ac_cpp='$CXXCPP $CPPFLAGS'
22838 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22839 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22840 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22841
22842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22843 /* end confdefs.h. */
22844 #include <math.h>
22845 int
22846 main ()
22847 {
22848 sincos(0, 0, 0);
22849 ;
22850 return 0;
22851 }
22852 _ACEOF
22853 if ac_fn_cxx_try_compile "$LINENO"; then :
22854 glibcxx_cv_func_sincos_use=yes
22855 else
22856 glibcxx_cv_func_sincos_use=no
22857 fi
22858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22859 ac_ext=c
22860 ac_cpp='$CPP $CPPFLAGS'
22861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22864
22865
22866 fi
22867
22868 fi
22869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22870 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22871
22872 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22873 for ac_func in sincos
22874 do :
22875 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22876 if test "x$ac_cv_func_sincos" = xyes; then :
22877 cat >>confdefs.h <<_ACEOF
22878 #define HAVE_SINCOS 1
22879 _ACEOF
22880
22881 fi
22882 done
22883
22884 else
22885
22886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22887 $as_echo_n "checking for _sincos declaration... " >&6; }
22888 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22889 if ${glibcxx_cv_func__sincos_use+:} false; then :
22890 $as_echo_n "(cached) " >&6
22891 else
22892
22893
22894 ac_ext=cpp
22895 ac_cpp='$CXXCPP $CPPFLAGS'
22896 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22897 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22898 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22899
22900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22901 /* end confdefs.h. */
22902 #include <math.h>
22903 int
22904 main ()
22905 {
22906 _sincos(0, 0, 0);
22907 ;
22908 return 0;
22909 }
22910 _ACEOF
22911 if ac_fn_cxx_try_compile "$LINENO"; then :
22912 glibcxx_cv_func__sincos_use=yes
22913 else
22914 glibcxx_cv_func__sincos_use=no
22915 fi
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22917 ac_ext=c
22918 ac_cpp='$CPP $CPPFLAGS'
22919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22922
22923
22924 fi
22925
22926 fi
22927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22928 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22929
22930 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22931 for ac_func in _sincos
22932 do :
22933 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22934 if test "x$ac_cv_func__sincos" = xyes; then :
22935 cat >>confdefs.h <<_ACEOF
22936 #define HAVE__SINCOS 1
22937 _ACEOF
22938
22939 fi
22940 done
22941
22942 fi
22943 fi
22944
22945
22946
22947
22948
22949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22950 $as_echo_n "checking for fpclass declaration... " >&6; }
22951 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22952 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22953 $as_echo_n "(cached) " >&6
22954 else
22955
22956
22957 ac_ext=cpp
22958 ac_cpp='$CXXCPP $CPPFLAGS'
22959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22962
22963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22964 /* end confdefs.h. */
22965 #include <math.h>
22966 #ifdef HAVE_IEEEFP_H
22967 #include <ieeefp.h>
22968 #endif
22969
22970 int
22971 main ()
22972 {
22973 fpclass(0);
22974 ;
22975 return 0;
22976 }
22977 _ACEOF
22978 if ac_fn_cxx_try_compile "$LINENO"; then :
22979 glibcxx_cv_func_fpclass_use=yes
22980 else
22981 glibcxx_cv_func_fpclass_use=no
22982 fi
22983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22984 ac_ext=c
22985 ac_cpp='$CPP $CPPFLAGS'
22986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22989
22990
22991 fi
22992
22993 fi
22994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22995 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22996
22997 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22998 for ac_func in fpclass
22999 do :
23000 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
23001 if test "x$ac_cv_func_fpclass" = xyes; then :
23002 cat >>confdefs.h <<_ACEOF
23003 #define HAVE_FPCLASS 1
23004 _ACEOF
23005
23006 fi
23007 done
23008
23009 else
23010
23011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
23012 $as_echo_n "checking for _fpclass declaration... " >&6; }
23013 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
23014 if ${glibcxx_cv_func__fpclass_use+:} false; then :
23015 $as_echo_n "(cached) " >&6
23016 else
23017
23018
23019 ac_ext=cpp
23020 ac_cpp='$CXXCPP $CPPFLAGS'
23021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23024
23025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23026 /* end confdefs.h. */
23027 #include <math.h>
23028 #ifdef HAVE_IEEEFP_H
23029 #include <ieeefp.h>
23030 #endif
23031
23032 int
23033 main ()
23034 {
23035 _fpclass(0);
23036 ;
23037 return 0;
23038 }
23039 _ACEOF
23040 if ac_fn_cxx_try_compile "$LINENO"; then :
23041 glibcxx_cv_func__fpclass_use=yes
23042 else
23043 glibcxx_cv_func__fpclass_use=no
23044 fi
23045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23046 ac_ext=c
23047 ac_cpp='$CPP $CPPFLAGS'
23048 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23049 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23050 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23051
23052
23053 fi
23054
23055 fi
23056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
23057 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
23058
23059 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
23060 for ac_func in _fpclass
23061 do :
23062 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
23063 if test "x$ac_cv_func__fpclass" = xyes; then :
23064 cat >>confdefs.h <<_ACEOF
23065 #define HAVE__FPCLASS 1
23066 _ACEOF
23067
23068 fi
23069 done
23070
23071 fi
23072 fi
23073
23074
23075
23076
23077
23078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
23079 $as_echo_n "checking for qfpclass declaration... " >&6; }
23080 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
23081 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
23082 $as_echo_n "(cached) " >&6
23083 else
23084
23085
23086 ac_ext=cpp
23087 ac_cpp='$CXXCPP $CPPFLAGS'
23088 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23089 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23090 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23091
23092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23093 /* end confdefs.h. */
23094 #include <math.h>
23095 #ifdef HAVE_IEEEFP_H
23096 #include <ieeefp.h>
23097 #endif
23098
23099 int
23100 main ()
23101 {
23102 qfpclass(0);
23103 ;
23104 return 0;
23105 }
23106 _ACEOF
23107 if ac_fn_cxx_try_compile "$LINENO"; then :
23108 glibcxx_cv_func_qfpclass_use=yes
23109 else
23110 glibcxx_cv_func_qfpclass_use=no
23111 fi
23112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23113 ac_ext=c
23114 ac_cpp='$CPP $CPPFLAGS'
23115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23118
23119
23120 fi
23121
23122 fi
23123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
23124 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
23125
23126 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
23127 for ac_func in qfpclass
23128 do :
23129 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
23130 if test "x$ac_cv_func_qfpclass" = xyes; then :
23131 cat >>confdefs.h <<_ACEOF
23132 #define HAVE_QFPCLASS 1
23133 _ACEOF
23134
23135 fi
23136 done
23137
23138 else
23139
23140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
23141 $as_echo_n "checking for _qfpclass declaration... " >&6; }
23142 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
23143 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
23144 $as_echo_n "(cached) " >&6
23145 else
23146
23147
23148 ac_ext=cpp
23149 ac_cpp='$CXXCPP $CPPFLAGS'
23150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23153
23154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23155 /* end confdefs.h. */
23156 #include <math.h>
23157 #ifdef HAVE_IEEEFP_H
23158 #include <ieeefp.h>
23159 #endif
23160
23161 int
23162 main ()
23163 {
23164 _qfpclass(0);
23165 ;
23166 return 0;
23167 }
23168 _ACEOF
23169 if ac_fn_cxx_try_compile "$LINENO"; then :
23170 glibcxx_cv_func__qfpclass_use=yes
23171 else
23172 glibcxx_cv_func__qfpclass_use=no
23173 fi
23174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23175 ac_ext=c
23176 ac_cpp='$CPP $CPPFLAGS'
23177 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23178 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23179 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23180
23181
23182 fi
23183
23184 fi
23185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
23186 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
23187
23188 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23189 for ac_func in _qfpclass
23190 do :
23191 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23192 if test "x$ac_cv_func__qfpclass" = xyes; then :
23193 cat >>confdefs.h <<_ACEOF
23194 #define HAVE__QFPCLASS 1
23195 _ACEOF
23196
23197 fi
23198 done
23199
23200 fi
23201 fi
23202
23203
23204
23205
23206
23207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23208 $as_echo_n "checking for hypot declaration... " >&6; }
23209 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23210 if ${glibcxx_cv_func_hypot_use+:} false; then :
23211 $as_echo_n "(cached) " >&6
23212 else
23213
23214
23215 ac_ext=cpp
23216 ac_cpp='$CXXCPP $CPPFLAGS'
23217 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23218 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23219 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23220
23221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23222 /* end confdefs.h. */
23223 #include <math.h>
23224 int
23225 main ()
23226 {
23227 hypot(0, 0);
23228 ;
23229 return 0;
23230 }
23231 _ACEOF
23232 if ac_fn_cxx_try_compile "$LINENO"; then :
23233 glibcxx_cv_func_hypot_use=yes
23234 else
23235 glibcxx_cv_func_hypot_use=no
23236 fi
23237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23238 ac_ext=c
23239 ac_cpp='$CPP $CPPFLAGS'
23240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23243
23244
23245 fi
23246
23247 fi
23248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23249 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23250
23251 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23252 for ac_func in hypot
23253 do :
23254 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23255 if test "x$ac_cv_func_hypot" = xyes; then :
23256 cat >>confdefs.h <<_ACEOF
23257 #define HAVE_HYPOT 1
23258 _ACEOF
23259
23260 fi
23261 done
23262
23263 else
23264
23265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23266 $as_echo_n "checking for _hypot declaration... " >&6; }
23267 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23268 if ${glibcxx_cv_func__hypot_use+:} false; then :
23269 $as_echo_n "(cached) " >&6
23270 else
23271
23272
23273 ac_ext=cpp
23274 ac_cpp='$CXXCPP $CPPFLAGS'
23275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23278
23279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23280 /* end confdefs.h. */
23281 #include <math.h>
23282 int
23283 main ()
23284 {
23285 _hypot(0, 0);
23286 ;
23287 return 0;
23288 }
23289 _ACEOF
23290 if ac_fn_cxx_try_compile "$LINENO"; then :
23291 glibcxx_cv_func__hypot_use=yes
23292 else
23293 glibcxx_cv_func__hypot_use=no
23294 fi
23295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23296 ac_ext=c
23297 ac_cpp='$CPP $CPPFLAGS'
23298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23301
23302
23303 fi
23304
23305 fi
23306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23307 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23308
23309 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23310 for ac_func in _hypot
23311 do :
23312 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23313 if test "x$ac_cv_func__hypot" = xyes; then :
23314 cat >>confdefs.h <<_ACEOF
23315 #define HAVE__HYPOT 1
23316 _ACEOF
23317
23318 fi
23319 done
23320
23321 fi
23322 fi
23323
23324
23325
23326
23327
23328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23329 $as_echo_n "checking for float trig functions... " >&6; }
23330 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23331 $as_echo_n "(cached) " >&6
23332 else
23333
23334
23335 ac_ext=cpp
23336 ac_cpp='$CXXCPP $CPPFLAGS'
23337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23340
23341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23342 /* end confdefs.h. */
23343 #include <math.h>
23344 int
23345 main ()
23346 {
23347 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23348 ;
23349 return 0;
23350 }
23351 _ACEOF
23352 if ac_fn_cxx_try_compile "$LINENO"; then :
23353 glibcxx_cv_func_float_trig_use=yes
23354 else
23355 glibcxx_cv_func_float_trig_use=no
23356 fi
23357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23358 ac_ext=c
23359 ac_cpp='$CPP $CPPFLAGS'
23360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23363
23364 fi
23365
23366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23367 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23368 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23369 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23370 do :
23371 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23372 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23373 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23374 cat >>confdefs.h <<_ACEOF
23375 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23376 _ACEOF
23377
23378 fi
23379 done
23380
23381 else
23382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23383 $as_echo_n "checking for _float trig functions... " >&6; }
23384 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23385 $as_echo_n "(cached) " >&6
23386 else
23387
23388
23389 ac_ext=cpp
23390 ac_cpp='$CXXCPP $CPPFLAGS'
23391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23394
23395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23396 /* end confdefs.h. */
23397 #include <math.h>
23398 int
23399 main ()
23400 {
23401 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23402 ;
23403 return 0;
23404 }
23405 _ACEOF
23406 if ac_fn_cxx_try_compile "$LINENO"; then :
23407 glibcxx_cv_func__float_trig_use=yes
23408 else
23409 glibcxx_cv_func__float_trig_use=no
23410 fi
23411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23412 ac_ext=c
23413 ac_cpp='$CPP $CPPFLAGS'
23414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23417
23418 fi
23419
23420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23421 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23422 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23423 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23424 do :
23425 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23426 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23427 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23428 cat >>confdefs.h <<_ACEOF
23429 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23430 _ACEOF
23431
23432 fi
23433 done
23434
23435 fi
23436 fi
23437
23438
23439
23440
23441
23442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23443 $as_echo_n "checking for float round functions... " >&6; }
23444 if ${glibcxx_cv_func_float_round_use+:} false; then :
23445 $as_echo_n "(cached) " >&6
23446 else
23447
23448
23449 ac_ext=cpp
23450 ac_cpp='$CXXCPP $CPPFLAGS'
23451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23454
23455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23456 /* end confdefs.h. */
23457 #include <math.h>
23458 int
23459 main ()
23460 {
23461 ceilf (0); floorf (0);
23462 ;
23463 return 0;
23464 }
23465 _ACEOF
23466 if ac_fn_cxx_try_compile "$LINENO"; then :
23467 glibcxx_cv_func_float_round_use=yes
23468 else
23469 glibcxx_cv_func_float_round_use=no
23470 fi
23471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23472 ac_ext=c
23473 ac_cpp='$CPP $CPPFLAGS'
23474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23477
23478 fi
23479
23480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23481 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23482 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23483 for ac_func in ceilf floorf
23484 do :
23485 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23486 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23487 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23488 cat >>confdefs.h <<_ACEOF
23489 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23490 _ACEOF
23491
23492 fi
23493 done
23494
23495 else
23496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23497 $as_echo_n "checking for _float round functions... " >&6; }
23498 if ${glibcxx_cv_func__float_round_use+:} false; then :
23499 $as_echo_n "(cached) " >&6
23500 else
23501
23502
23503 ac_ext=cpp
23504 ac_cpp='$CXXCPP $CPPFLAGS'
23505 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23506 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23507 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23508
23509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23510 /* end confdefs.h. */
23511 #include <math.h>
23512 int
23513 main ()
23514 {
23515 _ceilf (0); _floorf (0);
23516 ;
23517 return 0;
23518 }
23519 _ACEOF
23520 if ac_fn_cxx_try_compile "$LINENO"; then :
23521 glibcxx_cv_func__float_round_use=yes
23522 else
23523 glibcxx_cv_func__float_round_use=no
23524 fi
23525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23526 ac_ext=c
23527 ac_cpp='$CPP $CPPFLAGS'
23528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23531
23532 fi
23533
23534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23535 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23536 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23537 for ac_func in _ceilf _floorf
23538 do :
23539 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23540 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23541 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23542 cat >>confdefs.h <<_ACEOF
23543 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23544 _ACEOF
23545
23546 fi
23547 done
23548
23549 fi
23550 fi
23551
23552
23553
23554
23555
23556
23557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23558 $as_echo_n "checking for expf declaration... " >&6; }
23559 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23560 if ${glibcxx_cv_func_expf_use+:} false; then :
23561 $as_echo_n "(cached) " >&6
23562 else
23563
23564
23565 ac_ext=cpp
23566 ac_cpp='$CXXCPP $CPPFLAGS'
23567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23570
23571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23572 /* end confdefs.h. */
23573 #include <math.h>
23574 #ifdef HAVE_IEEEFP_H
23575 #include <ieeefp.h>
23576 #endif
23577
23578 int
23579 main ()
23580 {
23581 expf(0);
23582 ;
23583 return 0;
23584 }
23585 _ACEOF
23586 if ac_fn_cxx_try_compile "$LINENO"; then :
23587 glibcxx_cv_func_expf_use=yes
23588 else
23589 glibcxx_cv_func_expf_use=no
23590 fi
23591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23592 ac_ext=c
23593 ac_cpp='$CPP $CPPFLAGS'
23594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23597
23598
23599 fi
23600
23601 fi
23602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23603 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23604
23605 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23606 for ac_func in expf
23607 do :
23608 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23609 if test "x$ac_cv_func_expf" = xyes; then :
23610 cat >>confdefs.h <<_ACEOF
23611 #define HAVE_EXPF 1
23612 _ACEOF
23613
23614 fi
23615 done
23616
23617 else
23618
23619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23620 $as_echo_n "checking for _expf declaration... " >&6; }
23621 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23622 if ${glibcxx_cv_func__expf_use+:} false; then :
23623 $as_echo_n "(cached) " >&6
23624 else
23625
23626
23627 ac_ext=cpp
23628 ac_cpp='$CXXCPP $CPPFLAGS'
23629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23632
23633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23634 /* end confdefs.h. */
23635 #include <math.h>
23636 #ifdef HAVE_IEEEFP_H
23637 #include <ieeefp.h>
23638 #endif
23639
23640 int
23641 main ()
23642 {
23643 _expf(0);
23644 ;
23645 return 0;
23646 }
23647 _ACEOF
23648 if ac_fn_cxx_try_compile "$LINENO"; then :
23649 glibcxx_cv_func__expf_use=yes
23650 else
23651 glibcxx_cv_func__expf_use=no
23652 fi
23653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23654 ac_ext=c
23655 ac_cpp='$CPP $CPPFLAGS'
23656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23659
23660
23661 fi
23662
23663 fi
23664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23665 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23666
23667 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23668 for ac_func in _expf
23669 do :
23670 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23671 if test "x$ac_cv_func__expf" = xyes; then :
23672 cat >>confdefs.h <<_ACEOF
23673 #define HAVE__EXPF 1
23674 _ACEOF
23675
23676 fi
23677 done
23678
23679 fi
23680 fi
23681
23682
23683
23684
23685
23686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23687 $as_echo_n "checking for isnanf declaration... " >&6; }
23688 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23689 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23690 $as_echo_n "(cached) " >&6
23691 else
23692
23693
23694 ac_ext=cpp
23695 ac_cpp='$CXXCPP $CPPFLAGS'
23696 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23697 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23698 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23699
23700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23701 /* end confdefs.h. */
23702 #include <math.h>
23703 #ifdef HAVE_IEEEFP_H
23704 #include <ieeefp.h>
23705 #endif
23706
23707 int
23708 main ()
23709 {
23710 isnanf(0);
23711 ;
23712 return 0;
23713 }
23714 _ACEOF
23715 if ac_fn_cxx_try_compile "$LINENO"; then :
23716 glibcxx_cv_func_isnanf_use=yes
23717 else
23718 glibcxx_cv_func_isnanf_use=no
23719 fi
23720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23721 ac_ext=c
23722 ac_cpp='$CPP $CPPFLAGS'
23723 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23724 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23725 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23726
23727
23728 fi
23729
23730 fi
23731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23732 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23733
23734 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23735 for ac_func in isnanf
23736 do :
23737 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23738 if test "x$ac_cv_func_isnanf" = xyes; then :
23739 cat >>confdefs.h <<_ACEOF
23740 #define HAVE_ISNANF 1
23741 _ACEOF
23742
23743 fi
23744 done
23745
23746 else
23747
23748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23749 $as_echo_n "checking for _isnanf declaration... " >&6; }
23750 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23751 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23752 $as_echo_n "(cached) " >&6
23753 else
23754
23755
23756 ac_ext=cpp
23757 ac_cpp='$CXXCPP $CPPFLAGS'
23758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23761
23762 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23763 /* end confdefs.h. */
23764 #include <math.h>
23765 #ifdef HAVE_IEEEFP_H
23766 #include <ieeefp.h>
23767 #endif
23768
23769 int
23770 main ()
23771 {
23772 _isnanf(0);
23773 ;
23774 return 0;
23775 }
23776 _ACEOF
23777 if ac_fn_cxx_try_compile "$LINENO"; then :
23778 glibcxx_cv_func__isnanf_use=yes
23779 else
23780 glibcxx_cv_func__isnanf_use=no
23781 fi
23782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23783 ac_ext=c
23784 ac_cpp='$CPP $CPPFLAGS'
23785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23788
23789
23790 fi
23791
23792 fi
23793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23794 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23795
23796 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23797 for ac_func in _isnanf
23798 do :
23799 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23800 if test "x$ac_cv_func__isnanf" = xyes; then :
23801 cat >>confdefs.h <<_ACEOF
23802 #define HAVE__ISNANF 1
23803 _ACEOF
23804
23805 fi
23806 done
23807
23808 fi
23809 fi
23810
23811
23812
23813
23814
23815 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23816 $as_echo_n "checking for isinff declaration... " >&6; }
23817 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23818 if ${glibcxx_cv_func_isinff_use+:} false; then :
23819 $as_echo_n "(cached) " >&6
23820 else
23821
23822
23823 ac_ext=cpp
23824 ac_cpp='$CXXCPP $CPPFLAGS'
23825 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23826 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23827 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23828
23829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23830 /* end confdefs.h. */
23831 #include <math.h>
23832 #ifdef HAVE_IEEEFP_H
23833 #include <ieeefp.h>
23834 #endif
23835
23836 int
23837 main ()
23838 {
23839 isinff(0);
23840 ;
23841 return 0;
23842 }
23843 _ACEOF
23844 if ac_fn_cxx_try_compile "$LINENO"; then :
23845 glibcxx_cv_func_isinff_use=yes
23846 else
23847 glibcxx_cv_func_isinff_use=no
23848 fi
23849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23850 ac_ext=c
23851 ac_cpp='$CPP $CPPFLAGS'
23852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23855
23856
23857 fi
23858
23859 fi
23860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23861 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23862
23863 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23864 for ac_func in isinff
23865 do :
23866 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23867 if test "x$ac_cv_func_isinff" = xyes; then :
23868 cat >>confdefs.h <<_ACEOF
23869 #define HAVE_ISINFF 1
23870 _ACEOF
23871
23872 fi
23873 done
23874
23875 else
23876
23877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23878 $as_echo_n "checking for _isinff declaration... " >&6; }
23879 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23880 if ${glibcxx_cv_func__isinff_use+:} false; then :
23881 $as_echo_n "(cached) " >&6
23882 else
23883
23884
23885 ac_ext=cpp
23886 ac_cpp='$CXXCPP $CPPFLAGS'
23887 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23888 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23889 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23890
23891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23892 /* end confdefs.h. */
23893 #include <math.h>
23894 #ifdef HAVE_IEEEFP_H
23895 #include <ieeefp.h>
23896 #endif
23897
23898 int
23899 main ()
23900 {
23901 _isinff(0);
23902 ;
23903 return 0;
23904 }
23905 _ACEOF
23906 if ac_fn_cxx_try_compile "$LINENO"; then :
23907 glibcxx_cv_func__isinff_use=yes
23908 else
23909 glibcxx_cv_func__isinff_use=no
23910 fi
23911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23912 ac_ext=c
23913 ac_cpp='$CPP $CPPFLAGS'
23914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23917
23918
23919 fi
23920
23921 fi
23922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23923 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23924
23925 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23926 for ac_func in _isinff
23927 do :
23928 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23929 if test "x$ac_cv_func__isinff" = xyes; then :
23930 cat >>confdefs.h <<_ACEOF
23931 #define HAVE__ISINFF 1
23932 _ACEOF
23933
23934 fi
23935 done
23936
23937 fi
23938 fi
23939
23940
23941
23942
23943
23944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23945 $as_echo_n "checking for atan2f declaration... " >&6; }
23946 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23947 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23948 $as_echo_n "(cached) " >&6
23949 else
23950
23951
23952 ac_ext=cpp
23953 ac_cpp='$CXXCPP $CPPFLAGS'
23954 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23955 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23956 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23957
23958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23959 /* end confdefs.h. */
23960 #include <math.h>
23961 int
23962 main ()
23963 {
23964 atan2f(0, 0);
23965 ;
23966 return 0;
23967 }
23968 _ACEOF
23969 if ac_fn_cxx_try_compile "$LINENO"; then :
23970 glibcxx_cv_func_atan2f_use=yes
23971 else
23972 glibcxx_cv_func_atan2f_use=no
23973 fi
23974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23975 ac_ext=c
23976 ac_cpp='$CPP $CPPFLAGS'
23977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23980
23981
23982 fi
23983
23984 fi
23985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23986 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23987
23988 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23989 for ac_func in atan2f
23990 do :
23991 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23992 if test "x$ac_cv_func_atan2f" = xyes; then :
23993 cat >>confdefs.h <<_ACEOF
23994 #define HAVE_ATAN2F 1
23995 _ACEOF
23996
23997 fi
23998 done
23999
24000 else
24001
24002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
24003 $as_echo_n "checking for _atan2f declaration... " >&6; }
24004 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
24005 if ${glibcxx_cv_func__atan2f_use+:} false; then :
24006 $as_echo_n "(cached) " >&6
24007 else
24008
24009
24010 ac_ext=cpp
24011 ac_cpp='$CXXCPP $CPPFLAGS'
24012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24015
24016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24017 /* end confdefs.h. */
24018 #include <math.h>
24019 int
24020 main ()
24021 {
24022 _atan2f(0, 0);
24023 ;
24024 return 0;
24025 }
24026 _ACEOF
24027 if ac_fn_cxx_try_compile "$LINENO"; then :
24028 glibcxx_cv_func__atan2f_use=yes
24029 else
24030 glibcxx_cv_func__atan2f_use=no
24031 fi
24032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24033 ac_ext=c
24034 ac_cpp='$CPP $CPPFLAGS'
24035 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24036 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24037 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24038
24039
24040 fi
24041
24042 fi
24043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
24044 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
24045
24046 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
24047 for ac_func in _atan2f
24048 do :
24049 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
24050 if test "x$ac_cv_func__atan2f" = xyes; then :
24051 cat >>confdefs.h <<_ACEOF
24052 #define HAVE__ATAN2F 1
24053 _ACEOF
24054
24055 fi
24056 done
24057
24058 fi
24059 fi
24060
24061
24062
24063
24064
24065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
24066 $as_echo_n "checking for fabsf declaration... " >&6; }
24067 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
24068 if ${glibcxx_cv_func_fabsf_use+:} false; then :
24069 $as_echo_n "(cached) " >&6
24070 else
24071
24072
24073 ac_ext=cpp
24074 ac_cpp='$CXXCPP $CPPFLAGS'
24075 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24076 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24077 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24078
24079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24080 /* end confdefs.h. */
24081 #include <math.h>
24082 #ifdef HAVE_IEEEFP_H
24083 #include <ieeefp.h>
24084 #endif
24085
24086 int
24087 main ()
24088 {
24089 fabsf(0);
24090 ;
24091 return 0;
24092 }
24093 _ACEOF
24094 if ac_fn_cxx_try_compile "$LINENO"; then :
24095 glibcxx_cv_func_fabsf_use=yes
24096 else
24097 glibcxx_cv_func_fabsf_use=no
24098 fi
24099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24100 ac_ext=c
24101 ac_cpp='$CPP $CPPFLAGS'
24102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24105
24106
24107 fi
24108
24109 fi
24110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
24111 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
24112
24113 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
24114 for ac_func in fabsf
24115 do :
24116 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
24117 if test "x$ac_cv_func_fabsf" = xyes; then :
24118 cat >>confdefs.h <<_ACEOF
24119 #define HAVE_FABSF 1
24120 _ACEOF
24121
24122 fi
24123 done
24124
24125 else
24126
24127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
24128 $as_echo_n "checking for _fabsf declaration... " >&6; }
24129 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
24130 if ${glibcxx_cv_func__fabsf_use+:} false; then :
24131 $as_echo_n "(cached) " >&6
24132 else
24133
24134
24135 ac_ext=cpp
24136 ac_cpp='$CXXCPP $CPPFLAGS'
24137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24140
24141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24142 /* end confdefs.h. */
24143 #include <math.h>
24144 #ifdef HAVE_IEEEFP_H
24145 #include <ieeefp.h>
24146 #endif
24147
24148 int
24149 main ()
24150 {
24151 _fabsf(0);
24152 ;
24153 return 0;
24154 }
24155 _ACEOF
24156 if ac_fn_cxx_try_compile "$LINENO"; then :
24157 glibcxx_cv_func__fabsf_use=yes
24158 else
24159 glibcxx_cv_func__fabsf_use=no
24160 fi
24161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24162 ac_ext=c
24163 ac_cpp='$CPP $CPPFLAGS'
24164 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24165 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24166 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24167
24168
24169 fi
24170
24171 fi
24172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
24173 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
24174
24175 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
24176 for ac_func in _fabsf
24177 do :
24178 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
24179 if test "x$ac_cv_func__fabsf" = xyes; then :
24180 cat >>confdefs.h <<_ACEOF
24181 #define HAVE__FABSF 1
24182 _ACEOF
24183
24184 fi
24185 done
24186
24187 fi
24188 fi
24189
24190
24191
24192
24193
24194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24195 $as_echo_n "checking for fmodf declaration... " >&6; }
24196 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24197 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24198 $as_echo_n "(cached) " >&6
24199 else
24200
24201
24202 ac_ext=cpp
24203 ac_cpp='$CXXCPP $CPPFLAGS'
24204 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24205 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24206 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24207
24208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24209 /* end confdefs.h. */
24210 #include <math.h>
24211 int
24212 main ()
24213 {
24214 fmodf(0, 0);
24215 ;
24216 return 0;
24217 }
24218 _ACEOF
24219 if ac_fn_cxx_try_compile "$LINENO"; then :
24220 glibcxx_cv_func_fmodf_use=yes
24221 else
24222 glibcxx_cv_func_fmodf_use=no
24223 fi
24224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24225 ac_ext=c
24226 ac_cpp='$CPP $CPPFLAGS'
24227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24230
24231
24232 fi
24233
24234 fi
24235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24236 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24237
24238 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24239 for ac_func in fmodf
24240 do :
24241 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24242 if test "x$ac_cv_func_fmodf" = xyes; then :
24243 cat >>confdefs.h <<_ACEOF
24244 #define HAVE_FMODF 1
24245 _ACEOF
24246
24247 fi
24248 done
24249
24250 else
24251
24252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24253 $as_echo_n "checking for _fmodf declaration... " >&6; }
24254 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24255 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24256 $as_echo_n "(cached) " >&6
24257 else
24258
24259
24260 ac_ext=cpp
24261 ac_cpp='$CXXCPP $CPPFLAGS'
24262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24265
24266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24267 /* end confdefs.h. */
24268 #include <math.h>
24269 int
24270 main ()
24271 {
24272 _fmodf(0, 0);
24273 ;
24274 return 0;
24275 }
24276 _ACEOF
24277 if ac_fn_cxx_try_compile "$LINENO"; then :
24278 glibcxx_cv_func__fmodf_use=yes
24279 else
24280 glibcxx_cv_func__fmodf_use=no
24281 fi
24282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24283 ac_ext=c
24284 ac_cpp='$CPP $CPPFLAGS'
24285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24288
24289
24290 fi
24291
24292 fi
24293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24294 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24295
24296 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24297 for ac_func in _fmodf
24298 do :
24299 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24300 if test "x$ac_cv_func__fmodf" = xyes; then :
24301 cat >>confdefs.h <<_ACEOF
24302 #define HAVE__FMODF 1
24303 _ACEOF
24304
24305 fi
24306 done
24307
24308 fi
24309 fi
24310
24311
24312
24313
24314
24315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24316 $as_echo_n "checking for frexpf declaration... " >&6; }
24317 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24318 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24319 $as_echo_n "(cached) " >&6
24320 else
24321
24322
24323 ac_ext=cpp
24324 ac_cpp='$CXXCPP $CPPFLAGS'
24325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24328
24329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24330 /* end confdefs.h. */
24331 #include <math.h>
24332 int
24333 main ()
24334 {
24335 frexpf(0, 0);
24336 ;
24337 return 0;
24338 }
24339 _ACEOF
24340 if ac_fn_cxx_try_compile "$LINENO"; then :
24341 glibcxx_cv_func_frexpf_use=yes
24342 else
24343 glibcxx_cv_func_frexpf_use=no
24344 fi
24345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24346 ac_ext=c
24347 ac_cpp='$CPP $CPPFLAGS'
24348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24351
24352
24353 fi
24354
24355 fi
24356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24357 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24358
24359 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24360 for ac_func in frexpf
24361 do :
24362 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24363 if test "x$ac_cv_func_frexpf" = xyes; then :
24364 cat >>confdefs.h <<_ACEOF
24365 #define HAVE_FREXPF 1
24366 _ACEOF
24367
24368 fi
24369 done
24370
24371 else
24372
24373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24374 $as_echo_n "checking for _frexpf declaration... " >&6; }
24375 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24376 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24377 $as_echo_n "(cached) " >&6
24378 else
24379
24380
24381 ac_ext=cpp
24382 ac_cpp='$CXXCPP $CPPFLAGS'
24383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24386
24387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24388 /* end confdefs.h. */
24389 #include <math.h>
24390 int
24391 main ()
24392 {
24393 _frexpf(0, 0);
24394 ;
24395 return 0;
24396 }
24397 _ACEOF
24398 if ac_fn_cxx_try_compile "$LINENO"; then :
24399 glibcxx_cv_func__frexpf_use=yes
24400 else
24401 glibcxx_cv_func__frexpf_use=no
24402 fi
24403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24404 ac_ext=c
24405 ac_cpp='$CPP $CPPFLAGS'
24406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24409
24410
24411 fi
24412
24413 fi
24414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24415 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24416
24417 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24418 for ac_func in _frexpf
24419 do :
24420 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24421 if test "x$ac_cv_func__frexpf" = xyes; then :
24422 cat >>confdefs.h <<_ACEOF
24423 #define HAVE__FREXPF 1
24424 _ACEOF
24425
24426 fi
24427 done
24428
24429 fi
24430 fi
24431
24432
24433
24434
24435
24436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24437 $as_echo_n "checking for hypotf declaration... " >&6; }
24438 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24439 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24440 $as_echo_n "(cached) " >&6
24441 else
24442
24443
24444 ac_ext=cpp
24445 ac_cpp='$CXXCPP $CPPFLAGS'
24446 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24447 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24448 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24449
24450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24451 /* end confdefs.h. */
24452 #include <math.h>
24453 int
24454 main ()
24455 {
24456 hypotf(0, 0);
24457 ;
24458 return 0;
24459 }
24460 _ACEOF
24461 if ac_fn_cxx_try_compile "$LINENO"; then :
24462 glibcxx_cv_func_hypotf_use=yes
24463 else
24464 glibcxx_cv_func_hypotf_use=no
24465 fi
24466 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24467 ac_ext=c
24468 ac_cpp='$CPP $CPPFLAGS'
24469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24472
24473
24474 fi
24475
24476 fi
24477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24478 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24479
24480 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24481 for ac_func in hypotf
24482 do :
24483 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24484 if test "x$ac_cv_func_hypotf" = xyes; then :
24485 cat >>confdefs.h <<_ACEOF
24486 #define HAVE_HYPOTF 1
24487 _ACEOF
24488
24489 fi
24490 done
24491
24492 else
24493
24494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24495 $as_echo_n "checking for _hypotf declaration... " >&6; }
24496 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24497 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24498 $as_echo_n "(cached) " >&6
24499 else
24500
24501
24502 ac_ext=cpp
24503 ac_cpp='$CXXCPP $CPPFLAGS'
24504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24507
24508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24509 /* end confdefs.h. */
24510 #include <math.h>
24511 int
24512 main ()
24513 {
24514 _hypotf(0, 0);
24515 ;
24516 return 0;
24517 }
24518 _ACEOF
24519 if ac_fn_cxx_try_compile "$LINENO"; then :
24520 glibcxx_cv_func__hypotf_use=yes
24521 else
24522 glibcxx_cv_func__hypotf_use=no
24523 fi
24524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24525 ac_ext=c
24526 ac_cpp='$CPP $CPPFLAGS'
24527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24530
24531
24532 fi
24533
24534 fi
24535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24536 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24537
24538 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24539 for ac_func in _hypotf
24540 do :
24541 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24542 if test "x$ac_cv_func__hypotf" = xyes; then :
24543 cat >>confdefs.h <<_ACEOF
24544 #define HAVE__HYPOTF 1
24545 _ACEOF
24546
24547 fi
24548 done
24549
24550 fi
24551 fi
24552
24553
24554
24555
24556
24557 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24558 $as_echo_n "checking for ldexpf declaration... " >&6; }
24559 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24560 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24561 $as_echo_n "(cached) " >&6
24562 else
24563
24564
24565 ac_ext=cpp
24566 ac_cpp='$CXXCPP $CPPFLAGS'
24567 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24568 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24569 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24570
24571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24572 /* end confdefs.h. */
24573 #include <math.h>
24574 int
24575 main ()
24576 {
24577 ldexpf(0, 0);
24578 ;
24579 return 0;
24580 }
24581 _ACEOF
24582 if ac_fn_cxx_try_compile "$LINENO"; then :
24583 glibcxx_cv_func_ldexpf_use=yes
24584 else
24585 glibcxx_cv_func_ldexpf_use=no
24586 fi
24587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24588 ac_ext=c
24589 ac_cpp='$CPP $CPPFLAGS'
24590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24593
24594
24595 fi
24596
24597 fi
24598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24599 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24600
24601 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24602 for ac_func in ldexpf
24603 do :
24604 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24605 if test "x$ac_cv_func_ldexpf" = xyes; then :
24606 cat >>confdefs.h <<_ACEOF
24607 #define HAVE_LDEXPF 1
24608 _ACEOF
24609
24610 fi
24611 done
24612
24613 else
24614
24615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24616 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24617 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24618 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24619 $as_echo_n "(cached) " >&6
24620 else
24621
24622
24623 ac_ext=cpp
24624 ac_cpp='$CXXCPP $CPPFLAGS'
24625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24628
24629 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24630 /* end confdefs.h. */
24631 #include <math.h>
24632 int
24633 main ()
24634 {
24635 _ldexpf(0, 0);
24636 ;
24637 return 0;
24638 }
24639 _ACEOF
24640 if ac_fn_cxx_try_compile "$LINENO"; then :
24641 glibcxx_cv_func__ldexpf_use=yes
24642 else
24643 glibcxx_cv_func__ldexpf_use=no
24644 fi
24645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24646 ac_ext=c
24647 ac_cpp='$CPP $CPPFLAGS'
24648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24651
24652
24653 fi
24654
24655 fi
24656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24657 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24658
24659 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24660 for ac_func in _ldexpf
24661 do :
24662 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24663 if test "x$ac_cv_func__ldexpf" = xyes; then :
24664 cat >>confdefs.h <<_ACEOF
24665 #define HAVE__LDEXPF 1
24666 _ACEOF
24667
24668 fi
24669 done
24670
24671 fi
24672 fi
24673
24674
24675
24676
24677
24678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24679 $as_echo_n "checking for logf declaration... " >&6; }
24680 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24681 if ${glibcxx_cv_func_logf_use+:} false; then :
24682 $as_echo_n "(cached) " >&6
24683 else
24684
24685
24686 ac_ext=cpp
24687 ac_cpp='$CXXCPP $CPPFLAGS'
24688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24691
24692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24693 /* end confdefs.h. */
24694 #include <math.h>
24695 #ifdef HAVE_IEEEFP_H
24696 #include <ieeefp.h>
24697 #endif
24698
24699 int
24700 main ()
24701 {
24702 logf(0);
24703 ;
24704 return 0;
24705 }
24706 _ACEOF
24707 if ac_fn_cxx_try_compile "$LINENO"; then :
24708 glibcxx_cv_func_logf_use=yes
24709 else
24710 glibcxx_cv_func_logf_use=no
24711 fi
24712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24713 ac_ext=c
24714 ac_cpp='$CPP $CPPFLAGS'
24715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24718
24719
24720 fi
24721
24722 fi
24723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24724 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24725
24726 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24727 for ac_func in logf
24728 do :
24729 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24730 if test "x$ac_cv_func_logf" = xyes; then :
24731 cat >>confdefs.h <<_ACEOF
24732 #define HAVE_LOGF 1
24733 _ACEOF
24734
24735 fi
24736 done
24737
24738 else
24739
24740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24741 $as_echo_n "checking for _logf declaration... " >&6; }
24742 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24743 if ${glibcxx_cv_func__logf_use+:} false; then :
24744 $as_echo_n "(cached) " >&6
24745 else
24746
24747
24748 ac_ext=cpp
24749 ac_cpp='$CXXCPP $CPPFLAGS'
24750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24753
24754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24755 /* end confdefs.h. */
24756 #include <math.h>
24757 #ifdef HAVE_IEEEFP_H
24758 #include <ieeefp.h>
24759 #endif
24760
24761 int
24762 main ()
24763 {
24764 _logf(0);
24765 ;
24766 return 0;
24767 }
24768 _ACEOF
24769 if ac_fn_cxx_try_compile "$LINENO"; then :
24770 glibcxx_cv_func__logf_use=yes
24771 else
24772 glibcxx_cv_func__logf_use=no
24773 fi
24774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24775 ac_ext=c
24776 ac_cpp='$CPP $CPPFLAGS'
24777 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24778 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24779 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24780
24781
24782 fi
24783
24784 fi
24785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24786 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24787
24788 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24789 for ac_func in _logf
24790 do :
24791 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24792 if test "x$ac_cv_func__logf" = xyes; then :
24793 cat >>confdefs.h <<_ACEOF
24794 #define HAVE__LOGF 1
24795 _ACEOF
24796
24797 fi
24798 done
24799
24800 fi
24801 fi
24802
24803
24804
24805
24806
24807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24808 $as_echo_n "checking for log10f declaration... " >&6; }
24809 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24810 if ${glibcxx_cv_func_log10f_use+:} false; then :
24811 $as_echo_n "(cached) " >&6
24812 else
24813
24814
24815 ac_ext=cpp
24816 ac_cpp='$CXXCPP $CPPFLAGS'
24817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24820
24821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24822 /* end confdefs.h. */
24823 #include <math.h>
24824 #ifdef HAVE_IEEEFP_H
24825 #include <ieeefp.h>
24826 #endif
24827
24828 int
24829 main ()
24830 {
24831 log10f(0);
24832 ;
24833 return 0;
24834 }
24835 _ACEOF
24836 if ac_fn_cxx_try_compile "$LINENO"; then :
24837 glibcxx_cv_func_log10f_use=yes
24838 else
24839 glibcxx_cv_func_log10f_use=no
24840 fi
24841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24842 ac_ext=c
24843 ac_cpp='$CPP $CPPFLAGS'
24844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24847
24848
24849 fi
24850
24851 fi
24852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24853 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24854
24855 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24856 for ac_func in log10f
24857 do :
24858 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24859 if test "x$ac_cv_func_log10f" = xyes; then :
24860 cat >>confdefs.h <<_ACEOF
24861 #define HAVE_LOG10F 1
24862 _ACEOF
24863
24864 fi
24865 done
24866
24867 else
24868
24869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24870 $as_echo_n "checking for _log10f declaration... " >&6; }
24871 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24872 if ${glibcxx_cv_func__log10f_use+:} false; then :
24873 $as_echo_n "(cached) " >&6
24874 else
24875
24876
24877 ac_ext=cpp
24878 ac_cpp='$CXXCPP $CPPFLAGS'
24879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24882
24883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24884 /* end confdefs.h. */
24885 #include <math.h>
24886 #ifdef HAVE_IEEEFP_H
24887 #include <ieeefp.h>
24888 #endif
24889
24890 int
24891 main ()
24892 {
24893 _log10f(0);
24894 ;
24895 return 0;
24896 }
24897 _ACEOF
24898 if ac_fn_cxx_try_compile "$LINENO"; then :
24899 glibcxx_cv_func__log10f_use=yes
24900 else
24901 glibcxx_cv_func__log10f_use=no
24902 fi
24903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24904 ac_ext=c
24905 ac_cpp='$CPP $CPPFLAGS'
24906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24909
24910
24911 fi
24912
24913 fi
24914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24915 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24916
24917 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24918 for ac_func in _log10f
24919 do :
24920 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24921 if test "x$ac_cv_func__log10f" = xyes; then :
24922 cat >>confdefs.h <<_ACEOF
24923 #define HAVE__LOG10F 1
24924 _ACEOF
24925
24926 fi
24927 done
24928
24929 fi
24930 fi
24931
24932
24933
24934
24935
24936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24937 $as_echo_n "checking for modff declaration... " >&6; }
24938 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24939 if ${glibcxx_cv_func_modff_use+:} false; then :
24940 $as_echo_n "(cached) " >&6
24941 else
24942
24943
24944 ac_ext=cpp
24945 ac_cpp='$CXXCPP $CPPFLAGS'
24946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24949
24950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24951 /* end confdefs.h. */
24952 #include <math.h>
24953 int
24954 main ()
24955 {
24956 modff(0, 0);
24957 ;
24958 return 0;
24959 }
24960 _ACEOF
24961 if ac_fn_cxx_try_compile "$LINENO"; then :
24962 glibcxx_cv_func_modff_use=yes
24963 else
24964 glibcxx_cv_func_modff_use=no
24965 fi
24966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24967 ac_ext=c
24968 ac_cpp='$CPP $CPPFLAGS'
24969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24972
24973
24974 fi
24975
24976 fi
24977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24978 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24979
24980 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24981 for ac_func in modff
24982 do :
24983 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24984 if test "x$ac_cv_func_modff" = xyes; then :
24985 cat >>confdefs.h <<_ACEOF
24986 #define HAVE_MODFF 1
24987 _ACEOF
24988
24989 fi
24990 done
24991
24992 else
24993
24994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24995 $as_echo_n "checking for _modff declaration... " >&6; }
24996 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24997 if ${glibcxx_cv_func__modff_use+:} false; then :
24998 $as_echo_n "(cached) " >&6
24999 else
25000
25001
25002 ac_ext=cpp
25003 ac_cpp='$CXXCPP $CPPFLAGS'
25004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25007
25008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25009 /* end confdefs.h. */
25010 #include <math.h>
25011 int
25012 main ()
25013 {
25014 _modff(0, 0);
25015 ;
25016 return 0;
25017 }
25018 _ACEOF
25019 if ac_fn_cxx_try_compile "$LINENO"; then :
25020 glibcxx_cv_func__modff_use=yes
25021 else
25022 glibcxx_cv_func__modff_use=no
25023 fi
25024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25025 ac_ext=c
25026 ac_cpp='$CPP $CPPFLAGS'
25027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25030
25031
25032 fi
25033
25034 fi
25035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
25036 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
25037
25038 if test x$glibcxx_cv_func__modff_use = x"yes"; then
25039 for ac_func in _modff
25040 do :
25041 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
25042 if test "x$ac_cv_func__modff" = xyes; then :
25043 cat >>confdefs.h <<_ACEOF
25044 #define HAVE__MODFF 1
25045 _ACEOF
25046
25047 fi
25048 done
25049
25050 fi
25051 fi
25052
25053
25054
25055
25056
25057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
25058 $as_echo_n "checking for modf declaration... " >&6; }
25059 if test x${glibcxx_cv_func_modf_use+set} != xset; then
25060 if ${glibcxx_cv_func_modf_use+:} false; then :
25061 $as_echo_n "(cached) " >&6
25062 else
25063
25064
25065 ac_ext=cpp
25066 ac_cpp='$CXXCPP $CPPFLAGS'
25067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25070
25071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25072 /* end confdefs.h. */
25073 #include <math.h>
25074 int
25075 main ()
25076 {
25077 modf(0, 0);
25078 ;
25079 return 0;
25080 }
25081 _ACEOF
25082 if ac_fn_cxx_try_compile "$LINENO"; then :
25083 glibcxx_cv_func_modf_use=yes
25084 else
25085 glibcxx_cv_func_modf_use=no
25086 fi
25087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25088 ac_ext=c
25089 ac_cpp='$CPP $CPPFLAGS'
25090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25093
25094
25095 fi
25096
25097 fi
25098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
25099 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
25100
25101 if test x$glibcxx_cv_func_modf_use = x"yes"; then
25102 for ac_func in modf
25103 do :
25104 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
25105 if test "x$ac_cv_func_modf" = xyes; then :
25106 cat >>confdefs.h <<_ACEOF
25107 #define HAVE_MODF 1
25108 _ACEOF
25109
25110 fi
25111 done
25112
25113 else
25114
25115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
25116 $as_echo_n "checking for _modf declaration... " >&6; }
25117 if test x${glibcxx_cv_func__modf_use+set} != xset; then
25118 if ${glibcxx_cv_func__modf_use+:} false; then :
25119 $as_echo_n "(cached) " >&6
25120 else
25121
25122
25123 ac_ext=cpp
25124 ac_cpp='$CXXCPP $CPPFLAGS'
25125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25128
25129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25130 /* end confdefs.h. */
25131 #include <math.h>
25132 int
25133 main ()
25134 {
25135 _modf(0, 0);
25136 ;
25137 return 0;
25138 }
25139 _ACEOF
25140 if ac_fn_cxx_try_compile "$LINENO"; then :
25141 glibcxx_cv_func__modf_use=yes
25142 else
25143 glibcxx_cv_func__modf_use=no
25144 fi
25145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25146 ac_ext=c
25147 ac_cpp='$CPP $CPPFLAGS'
25148 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25149 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25150 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25151
25152
25153 fi
25154
25155 fi
25156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
25157 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
25158
25159 if test x$glibcxx_cv_func__modf_use = x"yes"; then
25160 for ac_func in _modf
25161 do :
25162 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
25163 if test "x$ac_cv_func__modf" = xyes; then :
25164 cat >>confdefs.h <<_ACEOF
25165 #define HAVE__MODF 1
25166 _ACEOF
25167
25168 fi
25169 done
25170
25171 fi
25172 fi
25173
25174
25175
25176
25177
25178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
25179 $as_echo_n "checking for powf declaration... " >&6; }
25180 if test x${glibcxx_cv_func_powf_use+set} != xset; then
25181 if ${glibcxx_cv_func_powf_use+:} false; then :
25182 $as_echo_n "(cached) " >&6
25183 else
25184
25185
25186 ac_ext=cpp
25187 ac_cpp='$CXXCPP $CPPFLAGS'
25188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25191
25192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25193 /* end confdefs.h. */
25194 #include <math.h>
25195 int
25196 main ()
25197 {
25198 powf(0, 0);
25199 ;
25200 return 0;
25201 }
25202 _ACEOF
25203 if ac_fn_cxx_try_compile "$LINENO"; then :
25204 glibcxx_cv_func_powf_use=yes
25205 else
25206 glibcxx_cv_func_powf_use=no
25207 fi
25208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25209 ac_ext=c
25210 ac_cpp='$CPP $CPPFLAGS'
25211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25214
25215
25216 fi
25217
25218 fi
25219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25220 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25221
25222 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25223 for ac_func in powf
25224 do :
25225 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25226 if test "x$ac_cv_func_powf" = xyes; then :
25227 cat >>confdefs.h <<_ACEOF
25228 #define HAVE_POWF 1
25229 _ACEOF
25230
25231 fi
25232 done
25233
25234 else
25235
25236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25237 $as_echo_n "checking for _powf declaration... " >&6; }
25238 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25239 if ${glibcxx_cv_func__powf_use+:} false; then :
25240 $as_echo_n "(cached) " >&6
25241 else
25242
25243
25244 ac_ext=cpp
25245 ac_cpp='$CXXCPP $CPPFLAGS'
25246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25249
25250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25251 /* end confdefs.h. */
25252 #include <math.h>
25253 int
25254 main ()
25255 {
25256 _powf(0, 0);
25257 ;
25258 return 0;
25259 }
25260 _ACEOF
25261 if ac_fn_cxx_try_compile "$LINENO"; then :
25262 glibcxx_cv_func__powf_use=yes
25263 else
25264 glibcxx_cv_func__powf_use=no
25265 fi
25266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25267 ac_ext=c
25268 ac_cpp='$CPP $CPPFLAGS'
25269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25272
25273
25274 fi
25275
25276 fi
25277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25278 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25279
25280 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25281 for ac_func in _powf
25282 do :
25283 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25284 if test "x$ac_cv_func__powf" = xyes; then :
25285 cat >>confdefs.h <<_ACEOF
25286 #define HAVE__POWF 1
25287 _ACEOF
25288
25289 fi
25290 done
25291
25292 fi
25293 fi
25294
25295
25296
25297
25298
25299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25300 $as_echo_n "checking for sqrtf declaration... " >&6; }
25301 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25302 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25303 $as_echo_n "(cached) " >&6
25304 else
25305
25306
25307 ac_ext=cpp
25308 ac_cpp='$CXXCPP $CPPFLAGS'
25309 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25310 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25311 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25312
25313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25314 /* end confdefs.h. */
25315 #include <math.h>
25316 #ifdef HAVE_IEEEFP_H
25317 #include <ieeefp.h>
25318 #endif
25319
25320 int
25321 main ()
25322 {
25323 sqrtf(0);
25324 ;
25325 return 0;
25326 }
25327 _ACEOF
25328 if ac_fn_cxx_try_compile "$LINENO"; then :
25329 glibcxx_cv_func_sqrtf_use=yes
25330 else
25331 glibcxx_cv_func_sqrtf_use=no
25332 fi
25333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25334 ac_ext=c
25335 ac_cpp='$CPP $CPPFLAGS'
25336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25339
25340
25341 fi
25342
25343 fi
25344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25345 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25346
25347 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25348 for ac_func in sqrtf
25349 do :
25350 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25351 if test "x$ac_cv_func_sqrtf" = xyes; then :
25352 cat >>confdefs.h <<_ACEOF
25353 #define HAVE_SQRTF 1
25354 _ACEOF
25355
25356 fi
25357 done
25358
25359 else
25360
25361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25362 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25363 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25364 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25365 $as_echo_n "(cached) " >&6
25366 else
25367
25368
25369 ac_ext=cpp
25370 ac_cpp='$CXXCPP $CPPFLAGS'
25371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25374
25375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25376 /* end confdefs.h. */
25377 #include <math.h>
25378 #ifdef HAVE_IEEEFP_H
25379 #include <ieeefp.h>
25380 #endif
25381
25382 int
25383 main ()
25384 {
25385 _sqrtf(0);
25386 ;
25387 return 0;
25388 }
25389 _ACEOF
25390 if ac_fn_cxx_try_compile "$LINENO"; then :
25391 glibcxx_cv_func__sqrtf_use=yes
25392 else
25393 glibcxx_cv_func__sqrtf_use=no
25394 fi
25395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25396 ac_ext=c
25397 ac_cpp='$CPP $CPPFLAGS'
25398 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25399 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25400 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25401
25402
25403 fi
25404
25405 fi
25406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25407 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25408
25409 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25410 for ac_func in _sqrtf
25411 do :
25412 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25413 if test "x$ac_cv_func__sqrtf" = xyes; then :
25414 cat >>confdefs.h <<_ACEOF
25415 #define HAVE__SQRTF 1
25416 _ACEOF
25417
25418 fi
25419 done
25420
25421 fi
25422 fi
25423
25424
25425
25426
25427
25428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25429 $as_echo_n "checking for sincosf declaration... " >&6; }
25430 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25431 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25432 $as_echo_n "(cached) " >&6
25433 else
25434
25435
25436 ac_ext=cpp
25437 ac_cpp='$CXXCPP $CPPFLAGS'
25438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25441
25442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25443 /* end confdefs.h. */
25444 #include <math.h>
25445 int
25446 main ()
25447 {
25448 sincosf(0, 0, 0);
25449 ;
25450 return 0;
25451 }
25452 _ACEOF
25453 if ac_fn_cxx_try_compile "$LINENO"; then :
25454 glibcxx_cv_func_sincosf_use=yes
25455 else
25456 glibcxx_cv_func_sincosf_use=no
25457 fi
25458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25459 ac_ext=c
25460 ac_cpp='$CPP $CPPFLAGS'
25461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25464
25465
25466 fi
25467
25468 fi
25469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25470 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25471
25472 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25473 for ac_func in sincosf
25474 do :
25475 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25476 if test "x$ac_cv_func_sincosf" = xyes; then :
25477 cat >>confdefs.h <<_ACEOF
25478 #define HAVE_SINCOSF 1
25479 _ACEOF
25480
25481 fi
25482 done
25483
25484 else
25485
25486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25487 $as_echo_n "checking for _sincosf declaration... " >&6; }
25488 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25489 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25490 $as_echo_n "(cached) " >&6
25491 else
25492
25493
25494 ac_ext=cpp
25495 ac_cpp='$CXXCPP $CPPFLAGS'
25496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25499
25500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25501 /* end confdefs.h. */
25502 #include <math.h>
25503 int
25504 main ()
25505 {
25506 _sincosf(0, 0, 0);
25507 ;
25508 return 0;
25509 }
25510 _ACEOF
25511 if ac_fn_cxx_try_compile "$LINENO"; then :
25512 glibcxx_cv_func__sincosf_use=yes
25513 else
25514 glibcxx_cv_func__sincosf_use=no
25515 fi
25516 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25517 ac_ext=c
25518 ac_cpp='$CPP $CPPFLAGS'
25519 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25520 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25521 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25522
25523
25524 fi
25525
25526 fi
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25528 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25529
25530 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25531 for ac_func in _sincosf
25532 do :
25533 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25534 if test "x$ac_cv_func__sincosf" = xyes; then :
25535 cat >>confdefs.h <<_ACEOF
25536 #define HAVE__SINCOSF 1
25537 _ACEOF
25538
25539 fi
25540 done
25541
25542 fi
25543 fi
25544
25545
25546
25547
25548
25549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25550 $as_echo_n "checking for finitef declaration... " >&6; }
25551 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25552 if ${glibcxx_cv_func_finitef_use+:} false; then :
25553 $as_echo_n "(cached) " >&6
25554 else
25555
25556
25557 ac_ext=cpp
25558 ac_cpp='$CXXCPP $CPPFLAGS'
25559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25562
25563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25564 /* end confdefs.h. */
25565 #include <math.h>
25566 #ifdef HAVE_IEEEFP_H
25567 #include <ieeefp.h>
25568 #endif
25569
25570 int
25571 main ()
25572 {
25573 finitef(0);
25574 ;
25575 return 0;
25576 }
25577 _ACEOF
25578 if ac_fn_cxx_try_compile "$LINENO"; then :
25579 glibcxx_cv_func_finitef_use=yes
25580 else
25581 glibcxx_cv_func_finitef_use=no
25582 fi
25583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25584 ac_ext=c
25585 ac_cpp='$CPP $CPPFLAGS'
25586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25589
25590
25591 fi
25592
25593 fi
25594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25595 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25596
25597 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25598 for ac_func in finitef
25599 do :
25600 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25601 if test "x$ac_cv_func_finitef" = xyes; then :
25602 cat >>confdefs.h <<_ACEOF
25603 #define HAVE_FINITEF 1
25604 _ACEOF
25605
25606 fi
25607 done
25608
25609 else
25610
25611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25612 $as_echo_n "checking for _finitef declaration... " >&6; }
25613 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25614 if ${glibcxx_cv_func__finitef_use+:} false; then :
25615 $as_echo_n "(cached) " >&6
25616 else
25617
25618
25619 ac_ext=cpp
25620 ac_cpp='$CXXCPP $CPPFLAGS'
25621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25624
25625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25626 /* end confdefs.h. */
25627 #include <math.h>
25628 #ifdef HAVE_IEEEFP_H
25629 #include <ieeefp.h>
25630 #endif
25631
25632 int
25633 main ()
25634 {
25635 _finitef(0);
25636 ;
25637 return 0;
25638 }
25639 _ACEOF
25640 if ac_fn_cxx_try_compile "$LINENO"; then :
25641 glibcxx_cv_func__finitef_use=yes
25642 else
25643 glibcxx_cv_func__finitef_use=no
25644 fi
25645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25646 ac_ext=c
25647 ac_cpp='$CPP $CPPFLAGS'
25648 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25649 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25650 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25651
25652
25653 fi
25654
25655 fi
25656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25657 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25658
25659 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25660 for ac_func in _finitef
25661 do :
25662 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25663 if test "x$ac_cv_func__finitef" = xyes; then :
25664 cat >>confdefs.h <<_ACEOF
25665 #define HAVE__FINITEF 1
25666 _ACEOF
25667
25668 fi
25669 done
25670
25671 fi
25672 fi
25673
25674
25675
25676
25677
25678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25679 $as_echo_n "checking for long double trig functions... " >&6; }
25680 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25681 $as_echo_n "(cached) " >&6
25682 else
25683
25684
25685 ac_ext=cpp
25686 ac_cpp='$CXXCPP $CPPFLAGS'
25687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25690
25691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25692 /* end confdefs.h. */
25693 #include <math.h>
25694 int
25695 main ()
25696 {
25697 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25698 ;
25699 return 0;
25700 }
25701 _ACEOF
25702 if ac_fn_cxx_try_compile "$LINENO"; then :
25703 glibcxx_cv_func_long_double_trig_use=yes
25704 else
25705 glibcxx_cv_func_long_double_trig_use=no
25706 fi
25707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25708 ac_ext=c
25709 ac_cpp='$CPP $CPPFLAGS'
25710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25713
25714 fi
25715
25716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25717 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25718 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25719 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25720 do :
25721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25723 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25724 cat >>confdefs.h <<_ACEOF
25725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25726 _ACEOF
25727
25728 fi
25729 done
25730
25731 else
25732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25733 $as_echo_n "checking for _long double trig functions... " >&6; }
25734 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25735 $as_echo_n "(cached) " >&6
25736 else
25737
25738
25739 ac_ext=cpp
25740 ac_cpp='$CXXCPP $CPPFLAGS'
25741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25744
25745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25746 /* end confdefs.h. */
25747 #include <math.h>
25748 int
25749 main ()
25750 {
25751 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25752 ;
25753 return 0;
25754 }
25755 _ACEOF
25756 if ac_fn_cxx_try_compile "$LINENO"; then :
25757 glibcxx_cv_func__long_double_trig_use=yes
25758 else
25759 glibcxx_cv_func__long_double_trig_use=no
25760 fi
25761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25762 ac_ext=c
25763 ac_cpp='$CPP $CPPFLAGS'
25764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25767
25768 fi
25769
25770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25771 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25772 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25773 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25774 do :
25775 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25776 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25777 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25778 cat >>confdefs.h <<_ACEOF
25779 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25780 _ACEOF
25781
25782 fi
25783 done
25784
25785 fi
25786 fi
25787
25788
25789
25790
25791
25792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25793 $as_echo_n "checking for long double round functions... " >&6; }
25794 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25795 $as_echo_n "(cached) " >&6
25796 else
25797
25798
25799 ac_ext=cpp
25800 ac_cpp='$CXXCPP $CPPFLAGS'
25801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25804
25805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25806 /* end confdefs.h. */
25807 #include <math.h>
25808 int
25809 main ()
25810 {
25811 ceill (0); floorl (0);
25812 ;
25813 return 0;
25814 }
25815 _ACEOF
25816 if ac_fn_cxx_try_compile "$LINENO"; then :
25817 glibcxx_cv_func_long_double_round_use=yes
25818 else
25819 glibcxx_cv_func_long_double_round_use=no
25820 fi
25821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25822 ac_ext=c
25823 ac_cpp='$CPP $CPPFLAGS'
25824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25827
25828 fi
25829
25830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25831 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25832 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25833 for ac_func in ceill floorl
25834 do :
25835 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25836 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25837 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25838 cat >>confdefs.h <<_ACEOF
25839 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25840 _ACEOF
25841
25842 fi
25843 done
25844
25845 else
25846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25847 $as_echo_n "checking for _long double round functions... " >&6; }
25848 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25849 $as_echo_n "(cached) " >&6
25850 else
25851
25852
25853 ac_ext=cpp
25854 ac_cpp='$CXXCPP $CPPFLAGS'
25855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25858
25859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25860 /* end confdefs.h. */
25861 #include <math.h>
25862 int
25863 main ()
25864 {
25865 _ceill (0); _floorl (0);
25866 ;
25867 return 0;
25868 }
25869 _ACEOF
25870 if ac_fn_cxx_try_compile "$LINENO"; then :
25871 glibcxx_cv_func__long_double_round_use=yes
25872 else
25873 glibcxx_cv_func__long_double_round_use=no
25874 fi
25875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25876 ac_ext=c
25877 ac_cpp='$CPP $CPPFLAGS'
25878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25881
25882 fi
25883
25884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25885 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25886 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25887 for ac_func in _ceill _floorl
25888 do :
25889 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25890 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25891 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25892 cat >>confdefs.h <<_ACEOF
25893 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25894 _ACEOF
25895
25896 fi
25897 done
25898
25899 fi
25900 fi
25901
25902
25903
25904
25905
25906
25907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25908 $as_echo_n "checking for isnanl declaration... " >&6; }
25909 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25910 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25911 $as_echo_n "(cached) " >&6
25912 else
25913
25914
25915 ac_ext=cpp
25916 ac_cpp='$CXXCPP $CPPFLAGS'
25917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25920
25921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25922 /* end confdefs.h. */
25923 #include <math.h>
25924 #ifdef HAVE_IEEEFP_H
25925 #include <ieeefp.h>
25926 #endif
25927
25928 int
25929 main ()
25930 {
25931 isnanl(0);
25932 ;
25933 return 0;
25934 }
25935 _ACEOF
25936 if ac_fn_cxx_try_compile "$LINENO"; then :
25937 glibcxx_cv_func_isnanl_use=yes
25938 else
25939 glibcxx_cv_func_isnanl_use=no
25940 fi
25941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25942 ac_ext=c
25943 ac_cpp='$CPP $CPPFLAGS'
25944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25947
25948
25949 fi
25950
25951 fi
25952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25953 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25954
25955 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25956 for ac_func in isnanl
25957 do :
25958 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25959 if test "x$ac_cv_func_isnanl" = xyes; then :
25960 cat >>confdefs.h <<_ACEOF
25961 #define HAVE_ISNANL 1
25962 _ACEOF
25963
25964 fi
25965 done
25966
25967 else
25968
25969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25970 $as_echo_n "checking for _isnanl declaration... " >&6; }
25971 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25972 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25973 $as_echo_n "(cached) " >&6
25974 else
25975
25976
25977 ac_ext=cpp
25978 ac_cpp='$CXXCPP $CPPFLAGS'
25979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25982
25983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25984 /* end confdefs.h. */
25985 #include <math.h>
25986 #ifdef HAVE_IEEEFP_H
25987 #include <ieeefp.h>
25988 #endif
25989
25990 int
25991 main ()
25992 {
25993 _isnanl(0);
25994 ;
25995 return 0;
25996 }
25997 _ACEOF
25998 if ac_fn_cxx_try_compile "$LINENO"; then :
25999 glibcxx_cv_func__isnanl_use=yes
26000 else
26001 glibcxx_cv_func__isnanl_use=no
26002 fi
26003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26004 ac_ext=c
26005 ac_cpp='$CPP $CPPFLAGS'
26006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26009
26010
26011 fi
26012
26013 fi
26014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
26015 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
26016
26017 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
26018 for ac_func in _isnanl
26019 do :
26020 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
26021 if test "x$ac_cv_func__isnanl" = xyes; then :
26022 cat >>confdefs.h <<_ACEOF
26023 #define HAVE__ISNANL 1
26024 _ACEOF
26025
26026 fi
26027 done
26028
26029 fi
26030 fi
26031
26032
26033
26034
26035
26036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
26037 $as_echo_n "checking for isinfl declaration... " >&6; }
26038 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
26039 if ${glibcxx_cv_func_isinfl_use+:} false; then :
26040 $as_echo_n "(cached) " >&6
26041 else
26042
26043
26044 ac_ext=cpp
26045 ac_cpp='$CXXCPP $CPPFLAGS'
26046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26049
26050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26051 /* end confdefs.h. */
26052 #include <math.h>
26053 #ifdef HAVE_IEEEFP_H
26054 #include <ieeefp.h>
26055 #endif
26056
26057 int
26058 main ()
26059 {
26060 isinfl(0);
26061 ;
26062 return 0;
26063 }
26064 _ACEOF
26065 if ac_fn_cxx_try_compile "$LINENO"; then :
26066 glibcxx_cv_func_isinfl_use=yes
26067 else
26068 glibcxx_cv_func_isinfl_use=no
26069 fi
26070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26071 ac_ext=c
26072 ac_cpp='$CPP $CPPFLAGS'
26073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26076
26077
26078 fi
26079
26080 fi
26081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
26082 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
26083
26084 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
26085 for ac_func in isinfl
26086 do :
26087 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
26088 if test "x$ac_cv_func_isinfl" = xyes; then :
26089 cat >>confdefs.h <<_ACEOF
26090 #define HAVE_ISINFL 1
26091 _ACEOF
26092
26093 fi
26094 done
26095
26096 else
26097
26098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
26099 $as_echo_n "checking for _isinfl declaration... " >&6; }
26100 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
26101 if ${glibcxx_cv_func__isinfl_use+:} false; then :
26102 $as_echo_n "(cached) " >&6
26103 else
26104
26105
26106 ac_ext=cpp
26107 ac_cpp='$CXXCPP $CPPFLAGS'
26108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26111
26112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26113 /* end confdefs.h. */
26114 #include <math.h>
26115 #ifdef HAVE_IEEEFP_H
26116 #include <ieeefp.h>
26117 #endif
26118
26119 int
26120 main ()
26121 {
26122 _isinfl(0);
26123 ;
26124 return 0;
26125 }
26126 _ACEOF
26127 if ac_fn_cxx_try_compile "$LINENO"; then :
26128 glibcxx_cv_func__isinfl_use=yes
26129 else
26130 glibcxx_cv_func__isinfl_use=no
26131 fi
26132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26133 ac_ext=c
26134 ac_cpp='$CPP $CPPFLAGS'
26135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26138
26139
26140 fi
26141
26142 fi
26143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
26144 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
26145
26146 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
26147 for ac_func in _isinfl
26148 do :
26149 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
26150 if test "x$ac_cv_func__isinfl" = xyes; then :
26151 cat >>confdefs.h <<_ACEOF
26152 #define HAVE__ISINFL 1
26153 _ACEOF
26154
26155 fi
26156 done
26157
26158 fi
26159 fi
26160
26161
26162
26163
26164
26165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
26166 $as_echo_n "checking for atan2l declaration... " >&6; }
26167 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
26168 if ${glibcxx_cv_func_atan2l_use+:} false; then :
26169 $as_echo_n "(cached) " >&6
26170 else
26171
26172
26173 ac_ext=cpp
26174 ac_cpp='$CXXCPP $CPPFLAGS'
26175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26178
26179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26180 /* end confdefs.h. */
26181 #include <math.h>
26182 int
26183 main ()
26184 {
26185 atan2l(0, 0);
26186 ;
26187 return 0;
26188 }
26189 _ACEOF
26190 if ac_fn_cxx_try_compile "$LINENO"; then :
26191 glibcxx_cv_func_atan2l_use=yes
26192 else
26193 glibcxx_cv_func_atan2l_use=no
26194 fi
26195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26196 ac_ext=c
26197 ac_cpp='$CPP $CPPFLAGS'
26198 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26199 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26200 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26201
26202
26203 fi
26204
26205 fi
26206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26207 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26208
26209 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26210 for ac_func in atan2l
26211 do :
26212 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26213 if test "x$ac_cv_func_atan2l" = xyes; then :
26214 cat >>confdefs.h <<_ACEOF
26215 #define HAVE_ATAN2L 1
26216 _ACEOF
26217
26218 fi
26219 done
26220
26221 else
26222
26223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26224 $as_echo_n "checking for _atan2l declaration... " >&6; }
26225 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26226 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26227 $as_echo_n "(cached) " >&6
26228 else
26229
26230
26231 ac_ext=cpp
26232 ac_cpp='$CXXCPP $CPPFLAGS'
26233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26236
26237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26238 /* end confdefs.h. */
26239 #include <math.h>
26240 int
26241 main ()
26242 {
26243 _atan2l(0, 0);
26244 ;
26245 return 0;
26246 }
26247 _ACEOF
26248 if ac_fn_cxx_try_compile "$LINENO"; then :
26249 glibcxx_cv_func__atan2l_use=yes
26250 else
26251 glibcxx_cv_func__atan2l_use=no
26252 fi
26253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26254 ac_ext=c
26255 ac_cpp='$CPP $CPPFLAGS'
26256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26259
26260
26261 fi
26262
26263 fi
26264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26265 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26266
26267 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26268 for ac_func in _atan2l
26269 do :
26270 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26271 if test "x$ac_cv_func__atan2l" = xyes; then :
26272 cat >>confdefs.h <<_ACEOF
26273 #define HAVE__ATAN2L 1
26274 _ACEOF
26275
26276 fi
26277 done
26278
26279 fi
26280 fi
26281
26282
26283
26284
26285
26286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26287 $as_echo_n "checking for expl declaration... " >&6; }
26288 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26289 if ${glibcxx_cv_func_expl_use+:} false; then :
26290 $as_echo_n "(cached) " >&6
26291 else
26292
26293
26294 ac_ext=cpp
26295 ac_cpp='$CXXCPP $CPPFLAGS'
26296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26299
26300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26301 /* end confdefs.h. */
26302 #include <math.h>
26303 #ifdef HAVE_IEEEFP_H
26304 #include <ieeefp.h>
26305 #endif
26306
26307 int
26308 main ()
26309 {
26310 expl(0);
26311 ;
26312 return 0;
26313 }
26314 _ACEOF
26315 if ac_fn_cxx_try_compile "$LINENO"; then :
26316 glibcxx_cv_func_expl_use=yes
26317 else
26318 glibcxx_cv_func_expl_use=no
26319 fi
26320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26321 ac_ext=c
26322 ac_cpp='$CPP $CPPFLAGS'
26323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26326
26327
26328 fi
26329
26330 fi
26331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26332 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26333
26334 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26335 for ac_func in expl
26336 do :
26337 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26338 if test "x$ac_cv_func_expl" = xyes; then :
26339 cat >>confdefs.h <<_ACEOF
26340 #define HAVE_EXPL 1
26341 _ACEOF
26342
26343 fi
26344 done
26345
26346 else
26347
26348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26349 $as_echo_n "checking for _expl declaration... " >&6; }
26350 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26351 if ${glibcxx_cv_func__expl_use+:} false; then :
26352 $as_echo_n "(cached) " >&6
26353 else
26354
26355
26356 ac_ext=cpp
26357 ac_cpp='$CXXCPP $CPPFLAGS'
26358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26361
26362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26363 /* end confdefs.h. */
26364 #include <math.h>
26365 #ifdef HAVE_IEEEFP_H
26366 #include <ieeefp.h>
26367 #endif
26368
26369 int
26370 main ()
26371 {
26372 _expl(0);
26373 ;
26374 return 0;
26375 }
26376 _ACEOF
26377 if ac_fn_cxx_try_compile "$LINENO"; then :
26378 glibcxx_cv_func__expl_use=yes
26379 else
26380 glibcxx_cv_func__expl_use=no
26381 fi
26382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26383 ac_ext=c
26384 ac_cpp='$CPP $CPPFLAGS'
26385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26388
26389
26390 fi
26391
26392 fi
26393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26394 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26395
26396 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26397 for ac_func in _expl
26398 do :
26399 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26400 if test "x$ac_cv_func__expl" = xyes; then :
26401 cat >>confdefs.h <<_ACEOF
26402 #define HAVE__EXPL 1
26403 _ACEOF
26404
26405 fi
26406 done
26407
26408 fi
26409 fi
26410
26411
26412
26413
26414
26415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26416 $as_echo_n "checking for fabsl declaration... " >&6; }
26417 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26418 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26419 $as_echo_n "(cached) " >&6
26420 else
26421
26422
26423 ac_ext=cpp
26424 ac_cpp='$CXXCPP $CPPFLAGS'
26425 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26426 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26427 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26428
26429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26430 /* end confdefs.h. */
26431 #include <math.h>
26432 #ifdef HAVE_IEEEFP_H
26433 #include <ieeefp.h>
26434 #endif
26435
26436 int
26437 main ()
26438 {
26439 fabsl(0);
26440 ;
26441 return 0;
26442 }
26443 _ACEOF
26444 if ac_fn_cxx_try_compile "$LINENO"; then :
26445 glibcxx_cv_func_fabsl_use=yes
26446 else
26447 glibcxx_cv_func_fabsl_use=no
26448 fi
26449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26450 ac_ext=c
26451 ac_cpp='$CPP $CPPFLAGS'
26452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26455
26456
26457 fi
26458
26459 fi
26460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26461 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26462
26463 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26464 for ac_func in fabsl
26465 do :
26466 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26467 if test "x$ac_cv_func_fabsl" = xyes; then :
26468 cat >>confdefs.h <<_ACEOF
26469 #define HAVE_FABSL 1
26470 _ACEOF
26471
26472 fi
26473 done
26474
26475 else
26476
26477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26478 $as_echo_n "checking for _fabsl declaration... " >&6; }
26479 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26480 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26481 $as_echo_n "(cached) " >&6
26482 else
26483
26484
26485 ac_ext=cpp
26486 ac_cpp='$CXXCPP $CPPFLAGS'
26487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26490
26491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26492 /* end confdefs.h. */
26493 #include <math.h>
26494 #ifdef HAVE_IEEEFP_H
26495 #include <ieeefp.h>
26496 #endif
26497
26498 int
26499 main ()
26500 {
26501 _fabsl(0);
26502 ;
26503 return 0;
26504 }
26505 _ACEOF
26506 if ac_fn_cxx_try_compile "$LINENO"; then :
26507 glibcxx_cv_func__fabsl_use=yes
26508 else
26509 glibcxx_cv_func__fabsl_use=no
26510 fi
26511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26512 ac_ext=c
26513 ac_cpp='$CPP $CPPFLAGS'
26514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26517
26518
26519 fi
26520
26521 fi
26522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26523 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26524
26525 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26526 for ac_func in _fabsl
26527 do :
26528 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26529 if test "x$ac_cv_func__fabsl" = xyes; then :
26530 cat >>confdefs.h <<_ACEOF
26531 #define HAVE__FABSL 1
26532 _ACEOF
26533
26534 fi
26535 done
26536
26537 fi
26538 fi
26539
26540
26541
26542
26543
26544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26545 $as_echo_n "checking for fmodl declaration... " >&6; }
26546 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26547 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26548 $as_echo_n "(cached) " >&6
26549 else
26550
26551
26552 ac_ext=cpp
26553 ac_cpp='$CXXCPP $CPPFLAGS'
26554 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26555 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26556 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26557
26558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26559 /* end confdefs.h. */
26560 #include <math.h>
26561 int
26562 main ()
26563 {
26564 fmodl(0, 0);
26565 ;
26566 return 0;
26567 }
26568 _ACEOF
26569 if ac_fn_cxx_try_compile "$LINENO"; then :
26570 glibcxx_cv_func_fmodl_use=yes
26571 else
26572 glibcxx_cv_func_fmodl_use=no
26573 fi
26574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26575 ac_ext=c
26576 ac_cpp='$CPP $CPPFLAGS'
26577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26580
26581
26582 fi
26583
26584 fi
26585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26586 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26587
26588 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26589 for ac_func in fmodl
26590 do :
26591 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26592 if test "x$ac_cv_func_fmodl" = xyes; then :
26593 cat >>confdefs.h <<_ACEOF
26594 #define HAVE_FMODL 1
26595 _ACEOF
26596
26597 fi
26598 done
26599
26600 else
26601
26602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26603 $as_echo_n "checking for _fmodl declaration... " >&6; }
26604 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26605 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26606 $as_echo_n "(cached) " >&6
26607 else
26608
26609
26610 ac_ext=cpp
26611 ac_cpp='$CXXCPP $CPPFLAGS'
26612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26615
26616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26617 /* end confdefs.h. */
26618 #include <math.h>
26619 int
26620 main ()
26621 {
26622 _fmodl(0, 0);
26623 ;
26624 return 0;
26625 }
26626 _ACEOF
26627 if ac_fn_cxx_try_compile "$LINENO"; then :
26628 glibcxx_cv_func__fmodl_use=yes
26629 else
26630 glibcxx_cv_func__fmodl_use=no
26631 fi
26632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26633 ac_ext=c
26634 ac_cpp='$CPP $CPPFLAGS'
26635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26638
26639
26640 fi
26641
26642 fi
26643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26644 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26645
26646 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26647 for ac_func in _fmodl
26648 do :
26649 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26650 if test "x$ac_cv_func__fmodl" = xyes; then :
26651 cat >>confdefs.h <<_ACEOF
26652 #define HAVE__FMODL 1
26653 _ACEOF
26654
26655 fi
26656 done
26657
26658 fi
26659 fi
26660
26661
26662
26663
26664
26665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26666 $as_echo_n "checking for frexpl declaration... " >&6; }
26667 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26668 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26669 $as_echo_n "(cached) " >&6
26670 else
26671
26672
26673 ac_ext=cpp
26674 ac_cpp='$CXXCPP $CPPFLAGS'
26675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26678
26679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26680 /* end confdefs.h. */
26681 #include <math.h>
26682 int
26683 main ()
26684 {
26685 frexpl(0, 0);
26686 ;
26687 return 0;
26688 }
26689 _ACEOF
26690 if ac_fn_cxx_try_compile "$LINENO"; then :
26691 glibcxx_cv_func_frexpl_use=yes
26692 else
26693 glibcxx_cv_func_frexpl_use=no
26694 fi
26695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26696 ac_ext=c
26697 ac_cpp='$CPP $CPPFLAGS'
26698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26701
26702
26703 fi
26704
26705 fi
26706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26707 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26708
26709 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26710 for ac_func in frexpl
26711 do :
26712 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26713 if test "x$ac_cv_func_frexpl" = xyes; then :
26714 cat >>confdefs.h <<_ACEOF
26715 #define HAVE_FREXPL 1
26716 _ACEOF
26717
26718 fi
26719 done
26720
26721 else
26722
26723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26724 $as_echo_n "checking for _frexpl declaration... " >&6; }
26725 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26726 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26727 $as_echo_n "(cached) " >&6
26728 else
26729
26730
26731 ac_ext=cpp
26732 ac_cpp='$CXXCPP $CPPFLAGS'
26733 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26734 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26735 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26736
26737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26738 /* end confdefs.h. */
26739 #include <math.h>
26740 int
26741 main ()
26742 {
26743 _frexpl(0, 0);
26744 ;
26745 return 0;
26746 }
26747 _ACEOF
26748 if ac_fn_cxx_try_compile "$LINENO"; then :
26749 glibcxx_cv_func__frexpl_use=yes
26750 else
26751 glibcxx_cv_func__frexpl_use=no
26752 fi
26753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26754 ac_ext=c
26755 ac_cpp='$CPP $CPPFLAGS'
26756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26759
26760
26761 fi
26762
26763 fi
26764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26765 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26766
26767 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26768 for ac_func in _frexpl
26769 do :
26770 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26771 if test "x$ac_cv_func__frexpl" = xyes; then :
26772 cat >>confdefs.h <<_ACEOF
26773 #define HAVE__FREXPL 1
26774 _ACEOF
26775
26776 fi
26777 done
26778
26779 fi
26780 fi
26781
26782
26783
26784
26785
26786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26787 $as_echo_n "checking for hypotl declaration... " >&6; }
26788 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26789 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26790 $as_echo_n "(cached) " >&6
26791 else
26792
26793
26794 ac_ext=cpp
26795 ac_cpp='$CXXCPP $CPPFLAGS'
26796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26799
26800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26801 /* end confdefs.h. */
26802 #include <math.h>
26803 int
26804 main ()
26805 {
26806 hypotl(0, 0);
26807 ;
26808 return 0;
26809 }
26810 _ACEOF
26811 if ac_fn_cxx_try_compile "$LINENO"; then :
26812 glibcxx_cv_func_hypotl_use=yes
26813 else
26814 glibcxx_cv_func_hypotl_use=no
26815 fi
26816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26817 ac_ext=c
26818 ac_cpp='$CPP $CPPFLAGS'
26819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26822
26823
26824 fi
26825
26826 fi
26827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26828 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26829
26830 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26831 for ac_func in hypotl
26832 do :
26833 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26834 if test "x$ac_cv_func_hypotl" = xyes; then :
26835 cat >>confdefs.h <<_ACEOF
26836 #define HAVE_HYPOTL 1
26837 _ACEOF
26838
26839 fi
26840 done
26841
26842 else
26843
26844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26845 $as_echo_n "checking for _hypotl declaration... " >&6; }
26846 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26847 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26848 $as_echo_n "(cached) " >&6
26849 else
26850
26851
26852 ac_ext=cpp
26853 ac_cpp='$CXXCPP $CPPFLAGS'
26854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26857
26858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26859 /* end confdefs.h. */
26860 #include <math.h>
26861 int
26862 main ()
26863 {
26864 _hypotl(0, 0);
26865 ;
26866 return 0;
26867 }
26868 _ACEOF
26869 if ac_fn_cxx_try_compile "$LINENO"; then :
26870 glibcxx_cv_func__hypotl_use=yes
26871 else
26872 glibcxx_cv_func__hypotl_use=no
26873 fi
26874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26875 ac_ext=c
26876 ac_cpp='$CPP $CPPFLAGS'
26877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26880
26881
26882 fi
26883
26884 fi
26885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26886 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26887
26888 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26889 for ac_func in _hypotl
26890 do :
26891 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26892 if test "x$ac_cv_func__hypotl" = xyes; then :
26893 cat >>confdefs.h <<_ACEOF
26894 #define HAVE__HYPOTL 1
26895 _ACEOF
26896
26897 fi
26898 done
26899
26900 fi
26901 fi
26902
26903
26904
26905
26906
26907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26908 $as_echo_n "checking for ldexpl declaration... " >&6; }
26909 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26910 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26911 $as_echo_n "(cached) " >&6
26912 else
26913
26914
26915 ac_ext=cpp
26916 ac_cpp='$CXXCPP $CPPFLAGS'
26917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26920
26921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26922 /* end confdefs.h. */
26923 #include <math.h>
26924 int
26925 main ()
26926 {
26927 ldexpl(0, 0);
26928 ;
26929 return 0;
26930 }
26931 _ACEOF
26932 if ac_fn_cxx_try_compile "$LINENO"; then :
26933 glibcxx_cv_func_ldexpl_use=yes
26934 else
26935 glibcxx_cv_func_ldexpl_use=no
26936 fi
26937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26938 ac_ext=c
26939 ac_cpp='$CPP $CPPFLAGS'
26940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26943
26944
26945 fi
26946
26947 fi
26948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26949 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26950
26951 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26952 for ac_func in ldexpl
26953 do :
26954 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26955 if test "x$ac_cv_func_ldexpl" = xyes; then :
26956 cat >>confdefs.h <<_ACEOF
26957 #define HAVE_LDEXPL 1
26958 _ACEOF
26959
26960 fi
26961 done
26962
26963 else
26964
26965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26966 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26967 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26968 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26969 $as_echo_n "(cached) " >&6
26970 else
26971
26972
26973 ac_ext=cpp
26974 ac_cpp='$CXXCPP $CPPFLAGS'
26975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26978
26979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26980 /* end confdefs.h. */
26981 #include <math.h>
26982 int
26983 main ()
26984 {
26985 _ldexpl(0, 0);
26986 ;
26987 return 0;
26988 }
26989 _ACEOF
26990 if ac_fn_cxx_try_compile "$LINENO"; then :
26991 glibcxx_cv_func__ldexpl_use=yes
26992 else
26993 glibcxx_cv_func__ldexpl_use=no
26994 fi
26995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26996 ac_ext=c
26997 ac_cpp='$CPP $CPPFLAGS'
26998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27001
27002
27003 fi
27004
27005 fi
27006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
27007 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
27008
27009 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
27010 for ac_func in _ldexpl
27011 do :
27012 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
27013 if test "x$ac_cv_func__ldexpl" = xyes; then :
27014 cat >>confdefs.h <<_ACEOF
27015 #define HAVE__LDEXPL 1
27016 _ACEOF
27017
27018 fi
27019 done
27020
27021 fi
27022 fi
27023
27024
27025
27026
27027
27028 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
27029 $as_echo_n "checking for logl declaration... " >&6; }
27030 if test x${glibcxx_cv_func_logl_use+set} != xset; then
27031 if ${glibcxx_cv_func_logl_use+:} false; then :
27032 $as_echo_n "(cached) " >&6
27033 else
27034
27035
27036 ac_ext=cpp
27037 ac_cpp='$CXXCPP $CPPFLAGS'
27038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27041
27042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27043 /* end confdefs.h. */
27044 #include <math.h>
27045 #ifdef HAVE_IEEEFP_H
27046 #include <ieeefp.h>
27047 #endif
27048
27049 int
27050 main ()
27051 {
27052 logl(0);
27053 ;
27054 return 0;
27055 }
27056 _ACEOF
27057 if ac_fn_cxx_try_compile "$LINENO"; then :
27058 glibcxx_cv_func_logl_use=yes
27059 else
27060 glibcxx_cv_func_logl_use=no
27061 fi
27062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27063 ac_ext=c
27064 ac_cpp='$CPP $CPPFLAGS'
27065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27068
27069
27070 fi
27071
27072 fi
27073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
27074 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
27075
27076 if test x$glibcxx_cv_func_logl_use = x"yes"; then
27077 for ac_func in logl
27078 do :
27079 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
27080 if test "x$ac_cv_func_logl" = xyes; then :
27081 cat >>confdefs.h <<_ACEOF
27082 #define HAVE_LOGL 1
27083 _ACEOF
27084
27085 fi
27086 done
27087
27088 else
27089
27090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
27091 $as_echo_n "checking for _logl declaration... " >&6; }
27092 if test x${glibcxx_cv_func__logl_use+set} != xset; then
27093 if ${glibcxx_cv_func__logl_use+:} false; then :
27094 $as_echo_n "(cached) " >&6
27095 else
27096
27097
27098 ac_ext=cpp
27099 ac_cpp='$CXXCPP $CPPFLAGS'
27100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27103
27104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27105 /* end confdefs.h. */
27106 #include <math.h>
27107 #ifdef HAVE_IEEEFP_H
27108 #include <ieeefp.h>
27109 #endif
27110
27111 int
27112 main ()
27113 {
27114 _logl(0);
27115 ;
27116 return 0;
27117 }
27118 _ACEOF
27119 if ac_fn_cxx_try_compile "$LINENO"; then :
27120 glibcxx_cv_func__logl_use=yes
27121 else
27122 glibcxx_cv_func__logl_use=no
27123 fi
27124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27125 ac_ext=c
27126 ac_cpp='$CPP $CPPFLAGS'
27127 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27128 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27129 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27130
27131
27132 fi
27133
27134 fi
27135 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
27136 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
27137
27138 if test x$glibcxx_cv_func__logl_use = x"yes"; then
27139 for ac_func in _logl
27140 do :
27141 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
27142 if test "x$ac_cv_func__logl" = xyes; then :
27143 cat >>confdefs.h <<_ACEOF
27144 #define HAVE__LOGL 1
27145 _ACEOF
27146
27147 fi
27148 done
27149
27150 fi
27151 fi
27152
27153
27154
27155
27156
27157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
27158 $as_echo_n "checking for log10l declaration... " >&6; }
27159 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
27160 if ${glibcxx_cv_func_log10l_use+:} false; then :
27161 $as_echo_n "(cached) " >&6
27162 else
27163
27164
27165 ac_ext=cpp
27166 ac_cpp='$CXXCPP $CPPFLAGS'
27167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27170
27171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27172 /* end confdefs.h. */
27173 #include <math.h>
27174 #ifdef HAVE_IEEEFP_H
27175 #include <ieeefp.h>
27176 #endif
27177
27178 int
27179 main ()
27180 {
27181 log10l(0);
27182 ;
27183 return 0;
27184 }
27185 _ACEOF
27186 if ac_fn_cxx_try_compile "$LINENO"; then :
27187 glibcxx_cv_func_log10l_use=yes
27188 else
27189 glibcxx_cv_func_log10l_use=no
27190 fi
27191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27192 ac_ext=c
27193 ac_cpp='$CPP $CPPFLAGS'
27194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27197
27198
27199 fi
27200
27201 fi
27202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27203 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27204
27205 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27206 for ac_func in log10l
27207 do :
27208 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27209 if test "x$ac_cv_func_log10l" = xyes; then :
27210 cat >>confdefs.h <<_ACEOF
27211 #define HAVE_LOG10L 1
27212 _ACEOF
27213
27214 fi
27215 done
27216
27217 else
27218
27219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27220 $as_echo_n "checking for _log10l declaration... " >&6; }
27221 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27222 if ${glibcxx_cv_func__log10l_use+:} false; then :
27223 $as_echo_n "(cached) " >&6
27224 else
27225
27226
27227 ac_ext=cpp
27228 ac_cpp='$CXXCPP $CPPFLAGS'
27229 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27230 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27231 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27232
27233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27234 /* end confdefs.h. */
27235 #include <math.h>
27236 #ifdef HAVE_IEEEFP_H
27237 #include <ieeefp.h>
27238 #endif
27239
27240 int
27241 main ()
27242 {
27243 _log10l(0);
27244 ;
27245 return 0;
27246 }
27247 _ACEOF
27248 if ac_fn_cxx_try_compile "$LINENO"; then :
27249 glibcxx_cv_func__log10l_use=yes
27250 else
27251 glibcxx_cv_func__log10l_use=no
27252 fi
27253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27254 ac_ext=c
27255 ac_cpp='$CPP $CPPFLAGS'
27256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27259
27260
27261 fi
27262
27263 fi
27264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27265 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27266
27267 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27268 for ac_func in _log10l
27269 do :
27270 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27271 if test "x$ac_cv_func__log10l" = xyes; then :
27272 cat >>confdefs.h <<_ACEOF
27273 #define HAVE__LOG10L 1
27274 _ACEOF
27275
27276 fi
27277 done
27278
27279 fi
27280 fi
27281
27282
27283
27284
27285
27286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27287 $as_echo_n "checking for modfl declaration... " >&6; }
27288 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27289 if ${glibcxx_cv_func_modfl_use+:} false; then :
27290 $as_echo_n "(cached) " >&6
27291 else
27292
27293
27294 ac_ext=cpp
27295 ac_cpp='$CXXCPP $CPPFLAGS'
27296 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27297 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27298 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27299
27300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27301 /* end confdefs.h. */
27302 #include <math.h>
27303 int
27304 main ()
27305 {
27306 modfl(0, 0);
27307 ;
27308 return 0;
27309 }
27310 _ACEOF
27311 if ac_fn_cxx_try_compile "$LINENO"; then :
27312 glibcxx_cv_func_modfl_use=yes
27313 else
27314 glibcxx_cv_func_modfl_use=no
27315 fi
27316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27317 ac_ext=c
27318 ac_cpp='$CPP $CPPFLAGS'
27319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27322
27323
27324 fi
27325
27326 fi
27327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27328 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27329
27330 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27331 for ac_func in modfl
27332 do :
27333 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27334 if test "x$ac_cv_func_modfl" = xyes; then :
27335 cat >>confdefs.h <<_ACEOF
27336 #define HAVE_MODFL 1
27337 _ACEOF
27338
27339 fi
27340 done
27341
27342 else
27343
27344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27345 $as_echo_n "checking for _modfl declaration... " >&6; }
27346 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27347 if ${glibcxx_cv_func__modfl_use+:} false; then :
27348 $as_echo_n "(cached) " >&6
27349 else
27350
27351
27352 ac_ext=cpp
27353 ac_cpp='$CXXCPP $CPPFLAGS'
27354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27357
27358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27359 /* end confdefs.h. */
27360 #include <math.h>
27361 int
27362 main ()
27363 {
27364 _modfl(0, 0);
27365 ;
27366 return 0;
27367 }
27368 _ACEOF
27369 if ac_fn_cxx_try_compile "$LINENO"; then :
27370 glibcxx_cv_func__modfl_use=yes
27371 else
27372 glibcxx_cv_func__modfl_use=no
27373 fi
27374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27375 ac_ext=c
27376 ac_cpp='$CPP $CPPFLAGS'
27377 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27378 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27379 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27380
27381
27382 fi
27383
27384 fi
27385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27386 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27387
27388 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27389 for ac_func in _modfl
27390 do :
27391 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27392 if test "x$ac_cv_func__modfl" = xyes; then :
27393 cat >>confdefs.h <<_ACEOF
27394 #define HAVE__MODFL 1
27395 _ACEOF
27396
27397 fi
27398 done
27399
27400 fi
27401 fi
27402
27403
27404
27405
27406
27407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27408 $as_echo_n "checking for powl declaration... " >&6; }
27409 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27410 if ${glibcxx_cv_func_powl_use+:} false; then :
27411 $as_echo_n "(cached) " >&6
27412 else
27413
27414
27415 ac_ext=cpp
27416 ac_cpp='$CXXCPP $CPPFLAGS'
27417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27420
27421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27422 /* end confdefs.h. */
27423 #include <math.h>
27424 int
27425 main ()
27426 {
27427 powl(0, 0);
27428 ;
27429 return 0;
27430 }
27431 _ACEOF
27432 if ac_fn_cxx_try_compile "$LINENO"; then :
27433 glibcxx_cv_func_powl_use=yes
27434 else
27435 glibcxx_cv_func_powl_use=no
27436 fi
27437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27438 ac_ext=c
27439 ac_cpp='$CPP $CPPFLAGS'
27440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27443
27444
27445 fi
27446
27447 fi
27448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27449 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27450
27451 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27452 for ac_func in powl
27453 do :
27454 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27455 if test "x$ac_cv_func_powl" = xyes; then :
27456 cat >>confdefs.h <<_ACEOF
27457 #define HAVE_POWL 1
27458 _ACEOF
27459
27460 fi
27461 done
27462
27463 else
27464
27465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27466 $as_echo_n "checking for _powl declaration... " >&6; }
27467 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27468 if ${glibcxx_cv_func__powl_use+:} false; then :
27469 $as_echo_n "(cached) " >&6
27470 else
27471
27472
27473 ac_ext=cpp
27474 ac_cpp='$CXXCPP $CPPFLAGS'
27475 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27476 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27477 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27478
27479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27480 /* end confdefs.h. */
27481 #include <math.h>
27482 int
27483 main ()
27484 {
27485 _powl(0, 0);
27486 ;
27487 return 0;
27488 }
27489 _ACEOF
27490 if ac_fn_cxx_try_compile "$LINENO"; then :
27491 glibcxx_cv_func__powl_use=yes
27492 else
27493 glibcxx_cv_func__powl_use=no
27494 fi
27495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27496 ac_ext=c
27497 ac_cpp='$CPP $CPPFLAGS'
27498 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27499 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27500 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27501
27502
27503 fi
27504
27505 fi
27506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27507 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27508
27509 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27510 for ac_func in _powl
27511 do :
27512 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27513 if test "x$ac_cv_func__powl" = xyes; then :
27514 cat >>confdefs.h <<_ACEOF
27515 #define HAVE__POWL 1
27516 _ACEOF
27517
27518 fi
27519 done
27520
27521 fi
27522 fi
27523
27524
27525
27526
27527
27528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27529 $as_echo_n "checking for sqrtl declaration... " >&6; }
27530 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27531 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27532 $as_echo_n "(cached) " >&6
27533 else
27534
27535
27536 ac_ext=cpp
27537 ac_cpp='$CXXCPP $CPPFLAGS'
27538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27541
27542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27543 /* end confdefs.h. */
27544 #include <math.h>
27545 #ifdef HAVE_IEEEFP_H
27546 #include <ieeefp.h>
27547 #endif
27548
27549 int
27550 main ()
27551 {
27552 sqrtl(0);
27553 ;
27554 return 0;
27555 }
27556 _ACEOF
27557 if ac_fn_cxx_try_compile "$LINENO"; then :
27558 glibcxx_cv_func_sqrtl_use=yes
27559 else
27560 glibcxx_cv_func_sqrtl_use=no
27561 fi
27562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27563 ac_ext=c
27564 ac_cpp='$CPP $CPPFLAGS'
27565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27568
27569
27570 fi
27571
27572 fi
27573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27574 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27575
27576 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27577 for ac_func in sqrtl
27578 do :
27579 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27580 if test "x$ac_cv_func_sqrtl" = xyes; then :
27581 cat >>confdefs.h <<_ACEOF
27582 #define HAVE_SQRTL 1
27583 _ACEOF
27584
27585 fi
27586 done
27587
27588 else
27589
27590 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27591 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27592 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27593 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27594 $as_echo_n "(cached) " >&6
27595 else
27596
27597
27598 ac_ext=cpp
27599 ac_cpp='$CXXCPP $CPPFLAGS'
27600 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27601 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27602 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27603
27604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27605 /* end confdefs.h. */
27606 #include <math.h>
27607 #ifdef HAVE_IEEEFP_H
27608 #include <ieeefp.h>
27609 #endif
27610
27611 int
27612 main ()
27613 {
27614 _sqrtl(0);
27615 ;
27616 return 0;
27617 }
27618 _ACEOF
27619 if ac_fn_cxx_try_compile "$LINENO"; then :
27620 glibcxx_cv_func__sqrtl_use=yes
27621 else
27622 glibcxx_cv_func__sqrtl_use=no
27623 fi
27624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27625 ac_ext=c
27626 ac_cpp='$CPP $CPPFLAGS'
27627 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27628 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27629 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27630
27631
27632 fi
27633
27634 fi
27635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27636 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27637
27638 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27639 for ac_func in _sqrtl
27640 do :
27641 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27642 if test "x$ac_cv_func__sqrtl" = xyes; then :
27643 cat >>confdefs.h <<_ACEOF
27644 #define HAVE__SQRTL 1
27645 _ACEOF
27646
27647 fi
27648 done
27649
27650 fi
27651 fi
27652
27653
27654
27655
27656
27657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27658 $as_echo_n "checking for sincosl declaration... " >&6; }
27659 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27660 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27661 $as_echo_n "(cached) " >&6
27662 else
27663
27664
27665 ac_ext=cpp
27666 ac_cpp='$CXXCPP $CPPFLAGS'
27667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27670
27671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27672 /* end confdefs.h. */
27673 #include <math.h>
27674 int
27675 main ()
27676 {
27677 sincosl(0, 0, 0);
27678 ;
27679 return 0;
27680 }
27681 _ACEOF
27682 if ac_fn_cxx_try_compile "$LINENO"; then :
27683 glibcxx_cv_func_sincosl_use=yes
27684 else
27685 glibcxx_cv_func_sincosl_use=no
27686 fi
27687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27688 ac_ext=c
27689 ac_cpp='$CPP $CPPFLAGS'
27690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27693
27694
27695 fi
27696
27697 fi
27698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27699 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27700
27701 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27702 for ac_func in sincosl
27703 do :
27704 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27705 if test "x$ac_cv_func_sincosl" = xyes; then :
27706 cat >>confdefs.h <<_ACEOF
27707 #define HAVE_SINCOSL 1
27708 _ACEOF
27709
27710 fi
27711 done
27712
27713 else
27714
27715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27716 $as_echo_n "checking for _sincosl declaration... " >&6; }
27717 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27718 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27719 $as_echo_n "(cached) " >&6
27720 else
27721
27722
27723 ac_ext=cpp
27724 ac_cpp='$CXXCPP $CPPFLAGS'
27725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27728
27729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27730 /* end confdefs.h. */
27731 #include <math.h>
27732 int
27733 main ()
27734 {
27735 _sincosl(0, 0, 0);
27736 ;
27737 return 0;
27738 }
27739 _ACEOF
27740 if ac_fn_cxx_try_compile "$LINENO"; then :
27741 glibcxx_cv_func__sincosl_use=yes
27742 else
27743 glibcxx_cv_func__sincosl_use=no
27744 fi
27745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27746 ac_ext=c
27747 ac_cpp='$CPP $CPPFLAGS'
27748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27751
27752
27753 fi
27754
27755 fi
27756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27757 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27758
27759 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27760 for ac_func in _sincosl
27761 do :
27762 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27763 if test "x$ac_cv_func__sincosl" = xyes; then :
27764 cat >>confdefs.h <<_ACEOF
27765 #define HAVE__SINCOSL 1
27766 _ACEOF
27767
27768 fi
27769 done
27770
27771 fi
27772 fi
27773
27774
27775
27776
27777
27778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27779 $as_echo_n "checking for finitel declaration... " >&6; }
27780 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27781 if ${glibcxx_cv_func_finitel_use+:} false; then :
27782 $as_echo_n "(cached) " >&6
27783 else
27784
27785
27786 ac_ext=cpp
27787 ac_cpp='$CXXCPP $CPPFLAGS'
27788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27791
27792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27793 /* end confdefs.h. */
27794 #include <math.h>
27795 #ifdef HAVE_IEEEFP_H
27796 #include <ieeefp.h>
27797 #endif
27798
27799 int
27800 main ()
27801 {
27802 finitel(0);
27803 ;
27804 return 0;
27805 }
27806 _ACEOF
27807 if ac_fn_cxx_try_compile "$LINENO"; then :
27808 glibcxx_cv_func_finitel_use=yes
27809 else
27810 glibcxx_cv_func_finitel_use=no
27811 fi
27812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27813 ac_ext=c
27814 ac_cpp='$CPP $CPPFLAGS'
27815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27818
27819
27820 fi
27821
27822 fi
27823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27824 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27825
27826 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27827 for ac_func in finitel
27828 do :
27829 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27830 if test "x$ac_cv_func_finitel" = xyes; then :
27831 cat >>confdefs.h <<_ACEOF
27832 #define HAVE_FINITEL 1
27833 _ACEOF
27834
27835 fi
27836 done
27837
27838 else
27839
27840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27841 $as_echo_n "checking for _finitel declaration... " >&6; }
27842 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27843 if ${glibcxx_cv_func__finitel_use+:} false; then :
27844 $as_echo_n "(cached) " >&6
27845 else
27846
27847
27848 ac_ext=cpp
27849 ac_cpp='$CXXCPP $CPPFLAGS'
27850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27853
27854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27855 /* end confdefs.h. */
27856 #include <math.h>
27857 #ifdef HAVE_IEEEFP_H
27858 #include <ieeefp.h>
27859 #endif
27860
27861 int
27862 main ()
27863 {
27864 _finitel(0);
27865 ;
27866 return 0;
27867 }
27868 _ACEOF
27869 if ac_fn_cxx_try_compile "$LINENO"; then :
27870 glibcxx_cv_func__finitel_use=yes
27871 else
27872 glibcxx_cv_func__finitel_use=no
27873 fi
27874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27875 ac_ext=c
27876 ac_cpp='$CPP $CPPFLAGS'
27877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27880
27881
27882 fi
27883
27884 fi
27885 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27886 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27887
27888 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27889 for ac_func in _finitel
27890 do :
27891 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27892 if test "x$ac_cv_func__finitel" = xyes; then :
27893 cat >>confdefs.h <<_ACEOF
27894 #define HAVE__FINITEL 1
27895 _ACEOF
27896
27897 fi
27898 done
27899
27900 fi
27901 fi
27902
27903
27904
27905
27906 LIBS="$ac_save_LIBS"
27907 CXXFLAGS="$ac_save_CXXFLAGS"
27908
27909
27910 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27911 ac_save_CXXFLAGS="$CXXFLAGS"
27912 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27913
27914
27915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27916 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27917 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27918 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27919 $as_echo_n "(cached) " >&6
27920 else
27921
27922
27923 ac_ext=cpp
27924 ac_cpp='$CXXCPP $CPPFLAGS'
27925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27928
27929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27930 /* end confdefs.h. */
27931 #include <stdlib.h>
27932 int
27933 main ()
27934 {
27935 at_quick_exit(0);
27936 ;
27937 return 0;
27938 }
27939 _ACEOF
27940 if ac_fn_cxx_try_compile "$LINENO"; then :
27941 glibcxx_cv_func_at_quick_exit_use=yes
27942 else
27943 glibcxx_cv_func_at_quick_exit_use=no
27944 fi
27945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27946 ac_ext=c
27947 ac_cpp='$CPP $CPPFLAGS'
27948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27951
27952
27953 fi
27954
27955 fi
27956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27957 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27958 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27959 for ac_func in at_quick_exit
27960 do :
27961 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27962 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27963 cat >>confdefs.h <<_ACEOF
27964 #define HAVE_AT_QUICK_EXIT 1
27965 _ACEOF
27966
27967 fi
27968 done
27969
27970 fi
27971
27972
27973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27974 $as_echo_n "checking for quick_exit declaration... " >&6; }
27975 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27976 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27977 $as_echo_n "(cached) " >&6
27978 else
27979
27980
27981 ac_ext=cpp
27982 ac_cpp='$CXXCPP $CPPFLAGS'
27983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27986
27987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27988 /* end confdefs.h. */
27989 #include <stdlib.h>
27990 int
27991 main ()
27992 {
27993 quick_exit(0);
27994 ;
27995 return 0;
27996 }
27997 _ACEOF
27998 if ac_fn_cxx_try_compile "$LINENO"; then :
27999 glibcxx_cv_func_quick_exit_use=yes
28000 else
28001 glibcxx_cv_func_quick_exit_use=no
28002 fi
28003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28004 ac_ext=c
28005 ac_cpp='$CPP $CPPFLAGS'
28006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28009
28010
28011 fi
28012
28013 fi
28014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
28015 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
28016 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
28017 for ac_func in quick_exit
28018 do :
28019 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
28020 if test "x$ac_cv_func_quick_exit" = xyes; then :
28021 cat >>confdefs.h <<_ACEOF
28022 #define HAVE_QUICK_EXIT 1
28023 _ACEOF
28024
28025 fi
28026 done
28027
28028 fi
28029
28030
28031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
28032 $as_echo_n "checking for strtold declaration... " >&6; }
28033 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
28034 if ${glibcxx_cv_func_strtold_use+:} false; then :
28035 $as_echo_n "(cached) " >&6
28036 else
28037
28038
28039 ac_ext=cpp
28040 ac_cpp='$CXXCPP $CPPFLAGS'
28041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28044
28045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28046 /* end confdefs.h. */
28047 #include <stdlib.h>
28048 int
28049 main ()
28050 {
28051 strtold(0, 0);
28052 ;
28053 return 0;
28054 }
28055 _ACEOF
28056 if ac_fn_cxx_try_compile "$LINENO"; then :
28057 glibcxx_cv_func_strtold_use=yes
28058 else
28059 glibcxx_cv_func_strtold_use=no
28060 fi
28061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28062 ac_ext=c
28063 ac_cpp='$CPP $CPPFLAGS'
28064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28067
28068
28069 fi
28070
28071 fi
28072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
28073 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
28074 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
28075 for ac_func in strtold
28076 do :
28077 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
28078 if test "x$ac_cv_func_strtold" = xyes; then :
28079 cat >>confdefs.h <<_ACEOF
28080 #define HAVE_STRTOLD 1
28081 _ACEOF
28082
28083 fi
28084 done
28085
28086 fi
28087
28088
28089
28090
28091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
28092 $as_echo_n "checking for strtof declaration... " >&6; }
28093 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
28094 if ${glibcxx_cv_func_strtof_use+:} false; then :
28095 $as_echo_n "(cached) " >&6
28096 else
28097
28098
28099 ac_ext=cpp
28100 ac_cpp='$CXXCPP $CPPFLAGS'
28101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
28104
28105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28106 /* end confdefs.h. */
28107 #include <stdlib.h>
28108 int
28109 main ()
28110 {
28111 strtof(0, 0);
28112 ;
28113 return 0;
28114 }
28115 _ACEOF
28116 if ac_fn_cxx_try_compile "$LINENO"; then :
28117 glibcxx_cv_func_strtof_use=yes
28118 else
28119 glibcxx_cv_func_strtof_use=no
28120 fi
28121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28122 ac_ext=c
28123 ac_cpp='$CPP $CPPFLAGS'
28124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
28125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
28126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
28127
28128
28129 fi
28130
28131 fi
28132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
28133 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
28134 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
28135 for ac_func in strtof
28136 do :
28137 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
28138 if test "x$ac_cv_func_strtof" = xyes; then :
28139 cat >>confdefs.h <<_ACEOF
28140 #define HAVE_STRTOF 1
28141 _ACEOF
28142
28143 fi
28144 done
28145
28146 fi
28147
28148
28149
28150
28151 CXXFLAGS="$ac_save_CXXFLAGS"
28152
28153
28154 # For /dev/random and /dev/urandom for std::random_device.
28155
28156
28157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
28158 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
28159 if ${glibcxx_cv_dev_random+:} false; then :
28160 $as_echo_n "(cached) " >&6
28161 else
28162
28163 if test -r /dev/random && test -r /dev/urandom; then
28164 ## For MSys environment the test above is detected as false-positive
28165 ## on mingw-targets. So disable it explicitly for them.
28166 case ${target_os} in
28167 *mingw*) glibcxx_cv_dev_random=no ;;
28168 *) glibcxx_cv_dev_random=yes ;;
28169 esac
28170 else
28171 glibcxx_cv_dev_random=no;
28172 fi
28173
28174 fi
28175
28176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
28177 $as_echo "$glibcxx_cv_dev_random" >&6; }
28178
28179 if test x"$glibcxx_cv_dev_random" = x"yes"; then
28180
28181 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
28182
28183
28184 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
28185
28186 fi
28187
28188
28189
28190 # For TLS support.
28191
28192
28193 # Check whether --enable-tls was given.
28194 if test "${enable_tls+set}" = set; then :
28195 enableval=$enable_tls;
28196 case "$enableval" in
28197 yes|no) ;;
28198 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28199 esac
28200
28201 else
28202 enable_tls=yes
28203 fi
28204
28205
28206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28207 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28208 if ${gcc_cv_have_tls+:} false; then :
28209 $as_echo_n "(cached) " >&6
28210 else
28211
28212 if test "$cross_compiling" = yes; then :
28213 if test x$gcc_no_link = xyes; then
28214 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28215 fi
28216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28217 /* end confdefs.h. */
28218 __thread int a; int b; int main() { return a = b; }
28219 _ACEOF
28220 if ac_fn_c_try_link "$LINENO"; then :
28221 chktls_save_LDFLAGS="$LDFLAGS"
28222 case $host in
28223 *-*-linux*)
28224 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28225 ;;
28226 esac
28227 chktls_save_CFLAGS="$CFLAGS"
28228 CFLAGS="-fPIC $CFLAGS"
28229 if test x$gcc_no_link = xyes; then
28230 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28231 fi
28232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28233 /* end confdefs.h. */
28234 int f() { return 0; }
28235 _ACEOF
28236 if ac_fn_c_try_link "$LINENO"; then :
28237 if test x$gcc_no_link = xyes; then
28238 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28239 fi
28240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28241 /* end confdefs.h. */
28242 __thread int a; int b; int f() { return a = b; }
28243 _ACEOF
28244 if ac_fn_c_try_link "$LINENO"; then :
28245 gcc_cv_have_tls=yes
28246 else
28247 gcc_cv_have_tls=no
28248 fi
28249 rm -f core conftest.err conftest.$ac_objext \
28250 conftest$ac_exeext conftest.$ac_ext
28251 else
28252 gcc_cv_have_tls=yes
28253 fi
28254 rm -f core conftest.err conftest.$ac_objext \
28255 conftest$ac_exeext conftest.$ac_ext
28256 CFLAGS="$chktls_save_CFLAGS"
28257 LDFLAGS="$chktls_save_LDFLAGS"
28258 else
28259 gcc_cv_have_tls=no
28260 fi
28261 rm -f core conftest.err conftest.$ac_objext \
28262 conftest$ac_exeext conftest.$ac_ext
28263
28264
28265 else
28266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28267 /* end confdefs.h. */
28268 __thread int a; int b; int main() { return a = b; }
28269 _ACEOF
28270 if ac_fn_c_try_run "$LINENO"; then :
28271 chktls_save_LDFLAGS="$LDFLAGS"
28272 LDFLAGS="-static $LDFLAGS"
28273 if test x$gcc_no_link = xyes; then
28274 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28275 fi
28276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28277 /* end confdefs.h. */
28278 int main() { return 0; }
28279 _ACEOF
28280 if ac_fn_c_try_link "$LINENO"; then :
28281 if test "$cross_compiling" = yes; then :
28282 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28283 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28284 as_fn_error $? "cannot run test program while cross compiling
28285 See \`config.log' for more details" "$LINENO" 5; }
28286 else
28287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28288 /* end confdefs.h. */
28289 __thread int a; int b; int main() { return a = b; }
28290 _ACEOF
28291 if ac_fn_c_try_run "$LINENO"; then :
28292 gcc_cv_have_tls=yes
28293 else
28294 gcc_cv_have_tls=no
28295 fi
28296 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28297 conftest.$ac_objext conftest.beam conftest.$ac_ext
28298 fi
28299
28300 else
28301 gcc_cv_have_tls=yes
28302 fi
28303 rm -f core conftest.err conftest.$ac_objext \
28304 conftest$ac_exeext conftest.$ac_ext
28305 LDFLAGS="$chktls_save_LDFLAGS"
28306 if test $gcc_cv_have_tls = yes; then
28307 chktls_save_CFLAGS="$CFLAGS"
28308 thread_CFLAGS=failed
28309 for flag in '' '-pthread' '-lpthread'; do
28310 CFLAGS="$flag $chktls_save_CFLAGS"
28311 if test x$gcc_no_link = xyes; then
28312 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28313 fi
28314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28315 /* end confdefs.h. */
28316 #include <pthread.h>
28317 void *g(void *d) { return NULL; }
28318 int
28319 main ()
28320 {
28321 pthread_t t; pthread_create(&t,NULL,g,NULL);
28322 ;
28323 return 0;
28324 }
28325 _ACEOF
28326 if ac_fn_c_try_link "$LINENO"; then :
28327 thread_CFLAGS="$flag"
28328 fi
28329 rm -f core conftest.err conftest.$ac_objext \
28330 conftest$ac_exeext conftest.$ac_ext
28331 if test "X$thread_CFLAGS" != Xfailed; then
28332 break
28333 fi
28334 done
28335 CFLAGS="$chktls_save_CFLAGS"
28336 if test "X$thread_CFLAGS" != Xfailed; then
28337 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28338 if test "$cross_compiling" = yes; then :
28339 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28340 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28341 as_fn_error $? "cannot run test program while cross compiling
28342 See \`config.log' for more details" "$LINENO" 5; }
28343 else
28344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28345 /* end confdefs.h. */
28346 #include <pthread.h>
28347 __thread int a;
28348 static int *volatile a_in_other_thread;
28349 static void *
28350 thread_func (void *arg)
28351 {
28352 a_in_other_thread = &a;
28353 return (void *)0;
28354 }
28355 int
28356 main ()
28357 {
28358 pthread_t thread;
28359 void *thread_retval;
28360 int *volatile a_in_main_thread;
28361 a_in_main_thread = &a;
28362 if (pthread_create (&thread, (pthread_attr_t *)0,
28363 thread_func, (void *)0))
28364 return 0;
28365 if (pthread_join (thread, &thread_retval))
28366 return 0;
28367 return (a_in_other_thread == a_in_main_thread);
28368 ;
28369 return 0;
28370 }
28371 _ACEOF
28372 if ac_fn_c_try_run "$LINENO"; then :
28373 gcc_cv_have_tls=yes
28374 else
28375 gcc_cv_have_tls=no
28376 fi
28377 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28378 conftest.$ac_objext conftest.beam conftest.$ac_ext
28379 fi
28380
28381 CFLAGS="$chktls_save_CFLAGS"
28382 fi
28383 fi
28384 else
28385 gcc_cv_have_tls=no
28386 fi
28387 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28388 conftest.$ac_objext conftest.beam conftest.$ac_ext
28389 fi
28390
28391 fi
28392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28393 $as_echo "$gcc_cv_have_tls" >&6; }
28394 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28395
28396 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28397
28398 fi
28399
28400 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28401 do :
28402 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28403 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28404 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28405 cat >>confdefs.h <<_ACEOF
28406 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28407 _ACEOF
28408
28409 fi
28410 done
28411
28412 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28413 do :
28414 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28415 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28416 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28417 cat >>confdefs.h <<_ACEOF
28418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28419 _ACEOF
28420
28421 fi
28422 done
28423
28424 for ac_func in _wfopen
28425 do :
28426 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28427 if test "x$ac_cv_func__wfopen" = xyes; then :
28428 cat >>confdefs.h <<_ACEOF
28429 #define HAVE__WFOPEN 1
28430 _ACEOF
28431
28432 fi
28433 done
28434
28435
28436 # C11 functions for C++17 library
28437 for ac_func in timespec_get
28438 do :
28439 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28440 if test "x$ac_cv_func_timespec_get" = xyes; then :
28441 cat >>confdefs.h <<_ACEOF
28442 #define HAVE_TIMESPEC_GET 1
28443 _ACEOF
28444
28445 fi
28446 done
28447
28448
28449 # For Networking TS.
28450 for ac_func in sockatmark
28451 do :
28452 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28453 if test "x$ac_cv_func_sockatmark" = xyes; then :
28454 cat >>confdefs.h <<_ACEOF
28455 #define HAVE_SOCKATMARK 1
28456 _ACEOF
28457
28458 fi
28459 done
28460
28461
28462 # For iconv support.
28463
28464 if test "X$prefix" = "XNONE"; then
28465 acl_final_prefix="$ac_default_prefix"
28466 else
28467 acl_final_prefix="$prefix"
28468 fi
28469 if test "X$exec_prefix" = "XNONE"; then
28470 acl_final_exec_prefix='${prefix}'
28471 else
28472 acl_final_exec_prefix="$exec_prefix"
28473 fi
28474 acl_save_prefix="$prefix"
28475 prefix="$acl_final_prefix"
28476 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28477 prefix="$acl_save_prefix"
28478
28479
28480 # Check whether --with-gnu-ld was given.
28481 if test "${with_gnu_ld+set}" = set; then :
28482 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28483 else
28484 with_gnu_ld=no
28485 fi
28486
28487 # Prepare PATH_SEPARATOR.
28488 # The user is always right.
28489 if test "${PATH_SEPARATOR+set}" != set; then
28490 echo "#! /bin/sh" >conf$$.sh
28491 echo "exit 0" >>conf$$.sh
28492 chmod +x conf$$.sh
28493 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28494 PATH_SEPARATOR=';'
28495 else
28496 PATH_SEPARATOR=:
28497 fi
28498 rm -f conf$$.sh
28499 fi
28500 ac_prog=ld
28501 if test "$GCC" = yes; then
28502 # Check if gcc -print-prog-name=ld gives a path.
28503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28504 $as_echo_n "checking for ld used by GCC... " >&6; }
28505 case $host in
28506 *-*-mingw*)
28507 # gcc leaves a trailing carriage return which upsets mingw
28508 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28509 *)
28510 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28511 esac
28512 case $ac_prog in
28513 # Accept absolute paths.
28514 [\\/]* | [A-Za-z]:[\\/]*)
28515 re_direlt='/[^/][^/]*/\.\./'
28516 # Canonicalize the path of ld
28517 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28518 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28519 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28520 done
28521 test -z "$LD" && LD="$ac_prog"
28522 ;;
28523 "")
28524 # If it fails, then pretend we aren't using GCC.
28525 ac_prog=ld
28526 ;;
28527 *)
28528 # If it is relative, then search for the first ld in PATH.
28529 with_gnu_ld=unknown
28530 ;;
28531 esac
28532 elif test "$with_gnu_ld" = yes; then
28533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28534 $as_echo_n "checking for GNU ld... " >&6; }
28535 else
28536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28537 $as_echo_n "checking for non-GNU ld... " >&6; }
28538 fi
28539 if ${acl_cv_path_LD+:} false; then :
28540 $as_echo_n "(cached) " >&6
28541 else
28542 if test -z "$LD"; then
28543 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28544 for ac_dir in $PATH; do
28545 test -z "$ac_dir" && ac_dir=.
28546 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28547 acl_cv_path_LD="$ac_dir/$ac_prog"
28548 # Check to see if the program is GNU ld. I'd rather use --version,
28549 # but apparently some GNU ld's only accept -v.
28550 # Break only if it was the GNU/non-GNU ld that we prefer.
28551 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28552 test "$with_gnu_ld" != no && break
28553 else
28554 test "$with_gnu_ld" != yes && break
28555 fi
28556 fi
28557 done
28558 IFS="$ac_save_ifs"
28559 else
28560 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28561 fi
28562 fi
28563
28564 LD="$acl_cv_path_LD"
28565 if test -n "$LD"; then
28566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28567 $as_echo "$LD" >&6; }
28568 else
28569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28570 $as_echo "no" >&6; }
28571 fi
28572 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28574 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28575 if ${acl_cv_prog_gnu_ld+:} false; then :
28576 $as_echo_n "(cached) " >&6
28577 else
28578 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28579 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28580 acl_cv_prog_gnu_ld=yes
28581 else
28582 acl_cv_prog_gnu_ld=no
28583 fi
28584 fi
28585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28586 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28587 with_gnu_ld=$acl_cv_prog_gnu_ld
28588
28589
28590
28591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28592 $as_echo_n "checking for shared library run path origin... " >&6; }
28593 if ${acl_cv_rpath+:} false; then :
28594 $as_echo_n "(cached) " >&6
28595 else
28596
28597 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28598 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28599 . ./conftest.sh
28600 rm -f ./conftest.sh
28601 acl_cv_rpath=done
28602
28603 fi
28604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28605 $as_echo "$acl_cv_rpath" >&6; }
28606 wl="$acl_cv_wl"
28607 libext="$acl_cv_libext"
28608 shlibext="$acl_cv_shlibext"
28609 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28610 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28611 hardcode_direct="$acl_cv_hardcode_direct"
28612 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28613 # Check whether --enable-rpath was given.
28614 if test "${enable_rpath+set}" = set; then :
28615 enableval=$enable_rpath; :
28616 else
28617 enable_rpath=yes
28618 fi
28619
28620
28621
28622
28623
28624
28625
28626
28627 use_additional=yes
28628
28629 acl_save_prefix="$prefix"
28630 prefix="$acl_final_prefix"
28631 acl_save_exec_prefix="$exec_prefix"
28632 exec_prefix="$acl_final_exec_prefix"
28633
28634 eval additional_includedir=\"$includedir\"
28635 eval additional_libdir=\"$libdir\"
28636
28637 exec_prefix="$acl_save_exec_prefix"
28638 prefix="$acl_save_prefix"
28639
28640
28641 # Check whether --with-libiconv-prefix was given.
28642 if test "${with_libiconv_prefix+set}" = set; then :
28643 withval=$with_libiconv_prefix;
28644 if test "X$withval" = "Xno"; then
28645 use_additional=no
28646 else
28647 if test "X$withval" = "X"; then
28648
28649 acl_save_prefix="$prefix"
28650 prefix="$acl_final_prefix"
28651 acl_save_exec_prefix="$exec_prefix"
28652 exec_prefix="$acl_final_exec_prefix"
28653
28654 eval additional_includedir=\"$includedir\"
28655 eval additional_libdir=\"$libdir\"
28656
28657 exec_prefix="$acl_save_exec_prefix"
28658 prefix="$acl_save_prefix"
28659
28660 else
28661 additional_includedir="$withval/include"
28662 additional_libdir="$withval/lib"
28663 fi
28664 fi
28665
28666 fi
28667
28668 LIBICONV=
28669 LTLIBICONV=
28670 INCICONV=
28671 rpathdirs=
28672 ltrpathdirs=
28673 names_already_handled=
28674 names_next_round='iconv '
28675 while test -n "$names_next_round"; do
28676 names_this_round="$names_next_round"
28677 names_next_round=
28678 for name in $names_this_round; do
28679 already_handled=
28680 for n in $names_already_handled; do
28681 if test "$n" = "$name"; then
28682 already_handled=yes
28683 break
28684 fi
28685 done
28686 if test -z "$already_handled"; then
28687 names_already_handled="$names_already_handled $name"
28688 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28689 eval value=\"\$HAVE_LIB$uppername\"
28690 if test -n "$value"; then
28691 if test "$value" = yes; then
28692 eval value=\"\$LIB$uppername\"
28693 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28694 eval value=\"\$LTLIB$uppername\"
28695 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28696 else
28697 :
28698 fi
28699 else
28700 found_dir=
28701 found_la=
28702 found_so=
28703 found_a=
28704 if test $use_additional = yes; then
28705 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext"; then
28706 found_dir="$additional_libdir"
28707 found_so="$additional_libdir/lib$name.$shlibext"
28708 if test -f "$additional_libdir/lib$name.la"; then
28709 found_la="$additional_libdir/lib$name.la"
28710 fi
28711 else
28712 if test -f "$additional_libdir/lib$name.$libext"; then
28713 found_dir="$additional_libdir"
28714 found_a="$additional_libdir/lib$name.$libext"
28715 if test -f "$additional_libdir/lib$name.la"; then
28716 found_la="$additional_libdir/lib$name.la"
28717 fi
28718 fi
28719 fi
28720 fi
28721 if test "X$found_dir" = "X"; then
28722 for x in $LDFLAGS $LTLIBICONV; do
28723
28724 acl_save_prefix="$prefix"
28725 prefix="$acl_final_prefix"
28726 acl_save_exec_prefix="$exec_prefix"
28727 exec_prefix="$acl_final_exec_prefix"
28728 eval x=\"$x\"
28729 exec_prefix="$acl_save_exec_prefix"
28730 prefix="$acl_save_prefix"
28731
28732 case "$x" in
28733 -L*)
28734 dir=`echo "X$x" | sed -e 's/^X-L//'`
28735 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext"; then
28736 found_dir="$dir"
28737 found_so="$dir/lib$name.$shlibext"
28738 if test -f "$dir/lib$name.la"; then
28739 found_la="$dir/lib$name.la"
28740 fi
28741 else
28742 if test -f "$dir/lib$name.$libext"; then
28743 found_dir="$dir"
28744 found_a="$dir/lib$name.$libext"
28745 if test -f "$dir/lib$name.la"; then
28746 found_la="$dir/lib$name.la"
28747 fi
28748 fi
28749 fi
28750 ;;
28751 esac
28752 if test "X$found_dir" != "X"; then
28753 break
28754 fi
28755 done
28756 fi
28757 if test "X$found_dir" != "X"; then
28758 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28759 if test "X$found_so" != "X"; then
28760 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28761 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28762 else
28763 haveit=
28764 for x in $ltrpathdirs; do
28765 if test "X$x" = "X$found_dir"; then
28766 haveit=yes
28767 break
28768 fi
28769 done
28770 if test -z "$haveit"; then
28771 ltrpathdirs="$ltrpathdirs $found_dir"
28772 fi
28773 if test "$hardcode_direct" = yes; then
28774 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28775 else
28776 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28777 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28778 haveit=
28779 for x in $rpathdirs; do
28780 if test "X$x" = "X$found_dir"; then
28781 haveit=yes
28782 break
28783 fi
28784 done
28785 if test -z "$haveit"; then
28786 rpathdirs="$rpathdirs $found_dir"
28787 fi
28788 else
28789 haveit=
28790 for x in $LDFLAGS $LIBICONV; do
28791
28792 acl_save_prefix="$prefix"
28793 prefix="$acl_final_prefix"
28794 acl_save_exec_prefix="$exec_prefix"
28795 exec_prefix="$acl_final_exec_prefix"
28796 eval x=\"$x\"
28797 exec_prefix="$acl_save_exec_prefix"
28798 prefix="$acl_save_prefix"
28799
28800 if test "X$x" = "X-L$found_dir"; then
28801 haveit=yes
28802 break
28803 fi
28804 done
28805 if test -z "$haveit"; then
28806 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28807 fi
28808 if test "$hardcode_minus_L" != no; then
28809 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28810 else
28811 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28812 fi
28813 fi
28814 fi
28815 fi
28816 else
28817 if test "X$found_a" != "X"; then
28818 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28819 else
28820 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28821 fi
28822 fi
28823 additional_includedir=
28824 case "$found_dir" in
28825 */lib | */lib/)
28826 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28827 additional_includedir="$basedir/include"
28828 ;;
28829 esac
28830 if test "X$additional_includedir" != "X"; then
28831 if test "X$additional_includedir" != "X/usr/include"; then
28832 haveit=
28833 if test "X$additional_includedir" = "X/usr/local/include"; then
28834 if test -n "$GCC"; then
28835 case $host_os in
28836 linux*) haveit=yes;;
28837 esac
28838 fi
28839 fi
28840 if test -z "$haveit"; then
28841 for x in $CPPFLAGS $INCICONV; do
28842
28843 acl_save_prefix="$prefix"
28844 prefix="$acl_final_prefix"
28845 acl_save_exec_prefix="$exec_prefix"
28846 exec_prefix="$acl_final_exec_prefix"
28847 eval x=\"$x\"
28848 exec_prefix="$acl_save_exec_prefix"
28849 prefix="$acl_save_prefix"
28850
28851 if test "X$x" = "X-I$additional_includedir"; then
28852 haveit=yes
28853 break
28854 fi
28855 done
28856 if test -z "$haveit"; then
28857 if test -d "$additional_includedir"; then
28858 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28859 fi
28860 fi
28861 fi
28862 fi
28863 fi
28864 if test -n "$found_la"; then
28865 save_libdir="$libdir"
28866 case "$found_la" in
28867 */* | *\\*) . "$found_la" ;;
28868 *) . "./$found_la" ;;
28869 esac
28870 libdir="$save_libdir"
28871 for dep in $dependency_libs; do
28872 case "$dep" in
28873 -L*)
28874 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28875 if test "X$additional_libdir" != "X/usr/lib"; then
28876 haveit=
28877 if test "X$additional_libdir" = "X/usr/local/lib"; then
28878 if test -n "$GCC"; then
28879 case $host_os in
28880 linux*) haveit=yes;;
28881 esac
28882 fi
28883 fi
28884 if test -z "$haveit"; then
28885 haveit=
28886 for x in $LDFLAGS $LIBICONV; do
28887
28888 acl_save_prefix="$prefix"
28889 prefix="$acl_final_prefix"
28890 acl_save_exec_prefix="$exec_prefix"
28891 exec_prefix="$acl_final_exec_prefix"
28892 eval x=\"$x\"
28893 exec_prefix="$acl_save_exec_prefix"
28894 prefix="$acl_save_prefix"
28895
28896 if test "X$x" = "X-L$additional_libdir"; then
28897 haveit=yes
28898 break
28899 fi
28900 done
28901 if test -z "$haveit"; then
28902 if test -d "$additional_libdir"; then
28903 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28904 fi
28905 fi
28906 haveit=
28907 for x in $LDFLAGS $LTLIBICONV; do
28908
28909 acl_save_prefix="$prefix"
28910 prefix="$acl_final_prefix"
28911 acl_save_exec_prefix="$exec_prefix"
28912 exec_prefix="$acl_final_exec_prefix"
28913 eval x=\"$x\"
28914 exec_prefix="$acl_save_exec_prefix"
28915 prefix="$acl_save_prefix"
28916
28917 if test "X$x" = "X-L$additional_libdir"; then
28918 haveit=yes
28919 break
28920 fi
28921 done
28922 if test -z "$haveit"; then
28923 if test -d "$additional_libdir"; then
28924 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28925 fi
28926 fi
28927 fi
28928 fi
28929 ;;
28930 -R*)
28931 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28932 if test "$enable_rpath" != no; then
28933 haveit=
28934 for x in $rpathdirs; do
28935 if test "X$x" = "X$dir"; then
28936 haveit=yes
28937 break
28938 fi
28939 done
28940 if test -z "$haveit"; then
28941 rpathdirs="$rpathdirs $dir"
28942 fi
28943 haveit=
28944 for x in $ltrpathdirs; do
28945 if test "X$x" = "X$dir"; then
28946 haveit=yes
28947 break
28948 fi
28949 done
28950 if test -z "$haveit"; then
28951 ltrpathdirs="$ltrpathdirs $dir"
28952 fi
28953 fi
28954 ;;
28955 -l*)
28956 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28957 ;;
28958 *.la)
28959 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28960 ;;
28961 *)
28962 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28963 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28964 ;;
28965 esac
28966 done
28967 fi
28968 else
28969 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28970 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28971 fi
28972 fi
28973 fi
28974 done
28975 done
28976 if test "X$rpathdirs" != "X"; then
28977 if test -n "$hardcode_libdir_separator"; then
28978 alldirs=
28979 for found_dir in $rpathdirs; do
28980 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28981 done
28982 acl_save_libdir="$libdir"
28983 libdir="$alldirs"
28984 eval flag=\"$hardcode_libdir_flag_spec\"
28985 libdir="$acl_save_libdir"
28986 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28987 else
28988 for found_dir in $rpathdirs; do
28989 acl_save_libdir="$libdir"
28990 libdir="$found_dir"
28991 eval flag=\"$hardcode_libdir_flag_spec\"
28992 libdir="$acl_save_libdir"
28993 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28994 done
28995 fi
28996 fi
28997 if test "X$ltrpathdirs" != "X"; then
28998 for found_dir in $ltrpathdirs; do
28999 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
29000 done
29001 fi
29002
29003
29004
29005
29006
29007
29008
29009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
29010 $as_echo_n "checking for iconv... " >&6; }
29011 if ${am_cv_func_iconv+:} false; then :
29012 $as_echo_n "(cached) " >&6
29013 else
29014
29015 am_cv_func_iconv="no, consider installing GNU libiconv"
29016 am_cv_lib_iconv=no
29017 am_save_CPPFLAGS="$CPPFLAGS"
29018 CPPFLAGS="$CPPFLAGS $INCICONV"
29019 if test x$gcc_no_link = xyes; then
29020 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29021 fi
29022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29023 /* end confdefs.h. */
29024 #include <stdlib.h>
29025 #include <iconv.h>
29026 int
29027 main ()
29028 {
29029 iconv_t cd = iconv_open("","");
29030 iconv(cd,NULL,NULL,NULL,NULL);
29031 iconv_close(cd);
29032 ;
29033 return 0;
29034 }
29035 _ACEOF
29036 if ac_fn_c_try_link "$LINENO"; then :
29037 am_cv_func_iconv=yes
29038 fi
29039 rm -f core conftest.err conftest.$ac_objext \
29040 conftest$ac_exeext conftest.$ac_ext
29041 CPPFLAGS="$am_save_CPPFLAGS"
29042
29043 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
29044 for _libs in .libs _libs; do
29045 am_save_CPPFLAGS="$CPPFLAGS"
29046 am_save_LIBS="$LIBS"
29047 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
29048 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
29049 if test x$gcc_no_link = xyes; then
29050 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29051 fi
29052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29053 /* end confdefs.h. */
29054 #include <stdlib.h>
29055 #include <iconv.h>
29056 int
29057 main ()
29058 {
29059 iconv_t cd = iconv_open("","");
29060 iconv(cd,NULL,NULL,NULL,NULL);
29061 iconv_close(cd);
29062 ;
29063 return 0;
29064 }
29065 _ACEOF
29066 if ac_fn_c_try_link "$LINENO"; then :
29067 INCICONV="-I../libiconv/include"
29068 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
29069 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
29070 am_cv_lib_iconv=yes
29071 am_cv_func_iconv=yes
29072 fi
29073 rm -f core conftest.err conftest.$ac_objext \
29074 conftest$ac_exeext conftest.$ac_ext
29075 CPPFLAGS="$am_save_CPPFLAGS"
29076 LIBS="$am_save_LIBS"
29077 if test "$am_cv_func_iconv" = "yes"; then
29078 break
29079 fi
29080 done
29081 fi
29082
29083 if test "$am_cv_func_iconv" != yes; then
29084 am_save_CPPFLAGS="$CPPFLAGS"
29085 am_save_LIBS="$LIBS"
29086 CPPFLAGS="$CPPFLAGS $INCICONV"
29087 LIBS="$LIBS $LIBICONV"
29088 if test x$gcc_no_link = xyes; then
29089 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29090 fi
29091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29092 /* end confdefs.h. */
29093 #include <stdlib.h>
29094 #include <iconv.h>
29095 int
29096 main ()
29097 {
29098 iconv_t cd = iconv_open("","");
29099 iconv(cd,NULL,NULL,NULL,NULL);
29100 iconv_close(cd);
29101 ;
29102 return 0;
29103 }
29104 _ACEOF
29105 if ac_fn_c_try_link "$LINENO"; then :
29106 am_cv_lib_iconv=yes
29107 am_cv_func_iconv=yes
29108 fi
29109 rm -f core conftest.err conftest.$ac_objext \
29110 conftest$ac_exeext conftest.$ac_ext
29111 CPPFLAGS="$am_save_CPPFLAGS"
29112 LIBS="$am_save_LIBS"
29113 fi
29114
29115 fi
29116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
29117 $as_echo "$am_cv_func_iconv" >&6; }
29118 if test "$am_cv_func_iconv" = yes; then
29119
29120 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29121
29122 fi
29123 if test "$am_cv_lib_iconv" = yes; then
29124
29125 for element in $INCICONV; do
29126 haveit=
29127 for x in $CPPFLAGS; do
29128
29129 acl_save_prefix="$prefix"
29130 prefix="$acl_final_prefix"
29131 acl_save_exec_prefix="$exec_prefix"
29132 exec_prefix="$acl_final_exec_prefix"
29133 eval x=\"$x\"
29134 exec_prefix="$acl_save_exec_prefix"
29135 prefix="$acl_save_prefix"
29136
29137 if test "X$x" = "X$element"; then
29138 haveit=yes
29139 break
29140 fi
29141 done
29142 if test -z "$haveit"; then
29143 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
29144 fi
29145 done
29146
29147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
29148 $as_echo_n "checking how to link with libiconv... " >&6; }
29149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
29150 $as_echo "$LIBICONV" >&6; }
29151 else
29152 LIBICONV=
29153 LTLIBICONV=
29154 fi
29155
29156
29157
29158 if test "$am_cv_func_iconv" = yes; then
29159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
29160 $as_echo_n "checking for iconv declaration... " >&6; }
29161 if ${am_cv_proto_iconv+:} false; then :
29162 $as_echo_n "(cached) " >&6
29163 else
29164
29165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29166 /* end confdefs.h. */
29167
29168 #include <stdlib.h>
29169 #include <iconv.h>
29170 extern
29171 #ifdef __cplusplus
29172 "C"
29173 #endif
29174 #if defined(__STDC__) || defined(__cplusplus)
29175 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29176 #else
29177 size_t iconv();
29178 #endif
29179
29180 int
29181 main ()
29182 {
29183
29184 ;
29185 return 0;
29186 }
29187 _ACEOF
29188 if ac_fn_c_try_compile "$LINENO"; then :
29189 am_cv_proto_iconv_arg1=""
29190 else
29191 am_cv_proto_iconv_arg1="const"
29192 fi
29193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29194 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);"
29195 fi
29196
29197 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29199 }$am_cv_proto_iconv" >&5
29200 $as_echo "${ac_t:-
29201 }$am_cv_proto_iconv" >&6; }
29202
29203 cat >>confdefs.h <<_ACEOF
29204 #define ICONV_CONST $am_cv_proto_iconv_arg1
29205 _ACEOF
29206
29207 fi
29208
29209
29210 else
29211
29212 # This lets us hard-code the functionality we know we'll have in the cross
29213 # target environment. "Let" is a sugar-coated word placed on an especially
29214 # dull and tedious hack, actually.
29215 #
29216 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29217 # that involve linking, can't be used:
29218 # "cannot open sim-crt0.o"
29219 # "cannot open crt0.o"
29220 # etc. All this is because there currently exists no unified, consistent
29221 # way for top level CC information to be passed down to target directories:
29222 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29223 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29224 # crosses can be removed.
29225
29226 # If Canadian cross, then don't pick up tools from the build directory.
29227 # Used only in GLIBCXX_EXPORT_INCLUDES.
29228 if test -n "$with_cross_host" &&
29229 test x"$build_alias" != x"$with_cross_host" &&
29230 test x"$build" != x"$target";
29231 then
29232 CANADIAN=yes
29233 else
29234 CANADIAN=no
29235 fi
29236
29237 # Construct crosses by hand, eliminating bits that need ld...
29238 # GLIBCXX_CHECK_MATH_SUPPORT
29239
29240 # First, test for "known" system libraries. We may be using newlib even
29241 # on a hosted environment.
29242 if test "x${with_newlib}" = "xyes"; then
29243 os_include_dir="os/newlib"
29244 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29245
29246
29247 # GLIBCXX_CHECK_STDLIB_SUPPORT
29248 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29249
29250
29251 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29252
29253 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29254
29255 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29256
29257 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29258
29259 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29260
29261 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29262
29263 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29264
29265 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29266
29267 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29268
29269 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29270
29271 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29272
29273 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29274
29275 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29276
29277 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29278
29279 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29280
29281 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29282
29283 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29284
29285 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29286
29287 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29288
29289 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29290
29291 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29292
29293 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29294
29295
29296 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29297
29298 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29299
29300 else
29301
29302 # Base decisions on target environment.
29303 case "${host}" in
29304 arm*-*-symbianelf*)
29305 # This is a freestanding configuration; there is nothing to do here.
29306 ;;
29307
29308 avr*-*-*)
29309 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29310
29311 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29312
29313 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29314
29315 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29316
29317 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29318
29319 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29320
29321 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29322
29323 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29324
29325 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29326
29327 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29328
29329 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29330
29331 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29332
29333 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29334
29335 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29336
29337 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29338
29339 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29340
29341 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29342
29343 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29344
29345 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29346
29347 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29348
29349 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29350
29351 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29352
29353 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29354
29355 ;;
29356
29357 mips*-sde-elf*)
29358 # These definitions are for the SDE C library rather than newlib.
29359 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29360
29361
29362 # All these tests are for C++; save the language and the compiler flags.
29363 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29364 # found in GLIBCXX_CONFIGURE.
29365
29366 ac_ext=cpp
29367 ac_cpp='$CXXCPP $CPPFLAGS'
29368 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29369 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29370 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29371
29372 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29373 ac_save_CXXFLAGS="$CXXFLAGS"
29374
29375 # Check for -ffunction-sections -fdata-sections
29376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29377 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29378 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29380 /* end confdefs.h. */
29381 int foo; void bar() { };
29382 int
29383 main ()
29384 {
29385
29386 ;
29387 return 0;
29388 }
29389 _ACEOF
29390 if ac_fn_cxx_try_compile "$LINENO"; then :
29391 ac_fdsections=yes
29392 else
29393 ac_fdsections=no
29394 fi
29395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29396 if test "$ac_test_CXXFLAGS" = set; then
29397 CXXFLAGS="$ac_save_CXXFLAGS"
29398 else
29399 # this is the suspicious part
29400 CXXFLAGS=''
29401 fi
29402 if test x"$ac_fdsections" = x"yes"; then
29403 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29404 fi
29405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29406 $as_echo "$ac_fdsections" >&6; }
29407
29408 ac_ext=c
29409 ac_cpp='$CPP $CPPFLAGS'
29410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29413
29414
29415
29416
29417 # If we're not using GNU ld, then there's no point in even trying these
29418 # tests. Check for that first. We should have already tested for gld
29419 # by now (in libtool), but require it now just to be safe...
29420 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29421 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29422
29423
29424
29425 # The name set by libtool depends on the version of libtool. Shame on us
29426 # for depending on an impl detail, but c'est la vie. Older versions used
29427 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29428 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29429 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29430 # set (hence we're using an older libtool), then set it.
29431 if test x${with_gnu_ld+set} != xset; then
29432 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29433 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29434 with_gnu_ld=no
29435 else
29436 with_gnu_ld=$ac_cv_prog_gnu_ld
29437 fi
29438 fi
29439
29440 # Start by getting the version number. I think the libtool test already
29441 # does some of this, but throws away the result.
29442 glibcxx_ld_is_gold=no
29443 if test x"$with_gnu_ld" = x"yes"; then
29444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29445 $as_echo_n "checking for ld version... " >&6; }
29446
29447 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29448 glibcxx_ld_is_gold=yes
29449 fi
29450 ldver=`$LD --version 2>/dev/null |
29451 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'`
29452
29453 glibcxx_gnu_ld_version=`echo $ldver | \
29454 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29456 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29457 fi
29458
29459 # Set --gc-sections.
29460 glibcxx_have_gc_sections=no
29461 if test "$glibcxx_ld_is_gold" = "yes"; then
29462 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29463 glibcxx_have_gc_sections=yes
29464 fi
29465 else
29466 glibcxx_gcsections_min_ld=21602
29467 if test x"$with_gnu_ld" = x"yes" &&
29468 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29469 glibcxx_have_gc_sections=yes
29470 fi
29471 fi
29472 if test "$glibcxx_have_gc_sections" = "yes"; then
29473 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29474 # NB: This flag only works reliably after 2.16.1. Configure tests
29475 # for this are difficult, so hard wire a value that should work.
29476
29477 ac_test_CFLAGS="${CFLAGS+set}"
29478 ac_save_CFLAGS="$CFLAGS"
29479 CFLAGS='-Wl,--gc-sections'
29480
29481 # Check for -Wl,--gc-sections
29482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29483 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29484 if test x$gcc_no_link = xyes; then
29485 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29486 fi
29487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29488 /* end confdefs.h. */
29489 int one(void) { return 1; }
29490 int two(void) { return 2; }
29491
29492 int
29493 main ()
29494 {
29495 two();
29496 ;
29497 return 0;
29498 }
29499 _ACEOF
29500 if ac_fn_c_try_link "$LINENO"; then :
29501 ac_gcsections=yes
29502 else
29503 ac_gcsections=no
29504 fi
29505 rm -f core conftest.err conftest.$ac_objext \
29506 conftest$ac_exeext conftest.$ac_ext
29507 if test "$ac_gcsections" = "yes"; then
29508 rm -f conftest.c
29509 touch conftest.c
29510 if $CC -c conftest.c; then
29511 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29512 grep "Warning: gc-sections option ignored" > /dev/null; then
29513 ac_gcsections=no
29514 fi
29515 fi
29516 rm -f conftest.c conftest.o conftest
29517 fi
29518 if test "$ac_gcsections" = "yes"; then
29519 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29520 fi
29521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29522 $as_echo "$ac_gcsections" >&6; }
29523
29524 if test "$ac_test_CFLAGS" = set; then
29525 CFLAGS="$ac_save_CFLAGS"
29526 else
29527 # this is the suspicious part
29528 CFLAGS=''
29529 fi
29530 fi
29531
29532 # Set -z,relro.
29533 # Note this is only for shared objects.
29534 ac_ld_relro=no
29535 if test x"$with_gnu_ld" = x"yes"; then
29536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29537 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29538 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29539 if test -n "$cxx_z_relo"; then
29540 OPT_LDFLAGS="-Wl,-z,relro"
29541 ac_ld_relro=yes
29542 fi
29543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29544 $as_echo "$ac_ld_relro" >&6; }
29545 fi
29546
29547 # Set linker optimization flags.
29548 if test x"$with_gnu_ld" = x"yes"; then
29549 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29550 fi
29551
29552
29553
29554
29555
29556 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29557 ac_save_CXXFLAGS="$CXXFLAGS"
29558 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29559
29560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29561 $as_echo_n "checking for sin in -lm... " >&6; }
29562 if ${ac_cv_lib_m_sin+:} false; then :
29563 $as_echo_n "(cached) " >&6
29564 else
29565 ac_check_lib_save_LIBS=$LIBS
29566 LIBS="-lm $LIBS"
29567 if test x$gcc_no_link = xyes; then
29568 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29569 fi
29570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29571 /* end confdefs.h. */
29572
29573 /* Override any GCC internal prototype to avoid an error.
29574 Use char because int might match the return type of a GCC
29575 builtin and then its argument prototype would still apply. */
29576 #ifdef __cplusplus
29577 extern "C"
29578 #endif
29579 char sin ();
29580 int
29581 main ()
29582 {
29583 return sin ();
29584 ;
29585 return 0;
29586 }
29587 _ACEOF
29588 if ac_fn_c_try_link "$LINENO"; then :
29589 ac_cv_lib_m_sin=yes
29590 else
29591 ac_cv_lib_m_sin=no
29592 fi
29593 rm -f core conftest.err conftest.$ac_objext \
29594 conftest$ac_exeext conftest.$ac_ext
29595 LIBS=$ac_check_lib_save_LIBS
29596 fi
29597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29598 $as_echo "$ac_cv_lib_m_sin" >&6; }
29599 if test "x$ac_cv_lib_m_sin" = xyes; then :
29600 libm="-lm"
29601 fi
29602
29603 ac_save_LIBS="$LIBS"
29604 LIBS="$LIBS $libm"
29605
29606
29607
29608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29609 $as_echo_n "checking for isinf declaration... " >&6; }
29610 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29611 if ${glibcxx_cv_func_isinf_use+:} false; then :
29612 $as_echo_n "(cached) " >&6
29613 else
29614
29615
29616 ac_ext=cpp
29617 ac_cpp='$CXXCPP $CPPFLAGS'
29618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29621
29622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29623 /* end confdefs.h. */
29624 #include <math.h>
29625 #ifdef HAVE_IEEEFP_H
29626 #include <ieeefp.h>
29627 #endif
29628
29629 int
29630 main ()
29631 {
29632 isinf(0);
29633 ;
29634 return 0;
29635 }
29636 _ACEOF
29637 if ac_fn_cxx_try_compile "$LINENO"; then :
29638 glibcxx_cv_func_isinf_use=yes
29639 else
29640 glibcxx_cv_func_isinf_use=no
29641 fi
29642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29643 ac_ext=c
29644 ac_cpp='$CPP $CPPFLAGS'
29645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29648
29649
29650 fi
29651
29652 fi
29653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29654 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29655
29656 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29657 for ac_func in isinf
29658 do :
29659 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29660 if test "x$ac_cv_func_isinf" = xyes; then :
29661 cat >>confdefs.h <<_ACEOF
29662 #define HAVE_ISINF 1
29663 _ACEOF
29664
29665 fi
29666 done
29667
29668 else
29669
29670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29671 $as_echo_n "checking for _isinf declaration... " >&6; }
29672 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29673 if ${glibcxx_cv_func__isinf_use+:} false; then :
29674 $as_echo_n "(cached) " >&6
29675 else
29676
29677
29678 ac_ext=cpp
29679 ac_cpp='$CXXCPP $CPPFLAGS'
29680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29683
29684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29685 /* end confdefs.h. */
29686 #include <math.h>
29687 #ifdef HAVE_IEEEFP_H
29688 #include <ieeefp.h>
29689 #endif
29690
29691 int
29692 main ()
29693 {
29694 _isinf(0);
29695 ;
29696 return 0;
29697 }
29698 _ACEOF
29699 if ac_fn_cxx_try_compile "$LINENO"; then :
29700 glibcxx_cv_func__isinf_use=yes
29701 else
29702 glibcxx_cv_func__isinf_use=no
29703 fi
29704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29705 ac_ext=c
29706 ac_cpp='$CPP $CPPFLAGS'
29707 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29708 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29709 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29710
29711
29712 fi
29713
29714 fi
29715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29716 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29717
29718 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29719 for ac_func in _isinf
29720 do :
29721 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29722 if test "x$ac_cv_func__isinf" = xyes; then :
29723 cat >>confdefs.h <<_ACEOF
29724 #define HAVE__ISINF 1
29725 _ACEOF
29726
29727 fi
29728 done
29729
29730 fi
29731 fi
29732
29733
29734
29735
29736
29737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29738 $as_echo_n "checking for isnan declaration... " >&6; }
29739 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29740 if ${glibcxx_cv_func_isnan_use+:} false; then :
29741 $as_echo_n "(cached) " >&6
29742 else
29743
29744
29745 ac_ext=cpp
29746 ac_cpp='$CXXCPP $CPPFLAGS'
29747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29750
29751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29752 /* end confdefs.h. */
29753 #include <math.h>
29754 #ifdef HAVE_IEEEFP_H
29755 #include <ieeefp.h>
29756 #endif
29757
29758 int
29759 main ()
29760 {
29761 isnan(0);
29762 ;
29763 return 0;
29764 }
29765 _ACEOF
29766 if ac_fn_cxx_try_compile "$LINENO"; then :
29767 glibcxx_cv_func_isnan_use=yes
29768 else
29769 glibcxx_cv_func_isnan_use=no
29770 fi
29771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29772 ac_ext=c
29773 ac_cpp='$CPP $CPPFLAGS'
29774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29777
29778
29779 fi
29780
29781 fi
29782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29783 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29784
29785 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29786 for ac_func in isnan
29787 do :
29788 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29789 if test "x$ac_cv_func_isnan" = xyes; then :
29790 cat >>confdefs.h <<_ACEOF
29791 #define HAVE_ISNAN 1
29792 _ACEOF
29793
29794 fi
29795 done
29796
29797 else
29798
29799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29800 $as_echo_n "checking for _isnan declaration... " >&6; }
29801 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29802 if ${glibcxx_cv_func__isnan_use+:} false; then :
29803 $as_echo_n "(cached) " >&6
29804 else
29805
29806
29807 ac_ext=cpp
29808 ac_cpp='$CXXCPP $CPPFLAGS'
29809 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29810 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29811 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29812
29813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29814 /* end confdefs.h. */
29815 #include <math.h>
29816 #ifdef HAVE_IEEEFP_H
29817 #include <ieeefp.h>
29818 #endif
29819
29820 int
29821 main ()
29822 {
29823 _isnan(0);
29824 ;
29825 return 0;
29826 }
29827 _ACEOF
29828 if ac_fn_cxx_try_compile "$LINENO"; then :
29829 glibcxx_cv_func__isnan_use=yes
29830 else
29831 glibcxx_cv_func__isnan_use=no
29832 fi
29833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29834 ac_ext=c
29835 ac_cpp='$CPP $CPPFLAGS'
29836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29839
29840
29841 fi
29842
29843 fi
29844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29845 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29846
29847 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29848 for ac_func in _isnan
29849 do :
29850 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29851 if test "x$ac_cv_func__isnan" = xyes; then :
29852 cat >>confdefs.h <<_ACEOF
29853 #define HAVE__ISNAN 1
29854 _ACEOF
29855
29856 fi
29857 done
29858
29859 fi
29860 fi
29861
29862
29863
29864
29865
29866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29867 $as_echo_n "checking for finite declaration... " >&6; }
29868 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29869 if ${glibcxx_cv_func_finite_use+:} false; then :
29870 $as_echo_n "(cached) " >&6
29871 else
29872
29873
29874 ac_ext=cpp
29875 ac_cpp='$CXXCPP $CPPFLAGS'
29876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29879
29880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29881 /* end confdefs.h. */
29882 #include <math.h>
29883 #ifdef HAVE_IEEEFP_H
29884 #include <ieeefp.h>
29885 #endif
29886
29887 int
29888 main ()
29889 {
29890 finite(0);
29891 ;
29892 return 0;
29893 }
29894 _ACEOF
29895 if ac_fn_cxx_try_compile "$LINENO"; then :
29896 glibcxx_cv_func_finite_use=yes
29897 else
29898 glibcxx_cv_func_finite_use=no
29899 fi
29900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29901 ac_ext=c
29902 ac_cpp='$CPP $CPPFLAGS'
29903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29906
29907
29908 fi
29909
29910 fi
29911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29912 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29913
29914 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29915 for ac_func in finite
29916 do :
29917 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29918 if test "x$ac_cv_func_finite" = xyes; then :
29919 cat >>confdefs.h <<_ACEOF
29920 #define HAVE_FINITE 1
29921 _ACEOF
29922
29923 fi
29924 done
29925
29926 else
29927
29928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29929 $as_echo_n "checking for _finite declaration... " >&6; }
29930 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29931 if ${glibcxx_cv_func__finite_use+:} false; then :
29932 $as_echo_n "(cached) " >&6
29933 else
29934
29935
29936 ac_ext=cpp
29937 ac_cpp='$CXXCPP $CPPFLAGS'
29938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29941
29942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29943 /* end confdefs.h. */
29944 #include <math.h>
29945 #ifdef HAVE_IEEEFP_H
29946 #include <ieeefp.h>
29947 #endif
29948
29949 int
29950 main ()
29951 {
29952 _finite(0);
29953 ;
29954 return 0;
29955 }
29956 _ACEOF
29957 if ac_fn_cxx_try_compile "$LINENO"; then :
29958 glibcxx_cv_func__finite_use=yes
29959 else
29960 glibcxx_cv_func__finite_use=no
29961 fi
29962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29963 ac_ext=c
29964 ac_cpp='$CPP $CPPFLAGS'
29965 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29966 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29967 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29968
29969
29970 fi
29971
29972 fi
29973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29974 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29975
29976 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29977 for ac_func in _finite
29978 do :
29979 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29980 if test "x$ac_cv_func__finite" = xyes; then :
29981 cat >>confdefs.h <<_ACEOF
29982 #define HAVE__FINITE 1
29983 _ACEOF
29984
29985 fi
29986 done
29987
29988 fi
29989 fi
29990
29991
29992
29993
29994
29995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29996 $as_echo_n "checking for sincos declaration... " >&6; }
29997 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29998 if ${glibcxx_cv_func_sincos_use+:} false; then :
29999 $as_echo_n "(cached) " >&6
30000 else
30001
30002
30003 ac_ext=cpp
30004 ac_cpp='$CXXCPP $CPPFLAGS'
30005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30008
30009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30010 /* end confdefs.h. */
30011 #include <math.h>
30012 int
30013 main ()
30014 {
30015 sincos(0, 0, 0);
30016 ;
30017 return 0;
30018 }
30019 _ACEOF
30020 if ac_fn_cxx_try_compile "$LINENO"; then :
30021 glibcxx_cv_func_sincos_use=yes
30022 else
30023 glibcxx_cv_func_sincos_use=no
30024 fi
30025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30026 ac_ext=c
30027 ac_cpp='$CPP $CPPFLAGS'
30028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30031
30032
30033 fi
30034
30035 fi
30036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
30037 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
30038
30039 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
30040 for ac_func in sincos
30041 do :
30042 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
30043 if test "x$ac_cv_func_sincos" = xyes; then :
30044 cat >>confdefs.h <<_ACEOF
30045 #define HAVE_SINCOS 1
30046 _ACEOF
30047
30048 fi
30049 done
30050
30051 else
30052
30053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
30054 $as_echo_n "checking for _sincos declaration... " >&6; }
30055 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
30056 if ${glibcxx_cv_func__sincos_use+:} false; then :
30057 $as_echo_n "(cached) " >&6
30058 else
30059
30060
30061 ac_ext=cpp
30062 ac_cpp='$CXXCPP $CPPFLAGS'
30063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30066
30067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30068 /* end confdefs.h. */
30069 #include <math.h>
30070 int
30071 main ()
30072 {
30073 _sincos(0, 0, 0);
30074 ;
30075 return 0;
30076 }
30077 _ACEOF
30078 if ac_fn_cxx_try_compile "$LINENO"; then :
30079 glibcxx_cv_func__sincos_use=yes
30080 else
30081 glibcxx_cv_func__sincos_use=no
30082 fi
30083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30084 ac_ext=c
30085 ac_cpp='$CPP $CPPFLAGS'
30086 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30087 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30088 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30089
30090
30091 fi
30092
30093 fi
30094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
30095 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
30096
30097 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
30098 for ac_func in _sincos
30099 do :
30100 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
30101 if test "x$ac_cv_func__sincos" = xyes; then :
30102 cat >>confdefs.h <<_ACEOF
30103 #define HAVE__SINCOS 1
30104 _ACEOF
30105
30106 fi
30107 done
30108
30109 fi
30110 fi
30111
30112
30113
30114
30115
30116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
30117 $as_echo_n "checking for fpclass declaration... " >&6; }
30118 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
30119 if ${glibcxx_cv_func_fpclass_use+:} false; then :
30120 $as_echo_n "(cached) " >&6
30121 else
30122
30123
30124 ac_ext=cpp
30125 ac_cpp='$CXXCPP $CPPFLAGS'
30126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30129
30130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30131 /* end confdefs.h. */
30132 #include <math.h>
30133 #ifdef HAVE_IEEEFP_H
30134 #include <ieeefp.h>
30135 #endif
30136
30137 int
30138 main ()
30139 {
30140 fpclass(0);
30141 ;
30142 return 0;
30143 }
30144 _ACEOF
30145 if ac_fn_cxx_try_compile "$LINENO"; then :
30146 glibcxx_cv_func_fpclass_use=yes
30147 else
30148 glibcxx_cv_func_fpclass_use=no
30149 fi
30150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30151 ac_ext=c
30152 ac_cpp='$CPP $CPPFLAGS'
30153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30156
30157
30158 fi
30159
30160 fi
30161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30162 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30163
30164 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30165 for ac_func in fpclass
30166 do :
30167 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30168 if test "x$ac_cv_func_fpclass" = xyes; then :
30169 cat >>confdefs.h <<_ACEOF
30170 #define HAVE_FPCLASS 1
30171 _ACEOF
30172
30173 fi
30174 done
30175
30176 else
30177
30178 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30179 $as_echo_n "checking for _fpclass declaration... " >&6; }
30180 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30181 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30182 $as_echo_n "(cached) " >&6
30183 else
30184
30185
30186 ac_ext=cpp
30187 ac_cpp='$CXXCPP $CPPFLAGS'
30188 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30189 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30190 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30191
30192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30193 /* end confdefs.h. */
30194 #include <math.h>
30195 #ifdef HAVE_IEEEFP_H
30196 #include <ieeefp.h>
30197 #endif
30198
30199 int
30200 main ()
30201 {
30202 _fpclass(0);
30203 ;
30204 return 0;
30205 }
30206 _ACEOF
30207 if ac_fn_cxx_try_compile "$LINENO"; then :
30208 glibcxx_cv_func__fpclass_use=yes
30209 else
30210 glibcxx_cv_func__fpclass_use=no
30211 fi
30212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30213 ac_ext=c
30214 ac_cpp='$CPP $CPPFLAGS'
30215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30218
30219
30220 fi
30221
30222 fi
30223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30224 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30225
30226 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30227 for ac_func in _fpclass
30228 do :
30229 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30230 if test "x$ac_cv_func__fpclass" = xyes; then :
30231 cat >>confdefs.h <<_ACEOF
30232 #define HAVE__FPCLASS 1
30233 _ACEOF
30234
30235 fi
30236 done
30237
30238 fi
30239 fi
30240
30241
30242
30243
30244
30245 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30246 $as_echo_n "checking for qfpclass declaration... " >&6; }
30247 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30248 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30249 $as_echo_n "(cached) " >&6
30250 else
30251
30252
30253 ac_ext=cpp
30254 ac_cpp='$CXXCPP $CPPFLAGS'
30255 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30256 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30257 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30258
30259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30260 /* end confdefs.h. */
30261 #include <math.h>
30262 #ifdef HAVE_IEEEFP_H
30263 #include <ieeefp.h>
30264 #endif
30265
30266 int
30267 main ()
30268 {
30269 qfpclass(0);
30270 ;
30271 return 0;
30272 }
30273 _ACEOF
30274 if ac_fn_cxx_try_compile "$LINENO"; then :
30275 glibcxx_cv_func_qfpclass_use=yes
30276 else
30277 glibcxx_cv_func_qfpclass_use=no
30278 fi
30279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30280 ac_ext=c
30281 ac_cpp='$CPP $CPPFLAGS'
30282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30285
30286
30287 fi
30288
30289 fi
30290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30291 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30292
30293 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30294 for ac_func in qfpclass
30295 do :
30296 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30297 if test "x$ac_cv_func_qfpclass" = xyes; then :
30298 cat >>confdefs.h <<_ACEOF
30299 #define HAVE_QFPCLASS 1
30300 _ACEOF
30301
30302 fi
30303 done
30304
30305 else
30306
30307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30308 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30309 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30310 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30311 $as_echo_n "(cached) " >&6
30312 else
30313
30314
30315 ac_ext=cpp
30316 ac_cpp='$CXXCPP $CPPFLAGS'
30317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30320
30321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30322 /* end confdefs.h. */
30323 #include <math.h>
30324 #ifdef HAVE_IEEEFP_H
30325 #include <ieeefp.h>
30326 #endif
30327
30328 int
30329 main ()
30330 {
30331 _qfpclass(0);
30332 ;
30333 return 0;
30334 }
30335 _ACEOF
30336 if ac_fn_cxx_try_compile "$LINENO"; then :
30337 glibcxx_cv_func__qfpclass_use=yes
30338 else
30339 glibcxx_cv_func__qfpclass_use=no
30340 fi
30341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30342 ac_ext=c
30343 ac_cpp='$CPP $CPPFLAGS'
30344 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30345 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30346 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30347
30348
30349 fi
30350
30351 fi
30352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30353 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30354
30355 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30356 for ac_func in _qfpclass
30357 do :
30358 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30359 if test "x$ac_cv_func__qfpclass" = xyes; then :
30360 cat >>confdefs.h <<_ACEOF
30361 #define HAVE__QFPCLASS 1
30362 _ACEOF
30363
30364 fi
30365 done
30366
30367 fi
30368 fi
30369
30370
30371
30372
30373
30374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30375 $as_echo_n "checking for hypot declaration... " >&6; }
30376 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30377 if ${glibcxx_cv_func_hypot_use+:} false; then :
30378 $as_echo_n "(cached) " >&6
30379 else
30380
30381
30382 ac_ext=cpp
30383 ac_cpp='$CXXCPP $CPPFLAGS'
30384 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30385 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30386 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30387
30388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30389 /* end confdefs.h. */
30390 #include <math.h>
30391 int
30392 main ()
30393 {
30394 hypot(0, 0);
30395 ;
30396 return 0;
30397 }
30398 _ACEOF
30399 if ac_fn_cxx_try_compile "$LINENO"; then :
30400 glibcxx_cv_func_hypot_use=yes
30401 else
30402 glibcxx_cv_func_hypot_use=no
30403 fi
30404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30405 ac_ext=c
30406 ac_cpp='$CPP $CPPFLAGS'
30407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30410
30411
30412 fi
30413
30414 fi
30415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30416 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30417
30418 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30419 for ac_func in hypot
30420 do :
30421 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30422 if test "x$ac_cv_func_hypot" = xyes; then :
30423 cat >>confdefs.h <<_ACEOF
30424 #define HAVE_HYPOT 1
30425 _ACEOF
30426
30427 fi
30428 done
30429
30430 else
30431
30432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30433 $as_echo_n "checking for _hypot declaration... " >&6; }
30434 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30435 if ${glibcxx_cv_func__hypot_use+:} false; then :
30436 $as_echo_n "(cached) " >&6
30437 else
30438
30439
30440 ac_ext=cpp
30441 ac_cpp='$CXXCPP $CPPFLAGS'
30442 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30443 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30444 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30445
30446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30447 /* end confdefs.h. */
30448 #include <math.h>
30449 int
30450 main ()
30451 {
30452 _hypot(0, 0);
30453 ;
30454 return 0;
30455 }
30456 _ACEOF
30457 if ac_fn_cxx_try_compile "$LINENO"; then :
30458 glibcxx_cv_func__hypot_use=yes
30459 else
30460 glibcxx_cv_func__hypot_use=no
30461 fi
30462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30463 ac_ext=c
30464 ac_cpp='$CPP $CPPFLAGS'
30465 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30466 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30467 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30468
30469
30470 fi
30471
30472 fi
30473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30474 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30475
30476 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30477 for ac_func in _hypot
30478 do :
30479 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30480 if test "x$ac_cv_func__hypot" = xyes; then :
30481 cat >>confdefs.h <<_ACEOF
30482 #define HAVE__HYPOT 1
30483 _ACEOF
30484
30485 fi
30486 done
30487
30488 fi
30489 fi
30490
30491
30492
30493
30494
30495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30496 $as_echo_n "checking for float trig functions... " >&6; }
30497 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30498 $as_echo_n "(cached) " >&6
30499 else
30500
30501
30502 ac_ext=cpp
30503 ac_cpp='$CXXCPP $CPPFLAGS'
30504 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30505 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30506 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30507
30508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30509 /* end confdefs.h. */
30510 #include <math.h>
30511 int
30512 main ()
30513 {
30514 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30515 ;
30516 return 0;
30517 }
30518 _ACEOF
30519 if ac_fn_cxx_try_compile "$LINENO"; then :
30520 glibcxx_cv_func_float_trig_use=yes
30521 else
30522 glibcxx_cv_func_float_trig_use=no
30523 fi
30524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30525 ac_ext=c
30526 ac_cpp='$CPP $CPPFLAGS'
30527 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30528 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30529 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30530
30531 fi
30532
30533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30534 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30535 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30536 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30537 do :
30538 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30539 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30540 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30541 cat >>confdefs.h <<_ACEOF
30542 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30543 _ACEOF
30544
30545 fi
30546 done
30547
30548 else
30549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30550 $as_echo_n "checking for _float trig functions... " >&6; }
30551 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30552 $as_echo_n "(cached) " >&6
30553 else
30554
30555
30556 ac_ext=cpp
30557 ac_cpp='$CXXCPP $CPPFLAGS'
30558 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30559 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30560 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30561
30562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30563 /* end confdefs.h. */
30564 #include <math.h>
30565 int
30566 main ()
30567 {
30568 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30569 ;
30570 return 0;
30571 }
30572 _ACEOF
30573 if ac_fn_cxx_try_compile "$LINENO"; then :
30574 glibcxx_cv_func__float_trig_use=yes
30575 else
30576 glibcxx_cv_func__float_trig_use=no
30577 fi
30578 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30579 ac_ext=c
30580 ac_cpp='$CPP $CPPFLAGS'
30581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30584
30585 fi
30586
30587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30588 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30589 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30590 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30591 do :
30592 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30593 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30594 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30595 cat >>confdefs.h <<_ACEOF
30596 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30597 _ACEOF
30598
30599 fi
30600 done
30601
30602 fi
30603 fi
30604
30605
30606
30607
30608
30609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30610 $as_echo_n "checking for float round functions... " >&6; }
30611 if ${glibcxx_cv_func_float_round_use+:} false; then :
30612 $as_echo_n "(cached) " >&6
30613 else
30614
30615
30616 ac_ext=cpp
30617 ac_cpp='$CXXCPP $CPPFLAGS'
30618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30621
30622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30623 /* end confdefs.h. */
30624 #include <math.h>
30625 int
30626 main ()
30627 {
30628 ceilf (0); floorf (0);
30629 ;
30630 return 0;
30631 }
30632 _ACEOF
30633 if ac_fn_cxx_try_compile "$LINENO"; then :
30634 glibcxx_cv_func_float_round_use=yes
30635 else
30636 glibcxx_cv_func_float_round_use=no
30637 fi
30638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30639 ac_ext=c
30640 ac_cpp='$CPP $CPPFLAGS'
30641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30644
30645 fi
30646
30647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30648 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30649 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30650 for ac_func in ceilf floorf
30651 do :
30652 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30653 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30654 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30655 cat >>confdefs.h <<_ACEOF
30656 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30657 _ACEOF
30658
30659 fi
30660 done
30661
30662 else
30663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30664 $as_echo_n "checking for _float round functions... " >&6; }
30665 if ${glibcxx_cv_func__float_round_use+:} false; then :
30666 $as_echo_n "(cached) " >&6
30667 else
30668
30669
30670 ac_ext=cpp
30671 ac_cpp='$CXXCPP $CPPFLAGS'
30672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30675
30676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30677 /* end confdefs.h. */
30678 #include <math.h>
30679 int
30680 main ()
30681 {
30682 _ceilf (0); _floorf (0);
30683 ;
30684 return 0;
30685 }
30686 _ACEOF
30687 if ac_fn_cxx_try_compile "$LINENO"; then :
30688 glibcxx_cv_func__float_round_use=yes
30689 else
30690 glibcxx_cv_func__float_round_use=no
30691 fi
30692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30693 ac_ext=c
30694 ac_cpp='$CPP $CPPFLAGS'
30695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30698
30699 fi
30700
30701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30702 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30703 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30704 for ac_func in _ceilf _floorf
30705 do :
30706 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30707 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30708 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30709 cat >>confdefs.h <<_ACEOF
30710 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30711 _ACEOF
30712
30713 fi
30714 done
30715
30716 fi
30717 fi
30718
30719
30720
30721
30722
30723
30724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30725 $as_echo_n "checking for expf declaration... " >&6; }
30726 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30727 if ${glibcxx_cv_func_expf_use+:} false; then :
30728 $as_echo_n "(cached) " >&6
30729 else
30730
30731
30732 ac_ext=cpp
30733 ac_cpp='$CXXCPP $CPPFLAGS'
30734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30737
30738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30739 /* end confdefs.h. */
30740 #include <math.h>
30741 #ifdef HAVE_IEEEFP_H
30742 #include <ieeefp.h>
30743 #endif
30744
30745 int
30746 main ()
30747 {
30748 expf(0);
30749 ;
30750 return 0;
30751 }
30752 _ACEOF
30753 if ac_fn_cxx_try_compile "$LINENO"; then :
30754 glibcxx_cv_func_expf_use=yes
30755 else
30756 glibcxx_cv_func_expf_use=no
30757 fi
30758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30759 ac_ext=c
30760 ac_cpp='$CPP $CPPFLAGS'
30761 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30762 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30763 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30764
30765
30766 fi
30767
30768 fi
30769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30770 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30771
30772 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30773 for ac_func in expf
30774 do :
30775 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30776 if test "x$ac_cv_func_expf" = xyes; then :
30777 cat >>confdefs.h <<_ACEOF
30778 #define HAVE_EXPF 1
30779 _ACEOF
30780
30781 fi
30782 done
30783
30784 else
30785
30786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30787 $as_echo_n "checking for _expf declaration... " >&6; }
30788 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30789 if ${glibcxx_cv_func__expf_use+:} false; then :
30790 $as_echo_n "(cached) " >&6
30791 else
30792
30793
30794 ac_ext=cpp
30795 ac_cpp='$CXXCPP $CPPFLAGS'
30796 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30797 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30798 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30799
30800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30801 /* end confdefs.h. */
30802 #include <math.h>
30803 #ifdef HAVE_IEEEFP_H
30804 #include <ieeefp.h>
30805 #endif
30806
30807 int
30808 main ()
30809 {
30810 _expf(0);
30811 ;
30812 return 0;
30813 }
30814 _ACEOF
30815 if ac_fn_cxx_try_compile "$LINENO"; then :
30816 glibcxx_cv_func__expf_use=yes
30817 else
30818 glibcxx_cv_func__expf_use=no
30819 fi
30820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30821 ac_ext=c
30822 ac_cpp='$CPP $CPPFLAGS'
30823 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30824 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30825 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30826
30827
30828 fi
30829
30830 fi
30831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30832 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30833
30834 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30835 for ac_func in _expf
30836 do :
30837 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30838 if test "x$ac_cv_func__expf" = xyes; then :
30839 cat >>confdefs.h <<_ACEOF
30840 #define HAVE__EXPF 1
30841 _ACEOF
30842
30843 fi
30844 done
30845
30846 fi
30847 fi
30848
30849
30850
30851
30852
30853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30854 $as_echo_n "checking for isnanf declaration... " >&6; }
30855 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30856 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30857 $as_echo_n "(cached) " >&6
30858 else
30859
30860
30861 ac_ext=cpp
30862 ac_cpp='$CXXCPP $CPPFLAGS'
30863 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30864 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30865 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30866
30867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30868 /* end confdefs.h. */
30869 #include <math.h>
30870 #ifdef HAVE_IEEEFP_H
30871 #include <ieeefp.h>
30872 #endif
30873
30874 int
30875 main ()
30876 {
30877 isnanf(0);
30878 ;
30879 return 0;
30880 }
30881 _ACEOF
30882 if ac_fn_cxx_try_compile "$LINENO"; then :
30883 glibcxx_cv_func_isnanf_use=yes
30884 else
30885 glibcxx_cv_func_isnanf_use=no
30886 fi
30887 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30888 ac_ext=c
30889 ac_cpp='$CPP $CPPFLAGS'
30890 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30891 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30892 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30893
30894
30895 fi
30896
30897 fi
30898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30899 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30900
30901 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30902 for ac_func in isnanf
30903 do :
30904 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30905 if test "x$ac_cv_func_isnanf" = xyes; then :
30906 cat >>confdefs.h <<_ACEOF
30907 #define HAVE_ISNANF 1
30908 _ACEOF
30909
30910 fi
30911 done
30912
30913 else
30914
30915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30916 $as_echo_n "checking for _isnanf declaration... " >&6; }
30917 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30918 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30919 $as_echo_n "(cached) " >&6
30920 else
30921
30922
30923 ac_ext=cpp
30924 ac_cpp='$CXXCPP $CPPFLAGS'
30925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30928
30929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30930 /* end confdefs.h. */
30931 #include <math.h>
30932 #ifdef HAVE_IEEEFP_H
30933 #include <ieeefp.h>
30934 #endif
30935
30936 int
30937 main ()
30938 {
30939 _isnanf(0);
30940 ;
30941 return 0;
30942 }
30943 _ACEOF
30944 if ac_fn_cxx_try_compile "$LINENO"; then :
30945 glibcxx_cv_func__isnanf_use=yes
30946 else
30947 glibcxx_cv_func__isnanf_use=no
30948 fi
30949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30950 ac_ext=c
30951 ac_cpp='$CPP $CPPFLAGS'
30952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30955
30956
30957 fi
30958
30959 fi
30960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30961 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30962
30963 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30964 for ac_func in _isnanf
30965 do :
30966 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30967 if test "x$ac_cv_func__isnanf" = xyes; then :
30968 cat >>confdefs.h <<_ACEOF
30969 #define HAVE__ISNANF 1
30970 _ACEOF
30971
30972 fi
30973 done
30974
30975 fi
30976 fi
30977
30978
30979
30980
30981
30982 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30983 $as_echo_n "checking for isinff declaration... " >&6; }
30984 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30985 if ${glibcxx_cv_func_isinff_use+:} false; then :
30986 $as_echo_n "(cached) " >&6
30987 else
30988
30989
30990 ac_ext=cpp
30991 ac_cpp='$CXXCPP $CPPFLAGS'
30992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30995
30996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30997 /* end confdefs.h. */
30998 #include <math.h>
30999 #ifdef HAVE_IEEEFP_H
31000 #include <ieeefp.h>
31001 #endif
31002
31003 int
31004 main ()
31005 {
31006 isinff(0);
31007 ;
31008 return 0;
31009 }
31010 _ACEOF
31011 if ac_fn_cxx_try_compile "$LINENO"; then :
31012 glibcxx_cv_func_isinff_use=yes
31013 else
31014 glibcxx_cv_func_isinff_use=no
31015 fi
31016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31017 ac_ext=c
31018 ac_cpp='$CPP $CPPFLAGS'
31019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31022
31023
31024 fi
31025
31026 fi
31027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
31028 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
31029
31030 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
31031 for ac_func in isinff
31032 do :
31033 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
31034 if test "x$ac_cv_func_isinff" = xyes; then :
31035 cat >>confdefs.h <<_ACEOF
31036 #define HAVE_ISINFF 1
31037 _ACEOF
31038
31039 fi
31040 done
31041
31042 else
31043
31044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
31045 $as_echo_n "checking for _isinff declaration... " >&6; }
31046 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
31047 if ${glibcxx_cv_func__isinff_use+:} false; then :
31048 $as_echo_n "(cached) " >&6
31049 else
31050
31051
31052 ac_ext=cpp
31053 ac_cpp='$CXXCPP $CPPFLAGS'
31054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31057
31058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31059 /* end confdefs.h. */
31060 #include <math.h>
31061 #ifdef HAVE_IEEEFP_H
31062 #include <ieeefp.h>
31063 #endif
31064
31065 int
31066 main ()
31067 {
31068 _isinff(0);
31069 ;
31070 return 0;
31071 }
31072 _ACEOF
31073 if ac_fn_cxx_try_compile "$LINENO"; then :
31074 glibcxx_cv_func__isinff_use=yes
31075 else
31076 glibcxx_cv_func__isinff_use=no
31077 fi
31078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31079 ac_ext=c
31080 ac_cpp='$CPP $CPPFLAGS'
31081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31084
31085
31086 fi
31087
31088 fi
31089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
31090 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
31091
31092 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
31093 for ac_func in _isinff
31094 do :
31095 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
31096 if test "x$ac_cv_func__isinff" = xyes; then :
31097 cat >>confdefs.h <<_ACEOF
31098 #define HAVE__ISINFF 1
31099 _ACEOF
31100
31101 fi
31102 done
31103
31104 fi
31105 fi
31106
31107
31108
31109
31110
31111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
31112 $as_echo_n "checking for atan2f declaration... " >&6; }
31113 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
31114 if ${glibcxx_cv_func_atan2f_use+:} false; then :
31115 $as_echo_n "(cached) " >&6
31116 else
31117
31118
31119 ac_ext=cpp
31120 ac_cpp='$CXXCPP $CPPFLAGS'
31121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31124
31125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31126 /* end confdefs.h. */
31127 #include <math.h>
31128 int
31129 main ()
31130 {
31131 atan2f(0, 0);
31132 ;
31133 return 0;
31134 }
31135 _ACEOF
31136 if ac_fn_cxx_try_compile "$LINENO"; then :
31137 glibcxx_cv_func_atan2f_use=yes
31138 else
31139 glibcxx_cv_func_atan2f_use=no
31140 fi
31141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31142 ac_ext=c
31143 ac_cpp='$CPP $CPPFLAGS'
31144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31147
31148
31149 fi
31150
31151 fi
31152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31153 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31154
31155 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31156 for ac_func in atan2f
31157 do :
31158 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31159 if test "x$ac_cv_func_atan2f" = xyes; then :
31160 cat >>confdefs.h <<_ACEOF
31161 #define HAVE_ATAN2F 1
31162 _ACEOF
31163
31164 fi
31165 done
31166
31167 else
31168
31169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31170 $as_echo_n "checking for _atan2f declaration... " >&6; }
31171 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31172 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31173 $as_echo_n "(cached) " >&6
31174 else
31175
31176
31177 ac_ext=cpp
31178 ac_cpp='$CXXCPP $CPPFLAGS'
31179 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31180 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31181 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31182
31183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31184 /* end confdefs.h. */
31185 #include <math.h>
31186 int
31187 main ()
31188 {
31189 _atan2f(0, 0);
31190 ;
31191 return 0;
31192 }
31193 _ACEOF
31194 if ac_fn_cxx_try_compile "$LINENO"; then :
31195 glibcxx_cv_func__atan2f_use=yes
31196 else
31197 glibcxx_cv_func__atan2f_use=no
31198 fi
31199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31200 ac_ext=c
31201 ac_cpp='$CPP $CPPFLAGS'
31202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31205
31206
31207 fi
31208
31209 fi
31210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31211 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31212
31213 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31214 for ac_func in _atan2f
31215 do :
31216 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31217 if test "x$ac_cv_func__atan2f" = xyes; then :
31218 cat >>confdefs.h <<_ACEOF
31219 #define HAVE__ATAN2F 1
31220 _ACEOF
31221
31222 fi
31223 done
31224
31225 fi
31226 fi
31227
31228
31229
31230
31231
31232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31233 $as_echo_n "checking for fabsf declaration... " >&6; }
31234 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31235 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31236 $as_echo_n "(cached) " >&6
31237 else
31238
31239
31240 ac_ext=cpp
31241 ac_cpp='$CXXCPP $CPPFLAGS'
31242 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31243 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31244 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31245
31246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31247 /* end confdefs.h. */
31248 #include <math.h>
31249 #ifdef HAVE_IEEEFP_H
31250 #include <ieeefp.h>
31251 #endif
31252
31253 int
31254 main ()
31255 {
31256 fabsf(0);
31257 ;
31258 return 0;
31259 }
31260 _ACEOF
31261 if ac_fn_cxx_try_compile "$LINENO"; then :
31262 glibcxx_cv_func_fabsf_use=yes
31263 else
31264 glibcxx_cv_func_fabsf_use=no
31265 fi
31266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31267 ac_ext=c
31268 ac_cpp='$CPP $CPPFLAGS'
31269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31272
31273
31274 fi
31275
31276 fi
31277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31278 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31279
31280 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31281 for ac_func in fabsf
31282 do :
31283 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31284 if test "x$ac_cv_func_fabsf" = xyes; then :
31285 cat >>confdefs.h <<_ACEOF
31286 #define HAVE_FABSF 1
31287 _ACEOF
31288
31289 fi
31290 done
31291
31292 else
31293
31294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31295 $as_echo_n "checking for _fabsf declaration... " >&6; }
31296 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31297 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31298 $as_echo_n "(cached) " >&6
31299 else
31300
31301
31302 ac_ext=cpp
31303 ac_cpp='$CXXCPP $CPPFLAGS'
31304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31307
31308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31309 /* end confdefs.h. */
31310 #include <math.h>
31311 #ifdef HAVE_IEEEFP_H
31312 #include <ieeefp.h>
31313 #endif
31314
31315 int
31316 main ()
31317 {
31318 _fabsf(0);
31319 ;
31320 return 0;
31321 }
31322 _ACEOF
31323 if ac_fn_cxx_try_compile "$LINENO"; then :
31324 glibcxx_cv_func__fabsf_use=yes
31325 else
31326 glibcxx_cv_func__fabsf_use=no
31327 fi
31328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31329 ac_ext=c
31330 ac_cpp='$CPP $CPPFLAGS'
31331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31334
31335
31336 fi
31337
31338 fi
31339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31340 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31341
31342 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31343 for ac_func in _fabsf
31344 do :
31345 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31346 if test "x$ac_cv_func__fabsf" = xyes; then :
31347 cat >>confdefs.h <<_ACEOF
31348 #define HAVE__FABSF 1
31349 _ACEOF
31350
31351 fi
31352 done
31353
31354 fi
31355 fi
31356
31357
31358
31359
31360
31361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31362 $as_echo_n "checking for fmodf declaration... " >&6; }
31363 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31364 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31365 $as_echo_n "(cached) " >&6
31366 else
31367
31368
31369 ac_ext=cpp
31370 ac_cpp='$CXXCPP $CPPFLAGS'
31371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31374
31375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31376 /* end confdefs.h. */
31377 #include <math.h>
31378 int
31379 main ()
31380 {
31381 fmodf(0, 0);
31382 ;
31383 return 0;
31384 }
31385 _ACEOF
31386 if ac_fn_cxx_try_compile "$LINENO"; then :
31387 glibcxx_cv_func_fmodf_use=yes
31388 else
31389 glibcxx_cv_func_fmodf_use=no
31390 fi
31391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31392 ac_ext=c
31393 ac_cpp='$CPP $CPPFLAGS'
31394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31397
31398
31399 fi
31400
31401 fi
31402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31403 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31404
31405 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31406 for ac_func in fmodf
31407 do :
31408 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31409 if test "x$ac_cv_func_fmodf" = xyes; then :
31410 cat >>confdefs.h <<_ACEOF
31411 #define HAVE_FMODF 1
31412 _ACEOF
31413
31414 fi
31415 done
31416
31417 else
31418
31419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31420 $as_echo_n "checking for _fmodf declaration... " >&6; }
31421 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31422 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31423 $as_echo_n "(cached) " >&6
31424 else
31425
31426
31427 ac_ext=cpp
31428 ac_cpp='$CXXCPP $CPPFLAGS'
31429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31432
31433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31434 /* end confdefs.h. */
31435 #include <math.h>
31436 int
31437 main ()
31438 {
31439 _fmodf(0, 0);
31440 ;
31441 return 0;
31442 }
31443 _ACEOF
31444 if ac_fn_cxx_try_compile "$LINENO"; then :
31445 glibcxx_cv_func__fmodf_use=yes
31446 else
31447 glibcxx_cv_func__fmodf_use=no
31448 fi
31449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31450 ac_ext=c
31451 ac_cpp='$CPP $CPPFLAGS'
31452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31455
31456
31457 fi
31458
31459 fi
31460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31461 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31462
31463 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31464 for ac_func in _fmodf
31465 do :
31466 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31467 if test "x$ac_cv_func__fmodf" = xyes; then :
31468 cat >>confdefs.h <<_ACEOF
31469 #define HAVE__FMODF 1
31470 _ACEOF
31471
31472 fi
31473 done
31474
31475 fi
31476 fi
31477
31478
31479
31480
31481
31482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31483 $as_echo_n "checking for frexpf declaration... " >&6; }
31484 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31485 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31486 $as_echo_n "(cached) " >&6
31487 else
31488
31489
31490 ac_ext=cpp
31491 ac_cpp='$CXXCPP $CPPFLAGS'
31492 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31493 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31494 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31495
31496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31497 /* end confdefs.h. */
31498 #include <math.h>
31499 int
31500 main ()
31501 {
31502 frexpf(0, 0);
31503 ;
31504 return 0;
31505 }
31506 _ACEOF
31507 if ac_fn_cxx_try_compile "$LINENO"; then :
31508 glibcxx_cv_func_frexpf_use=yes
31509 else
31510 glibcxx_cv_func_frexpf_use=no
31511 fi
31512 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31513 ac_ext=c
31514 ac_cpp='$CPP $CPPFLAGS'
31515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31518
31519
31520 fi
31521
31522 fi
31523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31524 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31525
31526 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31527 for ac_func in frexpf
31528 do :
31529 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31530 if test "x$ac_cv_func_frexpf" = xyes; then :
31531 cat >>confdefs.h <<_ACEOF
31532 #define HAVE_FREXPF 1
31533 _ACEOF
31534
31535 fi
31536 done
31537
31538 else
31539
31540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31541 $as_echo_n "checking for _frexpf declaration... " >&6; }
31542 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31543 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31544 $as_echo_n "(cached) " >&6
31545 else
31546
31547
31548 ac_ext=cpp
31549 ac_cpp='$CXXCPP $CPPFLAGS'
31550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31553
31554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31555 /* end confdefs.h. */
31556 #include <math.h>
31557 int
31558 main ()
31559 {
31560 _frexpf(0, 0);
31561 ;
31562 return 0;
31563 }
31564 _ACEOF
31565 if ac_fn_cxx_try_compile "$LINENO"; then :
31566 glibcxx_cv_func__frexpf_use=yes
31567 else
31568 glibcxx_cv_func__frexpf_use=no
31569 fi
31570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31571 ac_ext=c
31572 ac_cpp='$CPP $CPPFLAGS'
31573 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31574 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31575 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31576
31577
31578 fi
31579
31580 fi
31581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31582 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31583
31584 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31585 for ac_func in _frexpf
31586 do :
31587 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31588 if test "x$ac_cv_func__frexpf" = xyes; then :
31589 cat >>confdefs.h <<_ACEOF
31590 #define HAVE__FREXPF 1
31591 _ACEOF
31592
31593 fi
31594 done
31595
31596 fi
31597 fi
31598
31599
31600
31601
31602
31603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31604 $as_echo_n "checking for hypotf declaration... " >&6; }
31605 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31606 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31607 $as_echo_n "(cached) " >&6
31608 else
31609
31610
31611 ac_ext=cpp
31612 ac_cpp='$CXXCPP $CPPFLAGS'
31613 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31614 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31615 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31616
31617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31618 /* end confdefs.h. */
31619 #include <math.h>
31620 int
31621 main ()
31622 {
31623 hypotf(0, 0);
31624 ;
31625 return 0;
31626 }
31627 _ACEOF
31628 if ac_fn_cxx_try_compile "$LINENO"; then :
31629 glibcxx_cv_func_hypotf_use=yes
31630 else
31631 glibcxx_cv_func_hypotf_use=no
31632 fi
31633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31634 ac_ext=c
31635 ac_cpp='$CPP $CPPFLAGS'
31636 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31637 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31638 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31639
31640
31641 fi
31642
31643 fi
31644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31645 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31646
31647 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31648 for ac_func in hypotf
31649 do :
31650 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31651 if test "x$ac_cv_func_hypotf" = xyes; then :
31652 cat >>confdefs.h <<_ACEOF
31653 #define HAVE_HYPOTF 1
31654 _ACEOF
31655
31656 fi
31657 done
31658
31659 else
31660
31661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31662 $as_echo_n "checking for _hypotf declaration... " >&6; }
31663 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31664 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31665 $as_echo_n "(cached) " >&6
31666 else
31667
31668
31669 ac_ext=cpp
31670 ac_cpp='$CXXCPP $CPPFLAGS'
31671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31674
31675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31676 /* end confdefs.h. */
31677 #include <math.h>
31678 int
31679 main ()
31680 {
31681 _hypotf(0, 0);
31682 ;
31683 return 0;
31684 }
31685 _ACEOF
31686 if ac_fn_cxx_try_compile "$LINENO"; then :
31687 glibcxx_cv_func__hypotf_use=yes
31688 else
31689 glibcxx_cv_func__hypotf_use=no
31690 fi
31691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31692 ac_ext=c
31693 ac_cpp='$CPP $CPPFLAGS'
31694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31697
31698
31699 fi
31700
31701 fi
31702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31703 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31704
31705 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31706 for ac_func in _hypotf
31707 do :
31708 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31709 if test "x$ac_cv_func__hypotf" = xyes; then :
31710 cat >>confdefs.h <<_ACEOF
31711 #define HAVE__HYPOTF 1
31712 _ACEOF
31713
31714 fi
31715 done
31716
31717 fi
31718 fi
31719
31720
31721
31722
31723
31724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31725 $as_echo_n "checking for ldexpf declaration... " >&6; }
31726 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31727 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31728 $as_echo_n "(cached) " >&6
31729 else
31730
31731
31732 ac_ext=cpp
31733 ac_cpp='$CXXCPP $CPPFLAGS'
31734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31737
31738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31739 /* end confdefs.h. */
31740 #include <math.h>
31741 int
31742 main ()
31743 {
31744 ldexpf(0, 0);
31745 ;
31746 return 0;
31747 }
31748 _ACEOF
31749 if ac_fn_cxx_try_compile "$LINENO"; then :
31750 glibcxx_cv_func_ldexpf_use=yes
31751 else
31752 glibcxx_cv_func_ldexpf_use=no
31753 fi
31754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31755 ac_ext=c
31756 ac_cpp='$CPP $CPPFLAGS'
31757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31760
31761
31762 fi
31763
31764 fi
31765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31766 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31767
31768 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31769 for ac_func in ldexpf
31770 do :
31771 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31772 if test "x$ac_cv_func_ldexpf" = xyes; then :
31773 cat >>confdefs.h <<_ACEOF
31774 #define HAVE_LDEXPF 1
31775 _ACEOF
31776
31777 fi
31778 done
31779
31780 else
31781
31782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31783 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31784 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31785 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31786 $as_echo_n "(cached) " >&6
31787 else
31788
31789
31790 ac_ext=cpp
31791 ac_cpp='$CXXCPP $CPPFLAGS'
31792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31795
31796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31797 /* end confdefs.h. */
31798 #include <math.h>
31799 int
31800 main ()
31801 {
31802 _ldexpf(0, 0);
31803 ;
31804 return 0;
31805 }
31806 _ACEOF
31807 if ac_fn_cxx_try_compile "$LINENO"; then :
31808 glibcxx_cv_func__ldexpf_use=yes
31809 else
31810 glibcxx_cv_func__ldexpf_use=no
31811 fi
31812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31813 ac_ext=c
31814 ac_cpp='$CPP $CPPFLAGS'
31815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31818
31819
31820 fi
31821
31822 fi
31823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31824 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31825
31826 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31827 for ac_func in _ldexpf
31828 do :
31829 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31830 if test "x$ac_cv_func__ldexpf" = xyes; then :
31831 cat >>confdefs.h <<_ACEOF
31832 #define HAVE__LDEXPF 1
31833 _ACEOF
31834
31835 fi
31836 done
31837
31838 fi
31839 fi
31840
31841
31842
31843
31844
31845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31846 $as_echo_n "checking for logf declaration... " >&6; }
31847 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31848 if ${glibcxx_cv_func_logf_use+:} false; then :
31849 $as_echo_n "(cached) " >&6
31850 else
31851
31852
31853 ac_ext=cpp
31854 ac_cpp='$CXXCPP $CPPFLAGS'
31855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31858
31859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31860 /* end confdefs.h. */
31861 #include <math.h>
31862 #ifdef HAVE_IEEEFP_H
31863 #include <ieeefp.h>
31864 #endif
31865
31866 int
31867 main ()
31868 {
31869 logf(0);
31870 ;
31871 return 0;
31872 }
31873 _ACEOF
31874 if ac_fn_cxx_try_compile "$LINENO"; then :
31875 glibcxx_cv_func_logf_use=yes
31876 else
31877 glibcxx_cv_func_logf_use=no
31878 fi
31879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31880 ac_ext=c
31881 ac_cpp='$CPP $CPPFLAGS'
31882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31885
31886
31887 fi
31888
31889 fi
31890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31891 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31892
31893 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31894 for ac_func in logf
31895 do :
31896 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31897 if test "x$ac_cv_func_logf" = xyes; then :
31898 cat >>confdefs.h <<_ACEOF
31899 #define HAVE_LOGF 1
31900 _ACEOF
31901
31902 fi
31903 done
31904
31905 else
31906
31907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31908 $as_echo_n "checking for _logf declaration... " >&6; }
31909 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31910 if ${glibcxx_cv_func__logf_use+:} false; then :
31911 $as_echo_n "(cached) " >&6
31912 else
31913
31914
31915 ac_ext=cpp
31916 ac_cpp='$CXXCPP $CPPFLAGS'
31917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31920
31921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31922 /* end confdefs.h. */
31923 #include <math.h>
31924 #ifdef HAVE_IEEEFP_H
31925 #include <ieeefp.h>
31926 #endif
31927
31928 int
31929 main ()
31930 {
31931 _logf(0);
31932 ;
31933 return 0;
31934 }
31935 _ACEOF
31936 if ac_fn_cxx_try_compile "$LINENO"; then :
31937 glibcxx_cv_func__logf_use=yes
31938 else
31939 glibcxx_cv_func__logf_use=no
31940 fi
31941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31942 ac_ext=c
31943 ac_cpp='$CPP $CPPFLAGS'
31944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31947
31948
31949 fi
31950
31951 fi
31952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31953 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31954
31955 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31956 for ac_func in _logf
31957 do :
31958 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31959 if test "x$ac_cv_func__logf" = xyes; then :
31960 cat >>confdefs.h <<_ACEOF
31961 #define HAVE__LOGF 1
31962 _ACEOF
31963
31964 fi
31965 done
31966
31967 fi
31968 fi
31969
31970
31971
31972
31973
31974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31975 $as_echo_n "checking for log10f declaration... " >&6; }
31976 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31977 if ${glibcxx_cv_func_log10f_use+:} false; then :
31978 $as_echo_n "(cached) " >&6
31979 else
31980
31981
31982 ac_ext=cpp
31983 ac_cpp='$CXXCPP $CPPFLAGS'
31984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31987
31988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31989 /* end confdefs.h. */
31990 #include <math.h>
31991 #ifdef HAVE_IEEEFP_H
31992 #include <ieeefp.h>
31993 #endif
31994
31995 int
31996 main ()
31997 {
31998 log10f(0);
31999 ;
32000 return 0;
32001 }
32002 _ACEOF
32003 if ac_fn_cxx_try_compile "$LINENO"; then :
32004 glibcxx_cv_func_log10f_use=yes
32005 else
32006 glibcxx_cv_func_log10f_use=no
32007 fi
32008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32009 ac_ext=c
32010 ac_cpp='$CPP $CPPFLAGS'
32011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32014
32015
32016 fi
32017
32018 fi
32019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
32020 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
32021
32022 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
32023 for ac_func in log10f
32024 do :
32025 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
32026 if test "x$ac_cv_func_log10f" = xyes; then :
32027 cat >>confdefs.h <<_ACEOF
32028 #define HAVE_LOG10F 1
32029 _ACEOF
32030
32031 fi
32032 done
32033
32034 else
32035
32036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
32037 $as_echo_n "checking for _log10f declaration... " >&6; }
32038 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
32039 if ${glibcxx_cv_func__log10f_use+:} false; then :
32040 $as_echo_n "(cached) " >&6
32041 else
32042
32043
32044 ac_ext=cpp
32045 ac_cpp='$CXXCPP $CPPFLAGS'
32046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32049
32050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32051 /* end confdefs.h. */
32052 #include <math.h>
32053 #ifdef HAVE_IEEEFP_H
32054 #include <ieeefp.h>
32055 #endif
32056
32057 int
32058 main ()
32059 {
32060 _log10f(0);
32061 ;
32062 return 0;
32063 }
32064 _ACEOF
32065 if ac_fn_cxx_try_compile "$LINENO"; then :
32066 glibcxx_cv_func__log10f_use=yes
32067 else
32068 glibcxx_cv_func__log10f_use=no
32069 fi
32070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32071 ac_ext=c
32072 ac_cpp='$CPP $CPPFLAGS'
32073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32076
32077
32078 fi
32079
32080 fi
32081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
32082 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
32083
32084 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
32085 for ac_func in _log10f
32086 do :
32087 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
32088 if test "x$ac_cv_func__log10f" = xyes; then :
32089 cat >>confdefs.h <<_ACEOF
32090 #define HAVE__LOG10F 1
32091 _ACEOF
32092
32093 fi
32094 done
32095
32096 fi
32097 fi
32098
32099
32100
32101
32102
32103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
32104 $as_echo_n "checking for modff declaration... " >&6; }
32105 if test x${glibcxx_cv_func_modff_use+set} != xset; then
32106 if ${glibcxx_cv_func_modff_use+:} false; then :
32107 $as_echo_n "(cached) " >&6
32108 else
32109
32110
32111 ac_ext=cpp
32112 ac_cpp='$CXXCPP $CPPFLAGS'
32113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32116
32117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32118 /* end confdefs.h. */
32119 #include <math.h>
32120 int
32121 main ()
32122 {
32123 modff(0, 0);
32124 ;
32125 return 0;
32126 }
32127 _ACEOF
32128 if ac_fn_cxx_try_compile "$LINENO"; then :
32129 glibcxx_cv_func_modff_use=yes
32130 else
32131 glibcxx_cv_func_modff_use=no
32132 fi
32133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32134 ac_ext=c
32135 ac_cpp='$CPP $CPPFLAGS'
32136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32139
32140
32141 fi
32142
32143 fi
32144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
32145 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
32146
32147 if test x$glibcxx_cv_func_modff_use = x"yes"; then
32148 for ac_func in modff
32149 do :
32150 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
32151 if test "x$ac_cv_func_modff" = xyes; then :
32152 cat >>confdefs.h <<_ACEOF
32153 #define HAVE_MODFF 1
32154 _ACEOF
32155
32156 fi
32157 done
32158
32159 else
32160
32161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32162 $as_echo_n "checking for _modff declaration... " >&6; }
32163 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32164 if ${glibcxx_cv_func__modff_use+:} false; then :
32165 $as_echo_n "(cached) " >&6
32166 else
32167
32168
32169 ac_ext=cpp
32170 ac_cpp='$CXXCPP $CPPFLAGS'
32171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32174
32175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32176 /* end confdefs.h. */
32177 #include <math.h>
32178 int
32179 main ()
32180 {
32181 _modff(0, 0);
32182 ;
32183 return 0;
32184 }
32185 _ACEOF
32186 if ac_fn_cxx_try_compile "$LINENO"; then :
32187 glibcxx_cv_func__modff_use=yes
32188 else
32189 glibcxx_cv_func__modff_use=no
32190 fi
32191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32192 ac_ext=c
32193 ac_cpp='$CPP $CPPFLAGS'
32194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32197
32198
32199 fi
32200
32201 fi
32202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32203 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32204
32205 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32206 for ac_func in _modff
32207 do :
32208 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32209 if test "x$ac_cv_func__modff" = xyes; then :
32210 cat >>confdefs.h <<_ACEOF
32211 #define HAVE__MODFF 1
32212 _ACEOF
32213
32214 fi
32215 done
32216
32217 fi
32218 fi
32219
32220
32221
32222
32223
32224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32225 $as_echo_n "checking for modf declaration... " >&6; }
32226 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32227 if ${glibcxx_cv_func_modf_use+:} false; then :
32228 $as_echo_n "(cached) " >&6
32229 else
32230
32231
32232 ac_ext=cpp
32233 ac_cpp='$CXXCPP $CPPFLAGS'
32234 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32235 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32236 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32237
32238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32239 /* end confdefs.h. */
32240 #include <math.h>
32241 int
32242 main ()
32243 {
32244 modf(0, 0);
32245 ;
32246 return 0;
32247 }
32248 _ACEOF
32249 if ac_fn_cxx_try_compile "$LINENO"; then :
32250 glibcxx_cv_func_modf_use=yes
32251 else
32252 glibcxx_cv_func_modf_use=no
32253 fi
32254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32255 ac_ext=c
32256 ac_cpp='$CPP $CPPFLAGS'
32257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32260
32261
32262 fi
32263
32264 fi
32265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32266 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32267
32268 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32269 for ac_func in modf
32270 do :
32271 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32272 if test "x$ac_cv_func_modf" = xyes; then :
32273 cat >>confdefs.h <<_ACEOF
32274 #define HAVE_MODF 1
32275 _ACEOF
32276
32277 fi
32278 done
32279
32280 else
32281
32282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32283 $as_echo_n "checking for _modf declaration... " >&6; }
32284 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32285 if ${glibcxx_cv_func__modf_use+:} false; then :
32286 $as_echo_n "(cached) " >&6
32287 else
32288
32289
32290 ac_ext=cpp
32291 ac_cpp='$CXXCPP $CPPFLAGS'
32292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32295
32296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32297 /* end confdefs.h. */
32298 #include <math.h>
32299 int
32300 main ()
32301 {
32302 _modf(0, 0);
32303 ;
32304 return 0;
32305 }
32306 _ACEOF
32307 if ac_fn_cxx_try_compile "$LINENO"; then :
32308 glibcxx_cv_func__modf_use=yes
32309 else
32310 glibcxx_cv_func__modf_use=no
32311 fi
32312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32313 ac_ext=c
32314 ac_cpp='$CPP $CPPFLAGS'
32315 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32316 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32317 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32318
32319
32320 fi
32321
32322 fi
32323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32324 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32325
32326 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32327 for ac_func in _modf
32328 do :
32329 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32330 if test "x$ac_cv_func__modf" = xyes; then :
32331 cat >>confdefs.h <<_ACEOF
32332 #define HAVE__MODF 1
32333 _ACEOF
32334
32335 fi
32336 done
32337
32338 fi
32339 fi
32340
32341
32342
32343
32344
32345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32346 $as_echo_n "checking for powf declaration... " >&6; }
32347 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32348 if ${glibcxx_cv_func_powf_use+:} false; then :
32349 $as_echo_n "(cached) " >&6
32350 else
32351
32352
32353 ac_ext=cpp
32354 ac_cpp='$CXXCPP $CPPFLAGS'
32355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32358
32359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32360 /* end confdefs.h. */
32361 #include <math.h>
32362 int
32363 main ()
32364 {
32365 powf(0, 0);
32366 ;
32367 return 0;
32368 }
32369 _ACEOF
32370 if ac_fn_cxx_try_compile "$LINENO"; then :
32371 glibcxx_cv_func_powf_use=yes
32372 else
32373 glibcxx_cv_func_powf_use=no
32374 fi
32375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32376 ac_ext=c
32377 ac_cpp='$CPP $CPPFLAGS'
32378 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32379 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32380 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32381
32382
32383 fi
32384
32385 fi
32386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32387 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32388
32389 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32390 for ac_func in powf
32391 do :
32392 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32393 if test "x$ac_cv_func_powf" = xyes; then :
32394 cat >>confdefs.h <<_ACEOF
32395 #define HAVE_POWF 1
32396 _ACEOF
32397
32398 fi
32399 done
32400
32401 else
32402
32403 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32404 $as_echo_n "checking for _powf declaration... " >&6; }
32405 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32406 if ${glibcxx_cv_func__powf_use+:} false; then :
32407 $as_echo_n "(cached) " >&6
32408 else
32409
32410
32411 ac_ext=cpp
32412 ac_cpp='$CXXCPP $CPPFLAGS'
32413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32416
32417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32418 /* end confdefs.h. */
32419 #include <math.h>
32420 int
32421 main ()
32422 {
32423 _powf(0, 0);
32424 ;
32425 return 0;
32426 }
32427 _ACEOF
32428 if ac_fn_cxx_try_compile "$LINENO"; then :
32429 glibcxx_cv_func__powf_use=yes
32430 else
32431 glibcxx_cv_func__powf_use=no
32432 fi
32433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32434 ac_ext=c
32435 ac_cpp='$CPP $CPPFLAGS'
32436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32439
32440
32441 fi
32442
32443 fi
32444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32445 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32446
32447 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32448 for ac_func in _powf
32449 do :
32450 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32451 if test "x$ac_cv_func__powf" = xyes; then :
32452 cat >>confdefs.h <<_ACEOF
32453 #define HAVE__POWF 1
32454 _ACEOF
32455
32456 fi
32457 done
32458
32459 fi
32460 fi
32461
32462
32463
32464
32465
32466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32467 $as_echo_n "checking for sqrtf declaration... " >&6; }
32468 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32469 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32470 $as_echo_n "(cached) " >&6
32471 else
32472
32473
32474 ac_ext=cpp
32475 ac_cpp='$CXXCPP $CPPFLAGS'
32476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32479
32480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32481 /* end confdefs.h. */
32482 #include <math.h>
32483 #ifdef HAVE_IEEEFP_H
32484 #include <ieeefp.h>
32485 #endif
32486
32487 int
32488 main ()
32489 {
32490 sqrtf(0);
32491 ;
32492 return 0;
32493 }
32494 _ACEOF
32495 if ac_fn_cxx_try_compile "$LINENO"; then :
32496 glibcxx_cv_func_sqrtf_use=yes
32497 else
32498 glibcxx_cv_func_sqrtf_use=no
32499 fi
32500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32501 ac_ext=c
32502 ac_cpp='$CPP $CPPFLAGS'
32503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32506
32507
32508 fi
32509
32510 fi
32511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32512 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32513
32514 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32515 for ac_func in sqrtf
32516 do :
32517 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32518 if test "x$ac_cv_func_sqrtf" = xyes; then :
32519 cat >>confdefs.h <<_ACEOF
32520 #define HAVE_SQRTF 1
32521 _ACEOF
32522
32523 fi
32524 done
32525
32526 else
32527
32528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32529 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32530 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32531 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32532 $as_echo_n "(cached) " >&6
32533 else
32534
32535
32536 ac_ext=cpp
32537 ac_cpp='$CXXCPP $CPPFLAGS'
32538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32541
32542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32543 /* end confdefs.h. */
32544 #include <math.h>
32545 #ifdef HAVE_IEEEFP_H
32546 #include <ieeefp.h>
32547 #endif
32548
32549 int
32550 main ()
32551 {
32552 _sqrtf(0);
32553 ;
32554 return 0;
32555 }
32556 _ACEOF
32557 if ac_fn_cxx_try_compile "$LINENO"; then :
32558 glibcxx_cv_func__sqrtf_use=yes
32559 else
32560 glibcxx_cv_func__sqrtf_use=no
32561 fi
32562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32563 ac_ext=c
32564 ac_cpp='$CPP $CPPFLAGS'
32565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32568
32569
32570 fi
32571
32572 fi
32573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32574 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32575
32576 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32577 for ac_func in _sqrtf
32578 do :
32579 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32580 if test "x$ac_cv_func__sqrtf" = xyes; then :
32581 cat >>confdefs.h <<_ACEOF
32582 #define HAVE__SQRTF 1
32583 _ACEOF
32584
32585 fi
32586 done
32587
32588 fi
32589 fi
32590
32591
32592
32593
32594
32595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32596 $as_echo_n "checking for sincosf declaration... " >&6; }
32597 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32598 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32599 $as_echo_n "(cached) " >&6
32600 else
32601
32602
32603 ac_ext=cpp
32604 ac_cpp='$CXXCPP $CPPFLAGS'
32605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32608
32609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32610 /* end confdefs.h. */
32611 #include <math.h>
32612 int
32613 main ()
32614 {
32615 sincosf(0, 0, 0);
32616 ;
32617 return 0;
32618 }
32619 _ACEOF
32620 if ac_fn_cxx_try_compile "$LINENO"; then :
32621 glibcxx_cv_func_sincosf_use=yes
32622 else
32623 glibcxx_cv_func_sincosf_use=no
32624 fi
32625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32626 ac_ext=c
32627 ac_cpp='$CPP $CPPFLAGS'
32628 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32629 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32630 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32631
32632
32633 fi
32634
32635 fi
32636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32637 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32638
32639 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32640 for ac_func in sincosf
32641 do :
32642 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32643 if test "x$ac_cv_func_sincosf" = xyes; then :
32644 cat >>confdefs.h <<_ACEOF
32645 #define HAVE_SINCOSF 1
32646 _ACEOF
32647
32648 fi
32649 done
32650
32651 else
32652
32653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32654 $as_echo_n "checking for _sincosf declaration... " >&6; }
32655 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32656 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32657 $as_echo_n "(cached) " >&6
32658 else
32659
32660
32661 ac_ext=cpp
32662 ac_cpp='$CXXCPP $CPPFLAGS'
32663 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32664 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32665 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32666
32667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32668 /* end confdefs.h. */
32669 #include <math.h>
32670 int
32671 main ()
32672 {
32673 _sincosf(0, 0, 0);
32674 ;
32675 return 0;
32676 }
32677 _ACEOF
32678 if ac_fn_cxx_try_compile "$LINENO"; then :
32679 glibcxx_cv_func__sincosf_use=yes
32680 else
32681 glibcxx_cv_func__sincosf_use=no
32682 fi
32683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32684 ac_ext=c
32685 ac_cpp='$CPP $CPPFLAGS'
32686 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32687 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32688 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32689
32690
32691 fi
32692
32693 fi
32694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32695 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32696
32697 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32698 for ac_func in _sincosf
32699 do :
32700 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32701 if test "x$ac_cv_func__sincosf" = xyes; then :
32702 cat >>confdefs.h <<_ACEOF
32703 #define HAVE__SINCOSF 1
32704 _ACEOF
32705
32706 fi
32707 done
32708
32709 fi
32710 fi
32711
32712
32713
32714
32715
32716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32717 $as_echo_n "checking for finitef declaration... " >&6; }
32718 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32719 if ${glibcxx_cv_func_finitef_use+:} false; then :
32720 $as_echo_n "(cached) " >&6
32721 else
32722
32723
32724 ac_ext=cpp
32725 ac_cpp='$CXXCPP $CPPFLAGS'
32726 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32727 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32728 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32729
32730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32731 /* end confdefs.h. */
32732 #include <math.h>
32733 #ifdef HAVE_IEEEFP_H
32734 #include <ieeefp.h>
32735 #endif
32736
32737 int
32738 main ()
32739 {
32740 finitef(0);
32741 ;
32742 return 0;
32743 }
32744 _ACEOF
32745 if ac_fn_cxx_try_compile "$LINENO"; then :
32746 glibcxx_cv_func_finitef_use=yes
32747 else
32748 glibcxx_cv_func_finitef_use=no
32749 fi
32750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32751 ac_ext=c
32752 ac_cpp='$CPP $CPPFLAGS'
32753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32756
32757
32758 fi
32759
32760 fi
32761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32762 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32763
32764 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32765 for ac_func in finitef
32766 do :
32767 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32768 if test "x$ac_cv_func_finitef" = xyes; then :
32769 cat >>confdefs.h <<_ACEOF
32770 #define HAVE_FINITEF 1
32771 _ACEOF
32772
32773 fi
32774 done
32775
32776 else
32777
32778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32779 $as_echo_n "checking for _finitef declaration... " >&6; }
32780 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32781 if ${glibcxx_cv_func__finitef_use+:} false; then :
32782 $as_echo_n "(cached) " >&6
32783 else
32784
32785
32786 ac_ext=cpp
32787 ac_cpp='$CXXCPP $CPPFLAGS'
32788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32791
32792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32793 /* end confdefs.h. */
32794 #include <math.h>
32795 #ifdef HAVE_IEEEFP_H
32796 #include <ieeefp.h>
32797 #endif
32798
32799 int
32800 main ()
32801 {
32802 _finitef(0);
32803 ;
32804 return 0;
32805 }
32806 _ACEOF
32807 if ac_fn_cxx_try_compile "$LINENO"; then :
32808 glibcxx_cv_func__finitef_use=yes
32809 else
32810 glibcxx_cv_func__finitef_use=no
32811 fi
32812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32813 ac_ext=c
32814 ac_cpp='$CPP $CPPFLAGS'
32815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32818
32819
32820 fi
32821
32822 fi
32823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32824 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32825
32826 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32827 for ac_func in _finitef
32828 do :
32829 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32830 if test "x$ac_cv_func__finitef" = xyes; then :
32831 cat >>confdefs.h <<_ACEOF
32832 #define HAVE__FINITEF 1
32833 _ACEOF
32834
32835 fi
32836 done
32837
32838 fi
32839 fi
32840
32841
32842
32843
32844
32845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32846 $as_echo_n "checking for long double trig functions... " >&6; }
32847 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32848 $as_echo_n "(cached) " >&6
32849 else
32850
32851
32852 ac_ext=cpp
32853 ac_cpp='$CXXCPP $CPPFLAGS'
32854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32857
32858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32859 /* end confdefs.h. */
32860 #include <math.h>
32861 int
32862 main ()
32863 {
32864 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32865 ;
32866 return 0;
32867 }
32868 _ACEOF
32869 if ac_fn_cxx_try_compile "$LINENO"; then :
32870 glibcxx_cv_func_long_double_trig_use=yes
32871 else
32872 glibcxx_cv_func_long_double_trig_use=no
32873 fi
32874 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32875 ac_ext=c
32876 ac_cpp='$CPP $CPPFLAGS'
32877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32880
32881 fi
32882
32883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32884 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32885 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32886 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32887 do :
32888 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32889 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32890 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32891 cat >>confdefs.h <<_ACEOF
32892 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32893 _ACEOF
32894
32895 fi
32896 done
32897
32898 else
32899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32900 $as_echo_n "checking for _long double trig functions... " >&6; }
32901 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32902 $as_echo_n "(cached) " >&6
32903 else
32904
32905
32906 ac_ext=cpp
32907 ac_cpp='$CXXCPP $CPPFLAGS'
32908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32911
32912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32913 /* end confdefs.h. */
32914 #include <math.h>
32915 int
32916 main ()
32917 {
32918 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32919 ;
32920 return 0;
32921 }
32922 _ACEOF
32923 if ac_fn_cxx_try_compile "$LINENO"; then :
32924 glibcxx_cv_func__long_double_trig_use=yes
32925 else
32926 glibcxx_cv_func__long_double_trig_use=no
32927 fi
32928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32929 ac_ext=c
32930 ac_cpp='$CPP $CPPFLAGS'
32931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32934
32935 fi
32936
32937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32938 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32939 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32940 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32941 do :
32942 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32943 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32944 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32945 cat >>confdefs.h <<_ACEOF
32946 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32947 _ACEOF
32948
32949 fi
32950 done
32951
32952 fi
32953 fi
32954
32955
32956
32957
32958
32959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32960 $as_echo_n "checking for long double round functions... " >&6; }
32961 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32962 $as_echo_n "(cached) " >&6
32963 else
32964
32965
32966 ac_ext=cpp
32967 ac_cpp='$CXXCPP $CPPFLAGS'
32968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32971
32972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32973 /* end confdefs.h. */
32974 #include <math.h>
32975 int
32976 main ()
32977 {
32978 ceill (0); floorl (0);
32979 ;
32980 return 0;
32981 }
32982 _ACEOF
32983 if ac_fn_cxx_try_compile "$LINENO"; then :
32984 glibcxx_cv_func_long_double_round_use=yes
32985 else
32986 glibcxx_cv_func_long_double_round_use=no
32987 fi
32988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32989 ac_ext=c
32990 ac_cpp='$CPP $CPPFLAGS'
32991 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32992 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32993 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32994
32995 fi
32996
32997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32998 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32999 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
33000 for ac_func in ceill floorl
33001 do :
33002 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33003 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33004 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33005 cat >>confdefs.h <<_ACEOF
33006 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33007 _ACEOF
33008
33009 fi
33010 done
33011
33012 else
33013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
33014 $as_echo_n "checking for _long double round functions... " >&6; }
33015 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
33016 $as_echo_n "(cached) " >&6
33017 else
33018
33019
33020 ac_ext=cpp
33021 ac_cpp='$CXXCPP $CPPFLAGS'
33022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33025
33026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33027 /* end confdefs.h. */
33028 #include <math.h>
33029 int
33030 main ()
33031 {
33032 _ceill (0); _floorl (0);
33033 ;
33034 return 0;
33035 }
33036 _ACEOF
33037 if ac_fn_cxx_try_compile "$LINENO"; then :
33038 glibcxx_cv_func__long_double_round_use=yes
33039 else
33040 glibcxx_cv_func__long_double_round_use=no
33041 fi
33042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33043 ac_ext=c
33044 ac_cpp='$CPP $CPPFLAGS'
33045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33048
33049 fi
33050
33051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
33052 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
33053 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
33054 for ac_func in _ceill _floorl
33055 do :
33056 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
33057 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
33058 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
33059 cat >>confdefs.h <<_ACEOF
33060 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
33061 _ACEOF
33062
33063 fi
33064 done
33065
33066 fi
33067 fi
33068
33069
33070
33071
33072
33073
33074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
33075 $as_echo_n "checking for isnanl declaration... " >&6; }
33076 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
33077 if ${glibcxx_cv_func_isnanl_use+:} false; then :
33078 $as_echo_n "(cached) " >&6
33079 else
33080
33081
33082 ac_ext=cpp
33083 ac_cpp='$CXXCPP $CPPFLAGS'
33084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33087
33088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33089 /* end confdefs.h. */
33090 #include <math.h>
33091 #ifdef HAVE_IEEEFP_H
33092 #include <ieeefp.h>
33093 #endif
33094
33095 int
33096 main ()
33097 {
33098 isnanl(0);
33099 ;
33100 return 0;
33101 }
33102 _ACEOF
33103 if ac_fn_cxx_try_compile "$LINENO"; then :
33104 glibcxx_cv_func_isnanl_use=yes
33105 else
33106 glibcxx_cv_func_isnanl_use=no
33107 fi
33108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33109 ac_ext=c
33110 ac_cpp='$CPP $CPPFLAGS'
33111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33114
33115
33116 fi
33117
33118 fi
33119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
33120 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
33121
33122 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
33123 for ac_func in isnanl
33124 do :
33125 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
33126 if test "x$ac_cv_func_isnanl" = xyes; then :
33127 cat >>confdefs.h <<_ACEOF
33128 #define HAVE_ISNANL 1
33129 _ACEOF
33130
33131 fi
33132 done
33133
33134 else
33135
33136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
33137 $as_echo_n "checking for _isnanl declaration... " >&6; }
33138 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
33139 if ${glibcxx_cv_func__isnanl_use+:} false; then :
33140 $as_echo_n "(cached) " >&6
33141 else
33142
33143
33144 ac_ext=cpp
33145 ac_cpp='$CXXCPP $CPPFLAGS'
33146 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33147 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33148 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33149
33150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33151 /* end confdefs.h. */
33152 #include <math.h>
33153 #ifdef HAVE_IEEEFP_H
33154 #include <ieeefp.h>
33155 #endif
33156
33157 int
33158 main ()
33159 {
33160 _isnanl(0);
33161 ;
33162 return 0;
33163 }
33164 _ACEOF
33165 if ac_fn_cxx_try_compile "$LINENO"; then :
33166 glibcxx_cv_func__isnanl_use=yes
33167 else
33168 glibcxx_cv_func__isnanl_use=no
33169 fi
33170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33171 ac_ext=c
33172 ac_cpp='$CPP $CPPFLAGS'
33173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33176
33177
33178 fi
33179
33180 fi
33181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33182 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33183
33184 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33185 for ac_func in _isnanl
33186 do :
33187 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33188 if test "x$ac_cv_func__isnanl" = xyes; then :
33189 cat >>confdefs.h <<_ACEOF
33190 #define HAVE__ISNANL 1
33191 _ACEOF
33192
33193 fi
33194 done
33195
33196 fi
33197 fi
33198
33199
33200
33201
33202
33203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33204 $as_echo_n "checking for isinfl declaration... " >&6; }
33205 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33206 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33207 $as_echo_n "(cached) " >&6
33208 else
33209
33210
33211 ac_ext=cpp
33212 ac_cpp='$CXXCPP $CPPFLAGS'
33213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33216
33217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33218 /* end confdefs.h. */
33219 #include <math.h>
33220 #ifdef HAVE_IEEEFP_H
33221 #include <ieeefp.h>
33222 #endif
33223
33224 int
33225 main ()
33226 {
33227 isinfl(0);
33228 ;
33229 return 0;
33230 }
33231 _ACEOF
33232 if ac_fn_cxx_try_compile "$LINENO"; then :
33233 glibcxx_cv_func_isinfl_use=yes
33234 else
33235 glibcxx_cv_func_isinfl_use=no
33236 fi
33237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33238 ac_ext=c
33239 ac_cpp='$CPP $CPPFLAGS'
33240 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33241 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33242 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33243
33244
33245 fi
33246
33247 fi
33248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33249 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33250
33251 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33252 for ac_func in isinfl
33253 do :
33254 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33255 if test "x$ac_cv_func_isinfl" = xyes; then :
33256 cat >>confdefs.h <<_ACEOF
33257 #define HAVE_ISINFL 1
33258 _ACEOF
33259
33260 fi
33261 done
33262
33263 else
33264
33265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33266 $as_echo_n "checking for _isinfl declaration... " >&6; }
33267 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33268 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33269 $as_echo_n "(cached) " >&6
33270 else
33271
33272
33273 ac_ext=cpp
33274 ac_cpp='$CXXCPP $CPPFLAGS'
33275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33278
33279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33280 /* end confdefs.h. */
33281 #include <math.h>
33282 #ifdef HAVE_IEEEFP_H
33283 #include <ieeefp.h>
33284 #endif
33285
33286 int
33287 main ()
33288 {
33289 _isinfl(0);
33290 ;
33291 return 0;
33292 }
33293 _ACEOF
33294 if ac_fn_cxx_try_compile "$LINENO"; then :
33295 glibcxx_cv_func__isinfl_use=yes
33296 else
33297 glibcxx_cv_func__isinfl_use=no
33298 fi
33299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33300 ac_ext=c
33301 ac_cpp='$CPP $CPPFLAGS'
33302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33305
33306
33307 fi
33308
33309 fi
33310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33311 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33312
33313 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33314 for ac_func in _isinfl
33315 do :
33316 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33317 if test "x$ac_cv_func__isinfl" = xyes; then :
33318 cat >>confdefs.h <<_ACEOF
33319 #define HAVE__ISINFL 1
33320 _ACEOF
33321
33322 fi
33323 done
33324
33325 fi
33326 fi
33327
33328
33329
33330
33331
33332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33333 $as_echo_n "checking for atan2l declaration... " >&6; }
33334 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33335 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33336 $as_echo_n "(cached) " >&6
33337 else
33338
33339
33340 ac_ext=cpp
33341 ac_cpp='$CXXCPP $CPPFLAGS'
33342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33345
33346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33347 /* end confdefs.h. */
33348 #include <math.h>
33349 int
33350 main ()
33351 {
33352 atan2l(0, 0);
33353 ;
33354 return 0;
33355 }
33356 _ACEOF
33357 if ac_fn_cxx_try_compile "$LINENO"; then :
33358 glibcxx_cv_func_atan2l_use=yes
33359 else
33360 glibcxx_cv_func_atan2l_use=no
33361 fi
33362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33363 ac_ext=c
33364 ac_cpp='$CPP $CPPFLAGS'
33365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33368
33369
33370 fi
33371
33372 fi
33373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33374 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33375
33376 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33377 for ac_func in atan2l
33378 do :
33379 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33380 if test "x$ac_cv_func_atan2l" = xyes; then :
33381 cat >>confdefs.h <<_ACEOF
33382 #define HAVE_ATAN2L 1
33383 _ACEOF
33384
33385 fi
33386 done
33387
33388 else
33389
33390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33391 $as_echo_n "checking for _atan2l declaration... " >&6; }
33392 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33393 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33394 $as_echo_n "(cached) " >&6
33395 else
33396
33397
33398 ac_ext=cpp
33399 ac_cpp='$CXXCPP $CPPFLAGS'
33400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33403
33404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33405 /* end confdefs.h. */
33406 #include <math.h>
33407 int
33408 main ()
33409 {
33410 _atan2l(0, 0);
33411 ;
33412 return 0;
33413 }
33414 _ACEOF
33415 if ac_fn_cxx_try_compile "$LINENO"; then :
33416 glibcxx_cv_func__atan2l_use=yes
33417 else
33418 glibcxx_cv_func__atan2l_use=no
33419 fi
33420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33421 ac_ext=c
33422 ac_cpp='$CPP $CPPFLAGS'
33423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33426
33427
33428 fi
33429
33430 fi
33431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33432 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33433
33434 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33435 for ac_func in _atan2l
33436 do :
33437 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33438 if test "x$ac_cv_func__atan2l" = xyes; then :
33439 cat >>confdefs.h <<_ACEOF
33440 #define HAVE__ATAN2L 1
33441 _ACEOF
33442
33443 fi
33444 done
33445
33446 fi
33447 fi
33448
33449
33450
33451
33452
33453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33454 $as_echo_n "checking for expl declaration... " >&6; }
33455 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33456 if ${glibcxx_cv_func_expl_use+:} false; then :
33457 $as_echo_n "(cached) " >&6
33458 else
33459
33460
33461 ac_ext=cpp
33462 ac_cpp='$CXXCPP $CPPFLAGS'
33463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33466
33467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33468 /* end confdefs.h. */
33469 #include <math.h>
33470 #ifdef HAVE_IEEEFP_H
33471 #include <ieeefp.h>
33472 #endif
33473
33474 int
33475 main ()
33476 {
33477 expl(0);
33478 ;
33479 return 0;
33480 }
33481 _ACEOF
33482 if ac_fn_cxx_try_compile "$LINENO"; then :
33483 glibcxx_cv_func_expl_use=yes
33484 else
33485 glibcxx_cv_func_expl_use=no
33486 fi
33487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33488 ac_ext=c
33489 ac_cpp='$CPP $CPPFLAGS'
33490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33493
33494
33495 fi
33496
33497 fi
33498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33499 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33500
33501 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33502 for ac_func in expl
33503 do :
33504 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33505 if test "x$ac_cv_func_expl" = xyes; then :
33506 cat >>confdefs.h <<_ACEOF
33507 #define HAVE_EXPL 1
33508 _ACEOF
33509
33510 fi
33511 done
33512
33513 else
33514
33515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33516 $as_echo_n "checking for _expl declaration... " >&6; }
33517 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33518 if ${glibcxx_cv_func__expl_use+:} false; then :
33519 $as_echo_n "(cached) " >&6
33520 else
33521
33522
33523 ac_ext=cpp
33524 ac_cpp='$CXXCPP $CPPFLAGS'
33525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33528
33529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33530 /* end confdefs.h. */
33531 #include <math.h>
33532 #ifdef HAVE_IEEEFP_H
33533 #include <ieeefp.h>
33534 #endif
33535
33536 int
33537 main ()
33538 {
33539 _expl(0);
33540 ;
33541 return 0;
33542 }
33543 _ACEOF
33544 if ac_fn_cxx_try_compile "$LINENO"; then :
33545 glibcxx_cv_func__expl_use=yes
33546 else
33547 glibcxx_cv_func__expl_use=no
33548 fi
33549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33550 ac_ext=c
33551 ac_cpp='$CPP $CPPFLAGS'
33552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33555
33556
33557 fi
33558
33559 fi
33560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33561 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33562
33563 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33564 for ac_func in _expl
33565 do :
33566 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33567 if test "x$ac_cv_func__expl" = xyes; then :
33568 cat >>confdefs.h <<_ACEOF
33569 #define HAVE__EXPL 1
33570 _ACEOF
33571
33572 fi
33573 done
33574
33575 fi
33576 fi
33577
33578
33579
33580
33581
33582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33583 $as_echo_n "checking for fabsl declaration... " >&6; }
33584 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33585 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33586 $as_echo_n "(cached) " >&6
33587 else
33588
33589
33590 ac_ext=cpp
33591 ac_cpp='$CXXCPP $CPPFLAGS'
33592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33595
33596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33597 /* end confdefs.h. */
33598 #include <math.h>
33599 #ifdef HAVE_IEEEFP_H
33600 #include <ieeefp.h>
33601 #endif
33602
33603 int
33604 main ()
33605 {
33606 fabsl(0);
33607 ;
33608 return 0;
33609 }
33610 _ACEOF
33611 if ac_fn_cxx_try_compile "$LINENO"; then :
33612 glibcxx_cv_func_fabsl_use=yes
33613 else
33614 glibcxx_cv_func_fabsl_use=no
33615 fi
33616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33617 ac_ext=c
33618 ac_cpp='$CPP $CPPFLAGS'
33619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33622
33623
33624 fi
33625
33626 fi
33627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33628 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33629
33630 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33631 for ac_func in fabsl
33632 do :
33633 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33634 if test "x$ac_cv_func_fabsl" = xyes; then :
33635 cat >>confdefs.h <<_ACEOF
33636 #define HAVE_FABSL 1
33637 _ACEOF
33638
33639 fi
33640 done
33641
33642 else
33643
33644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33645 $as_echo_n "checking for _fabsl declaration... " >&6; }
33646 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33647 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33648 $as_echo_n "(cached) " >&6
33649 else
33650
33651
33652 ac_ext=cpp
33653 ac_cpp='$CXXCPP $CPPFLAGS'
33654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33657
33658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33659 /* end confdefs.h. */
33660 #include <math.h>
33661 #ifdef HAVE_IEEEFP_H
33662 #include <ieeefp.h>
33663 #endif
33664
33665 int
33666 main ()
33667 {
33668 _fabsl(0);
33669 ;
33670 return 0;
33671 }
33672 _ACEOF
33673 if ac_fn_cxx_try_compile "$LINENO"; then :
33674 glibcxx_cv_func__fabsl_use=yes
33675 else
33676 glibcxx_cv_func__fabsl_use=no
33677 fi
33678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33679 ac_ext=c
33680 ac_cpp='$CPP $CPPFLAGS'
33681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33684
33685
33686 fi
33687
33688 fi
33689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33690 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33691
33692 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33693 for ac_func in _fabsl
33694 do :
33695 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33696 if test "x$ac_cv_func__fabsl" = xyes; then :
33697 cat >>confdefs.h <<_ACEOF
33698 #define HAVE__FABSL 1
33699 _ACEOF
33700
33701 fi
33702 done
33703
33704 fi
33705 fi
33706
33707
33708
33709
33710
33711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33712 $as_echo_n "checking for fmodl declaration... " >&6; }
33713 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33714 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33715 $as_echo_n "(cached) " >&6
33716 else
33717
33718
33719 ac_ext=cpp
33720 ac_cpp='$CXXCPP $CPPFLAGS'
33721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33724
33725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33726 /* end confdefs.h. */
33727 #include <math.h>
33728 int
33729 main ()
33730 {
33731 fmodl(0, 0);
33732 ;
33733 return 0;
33734 }
33735 _ACEOF
33736 if ac_fn_cxx_try_compile "$LINENO"; then :
33737 glibcxx_cv_func_fmodl_use=yes
33738 else
33739 glibcxx_cv_func_fmodl_use=no
33740 fi
33741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33742 ac_ext=c
33743 ac_cpp='$CPP $CPPFLAGS'
33744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33747
33748
33749 fi
33750
33751 fi
33752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33753 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33754
33755 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33756 for ac_func in fmodl
33757 do :
33758 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33759 if test "x$ac_cv_func_fmodl" = xyes; then :
33760 cat >>confdefs.h <<_ACEOF
33761 #define HAVE_FMODL 1
33762 _ACEOF
33763
33764 fi
33765 done
33766
33767 else
33768
33769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33770 $as_echo_n "checking for _fmodl declaration... " >&6; }
33771 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33772 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33773 $as_echo_n "(cached) " >&6
33774 else
33775
33776
33777 ac_ext=cpp
33778 ac_cpp='$CXXCPP $CPPFLAGS'
33779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33782
33783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33784 /* end confdefs.h. */
33785 #include <math.h>
33786 int
33787 main ()
33788 {
33789 _fmodl(0, 0);
33790 ;
33791 return 0;
33792 }
33793 _ACEOF
33794 if ac_fn_cxx_try_compile "$LINENO"; then :
33795 glibcxx_cv_func__fmodl_use=yes
33796 else
33797 glibcxx_cv_func__fmodl_use=no
33798 fi
33799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33800 ac_ext=c
33801 ac_cpp='$CPP $CPPFLAGS'
33802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33805
33806
33807 fi
33808
33809 fi
33810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33811 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33812
33813 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33814 for ac_func in _fmodl
33815 do :
33816 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33817 if test "x$ac_cv_func__fmodl" = xyes; then :
33818 cat >>confdefs.h <<_ACEOF
33819 #define HAVE__FMODL 1
33820 _ACEOF
33821
33822 fi
33823 done
33824
33825 fi
33826 fi
33827
33828
33829
33830
33831
33832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33833 $as_echo_n "checking for frexpl declaration... " >&6; }
33834 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33835 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33836 $as_echo_n "(cached) " >&6
33837 else
33838
33839
33840 ac_ext=cpp
33841 ac_cpp='$CXXCPP $CPPFLAGS'
33842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33845
33846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33847 /* end confdefs.h. */
33848 #include <math.h>
33849 int
33850 main ()
33851 {
33852 frexpl(0, 0);
33853 ;
33854 return 0;
33855 }
33856 _ACEOF
33857 if ac_fn_cxx_try_compile "$LINENO"; then :
33858 glibcxx_cv_func_frexpl_use=yes
33859 else
33860 glibcxx_cv_func_frexpl_use=no
33861 fi
33862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33863 ac_ext=c
33864 ac_cpp='$CPP $CPPFLAGS'
33865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33868
33869
33870 fi
33871
33872 fi
33873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33874 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33875
33876 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33877 for ac_func in frexpl
33878 do :
33879 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33880 if test "x$ac_cv_func_frexpl" = xyes; then :
33881 cat >>confdefs.h <<_ACEOF
33882 #define HAVE_FREXPL 1
33883 _ACEOF
33884
33885 fi
33886 done
33887
33888 else
33889
33890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33891 $as_echo_n "checking for _frexpl declaration... " >&6; }
33892 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33893 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33894 $as_echo_n "(cached) " >&6
33895 else
33896
33897
33898 ac_ext=cpp
33899 ac_cpp='$CXXCPP $CPPFLAGS'
33900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33903
33904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33905 /* end confdefs.h. */
33906 #include <math.h>
33907 int
33908 main ()
33909 {
33910 _frexpl(0, 0);
33911 ;
33912 return 0;
33913 }
33914 _ACEOF
33915 if ac_fn_cxx_try_compile "$LINENO"; then :
33916 glibcxx_cv_func__frexpl_use=yes
33917 else
33918 glibcxx_cv_func__frexpl_use=no
33919 fi
33920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33921 ac_ext=c
33922 ac_cpp='$CPP $CPPFLAGS'
33923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33926
33927
33928 fi
33929
33930 fi
33931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33932 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33933
33934 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33935 for ac_func in _frexpl
33936 do :
33937 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33938 if test "x$ac_cv_func__frexpl" = xyes; then :
33939 cat >>confdefs.h <<_ACEOF
33940 #define HAVE__FREXPL 1
33941 _ACEOF
33942
33943 fi
33944 done
33945
33946 fi
33947 fi
33948
33949
33950
33951
33952
33953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33954 $as_echo_n "checking for hypotl declaration... " >&6; }
33955 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33956 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33957 $as_echo_n "(cached) " >&6
33958 else
33959
33960
33961 ac_ext=cpp
33962 ac_cpp='$CXXCPP $CPPFLAGS'
33963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33966
33967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33968 /* end confdefs.h. */
33969 #include <math.h>
33970 int
33971 main ()
33972 {
33973 hypotl(0, 0);
33974 ;
33975 return 0;
33976 }
33977 _ACEOF
33978 if ac_fn_cxx_try_compile "$LINENO"; then :
33979 glibcxx_cv_func_hypotl_use=yes
33980 else
33981 glibcxx_cv_func_hypotl_use=no
33982 fi
33983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33984 ac_ext=c
33985 ac_cpp='$CPP $CPPFLAGS'
33986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33989
33990
33991 fi
33992
33993 fi
33994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33995 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33996
33997 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33998 for ac_func in hypotl
33999 do :
34000 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
34001 if test "x$ac_cv_func_hypotl" = xyes; then :
34002 cat >>confdefs.h <<_ACEOF
34003 #define HAVE_HYPOTL 1
34004 _ACEOF
34005
34006 fi
34007 done
34008
34009 else
34010
34011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
34012 $as_echo_n "checking for _hypotl declaration... " >&6; }
34013 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
34014 if ${glibcxx_cv_func__hypotl_use+:} false; then :
34015 $as_echo_n "(cached) " >&6
34016 else
34017
34018
34019 ac_ext=cpp
34020 ac_cpp='$CXXCPP $CPPFLAGS'
34021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34024
34025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34026 /* end confdefs.h. */
34027 #include <math.h>
34028 int
34029 main ()
34030 {
34031 _hypotl(0, 0);
34032 ;
34033 return 0;
34034 }
34035 _ACEOF
34036 if ac_fn_cxx_try_compile "$LINENO"; then :
34037 glibcxx_cv_func__hypotl_use=yes
34038 else
34039 glibcxx_cv_func__hypotl_use=no
34040 fi
34041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34042 ac_ext=c
34043 ac_cpp='$CPP $CPPFLAGS'
34044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34047
34048
34049 fi
34050
34051 fi
34052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
34053 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
34054
34055 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
34056 for ac_func in _hypotl
34057 do :
34058 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
34059 if test "x$ac_cv_func__hypotl" = xyes; then :
34060 cat >>confdefs.h <<_ACEOF
34061 #define HAVE__HYPOTL 1
34062 _ACEOF
34063
34064 fi
34065 done
34066
34067 fi
34068 fi
34069
34070
34071
34072
34073
34074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
34075 $as_echo_n "checking for ldexpl declaration... " >&6; }
34076 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
34077 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
34078 $as_echo_n "(cached) " >&6
34079 else
34080
34081
34082 ac_ext=cpp
34083 ac_cpp='$CXXCPP $CPPFLAGS'
34084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34087
34088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34089 /* end confdefs.h. */
34090 #include <math.h>
34091 int
34092 main ()
34093 {
34094 ldexpl(0, 0);
34095 ;
34096 return 0;
34097 }
34098 _ACEOF
34099 if ac_fn_cxx_try_compile "$LINENO"; then :
34100 glibcxx_cv_func_ldexpl_use=yes
34101 else
34102 glibcxx_cv_func_ldexpl_use=no
34103 fi
34104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34105 ac_ext=c
34106 ac_cpp='$CPP $CPPFLAGS'
34107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34110
34111
34112 fi
34113
34114 fi
34115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
34116 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
34117
34118 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
34119 for ac_func in ldexpl
34120 do :
34121 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
34122 if test "x$ac_cv_func_ldexpl" = xyes; then :
34123 cat >>confdefs.h <<_ACEOF
34124 #define HAVE_LDEXPL 1
34125 _ACEOF
34126
34127 fi
34128 done
34129
34130 else
34131
34132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
34133 $as_echo_n "checking for _ldexpl declaration... " >&6; }
34134 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
34135 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
34136 $as_echo_n "(cached) " >&6
34137 else
34138
34139
34140 ac_ext=cpp
34141 ac_cpp='$CXXCPP $CPPFLAGS'
34142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34145
34146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34147 /* end confdefs.h. */
34148 #include <math.h>
34149 int
34150 main ()
34151 {
34152 _ldexpl(0, 0);
34153 ;
34154 return 0;
34155 }
34156 _ACEOF
34157 if ac_fn_cxx_try_compile "$LINENO"; then :
34158 glibcxx_cv_func__ldexpl_use=yes
34159 else
34160 glibcxx_cv_func__ldexpl_use=no
34161 fi
34162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34163 ac_ext=c
34164 ac_cpp='$CPP $CPPFLAGS'
34165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34168
34169
34170 fi
34171
34172 fi
34173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34174 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34175
34176 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34177 for ac_func in _ldexpl
34178 do :
34179 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34180 if test "x$ac_cv_func__ldexpl" = xyes; then :
34181 cat >>confdefs.h <<_ACEOF
34182 #define HAVE__LDEXPL 1
34183 _ACEOF
34184
34185 fi
34186 done
34187
34188 fi
34189 fi
34190
34191
34192
34193
34194
34195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34196 $as_echo_n "checking for logl declaration... " >&6; }
34197 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34198 if ${glibcxx_cv_func_logl_use+:} false; then :
34199 $as_echo_n "(cached) " >&6
34200 else
34201
34202
34203 ac_ext=cpp
34204 ac_cpp='$CXXCPP $CPPFLAGS'
34205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34208
34209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34210 /* end confdefs.h. */
34211 #include <math.h>
34212 #ifdef HAVE_IEEEFP_H
34213 #include <ieeefp.h>
34214 #endif
34215
34216 int
34217 main ()
34218 {
34219 logl(0);
34220 ;
34221 return 0;
34222 }
34223 _ACEOF
34224 if ac_fn_cxx_try_compile "$LINENO"; then :
34225 glibcxx_cv_func_logl_use=yes
34226 else
34227 glibcxx_cv_func_logl_use=no
34228 fi
34229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34230 ac_ext=c
34231 ac_cpp='$CPP $CPPFLAGS'
34232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34235
34236
34237 fi
34238
34239 fi
34240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34241 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34242
34243 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34244 for ac_func in logl
34245 do :
34246 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34247 if test "x$ac_cv_func_logl" = xyes; then :
34248 cat >>confdefs.h <<_ACEOF
34249 #define HAVE_LOGL 1
34250 _ACEOF
34251
34252 fi
34253 done
34254
34255 else
34256
34257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34258 $as_echo_n "checking for _logl declaration... " >&6; }
34259 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34260 if ${glibcxx_cv_func__logl_use+:} false; then :
34261 $as_echo_n "(cached) " >&6
34262 else
34263
34264
34265 ac_ext=cpp
34266 ac_cpp='$CXXCPP $CPPFLAGS'
34267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34270
34271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34272 /* end confdefs.h. */
34273 #include <math.h>
34274 #ifdef HAVE_IEEEFP_H
34275 #include <ieeefp.h>
34276 #endif
34277
34278 int
34279 main ()
34280 {
34281 _logl(0);
34282 ;
34283 return 0;
34284 }
34285 _ACEOF
34286 if ac_fn_cxx_try_compile "$LINENO"; then :
34287 glibcxx_cv_func__logl_use=yes
34288 else
34289 glibcxx_cv_func__logl_use=no
34290 fi
34291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34292 ac_ext=c
34293 ac_cpp='$CPP $CPPFLAGS'
34294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34297
34298
34299 fi
34300
34301 fi
34302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34303 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34304
34305 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34306 for ac_func in _logl
34307 do :
34308 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34309 if test "x$ac_cv_func__logl" = xyes; then :
34310 cat >>confdefs.h <<_ACEOF
34311 #define HAVE__LOGL 1
34312 _ACEOF
34313
34314 fi
34315 done
34316
34317 fi
34318 fi
34319
34320
34321
34322
34323
34324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34325 $as_echo_n "checking for log10l declaration... " >&6; }
34326 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34327 if ${glibcxx_cv_func_log10l_use+:} false; then :
34328 $as_echo_n "(cached) " >&6
34329 else
34330
34331
34332 ac_ext=cpp
34333 ac_cpp='$CXXCPP $CPPFLAGS'
34334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34337
34338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34339 /* end confdefs.h. */
34340 #include <math.h>
34341 #ifdef HAVE_IEEEFP_H
34342 #include <ieeefp.h>
34343 #endif
34344
34345 int
34346 main ()
34347 {
34348 log10l(0);
34349 ;
34350 return 0;
34351 }
34352 _ACEOF
34353 if ac_fn_cxx_try_compile "$LINENO"; then :
34354 glibcxx_cv_func_log10l_use=yes
34355 else
34356 glibcxx_cv_func_log10l_use=no
34357 fi
34358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34359 ac_ext=c
34360 ac_cpp='$CPP $CPPFLAGS'
34361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34364
34365
34366 fi
34367
34368 fi
34369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34370 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34371
34372 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34373 for ac_func in log10l
34374 do :
34375 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34376 if test "x$ac_cv_func_log10l" = xyes; then :
34377 cat >>confdefs.h <<_ACEOF
34378 #define HAVE_LOG10L 1
34379 _ACEOF
34380
34381 fi
34382 done
34383
34384 else
34385
34386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34387 $as_echo_n "checking for _log10l declaration... " >&6; }
34388 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34389 if ${glibcxx_cv_func__log10l_use+:} false; then :
34390 $as_echo_n "(cached) " >&6
34391 else
34392
34393
34394 ac_ext=cpp
34395 ac_cpp='$CXXCPP $CPPFLAGS'
34396 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34397 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34398 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34399
34400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34401 /* end confdefs.h. */
34402 #include <math.h>
34403 #ifdef HAVE_IEEEFP_H
34404 #include <ieeefp.h>
34405 #endif
34406
34407 int
34408 main ()
34409 {
34410 _log10l(0);
34411 ;
34412 return 0;
34413 }
34414 _ACEOF
34415 if ac_fn_cxx_try_compile "$LINENO"; then :
34416 glibcxx_cv_func__log10l_use=yes
34417 else
34418 glibcxx_cv_func__log10l_use=no
34419 fi
34420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34421 ac_ext=c
34422 ac_cpp='$CPP $CPPFLAGS'
34423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34426
34427
34428 fi
34429
34430 fi
34431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34432 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34433
34434 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34435 for ac_func in _log10l
34436 do :
34437 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34438 if test "x$ac_cv_func__log10l" = xyes; then :
34439 cat >>confdefs.h <<_ACEOF
34440 #define HAVE__LOG10L 1
34441 _ACEOF
34442
34443 fi
34444 done
34445
34446 fi
34447 fi
34448
34449
34450
34451
34452
34453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34454 $as_echo_n "checking for modfl declaration... " >&6; }
34455 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34456 if ${glibcxx_cv_func_modfl_use+:} false; then :
34457 $as_echo_n "(cached) " >&6
34458 else
34459
34460
34461 ac_ext=cpp
34462 ac_cpp='$CXXCPP $CPPFLAGS'
34463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34466
34467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34468 /* end confdefs.h. */
34469 #include <math.h>
34470 int
34471 main ()
34472 {
34473 modfl(0, 0);
34474 ;
34475 return 0;
34476 }
34477 _ACEOF
34478 if ac_fn_cxx_try_compile "$LINENO"; then :
34479 glibcxx_cv_func_modfl_use=yes
34480 else
34481 glibcxx_cv_func_modfl_use=no
34482 fi
34483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34484 ac_ext=c
34485 ac_cpp='$CPP $CPPFLAGS'
34486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34489
34490
34491 fi
34492
34493 fi
34494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34495 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34496
34497 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34498 for ac_func in modfl
34499 do :
34500 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34501 if test "x$ac_cv_func_modfl" = xyes; then :
34502 cat >>confdefs.h <<_ACEOF
34503 #define HAVE_MODFL 1
34504 _ACEOF
34505
34506 fi
34507 done
34508
34509 else
34510
34511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34512 $as_echo_n "checking for _modfl declaration... " >&6; }
34513 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34514 if ${glibcxx_cv_func__modfl_use+:} false; then :
34515 $as_echo_n "(cached) " >&6
34516 else
34517
34518
34519 ac_ext=cpp
34520 ac_cpp='$CXXCPP $CPPFLAGS'
34521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34524
34525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34526 /* end confdefs.h. */
34527 #include <math.h>
34528 int
34529 main ()
34530 {
34531 _modfl(0, 0);
34532 ;
34533 return 0;
34534 }
34535 _ACEOF
34536 if ac_fn_cxx_try_compile "$LINENO"; then :
34537 glibcxx_cv_func__modfl_use=yes
34538 else
34539 glibcxx_cv_func__modfl_use=no
34540 fi
34541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34542 ac_ext=c
34543 ac_cpp='$CPP $CPPFLAGS'
34544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34547
34548
34549 fi
34550
34551 fi
34552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34553 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34554
34555 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34556 for ac_func in _modfl
34557 do :
34558 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34559 if test "x$ac_cv_func__modfl" = xyes; then :
34560 cat >>confdefs.h <<_ACEOF
34561 #define HAVE__MODFL 1
34562 _ACEOF
34563
34564 fi
34565 done
34566
34567 fi
34568 fi
34569
34570
34571
34572
34573
34574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34575 $as_echo_n "checking for powl declaration... " >&6; }
34576 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34577 if ${glibcxx_cv_func_powl_use+:} false; then :
34578 $as_echo_n "(cached) " >&6
34579 else
34580
34581
34582 ac_ext=cpp
34583 ac_cpp='$CXXCPP $CPPFLAGS'
34584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34587
34588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34589 /* end confdefs.h. */
34590 #include <math.h>
34591 int
34592 main ()
34593 {
34594 powl(0, 0);
34595 ;
34596 return 0;
34597 }
34598 _ACEOF
34599 if ac_fn_cxx_try_compile "$LINENO"; then :
34600 glibcxx_cv_func_powl_use=yes
34601 else
34602 glibcxx_cv_func_powl_use=no
34603 fi
34604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34605 ac_ext=c
34606 ac_cpp='$CPP $CPPFLAGS'
34607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34610
34611
34612 fi
34613
34614 fi
34615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34616 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34617
34618 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34619 for ac_func in powl
34620 do :
34621 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34622 if test "x$ac_cv_func_powl" = xyes; then :
34623 cat >>confdefs.h <<_ACEOF
34624 #define HAVE_POWL 1
34625 _ACEOF
34626
34627 fi
34628 done
34629
34630 else
34631
34632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34633 $as_echo_n "checking for _powl declaration... " >&6; }
34634 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34635 if ${glibcxx_cv_func__powl_use+:} false; then :
34636 $as_echo_n "(cached) " >&6
34637 else
34638
34639
34640 ac_ext=cpp
34641 ac_cpp='$CXXCPP $CPPFLAGS'
34642 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34643 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34644 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34645
34646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34647 /* end confdefs.h. */
34648 #include <math.h>
34649 int
34650 main ()
34651 {
34652 _powl(0, 0);
34653 ;
34654 return 0;
34655 }
34656 _ACEOF
34657 if ac_fn_cxx_try_compile "$LINENO"; then :
34658 glibcxx_cv_func__powl_use=yes
34659 else
34660 glibcxx_cv_func__powl_use=no
34661 fi
34662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34663 ac_ext=c
34664 ac_cpp='$CPP $CPPFLAGS'
34665 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34666 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34667 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34668
34669
34670 fi
34671
34672 fi
34673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34674 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34675
34676 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34677 for ac_func in _powl
34678 do :
34679 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34680 if test "x$ac_cv_func__powl" = xyes; then :
34681 cat >>confdefs.h <<_ACEOF
34682 #define HAVE__POWL 1
34683 _ACEOF
34684
34685 fi
34686 done
34687
34688 fi
34689 fi
34690
34691
34692
34693
34694
34695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34696 $as_echo_n "checking for sqrtl declaration... " >&6; }
34697 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34698 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34699 $as_echo_n "(cached) " >&6
34700 else
34701
34702
34703 ac_ext=cpp
34704 ac_cpp='$CXXCPP $CPPFLAGS'
34705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34708
34709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34710 /* end confdefs.h. */
34711 #include <math.h>
34712 #ifdef HAVE_IEEEFP_H
34713 #include <ieeefp.h>
34714 #endif
34715
34716 int
34717 main ()
34718 {
34719 sqrtl(0);
34720 ;
34721 return 0;
34722 }
34723 _ACEOF
34724 if ac_fn_cxx_try_compile "$LINENO"; then :
34725 glibcxx_cv_func_sqrtl_use=yes
34726 else
34727 glibcxx_cv_func_sqrtl_use=no
34728 fi
34729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34730 ac_ext=c
34731 ac_cpp='$CPP $CPPFLAGS'
34732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34735
34736
34737 fi
34738
34739 fi
34740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34741 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34742
34743 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34744 for ac_func in sqrtl
34745 do :
34746 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34747 if test "x$ac_cv_func_sqrtl" = xyes; then :
34748 cat >>confdefs.h <<_ACEOF
34749 #define HAVE_SQRTL 1
34750 _ACEOF
34751
34752 fi
34753 done
34754
34755 else
34756
34757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34758 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34759 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34760 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34761 $as_echo_n "(cached) " >&6
34762 else
34763
34764
34765 ac_ext=cpp
34766 ac_cpp='$CXXCPP $CPPFLAGS'
34767 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34768 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34769 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34770
34771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34772 /* end confdefs.h. */
34773 #include <math.h>
34774 #ifdef HAVE_IEEEFP_H
34775 #include <ieeefp.h>
34776 #endif
34777
34778 int
34779 main ()
34780 {
34781 _sqrtl(0);
34782 ;
34783 return 0;
34784 }
34785 _ACEOF
34786 if ac_fn_cxx_try_compile "$LINENO"; then :
34787 glibcxx_cv_func__sqrtl_use=yes
34788 else
34789 glibcxx_cv_func__sqrtl_use=no
34790 fi
34791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34792 ac_ext=c
34793 ac_cpp='$CPP $CPPFLAGS'
34794 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34795 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34796 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34797
34798
34799 fi
34800
34801 fi
34802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34803 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34804
34805 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34806 for ac_func in _sqrtl
34807 do :
34808 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34809 if test "x$ac_cv_func__sqrtl" = xyes; then :
34810 cat >>confdefs.h <<_ACEOF
34811 #define HAVE__SQRTL 1
34812 _ACEOF
34813
34814 fi
34815 done
34816
34817 fi
34818 fi
34819
34820
34821
34822
34823
34824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34825 $as_echo_n "checking for sincosl declaration... " >&6; }
34826 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34827 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34828 $as_echo_n "(cached) " >&6
34829 else
34830
34831
34832 ac_ext=cpp
34833 ac_cpp='$CXXCPP $CPPFLAGS'
34834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34837
34838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34839 /* end confdefs.h. */
34840 #include <math.h>
34841 int
34842 main ()
34843 {
34844 sincosl(0, 0, 0);
34845 ;
34846 return 0;
34847 }
34848 _ACEOF
34849 if ac_fn_cxx_try_compile "$LINENO"; then :
34850 glibcxx_cv_func_sincosl_use=yes
34851 else
34852 glibcxx_cv_func_sincosl_use=no
34853 fi
34854 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34855 ac_ext=c
34856 ac_cpp='$CPP $CPPFLAGS'
34857 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34858 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34859 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34860
34861
34862 fi
34863
34864 fi
34865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34866 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34867
34868 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34869 for ac_func in sincosl
34870 do :
34871 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34872 if test "x$ac_cv_func_sincosl" = xyes; then :
34873 cat >>confdefs.h <<_ACEOF
34874 #define HAVE_SINCOSL 1
34875 _ACEOF
34876
34877 fi
34878 done
34879
34880 else
34881
34882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34883 $as_echo_n "checking for _sincosl declaration... " >&6; }
34884 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34885 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34886 $as_echo_n "(cached) " >&6
34887 else
34888
34889
34890 ac_ext=cpp
34891 ac_cpp='$CXXCPP $CPPFLAGS'
34892 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34895
34896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34897 /* end confdefs.h. */
34898 #include <math.h>
34899 int
34900 main ()
34901 {
34902 _sincosl(0, 0, 0);
34903 ;
34904 return 0;
34905 }
34906 _ACEOF
34907 if ac_fn_cxx_try_compile "$LINENO"; then :
34908 glibcxx_cv_func__sincosl_use=yes
34909 else
34910 glibcxx_cv_func__sincosl_use=no
34911 fi
34912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34913 ac_ext=c
34914 ac_cpp='$CPP $CPPFLAGS'
34915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34918
34919
34920 fi
34921
34922 fi
34923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34924 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34925
34926 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34927 for ac_func in _sincosl
34928 do :
34929 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34930 if test "x$ac_cv_func__sincosl" = xyes; then :
34931 cat >>confdefs.h <<_ACEOF
34932 #define HAVE__SINCOSL 1
34933 _ACEOF
34934
34935 fi
34936 done
34937
34938 fi
34939 fi
34940
34941
34942
34943
34944
34945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34946 $as_echo_n "checking for finitel declaration... " >&6; }
34947 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34948 if ${glibcxx_cv_func_finitel_use+:} false; then :
34949 $as_echo_n "(cached) " >&6
34950 else
34951
34952
34953 ac_ext=cpp
34954 ac_cpp='$CXXCPP $CPPFLAGS'
34955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34958
34959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34960 /* end confdefs.h. */
34961 #include <math.h>
34962 #ifdef HAVE_IEEEFP_H
34963 #include <ieeefp.h>
34964 #endif
34965
34966 int
34967 main ()
34968 {
34969 finitel(0);
34970 ;
34971 return 0;
34972 }
34973 _ACEOF
34974 if ac_fn_cxx_try_compile "$LINENO"; then :
34975 glibcxx_cv_func_finitel_use=yes
34976 else
34977 glibcxx_cv_func_finitel_use=no
34978 fi
34979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34980 ac_ext=c
34981 ac_cpp='$CPP $CPPFLAGS'
34982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34985
34986
34987 fi
34988
34989 fi
34990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34991 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34992
34993 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34994 for ac_func in finitel
34995 do :
34996 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34997 if test "x$ac_cv_func_finitel" = xyes; then :
34998 cat >>confdefs.h <<_ACEOF
34999 #define HAVE_FINITEL 1
35000 _ACEOF
35001
35002 fi
35003 done
35004
35005 else
35006
35007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
35008 $as_echo_n "checking for _finitel declaration... " >&6; }
35009 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
35010 if ${glibcxx_cv_func__finitel_use+:} false; then :
35011 $as_echo_n "(cached) " >&6
35012 else
35013
35014
35015 ac_ext=cpp
35016 ac_cpp='$CXXCPP $CPPFLAGS'
35017 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35018 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35019 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35020
35021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35022 /* end confdefs.h. */
35023 #include <math.h>
35024 #ifdef HAVE_IEEEFP_H
35025 #include <ieeefp.h>
35026 #endif
35027
35028 int
35029 main ()
35030 {
35031 _finitel(0);
35032 ;
35033 return 0;
35034 }
35035 _ACEOF
35036 if ac_fn_cxx_try_compile "$LINENO"; then :
35037 glibcxx_cv_func__finitel_use=yes
35038 else
35039 glibcxx_cv_func__finitel_use=no
35040 fi
35041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35042 ac_ext=c
35043 ac_cpp='$CPP $CPPFLAGS'
35044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35047
35048
35049 fi
35050
35051 fi
35052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
35053 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
35054
35055 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
35056 for ac_func in _finitel
35057 do :
35058 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
35059 if test "x$ac_cv_func__finitel" = xyes; then :
35060 cat >>confdefs.h <<_ACEOF
35061 #define HAVE__FINITEL 1
35062 _ACEOF
35063
35064 fi
35065 done
35066
35067 fi
35068 fi
35069
35070
35071
35072
35073 LIBS="$ac_save_LIBS"
35074 CXXFLAGS="$ac_save_CXXFLAGS"
35075
35076
35077 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35078 ac_save_CXXFLAGS="$CXXFLAGS"
35079 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35080
35081
35082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
35083 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
35084 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
35085 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
35086 $as_echo_n "(cached) " >&6
35087 else
35088
35089
35090 ac_ext=cpp
35091 ac_cpp='$CXXCPP $CPPFLAGS'
35092 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35093 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35094 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35095
35096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35097 /* end confdefs.h. */
35098 #include <stdlib.h>
35099 int
35100 main ()
35101 {
35102 at_quick_exit(0);
35103 ;
35104 return 0;
35105 }
35106 _ACEOF
35107 if ac_fn_cxx_try_compile "$LINENO"; then :
35108 glibcxx_cv_func_at_quick_exit_use=yes
35109 else
35110 glibcxx_cv_func_at_quick_exit_use=no
35111 fi
35112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35113 ac_ext=c
35114 ac_cpp='$CPP $CPPFLAGS'
35115 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35116 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35117 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35118
35119
35120 fi
35121
35122 fi
35123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
35124 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
35125 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
35126 for ac_func in at_quick_exit
35127 do :
35128 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
35129 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
35130 cat >>confdefs.h <<_ACEOF
35131 #define HAVE_AT_QUICK_EXIT 1
35132 _ACEOF
35133
35134 fi
35135 done
35136
35137 fi
35138
35139
35140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
35141 $as_echo_n "checking for quick_exit declaration... " >&6; }
35142 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
35143 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
35144 $as_echo_n "(cached) " >&6
35145 else
35146
35147
35148 ac_ext=cpp
35149 ac_cpp='$CXXCPP $CPPFLAGS'
35150 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35151 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35152 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35153
35154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35155 /* end confdefs.h. */
35156 #include <stdlib.h>
35157 int
35158 main ()
35159 {
35160 quick_exit(0);
35161 ;
35162 return 0;
35163 }
35164 _ACEOF
35165 if ac_fn_cxx_try_compile "$LINENO"; then :
35166 glibcxx_cv_func_quick_exit_use=yes
35167 else
35168 glibcxx_cv_func_quick_exit_use=no
35169 fi
35170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35171 ac_ext=c
35172 ac_cpp='$CPP $CPPFLAGS'
35173 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35174 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35175 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35176
35177
35178 fi
35179
35180 fi
35181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35182 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35183 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35184 for ac_func in quick_exit
35185 do :
35186 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35187 if test "x$ac_cv_func_quick_exit" = xyes; then :
35188 cat >>confdefs.h <<_ACEOF
35189 #define HAVE_QUICK_EXIT 1
35190 _ACEOF
35191
35192 fi
35193 done
35194
35195 fi
35196
35197
35198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35199 $as_echo_n "checking for strtold declaration... " >&6; }
35200 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35201 if ${glibcxx_cv_func_strtold_use+:} false; then :
35202 $as_echo_n "(cached) " >&6
35203 else
35204
35205
35206 ac_ext=cpp
35207 ac_cpp='$CXXCPP $CPPFLAGS'
35208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35211
35212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35213 /* end confdefs.h. */
35214 #include <stdlib.h>
35215 int
35216 main ()
35217 {
35218 strtold(0, 0);
35219 ;
35220 return 0;
35221 }
35222 _ACEOF
35223 if ac_fn_cxx_try_compile "$LINENO"; then :
35224 glibcxx_cv_func_strtold_use=yes
35225 else
35226 glibcxx_cv_func_strtold_use=no
35227 fi
35228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35229 ac_ext=c
35230 ac_cpp='$CPP $CPPFLAGS'
35231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35234
35235
35236 fi
35237
35238 fi
35239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35240 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35241 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35242 for ac_func in strtold
35243 do :
35244 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35245 if test "x$ac_cv_func_strtold" = xyes; then :
35246 cat >>confdefs.h <<_ACEOF
35247 #define HAVE_STRTOLD 1
35248 _ACEOF
35249
35250 fi
35251 done
35252
35253 fi
35254
35255
35256
35257
35258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35259 $as_echo_n "checking for strtof declaration... " >&6; }
35260 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35261 if ${glibcxx_cv_func_strtof_use+:} false; then :
35262 $as_echo_n "(cached) " >&6
35263 else
35264
35265
35266 ac_ext=cpp
35267 ac_cpp='$CXXCPP $CPPFLAGS'
35268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35271
35272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35273 /* end confdefs.h. */
35274 #include <stdlib.h>
35275 int
35276 main ()
35277 {
35278 strtof(0, 0);
35279 ;
35280 return 0;
35281 }
35282 _ACEOF
35283 if ac_fn_cxx_try_compile "$LINENO"; then :
35284 glibcxx_cv_func_strtof_use=yes
35285 else
35286 glibcxx_cv_func_strtof_use=no
35287 fi
35288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35289 ac_ext=c
35290 ac_cpp='$CPP $CPPFLAGS'
35291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35294
35295
35296 fi
35297
35298 fi
35299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35300 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35301 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35302 for ac_func in strtof
35303 do :
35304 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35305 if test "x$ac_cv_func_strtof" = xyes; then :
35306 cat >>confdefs.h <<_ACEOF
35307 #define HAVE_STRTOF 1
35308 _ACEOF
35309
35310 fi
35311 done
35312
35313 fi
35314
35315
35316
35317
35318 CXXFLAGS="$ac_save_CXXFLAGS"
35319
35320
35321 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35322
35323 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35324
35325 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35326
35327 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35328
35329
35330 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35331
35332 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35333
35334 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35335
35336 ;;
35337
35338 spu-*-elf*)
35339
35340 # All these tests are for C++; save the language and the compiler flags.
35341 # The CXXFLAGS thing is suspicious, but based on similar bits previously
35342 # found in GLIBCXX_CONFIGURE.
35343
35344 ac_ext=cpp
35345 ac_cpp='$CXXCPP $CPPFLAGS'
35346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35349
35350 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35351 ac_save_CXXFLAGS="$CXXFLAGS"
35352
35353 # Check for -ffunction-sections -fdata-sections
35354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
35355 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
35356 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
35357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35358 /* end confdefs.h. */
35359 int foo; void bar() { };
35360 int
35361 main ()
35362 {
35363
35364 ;
35365 return 0;
35366 }
35367 _ACEOF
35368 if ac_fn_cxx_try_compile "$LINENO"; then :
35369 ac_fdsections=yes
35370 else
35371 ac_fdsections=no
35372 fi
35373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35374 if test "$ac_test_CXXFLAGS" = set; then
35375 CXXFLAGS="$ac_save_CXXFLAGS"
35376 else
35377 # this is the suspicious part
35378 CXXFLAGS=''
35379 fi
35380 if test x"$ac_fdsections" = x"yes"; then
35381 SECTION_FLAGS='-ffunction-sections -fdata-sections'
35382 fi
35383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
35384 $as_echo "$ac_fdsections" >&6; }
35385
35386 ac_ext=c
35387 ac_cpp='$CPP $CPPFLAGS'
35388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35391
35392
35393
35394
35395 # If we're not using GNU ld, then there's no point in even trying these
35396 # tests. Check for that first. We should have already tested for gld
35397 # by now (in libtool), but require it now just to be safe...
35398 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35399 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35400
35401
35402
35403 # The name set by libtool depends on the version of libtool. Shame on us
35404 # for depending on an impl detail, but c'est la vie. Older versions used
35405 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35406 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35407 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35408 # set (hence we're using an older libtool), then set it.
35409 if test x${with_gnu_ld+set} != xset; then
35410 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35411 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35412 with_gnu_ld=no
35413 else
35414 with_gnu_ld=$ac_cv_prog_gnu_ld
35415 fi
35416 fi
35417
35418 # Start by getting the version number. I think the libtool test already
35419 # does some of this, but throws away the result.
35420 glibcxx_ld_is_gold=no
35421 if test x"$with_gnu_ld" = x"yes"; then
35422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35423 $as_echo_n "checking for ld version... " >&6; }
35424
35425 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35426 glibcxx_ld_is_gold=yes
35427 fi
35428 ldver=`$LD --version 2>/dev/null |
35429 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'`
35430
35431 glibcxx_gnu_ld_version=`echo $ldver | \
35432 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35434 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35435 fi
35436
35437 # Set --gc-sections.
35438 glibcxx_have_gc_sections=no
35439 if test "$glibcxx_ld_is_gold" = "yes"; then
35440 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35441 glibcxx_have_gc_sections=yes
35442 fi
35443 else
35444 glibcxx_gcsections_min_ld=21602
35445 if test x"$with_gnu_ld" = x"yes" &&
35446 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35447 glibcxx_have_gc_sections=yes
35448 fi
35449 fi
35450 if test "$glibcxx_have_gc_sections" = "yes"; then
35451 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35452 # NB: This flag only works reliably after 2.16.1. Configure tests
35453 # for this are difficult, so hard wire a value that should work.
35454
35455 ac_test_CFLAGS="${CFLAGS+set}"
35456 ac_save_CFLAGS="$CFLAGS"
35457 CFLAGS='-Wl,--gc-sections'
35458
35459 # Check for -Wl,--gc-sections
35460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35461 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35462 if test x$gcc_no_link = xyes; then
35463 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35464 fi
35465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35466 /* end confdefs.h. */
35467 int one(void) { return 1; }
35468 int two(void) { return 2; }
35469
35470 int
35471 main ()
35472 {
35473 two();
35474 ;
35475 return 0;
35476 }
35477 _ACEOF
35478 if ac_fn_c_try_link "$LINENO"; then :
35479 ac_gcsections=yes
35480 else
35481 ac_gcsections=no
35482 fi
35483 rm -f core conftest.err conftest.$ac_objext \
35484 conftest$ac_exeext conftest.$ac_ext
35485 if test "$ac_gcsections" = "yes"; then
35486 rm -f conftest.c
35487 touch conftest.c
35488 if $CC -c conftest.c; then
35489 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35490 grep "Warning: gc-sections option ignored" > /dev/null; then
35491 ac_gcsections=no
35492 fi
35493 fi
35494 rm -f conftest.c conftest.o conftest
35495 fi
35496 if test "$ac_gcsections" = "yes"; then
35497 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35498 fi
35499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35500 $as_echo "$ac_gcsections" >&6; }
35501
35502 if test "$ac_test_CFLAGS" = set; then
35503 CFLAGS="$ac_save_CFLAGS"
35504 else
35505 # this is the suspicious part
35506 CFLAGS=''
35507 fi
35508 fi
35509
35510 # Set -z,relro.
35511 # Note this is only for shared objects.
35512 ac_ld_relro=no
35513 if test x"$with_gnu_ld" = x"yes"; then
35514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35515 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35516 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35517 if test -n "$cxx_z_relo"; then
35518 OPT_LDFLAGS="-Wl,-z,relro"
35519 ac_ld_relro=yes
35520 fi
35521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35522 $as_echo "$ac_ld_relro" >&6; }
35523 fi
35524
35525 # Set linker optimization flags.
35526 if test x"$with_gnu_ld" = x"yes"; then
35527 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35528 fi
35529
35530
35531
35532
35533
35534 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35535 ac_save_CXXFLAGS="$CXXFLAGS"
35536 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35537
35538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35539 $as_echo_n "checking for sin in -lm... " >&6; }
35540 if ${ac_cv_lib_m_sin+:} false; then :
35541 $as_echo_n "(cached) " >&6
35542 else
35543 ac_check_lib_save_LIBS=$LIBS
35544 LIBS="-lm $LIBS"
35545 if test x$gcc_no_link = xyes; then
35546 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35547 fi
35548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35549 /* end confdefs.h. */
35550
35551 /* Override any GCC internal prototype to avoid an error.
35552 Use char because int might match the return type of a GCC
35553 builtin and then its argument prototype would still apply. */
35554 #ifdef __cplusplus
35555 extern "C"
35556 #endif
35557 char sin ();
35558 int
35559 main ()
35560 {
35561 return sin ();
35562 ;
35563 return 0;
35564 }
35565 _ACEOF
35566 if ac_fn_c_try_link "$LINENO"; then :
35567 ac_cv_lib_m_sin=yes
35568 else
35569 ac_cv_lib_m_sin=no
35570 fi
35571 rm -f core conftest.err conftest.$ac_objext \
35572 conftest$ac_exeext conftest.$ac_ext
35573 LIBS=$ac_check_lib_save_LIBS
35574 fi
35575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35576 $as_echo "$ac_cv_lib_m_sin" >&6; }
35577 if test "x$ac_cv_lib_m_sin" = xyes; then :
35578 libm="-lm"
35579 fi
35580
35581 ac_save_LIBS="$LIBS"
35582 LIBS="$LIBS $libm"
35583
35584
35585
35586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35587 $as_echo_n "checking for isinf declaration... " >&6; }
35588 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35589 if ${glibcxx_cv_func_isinf_use+:} false; then :
35590 $as_echo_n "(cached) " >&6
35591 else
35592
35593
35594 ac_ext=cpp
35595 ac_cpp='$CXXCPP $CPPFLAGS'
35596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35599
35600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35601 /* end confdefs.h. */
35602 #include <math.h>
35603 #ifdef HAVE_IEEEFP_H
35604 #include <ieeefp.h>
35605 #endif
35606
35607 int
35608 main ()
35609 {
35610 isinf(0);
35611 ;
35612 return 0;
35613 }
35614 _ACEOF
35615 if ac_fn_cxx_try_compile "$LINENO"; then :
35616 glibcxx_cv_func_isinf_use=yes
35617 else
35618 glibcxx_cv_func_isinf_use=no
35619 fi
35620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35621 ac_ext=c
35622 ac_cpp='$CPP $CPPFLAGS'
35623 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35624 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35625 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35626
35627
35628 fi
35629
35630 fi
35631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35632 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35633
35634 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35635 for ac_func in isinf
35636 do :
35637 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35638 if test "x$ac_cv_func_isinf" = xyes; then :
35639 cat >>confdefs.h <<_ACEOF
35640 #define HAVE_ISINF 1
35641 _ACEOF
35642
35643 fi
35644 done
35645
35646 else
35647
35648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35649 $as_echo_n "checking for _isinf declaration... " >&6; }
35650 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35651 if ${glibcxx_cv_func__isinf_use+:} false; then :
35652 $as_echo_n "(cached) " >&6
35653 else
35654
35655
35656 ac_ext=cpp
35657 ac_cpp='$CXXCPP $CPPFLAGS'
35658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35661
35662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35663 /* end confdefs.h. */
35664 #include <math.h>
35665 #ifdef HAVE_IEEEFP_H
35666 #include <ieeefp.h>
35667 #endif
35668
35669 int
35670 main ()
35671 {
35672 _isinf(0);
35673 ;
35674 return 0;
35675 }
35676 _ACEOF
35677 if ac_fn_cxx_try_compile "$LINENO"; then :
35678 glibcxx_cv_func__isinf_use=yes
35679 else
35680 glibcxx_cv_func__isinf_use=no
35681 fi
35682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35683 ac_ext=c
35684 ac_cpp='$CPP $CPPFLAGS'
35685 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35686 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35687 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35688
35689
35690 fi
35691
35692 fi
35693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35694 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35695
35696 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35697 for ac_func in _isinf
35698 do :
35699 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35700 if test "x$ac_cv_func__isinf" = xyes; then :
35701 cat >>confdefs.h <<_ACEOF
35702 #define HAVE__ISINF 1
35703 _ACEOF
35704
35705 fi
35706 done
35707
35708 fi
35709 fi
35710
35711
35712
35713
35714
35715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35716 $as_echo_n "checking for isnan declaration... " >&6; }
35717 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35718 if ${glibcxx_cv_func_isnan_use+:} false; then :
35719 $as_echo_n "(cached) " >&6
35720 else
35721
35722
35723 ac_ext=cpp
35724 ac_cpp='$CXXCPP $CPPFLAGS'
35725 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35726 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35727 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35728
35729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35730 /* end confdefs.h. */
35731 #include <math.h>
35732 #ifdef HAVE_IEEEFP_H
35733 #include <ieeefp.h>
35734 #endif
35735
35736 int
35737 main ()
35738 {
35739 isnan(0);
35740 ;
35741 return 0;
35742 }
35743 _ACEOF
35744 if ac_fn_cxx_try_compile "$LINENO"; then :
35745 glibcxx_cv_func_isnan_use=yes
35746 else
35747 glibcxx_cv_func_isnan_use=no
35748 fi
35749 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35750 ac_ext=c
35751 ac_cpp='$CPP $CPPFLAGS'
35752 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35753 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35754 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35755
35756
35757 fi
35758
35759 fi
35760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35761 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35762
35763 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35764 for ac_func in isnan
35765 do :
35766 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35767 if test "x$ac_cv_func_isnan" = xyes; then :
35768 cat >>confdefs.h <<_ACEOF
35769 #define HAVE_ISNAN 1
35770 _ACEOF
35771
35772 fi
35773 done
35774
35775 else
35776
35777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35778 $as_echo_n "checking for _isnan declaration... " >&6; }
35779 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35780 if ${glibcxx_cv_func__isnan_use+:} false; then :
35781 $as_echo_n "(cached) " >&6
35782 else
35783
35784
35785 ac_ext=cpp
35786 ac_cpp='$CXXCPP $CPPFLAGS'
35787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35790
35791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35792 /* end confdefs.h. */
35793 #include <math.h>
35794 #ifdef HAVE_IEEEFP_H
35795 #include <ieeefp.h>
35796 #endif
35797
35798 int
35799 main ()
35800 {
35801 _isnan(0);
35802 ;
35803 return 0;
35804 }
35805 _ACEOF
35806 if ac_fn_cxx_try_compile "$LINENO"; then :
35807 glibcxx_cv_func__isnan_use=yes
35808 else
35809 glibcxx_cv_func__isnan_use=no
35810 fi
35811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35812 ac_ext=c
35813 ac_cpp='$CPP $CPPFLAGS'
35814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35817
35818
35819 fi
35820
35821 fi
35822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35823 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35824
35825 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35826 for ac_func in _isnan
35827 do :
35828 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35829 if test "x$ac_cv_func__isnan" = xyes; then :
35830 cat >>confdefs.h <<_ACEOF
35831 #define HAVE__ISNAN 1
35832 _ACEOF
35833
35834 fi
35835 done
35836
35837 fi
35838 fi
35839
35840
35841
35842
35843
35844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35845 $as_echo_n "checking for finite declaration... " >&6; }
35846 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35847 if ${glibcxx_cv_func_finite_use+:} false; then :
35848 $as_echo_n "(cached) " >&6
35849 else
35850
35851
35852 ac_ext=cpp
35853 ac_cpp='$CXXCPP $CPPFLAGS'
35854 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35855 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35856 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35857
35858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35859 /* end confdefs.h. */
35860 #include <math.h>
35861 #ifdef HAVE_IEEEFP_H
35862 #include <ieeefp.h>
35863 #endif
35864
35865 int
35866 main ()
35867 {
35868 finite(0);
35869 ;
35870 return 0;
35871 }
35872 _ACEOF
35873 if ac_fn_cxx_try_compile "$LINENO"; then :
35874 glibcxx_cv_func_finite_use=yes
35875 else
35876 glibcxx_cv_func_finite_use=no
35877 fi
35878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35879 ac_ext=c
35880 ac_cpp='$CPP $CPPFLAGS'
35881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35884
35885
35886 fi
35887
35888 fi
35889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35890 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35891
35892 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35893 for ac_func in finite
35894 do :
35895 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35896 if test "x$ac_cv_func_finite" = xyes; then :
35897 cat >>confdefs.h <<_ACEOF
35898 #define HAVE_FINITE 1
35899 _ACEOF
35900
35901 fi
35902 done
35903
35904 else
35905
35906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35907 $as_echo_n "checking for _finite declaration... " >&6; }
35908 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35909 if ${glibcxx_cv_func__finite_use+:} false; then :
35910 $as_echo_n "(cached) " >&6
35911 else
35912
35913
35914 ac_ext=cpp
35915 ac_cpp='$CXXCPP $CPPFLAGS'
35916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35919
35920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35921 /* end confdefs.h. */
35922 #include <math.h>
35923 #ifdef HAVE_IEEEFP_H
35924 #include <ieeefp.h>
35925 #endif
35926
35927 int
35928 main ()
35929 {
35930 _finite(0);
35931 ;
35932 return 0;
35933 }
35934 _ACEOF
35935 if ac_fn_cxx_try_compile "$LINENO"; then :
35936 glibcxx_cv_func__finite_use=yes
35937 else
35938 glibcxx_cv_func__finite_use=no
35939 fi
35940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35941 ac_ext=c
35942 ac_cpp='$CPP $CPPFLAGS'
35943 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35946
35947
35948 fi
35949
35950 fi
35951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35952 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35953
35954 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35955 for ac_func in _finite
35956 do :
35957 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35958 if test "x$ac_cv_func__finite" = xyes; then :
35959 cat >>confdefs.h <<_ACEOF
35960 #define HAVE__FINITE 1
35961 _ACEOF
35962
35963 fi
35964 done
35965
35966 fi
35967 fi
35968
35969
35970
35971
35972
35973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35974 $as_echo_n "checking for sincos declaration... " >&6; }
35975 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35976 if ${glibcxx_cv_func_sincos_use+:} false; then :
35977 $as_echo_n "(cached) " >&6
35978 else
35979
35980
35981 ac_ext=cpp
35982 ac_cpp='$CXXCPP $CPPFLAGS'
35983 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35984 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35985 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35986
35987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35988 /* end confdefs.h. */
35989 #include <math.h>
35990 int
35991 main ()
35992 {
35993 sincos(0, 0, 0);
35994 ;
35995 return 0;
35996 }
35997 _ACEOF
35998 if ac_fn_cxx_try_compile "$LINENO"; then :
35999 glibcxx_cv_func_sincos_use=yes
36000 else
36001 glibcxx_cv_func_sincos_use=no
36002 fi
36003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36004 ac_ext=c
36005 ac_cpp='$CPP $CPPFLAGS'
36006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36009
36010
36011 fi
36012
36013 fi
36014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
36015 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
36016
36017 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
36018 for ac_func in sincos
36019 do :
36020 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
36021 if test "x$ac_cv_func_sincos" = xyes; then :
36022 cat >>confdefs.h <<_ACEOF
36023 #define HAVE_SINCOS 1
36024 _ACEOF
36025
36026 fi
36027 done
36028
36029 else
36030
36031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
36032 $as_echo_n "checking for _sincos declaration... " >&6; }
36033 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
36034 if ${glibcxx_cv_func__sincos_use+:} false; then :
36035 $as_echo_n "(cached) " >&6
36036 else
36037
36038
36039 ac_ext=cpp
36040 ac_cpp='$CXXCPP $CPPFLAGS'
36041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36044
36045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36046 /* end confdefs.h. */
36047 #include <math.h>
36048 int
36049 main ()
36050 {
36051 _sincos(0, 0, 0);
36052 ;
36053 return 0;
36054 }
36055 _ACEOF
36056 if ac_fn_cxx_try_compile "$LINENO"; then :
36057 glibcxx_cv_func__sincos_use=yes
36058 else
36059 glibcxx_cv_func__sincos_use=no
36060 fi
36061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36062 ac_ext=c
36063 ac_cpp='$CPP $CPPFLAGS'
36064 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36065 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36066 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36067
36068
36069 fi
36070
36071 fi
36072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
36073 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
36074
36075 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
36076 for ac_func in _sincos
36077 do :
36078 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
36079 if test "x$ac_cv_func__sincos" = xyes; then :
36080 cat >>confdefs.h <<_ACEOF
36081 #define HAVE__SINCOS 1
36082 _ACEOF
36083
36084 fi
36085 done
36086
36087 fi
36088 fi
36089
36090
36091
36092
36093
36094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
36095 $as_echo_n "checking for fpclass declaration... " >&6; }
36096 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
36097 if ${glibcxx_cv_func_fpclass_use+:} false; then :
36098 $as_echo_n "(cached) " >&6
36099 else
36100
36101
36102 ac_ext=cpp
36103 ac_cpp='$CXXCPP $CPPFLAGS'
36104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36107
36108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36109 /* end confdefs.h. */
36110 #include <math.h>
36111 #ifdef HAVE_IEEEFP_H
36112 #include <ieeefp.h>
36113 #endif
36114
36115 int
36116 main ()
36117 {
36118 fpclass(0);
36119 ;
36120 return 0;
36121 }
36122 _ACEOF
36123 if ac_fn_cxx_try_compile "$LINENO"; then :
36124 glibcxx_cv_func_fpclass_use=yes
36125 else
36126 glibcxx_cv_func_fpclass_use=no
36127 fi
36128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36129 ac_ext=c
36130 ac_cpp='$CPP $CPPFLAGS'
36131 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36132 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36133 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36134
36135
36136 fi
36137
36138 fi
36139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
36140 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
36141
36142 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
36143 for ac_func in fpclass
36144 do :
36145 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
36146 if test "x$ac_cv_func_fpclass" = xyes; then :
36147 cat >>confdefs.h <<_ACEOF
36148 #define HAVE_FPCLASS 1
36149 _ACEOF
36150
36151 fi
36152 done
36153
36154 else
36155
36156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
36157 $as_echo_n "checking for _fpclass declaration... " >&6; }
36158 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
36159 if ${glibcxx_cv_func__fpclass_use+:} false; then :
36160 $as_echo_n "(cached) " >&6
36161 else
36162
36163
36164 ac_ext=cpp
36165 ac_cpp='$CXXCPP $CPPFLAGS'
36166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36169
36170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36171 /* end confdefs.h. */
36172 #include <math.h>
36173 #ifdef HAVE_IEEEFP_H
36174 #include <ieeefp.h>
36175 #endif
36176
36177 int
36178 main ()
36179 {
36180 _fpclass(0);
36181 ;
36182 return 0;
36183 }
36184 _ACEOF
36185 if ac_fn_cxx_try_compile "$LINENO"; then :
36186 glibcxx_cv_func__fpclass_use=yes
36187 else
36188 glibcxx_cv_func__fpclass_use=no
36189 fi
36190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36191 ac_ext=c
36192 ac_cpp='$CPP $CPPFLAGS'
36193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36196
36197
36198 fi
36199
36200 fi
36201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36202 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36203
36204 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36205 for ac_func in _fpclass
36206 do :
36207 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36208 if test "x$ac_cv_func__fpclass" = xyes; then :
36209 cat >>confdefs.h <<_ACEOF
36210 #define HAVE__FPCLASS 1
36211 _ACEOF
36212
36213 fi
36214 done
36215
36216 fi
36217 fi
36218
36219
36220
36221
36222
36223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36224 $as_echo_n "checking for qfpclass declaration... " >&6; }
36225 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36226 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36227 $as_echo_n "(cached) " >&6
36228 else
36229
36230
36231 ac_ext=cpp
36232 ac_cpp='$CXXCPP $CPPFLAGS'
36233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36236
36237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36238 /* end confdefs.h. */
36239 #include <math.h>
36240 #ifdef HAVE_IEEEFP_H
36241 #include <ieeefp.h>
36242 #endif
36243
36244 int
36245 main ()
36246 {
36247 qfpclass(0);
36248 ;
36249 return 0;
36250 }
36251 _ACEOF
36252 if ac_fn_cxx_try_compile "$LINENO"; then :
36253 glibcxx_cv_func_qfpclass_use=yes
36254 else
36255 glibcxx_cv_func_qfpclass_use=no
36256 fi
36257 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36258 ac_ext=c
36259 ac_cpp='$CPP $CPPFLAGS'
36260 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36261 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36262 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36263
36264
36265 fi
36266
36267 fi
36268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36269 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36270
36271 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36272 for ac_func in qfpclass
36273 do :
36274 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36275 if test "x$ac_cv_func_qfpclass" = xyes; then :
36276 cat >>confdefs.h <<_ACEOF
36277 #define HAVE_QFPCLASS 1
36278 _ACEOF
36279
36280 fi
36281 done
36282
36283 else
36284
36285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36286 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36287 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36288 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36289 $as_echo_n "(cached) " >&6
36290 else
36291
36292
36293 ac_ext=cpp
36294 ac_cpp='$CXXCPP $CPPFLAGS'
36295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36298
36299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36300 /* end confdefs.h. */
36301 #include <math.h>
36302 #ifdef HAVE_IEEEFP_H
36303 #include <ieeefp.h>
36304 #endif
36305
36306 int
36307 main ()
36308 {
36309 _qfpclass(0);
36310 ;
36311 return 0;
36312 }
36313 _ACEOF
36314 if ac_fn_cxx_try_compile "$LINENO"; then :
36315 glibcxx_cv_func__qfpclass_use=yes
36316 else
36317 glibcxx_cv_func__qfpclass_use=no
36318 fi
36319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36320 ac_ext=c
36321 ac_cpp='$CPP $CPPFLAGS'
36322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36325
36326
36327 fi
36328
36329 fi
36330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36331 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36332
36333 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36334 for ac_func in _qfpclass
36335 do :
36336 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36337 if test "x$ac_cv_func__qfpclass" = xyes; then :
36338 cat >>confdefs.h <<_ACEOF
36339 #define HAVE__QFPCLASS 1
36340 _ACEOF
36341
36342 fi
36343 done
36344
36345 fi
36346 fi
36347
36348
36349
36350
36351
36352 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36353 $as_echo_n "checking for hypot declaration... " >&6; }
36354 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36355 if ${glibcxx_cv_func_hypot_use+:} false; then :
36356 $as_echo_n "(cached) " >&6
36357 else
36358
36359
36360 ac_ext=cpp
36361 ac_cpp='$CXXCPP $CPPFLAGS'
36362 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36363 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36364 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36365
36366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36367 /* end confdefs.h. */
36368 #include <math.h>
36369 int
36370 main ()
36371 {
36372 hypot(0, 0);
36373 ;
36374 return 0;
36375 }
36376 _ACEOF
36377 if ac_fn_cxx_try_compile "$LINENO"; then :
36378 glibcxx_cv_func_hypot_use=yes
36379 else
36380 glibcxx_cv_func_hypot_use=no
36381 fi
36382 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36383 ac_ext=c
36384 ac_cpp='$CPP $CPPFLAGS'
36385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36388
36389
36390 fi
36391
36392 fi
36393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36394 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36395
36396 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36397 for ac_func in hypot
36398 do :
36399 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36400 if test "x$ac_cv_func_hypot" = xyes; then :
36401 cat >>confdefs.h <<_ACEOF
36402 #define HAVE_HYPOT 1
36403 _ACEOF
36404
36405 fi
36406 done
36407
36408 else
36409
36410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36411 $as_echo_n "checking for _hypot declaration... " >&6; }
36412 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36413 if ${glibcxx_cv_func__hypot_use+:} false; then :
36414 $as_echo_n "(cached) " >&6
36415 else
36416
36417
36418 ac_ext=cpp
36419 ac_cpp='$CXXCPP $CPPFLAGS'
36420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36423
36424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36425 /* end confdefs.h. */
36426 #include <math.h>
36427 int
36428 main ()
36429 {
36430 _hypot(0, 0);
36431 ;
36432 return 0;
36433 }
36434 _ACEOF
36435 if ac_fn_cxx_try_compile "$LINENO"; then :
36436 glibcxx_cv_func__hypot_use=yes
36437 else
36438 glibcxx_cv_func__hypot_use=no
36439 fi
36440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36441 ac_ext=c
36442 ac_cpp='$CPP $CPPFLAGS'
36443 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36444 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36445 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36446
36447
36448 fi
36449
36450 fi
36451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36452 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36453
36454 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36455 for ac_func in _hypot
36456 do :
36457 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36458 if test "x$ac_cv_func__hypot" = xyes; then :
36459 cat >>confdefs.h <<_ACEOF
36460 #define HAVE__HYPOT 1
36461 _ACEOF
36462
36463 fi
36464 done
36465
36466 fi
36467 fi
36468
36469
36470
36471
36472
36473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36474 $as_echo_n "checking for float trig functions... " >&6; }
36475 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36476 $as_echo_n "(cached) " >&6
36477 else
36478
36479
36480 ac_ext=cpp
36481 ac_cpp='$CXXCPP $CPPFLAGS'
36482 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36483 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36484 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36485
36486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36487 /* end confdefs.h. */
36488 #include <math.h>
36489 int
36490 main ()
36491 {
36492 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36493 ;
36494 return 0;
36495 }
36496 _ACEOF
36497 if ac_fn_cxx_try_compile "$LINENO"; then :
36498 glibcxx_cv_func_float_trig_use=yes
36499 else
36500 glibcxx_cv_func_float_trig_use=no
36501 fi
36502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36503 ac_ext=c
36504 ac_cpp='$CPP $CPPFLAGS'
36505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36508
36509 fi
36510
36511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36512 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36513 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36514 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36515 do :
36516 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36517 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36518 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36519 cat >>confdefs.h <<_ACEOF
36520 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36521 _ACEOF
36522
36523 fi
36524 done
36525
36526 else
36527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36528 $as_echo_n "checking for _float trig functions... " >&6; }
36529 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36530 $as_echo_n "(cached) " >&6
36531 else
36532
36533
36534 ac_ext=cpp
36535 ac_cpp='$CXXCPP $CPPFLAGS'
36536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36539
36540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36541 /* end confdefs.h. */
36542 #include <math.h>
36543 int
36544 main ()
36545 {
36546 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36547 ;
36548 return 0;
36549 }
36550 _ACEOF
36551 if ac_fn_cxx_try_compile "$LINENO"; then :
36552 glibcxx_cv_func__float_trig_use=yes
36553 else
36554 glibcxx_cv_func__float_trig_use=no
36555 fi
36556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36557 ac_ext=c
36558 ac_cpp='$CPP $CPPFLAGS'
36559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36562
36563 fi
36564
36565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36566 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36567 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36568 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36569 do :
36570 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36571 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36572 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36573 cat >>confdefs.h <<_ACEOF
36574 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36575 _ACEOF
36576
36577 fi
36578 done
36579
36580 fi
36581 fi
36582
36583
36584
36585
36586
36587 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36588 $as_echo_n "checking for float round functions... " >&6; }
36589 if ${glibcxx_cv_func_float_round_use+:} false; then :
36590 $as_echo_n "(cached) " >&6
36591 else
36592
36593
36594 ac_ext=cpp
36595 ac_cpp='$CXXCPP $CPPFLAGS'
36596 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36597 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36598 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36599
36600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36601 /* end confdefs.h. */
36602 #include <math.h>
36603 int
36604 main ()
36605 {
36606 ceilf (0); floorf (0);
36607 ;
36608 return 0;
36609 }
36610 _ACEOF
36611 if ac_fn_cxx_try_compile "$LINENO"; then :
36612 glibcxx_cv_func_float_round_use=yes
36613 else
36614 glibcxx_cv_func_float_round_use=no
36615 fi
36616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36617 ac_ext=c
36618 ac_cpp='$CPP $CPPFLAGS'
36619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36622
36623 fi
36624
36625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36626 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36627 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36628 for ac_func in ceilf floorf
36629 do :
36630 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36631 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36632 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36633 cat >>confdefs.h <<_ACEOF
36634 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36635 _ACEOF
36636
36637 fi
36638 done
36639
36640 else
36641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36642 $as_echo_n "checking for _float round functions... " >&6; }
36643 if ${glibcxx_cv_func__float_round_use+:} false; then :
36644 $as_echo_n "(cached) " >&6
36645 else
36646
36647
36648 ac_ext=cpp
36649 ac_cpp='$CXXCPP $CPPFLAGS'
36650 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36651 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36652 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36653
36654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36655 /* end confdefs.h. */
36656 #include <math.h>
36657 int
36658 main ()
36659 {
36660 _ceilf (0); _floorf (0);
36661 ;
36662 return 0;
36663 }
36664 _ACEOF
36665 if ac_fn_cxx_try_compile "$LINENO"; then :
36666 glibcxx_cv_func__float_round_use=yes
36667 else
36668 glibcxx_cv_func__float_round_use=no
36669 fi
36670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36671 ac_ext=c
36672 ac_cpp='$CPP $CPPFLAGS'
36673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36676
36677 fi
36678
36679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36680 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36681 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36682 for ac_func in _ceilf _floorf
36683 do :
36684 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36685 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36686 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36687 cat >>confdefs.h <<_ACEOF
36688 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36689 _ACEOF
36690
36691 fi
36692 done
36693
36694 fi
36695 fi
36696
36697
36698
36699
36700
36701
36702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36703 $as_echo_n "checking for expf declaration... " >&6; }
36704 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36705 if ${glibcxx_cv_func_expf_use+:} false; then :
36706 $as_echo_n "(cached) " >&6
36707 else
36708
36709
36710 ac_ext=cpp
36711 ac_cpp='$CXXCPP $CPPFLAGS'
36712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36715
36716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36717 /* end confdefs.h. */
36718 #include <math.h>
36719 #ifdef HAVE_IEEEFP_H
36720 #include <ieeefp.h>
36721 #endif
36722
36723 int
36724 main ()
36725 {
36726 expf(0);
36727 ;
36728 return 0;
36729 }
36730 _ACEOF
36731 if ac_fn_cxx_try_compile "$LINENO"; then :
36732 glibcxx_cv_func_expf_use=yes
36733 else
36734 glibcxx_cv_func_expf_use=no
36735 fi
36736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36737 ac_ext=c
36738 ac_cpp='$CPP $CPPFLAGS'
36739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36742
36743
36744 fi
36745
36746 fi
36747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36748 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36749
36750 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36751 for ac_func in expf
36752 do :
36753 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36754 if test "x$ac_cv_func_expf" = xyes; then :
36755 cat >>confdefs.h <<_ACEOF
36756 #define HAVE_EXPF 1
36757 _ACEOF
36758
36759 fi
36760 done
36761
36762 else
36763
36764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36765 $as_echo_n "checking for _expf declaration... " >&6; }
36766 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36767 if ${glibcxx_cv_func__expf_use+:} false; then :
36768 $as_echo_n "(cached) " >&6
36769 else
36770
36771
36772 ac_ext=cpp
36773 ac_cpp='$CXXCPP $CPPFLAGS'
36774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36777
36778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36779 /* end confdefs.h. */
36780 #include <math.h>
36781 #ifdef HAVE_IEEEFP_H
36782 #include <ieeefp.h>
36783 #endif
36784
36785 int
36786 main ()
36787 {
36788 _expf(0);
36789 ;
36790 return 0;
36791 }
36792 _ACEOF
36793 if ac_fn_cxx_try_compile "$LINENO"; then :
36794 glibcxx_cv_func__expf_use=yes
36795 else
36796 glibcxx_cv_func__expf_use=no
36797 fi
36798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36799 ac_ext=c
36800 ac_cpp='$CPP $CPPFLAGS'
36801 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36802 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36803 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36804
36805
36806 fi
36807
36808 fi
36809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36810 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36811
36812 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36813 for ac_func in _expf
36814 do :
36815 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36816 if test "x$ac_cv_func__expf" = xyes; then :
36817 cat >>confdefs.h <<_ACEOF
36818 #define HAVE__EXPF 1
36819 _ACEOF
36820
36821 fi
36822 done
36823
36824 fi
36825 fi
36826
36827
36828
36829
36830
36831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36832 $as_echo_n "checking for isnanf declaration... " >&6; }
36833 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36834 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36835 $as_echo_n "(cached) " >&6
36836 else
36837
36838
36839 ac_ext=cpp
36840 ac_cpp='$CXXCPP $CPPFLAGS'
36841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36844
36845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36846 /* end confdefs.h. */
36847 #include <math.h>
36848 #ifdef HAVE_IEEEFP_H
36849 #include <ieeefp.h>
36850 #endif
36851
36852 int
36853 main ()
36854 {
36855 isnanf(0);
36856 ;
36857 return 0;
36858 }
36859 _ACEOF
36860 if ac_fn_cxx_try_compile "$LINENO"; then :
36861 glibcxx_cv_func_isnanf_use=yes
36862 else
36863 glibcxx_cv_func_isnanf_use=no
36864 fi
36865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36866 ac_ext=c
36867 ac_cpp='$CPP $CPPFLAGS'
36868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36871
36872
36873 fi
36874
36875 fi
36876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36877 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36878
36879 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36880 for ac_func in isnanf
36881 do :
36882 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36883 if test "x$ac_cv_func_isnanf" = xyes; then :
36884 cat >>confdefs.h <<_ACEOF
36885 #define HAVE_ISNANF 1
36886 _ACEOF
36887
36888 fi
36889 done
36890
36891 else
36892
36893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36894 $as_echo_n "checking for _isnanf declaration... " >&6; }
36895 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36896 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36897 $as_echo_n "(cached) " >&6
36898 else
36899
36900
36901 ac_ext=cpp
36902 ac_cpp='$CXXCPP $CPPFLAGS'
36903 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36904 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36905 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36906
36907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36908 /* end confdefs.h. */
36909 #include <math.h>
36910 #ifdef HAVE_IEEEFP_H
36911 #include <ieeefp.h>
36912 #endif
36913
36914 int
36915 main ()
36916 {
36917 _isnanf(0);
36918 ;
36919 return 0;
36920 }
36921 _ACEOF
36922 if ac_fn_cxx_try_compile "$LINENO"; then :
36923 glibcxx_cv_func__isnanf_use=yes
36924 else
36925 glibcxx_cv_func__isnanf_use=no
36926 fi
36927 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36928 ac_ext=c
36929 ac_cpp='$CPP $CPPFLAGS'
36930 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36931 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36932 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36933
36934
36935 fi
36936
36937 fi
36938 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36939 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36940
36941 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36942 for ac_func in _isnanf
36943 do :
36944 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36945 if test "x$ac_cv_func__isnanf" = xyes; then :
36946 cat >>confdefs.h <<_ACEOF
36947 #define HAVE__ISNANF 1
36948 _ACEOF
36949
36950 fi
36951 done
36952
36953 fi
36954 fi
36955
36956
36957
36958
36959
36960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36961 $as_echo_n "checking for isinff declaration... " >&6; }
36962 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36963 if ${glibcxx_cv_func_isinff_use+:} false; then :
36964 $as_echo_n "(cached) " >&6
36965 else
36966
36967
36968 ac_ext=cpp
36969 ac_cpp='$CXXCPP $CPPFLAGS'
36970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36973
36974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36975 /* end confdefs.h. */
36976 #include <math.h>
36977 #ifdef HAVE_IEEEFP_H
36978 #include <ieeefp.h>
36979 #endif
36980
36981 int
36982 main ()
36983 {
36984 isinff(0);
36985 ;
36986 return 0;
36987 }
36988 _ACEOF
36989 if ac_fn_cxx_try_compile "$LINENO"; then :
36990 glibcxx_cv_func_isinff_use=yes
36991 else
36992 glibcxx_cv_func_isinff_use=no
36993 fi
36994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36995 ac_ext=c
36996 ac_cpp='$CPP $CPPFLAGS'
36997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37000
37001
37002 fi
37003
37004 fi
37005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
37006 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
37007
37008 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
37009 for ac_func in isinff
37010 do :
37011 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
37012 if test "x$ac_cv_func_isinff" = xyes; then :
37013 cat >>confdefs.h <<_ACEOF
37014 #define HAVE_ISINFF 1
37015 _ACEOF
37016
37017 fi
37018 done
37019
37020 else
37021
37022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
37023 $as_echo_n "checking for _isinff declaration... " >&6; }
37024 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
37025 if ${glibcxx_cv_func__isinff_use+:} false; then :
37026 $as_echo_n "(cached) " >&6
37027 else
37028
37029
37030 ac_ext=cpp
37031 ac_cpp='$CXXCPP $CPPFLAGS'
37032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37035
37036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37037 /* end confdefs.h. */
37038 #include <math.h>
37039 #ifdef HAVE_IEEEFP_H
37040 #include <ieeefp.h>
37041 #endif
37042
37043 int
37044 main ()
37045 {
37046 _isinff(0);
37047 ;
37048 return 0;
37049 }
37050 _ACEOF
37051 if ac_fn_cxx_try_compile "$LINENO"; then :
37052 glibcxx_cv_func__isinff_use=yes
37053 else
37054 glibcxx_cv_func__isinff_use=no
37055 fi
37056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37057 ac_ext=c
37058 ac_cpp='$CPP $CPPFLAGS'
37059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37062
37063
37064 fi
37065
37066 fi
37067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
37068 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
37069
37070 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
37071 for ac_func in _isinff
37072 do :
37073 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
37074 if test "x$ac_cv_func__isinff" = xyes; then :
37075 cat >>confdefs.h <<_ACEOF
37076 #define HAVE__ISINFF 1
37077 _ACEOF
37078
37079 fi
37080 done
37081
37082 fi
37083 fi
37084
37085
37086
37087
37088
37089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
37090 $as_echo_n "checking for atan2f declaration... " >&6; }
37091 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
37092 if ${glibcxx_cv_func_atan2f_use+:} false; then :
37093 $as_echo_n "(cached) " >&6
37094 else
37095
37096
37097 ac_ext=cpp
37098 ac_cpp='$CXXCPP $CPPFLAGS'
37099 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37100 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37101 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37102
37103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37104 /* end confdefs.h. */
37105 #include <math.h>
37106 int
37107 main ()
37108 {
37109 atan2f(0, 0);
37110 ;
37111 return 0;
37112 }
37113 _ACEOF
37114 if ac_fn_cxx_try_compile "$LINENO"; then :
37115 glibcxx_cv_func_atan2f_use=yes
37116 else
37117 glibcxx_cv_func_atan2f_use=no
37118 fi
37119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37120 ac_ext=c
37121 ac_cpp='$CPP $CPPFLAGS'
37122 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37123 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37124 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37125
37126
37127 fi
37128
37129 fi
37130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
37131 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
37132
37133 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
37134 for ac_func in atan2f
37135 do :
37136 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
37137 if test "x$ac_cv_func_atan2f" = xyes; then :
37138 cat >>confdefs.h <<_ACEOF
37139 #define HAVE_ATAN2F 1
37140 _ACEOF
37141
37142 fi
37143 done
37144
37145 else
37146
37147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
37148 $as_echo_n "checking for _atan2f declaration... " >&6; }
37149 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
37150 if ${glibcxx_cv_func__atan2f_use+:} false; then :
37151 $as_echo_n "(cached) " >&6
37152 else
37153
37154
37155 ac_ext=cpp
37156 ac_cpp='$CXXCPP $CPPFLAGS'
37157 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37158 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37159 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37160
37161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37162 /* end confdefs.h. */
37163 #include <math.h>
37164 int
37165 main ()
37166 {
37167 _atan2f(0, 0);
37168 ;
37169 return 0;
37170 }
37171 _ACEOF
37172 if ac_fn_cxx_try_compile "$LINENO"; then :
37173 glibcxx_cv_func__atan2f_use=yes
37174 else
37175 glibcxx_cv_func__atan2f_use=no
37176 fi
37177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37178 ac_ext=c
37179 ac_cpp='$CPP $CPPFLAGS'
37180 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37181 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37182 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37183
37184
37185 fi
37186
37187 fi
37188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
37189 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
37190
37191 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
37192 for ac_func in _atan2f
37193 do :
37194 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
37195 if test "x$ac_cv_func__atan2f" = xyes; then :
37196 cat >>confdefs.h <<_ACEOF
37197 #define HAVE__ATAN2F 1
37198 _ACEOF
37199
37200 fi
37201 done
37202
37203 fi
37204 fi
37205
37206
37207
37208
37209
37210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37211 $as_echo_n "checking for fabsf declaration... " >&6; }
37212 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37213 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37214 $as_echo_n "(cached) " >&6
37215 else
37216
37217
37218 ac_ext=cpp
37219 ac_cpp='$CXXCPP $CPPFLAGS'
37220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37223
37224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37225 /* end confdefs.h. */
37226 #include <math.h>
37227 #ifdef HAVE_IEEEFP_H
37228 #include <ieeefp.h>
37229 #endif
37230
37231 int
37232 main ()
37233 {
37234 fabsf(0);
37235 ;
37236 return 0;
37237 }
37238 _ACEOF
37239 if ac_fn_cxx_try_compile "$LINENO"; then :
37240 glibcxx_cv_func_fabsf_use=yes
37241 else
37242 glibcxx_cv_func_fabsf_use=no
37243 fi
37244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37245 ac_ext=c
37246 ac_cpp='$CPP $CPPFLAGS'
37247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37250
37251
37252 fi
37253
37254 fi
37255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37256 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37257
37258 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37259 for ac_func in fabsf
37260 do :
37261 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37262 if test "x$ac_cv_func_fabsf" = xyes; then :
37263 cat >>confdefs.h <<_ACEOF
37264 #define HAVE_FABSF 1
37265 _ACEOF
37266
37267 fi
37268 done
37269
37270 else
37271
37272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37273 $as_echo_n "checking for _fabsf declaration... " >&6; }
37274 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37275 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37276 $as_echo_n "(cached) " >&6
37277 else
37278
37279
37280 ac_ext=cpp
37281 ac_cpp='$CXXCPP $CPPFLAGS'
37282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37285
37286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37287 /* end confdefs.h. */
37288 #include <math.h>
37289 #ifdef HAVE_IEEEFP_H
37290 #include <ieeefp.h>
37291 #endif
37292
37293 int
37294 main ()
37295 {
37296 _fabsf(0);
37297 ;
37298 return 0;
37299 }
37300 _ACEOF
37301 if ac_fn_cxx_try_compile "$LINENO"; then :
37302 glibcxx_cv_func__fabsf_use=yes
37303 else
37304 glibcxx_cv_func__fabsf_use=no
37305 fi
37306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37307 ac_ext=c
37308 ac_cpp='$CPP $CPPFLAGS'
37309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37312
37313
37314 fi
37315
37316 fi
37317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37318 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37319
37320 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37321 for ac_func in _fabsf
37322 do :
37323 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37324 if test "x$ac_cv_func__fabsf" = xyes; then :
37325 cat >>confdefs.h <<_ACEOF
37326 #define HAVE__FABSF 1
37327 _ACEOF
37328
37329 fi
37330 done
37331
37332 fi
37333 fi
37334
37335
37336
37337
37338
37339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37340 $as_echo_n "checking for fmodf declaration... " >&6; }
37341 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37342 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37343 $as_echo_n "(cached) " >&6
37344 else
37345
37346
37347 ac_ext=cpp
37348 ac_cpp='$CXXCPP $CPPFLAGS'
37349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37352
37353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37354 /* end confdefs.h. */
37355 #include <math.h>
37356 int
37357 main ()
37358 {
37359 fmodf(0, 0);
37360 ;
37361 return 0;
37362 }
37363 _ACEOF
37364 if ac_fn_cxx_try_compile "$LINENO"; then :
37365 glibcxx_cv_func_fmodf_use=yes
37366 else
37367 glibcxx_cv_func_fmodf_use=no
37368 fi
37369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37370 ac_ext=c
37371 ac_cpp='$CPP $CPPFLAGS'
37372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37375
37376
37377 fi
37378
37379 fi
37380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37381 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37382
37383 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37384 for ac_func in fmodf
37385 do :
37386 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37387 if test "x$ac_cv_func_fmodf" = xyes; then :
37388 cat >>confdefs.h <<_ACEOF
37389 #define HAVE_FMODF 1
37390 _ACEOF
37391
37392 fi
37393 done
37394
37395 else
37396
37397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37398 $as_echo_n "checking for _fmodf declaration... " >&6; }
37399 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37400 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37401 $as_echo_n "(cached) " >&6
37402 else
37403
37404
37405 ac_ext=cpp
37406 ac_cpp='$CXXCPP $CPPFLAGS'
37407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37410
37411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37412 /* end confdefs.h. */
37413 #include <math.h>
37414 int
37415 main ()
37416 {
37417 _fmodf(0, 0);
37418 ;
37419 return 0;
37420 }
37421 _ACEOF
37422 if ac_fn_cxx_try_compile "$LINENO"; then :
37423 glibcxx_cv_func__fmodf_use=yes
37424 else
37425 glibcxx_cv_func__fmodf_use=no
37426 fi
37427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37428 ac_ext=c
37429 ac_cpp='$CPP $CPPFLAGS'
37430 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37431 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37432 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37433
37434
37435 fi
37436
37437 fi
37438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37439 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37440
37441 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37442 for ac_func in _fmodf
37443 do :
37444 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37445 if test "x$ac_cv_func__fmodf" = xyes; then :
37446 cat >>confdefs.h <<_ACEOF
37447 #define HAVE__FMODF 1
37448 _ACEOF
37449
37450 fi
37451 done
37452
37453 fi
37454 fi
37455
37456
37457
37458
37459
37460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37461 $as_echo_n "checking for frexpf declaration... " >&6; }
37462 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37463 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37464 $as_echo_n "(cached) " >&6
37465 else
37466
37467
37468 ac_ext=cpp
37469 ac_cpp='$CXXCPP $CPPFLAGS'
37470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37473
37474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37475 /* end confdefs.h. */
37476 #include <math.h>
37477 int
37478 main ()
37479 {
37480 frexpf(0, 0);
37481 ;
37482 return 0;
37483 }
37484 _ACEOF
37485 if ac_fn_cxx_try_compile "$LINENO"; then :
37486 glibcxx_cv_func_frexpf_use=yes
37487 else
37488 glibcxx_cv_func_frexpf_use=no
37489 fi
37490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37491 ac_ext=c
37492 ac_cpp='$CPP $CPPFLAGS'
37493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37496
37497
37498 fi
37499
37500 fi
37501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37502 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37503
37504 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37505 for ac_func in frexpf
37506 do :
37507 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37508 if test "x$ac_cv_func_frexpf" = xyes; then :
37509 cat >>confdefs.h <<_ACEOF
37510 #define HAVE_FREXPF 1
37511 _ACEOF
37512
37513 fi
37514 done
37515
37516 else
37517
37518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37519 $as_echo_n "checking for _frexpf declaration... " >&6; }
37520 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37521 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37522 $as_echo_n "(cached) " >&6
37523 else
37524
37525
37526 ac_ext=cpp
37527 ac_cpp='$CXXCPP $CPPFLAGS'
37528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37531
37532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37533 /* end confdefs.h. */
37534 #include <math.h>
37535 int
37536 main ()
37537 {
37538 _frexpf(0, 0);
37539 ;
37540 return 0;
37541 }
37542 _ACEOF
37543 if ac_fn_cxx_try_compile "$LINENO"; then :
37544 glibcxx_cv_func__frexpf_use=yes
37545 else
37546 glibcxx_cv_func__frexpf_use=no
37547 fi
37548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37549 ac_ext=c
37550 ac_cpp='$CPP $CPPFLAGS'
37551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37554
37555
37556 fi
37557
37558 fi
37559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37560 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37561
37562 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37563 for ac_func in _frexpf
37564 do :
37565 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37566 if test "x$ac_cv_func__frexpf" = xyes; then :
37567 cat >>confdefs.h <<_ACEOF
37568 #define HAVE__FREXPF 1
37569 _ACEOF
37570
37571 fi
37572 done
37573
37574 fi
37575 fi
37576
37577
37578
37579
37580
37581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37582 $as_echo_n "checking for hypotf declaration... " >&6; }
37583 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37584 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37585 $as_echo_n "(cached) " >&6
37586 else
37587
37588
37589 ac_ext=cpp
37590 ac_cpp='$CXXCPP $CPPFLAGS'
37591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37594
37595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37596 /* end confdefs.h. */
37597 #include <math.h>
37598 int
37599 main ()
37600 {
37601 hypotf(0, 0);
37602 ;
37603 return 0;
37604 }
37605 _ACEOF
37606 if ac_fn_cxx_try_compile "$LINENO"; then :
37607 glibcxx_cv_func_hypotf_use=yes
37608 else
37609 glibcxx_cv_func_hypotf_use=no
37610 fi
37611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37612 ac_ext=c
37613 ac_cpp='$CPP $CPPFLAGS'
37614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37617
37618
37619 fi
37620
37621 fi
37622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37623 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37624
37625 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37626 for ac_func in hypotf
37627 do :
37628 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37629 if test "x$ac_cv_func_hypotf" = xyes; then :
37630 cat >>confdefs.h <<_ACEOF
37631 #define HAVE_HYPOTF 1
37632 _ACEOF
37633
37634 fi
37635 done
37636
37637 else
37638
37639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37640 $as_echo_n "checking for _hypotf declaration... " >&6; }
37641 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37642 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37643 $as_echo_n "(cached) " >&6
37644 else
37645
37646
37647 ac_ext=cpp
37648 ac_cpp='$CXXCPP $CPPFLAGS'
37649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37652
37653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37654 /* end confdefs.h. */
37655 #include <math.h>
37656 int
37657 main ()
37658 {
37659 _hypotf(0, 0);
37660 ;
37661 return 0;
37662 }
37663 _ACEOF
37664 if ac_fn_cxx_try_compile "$LINENO"; then :
37665 glibcxx_cv_func__hypotf_use=yes
37666 else
37667 glibcxx_cv_func__hypotf_use=no
37668 fi
37669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37670 ac_ext=c
37671 ac_cpp='$CPP $CPPFLAGS'
37672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37675
37676
37677 fi
37678
37679 fi
37680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37681 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37682
37683 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37684 for ac_func in _hypotf
37685 do :
37686 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37687 if test "x$ac_cv_func__hypotf" = xyes; then :
37688 cat >>confdefs.h <<_ACEOF
37689 #define HAVE__HYPOTF 1
37690 _ACEOF
37691
37692 fi
37693 done
37694
37695 fi
37696 fi
37697
37698
37699
37700
37701
37702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37703 $as_echo_n "checking for ldexpf declaration... " >&6; }
37704 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37705 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37706 $as_echo_n "(cached) " >&6
37707 else
37708
37709
37710 ac_ext=cpp
37711 ac_cpp='$CXXCPP $CPPFLAGS'
37712 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37713 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37714 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37715
37716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37717 /* end confdefs.h. */
37718 #include <math.h>
37719 int
37720 main ()
37721 {
37722 ldexpf(0, 0);
37723 ;
37724 return 0;
37725 }
37726 _ACEOF
37727 if ac_fn_cxx_try_compile "$LINENO"; then :
37728 glibcxx_cv_func_ldexpf_use=yes
37729 else
37730 glibcxx_cv_func_ldexpf_use=no
37731 fi
37732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37733 ac_ext=c
37734 ac_cpp='$CPP $CPPFLAGS'
37735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37738
37739
37740 fi
37741
37742 fi
37743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37744 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37745
37746 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37747 for ac_func in ldexpf
37748 do :
37749 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37750 if test "x$ac_cv_func_ldexpf" = xyes; then :
37751 cat >>confdefs.h <<_ACEOF
37752 #define HAVE_LDEXPF 1
37753 _ACEOF
37754
37755 fi
37756 done
37757
37758 else
37759
37760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37761 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37762 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37763 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37764 $as_echo_n "(cached) " >&6
37765 else
37766
37767
37768 ac_ext=cpp
37769 ac_cpp='$CXXCPP $CPPFLAGS'
37770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37773
37774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37775 /* end confdefs.h. */
37776 #include <math.h>
37777 int
37778 main ()
37779 {
37780 _ldexpf(0, 0);
37781 ;
37782 return 0;
37783 }
37784 _ACEOF
37785 if ac_fn_cxx_try_compile "$LINENO"; then :
37786 glibcxx_cv_func__ldexpf_use=yes
37787 else
37788 glibcxx_cv_func__ldexpf_use=no
37789 fi
37790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37791 ac_ext=c
37792 ac_cpp='$CPP $CPPFLAGS'
37793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37796
37797
37798 fi
37799
37800 fi
37801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37802 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37803
37804 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37805 for ac_func in _ldexpf
37806 do :
37807 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37808 if test "x$ac_cv_func__ldexpf" = xyes; then :
37809 cat >>confdefs.h <<_ACEOF
37810 #define HAVE__LDEXPF 1
37811 _ACEOF
37812
37813 fi
37814 done
37815
37816 fi
37817 fi
37818
37819
37820
37821
37822
37823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37824 $as_echo_n "checking for logf declaration... " >&6; }
37825 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37826 if ${glibcxx_cv_func_logf_use+:} false; then :
37827 $as_echo_n "(cached) " >&6
37828 else
37829
37830
37831 ac_ext=cpp
37832 ac_cpp='$CXXCPP $CPPFLAGS'
37833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37836
37837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37838 /* end confdefs.h. */
37839 #include <math.h>
37840 #ifdef HAVE_IEEEFP_H
37841 #include <ieeefp.h>
37842 #endif
37843
37844 int
37845 main ()
37846 {
37847 logf(0);
37848 ;
37849 return 0;
37850 }
37851 _ACEOF
37852 if ac_fn_cxx_try_compile "$LINENO"; then :
37853 glibcxx_cv_func_logf_use=yes
37854 else
37855 glibcxx_cv_func_logf_use=no
37856 fi
37857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37858 ac_ext=c
37859 ac_cpp='$CPP $CPPFLAGS'
37860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37863
37864
37865 fi
37866
37867 fi
37868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37869 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37870
37871 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37872 for ac_func in logf
37873 do :
37874 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37875 if test "x$ac_cv_func_logf" = xyes; then :
37876 cat >>confdefs.h <<_ACEOF
37877 #define HAVE_LOGF 1
37878 _ACEOF
37879
37880 fi
37881 done
37882
37883 else
37884
37885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37886 $as_echo_n "checking for _logf declaration... " >&6; }
37887 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37888 if ${glibcxx_cv_func__logf_use+:} false; then :
37889 $as_echo_n "(cached) " >&6
37890 else
37891
37892
37893 ac_ext=cpp
37894 ac_cpp='$CXXCPP $CPPFLAGS'
37895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37898
37899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37900 /* end confdefs.h. */
37901 #include <math.h>
37902 #ifdef HAVE_IEEEFP_H
37903 #include <ieeefp.h>
37904 #endif
37905
37906 int
37907 main ()
37908 {
37909 _logf(0);
37910 ;
37911 return 0;
37912 }
37913 _ACEOF
37914 if ac_fn_cxx_try_compile "$LINENO"; then :
37915 glibcxx_cv_func__logf_use=yes
37916 else
37917 glibcxx_cv_func__logf_use=no
37918 fi
37919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37920 ac_ext=c
37921 ac_cpp='$CPP $CPPFLAGS'
37922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37925
37926
37927 fi
37928
37929 fi
37930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37931 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37932
37933 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37934 for ac_func in _logf
37935 do :
37936 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37937 if test "x$ac_cv_func__logf" = xyes; then :
37938 cat >>confdefs.h <<_ACEOF
37939 #define HAVE__LOGF 1
37940 _ACEOF
37941
37942 fi
37943 done
37944
37945 fi
37946 fi
37947
37948
37949
37950
37951
37952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37953 $as_echo_n "checking for log10f declaration... " >&6; }
37954 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37955 if ${glibcxx_cv_func_log10f_use+:} false; then :
37956 $as_echo_n "(cached) " >&6
37957 else
37958
37959
37960 ac_ext=cpp
37961 ac_cpp='$CXXCPP $CPPFLAGS'
37962 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37963 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37964 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37965
37966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37967 /* end confdefs.h. */
37968 #include <math.h>
37969 #ifdef HAVE_IEEEFP_H
37970 #include <ieeefp.h>
37971 #endif
37972
37973 int
37974 main ()
37975 {
37976 log10f(0);
37977 ;
37978 return 0;
37979 }
37980 _ACEOF
37981 if ac_fn_cxx_try_compile "$LINENO"; then :
37982 glibcxx_cv_func_log10f_use=yes
37983 else
37984 glibcxx_cv_func_log10f_use=no
37985 fi
37986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37987 ac_ext=c
37988 ac_cpp='$CPP $CPPFLAGS'
37989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37992
37993
37994 fi
37995
37996 fi
37997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37998 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37999
38000 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
38001 for ac_func in log10f
38002 do :
38003 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
38004 if test "x$ac_cv_func_log10f" = xyes; then :
38005 cat >>confdefs.h <<_ACEOF
38006 #define HAVE_LOG10F 1
38007 _ACEOF
38008
38009 fi
38010 done
38011
38012 else
38013
38014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
38015 $as_echo_n "checking for _log10f declaration... " >&6; }
38016 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
38017 if ${glibcxx_cv_func__log10f_use+:} false; then :
38018 $as_echo_n "(cached) " >&6
38019 else
38020
38021
38022 ac_ext=cpp
38023 ac_cpp='$CXXCPP $CPPFLAGS'
38024 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38025 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38026 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38027
38028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38029 /* end confdefs.h. */
38030 #include <math.h>
38031 #ifdef HAVE_IEEEFP_H
38032 #include <ieeefp.h>
38033 #endif
38034
38035 int
38036 main ()
38037 {
38038 _log10f(0);
38039 ;
38040 return 0;
38041 }
38042 _ACEOF
38043 if ac_fn_cxx_try_compile "$LINENO"; then :
38044 glibcxx_cv_func__log10f_use=yes
38045 else
38046 glibcxx_cv_func__log10f_use=no
38047 fi
38048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38049 ac_ext=c
38050 ac_cpp='$CPP $CPPFLAGS'
38051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38054
38055
38056 fi
38057
38058 fi
38059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
38060 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
38061
38062 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
38063 for ac_func in _log10f
38064 do :
38065 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
38066 if test "x$ac_cv_func__log10f" = xyes; then :
38067 cat >>confdefs.h <<_ACEOF
38068 #define HAVE__LOG10F 1
38069 _ACEOF
38070
38071 fi
38072 done
38073
38074 fi
38075 fi
38076
38077
38078
38079
38080
38081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
38082 $as_echo_n "checking for modff declaration... " >&6; }
38083 if test x${glibcxx_cv_func_modff_use+set} != xset; then
38084 if ${glibcxx_cv_func_modff_use+:} false; then :
38085 $as_echo_n "(cached) " >&6
38086 else
38087
38088
38089 ac_ext=cpp
38090 ac_cpp='$CXXCPP $CPPFLAGS'
38091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38094
38095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38096 /* end confdefs.h. */
38097 #include <math.h>
38098 int
38099 main ()
38100 {
38101 modff(0, 0);
38102 ;
38103 return 0;
38104 }
38105 _ACEOF
38106 if ac_fn_cxx_try_compile "$LINENO"; then :
38107 glibcxx_cv_func_modff_use=yes
38108 else
38109 glibcxx_cv_func_modff_use=no
38110 fi
38111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38112 ac_ext=c
38113 ac_cpp='$CPP $CPPFLAGS'
38114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38117
38118
38119 fi
38120
38121 fi
38122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
38123 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
38124
38125 if test x$glibcxx_cv_func_modff_use = x"yes"; then
38126 for ac_func in modff
38127 do :
38128 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
38129 if test "x$ac_cv_func_modff" = xyes; then :
38130 cat >>confdefs.h <<_ACEOF
38131 #define HAVE_MODFF 1
38132 _ACEOF
38133
38134 fi
38135 done
38136
38137 else
38138
38139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
38140 $as_echo_n "checking for _modff declaration... " >&6; }
38141 if test x${glibcxx_cv_func__modff_use+set} != xset; then
38142 if ${glibcxx_cv_func__modff_use+:} false; then :
38143 $as_echo_n "(cached) " >&6
38144 else
38145
38146
38147 ac_ext=cpp
38148 ac_cpp='$CXXCPP $CPPFLAGS'
38149 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38150 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38151 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38152
38153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38154 /* end confdefs.h. */
38155 #include <math.h>
38156 int
38157 main ()
38158 {
38159 _modff(0, 0);
38160 ;
38161 return 0;
38162 }
38163 _ACEOF
38164 if ac_fn_cxx_try_compile "$LINENO"; then :
38165 glibcxx_cv_func__modff_use=yes
38166 else
38167 glibcxx_cv_func__modff_use=no
38168 fi
38169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38170 ac_ext=c
38171 ac_cpp='$CPP $CPPFLAGS'
38172 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38173 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38174 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38175
38176
38177 fi
38178
38179 fi
38180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
38181 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
38182
38183 if test x$glibcxx_cv_func__modff_use = x"yes"; then
38184 for ac_func in _modff
38185 do :
38186 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
38187 if test "x$ac_cv_func__modff" = xyes; then :
38188 cat >>confdefs.h <<_ACEOF
38189 #define HAVE__MODFF 1
38190 _ACEOF
38191
38192 fi
38193 done
38194
38195 fi
38196 fi
38197
38198
38199
38200
38201
38202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38203 $as_echo_n "checking for modf declaration... " >&6; }
38204 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38205 if ${glibcxx_cv_func_modf_use+:} false; then :
38206 $as_echo_n "(cached) " >&6
38207 else
38208
38209
38210 ac_ext=cpp
38211 ac_cpp='$CXXCPP $CPPFLAGS'
38212 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38213 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38214 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38215
38216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38217 /* end confdefs.h. */
38218 #include <math.h>
38219 int
38220 main ()
38221 {
38222 modf(0, 0);
38223 ;
38224 return 0;
38225 }
38226 _ACEOF
38227 if ac_fn_cxx_try_compile "$LINENO"; then :
38228 glibcxx_cv_func_modf_use=yes
38229 else
38230 glibcxx_cv_func_modf_use=no
38231 fi
38232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38233 ac_ext=c
38234 ac_cpp='$CPP $CPPFLAGS'
38235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38238
38239
38240 fi
38241
38242 fi
38243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38244 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38245
38246 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38247 for ac_func in modf
38248 do :
38249 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38250 if test "x$ac_cv_func_modf" = xyes; then :
38251 cat >>confdefs.h <<_ACEOF
38252 #define HAVE_MODF 1
38253 _ACEOF
38254
38255 fi
38256 done
38257
38258 else
38259
38260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38261 $as_echo_n "checking for _modf declaration... " >&6; }
38262 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38263 if ${glibcxx_cv_func__modf_use+:} false; then :
38264 $as_echo_n "(cached) " >&6
38265 else
38266
38267
38268 ac_ext=cpp
38269 ac_cpp='$CXXCPP $CPPFLAGS'
38270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38273
38274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38275 /* end confdefs.h. */
38276 #include <math.h>
38277 int
38278 main ()
38279 {
38280 _modf(0, 0);
38281 ;
38282 return 0;
38283 }
38284 _ACEOF
38285 if ac_fn_cxx_try_compile "$LINENO"; then :
38286 glibcxx_cv_func__modf_use=yes
38287 else
38288 glibcxx_cv_func__modf_use=no
38289 fi
38290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38291 ac_ext=c
38292 ac_cpp='$CPP $CPPFLAGS'
38293 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38294 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38295 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38296
38297
38298 fi
38299
38300 fi
38301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38302 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38303
38304 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38305 for ac_func in _modf
38306 do :
38307 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38308 if test "x$ac_cv_func__modf" = xyes; then :
38309 cat >>confdefs.h <<_ACEOF
38310 #define HAVE__MODF 1
38311 _ACEOF
38312
38313 fi
38314 done
38315
38316 fi
38317 fi
38318
38319
38320
38321
38322
38323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38324 $as_echo_n "checking for powf declaration... " >&6; }
38325 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38326 if ${glibcxx_cv_func_powf_use+:} false; then :
38327 $as_echo_n "(cached) " >&6
38328 else
38329
38330
38331 ac_ext=cpp
38332 ac_cpp='$CXXCPP $CPPFLAGS'
38333 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38334 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38335 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38336
38337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38338 /* end confdefs.h. */
38339 #include <math.h>
38340 int
38341 main ()
38342 {
38343 powf(0, 0);
38344 ;
38345 return 0;
38346 }
38347 _ACEOF
38348 if ac_fn_cxx_try_compile "$LINENO"; then :
38349 glibcxx_cv_func_powf_use=yes
38350 else
38351 glibcxx_cv_func_powf_use=no
38352 fi
38353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38354 ac_ext=c
38355 ac_cpp='$CPP $CPPFLAGS'
38356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38359
38360
38361 fi
38362
38363 fi
38364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38365 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38366
38367 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38368 for ac_func in powf
38369 do :
38370 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38371 if test "x$ac_cv_func_powf" = xyes; then :
38372 cat >>confdefs.h <<_ACEOF
38373 #define HAVE_POWF 1
38374 _ACEOF
38375
38376 fi
38377 done
38378
38379 else
38380
38381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38382 $as_echo_n "checking for _powf declaration... " >&6; }
38383 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38384 if ${glibcxx_cv_func__powf_use+:} false; then :
38385 $as_echo_n "(cached) " >&6
38386 else
38387
38388
38389 ac_ext=cpp
38390 ac_cpp='$CXXCPP $CPPFLAGS'
38391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38394
38395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38396 /* end confdefs.h. */
38397 #include <math.h>
38398 int
38399 main ()
38400 {
38401 _powf(0, 0);
38402 ;
38403 return 0;
38404 }
38405 _ACEOF
38406 if ac_fn_cxx_try_compile "$LINENO"; then :
38407 glibcxx_cv_func__powf_use=yes
38408 else
38409 glibcxx_cv_func__powf_use=no
38410 fi
38411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38412 ac_ext=c
38413 ac_cpp='$CPP $CPPFLAGS'
38414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38417
38418
38419 fi
38420
38421 fi
38422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38423 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38424
38425 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38426 for ac_func in _powf
38427 do :
38428 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38429 if test "x$ac_cv_func__powf" = xyes; then :
38430 cat >>confdefs.h <<_ACEOF
38431 #define HAVE__POWF 1
38432 _ACEOF
38433
38434 fi
38435 done
38436
38437 fi
38438 fi
38439
38440
38441
38442
38443
38444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38445 $as_echo_n "checking for sqrtf declaration... " >&6; }
38446 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38447 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38448 $as_echo_n "(cached) " >&6
38449 else
38450
38451
38452 ac_ext=cpp
38453 ac_cpp='$CXXCPP $CPPFLAGS'
38454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38457
38458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38459 /* end confdefs.h. */
38460 #include <math.h>
38461 #ifdef HAVE_IEEEFP_H
38462 #include <ieeefp.h>
38463 #endif
38464
38465 int
38466 main ()
38467 {
38468 sqrtf(0);
38469 ;
38470 return 0;
38471 }
38472 _ACEOF
38473 if ac_fn_cxx_try_compile "$LINENO"; then :
38474 glibcxx_cv_func_sqrtf_use=yes
38475 else
38476 glibcxx_cv_func_sqrtf_use=no
38477 fi
38478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38479 ac_ext=c
38480 ac_cpp='$CPP $CPPFLAGS'
38481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38484
38485
38486 fi
38487
38488 fi
38489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38490 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38491
38492 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38493 for ac_func in sqrtf
38494 do :
38495 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38496 if test "x$ac_cv_func_sqrtf" = xyes; then :
38497 cat >>confdefs.h <<_ACEOF
38498 #define HAVE_SQRTF 1
38499 _ACEOF
38500
38501 fi
38502 done
38503
38504 else
38505
38506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38507 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38508 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38509 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38510 $as_echo_n "(cached) " >&6
38511 else
38512
38513
38514 ac_ext=cpp
38515 ac_cpp='$CXXCPP $CPPFLAGS'
38516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38519
38520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38521 /* end confdefs.h. */
38522 #include <math.h>
38523 #ifdef HAVE_IEEEFP_H
38524 #include <ieeefp.h>
38525 #endif
38526
38527 int
38528 main ()
38529 {
38530 _sqrtf(0);
38531 ;
38532 return 0;
38533 }
38534 _ACEOF
38535 if ac_fn_cxx_try_compile "$LINENO"; then :
38536 glibcxx_cv_func__sqrtf_use=yes
38537 else
38538 glibcxx_cv_func__sqrtf_use=no
38539 fi
38540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38541 ac_ext=c
38542 ac_cpp='$CPP $CPPFLAGS'
38543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38546
38547
38548 fi
38549
38550 fi
38551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38552 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38553
38554 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38555 for ac_func in _sqrtf
38556 do :
38557 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38558 if test "x$ac_cv_func__sqrtf" = xyes; then :
38559 cat >>confdefs.h <<_ACEOF
38560 #define HAVE__SQRTF 1
38561 _ACEOF
38562
38563 fi
38564 done
38565
38566 fi
38567 fi
38568
38569
38570
38571
38572
38573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38574 $as_echo_n "checking for sincosf declaration... " >&6; }
38575 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38576 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38577 $as_echo_n "(cached) " >&6
38578 else
38579
38580
38581 ac_ext=cpp
38582 ac_cpp='$CXXCPP $CPPFLAGS'
38583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38586
38587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38588 /* end confdefs.h. */
38589 #include <math.h>
38590 int
38591 main ()
38592 {
38593 sincosf(0, 0, 0);
38594 ;
38595 return 0;
38596 }
38597 _ACEOF
38598 if ac_fn_cxx_try_compile "$LINENO"; then :
38599 glibcxx_cv_func_sincosf_use=yes
38600 else
38601 glibcxx_cv_func_sincosf_use=no
38602 fi
38603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38604 ac_ext=c
38605 ac_cpp='$CPP $CPPFLAGS'
38606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38609
38610
38611 fi
38612
38613 fi
38614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38615 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38616
38617 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38618 for ac_func in sincosf
38619 do :
38620 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38621 if test "x$ac_cv_func_sincosf" = xyes; then :
38622 cat >>confdefs.h <<_ACEOF
38623 #define HAVE_SINCOSF 1
38624 _ACEOF
38625
38626 fi
38627 done
38628
38629 else
38630
38631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38632 $as_echo_n "checking for _sincosf declaration... " >&6; }
38633 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38634 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38635 $as_echo_n "(cached) " >&6
38636 else
38637
38638
38639 ac_ext=cpp
38640 ac_cpp='$CXXCPP $CPPFLAGS'
38641 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38642 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38643 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38644
38645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38646 /* end confdefs.h. */
38647 #include <math.h>
38648 int
38649 main ()
38650 {
38651 _sincosf(0, 0, 0);
38652 ;
38653 return 0;
38654 }
38655 _ACEOF
38656 if ac_fn_cxx_try_compile "$LINENO"; then :
38657 glibcxx_cv_func__sincosf_use=yes
38658 else
38659 glibcxx_cv_func__sincosf_use=no
38660 fi
38661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38662 ac_ext=c
38663 ac_cpp='$CPP $CPPFLAGS'
38664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38667
38668
38669 fi
38670
38671 fi
38672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38673 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38674
38675 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38676 for ac_func in _sincosf
38677 do :
38678 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38679 if test "x$ac_cv_func__sincosf" = xyes; then :
38680 cat >>confdefs.h <<_ACEOF
38681 #define HAVE__SINCOSF 1
38682 _ACEOF
38683
38684 fi
38685 done
38686
38687 fi
38688 fi
38689
38690
38691
38692
38693
38694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38695 $as_echo_n "checking for finitef declaration... " >&6; }
38696 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38697 if ${glibcxx_cv_func_finitef_use+:} false; then :
38698 $as_echo_n "(cached) " >&6
38699 else
38700
38701
38702 ac_ext=cpp
38703 ac_cpp='$CXXCPP $CPPFLAGS'
38704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38707
38708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38709 /* end confdefs.h. */
38710 #include <math.h>
38711 #ifdef HAVE_IEEEFP_H
38712 #include <ieeefp.h>
38713 #endif
38714
38715 int
38716 main ()
38717 {
38718 finitef(0);
38719 ;
38720 return 0;
38721 }
38722 _ACEOF
38723 if ac_fn_cxx_try_compile "$LINENO"; then :
38724 glibcxx_cv_func_finitef_use=yes
38725 else
38726 glibcxx_cv_func_finitef_use=no
38727 fi
38728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38729 ac_ext=c
38730 ac_cpp='$CPP $CPPFLAGS'
38731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38734
38735
38736 fi
38737
38738 fi
38739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38740 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38741
38742 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38743 for ac_func in finitef
38744 do :
38745 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38746 if test "x$ac_cv_func_finitef" = xyes; then :
38747 cat >>confdefs.h <<_ACEOF
38748 #define HAVE_FINITEF 1
38749 _ACEOF
38750
38751 fi
38752 done
38753
38754 else
38755
38756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38757 $as_echo_n "checking for _finitef declaration... " >&6; }
38758 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38759 if ${glibcxx_cv_func__finitef_use+:} false; then :
38760 $as_echo_n "(cached) " >&6
38761 else
38762
38763
38764 ac_ext=cpp
38765 ac_cpp='$CXXCPP $CPPFLAGS'
38766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38769
38770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38771 /* end confdefs.h. */
38772 #include <math.h>
38773 #ifdef HAVE_IEEEFP_H
38774 #include <ieeefp.h>
38775 #endif
38776
38777 int
38778 main ()
38779 {
38780 _finitef(0);
38781 ;
38782 return 0;
38783 }
38784 _ACEOF
38785 if ac_fn_cxx_try_compile "$LINENO"; then :
38786 glibcxx_cv_func__finitef_use=yes
38787 else
38788 glibcxx_cv_func__finitef_use=no
38789 fi
38790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38791 ac_ext=c
38792 ac_cpp='$CPP $CPPFLAGS'
38793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38796
38797
38798 fi
38799
38800 fi
38801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38802 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38803
38804 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38805 for ac_func in _finitef
38806 do :
38807 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38808 if test "x$ac_cv_func__finitef" = xyes; then :
38809 cat >>confdefs.h <<_ACEOF
38810 #define HAVE__FINITEF 1
38811 _ACEOF
38812
38813 fi
38814 done
38815
38816 fi
38817 fi
38818
38819
38820
38821
38822
38823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38824 $as_echo_n "checking for long double trig functions... " >&6; }
38825 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38826 $as_echo_n "(cached) " >&6
38827 else
38828
38829
38830 ac_ext=cpp
38831 ac_cpp='$CXXCPP $CPPFLAGS'
38832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38835
38836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38837 /* end confdefs.h. */
38838 #include <math.h>
38839 int
38840 main ()
38841 {
38842 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38843 ;
38844 return 0;
38845 }
38846 _ACEOF
38847 if ac_fn_cxx_try_compile "$LINENO"; then :
38848 glibcxx_cv_func_long_double_trig_use=yes
38849 else
38850 glibcxx_cv_func_long_double_trig_use=no
38851 fi
38852 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38853 ac_ext=c
38854 ac_cpp='$CPP $CPPFLAGS'
38855 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38856 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38857 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38858
38859 fi
38860
38861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38862 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38863 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38864 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38865 do :
38866 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38867 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38868 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38869 cat >>confdefs.h <<_ACEOF
38870 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38871 _ACEOF
38872
38873 fi
38874 done
38875
38876 else
38877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38878 $as_echo_n "checking for _long double trig functions... " >&6; }
38879 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38880 $as_echo_n "(cached) " >&6
38881 else
38882
38883
38884 ac_ext=cpp
38885 ac_cpp='$CXXCPP $CPPFLAGS'
38886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38889
38890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38891 /* end confdefs.h. */
38892 #include <math.h>
38893 int
38894 main ()
38895 {
38896 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38897 ;
38898 return 0;
38899 }
38900 _ACEOF
38901 if ac_fn_cxx_try_compile "$LINENO"; then :
38902 glibcxx_cv_func__long_double_trig_use=yes
38903 else
38904 glibcxx_cv_func__long_double_trig_use=no
38905 fi
38906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38907 ac_ext=c
38908 ac_cpp='$CPP $CPPFLAGS'
38909 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38910 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38911 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38912
38913 fi
38914
38915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38916 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38917 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38918 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38919 do :
38920 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38921 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38922 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38923 cat >>confdefs.h <<_ACEOF
38924 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38925 _ACEOF
38926
38927 fi
38928 done
38929
38930 fi
38931 fi
38932
38933
38934
38935
38936
38937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38938 $as_echo_n "checking for long double round functions... " >&6; }
38939 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38940 $as_echo_n "(cached) " >&6
38941 else
38942
38943
38944 ac_ext=cpp
38945 ac_cpp='$CXXCPP $CPPFLAGS'
38946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38949
38950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38951 /* end confdefs.h. */
38952 #include <math.h>
38953 int
38954 main ()
38955 {
38956 ceill (0); floorl (0);
38957 ;
38958 return 0;
38959 }
38960 _ACEOF
38961 if ac_fn_cxx_try_compile "$LINENO"; then :
38962 glibcxx_cv_func_long_double_round_use=yes
38963 else
38964 glibcxx_cv_func_long_double_round_use=no
38965 fi
38966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38967 ac_ext=c
38968 ac_cpp='$CPP $CPPFLAGS'
38969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38972
38973 fi
38974
38975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38976 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38977 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38978 for ac_func in ceill floorl
38979 do :
38980 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38981 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38982 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38983 cat >>confdefs.h <<_ACEOF
38984 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38985 _ACEOF
38986
38987 fi
38988 done
38989
38990 else
38991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38992 $as_echo_n "checking for _long double round functions... " >&6; }
38993 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38994 $as_echo_n "(cached) " >&6
38995 else
38996
38997
38998 ac_ext=cpp
38999 ac_cpp='$CXXCPP $CPPFLAGS'
39000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39003
39004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39005 /* end confdefs.h. */
39006 #include <math.h>
39007 int
39008 main ()
39009 {
39010 _ceill (0); _floorl (0);
39011 ;
39012 return 0;
39013 }
39014 _ACEOF
39015 if ac_fn_cxx_try_compile "$LINENO"; then :
39016 glibcxx_cv_func__long_double_round_use=yes
39017 else
39018 glibcxx_cv_func__long_double_round_use=no
39019 fi
39020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39021 ac_ext=c
39022 ac_cpp='$CPP $CPPFLAGS'
39023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39026
39027 fi
39028
39029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
39030 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
39031 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
39032 for ac_func in _ceill _floorl
39033 do :
39034 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
39035 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
39036 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
39037 cat >>confdefs.h <<_ACEOF
39038 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
39039 _ACEOF
39040
39041 fi
39042 done
39043
39044 fi
39045 fi
39046
39047
39048
39049
39050
39051
39052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
39053 $as_echo_n "checking for isnanl declaration... " >&6; }
39054 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
39055 if ${glibcxx_cv_func_isnanl_use+:} false; then :
39056 $as_echo_n "(cached) " >&6
39057 else
39058
39059
39060 ac_ext=cpp
39061 ac_cpp='$CXXCPP $CPPFLAGS'
39062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39065
39066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39067 /* end confdefs.h. */
39068 #include <math.h>
39069 #ifdef HAVE_IEEEFP_H
39070 #include <ieeefp.h>
39071 #endif
39072
39073 int
39074 main ()
39075 {
39076 isnanl(0);
39077 ;
39078 return 0;
39079 }
39080 _ACEOF
39081 if ac_fn_cxx_try_compile "$LINENO"; then :
39082 glibcxx_cv_func_isnanl_use=yes
39083 else
39084 glibcxx_cv_func_isnanl_use=no
39085 fi
39086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39087 ac_ext=c
39088 ac_cpp='$CPP $CPPFLAGS'
39089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39092
39093
39094 fi
39095
39096 fi
39097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
39098 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
39099
39100 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
39101 for ac_func in isnanl
39102 do :
39103 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
39104 if test "x$ac_cv_func_isnanl" = xyes; then :
39105 cat >>confdefs.h <<_ACEOF
39106 #define HAVE_ISNANL 1
39107 _ACEOF
39108
39109 fi
39110 done
39111
39112 else
39113
39114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
39115 $as_echo_n "checking for _isnanl declaration... " >&6; }
39116 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
39117 if ${glibcxx_cv_func__isnanl_use+:} false; then :
39118 $as_echo_n "(cached) " >&6
39119 else
39120
39121
39122 ac_ext=cpp
39123 ac_cpp='$CXXCPP $CPPFLAGS'
39124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39127
39128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39129 /* end confdefs.h. */
39130 #include <math.h>
39131 #ifdef HAVE_IEEEFP_H
39132 #include <ieeefp.h>
39133 #endif
39134
39135 int
39136 main ()
39137 {
39138 _isnanl(0);
39139 ;
39140 return 0;
39141 }
39142 _ACEOF
39143 if ac_fn_cxx_try_compile "$LINENO"; then :
39144 glibcxx_cv_func__isnanl_use=yes
39145 else
39146 glibcxx_cv_func__isnanl_use=no
39147 fi
39148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39149 ac_ext=c
39150 ac_cpp='$CPP $CPPFLAGS'
39151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39154
39155
39156 fi
39157
39158 fi
39159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
39160 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
39161
39162 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
39163 for ac_func in _isnanl
39164 do :
39165 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
39166 if test "x$ac_cv_func__isnanl" = xyes; then :
39167 cat >>confdefs.h <<_ACEOF
39168 #define HAVE__ISNANL 1
39169 _ACEOF
39170
39171 fi
39172 done
39173
39174 fi
39175 fi
39176
39177
39178
39179
39180
39181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
39182 $as_echo_n "checking for isinfl declaration... " >&6; }
39183 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
39184 if ${glibcxx_cv_func_isinfl_use+:} false; then :
39185 $as_echo_n "(cached) " >&6
39186 else
39187
39188
39189 ac_ext=cpp
39190 ac_cpp='$CXXCPP $CPPFLAGS'
39191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39194
39195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39196 /* end confdefs.h. */
39197 #include <math.h>
39198 #ifdef HAVE_IEEEFP_H
39199 #include <ieeefp.h>
39200 #endif
39201
39202 int
39203 main ()
39204 {
39205 isinfl(0);
39206 ;
39207 return 0;
39208 }
39209 _ACEOF
39210 if ac_fn_cxx_try_compile "$LINENO"; then :
39211 glibcxx_cv_func_isinfl_use=yes
39212 else
39213 glibcxx_cv_func_isinfl_use=no
39214 fi
39215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39216 ac_ext=c
39217 ac_cpp='$CPP $CPPFLAGS'
39218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39221
39222
39223 fi
39224
39225 fi
39226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39227 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39228
39229 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39230 for ac_func in isinfl
39231 do :
39232 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39233 if test "x$ac_cv_func_isinfl" = xyes; then :
39234 cat >>confdefs.h <<_ACEOF
39235 #define HAVE_ISINFL 1
39236 _ACEOF
39237
39238 fi
39239 done
39240
39241 else
39242
39243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39244 $as_echo_n "checking for _isinfl declaration... " >&6; }
39245 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39246 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39247 $as_echo_n "(cached) " >&6
39248 else
39249
39250
39251 ac_ext=cpp
39252 ac_cpp='$CXXCPP $CPPFLAGS'
39253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39256
39257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39258 /* end confdefs.h. */
39259 #include <math.h>
39260 #ifdef HAVE_IEEEFP_H
39261 #include <ieeefp.h>
39262 #endif
39263
39264 int
39265 main ()
39266 {
39267 _isinfl(0);
39268 ;
39269 return 0;
39270 }
39271 _ACEOF
39272 if ac_fn_cxx_try_compile "$LINENO"; then :
39273 glibcxx_cv_func__isinfl_use=yes
39274 else
39275 glibcxx_cv_func__isinfl_use=no
39276 fi
39277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39278 ac_ext=c
39279 ac_cpp='$CPP $CPPFLAGS'
39280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39283
39284
39285 fi
39286
39287 fi
39288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39289 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39290
39291 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39292 for ac_func in _isinfl
39293 do :
39294 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39295 if test "x$ac_cv_func__isinfl" = xyes; then :
39296 cat >>confdefs.h <<_ACEOF
39297 #define HAVE__ISINFL 1
39298 _ACEOF
39299
39300 fi
39301 done
39302
39303 fi
39304 fi
39305
39306
39307
39308
39309
39310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39311 $as_echo_n "checking for atan2l declaration... " >&6; }
39312 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39313 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39314 $as_echo_n "(cached) " >&6
39315 else
39316
39317
39318 ac_ext=cpp
39319 ac_cpp='$CXXCPP $CPPFLAGS'
39320 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39321 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39322 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39323
39324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39325 /* end confdefs.h. */
39326 #include <math.h>
39327 int
39328 main ()
39329 {
39330 atan2l(0, 0);
39331 ;
39332 return 0;
39333 }
39334 _ACEOF
39335 if ac_fn_cxx_try_compile "$LINENO"; then :
39336 glibcxx_cv_func_atan2l_use=yes
39337 else
39338 glibcxx_cv_func_atan2l_use=no
39339 fi
39340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39341 ac_ext=c
39342 ac_cpp='$CPP $CPPFLAGS'
39343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39346
39347
39348 fi
39349
39350 fi
39351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39352 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39353
39354 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39355 for ac_func in atan2l
39356 do :
39357 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39358 if test "x$ac_cv_func_atan2l" = xyes; then :
39359 cat >>confdefs.h <<_ACEOF
39360 #define HAVE_ATAN2L 1
39361 _ACEOF
39362
39363 fi
39364 done
39365
39366 else
39367
39368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39369 $as_echo_n "checking for _atan2l declaration... " >&6; }
39370 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39371 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39372 $as_echo_n "(cached) " >&6
39373 else
39374
39375
39376 ac_ext=cpp
39377 ac_cpp='$CXXCPP $CPPFLAGS'
39378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39381
39382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39383 /* end confdefs.h. */
39384 #include <math.h>
39385 int
39386 main ()
39387 {
39388 _atan2l(0, 0);
39389 ;
39390 return 0;
39391 }
39392 _ACEOF
39393 if ac_fn_cxx_try_compile "$LINENO"; then :
39394 glibcxx_cv_func__atan2l_use=yes
39395 else
39396 glibcxx_cv_func__atan2l_use=no
39397 fi
39398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39399 ac_ext=c
39400 ac_cpp='$CPP $CPPFLAGS'
39401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39404
39405
39406 fi
39407
39408 fi
39409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39410 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39411
39412 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39413 for ac_func in _atan2l
39414 do :
39415 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39416 if test "x$ac_cv_func__atan2l" = xyes; then :
39417 cat >>confdefs.h <<_ACEOF
39418 #define HAVE__ATAN2L 1
39419 _ACEOF
39420
39421 fi
39422 done
39423
39424 fi
39425 fi
39426
39427
39428
39429
39430
39431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39432 $as_echo_n "checking for expl declaration... " >&6; }
39433 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39434 if ${glibcxx_cv_func_expl_use+:} false; then :
39435 $as_echo_n "(cached) " >&6
39436 else
39437
39438
39439 ac_ext=cpp
39440 ac_cpp='$CXXCPP $CPPFLAGS'
39441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39444
39445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39446 /* end confdefs.h. */
39447 #include <math.h>
39448 #ifdef HAVE_IEEEFP_H
39449 #include <ieeefp.h>
39450 #endif
39451
39452 int
39453 main ()
39454 {
39455 expl(0);
39456 ;
39457 return 0;
39458 }
39459 _ACEOF
39460 if ac_fn_cxx_try_compile "$LINENO"; then :
39461 glibcxx_cv_func_expl_use=yes
39462 else
39463 glibcxx_cv_func_expl_use=no
39464 fi
39465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39466 ac_ext=c
39467 ac_cpp='$CPP $CPPFLAGS'
39468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39471
39472
39473 fi
39474
39475 fi
39476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39477 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39478
39479 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39480 for ac_func in expl
39481 do :
39482 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39483 if test "x$ac_cv_func_expl" = xyes; then :
39484 cat >>confdefs.h <<_ACEOF
39485 #define HAVE_EXPL 1
39486 _ACEOF
39487
39488 fi
39489 done
39490
39491 else
39492
39493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39494 $as_echo_n "checking for _expl declaration... " >&6; }
39495 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39496 if ${glibcxx_cv_func__expl_use+:} false; then :
39497 $as_echo_n "(cached) " >&6
39498 else
39499
39500
39501 ac_ext=cpp
39502 ac_cpp='$CXXCPP $CPPFLAGS'
39503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39506
39507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39508 /* end confdefs.h. */
39509 #include <math.h>
39510 #ifdef HAVE_IEEEFP_H
39511 #include <ieeefp.h>
39512 #endif
39513
39514 int
39515 main ()
39516 {
39517 _expl(0);
39518 ;
39519 return 0;
39520 }
39521 _ACEOF
39522 if ac_fn_cxx_try_compile "$LINENO"; then :
39523 glibcxx_cv_func__expl_use=yes
39524 else
39525 glibcxx_cv_func__expl_use=no
39526 fi
39527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39528 ac_ext=c
39529 ac_cpp='$CPP $CPPFLAGS'
39530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39533
39534
39535 fi
39536
39537 fi
39538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39539 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39540
39541 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39542 for ac_func in _expl
39543 do :
39544 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39545 if test "x$ac_cv_func__expl" = xyes; then :
39546 cat >>confdefs.h <<_ACEOF
39547 #define HAVE__EXPL 1
39548 _ACEOF
39549
39550 fi
39551 done
39552
39553 fi
39554 fi
39555
39556
39557
39558
39559
39560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39561 $as_echo_n "checking for fabsl declaration... " >&6; }
39562 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39563 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39564 $as_echo_n "(cached) " >&6
39565 else
39566
39567
39568 ac_ext=cpp
39569 ac_cpp='$CXXCPP $CPPFLAGS'
39570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39573
39574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39575 /* end confdefs.h. */
39576 #include <math.h>
39577 #ifdef HAVE_IEEEFP_H
39578 #include <ieeefp.h>
39579 #endif
39580
39581 int
39582 main ()
39583 {
39584 fabsl(0);
39585 ;
39586 return 0;
39587 }
39588 _ACEOF
39589 if ac_fn_cxx_try_compile "$LINENO"; then :
39590 glibcxx_cv_func_fabsl_use=yes
39591 else
39592 glibcxx_cv_func_fabsl_use=no
39593 fi
39594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39595 ac_ext=c
39596 ac_cpp='$CPP $CPPFLAGS'
39597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39600
39601
39602 fi
39603
39604 fi
39605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39606 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39607
39608 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39609 for ac_func in fabsl
39610 do :
39611 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39612 if test "x$ac_cv_func_fabsl" = xyes; then :
39613 cat >>confdefs.h <<_ACEOF
39614 #define HAVE_FABSL 1
39615 _ACEOF
39616
39617 fi
39618 done
39619
39620 else
39621
39622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39623 $as_echo_n "checking for _fabsl declaration... " >&6; }
39624 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39625 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39626 $as_echo_n "(cached) " >&6
39627 else
39628
39629
39630 ac_ext=cpp
39631 ac_cpp='$CXXCPP $CPPFLAGS'
39632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39635
39636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39637 /* end confdefs.h. */
39638 #include <math.h>
39639 #ifdef HAVE_IEEEFP_H
39640 #include <ieeefp.h>
39641 #endif
39642
39643 int
39644 main ()
39645 {
39646 _fabsl(0);
39647 ;
39648 return 0;
39649 }
39650 _ACEOF
39651 if ac_fn_cxx_try_compile "$LINENO"; then :
39652 glibcxx_cv_func__fabsl_use=yes
39653 else
39654 glibcxx_cv_func__fabsl_use=no
39655 fi
39656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39657 ac_ext=c
39658 ac_cpp='$CPP $CPPFLAGS'
39659 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39660 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39661 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39662
39663
39664 fi
39665
39666 fi
39667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39668 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39669
39670 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39671 for ac_func in _fabsl
39672 do :
39673 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39674 if test "x$ac_cv_func__fabsl" = xyes; then :
39675 cat >>confdefs.h <<_ACEOF
39676 #define HAVE__FABSL 1
39677 _ACEOF
39678
39679 fi
39680 done
39681
39682 fi
39683 fi
39684
39685
39686
39687
39688
39689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39690 $as_echo_n "checking for fmodl declaration... " >&6; }
39691 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39692 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39693 $as_echo_n "(cached) " >&6
39694 else
39695
39696
39697 ac_ext=cpp
39698 ac_cpp='$CXXCPP $CPPFLAGS'
39699 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39700 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39701 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39702
39703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39704 /* end confdefs.h. */
39705 #include <math.h>
39706 int
39707 main ()
39708 {
39709 fmodl(0, 0);
39710 ;
39711 return 0;
39712 }
39713 _ACEOF
39714 if ac_fn_cxx_try_compile "$LINENO"; then :
39715 glibcxx_cv_func_fmodl_use=yes
39716 else
39717 glibcxx_cv_func_fmodl_use=no
39718 fi
39719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39720 ac_ext=c
39721 ac_cpp='$CPP $CPPFLAGS'
39722 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39723 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39724 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39725
39726
39727 fi
39728
39729 fi
39730 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39731 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39732
39733 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39734 for ac_func in fmodl
39735 do :
39736 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39737 if test "x$ac_cv_func_fmodl" = xyes; then :
39738 cat >>confdefs.h <<_ACEOF
39739 #define HAVE_FMODL 1
39740 _ACEOF
39741
39742 fi
39743 done
39744
39745 else
39746
39747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39748 $as_echo_n "checking for _fmodl declaration... " >&6; }
39749 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39750 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39751 $as_echo_n "(cached) " >&6
39752 else
39753
39754
39755 ac_ext=cpp
39756 ac_cpp='$CXXCPP $CPPFLAGS'
39757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39760
39761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39762 /* end confdefs.h. */
39763 #include <math.h>
39764 int
39765 main ()
39766 {
39767 _fmodl(0, 0);
39768 ;
39769 return 0;
39770 }
39771 _ACEOF
39772 if ac_fn_cxx_try_compile "$LINENO"; then :
39773 glibcxx_cv_func__fmodl_use=yes
39774 else
39775 glibcxx_cv_func__fmodl_use=no
39776 fi
39777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39778 ac_ext=c
39779 ac_cpp='$CPP $CPPFLAGS'
39780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39783
39784
39785 fi
39786
39787 fi
39788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39789 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39790
39791 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39792 for ac_func in _fmodl
39793 do :
39794 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39795 if test "x$ac_cv_func__fmodl" = xyes; then :
39796 cat >>confdefs.h <<_ACEOF
39797 #define HAVE__FMODL 1
39798 _ACEOF
39799
39800 fi
39801 done
39802
39803 fi
39804 fi
39805
39806
39807
39808
39809
39810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39811 $as_echo_n "checking for frexpl declaration... " >&6; }
39812 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39813 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39814 $as_echo_n "(cached) " >&6
39815 else
39816
39817
39818 ac_ext=cpp
39819 ac_cpp='$CXXCPP $CPPFLAGS'
39820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39823
39824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39825 /* end confdefs.h. */
39826 #include <math.h>
39827 int
39828 main ()
39829 {
39830 frexpl(0, 0);
39831 ;
39832 return 0;
39833 }
39834 _ACEOF
39835 if ac_fn_cxx_try_compile "$LINENO"; then :
39836 glibcxx_cv_func_frexpl_use=yes
39837 else
39838 glibcxx_cv_func_frexpl_use=no
39839 fi
39840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39841 ac_ext=c
39842 ac_cpp='$CPP $CPPFLAGS'
39843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39846
39847
39848 fi
39849
39850 fi
39851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39852 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39853
39854 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39855 for ac_func in frexpl
39856 do :
39857 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39858 if test "x$ac_cv_func_frexpl" = xyes; then :
39859 cat >>confdefs.h <<_ACEOF
39860 #define HAVE_FREXPL 1
39861 _ACEOF
39862
39863 fi
39864 done
39865
39866 else
39867
39868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39869 $as_echo_n "checking for _frexpl declaration... " >&6; }
39870 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39871 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39872 $as_echo_n "(cached) " >&6
39873 else
39874
39875
39876 ac_ext=cpp
39877 ac_cpp='$CXXCPP $CPPFLAGS'
39878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39881
39882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39883 /* end confdefs.h. */
39884 #include <math.h>
39885 int
39886 main ()
39887 {
39888 _frexpl(0, 0);
39889 ;
39890 return 0;
39891 }
39892 _ACEOF
39893 if ac_fn_cxx_try_compile "$LINENO"; then :
39894 glibcxx_cv_func__frexpl_use=yes
39895 else
39896 glibcxx_cv_func__frexpl_use=no
39897 fi
39898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39899 ac_ext=c
39900 ac_cpp='$CPP $CPPFLAGS'
39901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39904
39905
39906 fi
39907
39908 fi
39909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39910 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39911
39912 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39913 for ac_func in _frexpl
39914 do :
39915 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39916 if test "x$ac_cv_func__frexpl" = xyes; then :
39917 cat >>confdefs.h <<_ACEOF
39918 #define HAVE__FREXPL 1
39919 _ACEOF
39920
39921 fi
39922 done
39923
39924 fi
39925 fi
39926
39927
39928
39929
39930
39931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39932 $as_echo_n "checking for hypotl declaration... " >&6; }
39933 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39934 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39935 $as_echo_n "(cached) " >&6
39936 else
39937
39938
39939 ac_ext=cpp
39940 ac_cpp='$CXXCPP $CPPFLAGS'
39941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39944
39945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39946 /* end confdefs.h. */
39947 #include <math.h>
39948 int
39949 main ()
39950 {
39951 hypotl(0, 0);
39952 ;
39953 return 0;
39954 }
39955 _ACEOF
39956 if ac_fn_cxx_try_compile "$LINENO"; then :
39957 glibcxx_cv_func_hypotl_use=yes
39958 else
39959 glibcxx_cv_func_hypotl_use=no
39960 fi
39961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39962 ac_ext=c
39963 ac_cpp='$CPP $CPPFLAGS'
39964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39967
39968
39969 fi
39970
39971 fi
39972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39973 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39974
39975 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39976 for ac_func in hypotl
39977 do :
39978 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39979 if test "x$ac_cv_func_hypotl" = xyes; then :
39980 cat >>confdefs.h <<_ACEOF
39981 #define HAVE_HYPOTL 1
39982 _ACEOF
39983
39984 fi
39985 done
39986
39987 else
39988
39989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39990 $as_echo_n "checking for _hypotl declaration... " >&6; }
39991 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39992 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39993 $as_echo_n "(cached) " >&6
39994 else
39995
39996
39997 ac_ext=cpp
39998 ac_cpp='$CXXCPP $CPPFLAGS'
39999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40002
40003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40004 /* end confdefs.h. */
40005 #include <math.h>
40006 int
40007 main ()
40008 {
40009 _hypotl(0, 0);
40010 ;
40011 return 0;
40012 }
40013 _ACEOF
40014 if ac_fn_cxx_try_compile "$LINENO"; then :
40015 glibcxx_cv_func__hypotl_use=yes
40016 else
40017 glibcxx_cv_func__hypotl_use=no
40018 fi
40019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40020 ac_ext=c
40021 ac_cpp='$CPP $CPPFLAGS'
40022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40025
40026
40027 fi
40028
40029 fi
40030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
40031 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
40032
40033 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
40034 for ac_func in _hypotl
40035 do :
40036 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
40037 if test "x$ac_cv_func__hypotl" = xyes; then :
40038 cat >>confdefs.h <<_ACEOF
40039 #define HAVE__HYPOTL 1
40040 _ACEOF
40041
40042 fi
40043 done
40044
40045 fi
40046 fi
40047
40048
40049
40050
40051
40052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
40053 $as_echo_n "checking for ldexpl declaration... " >&6; }
40054 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
40055 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
40056 $as_echo_n "(cached) " >&6
40057 else
40058
40059
40060 ac_ext=cpp
40061 ac_cpp='$CXXCPP $CPPFLAGS'
40062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40065
40066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40067 /* end confdefs.h. */
40068 #include <math.h>
40069 int
40070 main ()
40071 {
40072 ldexpl(0, 0);
40073 ;
40074 return 0;
40075 }
40076 _ACEOF
40077 if ac_fn_cxx_try_compile "$LINENO"; then :
40078 glibcxx_cv_func_ldexpl_use=yes
40079 else
40080 glibcxx_cv_func_ldexpl_use=no
40081 fi
40082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40083 ac_ext=c
40084 ac_cpp='$CPP $CPPFLAGS'
40085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40088
40089
40090 fi
40091
40092 fi
40093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
40094 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
40095
40096 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
40097 for ac_func in ldexpl
40098 do :
40099 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
40100 if test "x$ac_cv_func_ldexpl" = xyes; then :
40101 cat >>confdefs.h <<_ACEOF
40102 #define HAVE_LDEXPL 1
40103 _ACEOF
40104
40105 fi
40106 done
40107
40108 else
40109
40110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
40111 $as_echo_n "checking for _ldexpl declaration... " >&6; }
40112 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
40113 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
40114 $as_echo_n "(cached) " >&6
40115 else
40116
40117
40118 ac_ext=cpp
40119 ac_cpp='$CXXCPP $CPPFLAGS'
40120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40123
40124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40125 /* end confdefs.h. */
40126 #include <math.h>
40127 int
40128 main ()
40129 {
40130 _ldexpl(0, 0);
40131 ;
40132 return 0;
40133 }
40134 _ACEOF
40135 if ac_fn_cxx_try_compile "$LINENO"; then :
40136 glibcxx_cv_func__ldexpl_use=yes
40137 else
40138 glibcxx_cv_func__ldexpl_use=no
40139 fi
40140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40141 ac_ext=c
40142 ac_cpp='$CPP $CPPFLAGS'
40143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40146
40147
40148 fi
40149
40150 fi
40151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
40152 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
40153
40154 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
40155 for ac_func in _ldexpl
40156 do :
40157 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
40158 if test "x$ac_cv_func__ldexpl" = xyes; then :
40159 cat >>confdefs.h <<_ACEOF
40160 #define HAVE__LDEXPL 1
40161 _ACEOF
40162
40163 fi
40164 done
40165
40166 fi
40167 fi
40168
40169
40170
40171
40172
40173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
40174 $as_echo_n "checking for logl declaration... " >&6; }
40175 if test x${glibcxx_cv_func_logl_use+set} != xset; then
40176 if ${glibcxx_cv_func_logl_use+:} false; then :
40177 $as_echo_n "(cached) " >&6
40178 else
40179
40180
40181 ac_ext=cpp
40182 ac_cpp='$CXXCPP $CPPFLAGS'
40183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40186
40187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40188 /* end confdefs.h. */
40189 #include <math.h>
40190 #ifdef HAVE_IEEEFP_H
40191 #include <ieeefp.h>
40192 #endif
40193
40194 int
40195 main ()
40196 {
40197 logl(0);
40198 ;
40199 return 0;
40200 }
40201 _ACEOF
40202 if ac_fn_cxx_try_compile "$LINENO"; then :
40203 glibcxx_cv_func_logl_use=yes
40204 else
40205 glibcxx_cv_func_logl_use=no
40206 fi
40207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40208 ac_ext=c
40209 ac_cpp='$CPP $CPPFLAGS'
40210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40213
40214
40215 fi
40216
40217 fi
40218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40219 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40220
40221 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40222 for ac_func in logl
40223 do :
40224 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40225 if test "x$ac_cv_func_logl" = xyes; then :
40226 cat >>confdefs.h <<_ACEOF
40227 #define HAVE_LOGL 1
40228 _ACEOF
40229
40230 fi
40231 done
40232
40233 else
40234
40235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40236 $as_echo_n "checking for _logl declaration... " >&6; }
40237 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40238 if ${glibcxx_cv_func__logl_use+:} false; then :
40239 $as_echo_n "(cached) " >&6
40240 else
40241
40242
40243 ac_ext=cpp
40244 ac_cpp='$CXXCPP $CPPFLAGS'
40245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40248
40249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40250 /* end confdefs.h. */
40251 #include <math.h>
40252 #ifdef HAVE_IEEEFP_H
40253 #include <ieeefp.h>
40254 #endif
40255
40256 int
40257 main ()
40258 {
40259 _logl(0);
40260 ;
40261 return 0;
40262 }
40263 _ACEOF
40264 if ac_fn_cxx_try_compile "$LINENO"; then :
40265 glibcxx_cv_func__logl_use=yes
40266 else
40267 glibcxx_cv_func__logl_use=no
40268 fi
40269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40270 ac_ext=c
40271 ac_cpp='$CPP $CPPFLAGS'
40272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40275
40276
40277 fi
40278
40279 fi
40280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40281 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40282
40283 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40284 for ac_func in _logl
40285 do :
40286 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40287 if test "x$ac_cv_func__logl" = xyes; then :
40288 cat >>confdefs.h <<_ACEOF
40289 #define HAVE__LOGL 1
40290 _ACEOF
40291
40292 fi
40293 done
40294
40295 fi
40296 fi
40297
40298
40299
40300
40301
40302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40303 $as_echo_n "checking for log10l declaration... " >&6; }
40304 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40305 if ${glibcxx_cv_func_log10l_use+:} false; then :
40306 $as_echo_n "(cached) " >&6
40307 else
40308
40309
40310 ac_ext=cpp
40311 ac_cpp='$CXXCPP $CPPFLAGS'
40312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40315
40316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40317 /* end confdefs.h. */
40318 #include <math.h>
40319 #ifdef HAVE_IEEEFP_H
40320 #include <ieeefp.h>
40321 #endif
40322
40323 int
40324 main ()
40325 {
40326 log10l(0);
40327 ;
40328 return 0;
40329 }
40330 _ACEOF
40331 if ac_fn_cxx_try_compile "$LINENO"; then :
40332 glibcxx_cv_func_log10l_use=yes
40333 else
40334 glibcxx_cv_func_log10l_use=no
40335 fi
40336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40337 ac_ext=c
40338 ac_cpp='$CPP $CPPFLAGS'
40339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40342
40343
40344 fi
40345
40346 fi
40347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40348 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40349
40350 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40351 for ac_func in log10l
40352 do :
40353 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40354 if test "x$ac_cv_func_log10l" = xyes; then :
40355 cat >>confdefs.h <<_ACEOF
40356 #define HAVE_LOG10L 1
40357 _ACEOF
40358
40359 fi
40360 done
40361
40362 else
40363
40364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40365 $as_echo_n "checking for _log10l declaration... " >&6; }
40366 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40367 if ${glibcxx_cv_func__log10l_use+:} false; then :
40368 $as_echo_n "(cached) " >&6
40369 else
40370
40371
40372 ac_ext=cpp
40373 ac_cpp='$CXXCPP $CPPFLAGS'
40374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40377
40378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40379 /* end confdefs.h. */
40380 #include <math.h>
40381 #ifdef HAVE_IEEEFP_H
40382 #include <ieeefp.h>
40383 #endif
40384
40385 int
40386 main ()
40387 {
40388 _log10l(0);
40389 ;
40390 return 0;
40391 }
40392 _ACEOF
40393 if ac_fn_cxx_try_compile "$LINENO"; then :
40394 glibcxx_cv_func__log10l_use=yes
40395 else
40396 glibcxx_cv_func__log10l_use=no
40397 fi
40398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40399 ac_ext=c
40400 ac_cpp='$CPP $CPPFLAGS'
40401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40404
40405
40406 fi
40407
40408 fi
40409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40410 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40411
40412 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40413 for ac_func in _log10l
40414 do :
40415 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40416 if test "x$ac_cv_func__log10l" = xyes; then :
40417 cat >>confdefs.h <<_ACEOF
40418 #define HAVE__LOG10L 1
40419 _ACEOF
40420
40421 fi
40422 done
40423
40424 fi
40425 fi
40426
40427
40428
40429
40430
40431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40432 $as_echo_n "checking for modfl declaration... " >&6; }
40433 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40434 if ${glibcxx_cv_func_modfl_use+:} false; then :
40435 $as_echo_n "(cached) " >&6
40436 else
40437
40438
40439 ac_ext=cpp
40440 ac_cpp='$CXXCPP $CPPFLAGS'
40441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40444
40445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40446 /* end confdefs.h. */
40447 #include <math.h>
40448 int
40449 main ()
40450 {
40451 modfl(0, 0);
40452 ;
40453 return 0;
40454 }
40455 _ACEOF
40456 if ac_fn_cxx_try_compile "$LINENO"; then :
40457 glibcxx_cv_func_modfl_use=yes
40458 else
40459 glibcxx_cv_func_modfl_use=no
40460 fi
40461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40462 ac_ext=c
40463 ac_cpp='$CPP $CPPFLAGS'
40464 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40465 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40466 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40467
40468
40469 fi
40470
40471 fi
40472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40473 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40474
40475 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40476 for ac_func in modfl
40477 do :
40478 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40479 if test "x$ac_cv_func_modfl" = xyes; then :
40480 cat >>confdefs.h <<_ACEOF
40481 #define HAVE_MODFL 1
40482 _ACEOF
40483
40484 fi
40485 done
40486
40487 else
40488
40489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40490 $as_echo_n "checking for _modfl declaration... " >&6; }
40491 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40492 if ${glibcxx_cv_func__modfl_use+:} false; then :
40493 $as_echo_n "(cached) " >&6
40494 else
40495
40496
40497 ac_ext=cpp
40498 ac_cpp='$CXXCPP $CPPFLAGS'
40499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40502
40503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40504 /* end confdefs.h. */
40505 #include <math.h>
40506 int
40507 main ()
40508 {
40509 _modfl(0, 0);
40510 ;
40511 return 0;
40512 }
40513 _ACEOF
40514 if ac_fn_cxx_try_compile "$LINENO"; then :
40515 glibcxx_cv_func__modfl_use=yes
40516 else
40517 glibcxx_cv_func__modfl_use=no
40518 fi
40519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40520 ac_ext=c
40521 ac_cpp='$CPP $CPPFLAGS'
40522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40525
40526
40527 fi
40528
40529 fi
40530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40531 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40532
40533 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40534 for ac_func in _modfl
40535 do :
40536 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40537 if test "x$ac_cv_func__modfl" = xyes; then :
40538 cat >>confdefs.h <<_ACEOF
40539 #define HAVE__MODFL 1
40540 _ACEOF
40541
40542 fi
40543 done
40544
40545 fi
40546 fi
40547
40548
40549
40550
40551
40552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40553 $as_echo_n "checking for powl declaration... " >&6; }
40554 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40555 if ${glibcxx_cv_func_powl_use+:} false; then :
40556 $as_echo_n "(cached) " >&6
40557 else
40558
40559
40560 ac_ext=cpp
40561 ac_cpp='$CXXCPP $CPPFLAGS'
40562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40565
40566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40567 /* end confdefs.h. */
40568 #include <math.h>
40569 int
40570 main ()
40571 {
40572 powl(0, 0);
40573 ;
40574 return 0;
40575 }
40576 _ACEOF
40577 if ac_fn_cxx_try_compile "$LINENO"; then :
40578 glibcxx_cv_func_powl_use=yes
40579 else
40580 glibcxx_cv_func_powl_use=no
40581 fi
40582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40583 ac_ext=c
40584 ac_cpp='$CPP $CPPFLAGS'
40585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40588
40589
40590 fi
40591
40592 fi
40593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40594 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40595
40596 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40597 for ac_func in powl
40598 do :
40599 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40600 if test "x$ac_cv_func_powl" = xyes; then :
40601 cat >>confdefs.h <<_ACEOF
40602 #define HAVE_POWL 1
40603 _ACEOF
40604
40605 fi
40606 done
40607
40608 else
40609
40610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40611 $as_echo_n "checking for _powl declaration... " >&6; }
40612 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40613 if ${glibcxx_cv_func__powl_use+:} false; then :
40614 $as_echo_n "(cached) " >&6
40615 else
40616
40617
40618 ac_ext=cpp
40619 ac_cpp='$CXXCPP $CPPFLAGS'
40620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40623
40624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40625 /* end confdefs.h. */
40626 #include <math.h>
40627 int
40628 main ()
40629 {
40630 _powl(0, 0);
40631 ;
40632 return 0;
40633 }
40634 _ACEOF
40635 if ac_fn_cxx_try_compile "$LINENO"; then :
40636 glibcxx_cv_func__powl_use=yes
40637 else
40638 glibcxx_cv_func__powl_use=no
40639 fi
40640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40641 ac_ext=c
40642 ac_cpp='$CPP $CPPFLAGS'
40643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40646
40647
40648 fi
40649
40650 fi
40651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40652 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40653
40654 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40655 for ac_func in _powl
40656 do :
40657 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40658 if test "x$ac_cv_func__powl" = xyes; then :
40659 cat >>confdefs.h <<_ACEOF
40660 #define HAVE__POWL 1
40661 _ACEOF
40662
40663 fi
40664 done
40665
40666 fi
40667 fi
40668
40669
40670
40671
40672
40673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40674 $as_echo_n "checking for sqrtl declaration... " >&6; }
40675 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40676 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40677 $as_echo_n "(cached) " >&6
40678 else
40679
40680
40681 ac_ext=cpp
40682 ac_cpp='$CXXCPP $CPPFLAGS'
40683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40686
40687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40688 /* end confdefs.h. */
40689 #include <math.h>
40690 #ifdef HAVE_IEEEFP_H
40691 #include <ieeefp.h>
40692 #endif
40693
40694 int
40695 main ()
40696 {
40697 sqrtl(0);
40698 ;
40699 return 0;
40700 }
40701 _ACEOF
40702 if ac_fn_cxx_try_compile "$LINENO"; then :
40703 glibcxx_cv_func_sqrtl_use=yes
40704 else
40705 glibcxx_cv_func_sqrtl_use=no
40706 fi
40707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40708 ac_ext=c
40709 ac_cpp='$CPP $CPPFLAGS'
40710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40713
40714
40715 fi
40716
40717 fi
40718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40719 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40720
40721 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40722 for ac_func in sqrtl
40723 do :
40724 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40725 if test "x$ac_cv_func_sqrtl" = xyes; then :
40726 cat >>confdefs.h <<_ACEOF
40727 #define HAVE_SQRTL 1
40728 _ACEOF
40729
40730 fi
40731 done
40732
40733 else
40734
40735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40736 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40737 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40738 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40739 $as_echo_n "(cached) " >&6
40740 else
40741
40742
40743 ac_ext=cpp
40744 ac_cpp='$CXXCPP $CPPFLAGS'
40745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40748
40749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40750 /* end confdefs.h. */
40751 #include <math.h>
40752 #ifdef HAVE_IEEEFP_H
40753 #include <ieeefp.h>
40754 #endif
40755
40756 int
40757 main ()
40758 {
40759 _sqrtl(0);
40760 ;
40761 return 0;
40762 }
40763 _ACEOF
40764 if ac_fn_cxx_try_compile "$LINENO"; then :
40765 glibcxx_cv_func__sqrtl_use=yes
40766 else
40767 glibcxx_cv_func__sqrtl_use=no
40768 fi
40769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40770 ac_ext=c
40771 ac_cpp='$CPP $CPPFLAGS'
40772 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40773 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40774 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40775
40776
40777 fi
40778
40779 fi
40780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40781 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40782
40783 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40784 for ac_func in _sqrtl
40785 do :
40786 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40787 if test "x$ac_cv_func__sqrtl" = xyes; then :
40788 cat >>confdefs.h <<_ACEOF
40789 #define HAVE__SQRTL 1
40790 _ACEOF
40791
40792 fi
40793 done
40794
40795 fi
40796 fi
40797
40798
40799
40800
40801
40802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40803 $as_echo_n "checking for sincosl declaration... " >&6; }
40804 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40805 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40806 $as_echo_n "(cached) " >&6
40807 else
40808
40809
40810 ac_ext=cpp
40811 ac_cpp='$CXXCPP $CPPFLAGS'
40812 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40813 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40814 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40815
40816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40817 /* end confdefs.h. */
40818 #include <math.h>
40819 int
40820 main ()
40821 {
40822 sincosl(0, 0, 0);
40823 ;
40824 return 0;
40825 }
40826 _ACEOF
40827 if ac_fn_cxx_try_compile "$LINENO"; then :
40828 glibcxx_cv_func_sincosl_use=yes
40829 else
40830 glibcxx_cv_func_sincosl_use=no
40831 fi
40832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40833 ac_ext=c
40834 ac_cpp='$CPP $CPPFLAGS'
40835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40838
40839
40840 fi
40841
40842 fi
40843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40844 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40845
40846 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40847 for ac_func in sincosl
40848 do :
40849 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40850 if test "x$ac_cv_func_sincosl" = xyes; then :
40851 cat >>confdefs.h <<_ACEOF
40852 #define HAVE_SINCOSL 1
40853 _ACEOF
40854
40855 fi
40856 done
40857
40858 else
40859
40860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40861 $as_echo_n "checking for _sincosl declaration... " >&6; }
40862 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40863 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40864 $as_echo_n "(cached) " >&6
40865 else
40866
40867
40868 ac_ext=cpp
40869 ac_cpp='$CXXCPP $CPPFLAGS'
40870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40873
40874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40875 /* end confdefs.h. */
40876 #include <math.h>
40877 int
40878 main ()
40879 {
40880 _sincosl(0, 0, 0);
40881 ;
40882 return 0;
40883 }
40884 _ACEOF
40885 if ac_fn_cxx_try_compile "$LINENO"; then :
40886 glibcxx_cv_func__sincosl_use=yes
40887 else
40888 glibcxx_cv_func__sincosl_use=no
40889 fi
40890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40891 ac_ext=c
40892 ac_cpp='$CPP $CPPFLAGS'
40893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40896
40897
40898 fi
40899
40900 fi
40901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40902 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40903
40904 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40905 for ac_func in _sincosl
40906 do :
40907 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40908 if test "x$ac_cv_func__sincosl" = xyes; then :
40909 cat >>confdefs.h <<_ACEOF
40910 #define HAVE__SINCOSL 1
40911 _ACEOF
40912
40913 fi
40914 done
40915
40916 fi
40917 fi
40918
40919
40920
40921
40922
40923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40924 $as_echo_n "checking for finitel declaration... " >&6; }
40925 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40926 if ${glibcxx_cv_func_finitel_use+:} false; then :
40927 $as_echo_n "(cached) " >&6
40928 else
40929
40930
40931 ac_ext=cpp
40932 ac_cpp='$CXXCPP $CPPFLAGS'
40933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40936
40937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40938 /* end confdefs.h. */
40939 #include <math.h>
40940 #ifdef HAVE_IEEEFP_H
40941 #include <ieeefp.h>
40942 #endif
40943
40944 int
40945 main ()
40946 {
40947 finitel(0);
40948 ;
40949 return 0;
40950 }
40951 _ACEOF
40952 if ac_fn_cxx_try_compile "$LINENO"; then :
40953 glibcxx_cv_func_finitel_use=yes
40954 else
40955 glibcxx_cv_func_finitel_use=no
40956 fi
40957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40958 ac_ext=c
40959 ac_cpp='$CPP $CPPFLAGS'
40960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40963
40964
40965 fi
40966
40967 fi
40968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40969 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40970
40971 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40972 for ac_func in finitel
40973 do :
40974 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40975 if test "x$ac_cv_func_finitel" = xyes; then :
40976 cat >>confdefs.h <<_ACEOF
40977 #define HAVE_FINITEL 1
40978 _ACEOF
40979
40980 fi
40981 done
40982
40983 else
40984
40985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40986 $as_echo_n "checking for _finitel declaration... " >&6; }
40987 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40988 if ${glibcxx_cv_func__finitel_use+:} false; then :
40989 $as_echo_n "(cached) " >&6
40990 else
40991
40992
40993 ac_ext=cpp
40994 ac_cpp='$CXXCPP $CPPFLAGS'
40995 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40996 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40997 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40998
40999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41000 /* end confdefs.h. */
41001 #include <math.h>
41002 #ifdef HAVE_IEEEFP_H
41003 #include <ieeefp.h>
41004 #endif
41005
41006 int
41007 main ()
41008 {
41009 _finitel(0);
41010 ;
41011 return 0;
41012 }
41013 _ACEOF
41014 if ac_fn_cxx_try_compile "$LINENO"; then :
41015 glibcxx_cv_func__finitel_use=yes
41016 else
41017 glibcxx_cv_func__finitel_use=no
41018 fi
41019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41020 ac_ext=c
41021 ac_cpp='$CPP $CPPFLAGS'
41022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41025
41026
41027 fi
41028
41029 fi
41030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
41031 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
41032
41033 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
41034 for ac_func in _finitel
41035 do :
41036 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
41037 if test "x$ac_cv_func__finitel" = xyes; then :
41038 cat >>confdefs.h <<_ACEOF
41039 #define HAVE__FINITEL 1
41040 _ACEOF
41041
41042 fi
41043 done
41044
41045 fi
41046 fi
41047
41048
41049
41050
41051 LIBS="$ac_save_LIBS"
41052 CXXFLAGS="$ac_save_CXXFLAGS"
41053
41054
41055 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41056 ac_save_CXXFLAGS="$CXXFLAGS"
41057 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41058
41059
41060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
41061 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
41062 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
41063 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
41064 $as_echo_n "(cached) " >&6
41065 else
41066
41067
41068 ac_ext=cpp
41069 ac_cpp='$CXXCPP $CPPFLAGS'
41070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41073
41074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41075 /* end confdefs.h. */
41076 #include <stdlib.h>
41077 int
41078 main ()
41079 {
41080 at_quick_exit(0);
41081 ;
41082 return 0;
41083 }
41084 _ACEOF
41085 if ac_fn_cxx_try_compile "$LINENO"; then :
41086 glibcxx_cv_func_at_quick_exit_use=yes
41087 else
41088 glibcxx_cv_func_at_quick_exit_use=no
41089 fi
41090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41091 ac_ext=c
41092 ac_cpp='$CPP $CPPFLAGS'
41093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41096
41097
41098 fi
41099
41100 fi
41101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
41102 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
41103 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
41104 for ac_func in at_quick_exit
41105 do :
41106 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
41107 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
41108 cat >>confdefs.h <<_ACEOF
41109 #define HAVE_AT_QUICK_EXIT 1
41110 _ACEOF
41111
41112 fi
41113 done
41114
41115 fi
41116
41117
41118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
41119 $as_echo_n "checking for quick_exit declaration... " >&6; }
41120 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
41121 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
41122 $as_echo_n "(cached) " >&6
41123 else
41124
41125
41126 ac_ext=cpp
41127 ac_cpp='$CXXCPP $CPPFLAGS'
41128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41131
41132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41133 /* end confdefs.h. */
41134 #include <stdlib.h>
41135 int
41136 main ()
41137 {
41138 quick_exit(0);
41139 ;
41140 return 0;
41141 }
41142 _ACEOF
41143 if ac_fn_cxx_try_compile "$LINENO"; then :
41144 glibcxx_cv_func_quick_exit_use=yes
41145 else
41146 glibcxx_cv_func_quick_exit_use=no
41147 fi
41148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41149 ac_ext=c
41150 ac_cpp='$CPP $CPPFLAGS'
41151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41154
41155
41156 fi
41157
41158 fi
41159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
41160 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
41161 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
41162 for ac_func in quick_exit
41163 do :
41164 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
41165 if test "x$ac_cv_func_quick_exit" = xyes; then :
41166 cat >>confdefs.h <<_ACEOF
41167 #define HAVE_QUICK_EXIT 1
41168 _ACEOF
41169
41170 fi
41171 done
41172
41173 fi
41174
41175
41176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
41177 $as_echo_n "checking for strtold declaration... " >&6; }
41178 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
41179 if ${glibcxx_cv_func_strtold_use+:} false; then :
41180 $as_echo_n "(cached) " >&6
41181 else
41182
41183
41184 ac_ext=cpp
41185 ac_cpp='$CXXCPP $CPPFLAGS'
41186 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41187 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41188 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41189
41190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41191 /* end confdefs.h. */
41192 #include <stdlib.h>
41193 int
41194 main ()
41195 {
41196 strtold(0, 0);
41197 ;
41198 return 0;
41199 }
41200 _ACEOF
41201 if ac_fn_cxx_try_compile "$LINENO"; then :
41202 glibcxx_cv_func_strtold_use=yes
41203 else
41204 glibcxx_cv_func_strtold_use=no
41205 fi
41206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41207 ac_ext=c
41208 ac_cpp='$CPP $CPPFLAGS'
41209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41212
41213
41214 fi
41215
41216 fi
41217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41218 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41219 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41220 for ac_func in strtold
41221 do :
41222 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41223 if test "x$ac_cv_func_strtold" = xyes; then :
41224 cat >>confdefs.h <<_ACEOF
41225 #define HAVE_STRTOLD 1
41226 _ACEOF
41227
41228 fi
41229 done
41230
41231 fi
41232
41233
41234
41235
41236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41237 $as_echo_n "checking for strtof declaration... " >&6; }
41238 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41239 if ${glibcxx_cv_func_strtof_use+:} false; then :
41240 $as_echo_n "(cached) " >&6
41241 else
41242
41243
41244 ac_ext=cpp
41245 ac_cpp='$CXXCPP $CPPFLAGS'
41246 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41247 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41248 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41249
41250 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41251 /* end confdefs.h. */
41252 #include <stdlib.h>
41253 int
41254 main ()
41255 {
41256 strtof(0, 0);
41257 ;
41258 return 0;
41259 }
41260 _ACEOF
41261 if ac_fn_cxx_try_compile "$LINENO"; then :
41262 glibcxx_cv_func_strtof_use=yes
41263 else
41264 glibcxx_cv_func_strtof_use=no
41265 fi
41266 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41267 ac_ext=c
41268 ac_cpp='$CPP $CPPFLAGS'
41269 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41270 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41271 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41272
41273
41274 fi
41275
41276 fi
41277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41278 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41279 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41280 for ac_func in strtof
41281 do :
41282 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41283 if test "x$ac_cv_func_strtof" = xyes; then :
41284 cat >>confdefs.h <<_ACEOF
41285 #define HAVE_STRTOF 1
41286 _ACEOF
41287
41288 fi
41289 done
41290
41291 fi
41292
41293
41294
41295
41296 CXXFLAGS="$ac_save_CXXFLAGS"
41297
41298
41299
41300
41301
41302
41303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41304 $as_echo_n "checking for iconv... " >&6; }
41305 if ${am_cv_func_iconv+:} false; then :
41306 $as_echo_n "(cached) " >&6
41307 else
41308
41309 am_cv_func_iconv="no, consider installing GNU libiconv"
41310 am_cv_lib_iconv=no
41311 am_save_CPPFLAGS="$CPPFLAGS"
41312 CPPFLAGS="$CPPFLAGS $INCICONV"
41313 if test x$gcc_no_link = xyes; then
41314 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41315 fi
41316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41317 /* end confdefs.h. */
41318 #include <stdlib.h>
41319 #include <iconv.h>
41320 int
41321 main ()
41322 {
41323 iconv_t cd = iconv_open("","");
41324 iconv(cd,NULL,NULL,NULL,NULL);
41325 iconv_close(cd);
41326 ;
41327 return 0;
41328 }
41329 _ACEOF
41330 if ac_fn_c_try_link "$LINENO"; then :
41331 am_cv_func_iconv=yes
41332 fi
41333 rm -f core conftest.err conftest.$ac_objext \
41334 conftest$ac_exeext conftest.$ac_ext
41335 CPPFLAGS="$am_save_CPPFLAGS"
41336
41337 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41338 for _libs in .libs _libs; do
41339 am_save_CPPFLAGS="$CPPFLAGS"
41340 am_save_LIBS="$LIBS"
41341 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41342 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41343 if test x$gcc_no_link = xyes; then
41344 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41345 fi
41346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41347 /* end confdefs.h. */
41348 #include <stdlib.h>
41349 #include <iconv.h>
41350 int
41351 main ()
41352 {
41353 iconv_t cd = iconv_open("","");
41354 iconv(cd,NULL,NULL,NULL,NULL);
41355 iconv_close(cd);
41356 ;
41357 return 0;
41358 }
41359 _ACEOF
41360 if ac_fn_c_try_link "$LINENO"; then :
41361 INCICONV="-I../libiconv/include"
41362 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41363 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41364 am_cv_lib_iconv=yes
41365 am_cv_func_iconv=yes
41366 fi
41367 rm -f core conftest.err conftest.$ac_objext \
41368 conftest$ac_exeext conftest.$ac_ext
41369 CPPFLAGS="$am_save_CPPFLAGS"
41370 LIBS="$am_save_LIBS"
41371 if test "$am_cv_func_iconv" = "yes"; then
41372 break
41373 fi
41374 done
41375 fi
41376
41377 if test "$am_cv_func_iconv" != yes; then
41378 am_save_CPPFLAGS="$CPPFLAGS"
41379 am_save_LIBS="$LIBS"
41380 CPPFLAGS="$CPPFLAGS $INCICONV"
41381 LIBS="$LIBS $LIBICONV"
41382 if test x$gcc_no_link = xyes; then
41383 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41384 fi
41385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41386 /* end confdefs.h. */
41387 #include <stdlib.h>
41388 #include <iconv.h>
41389 int
41390 main ()
41391 {
41392 iconv_t cd = iconv_open("","");
41393 iconv(cd,NULL,NULL,NULL,NULL);
41394 iconv_close(cd);
41395 ;
41396 return 0;
41397 }
41398 _ACEOF
41399 if ac_fn_c_try_link "$LINENO"; then :
41400 am_cv_lib_iconv=yes
41401 am_cv_func_iconv=yes
41402 fi
41403 rm -f core conftest.err conftest.$ac_objext \
41404 conftest$ac_exeext conftest.$ac_ext
41405 CPPFLAGS="$am_save_CPPFLAGS"
41406 LIBS="$am_save_LIBS"
41407 fi
41408
41409 fi
41410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41411 $as_echo "$am_cv_func_iconv" >&6; }
41412 if test "$am_cv_func_iconv" = yes; then
41413
41414 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41415
41416 fi
41417 if test "$am_cv_lib_iconv" = yes; then
41418
41419 for element in $INCICONV; do
41420 haveit=
41421 for x in $CPPFLAGS; do
41422
41423 acl_save_prefix="$prefix"
41424 prefix="$acl_final_prefix"
41425 acl_save_exec_prefix="$exec_prefix"
41426 exec_prefix="$acl_final_exec_prefix"
41427 eval x=\"$x\"
41428 exec_prefix="$acl_save_exec_prefix"
41429 prefix="$acl_save_prefix"
41430
41431 if test "X$x" = "X$element"; then
41432 haveit=yes
41433 break
41434 fi
41435 done
41436 if test -z "$haveit"; then
41437 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41438 fi
41439 done
41440
41441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41442 $as_echo_n "checking how to link with libiconv... " >&6; }
41443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41444 $as_echo "$LIBICONV" >&6; }
41445 else
41446 LIBICONV=
41447 LTLIBICONV=
41448 fi
41449
41450
41451
41452 if test "$am_cv_func_iconv" = yes; then
41453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41454 $as_echo_n "checking for iconv declaration... " >&6; }
41455 if ${am_cv_proto_iconv+:} false; then :
41456 $as_echo_n "(cached) " >&6
41457 else
41458
41459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41460 /* end confdefs.h. */
41461
41462 #include <stdlib.h>
41463 #include <iconv.h>
41464 extern
41465 #ifdef __cplusplus
41466 "C"
41467 #endif
41468 #if defined(__STDC__) || defined(__cplusplus)
41469 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41470 #else
41471 size_t iconv();
41472 #endif
41473
41474 int
41475 main ()
41476 {
41477
41478 ;
41479 return 0;
41480 }
41481 _ACEOF
41482 if ac_fn_c_try_compile "$LINENO"; then :
41483 am_cv_proto_iconv_arg1=""
41484 else
41485 am_cv_proto_iconv_arg1="const"
41486 fi
41487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41488 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);"
41489 fi
41490
41491 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41493 }$am_cv_proto_iconv" >&5
41494 $as_echo "${ac_t:-
41495 }$am_cv_proto_iconv" >&6; }
41496
41497 cat >>confdefs.h <<_ACEOF
41498 #define ICONV_CONST $am_cv_proto_iconv_arg1
41499 _ACEOF
41500
41501 fi
41502
41503 ;;
41504
41505 *-aix*)
41506
41507 # If we're not using GNU ld, then there's no point in even trying these
41508 # tests. Check for that first. We should have already tested for gld
41509 # by now (in libtool), but require it now just to be safe...
41510 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
41511 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
41512
41513
41514
41515 # The name set by libtool depends on the version of libtool. Shame on us
41516 # for depending on an impl detail, but c'est la vie. Older versions used
41517 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
41518 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
41519 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
41520 # set (hence we're using an older libtool), then set it.
41521 if test x${with_gnu_ld+set} != xset; then
41522 if test x${ac_cv_prog_gnu_ld+set} != xset; then
41523 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
41524 with_gnu_ld=no
41525 else
41526 with_gnu_ld=$ac_cv_prog_gnu_ld
41527 fi
41528 fi
41529
41530 # Start by getting the version number. I think the libtool test already
41531 # does some of this, but throws away the result.
41532 glibcxx_ld_is_gold=no
41533 if test x"$with_gnu_ld" = x"yes"; then
41534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
41535 $as_echo_n "checking for ld version... " >&6; }
41536
41537 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
41538 glibcxx_ld_is_gold=yes
41539 fi
41540 ldver=`$LD --version 2>/dev/null |
41541 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'`
41542
41543 glibcxx_gnu_ld_version=`echo $ldver | \
41544 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
41545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
41546 $as_echo "$glibcxx_gnu_ld_version" >&6; }
41547 fi
41548
41549 # Set --gc-sections.
41550 glibcxx_have_gc_sections=no
41551 if test "$glibcxx_ld_is_gold" = "yes"; then
41552 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
41553 glibcxx_have_gc_sections=yes
41554 fi
41555 else
41556 glibcxx_gcsections_min_ld=21602
41557 if test x"$with_gnu_ld" = x"yes" &&
41558 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
41559 glibcxx_have_gc_sections=yes
41560 fi
41561 fi
41562 if test "$glibcxx_have_gc_sections" = "yes"; then
41563 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
41564 # NB: This flag only works reliably after 2.16.1. Configure tests
41565 # for this are difficult, so hard wire a value that should work.
41566
41567 ac_test_CFLAGS="${CFLAGS+set}"
41568 ac_save_CFLAGS="$CFLAGS"
41569 CFLAGS='-Wl,--gc-sections'
41570
41571 # Check for -Wl,--gc-sections
41572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
41573 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
41574 if test x$gcc_no_link = xyes; then
41575 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41576 fi
41577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41578 /* end confdefs.h. */
41579 int one(void) { return 1; }
41580 int two(void) { return 2; }
41581
41582 int
41583 main ()
41584 {
41585 two();
41586 ;
41587 return 0;
41588 }
41589 _ACEOF
41590 if ac_fn_c_try_link "$LINENO"; then :
41591 ac_gcsections=yes
41592 else
41593 ac_gcsections=no
41594 fi
41595 rm -f core conftest.err conftest.$ac_objext \
41596 conftest$ac_exeext conftest.$ac_ext
41597 if test "$ac_gcsections" = "yes"; then
41598 rm -f conftest.c
41599 touch conftest.c
41600 if $CC -c conftest.c; then
41601 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
41602 grep "Warning: gc-sections option ignored" > /dev/null; then
41603 ac_gcsections=no
41604 fi
41605 fi
41606 rm -f conftest.c conftest.o conftest
41607 fi
41608 if test "$ac_gcsections" = "yes"; then
41609 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
41610 fi
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
41612 $as_echo "$ac_gcsections" >&6; }
41613
41614 if test "$ac_test_CFLAGS" = set; then
41615 CFLAGS="$ac_save_CFLAGS"
41616 else
41617 # this is the suspicious part
41618 CFLAGS=''
41619 fi
41620 fi
41621
41622 # Set -z,relro.
41623 # Note this is only for shared objects.
41624 ac_ld_relro=no
41625 if test x"$with_gnu_ld" = x"yes"; then
41626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
41627 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
41628 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
41629 if test -n "$cxx_z_relo"; then
41630 OPT_LDFLAGS="-Wl,-z,relro"
41631 ac_ld_relro=yes
41632 fi
41633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
41634 $as_echo "$ac_ld_relro" >&6; }
41635 fi
41636
41637 # Set linker optimization flags.
41638 if test x"$with_gnu_ld" = x"yes"; then
41639 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
41640 fi
41641
41642
41643
41644
41645
41646 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41647 ac_save_CXXFLAGS="$CXXFLAGS"
41648 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41649
41650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41651 $as_echo_n "checking for sin in -lm... " >&6; }
41652 if ${ac_cv_lib_m_sin+:} false; then :
41653 $as_echo_n "(cached) " >&6
41654 else
41655 ac_check_lib_save_LIBS=$LIBS
41656 LIBS="-lm $LIBS"
41657 if test x$gcc_no_link = xyes; then
41658 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41659 fi
41660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41661 /* end confdefs.h. */
41662
41663 /* Override any GCC internal prototype to avoid an error.
41664 Use char because int might match the return type of a GCC
41665 builtin and then its argument prototype would still apply. */
41666 #ifdef __cplusplus
41667 extern "C"
41668 #endif
41669 char sin ();
41670 int
41671 main ()
41672 {
41673 return sin ();
41674 ;
41675 return 0;
41676 }
41677 _ACEOF
41678 if ac_fn_c_try_link "$LINENO"; then :
41679 ac_cv_lib_m_sin=yes
41680 else
41681 ac_cv_lib_m_sin=no
41682 fi
41683 rm -f core conftest.err conftest.$ac_objext \
41684 conftest$ac_exeext conftest.$ac_ext
41685 LIBS=$ac_check_lib_save_LIBS
41686 fi
41687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41688 $as_echo "$ac_cv_lib_m_sin" >&6; }
41689 if test "x$ac_cv_lib_m_sin" = xyes; then :
41690 libm="-lm"
41691 fi
41692
41693 ac_save_LIBS="$LIBS"
41694 LIBS="$LIBS $libm"
41695
41696
41697
41698 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41699 $as_echo_n "checking for isinf declaration... " >&6; }
41700 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41701 if ${glibcxx_cv_func_isinf_use+:} false; then :
41702 $as_echo_n "(cached) " >&6
41703 else
41704
41705
41706 ac_ext=cpp
41707 ac_cpp='$CXXCPP $CPPFLAGS'
41708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41711
41712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41713 /* end confdefs.h. */
41714 #include <math.h>
41715 #ifdef HAVE_IEEEFP_H
41716 #include <ieeefp.h>
41717 #endif
41718
41719 int
41720 main ()
41721 {
41722 isinf(0);
41723 ;
41724 return 0;
41725 }
41726 _ACEOF
41727 if ac_fn_cxx_try_compile "$LINENO"; then :
41728 glibcxx_cv_func_isinf_use=yes
41729 else
41730 glibcxx_cv_func_isinf_use=no
41731 fi
41732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41733 ac_ext=c
41734 ac_cpp='$CPP $CPPFLAGS'
41735 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41736 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41737 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41738
41739
41740 fi
41741
41742 fi
41743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41744 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41745
41746 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41747 for ac_func in isinf
41748 do :
41749 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41750 if test "x$ac_cv_func_isinf" = xyes; then :
41751 cat >>confdefs.h <<_ACEOF
41752 #define HAVE_ISINF 1
41753 _ACEOF
41754
41755 fi
41756 done
41757
41758 else
41759
41760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41761 $as_echo_n "checking for _isinf declaration... " >&6; }
41762 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41763 if ${glibcxx_cv_func__isinf_use+:} false; then :
41764 $as_echo_n "(cached) " >&6
41765 else
41766
41767
41768 ac_ext=cpp
41769 ac_cpp='$CXXCPP $CPPFLAGS'
41770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41773
41774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41775 /* end confdefs.h. */
41776 #include <math.h>
41777 #ifdef HAVE_IEEEFP_H
41778 #include <ieeefp.h>
41779 #endif
41780
41781 int
41782 main ()
41783 {
41784 _isinf(0);
41785 ;
41786 return 0;
41787 }
41788 _ACEOF
41789 if ac_fn_cxx_try_compile "$LINENO"; then :
41790 glibcxx_cv_func__isinf_use=yes
41791 else
41792 glibcxx_cv_func__isinf_use=no
41793 fi
41794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41795 ac_ext=c
41796 ac_cpp='$CPP $CPPFLAGS'
41797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41800
41801
41802 fi
41803
41804 fi
41805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41806 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41807
41808 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41809 for ac_func in _isinf
41810 do :
41811 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41812 if test "x$ac_cv_func__isinf" = xyes; then :
41813 cat >>confdefs.h <<_ACEOF
41814 #define HAVE__ISINF 1
41815 _ACEOF
41816
41817 fi
41818 done
41819
41820 fi
41821 fi
41822
41823
41824
41825
41826
41827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41828 $as_echo_n "checking for isnan declaration... " >&6; }
41829 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41830 if ${glibcxx_cv_func_isnan_use+:} false; then :
41831 $as_echo_n "(cached) " >&6
41832 else
41833
41834
41835 ac_ext=cpp
41836 ac_cpp='$CXXCPP $CPPFLAGS'
41837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41840
41841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41842 /* end confdefs.h. */
41843 #include <math.h>
41844 #ifdef HAVE_IEEEFP_H
41845 #include <ieeefp.h>
41846 #endif
41847
41848 int
41849 main ()
41850 {
41851 isnan(0);
41852 ;
41853 return 0;
41854 }
41855 _ACEOF
41856 if ac_fn_cxx_try_compile "$LINENO"; then :
41857 glibcxx_cv_func_isnan_use=yes
41858 else
41859 glibcxx_cv_func_isnan_use=no
41860 fi
41861 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41862 ac_ext=c
41863 ac_cpp='$CPP $CPPFLAGS'
41864 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41865 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41866 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41867
41868
41869 fi
41870
41871 fi
41872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41873 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41874
41875 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41876 for ac_func in isnan
41877 do :
41878 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41879 if test "x$ac_cv_func_isnan" = xyes; then :
41880 cat >>confdefs.h <<_ACEOF
41881 #define HAVE_ISNAN 1
41882 _ACEOF
41883
41884 fi
41885 done
41886
41887 else
41888
41889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41890 $as_echo_n "checking for _isnan declaration... " >&6; }
41891 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41892 if ${glibcxx_cv_func__isnan_use+:} false; then :
41893 $as_echo_n "(cached) " >&6
41894 else
41895
41896
41897 ac_ext=cpp
41898 ac_cpp='$CXXCPP $CPPFLAGS'
41899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41902
41903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41904 /* end confdefs.h. */
41905 #include <math.h>
41906 #ifdef HAVE_IEEEFP_H
41907 #include <ieeefp.h>
41908 #endif
41909
41910 int
41911 main ()
41912 {
41913 _isnan(0);
41914 ;
41915 return 0;
41916 }
41917 _ACEOF
41918 if ac_fn_cxx_try_compile "$LINENO"; then :
41919 glibcxx_cv_func__isnan_use=yes
41920 else
41921 glibcxx_cv_func__isnan_use=no
41922 fi
41923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41924 ac_ext=c
41925 ac_cpp='$CPP $CPPFLAGS'
41926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41929
41930
41931 fi
41932
41933 fi
41934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41935 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41936
41937 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41938 for ac_func in _isnan
41939 do :
41940 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41941 if test "x$ac_cv_func__isnan" = xyes; then :
41942 cat >>confdefs.h <<_ACEOF
41943 #define HAVE__ISNAN 1
41944 _ACEOF
41945
41946 fi
41947 done
41948
41949 fi
41950 fi
41951
41952
41953
41954
41955
41956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41957 $as_echo_n "checking for finite declaration... " >&6; }
41958 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41959 if ${glibcxx_cv_func_finite_use+:} false; then :
41960 $as_echo_n "(cached) " >&6
41961 else
41962
41963
41964 ac_ext=cpp
41965 ac_cpp='$CXXCPP $CPPFLAGS'
41966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41969
41970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41971 /* end confdefs.h. */
41972 #include <math.h>
41973 #ifdef HAVE_IEEEFP_H
41974 #include <ieeefp.h>
41975 #endif
41976
41977 int
41978 main ()
41979 {
41980 finite(0);
41981 ;
41982 return 0;
41983 }
41984 _ACEOF
41985 if ac_fn_cxx_try_compile "$LINENO"; then :
41986 glibcxx_cv_func_finite_use=yes
41987 else
41988 glibcxx_cv_func_finite_use=no
41989 fi
41990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41991 ac_ext=c
41992 ac_cpp='$CPP $CPPFLAGS'
41993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41996
41997
41998 fi
41999
42000 fi
42001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
42002 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
42003
42004 if test x$glibcxx_cv_func_finite_use = x"yes"; then
42005 for ac_func in finite
42006 do :
42007 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
42008 if test "x$ac_cv_func_finite" = xyes; then :
42009 cat >>confdefs.h <<_ACEOF
42010 #define HAVE_FINITE 1
42011 _ACEOF
42012
42013 fi
42014 done
42015
42016 else
42017
42018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
42019 $as_echo_n "checking for _finite declaration... " >&6; }
42020 if test x${glibcxx_cv_func__finite_use+set} != xset; then
42021 if ${glibcxx_cv_func__finite_use+:} false; then :
42022 $as_echo_n "(cached) " >&6
42023 else
42024
42025
42026 ac_ext=cpp
42027 ac_cpp='$CXXCPP $CPPFLAGS'
42028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42031
42032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42033 /* end confdefs.h. */
42034 #include <math.h>
42035 #ifdef HAVE_IEEEFP_H
42036 #include <ieeefp.h>
42037 #endif
42038
42039 int
42040 main ()
42041 {
42042 _finite(0);
42043 ;
42044 return 0;
42045 }
42046 _ACEOF
42047 if ac_fn_cxx_try_compile "$LINENO"; then :
42048 glibcxx_cv_func__finite_use=yes
42049 else
42050 glibcxx_cv_func__finite_use=no
42051 fi
42052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42053 ac_ext=c
42054 ac_cpp='$CPP $CPPFLAGS'
42055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42058
42059
42060 fi
42061
42062 fi
42063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
42064 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
42065
42066 if test x$glibcxx_cv_func__finite_use = x"yes"; then
42067 for ac_func in _finite
42068 do :
42069 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
42070 if test "x$ac_cv_func__finite" = xyes; then :
42071 cat >>confdefs.h <<_ACEOF
42072 #define HAVE__FINITE 1
42073 _ACEOF
42074
42075 fi
42076 done
42077
42078 fi
42079 fi
42080
42081
42082
42083
42084
42085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
42086 $as_echo_n "checking for sincos declaration... " >&6; }
42087 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
42088 if ${glibcxx_cv_func_sincos_use+:} false; then :
42089 $as_echo_n "(cached) " >&6
42090 else
42091
42092
42093 ac_ext=cpp
42094 ac_cpp='$CXXCPP $CPPFLAGS'
42095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42098
42099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42100 /* end confdefs.h. */
42101 #include <math.h>
42102 int
42103 main ()
42104 {
42105 sincos(0, 0, 0);
42106 ;
42107 return 0;
42108 }
42109 _ACEOF
42110 if ac_fn_cxx_try_compile "$LINENO"; then :
42111 glibcxx_cv_func_sincos_use=yes
42112 else
42113 glibcxx_cv_func_sincos_use=no
42114 fi
42115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42116 ac_ext=c
42117 ac_cpp='$CPP $CPPFLAGS'
42118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42121
42122
42123 fi
42124
42125 fi
42126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
42127 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
42128
42129 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
42130 for ac_func in sincos
42131 do :
42132 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
42133 if test "x$ac_cv_func_sincos" = xyes; then :
42134 cat >>confdefs.h <<_ACEOF
42135 #define HAVE_SINCOS 1
42136 _ACEOF
42137
42138 fi
42139 done
42140
42141 else
42142
42143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
42144 $as_echo_n "checking for _sincos declaration... " >&6; }
42145 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
42146 if ${glibcxx_cv_func__sincos_use+:} false; then :
42147 $as_echo_n "(cached) " >&6
42148 else
42149
42150
42151 ac_ext=cpp
42152 ac_cpp='$CXXCPP $CPPFLAGS'
42153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42156
42157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42158 /* end confdefs.h. */
42159 #include <math.h>
42160 int
42161 main ()
42162 {
42163 _sincos(0, 0, 0);
42164 ;
42165 return 0;
42166 }
42167 _ACEOF
42168 if ac_fn_cxx_try_compile "$LINENO"; then :
42169 glibcxx_cv_func__sincos_use=yes
42170 else
42171 glibcxx_cv_func__sincos_use=no
42172 fi
42173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42174 ac_ext=c
42175 ac_cpp='$CPP $CPPFLAGS'
42176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42179
42180
42181 fi
42182
42183 fi
42184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
42185 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
42186
42187 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
42188 for ac_func in _sincos
42189 do :
42190 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
42191 if test "x$ac_cv_func__sincos" = xyes; then :
42192 cat >>confdefs.h <<_ACEOF
42193 #define HAVE__SINCOS 1
42194 _ACEOF
42195
42196 fi
42197 done
42198
42199 fi
42200 fi
42201
42202
42203
42204
42205
42206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
42207 $as_echo_n "checking for fpclass declaration... " >&6; }
42208 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
42209 if ${glibcxx_cv_func_fpclass_use+:} false; then :
42210 $as_echo_n "(cached) " >&6
42211 else
42212
42213
42214 ac_ext=cpp
42215 ac_cpp='$CXXCPP $CPPFLAGS'
42216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42219
42220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42221 /* end confdefs.h. */
42222 #include <math.h>
42223 #ifdef HAVE_IEEEFP_H
42224 #include <ieeefp.h>
42225 #endif
42226
42227 int
42228 main ()
42229 {
42230 fpclass(0);
42231 ;
42232 return 0;
42233 }
42234 _ACEOF
42235 if ac_fn_cxx_try_compile "$LINENO"; then :
42236 glibcxx_cv_func_fpclass_use=yes
42237 else
42238 glibcxx_cv_func_fpclass_use=no
42239 fi
42240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42241 ac_ext=c
42242 ac_cpp='$CPP $CPPFLAGS'
42243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42246
42247
42248 fi
42249
42250 fi
42251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
42252 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
42253
42254 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
42255 for ac_func in fpclass
42256 do :
42257 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
42258 if test "x$ac_cv_func_fpclass" = xyes; then :
42259 cat >>confdefs.h <<_ACEOF
42260 #define HAVE_FPCLASS 1
42261 _ACEOF
42262
42263 fi
42264 done
42265
42266 else
42267
42268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
42269 $as_echo_n "checking for _fpclass declaration... " >&6; }
42270 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
42271 if ${glibcxx_cv_func__fpclass_use+:} false; then :
42272 $as_echo_n "(cached) " >&6
42273 else
42274
42275
42276 ac_ext=cpp
42277 ac_cpp='$CXXCPP $CPPFLAGS'
42278 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42279 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42280 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42281
42282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42283 /* end confdefs.h. */
42284 #include <math.h>
42285 #ifdef HAVE_IEEEFP_H
42286 #include <ieeefp.h>
42287 #endif
42288
42289 int
42290 main ()
42291 {
42292 _fpclass(0);
42293 ;
42294 return 0;
42295 }
42296 _ACEOF
42297 if ac_fn_cxx_try_compile "$LINENO"; then :
42298 glibcxx_cv_func__fpclass_use=yes
42299 else
42300 glibcxx_cv_func__fpclass_use=no
42301 fi
42302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42303 ac_ext=c
42304 ac_cpp='$CPP $CPPFLAGS'
42305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42308
42309
42310 fi
42311
42312 fi
42313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
42314 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
42315
42316 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
42317 for ac_func in _fpclass
42318 do :
42319 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
42320 if test "x$ac_cv_func__fpclass" = xyes; then :
42321 cat >>confdefs.h <<_ACEOF
42322 #define HAVE__FPCLASS 1
42323 _ACEOF
42324
42325 fi
42326 done
42327
42328 fi
42329 fi
42330
42331
42332
42333
42334
42335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42336 $as_echo_n "checking for qfpclass declaration... " >&6; }
42337 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42338 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42339 $as_echo_n "(cached) " >&6
42340 else
42341
42342
42343 ac_ext=cpp
42344 ac_cpp='$CXXCPP $CPPFLAGS'
42345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42348
42349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42350 /* end confdefs.h. */
42351 #include <math.h>
42352 #ifdef HAVE_IEEEFP_H
42353 #include <ieeefp.h>
42354 #endif
42355
42356 int
42357 main ()
42358 {
42359 qfpclass(0);
42360 ;
42361 return 0;
42362 }
42363 _ACEOF
42364 if ac_fn_cxx_try_compile "$LINENO"; then :
42365 glibcxx_cv_func_qfpclass_use=yes
42366 else
42367 glibcxx_cv_func_qfpclass_use=no
42368 fi
42369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42370 ac_ext=c
42371 ac_cpp='$CPP $CPPFLAGS'
42372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42375
42376
42377 fi
42378
42379 fi
42380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42381 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42382
42383 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42384 for ac_func in qfpclass
42385 do :
42386 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42387 if test "x$ac_cv_func_qfpclass" = xyes; then :
42388 cat >>confdefs.h <<_ACEOF
42389 #define HAVE_QFPCLASS 1
42390 _ACEOF
42391
42392 fi
42393 done
42394
42395 else
42396
42397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42398 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42399 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42400 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42401 $as_echo_n "(cached) " >&6
42402 else
42403
42404
42405 ac_ext=cpp
42406 ac_cpp='$CXXCPP $CPPFLAGS'
42407 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42408 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42409 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42410
42411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42412 /* end confdefs.h. */
42413 #include <math.h>
42414 #ifdef HAVE_IEEEFP_H
42415 #include <ieeefp.h>
42416 #endif
42417
42418 int
42419 main ()
42420 {
42421 _qfpclass(0);
42422 ;
42423 return 0;
42424 }
42425 _ACEOF
42426 if ac_fn_cxx_try_compile "$LINENO"; then :
42427 glibcxx_cv_func__qfpclass_use=yes
42428 else
42429 glibcxx_cv_func__qfpclass_use=no
42430 fi
42431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42432 ac_ext=c
42433 ac_cpp='$CPP $CPPFLAGS'
42434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42437
42438
42439 fi
42440
42441 fi
42442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42443 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42444
42445 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42446 for ac_func in _qfpclass
42447 do :
42448 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42449 if test "x$ac_cv_func__qfpclass" = xyes; then :
42450 cat >>confdefs.h <<_ACEOF
42451 #define HAVE__QFPCLASS 1
42452 _ACEOF
42453
42454 fi
42455 done
42456
42457 fi
42458 fi
42459
42460
42461
42462
42463
42464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42465 $as_echo_n "checking for hypot declaration... " >&6; }
42466 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42467 if ${glibcxx_cv_func_hypot_use+:} false; then :
42468 $as_echo_n "(cached) " >&6
42469 else
42470
42471
42472 ac_ext=cpp
42473 ac_cpp='$CXXCPP $CPPFLAGS'
42474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42477
42478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42479 /* end confdefs.h. */
42480 #include <math.h>
42481 int
42482 main ()
42483 {
42484 hypot(0, 0);
42485 ;
42486 return 0;
42487 }
42488 _ACEOF
42489 if ac_fn_cxx_try_compile "$LINENO"; then :
42490 glibcxx_cv_func_hypot_use=yes
42491 else
42492 glibcxx_cv_func_hypot_use=no
42493 fi
42494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42495 ac_ext=c
42496 ac_cpp='$CPP $CPPFLAGS'
42497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42500
42501
42502 fi
42503
42504 fi
42505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42506 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42507
42508 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42509 for ac_func in hypot
42510 do :
42511 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42512 if test "x$ac_cv_func_hypot" = xyes; then :
42513 cat >>confdefs.h <<_ACEOF
42514 #define HAVE_HYPOT 1
42515 _ACEOF
42516
42517 fi
42518 done
42519
42520 else
42521
42522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42523 $as_echo_n "checking for _hypot declaration... " >&6; }
42524 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42525 if ${glibcxx_cv_func__hypot_use+:} false; then :
42526 $as_echo_n "(cached) " >&6
42527 else
42528
42529
42530 ac_ext=cpp
42531 ac_cpp='$CXXCPP $CPPFLAGS'
42532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42535
42536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42537 /* end confdefs.h. */
42538 #include <math.h>
42539 int
42540 main ()
42541 {
42542 _hypot(0, 0);
42543 ;
42544 return 0;
42545 }
42546 _ACEOF
42547 if ac_fn_cxx_try_compile "$LINENO"; then :
42548 glibcxx_cv_func__hypot_use=yes
42549 else
42550 glibcxx_cv_func__hypot_use=no
42551 fi
42552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42553 ac_ext=c
42554 ac_cpp='$CPP $CPPFLAGS'
42555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42558
42559
42560 fi
42561
42562 fi
42563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42564 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42565
42566 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42567 for ac_func in _hypot
42568 do :
42569 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42570 if test "x$ac_cv_func__hypot" = xyes; then :
42571 cat >>confdefs.h <<_ACEOF
42572 #define HAVE__HYPOT 1
42573 _ACEOF
42574
42575 fi
42576 done
42577
42578 fi
42579 fi
42580
42581
42582
42583
42584
42585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42586 $as_echo_n "checking for float trig functions... " >&6; }
42587 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42588 $as_echo_n "(cached) " >&6
42589 else
42590
42591
42592 ac_ext=cpp
42593 ac_cpp='$CXXCPP $CPPFLAGS'
42594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42597
42598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42599 /* end confdefs.h. */
42600 #include <math.h>
42601 int
42602 main ()
42603 {
42604 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42605 ;
42606 return 0;
42607 }
42608 _ACEOF
42609 if ac_fn_cxx_try_compile "$LINENO"; then :
42610 glibcxx_cv_func_float_trig_use=yes
42611 else
42612 glibcxx_cv_func_float_trig_use=no
42613 fi
42614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42615 ac_ext=c
42616 ac_cpp='$CPP $CPPFLAGS'
42617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42620
42621 fi
42622
42623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42624 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42625 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42626 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42627 do :
42628 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42629 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42630 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42631 cat >>confdefs.h <<_ACEOF
42632 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42633 _ACEOF
42634
42635 fi
42636 done
42637
42638 else
42639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42640 $as_echo_n "checking for _float trig functions... " >&6; }
42641 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42642 $as_echo_n "(cached) " >&6
42643 else
42644
42645
42646 ac_ext=cpp
42647 ac_cpp='$CXXCPP $CPPFLAGS'
42648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42651
42652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42653 /* end confdefs.h. */
42654 #include <math.h>
42655 int
42656 main ()
42657 {
42658 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42659 ;
42660 return 0;
42661 }
42662 _ACEOF
42663 if ac_fn_cxx_try_compile "$LINENO"; then :
42664 glibcxx_cv_func__float_trig_use=yes
42665 else
42666 glibcxx_cv_func__float_trig_use=no
42667 fi
42668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42669 ac_ext=c
42670 ac_cpp='$CPP $CPPFLAGS'
42671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42674
42675 fi
42676
42677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42678 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42679 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42680 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42681 do :
42682 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42683 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42684 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42685 cat >>confdefs.h <<_ACEOF
42686 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42687 _ACEOF
42688
42689 fi
42690 done
42691
42692 fi
42693 fi
42694
42695
42696
42697
42698
42699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42700 $as_echo_n "checking for float round functions... " >&6; }
42701 if ${glibcxx_cv_func_float_round_use+:} false; then :
42702 $as_echo_n "(cached) " >&6
42703 else
42704
42705
42706 ac_ext=cpp
42707 ac_cpp='$CXXCPP $CPPFLAGS'
42708 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42709 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42710 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42711
42712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42713 /* end confdefs.h. */
42714 #include <math.h>
42715 int
42716 main ()
42717 {
42718 ceilf (0); floorf (0);
42719 ;
42720 return 0;
42721 }
42722 _ACEOF
42723 if ac_fn_cxx_try_compile "$LINENO"; then :
42724 glibcxx_cv_func_float_round_use=yes
42725 else
42726 glibcxx_cv_func_float_round_use=no
42727 fi
42728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42729 ac_ext=c
42730 ac_cpp='$CPP $CPPFLAGS'
42731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42734
42735 fi
42736
42737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42738 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42739 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42740 for ac_func in ceilf floorf
42741 do :
42742 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42743 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42744 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42745 cat >>confdefs.h <<_ACEOF
42746 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42747 _ACEOF
42748
42749 fi
42750 done
42751
42752 else
42753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42754 $as_echo_n "checking for _float round functions... " >&6; }
42755 if ${glibcxx_cv_func__float_round_use+:} false; then :
42756 $as_echo_n "(cached) " >&6
42757 else
42758
42759
42760 ac_ext=cpp
42761 ac_cpp='$CXXCPP $CPPFLAGS'
42762 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42763 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42765
42766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42767 /* end confdefs.h. */
42768 #include <math.h>
42769 int
42770 main ()
42771 {
42772 _ceilf (0); _floorf (0);
42773 ;
42774 return 0;
42775 }
42776 _ACEOF
42777 if ac_fn_cxx_try_compile "$LINENO"; then :
42778 glibcxx_cv_func__float_round_use=yes
42779 else
42780 glibcxx_cv_func__float_round_use=no
42781 fi
42782 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42783 ac_ext=c
42784 ac_cpp='$CPP $CPPFLAGS'
42785 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42786 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42787 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42788
42789 fi
42790
42791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42792 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42793 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42794 for ac_func in _ceilf _floorf
42795 do :
42796 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42797 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42798 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42799 cat >>confdefs.h <<_ACEOF
42800 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42801 _ACEOF
42802
42803 fi
42804 done
42805
42806 fi
42807 fi
42808
42809
42810
42811
42812
42813
42814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42815 $as_echo_n "checking for expf declaration... " >&6; }
42816 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42817 if ${glibcxx_cv_func_expf_use+:} false; then :
42818 $as_echo_n "(cached) " >&6
42819 else
42820
42821
42822 ac_ext=cpp
42823 ac_cpp='$CXXCPP $CPPFLAGS'
42824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42827
42828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42829 /* end confdefs.h. */
42830 #include <math.h>
42831 #ifdef HAVE_IEEEFP_H
42832 #include <ieeefp.h>
42833 #endif
42834
42835 int
42836 main ()
42837 {
42838 expf(0);
42839 ;
42840 return 0;
42841 }
42842 _ACEOF
42843 if ac_fn_cxx_try_compile "$LINENO"; then :
42844 glibcxx_cv_func_expf_use=yes
42845 else
42846 glibcxx_cv_func_expf_use=no
42847 fi
42848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42849 ac_ext=c
42850 ac_cpp='$CPP $CPPFLAGS'
42851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42854
42855
42856 fi
42857
42858 fi
42859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42860 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42861
42862 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42863 for ac_func in expf
42864 do :
42865 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42866 if test "x$ac_cv_func_expf" = xyes; then :
42867 cat >>confdefs.h <<_ACEOF
42868 #define HAVE_EXPF 1
42869 _ACEOF
42870
42871 fi
42872 done
42873
42874 else
42875
42876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42877 $as_echo_n "checking for _expf declaration... " >&6; }
42878 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42879 if ${glibcxx_cv_func__expf_use+:} false; then :
42880 $as_echo_n "(cached) " >&6
42881 else
42882
42883
42884 ac_ext=cpp
42885 ac_cpp='$CXXCPP $CPPFLAGS'
42886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42889
42890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42891 /* end confdefs.h. */
42892 #include <math.h>
42893 #ifdef HAVE_IEEEFP_H
42894 #include <ieeefp.h>
42895 #endif
42896
42897 int
42898 main ()
42899 {
42900 _expf(0);
42901 ;
42902 return 0;
42903 }
42904 _ACEOF
42905 if ac_fn_cxx_try_compile "$LINENO"; then :
42906 glibcxx_cv_func__expf_use=yes
42907 else
42908 glibcxx_cv_func__expf_use=no
42909 fi
42910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42911 ac_ext=c
42912 ac_cpp='$CPP $CPPFLAGS'
42913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42916
42917
42918 fi
42919
42920 fi
42921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42922 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42923
42924 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42925 for ac_func in _expf
42926 do :
42927 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42928 if test "x$ac_cv_func__expf" = xyes; then :
42929 cat >>confdefs.h <<_ACEOF
42930 #define HAVE__EXPF 1
42931 _ACEOF
42932
42933 fi
42934 done
42935
42936 fi
42937 fi
42938
42939
42940
42941
42942
42943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42944 $as_echo_n "checking for isnanf declaration... " >&6; }
42945 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42946 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42947 $as_echo_n "(cached) " >&6
42948 else
42949
42950
42951 ac_ext=cpp
42952 ac_cpp='$CXXCPP $CPPFLAGS'
42953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42956
42957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42958 /* end confdefs.h. */
42959 #include <math.h>
42960 #ifdef HAVE_IEEEFP_H
42961 #include <ieeefp.h>
42962 #endif
42963
42964 int
42965 main ()
42966 {
42967 isnanf(0);
42968 ;
42969 return 0;
42970 }
42971 _ACEOF
42972 if ac_fn_cxx_try_compile "$LINENO"; then :
42973 glibcxx_cv_func_isnanf_use=yes
42974 else
42975 glibcxx_cv_func_isnanf_use=no
42976 fi
42977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42978 ac_ext=c
42979 ac_cpp='$CPP $CPPFLAGS'
42980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42983
42984
42985 fi
42986
42987 fi
42988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42989 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42990
42991 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42992 for ac_func in isnanf
42993 do :
42994 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42995 if test "x$ac_cv_func_isnanf" = xyes; then :
42996 cat >>confdefs.h <<_ACEOF
42997 #define HAVE_ISNANF 1
42998 _ACEOF
42999
43000 fi
43001 done
43002
43003 else
43004
43005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
43006 $as_echo_n "checking for _isnanf declaration... " >&6; }
43007 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
43008 if ${glibcxx_cv_func__isnanf_use+:} false; then :
43009 $as_echo_n "(cached) " >&6
43010 else
43011
43012
43013 ac_ext=cpp
43014 ac_cpp='$CXXCPP $CPPFLAGS'
43015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43018
43019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43020 /* end confdefs.h. */
43021 #include <math.h>
43022 #ifdef HAVE_IEEEFP_H
43023 #include <ieeefp.h>
43024 #endif
43025
43026 int
43027 main ()
43028 {
43029 _isnanf(0);
43030 ;
43031 return 0;
43032 }
43033 _ACEOF
43034 if ac_fn_cxx_try_compile "$LINENO"; then :
43035 glibcxx_cv_func__isnanf_use=yes
43036 else
43037 glibcxx_cv_func__isnanf_use=no
43038 fi
43039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43040 ac_ext=c
43041 ac_cpp='$CPP $CPPFLAGS'
43042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43045
43046
43047 fi
43048
43049 fi
43050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
43051 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
43052
43053 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
43054 for ac_func in _isnanf
43055 do :
43056 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
43057 if test "x$ac_cv_func__isnanf" = xyes; then :
43058 cat >>confdefs.h <<_ACEOF
43059 #define HAVE__ISNANF 1
43060 _ACEOF
43061
43062 fi
43063 done
43064
43065 fi
43066 fi
43067
43068
43069
43070
43071
43072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
43073 $as_echo_n "checking for isinff declaration... " >&6; }
43074 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
43075 if ${glibcxx_cv_func_isinff_use+:} false; then :
43076 $as_echo_n "(cached) " >&6
43077 else
43078
43079
43080 ac_ext=cpp
43081 ac_cpp='$CXXCPP $CPPFLAGS'
43082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43085
43086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43087 /* end confdefs.h. */
43088 #include <math.h>
43089 #ifdef HAVE_IEEEFP_H
43090 #include <ieeefp.h>
43091 #endif
43092
43093 int
43094 main ()
43095 {
43096 isinff(0);
43097 ;
43098 return 0;
43099 }
43100 _ACEOF
43101 if ac_fn_cxx_try_compile "$LINENO"; then :
43102 glibcxx_cv_func_isinff_use=yes
43103 else
43104 glibcxx_cv_func_isinff_use=no
43105 fi
43106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43107 ac_ext=c
43108 ac_cpp='$CPP $CPPFLAGS'
43109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43112
43113
43114 fi
43115
43116 fi
43117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
43118 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
43119
43120 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
43121 for ac_func in isinff
43122 do :
43123 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
43124 if test "x$ac_cv_func_isinff" = xyes; then :
43125 cat >>confdefs.h <<_ACEOF
43126 #define HAVE_ISINFF 1
43127 _ACEOF
43128
43129 fi
43130 done
43131
43132 else
43133
43134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
43135 $as_echo_n "checking for _isinff declaration... " >&6; }
43136 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
43137 if ${glibcxx_cv_func__isinff_use+:} false; then :
43138 $as_echo_n "(cached) " >&6
43139 else
43140
43141
43142 ac_ext=cpp
43143 ac_cpp='$CXXCPP $CPPFLAGS'
43144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43147
43148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43149 /* end confdefs.h. */
43150 #include <math.h>
43151 #ifdef HAVE_IEEEFP_H
43152 #include <ieeefp.h>
43153 #endif
43154
43155 int
43156 main ()
43157 {
43158 _isinff(0);
43159 ;
43160 return 0;
43161 }
43162 _ACEOF
43163 if ac_fn_cxx_try_compile "$LINENO"; then :
43164 glibcxx_cv_func__isinff_use=yes
43165 else
43166 glibcxx_cv_func__isinff_use=no
43167 fi
43168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43169 ac_ext=c
43170 ac_cpp='$CPP $CPPFLAGS'
43171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43174
43175
43176 fi
43177
43178 fi
43179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
43180 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
43181
43182 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
43183 for ac_func in _isinff
43184 do :
43185 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
43186 if test "x$ac_cv_func__isinff" = xyes; then :
43187 cat >>confdefs.h <<_ACEOF
43188 #define HAVE__ISINFF 1
43189 _ACEOF
43190
43191 fi
43192 done
43193
43194 fi
43195 fi
43196
43197
43198
43199
43200
43201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
43202 $as_echo_n "checking for atan2f declaration... " >&6; }
43203 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
43204 if ${glibcxx_cv_func_atan2f_use+:} false; then :
43205 $as_echo_n "(cached) " >&6
43206 else
43207
43208
43209 ac_ext=cpp
43210 ac_cpp='$CXXCPP $CPPFLAGS'
43211 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43212 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43213 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43214
43215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43216 /* end confdefs.h. */
43217 #include <math.h>
43218 int
43219 main ()
43220 {
43221 atan2f(0, 0);
43222 ;
43223 return 0;
43224 }
43225 _ACEOF
43226 if ac_fn_cxx_try_compile "$LINENO"; then :
43227 glibcxx_cv_func_atan2f_use=yes
43228 else
43229 glibcxx_cv_func_atan2f_use=no
43230 fi
43231 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43232 ac_ext=c
43233 ac_cpp='$CPP $CPPFLAGS'
43234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43237
43238
43239 fi
43240
43241 fi
43242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
43243 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
43244
43245 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
43246 for ac_func in atan2f
43247 do :
43248 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
43249 if test "x$ac_cv_func_atan2f" = xyes; then :
43250 cat >>confdefs.h <<_ACEOF
43251 #define HAVE_ATAN2F 1
43252 _ACEOF
43253
43254 fi
43255 done
43256
43257 else
43258
43259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
43260 $as_echo_n "checking for _atan2f declaration... " >&6; }
43261 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
43262 if ${glibcxx_cv_func__atan2f_use+:} false; then :
43263 $as_echo_n "(cached) " >&6
43264 else
43265
43266
43267 ac_ext=cpp
43268 ac_cpp='$CXXCPP $CPPFLAGS'
43269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43272
43273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43274 /* end confdefs.h. */
43275 #include <math.h>
43276 int
43277 main ()
43278 {
43279 _atan2f(0, 0);
43280 ;
43281 return 0;
43282 }
43283 _ACEOF
43284 if ac_fn_cxx_try_compile "$LINENO"; then :
43285 glibcxx_cv_func__atan2f_use=yes
43286 else
43287 glibcxx_cv_func__atan2f_use=no
43288 fi
43289 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43290 ac_ext=c
43291 ac_cpp='$CPP $CPPFLAGS'
43292 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43293 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43294 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43295
43296
43297 fi
43298
43299 fi
43300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
43301 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
43302
43303 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
43304 for ac_func in _atan2f
43305 do :
43306 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
43307 if test "x$ac_cv_func__atan2f" = xyes; then :
43308 cat >>confdefs.h <<_ACEOF
43309 #define HAVE__ATAN2F 1
43310 _ACEOF
43311
43312 fi
43313 done
43314
43315 fi
43316 fi
43317
43318
43319
43320
43321
43322 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43323 $as_echo_n "checking for fabsf declaration... " >&6; }
43324 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43325 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43326 $as_echo_n "(cached) " >&6
43327 else
43328
43329
43330 ac_ext=cpp
43331 ac_cpp='$CXXCPP $CPPFLAGS'
43332 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43333 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43334 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43335
43336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43337 /* end confdefs.h. */
43338 #include <math.h>
43339 #ifdef HAVE_IEEEFP_H
43340 #include <ieeefp.h>
43341 #endif
43342
43343 int
43344 main ()
43345 {
43346 fabsf(0);
43347 ;
43348 return 0;
43349 }
43350 _ACEOF
43351 if ac_fn_cxx_try_compile "$LINENO"; then :
43352 glibcxx_cv_func_fabsf_use=yes
43353 else
43354 glibcxx_cv_func_fabsf_use=no
43355 fi
43356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43357 ac_ext=c
43358 ac_cpp='$CPP $CPPFLAGS'
43359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43362
43363
43364 fi
43365
43366 fi
43367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43368 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43369
43370 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43371 for ac_func in fabsf
43372 do :
43373 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43374 if test "x$ac_cv_func_fabsf" = xyes; then :
43375 cat >>confdefs.h <<_ACEOF
43376 #define HAVE_FABSF 1
43377 _ACEOF
43378
43379 fi
43380 done
43381
43382 else
43383
43384 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43385 $as_echo_n "checking for _fabsf declaration... " >&6; }
43386 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43387 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43388 $as_echo_n "(cached) " >&6
43389 else
43390
43391
43392 ac_ext=cpp
43393 ac_cpp='$CXXCPP $CPPFLAGS'
43394 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43395 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43396 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43397
43398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43399 /* end confdefs.h. */
43400 #include <math.h>
43401 #ifdef HAVE_IEEEFP_H
43402 #include <ieeefp.h>
43403 #endif
43404
43405 int
43406 main ()
43407 {
43408 _fabsf(0);
43409 ;
43410 return 0;
43411 }
43412 _ACEOF
43413 if ac_fn_cxx_try_compile "$LINENO"; then :
43414 glibcxx_cv_func__fabsf_use=yes
43415 else
43416 glibcxx_cv_func__fabsf_use=no
43417 fi
43418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43419 ac_ext=c
43420 ac_cpp='$CPP $CPPFLAGS'
43421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43424
43425
43426 fi
43427
43428 fi
43429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43430 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43431
43432 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43433 for ac_func in _fabsf
43434 do :
43435 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43436 if test "x$ac_cv_func__fabsf" = xyes; then :
43437 cat >>confdefs.h <<_ACEOF
43438 #define HAVE__FABSF 1
43439 _ACEOF
43440
43441 fi
43442 done
43443
43444 fi
43445 fi
43446
43447
43448
43449
43450
43451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43452 $as_echo_n "checking for fmodf declaration... " >&6; }
43453 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43454 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43455 $as_echo_n "(cached) " >&6
43456 else
43457
43458
43459 ac_ext=cpp
43460 ac_cpp='$CXXCPP $CPPFLAGS'
43461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43464
43465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43466 /* end confdefs.h. */
43467 #include <math.h>
43468 int
43469 main ()
43470 {
43471 fmodf(0, 0);
43472 ;
43473 return 0;
43474 }
43475 _ACEOF
43476 if ac_fn_cxx_try_compile "$LINENO"; then :
43477 glibcxx_cv_func_fmodf_use=yes
43478 else
43479 glibcxx_cv_func_fmodf_use=no
43480 fi
43481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43482 ac_ext=c
43483 ac_cpp='$CPP $CPPFLAGS'
43484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43487
43488
43489 fi
43490
43491 fi
43492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43493 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43494
43495 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43496 for ac_func in fmodf
43497 do :
43498 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43499 if test "x$ac_cv_func_fmodf" = xyes; then :
43500 cat >>confdefs.h <<_ACEOF
43501 #define HAVE_FMODF 1
43502 _ACEOF
43503
43504 fi
43505 done
43506
43507 else
43508
43509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43510 $as_echo_n "checking for _fmodf declaration... " >&6; }
43511 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43512 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43513 $as_echo_n "(cached) " >&6
43514 else
43515
43516
43517 ac_ext=cpp
43518 ac_cpp='$CXXCPP $CPPFLAGS'
43519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43522
43523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43524 /* end confdefs.h. */
43525 #include <math.h>
43526 int
43527 main ()
43528 {
43529 _fmodf(0, 0);
43530 ;
43531 return 0;
43532 }
43533 _ACEOF
43534 if ac_fn_cxx_try_compile "$LINENO"; then :
43535 glibcxx_cv_func__fmodf_use=yes
43536 else
43537 glibcxx_cv_func__fmodf_use=no
43538 fi
43539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43540 ac_ext=c
43541 ac_cpp='$CPP $CPPFLAGS'
43542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43545
43546
43547 fi
43548
43549 fi
43550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43551 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43552
43553 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43554 for ac_func in _fmodf
43555 do :
43556 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43557 if test "x$ac_cv_func__fmodf" = xyes; then :
43558 cat >>confdefs.h <<_ACEOF
43559 #define HAVE__FMODF 1
43560 _ACEOF
43561
43562 fi
43563 done
43564
43565 fi
43566 fi
43567
43568
43569
43570
43571
43572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43573 $as_echo_n "checking for frexpf declaration... " >&6; }
43574 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43575 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43576 $as_echo_n "(cached) " >&6
43577 else
43578
43579
43580 ac_ext=cpp
43581 ac_cpp='$CXXCPP $CPPFLAGS'
43582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43585
43586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43587 /* end confdefs.h. */
43588 #include <math.h>
43589 int
43590 main ()
43591 {
43592 frexpf(0, 0);
43593 ;
43594 return 0;
43595 }
43596 _ACEOF
43597 if ac_fn_cxx_try_compile "$LINENO"; then :
43598 glibcxx_cv_func_frexpf_use=yes
43599 else
43600 glibcxx_cv_func_frexpf_use=no
43601 fi
43602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43603 ac_ext=c
43604 ac_cpp='$CPP $CPPFLAGS'
43605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43608
43609
43610 fi
43611
43612 fi
43613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43614 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43615
43616 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43617 for ac_func in frexpf
43618 do :
43619 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43620 if test "x$ac_cv_func_frexpf" = xyes; then :
43621 cat >>confdefs.h <<_ACEOF
43622 #define HAVE_FREXPF 1
43623 _ACEOF
43624
43625 fi
43626 done
43627
43628 else
43629
43630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43631 $as_echo_n "checking for _frexpf declaration... " >&6; }
43632 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43633 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43634 $as_echo_n "(cached) " >&6
43635 else
43636
43637
43638 ac_ext=cpp
43639 ac_cpp='$CXXCPP $CPPFLAGS'
43640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43643
43644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43645 /* end confdefs.h. */
43646 #include <math.h>
43647 int
43648 main ()
43649 {
43650 _frexpf(0, 0);
43651 ;
43652 return 0;
43653 }
43654 _ACEOF
43655 if ac_fn_cxx_try_compile "$LINENO"; then :
43656 glibcxx_cv_func__frexpf_use=yes
43657 else
43658 glibcxx_cv_func__frexpf_use=no
43659 fi
43660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43661 ac_ext=c
43662 ac_cpp='$CPP $CPPFLAGS'
43663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43666
43667
43668 fi
43669
43670 fi
43671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43672 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43673
43674 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43675 for ac_func in _frexpf
43676 do :
43677 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43678 if test "x$ac_cv_func__frexpf" = xyes; then :
43679 cat >>confdefs.h <<_ACEOF
43680 #define HAVE__FREXPF 1
43681 _ACEOF
43682
43683 fi
43684 done
43685
43686 fi
43687 fi
43688
43689
43690
43691
43692
43693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43694 $as_echo_n "checking for hypotf declaration... " >&6; }
43695 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43696 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43697 $as_echo_n "(cached) " >&6
43698 else
43699
43700
43701 ac_ext=cpp
43702 ac_cpp='$CXXCPP $CPPFLAGS'
43703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43706
43707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43708 /* end confdefs.h. */
43709 #include <math.h>
43710 int
43711 main ()
43712 {
43713 hypotf(0, 0);
43714 ;
43715 return 0;
43716 }
43717 _ACEOF
43718 if ac_fn_cxx_try_compile "$LINENO"; then :
43719 glibcxx_cv_func_hypotf_use=yes
43720 else
43721 glibcxx_cv_func_hypotf_use=no
43722 fi
43723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43724 ac_ext=c
43725 ac_cpp='$CPP $CPPFLAGS'
43726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43729
43730
43731 fi
43732
43733 fi
43734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43735 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43736
43737 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43738 for ac_func in hypotf
43739 do :
43740 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43741 if test "x$ac_cv_func_hypotf" = xyes; then :
43742 cat >>confdefs.h <<_ACEOF
43743 #define HAVE_HYPOTF 1
43744 _ACEOF
43745
43746 fi
43747 done
43748
43749 else
43750
43751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43752 $as_echo_n "checking for _hypotf declaration... " >&6; }
43753 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43754 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43755 $as_echo_n "(cached) " >&6
43756 else
43757
43758
43759 ac_ext=cpp
43760 ac_cpp='$CXXCPP $CPPFLAGS'
43761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43764
43765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43766 /* end confdefs.h. */
43767 #include <math.h>
43768 int
43769 main ()
43770 {
43771 _hypotf(0, 0);
43772 ;
43773 return 0;
43774 }
43775 _ACEOF
43776 if ac_fn_cxx_try_compile "$LINENO"; then :
43777 glibcxx_cv_func__hypotf_use=yes
43778 else
43779 glibcxx_cv_func__hypotf_use=no
43780 fi
43781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43782 ac_ext=c
43783 ac_cpp='$CPP $CPPFLAGS'
43784 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43785 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43786 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43787
43788
43789 fi
43790
43791 fi
43792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43793 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43794
43795 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43796 for ac_func in _hypotf
43797 do :
43798 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43799 if test "x$ac_cv_func__hypotf" = xyes; then :
43800 cat >>confdefs.h <<_ACEOF
43801 #define HAVE__HYPOTF 1
43802 _ACEOF
43803
43804 fi
43805 done
43806
43807 fi
43808 fi
43809
43810
43811
43812
43813
43814 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43815 $as_echo_n "checking for ldexpf declaration... " >&6; }
43816 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43817 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43818 $as_echo_n "(cached) " >&6
43819 else
43820
43821
43822 ac_ext=cpp
43823 ac_cpp='$CXXCPP $CPPFLAGS'
43824 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43825 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43826 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43827
43828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43829 /* end confdefs.h. */
43830 #include <math.h>
43831 int
43832 main ()
43833 {
43834 ldexpf(0, 0);
43835 ;
43836 return 0;
43837 }
43838 _ACEOF
43839 if ac_fn_cxx_try_compile "$LINENO"; then :
43840 glibcxx_cv_func_ldexpf_use=yes
43841 else
43842 glibcxx_cv_func_ldexpf_use=no
43843 fi
43844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43845 ac_ext=c
43846 ac_cpp='$CPP $CPPFLAGS'
43847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43850
43851
43852 fi
43853
43854 fi
43855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43856 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43857
43858 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43859 for ac_func in ldexpf
43860 do :
43861 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43862 if test "x$ac_cv_func_ldexpf" = xyes; then :
43863 cat >>confdefs.h <<_ACEOF
43864 #define HAVE_LDEXPF 1
43865 _ACEOF
43866
43867 fi
43868 done
43869
43870 else
43871
43872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43873 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43874 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43875 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43876 $as_echo_n "(cached) " >&6
43877 else
43878
43879
43880 ac_ext=cpp
43881 ac_cpp='$CXXCPP $CPPFLAGS'
43882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43885
43886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43887 /* end confdefs.h. */
43888 #include <math.h>
43889 int
43890 main ()
43891 {
43892 _ldexpf(0, 0);
43893 ;
43894 return 0;
43895 }
43896 _ACEOF
43897 if ac_fn_cxx_try_compile "$LINENO"; then :
43898 glibcxx_cv_func__ldexpf_use=yes
43899 else
43900 glibcxx_cv_func__ldexpf_use=no
43901 fi
43902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43903 ac_ext=c
43904 ac_cpp='$CPP $CPPFLAGS'
43905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43908
43909
43910 fi
43911
43912 fi
43913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43914 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43915
43916 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43917 for ac_func in _ldexpf
43918 do :
43919 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43920 if test "x$ac_cv_func__ldexpf" = xyes; then :
43921 cat >>confdefs.h <<_ACEOF
43922 #define HAVE__LDEXPF 1
43923 _ACEOF
43924
43925 fi
43926 done
43927
43928 fi
43929 fi
43930
43931
43932
43933
43934
43935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43936 $as_echo_n "checking for logf declaration... " >&6; }
43937 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43938 if ${glibcxx_cv_func_logf_use+:} false; then :
43939 $as_echo_n "(cached) " >&6
43940 else
43941
43942
43943 ac_ext=cpp
43944 ac_cpp='$CXXCPP $CPPFLAGS'
43945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43948
43949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43950 /* end confdefs.h. */
43951 #include <math.h>
43952 #ifdef HAVE_IEEEFP_H
43953 #include <ieeefp.h>
43954 #endif
43955
43956 int
43957 main ()
43958 {
43959 logf(0);
43960 ;
43961 return 0;
43962 }
43963 _ACEOF
43964 if ac_fn_cxx_try_compile "$LINENO"; then :
43965 glibcxx_cv_func_logf_use=yes
43966 else
43967 glibcxx_cv_func_logf_use=no
43968 fi
43969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43970 ac_ext=c
43971 ac_cpp='$CPP $CPPFLAGS'
43972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43975
43976
43977 fi
43978
43979 fi
43980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43981 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43982
43983 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43984 for ac_func in logf
43985 do :
43986 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43987 if test "x$ac_cv_func_logf" = xyes; then :
43988 cat >>confdefs.h <<_ACEOF
43989 #define HAVE_LOGF 1
43990 _ACEOF
43991
43992 fi
43993 done
43994
43995 else
43996
43997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43998 $as_echo_n "checking for _logf declaration... " >&6; }
43999 if test x${glibcxx_cv_func__logf_use+set} != xset; then
44000 if ${glibcxx_cv_func__logf_use+:} false; then :
44001 $as_echo_n "(cached) " >&6
44002 else
44003
44004
44005 ac_ext=cpp
44006 ac_cpp='$CXXCPP $CPPFLAGS'
44007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44010
44011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44012 /* end confdefs.h. */
44013 #include <math.h>
44014 #ifdef HAVE_IEEEFP_H
44015 #include <ieeefp.h>
44016 #endif
44017
44018 int
44019 main ()
44020 {
44021 _logf(0);
44022 ;
44023 return 0;
44024 }
44025 _ACEOF
44026 if ac_fn_cxx_try_compile "$LINENO"; then :
44027 glibcxx_cv_func__logf_use=yes
44028 else
44029 glibcxx_cv_func__logf_use=no
44030 fi
44031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44032 ac_ext=c
44033 ac_cpp='$CPP $CPPFLAGS'
44034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44037
44038
44039 fi
44040
44041 fi
44042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
44043 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
44044
44045 if test x$glibcxx_cv_func__logf_use = x"yes"; then
44046 for ac_func in _logf
44047 do :
44048 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
44049 if test "x$ac_cv_func__logf" = xyes; then :
44050 cat >>confdefs.h <<_ACEOF
44051 #define HAVE__LOGF 1
44052 _ACEOF
44053
44054 fi
44055 done
44056
44057 fi
44058 fi
44059
44060
44061
44062
44063
44064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
44065 $as_echo_n "checking for log10f declaration... " >&6; }
44066 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
44067 if ${glibcxx_cv_func_log10f_use+:} false; then :
44068 $as_echo_n "(cached) " >&6
44069 else
44070
44071
44072 ac_ext=cpp
44073 ac_cpp='$CXXCPP $CPPFLAGS'
44074 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44075 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44076 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44077
44078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44079 /* end confdefs.h. */
44080 #include <math.h>
44081 #ifdef HAVE_IEEEFP_H
44082 #include <ieeefp.h>
44083 #endif
44084
44085 int
44086 main ()
44087 {
44088 log10f(0);
44089 ;
44090 return 0;
44091 }
44092 _ACEOF
44093 if ac_fn_cxx_try_compile "$LINENO"; then :
44094 glibcxx_cv_func_log10f_use=yes
44095 else
44096 glibcxx_cv_func_log10f_use=no
44097 fi
44098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44099 ac_ext=c
44100 ac_cpp='$CPP $CPPFLAGS'
44101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44104
44105
44106 fi
44107
44108 fi
44109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
44110 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
44111
44112 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
44113 for ac_func in log10f
44114 do :
44115 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
44116 if test "x$ac_cv_func_log10f" = xyes; then :
44117 cat >>confdefs.h <<_ACEOF
44118 #define HAVE_LOG10F 1
44119 _ACEOF
44120
44121 fi
44122 done
44123
44124 else
44125
44126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
44127 $as_echo_n "checking for _log10f declaration... " >&6; }
44128 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
44129 if ${glibcxx_cv_func__log10f_use+:} false; then :
44130 $as_echo_n "(cached) " >&6
44131 else
44132
44133
44134 ac_ext=cpp
44135 ac_cpp='$CXXCPP $CPPFLAGS'
44136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44139
44140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44141 /* end confdefs.h. */
44142 #include <math.h>
44143 #ifdef HAVE_IEEEFP_H
44144 #include <ieeefp.h>
44145 #endif
44146
44147 int
44148 main ()
44149 {
44150 _log10f(0);
44151 ;
44152 return 0;
44153 }
44154 _ACEOF
44155 if ac_fn_cxx_try_compile "$LINENO"; then :
44156 glibcxx_cv_func__log10f_use=yes
44157 else
44158 glibcxx_cv_func__log10f_use=no
44159 fi
44160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44161 ac_ext=c
44162 ac_cpp='$CPP $CPPFLAGS'
44163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44166
44167
44168 fi
44169
44170 fi
44171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
44172 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
44173
44174 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
44175 for ac_func in _log10f
44176 do :
44177 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
44178 if test "x$ac_cv_func__log10f" = xyes; then :
44179 cat >>confdefs.h <<_ACEOF
44180 #define HAVE__LOG10F 1
44181 _ACEOF
44182
44183 fi
44184 done
44185
44186 fi
44187 fi
44188
44189
44190
44191
44192
44193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
44194 $as_echo_n "checking for modff declaration... " >&6; }
44195 if test x${glibcxx_cv_func_modff_use+set} != xset; then
44196 if ${glibcxx_cv_func_modff_use+:} false; then :
44197 $as_echo_n "(cached) " >&6
44198 else
44199
44200
44201 ac_ext=cpp
44202 ac_cpp='$CXXCPP $CPPFLAGS'
44203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44206
44207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44208 /* end confdefs.h. */
44209 #include <math.h>
44210 int
44211 main ()
44212 {
44213 modff(0, 0);
44214 ;
44215 return 0;
44216 }
44217 _ACEOF
44218 if ac_fn_cxx_try_compile "$LINENO"; then :
44219 glibcxx_cv_func_modff_use=yes
44220 else
44221 glibcxx_cv_func_modff_use=no
44222 fi
44223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44224 ac_ext=c
44225 ac_cpp='$CPP $CPPFLAGS'
44226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44229
44230
44231 fi
44232
44233 fi
44234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
44235 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
44236
44237 if test x$glibcxx_cv_func_modff_use = x"yes"; then
44238 for ac_func in modff
44239 do :
44240 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
44241 if test "x$ac_cv_func_modff" = xyes; then :
44242 cat >>confdefs.h <<_ACEOF
44243 #define HAVE_MODFF 1
44244 _ACEOF
44245
44246 fi
44247 done
44248
44249 else
44250
44251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
44252 $as_echo_n "checking for _modff declaration... " >&6; }
44253 if test x${glibcxx_cv_func__modff_use+set} != xset; then
44254 if ${glibcxx_cv_func__modff_use+:} false; then :
44255 $as_echo_n "(cached) " >&6
44256 else
44257
44258
44259 ac_ext=cpp
44260 ac_cpp='$CXXCPP $CPPFLAGS'
44261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44264
44265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44266 /* end confdefs.h. */
44267 #include <math.h>
44268 int
44269 main ()
44270 {
44271 _modff(0, 0);
44272 ;
44273 return 0;
44274 }
44275 _ACEOF
44276 if ac_fn_cxx_try_compile "$LINENO"; then :
44277 glibcxx_cv_func__modff_use=yes
44278 else
44279 glibcxx_cv_func__modff_use=no
44280 fi
44281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44282 ac_ext=c
44283 ac_cpp='$CPP $CPPFLAGS'
44284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44287
44288
44289 fi
44290
44291 fi
44292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
44293 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
44294
44295 if test x$glibcxx_cv_func__modff_use = x"yes"; then
44296 for ac_func in _modff
44297 do :
44298 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
44299 if test "x$ac_cv_func__modff" = xyes; then :
44300 cat >>confdefs.h <<_ACEOF
44301 #define HAVE__MODFF 1
44302 _ACEOF
44303
44304 fi
44305 done
44306
44307 fi
44308 fi
44309
44310
44311
44312
44313
44314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
44315 $as_echo_n "checking for modf declaration... " >&6; }
44316 if test x${glibcxx_cv_func_modf_use+set} != xset; then
44317 if ${glibcxx_cv_func_modf_use+:} false; then :
44318 $as_echo_n "(cached) " >&6
44319 else
44320
44321
44322 ac_ext=cpp
44323 ac_cpp='$CXXCPP $CPPFLAGS'
44324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44327
44328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44329 /* end confdefs.h. */
44330 #include <math.h>
44331 int
44332 main ()
44333 {
44334 modf(0, 0);
44335 ;
44336 return 0;
44337 }
44338 _ACEOF
44339 if ac_fn_cxx_try_compile "$LINENO"; then :
44340 glibcxx_cv_func_modf_use=yes
44341 else
44342 glibcxx_cv_func_modf_use=no
44343 fi
44344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44345 ac_ext=c
44346 ac_cpp='$CPP $CPPFLAGS'
44347 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44348 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44349 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44350
44351
44352 fi
44353
44354 fi
44355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44356 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44357
44358 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44359 for ac_func in modf
44360 do :
44361 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44362 if test "x$ac_cv_func_modf" = xyes; then :
44363 cat >>confdefs.h <<_ACEOF
44364 #define HAVE_MODF 1
44365 _ACEOF
44366
44367 fi
44368 done
44369
44370 else
44371
44372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44373 $as_echo_n "checking for _modf declaration... " >&6; }
44374 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44375 if ${glibcxx_cv_func__modf_use+:} false; then :
44376 $as_echo_n "(cached) " >&6
44377 else
44378
44379
44380 ac_ext=cpp
44381 ac_cpp='$CXXCPP $CPPFLAGS'
44382 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44383 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44384 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44385
44386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44387 /* end confdefs.h. */
44388 #include <math.h>
44389 int
44390 main ()
44391 {
44392 _modf(0, 0);
44393 ;
44394 return 0;
44395 }
44396 _ACEOF
44397 if ac_fn_cxx_try_compile "$LINENO"; then :
44398 glibcxx_cv_func__modf_use=yes
44399 else
44400 glibcxx_cv_func__modf_use=no
44401 fi
44402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44403 ac_ext=c
44404 ac_cpp='$CPP $CPPFLAGS'
44405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44408
44409
44410 fi
44411
44412 fi
44413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44414 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44415
44416 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44417 for ac_func in _modf
44418 do :
44419 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44420 if test "x$ac_cv_func__modf" = xyes; then :
44421 cat >>confdefs.h <<_ACEOF
44422 #define HAVE__MODF 1
44423 _ACEOF
44424
44425 fi
44426 done
44427
44428 fi
44429 fi
44430
44431
44432
44433
44434
44435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44436 $as_echo_n "checking for powf declaration... " >&6; }
44437 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44438 if ${glibcxx_cv_func_powf_use+:} false; then :
44439 $as_echo_n "(cached) " >&6
44440 else
44441
44442
44443 ac_ext=cpp
44444 ac_cpp='$CXXCPP $CPPFLAGS'
44445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44448
44449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44450 /* end confdefs.h. */
44451 #include <math.h>
44452 int
44453 main ()
44454 {
44455 powf(0, 0);
44456 ;
44457 return 0;
44458 }
44459 _ACEOF
44460 if ac_fn_cxx_try_compile "$LINENO"; then :
44461 glibcxx_cv_func_powf_use=yes
44462 else
44463 glibcxx_cv_func_powf_use=no
44464 fi
44465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44466 ac_ext=c
44467 ac_cpp='$CPP $CPPFLAGS'
44468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44471
44472
44473 fi
44474
44475 fi
44476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44477 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44478
44479 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44480 for ac_func in powf
44481 do :
44482 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44483 if test "x$ac_cv_func_powf" = xyes; then :
44484 cat >>confdefs.h <<_ACEOF
44485 #define HAVE_POWF 1
44486 _ACEOF
44487
44488 fi
44489 done
44490
44491 else
44492
44493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44494 $as_echo_n "checking for _powf declaration... " >&6; }
44495 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44496 if ${glibcxx_cv_func__powf_use+:} false; then :
44497 $as_echo_n "(cached) " >&6
44498 else
44499
44500
44501 ac_ext=cpp
44502 ac_cpp='$CXXCPP $CPPFLAGS'
44503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44506
44507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44508 /* end confdefs.h. */
44509 #include <math.h>
44510 int
44511 main ()
44512 {
44513 _powf(0, 0);
44514 ;
44515 return 0;
44516 }
44517 _ACEOF
44518 if ac_fn_cxx_try_compile "$LINENO"; then :
44519 glibcxx_cv_func__powf_use=yes
44520 else
44521 glibcxx_cv_func__powf_use=no
44522 fi
44523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44524 ac_ext=c
44525 ac_cpp='$CPP $CPPFLAGS'
44526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44529
44530
44531 fi
44532
44533 fi
44534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44535 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44536
44537 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44538 for ac_func in _powf
44539 do :
44540 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44541 if test "x$ac_cv_func__powf" = xyes; then :
44542 cat >>confdefs.h <<_ACEOF
44543 #define HAVE__POWF 1
44544 _ACEOF
44545
44546 fi
44547 done
44548
44549 fi
44550 fi
44551
44552
44553
44554
44555
44556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44557 $as_echo_n "checking for sqrtf declaration... " >&6; }
44558 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44559 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44560 $as_echo_n "(cached) " >&6
44561 else
44562
44563
44564 ac_ext=cpp
44565 ac_cpp='$CXXCPP $CPPFLAGS'
44566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44569
44570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44571 /* end confdefs.h. */
44572 #include <math.h>
44573 #ifdef HAVE_IEEEFP_H
44574 #include <ieeefp.h>
44575 #endif
44576
44577 int
44578 main ()
44579 {
44580 sqrtf(0);
44581 ;
44582 return 0;
44583 }
44584 _ACEOF
44585 if ac_fn_cxx_try_compile "$LINENO"; then :
44586 glibcxx_cv_func_sqrtf_use=yes
44587 else
44588 glibcxx_cv_func_sqrtf_use=no
44589 fi
44590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44591 ac_ext=c
44592 ac_cpp='$CPP $CPPFLAGS'
44593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44596
44597
44598 fi
44599
44600 fi
44601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44602 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44603
44604 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44605 for ac_func in sqrtf
44606 do :
44607 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44608 if test "x$ac_cv_func_sqrtf" = xyes; then :
44609 cat >>confdefs.h <<_ACEOF
44610 #define HAVE_SQRTF 1
44611 _ACEOF
44612
44613 fi
44614 done
44615
44616 else
44617
44618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44619 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44620 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44621 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44622 $as_echo_n "(cached) " >&6
44623 else
44624
44625
44626 ac_ext=cpp
44627 ac_cpp='$CXXCPP $CPPFLAGS'
44628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44631
44632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44633 /* end confdefs.h. */
44634 #include <math.h>
44635 #ifdef HAVE_IEEEFP_H
44636 #include <ieeefp.h>
44637 #endif
44638
44639 int
44640 main ()
44641 {
44642 _sqrtf(0);
44643 ;
44644 return 0;
44645 }
44646 _ACEOF
44647 if ac_fn_cxx_try_compile "$LINENO"; then :
44648 glibcxx_cv_func__sqrtf_use=yes
44649 else
44650 glibcxx_cv_func__sqrtf_use=no
44651 fi
44652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44653 ac_ext=c
44654 ac_cpp='$CPP $CPPFLAGS'
44655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44658
44659
44660 fi
44661
44662 fi
44663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44664 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44665
44666 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44667 for ac_func in _sqrtf
44668 do :
44669 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44670 if test "x$ac_cv_func__sqrtf" = xyes; then :
44671 cat >>confdefs.h <<_ACEOF
44672 #define HAVE__SQRTF 1
44673 _ACEOF
44674
44675 fi
44676 done
44677
44678 fi
44679 fi
44680
44681
44682
44683
44684
44685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44686 $as_echo_n "checking for sincosf declaration... " >&6; }
44687 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44688 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44689 $as_echo_n "(cached) " >&6
44690 else
44691
44692
44693 ac_ext=cpp
44694 ac_cpp='$CXXCPP $CPPFLAGS'
44695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44698
44699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44700 /* end confdefs.h. */
44701 #include <math.h>
44702 int
44703 main ()
44704 {
44705 sincosf(0, 0, 0);
44706 ;
44707 return 0;
44708 }
44709 _ACEOF
44710 if ac_fn_cxx_try_compile "$LINENO"; then :
44711 glibcxx_cv_func_sincosf_use=yes
44712 else
44713 glibcxx_cv_func_sincosf_use=no
44714 fi
44715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44716 ac_ext=c
44717 ac_cpp='$CPP $CPPFLAGS'
44718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44721
44722
44723 fi
44724
44725 fi
44726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44727 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44728
44729 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44730 for ac_func in sincosf
44731 do :
44732 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44733 if test "x$ac_cv_func_sincosf" = xyes; then :
44734 cat >>confdefs.h <<_ACEOF
44735 #define HAVE_SINCOSF 1
44736 _ACEOF
44737
44738 fi
44739 done
44740
44741 else
44742
44743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44744 $as_echo_n "checking for _sincosf declaration... " >&6; }
44745 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44746 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44747 $as_echo_n "(cached) " >&6
44748 else
44749
44750
44751 ac_ext=cpp
44752 ac_cpp='$CXXCPP $CPPFLAGS'
44753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44756
44757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44758 /* end confdefs.h. */
44759 #include <math.h>
44760 int
44761 main ()
44762 {
44763 _sincosf(0, 0, 0);
44764 ;
44765 return 0;
44766 }
44767 _ACEOF
44768 if ac_fn_cxx_try_compile "$LINENO"; then :
44769 glibcxx_cv_func__sincosf_use=yes
44770 else
44771 glibcxx_cv_func__sincosf_use=no
44772 fi
44773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44774 ac_ext=c
44775 ac_cpp='$CPP $CPPFLAGS'
44776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44779
44780
44781 fi
44782
44783 fi
44784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44785 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44786
44787 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44788 for ac_func in _sincosf
44789 do :
44790 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44791 if test "x$ac_cv_func__sincosf" = xyes; then :
44792 cat >>confdefs.h <<_ACEOF
44793 #define HAVE__SINCOSF 1
44794 _ACEOF
44795
44796 fi
44797 done
44798
44799 fi
44800 fi
44801
44802
44803
44804
44805
44806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44807 $as_echo_n "checking for finitef declaration... " >&6; }
44808 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44809 if ${glibcxx_cv_func_finitef_use+:} false; then :
44810 $as_echo_n "(cached) " >&6
44811 else
44812
44813
44814 ac_ext=cpp
44815 ac_cpp='$CXXCPP $CPPFLAGS'
44816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44819
44820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44821 /* end confdefs.h. */
44822 #include <math.h>
44823 #ifdef HAVE_IEEEFP_H
44824 #include <ieeefp.h>
44825 #endif
44826
44827 int
44828 main ()
44829 {
44830 finitef(0);
44831 ;
44832 return 0;
44833 }
44834 _ACEOF
44835 if ac_fn_cxx_try_compile "$LINENO"; then :
44836 glibcxx_cv_func_finitef_use=yes
44837 else
44838 glibcxx_cv_func_finitef_use=no
44839 fi
44840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44841 ac_ext=c
44842 ac_cpp='$CPP $CPPFLAGS'
44843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44846
44847
44848 fi
44849
44850 fi
44851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44852 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44853
44854 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44855 for ac_func in finitef
44856 do :
44857 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44858 if test "x$ac_cv_func_finitef" = xyes; then :
44859 cat >>confdefs.h <<_ACEOF
44860 #define HAVE_FINITEF 1
44861 _ACEOF
44862
44863 fi
44864 done
44865
44866 else
44867
44868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44869 $as_echo_n "checking for _finitef declaration... " >&6; }
44870 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44871 if ${glibcxx_cv_func__finitef_use+:} false; then :
44872 $as_echo_n "(cached) " >&6
44873 else
44874
44875
44876 ac_ext=cpp
44877 ac_cpp='$CXXCPP $CPPFLAGS'
44878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44881
44882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44883 /* end confdefs.h. */
44884 #include <math.h>
44885 #ifdef HAVE_IEEEFP_H
44886 #include <ieeefp.h>
44887 #endif
44888
44889 int
44890 main ()
44891 {
44892 _finitef(0);
44893 ;
44894 return 0;
44895 }
44896 _ACEOF
44897 if ac_fn_cxx_try_compile "$LINENO"; then :
44898 glibcxx_cv_func__finitef_use=yes
44899 else
44900 glibcxx_cv_func__finitef_use=no
44901 fi
44902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44903 ac_ext=c
44904 ac_cpp='$CPP $CPPFLAGS'
44905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44908
44909
44910 fi
44911
44912 fi
44913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44914 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44915
44916 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44917 for ac_func in _finitef
44918 do :
44919 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44920 if test "x$ac_cv_func__finitef" = xyes; then :
44921 cat >>confdefs.h <<_ACEOF
44922 #define HAVE__FINITEF 1
44923 _ACEOF
44924
44925 fi
44926 done
44927
44928 fi
44929 fi
44930
44931
44932
44933
44934
44935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44936 $as_echo_n "checking for long double trig functions... " >&6; }
44937 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44938 $as_echo_n "(cached) " >&6
44939 else
44940
44941
44942 ac_ext=cpp
44943 ac_cpp='$CXXCPP $CPPFLAGS'
44944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44947
44948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44949 /* end confdefs.h. */
44950 #include <math.h>
44951 int
44952 main ()
44953 {
44954 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44955 ;
44956 return 0;
44957 }
44958 _ACEOF
44959 if ac_fn_cxx_try_compile "$LINENO"; then :
44960 glibcxx_cv_func_long_double_trig_use=yes
44961 else
44962 glibcxx_cv_func_long_double_trig_use=no
44963 fi
44964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44965 ac_ext=c
44966 ac_cpp='$CPP $CPPFLAGS'
44967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44970
44971 fi
44972
44973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44974 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44975 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44976 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44977 do :
44978 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44979 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44980 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44981 cat >>confdefs.h <<_ACEOF
44982 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44983 _ACEOF
44984
44985 fi
44986 done
44987
44988 else
44989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44990 $as_echo_n "checking for _long double trig functions... " >&6; }
44991 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44992 $as_echo_n "(cached) " >&6
44993 else
44994
44995
44996 ac_ext=cpp
44997 ac_cpp='$CXXCPP $CPPFLAGS'
44998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45001
45002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45003 /* end confdefs.h. */
45004 #include <math.h>
45005 int
45006 main ()
45007 {
45008 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
45009 ;
45010 return 0;
45011 }
45012 _ACEOF
45013 if ac_fn_cxx_try_compile "$LINENO"; then :
45014 glibcxx_cv_func__long_double_trig_use=yes
45015 else
45016 glibcxx_cv_func__long_double_trig_use=no
45017 fi
45018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45019 ac_ext=c
45020 ac_cpp='$CPP $CPPFLAGS'
45021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45024
45025 fi
45026
45027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
45028 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
45029 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
45030 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
45031 do :
45032 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45033 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45034 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45035 cat >>confdefs.h <<_ACEOF
45036 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45037 _ACEOF
45038
45039 fi
45040 done
45041
45042 fi
45043 fi
45044
45045
45046
45047
45048
45049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
45050 $as_echo_n "checking for long double round functions... " >&6; }
45051 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
45052 $as_echo_n "(cached) " >&6
45053 else
45054
45055
45056 ac_ext=cpp
45057 ac_cpp='$CXXCPP $CPPFLAGS'
45058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45061
45062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45063 /* end confdefs.h. */
45064 #include <math.h>
45065 int
45066 main ()
45067 {
45068 ceill (0); floorl (0);
45069 ;
45070 return 0;
45071 }
45072 _ACEOF
45073 if ac_fn_cxx_try_compile "$LINENO"; then :
45074 glibcxx_cv_func_long_double_round_use=yes
45075 else
45076 glibcxx_cv_func_long_double_round_use=no
45077 fi
45078 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45079 ac_ext=c
45080 ac_cpp='$CPP $CPPFLAGS'
45081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45084
45085 fi
45086
45087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
45088 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
45089 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
45090 for ac_func in ceill floorl
45091 do :
45092 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45094 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45095 cat >>confdefs.h <<_ACEOF
45096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45097 _ACEOF
45098
45099 fi
45100 done
45101
45102 else
45103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
45104 $as_echo_n "checking for _long double round functions... " >&6; }
45105 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
45106 $as_echo_n "(cached) " >&6
45107 else
45108
45109
45110 ac_ext=cpp
45111 ac_cpp='$CXXCPP $CPPFLAGS'
45112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45115
45116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45117 /* end confdefs.h. */
45118 #include <math.h>
45119 int
45120 main ()
45121 {
45122 _ceill (0); _floorl (0);
45123 ;
45124 return 0;
45125 }
45126 _ACEOF
45127 if ac_fn_cxx_try_compile "$LINENO"; then :
45128 glibcxx_cv_func__long_double_round_use=yes
45129 else
45130 glibcxx_cv_func__long_double_round_use=no
45131 fi
45132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45133 ac_ext=c
45134 ac_cpp='$CPP $CPPFLAGS'
45135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45138
45139 fi
45140
45141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
45142 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
45143 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
45144 for ac_func in _ceill _floorl
45145 do :
45146 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
45147 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
45148 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
45149 cat >>confdefs.h <<_ACEOF
45150 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
45151 _ACEOF
45152
45153 fi
45154 done
45155
45156 fi
45157 fi
45158
45159
45160
45161
45162
45163
45164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
45165 $as_echo_n "checking for isnanl declaration... " >&6; }
45166 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
45167 if ${glibcxx_cv_func_isnanl_use+:} false; then :
45168 $as_echo_n "(cached) " >&6
45169 else
45170
45171
45172 ac_ext=cpp
45173 ac_cpp='$CXXCPP $CPPFLAGS'
45174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45177
45178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45179 /* end confdefs.h. */
45180 #include <math.h>
45181 #ifdef HAVE_IEEEFP_H
45182 #include <ieeefp.h>
45183 #endif
45184
45185 int
45186 main ()
45187 {
45188 isnanl(0);
45189 ;
45190 return 0;
45191 }
45192 _ACEOF
45193 if ac_fn_cxx_try_compile "$LINENO"; then :
45194 glibcxx_cv_func_isnanl_use=yes
45195 else
45196 glibcxx_cv_func_isnanl_use=no
45197 fi
45198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45199 ac_ext=c
45200 ac_cpp='$CPP $CPPFLAGS'
45201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45204
45205
45206 fi
45207
45208 fi
45209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
45210 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
45211
45212 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
45213 for ac_func in isnanl
45214 do :
45215 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
45216 if test "x$ac_cv_func_isnanl" = xyes; then :
45217 cat >>confdefs.h <<_ACEOF
45218 #define HAVE_ISNANL 1
45219 _ACEOF
45220
45221 fi
45222 done
45223
45224 else
45225
45226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
45227 $as_echo_n "checking for _isnanl declaration... " >&6; }
45228 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
45229 if ${glibcxx_cv_func__isnanl_use+:} false; then :
45230 $as_echo_n "(cached) " >&6
45231 else
45232
45233
45234 ac_ext=cpp
45235 ac_cpp='$CXXCPP $CPPFLAGS'
45236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45239
45240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45241 /* end confdefs.h. */
45242 #include <math.h>
45243 #ifdef HAVE_IEEEFP_H
45244 #include <ieeefp.h>
45245 #endif
45246
45247 int
45248 main ()
45249 {
45250 _isnanl(0);
45251 ;
45252 return 0;
45253 }
45254 _ACEOF
45255 if ac_fn_cxx_try_compile "$LINENO"; then :
45256 glibcxx_cv_func__isnanl_use=yes
45257 else
45258 glibcxx_cv_func__isnanl_use=no
45259 fi
45260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45261 ac_ext=c
45262 ac_cpp='$CPP $CPPFLAGS'
45263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45266
45267
45268 fi
45269
45270 fi
45271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
45272 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
45273
45274 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
45275 for ac_func in _isnanl
45276 do :
45277 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
45278 if test "x$ac_cv_func__isnanl" = xyes; then :
45279 cat >>confdefs.h <<_ACEOF
45280 #define HAVE__ISNANL 1
45281 _ACEOF
45282
45283 fi
45284 done
45285
45286 fi
45287 fi
45288
45289
45290
45291
45292
45293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
45294 $as_echo_n "checking for isinfl declaration... " >&6; }
45295 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
45296 if ${glibcxx_cv_func_isinfl_use+:} false; then :
45297 $as_echo_n "(cached) " >&6
45298 else
45299
45300
45301 ac_ext=cpp
45302 ac_cpp='$CXXCPP $CPPFLAGS'
45303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45306
45307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45308 /* end confdefs.h. */
45309 #include <math.h>
45310 #ifdef HAVE_IEEEFP_H
45311 #include <ieeefp.h>
45312 #endif
45313
45314 int
45315 main ()
45316 {
45317 isinfl(0);
45318 ;
45319 return 0;
45320 }
45321 _ACEOF
45322 if ac_fn_cxx_try_compile "$LINENO"; then :
45323 glibcxx_cv_func_isinfl_use=yes
45324 else
45325 glibcxx_cv_func_isinfl_use=no
45326 fi
45327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45328 ac_ext=c
45329 ac_cpp='$CPP $CPPFLAGS'
45330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45333
45334
45335 fi
45336
45337 fi
45338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45339 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45340
45341 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45342 for ac_func in isinfl
45343 do :
45344 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45345 if test "x$ac_cv_func_isinfl" = xyes; then :
45346 cat >>confdefs.h <<_ACEOF
45347 #define HAVE_ISINFL 1
45348 _ACEOF
45349
45350 fi
45351 done
45352
45353 else
45354
45355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45356 $as_echo_n "checking for _isinfl declaration... " >&6; }
45357 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45358 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45359 $as_echo_n "(cached) " >&6
45360 else
45361
45362
45363 ac_ext=cpp
45364 ac_cpp='$CXXCPP $CPPFLAGS'
45365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45368
45369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45370 /* end confdefs.h. */
45371 #include <math.h>
45372 #ifdef HAVE_IEEEFP_H
45373 #include <ieeefp.h>
45374 #endif
45375
45376 int
45377 main ()
45378 {
45379 _isinfl(0);
45380 ;
45381 return 0;
45382 }
45383 _ACEOF
45384 if ac_fn_cxx_try_compile "$LINENO"; then :
45385 glibcxx_cv_func__isinfl_use=yes
45386 else
45387 glibcxx_cv_func__isinfl_use=no
45388 fi
45389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45390 ac_ext=c
45391 ac_cpp='$CPP $CPPFLAGS'
45392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45395
45396
45397 fi
45398
45399 fi
45400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45401 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45402
45403 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45404 for ac_func in _isinfl
45405 do :
45406 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45407 if test "x$ac_cv_func__isinfl" = xyes; then :
45408 cat >>confdefs.h <<_ACEOF
45409 #define HAVE__ISINFL 1
45410 _ACEOF
45411
45412 fi
45413 done
45414
45415 fi
45416 fi
45417
45418
45419
45420
45421
45422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45423 $as_echo_n "checking for atan2l declaration... " >&6; }
45424 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45425 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45426 $as_echo_n "(cached) " >&6
45427 else
45428
45429
45430 ac_ext=cpp
45431 ac_cpp='$CXXCPP $CPPFLAGS'
45432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45435
45436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45437 /* end confdefs.h. */
45438 #include <math.h>
45439 int
45440 main ()
45441 {
45442 atan2l(0, 0);
45443 ;
45444 return 0;
45445 }
45446 _ACEOF
45447 if ac_fn_cxx_try_compile "$LINENO"; then :
45448 glibcxx_cv_func_atan2l_use=yes
45449 else
45450 glibcxx_cv_func_atan2l_use=no
45451 fi
45452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45453 ac_ext=c
45454 ac_cpp='$CPP $CPPFLAGS'
45455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45458
45459
45460 fi
45461
45462 fi
45463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45464 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45465
45466 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45467 for ac_func in atan2l
45468 do :
45469 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45470 if test "x$ac_cv_func_atan2l" = xyes; then :
45471 cat >>confdefs.h <<_ACEOF
45472 #define HAVE_ATAN2L 1
45473 _ACEOF
45474
45475 fi
45476 done
45477
45478 else
45479
45480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45481 $as_echo_n "checking for _atan2l declaration... " >&6; }
45482 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45483 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45484 $as_echo_n "(cached) " >&6
45485 else
45486
45487
45488 ac_ext=cpp
45489 ac_cpp='$CXXCPP $CPPFLAGS'
45490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45493
45494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45495 /* end confdefs.h. */
45496 #include <math.h>
45497 int
45498 main ()
45499 {
45500 _atan2l(0, 0);
45501 ;
45502 return 0;
45503 }
45504 _ACEOF
45505 if ac_fn_cxx_try_compile "$LINENO"; then :
45506 glibcxx_cv_func__atan2l_use=yes
45507 else
45508 glibcxx_cv_func__atan2l_use=no
45509 fi
45510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45511 ac_ext=c
45512 ac_cpp='$CPP $CPPFLAGS'
45513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45516
45517
45518 fi
45519
45520 fi
45521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45522 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45523
45524 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45525 for ac_func in _atan2l
45526 do :
45527 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45528 if test "x$ac_cv_func__atan2l" = xyes; then :
45529 cat >>confdefs.h <<_ACEOF
45530 #define HAVE__ATAN2L 1
45531 _ACEOF
45532
45533 fi
45534 done
45535
45536 fi
45537 fi
45538
45539
45540
45541
45542
45543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45544 $as_echo_n "checking for expl declaration... " >&6; }
45545 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45546 if ${glibcxx_cv_func_expl_use+:} false; then :
45547 $as_echo_n "(cached) " >&6
45548 else
45549
45550
45551 ac_ext=cpp
45552 ac_cpp='$CXXCPP $CPPFLAGS'
45553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45556
45557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45558 /* end confdefs.h. */
45559 #include <math.h>
45560 #ifdef HAVE_IEEEFP_H
45561 #include <ieeefp.h>
45562 #endif
45563
45564 int
45565 main ()
45566 {
45567 expl(0);
45568 ;
45569 return 0;
45570 }
45571 _ACEOF
45572 if ac_fn_cxx_try_compile "$LINENO"; then :
45573 glibcxx_cv_func_expl_use=yes
45574 else
45575 glibcxx_cv_func_expl_use=no
45576 fi
45577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45578 ac_ext=c
45579 ac_cpp='$CPP $CPPFLAGS'
45580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45583
45584
45585 fi
45586
45587 fi
45588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45589 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45590
45591 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45592 for ac_func in expl
45593 do :
45594 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45595 if test "x$ac_cv_func_expl" = xyes; then :
45596 cat >>confdefs.h <<_ACEOF
45597 #define HAVE_EXPL 1
45598 _ACEOF
45599
45600 fi
45601 done
45602
45603 else
45604
45605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45606 $as_echo_n "checking for _expl declaration... " >&6; }
45607 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45608 if ${glibcxx_cv_func__expl_use+:} false; then :
45609 $as_echo_n "(cached) " >&6
45610 else
45611
45612
45613 ac_ext=cpp
45614 ac_cpp='$CXXCPP $CPPFLAGS'
45615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45618
45619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45620 /* end confdefs.h. */
45621 #include <math.h>
45622 #ifdef HAVE_IEEEFP_H
45623 #include <ieeefp.h>
45624 #endif
45625
45626 int
45627 main ()
45628 {
45629 _expl(0);
45630 ;
45631 return 0;
45632 }
45633 _ACEOF
45634 if ac_fn_cxx_try_compile "$LINENO"; then :
45635 glibcxx_cv_func__expl_use=yes
45636 else
45637 glibcxx_cv_func__expl_use=no
45638 fi
45639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45640 ac_ext=c
45641 ac_cpp='$CPP $CPPFLAGS'
45642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45645
45646
45647 fi
45648
45649 fi
45650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45651 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45652
45653 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45654 for ac_func in _expl
45655 do :
45656 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45657 if test "x$ac_cv_func__expl" = xyes; then :
45658 cat >>confdefs.h <<_ACEOF
45659 #define HAVE__EXPL 1
45660 _ACEOF
45661
45662 fi
45663 done
45664
45665 fi
45666 fi
45667
45668
45669
45670
45671
45672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45673 $as_echo_n "checking for fabsl declaration... " >&6; }
45674 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45675 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45676 $as_echo_n "(cached) " >&6
45677 else
45678
45679
45680 ac_ext=cpp
45681 ac_cpp='$CXXCPP $CPPFLAGS'
45682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45685
45686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45687 /* end confdefs.h. */
45688 #include <math.h>
45689 #ifdef HAVE_IEEEFP_H
45690 #include <ieeefp.h>
45691 #endif
45692
45693 int
45694 main ()
45695 {
45696 fabsl(0);
45697 ;
45698 return 0;
45699 }
45700 _ACEOF
45701 if ac_fn_cxx_try_compile "$LINENO"; then :
45702 glibcxx_cv_func_fabsl_use=yes
45703 else
45704 glibcxx_cv_func_fabsl_use=no
45705 fi
45706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45707 ac_ext=c
45708 ac_cpp='$CPP $CPPFLAGS'
45709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45712
45713
45714 fi
45715
45716 fi
45717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45718 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45719
45720 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45721 for ac_func in fabsl
45722 do :
45723 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45724 if test "x$ac_cv_func_fabsl" = xyes; then :
45725 cat >>confdefs.h <<_ACEOF
45726 #define HAVE_FABSL 1
45727 _ACEOF
45728
45729 fi
45730 done
45731
45732 else
45733
45734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45735 $as_echo_n "checking for _fabsl declaration... " >&6; }
45736 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45737 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45738 $as_echo_n "(cached) " >&6
45739 else
45740
45741
45742 ac_ext=cpp
45743 ac_cpp='$CXXCPP $CPPFLAGS'
45744 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45745 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45746 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45747
45748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45749 /* end confdefs.h. */
45750 #include <math.h>
45751 #ifdef HAVE_IEEEFP_H
45752 #include <ieeefp.h>
45753 #endif
45754
45755 int
45756 main ()
45757 {
45758 _fabsl(0);
45759 ;
45760 return 0;
45761 }
45762 _ACEOF
45763 if ac_fn_cxx_try_compile "$LINENO"; then :
45764 glibcxx_cv_func__fabsl_use=yes
45765 else
45766 glibcxx_cv_func__fabsl_use=no
45767 fi
45768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45769 ac_ext=c
45770 ac_cpp='$CPP $CPPFLAGS'
45771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45774
45775
45776 fi
45777
45778 fi
45779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45780 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45781
45782 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45783 for ac_func in _fabsl
45784 do :
45785 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45786 if test "x$ac_cv_func__fabsl" = xyes; then :
45787 cat >>confdefs.h <<_ACEOF
45788 #define HAVE__FABSL 1
45789 _ACEOF
45790
45791 fi
45792 done
45793
45794 fi
45795 fi
45796
45797
45798
45799
45800
45801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45802 $as_echo_n "checking for fmodl declaration... " >&6; }
45803 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45804 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45805 $as_echo_n "(cached) " >&6
45806 else
45807
45808
45809 ac_ext=cpp
45810 ac_cpp='$CXXCPP $CPPFLAGS'
45811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45814
45815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45816 /* end confdefs.h. */
45817 #include <math.h>
45818 int
45819 main ()
45820 {
45821 fmodl(0, 0);
45822 ;
45823 return 0;
45824 }
45825 _ACEOF
45826 if ac_fn_cxx_try_compile "$LINENO"; then :
45827 glibcxx_cv_func_fmodl_use=yes
45828 else
45829 glibcxx_cv_func_fmodl_use=no
45830 fi
45831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45832 ac_ext=c
45833 ac_cpp='$CPP $CPPFLAGS'
45834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45837
45838
45839 fi
45840
45841 fi
45842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45843 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45844
45845 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45846 for ac_func in fmodl
45847 do :
45848 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45849 if test "x$ac_cv_func_fmodl" = xyes; then :
45850 cat >>confdefs.h <<_ACEOF
45851 #define HAVE_FMODL 1
45852 _ACEOF
45853
45854 fi
45855 done
45856
45857 else
45858
45859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45860 $as_echo_n "checking for _fmodl declaration... " >&6; }
45861 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45862 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45863 $as_echo_n "(cached) " >&6
45864 else
45865
45866
45867 ac_ext=cpp
45868 ac_cpp='$CXXCPP $CPPFLAGS'
45869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45872
45873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45874 /* end confdefs.h. */
45875 #include <math.h>
45876 int
45877 main ()
45878 {
45879 _fmodl(0, 0);
45880 ;
45881 return 0;
45882 }
45883 _ACEOF
45884 if ac_fn_cxx_try_compile "$LINENO"; then :
45885 glibcxx_cv_func__fmodl_use=yes
45886 else
45887 glibcxx_cv_func__fmodl_use=no
45888 fi
45889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45890 ac_ext=c
45891 ac_cpp='$CPP $CPPFLAGS'
45892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45895
45896
45897 fi
45898
45899 fi
45900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45901 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45902
45903 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45904 for ac_func in _fmodl
45905 do :
45906 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45907 if test "x$ac_cv_func__fmodl" = xyes; then :
45908 cat >>confdefs.h <<_ACEOF
45909 #define HAVE__FMODL 1
45910 _ACEOF
45911
45912 fi
45913 done
45914
45915 fi
45916 fi
45917
45918
45919
45920
45921
45922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45923 $as_echo_n "checking for frexpl declaration... " >&6; }
45924 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45925 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45926 $as_echo_n "(cached) " >&6
45927 else
45928
45929
45930 ac_ext=cpp
45931 ac_cpp='$CXXCPP $CPPFLAGS'
45932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45935
45936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45937 /* end confdefs.h. */
45938 #include <math.h>
45939 int
45940 main ()
45941 {
45942 frexpl(0, 0);
45943 ;
45944 return 0;
45945 }
45946 _ACEOF
45947 if ac_fn_cxx_try_compile "$LINENO"; then :
45948 glibcxx_cv_func_frexpl_use=yes
45949 else
45950 glibcxx_cv_func_frexpl_use=no
45951 fi
45952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45953 ac_ext=c
45954 ac_cpp='$CPP $CPPFLAGS'
45955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45958
45959
45960 fi
45961
45962 fi
45963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45964 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45965
45966 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45967 for ac_func in frexpl
45968 do :
45969 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45970 if test "x$ac_cv_func_frexpl" = xyes; then :
45971 cat >>confdefs.h <<_ACEOF
45972 #define HAVE_FREXPL 1
45973 _ACEOF
45974
45975 fi
45976 done
45977
45978 else
45979
45980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45981 $as_echo_n "checking for _frexpl declaration... " >&6; }
45982 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45983 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45984 $as_echo_n "(cached) " >&6
45985 else
45986
45987
45988 ac_ext=cpp
45989 ac_cpp='$CXXCPP $CPPFLAGS'
45990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45993
45994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45995 /* end confdefs.h. */
45996 #include <math.h>
45997 int
45998 main ()
45999 {
46000 _frexpl(0, 0);
46001 ;
46002 return 0;
46003 }
46004 _ACEOF
46005 if ac_fn_cxx_try_compile "$LINENO"; then :
46006 glibcxx_cv_func__frexpl_use=yes
46007 else
46008 glibcxx_cv_func__frexpl_use=no
46009 fi
46010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46011 ac_ext=c
46012 ac_cpp='$CPP $CPPFLAGS'
46013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46016
46017
46018 fi
46019
46020 fi
46021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
46022 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
46023
46024 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
46025 for ac_func in _frexpl
46026 do :
46027 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
46028 if test "x$ac_cv_func__frexpl" = xyes; then :
46029 cat >>confdefs.h <<_ACEOF
46030 #define HAVE__FREXPL 1
46031 _ACEOF
46032
46033 fi
46034 done
46035
46036 fi
46037 fi
46038
46039
46040
46041
46042
46043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
46044 $as_echo_n "checking for hypotl declaration... " >&6; }
46045 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
46046 if ${glibcxx_cv_func_hypotl_use+:} false; then :
46047 $as_echo_n "(cached) " >&6
46048 else
46049
46050
46051 ac_ext=cpp
46052 ac_cpp='$CXXCPP $CPPFLAGS'
46053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46056
46057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46058 /* end confdefs.h. */
46059 #include <math.h>
46060 int
46061 main ()
46062 {
46063 hypotl(0, 0);
46064 ;
46065 return 0;
46066 }
46067 _ACEOF
46068 if ac_fn_cxx_try_compile "$LINENO"; then :
46069 glibcxx_cv_func_hypotl_use=yes
46070 else
46071 glibcxx_cv_func_hypotl_use=no
46072 fi
46073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46074 ac_ext=c
46075 ac_cpp='$CPP $CPPFLAGS'
46076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46079
46080
46081 fi
46082
46083 fi
46084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
46085 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
46086
46087 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
46088 for ac_func in hypotl
46089 do :
46090 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
46091 if test "x$ac_cv_func_hypotl" = xyes; then :
46092 cat >>confdefs.h <<_ACEOF
46093 #define HAVE_HYPOTL 1
46094 _ACEOF
46095
46096 fi
46097 done
46098
46099 else
46100
46101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
46102 $as_echo_n "checking for _hypotl declaration... " >&6; }
46103 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
46104 if ${glibcxx_cv_func__hypotl_use+:} false; then :
46105 $as_echo_n "(cached) " >&6
46106 else
46107
46108
46109 ac_ext=cpp
46110 ac_cpp='$CXXCPP $CPPFLAGS'
46111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46114
46115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46116 /* end confdefs.h. */
46117 #include <math.h>
46118 int
46119 main ()
46120 {
46121 _hypotl(0, 0);
46122 ;
46123 return 0;
46124 }
46125 _ACEOF
46126 if ac_fn_cxx_try_compile "$LINENO"; then :
46127 glibcxx_cv_func__hypotl_use=yes
46128 else
46129 glibcxx_cv_func__hypotl_use=no
46130 fi
46131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46132 ac_ext=c
46133 ac_cpp='$CPP $CPPFLAGS'
46134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46137
46138
46139 fi
46140
46141 fi
46142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
46143 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
46144
46145 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
46146 for ac_func in _hypotl
46147 do :
46148 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
46149 if test "x$ac_cv_func__hypotl" = xyes; then :
46150 cat >>confdefs.h <<_ACEOF
46151 #define HAVE__HYPOTL 1
46152 _ACEOF
46153
46154 fi
46155 done
46156
46157 fi
46158 fi
46159
46160
46161
46162
46163
46164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
46165 $as_echo_n "checking for ldexpl declaration... " >&6; }
46166 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
46167 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
46168 $as_echo_n "(cached) " >&6
46169 else
46170
46171
46172 ac_ext=cpp
46173 ac_cpp='$CXXCPP $CPPFLAGS'
46174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46177
46178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46179 /* end confdefs.h. */
46180 #include <math.h>
46181 int
46182 main ()
46183 {
46184 ldexpl(0, 0);
46185 ;
46186 return 0;
46187 }
46188 _ACEOF
46189 if ac_fn_cxx_try_compile "$LINENO"; then :
46190 glibcxx_cv_func_ldexpl_use=yes
46191 else
46192 glibcxx_cv_func_ldexpl_use=no
46193 fi
46194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46195 ac_ext=c
46196 ac_cpp='$CPP $CPPFLAGS'
46197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46200
46201
46202 fi
46203
46204 fi
46205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
46206 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
46207
46208 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
46209 for ac_func in ldexpl
46210 do :
46211 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
46212 if test "x$ac_cv_func_ldexpl" = xyes; then :
46213 cat >>confdefs.h <<_ACEOF
46214 #define HAVE_LDEXPL 1
46215 _ACEOF
46216
46217 fi
46218 done
46219
46220 else
46221
46222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
46223 $as_echo_n "checking for _ldexpl declaration... " >&6; }
46224 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
46225 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
46226 $as_echo_n "(cached) " >&6
46227 else
46228
46229
46230 ac_ext=cpp
46231 ac_cpp='$CXXCPP $CPPFLAGS'
46232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46235
46236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46237 /* end confdefs.h. */
46238 #include <math.h>
46239 int
46240 main ()
46241 {
46242 _ldexpl(0, 0);
46243 ;
46244 return 0;
46245 }
46246 _ACEOF
46247 if ac_fn_cxx_try_compile "$LINENO"; then :
46248 glibcxx_cv_func__ldexpl_use=yes
46249 else
46250 glibcxx_cv_func__ldexpl_use=no
46251 fi
46252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46253 ac_ext=c
46254 ac_cpp='$CPP $CPPFLAGS'
46255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46258
46259
46260 fi
46261
46262 fi
46263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
46264 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
46265
46266 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
46267 for ac_func in _ldexpl
46268 do :
46269 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
46270 if test "x$ac_cv_func__ldexpl" = xyes; then :
46271 cat >>confdefs.h <<_ACEOF
46272 #define HAVE__LDEXPL 1
46273 _ACEOF
46274
46275 fi
46276 done
46277
46278 fi
46279 fi
46280
46281
46282
46283
46284
46285 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
46286 $as_echo_n "checking for logl declaration... " >&6; }
46287 if test x${glibcxx_cv_func_logl_use+set} != xset; then
46288 if ${glibcxx_cv_func_logl_use+:} false; then :
46289 $as_echo_n "(cached) " >&6
46290 else
46291
46292
46293 ac_ext=cpp
46294 ac_cpp='$CXXCPP $CPPFLAGS'
46295 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46296 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46297 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46298
46299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46300 /* end confdefs.h. */
46301 #include <math.h>
46302 #ifdef HAVE_IEEEFP_H
46303 #include <ieeefp.h>
46304 #endif
46305
46306 int
46307 main ()
46308 {
46309 logl(0);
46310 ;
46311 return 0;
46312 }
46313 _ACEOF
46314 if ac_fn_cxx_try_compile "$LINENO"; then :
46315 glibcxx_cv_func_logl_use=yes
46316 else
46317 glibcxx_cv_func_logl_use=no
46318 fi
46319 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46320 ac_ext=c
46321 ac_cpp='$CPP $CPPFLAGS'
46322 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46323 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46324 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46325
46326
46327 fi
46328
46329 fi
46330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46331 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46332
46333 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46334 for ac_func in logl
46335 do :
46336 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46337 if test "x$ac_cv_func_logl" = xyes; then :
46338 cat >>confdefs.h <<_ACEOF
46339 #define HAVE_LOGL 1
46340 _ACEOF
46341
46342 fi
46343 done
46344
46345 else
46346
46347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46348 $as_echo_n "checking for _logl declaration... " >&6; }
46349 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46350 if ${glibcxx_cv_func__logl_use+:} false; then :
46351 $as_echo_n "(cached) " >&6
46352 else
46353
46354
46355 ac_ext=cpp
46356 ac_cpp='$CXXCPP $CPPFLAGS'
46357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46360
46361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46362 /* end confdefs.h. */
46363 #include <math.h>
46364 #ifdef HAVE_IEEEFP_H
46365 #include <ieeefp.h>
46366 #endif
46367
46368 int
46369 main ()
46370 {
46371 _logl(0);
46372 ;
46373 return 0;
46374 }
46375 _ACEOF
46376 if ac_fn_cxx_try_compile "$LINENO"; then :
46377 glibcxx_cv_func__logl_use=yes
46378 else
46379 glibcxx_cv_func__logl_use=no
46380 fi
46381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46382 ac_ext=c
46383 ac_cpp='$CPP $CPPFLAGS'
46384 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46385 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46386 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46387
46388
46389 fi
46390
46391 fi
46392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46393 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46394
46395 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46396 for ac_func in _logl
46397 do :
46398 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46399 if test "x$ac_cv_func__logl" = xyes; then :
46400 cat >>confdefs.h <<_ACEOF
46401 #define HAVE__LOGL 1
46402 _ACEOF
46403
46404 fi
46405 done
46406
46407 fi
46408 fi
46409
46410
46411
46412
46413
46414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46415 $as_echo_n "checking for log10l declaration... " >&6; }
46416 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46417 if ${glibcxx_cv_func_log10l_use+:} false; then :
46418 $as_echo_n "(cached) " >&6
46419 else
46420
46421
46422 ac_ext=cpp
46423 ac_cpp='$CXXCPP $CPPFLAGS'
46424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46427
46428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46429 /* end confdefs.h. */
46430 #include <math.h>
46431 #ifdef HAVE_IEEEFP_H
46432 #include <ieeefp.h>
46433 #endif
46434
46435 int
46436 main ()
46437 {
46438 log10l(0);
46439 ;
46440 return 0;
46441 }
46442 _ACEOF
46443 if ac_fn_cxx_try_compile "$LINENO"; then :
46444 glibcxx_cv_func_log10l_use=yes
46445 else
46446 glibcxx_cv_func_log10l_use=no
46447 fi
46448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46449 ac_ext=c
46450 ac_cpp='$CPP $CPPFLAGS'
46451 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46452 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46453 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46454
46455
46456 fi
46457
46458 fi
46459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46460 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46461
46462 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46463 for ac_func in log10l
46464 do :
46465 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46466 if test "x$ac_cv_func_log10l" = xyes; then :
46467 cat >>confdefs.h <<_ACEOF
46468 #define HAVE_LOG10L 1
46469 _ACEOF
46470
46471 fi
46472 done
46473
46474 else
46475
46476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46477 $as_echo_n "checking for _log10l declaration... " >&6; }
46478 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46479 if ${glibcxx_cv_func__log10l_use+:} false; then :
46480 $as_echo_n "(cached) " >&6
46481 else
46482
46483
46484 ac_ext=cpp
46485 ac_cpp='$CXXCPP $CPPFLAGS'
46486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46489
46490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46491 /* end confdefs.h. */
46492 #include <math.h>
46493 #ifdef HAVE_IEEEFP_H
46494 #include <ieeefp.h>
46495 #endif
46496
46497 int
46498 main ()
46499 {
46500 _log10l(0);
46501 ;
46502 return 0;
46503 }
46504 _ACEOF
46505 if ac_fn_cxx_try_compile "$LINENO"; then :
46506 glibcxx_cv_func__log10l_use=yes
46507 else
46508 glibcxx_cv_func__log10l_use=no
46509 fi
46510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46511 ac_ext=c
46512 ac_cpp='$CPP $CPPFLAGS'
46513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46516
46517
46518 fi
46519
46520 fi
46521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46522 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46523
46524 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46525 for ac_func in _log10l
46526 do :
46527 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46528 if test "x$ac_cv_func__log10l" = xyes; then :
46529 cat >>confdefs.h <<_ACEOF
46530 #define HAVE__LOG10L 1
46531 _ACEOF
46532
46533 fi
46534 done
46535
46536 fi
46537 fi
46538
46539
46540
46541
46542
46543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46544 $as_echo_n "checking for modfl declaration... " >&6; }
46545 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46546 if ${glibcxx_cv_func_modfl_use+:} false; then :
46547 $as_echo_n "(cached) " >&6
46548 else
46549
46550
46551 ac_ext=cpp
46552 ac_cpp='$CXXCPP $CPPFLAGS'
46553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46556
46557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46558 /* end confdefs.h. */
46559 #include <math.h>
46560 int
46561 main ()
46562 {
46563 modfl(0, 0);
46564 ;
46565 return 0;
46566 }
46567 _ACEOF
46568 if ac_fn_cxx_try_compile "$LINENO"; then :
46569 glibcxx_cv_func_modfl_use=yes
46570 else
46571 glibcxx_cv_func_modfl_use=no
46572 fi
46573 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46574 ac_ext=c
46575 ac_cpp='$CPP $CPPFLAGS'
46576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46579
46580
46581 fi
46582
46583 fi
46584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46585 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46586
46587 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46588 for ac_func in modfl
46589 do :
46590 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46591 if test "x$ac_cv_func_modfl" = xyes; then :
46592 cat >>confdefs.h <<_ACEOF
46593 #define HAVE_MODFL 1
46594 _ACEOF
46595
46596 fi
46597 done
46598
46599 else
46600
46601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46602 $as_echo_n "checking for _modfl declaration... " >&6; }
46603 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46604 if ${glibcxx_cv_func__modfl_use+:} false; then :
46605 $as_echo_n "(cached) " >&6
46606 else
46607
46608
46609 ac_ext=cpp
46610 ac_cpp='$CXXCPP $CPPFLAGS'
46611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46614
46615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46616 /* end confdefs.h. */
46617 #include <math.h>
46618 int
46619 main ()
46620 {
46621 _modfl(0, 0);
46622 ;
46623 return 0;
46624 }
46625 _ACEOF
46626 if ac_fn_cxx_try_compile "$LINENO"; then :
46627 glibcxx_cv_func__modfl_use=yes
46628 else
46629 glibcxx_cv_func__modfl_use=no
46630 fi
46631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46632 ac_ext=c
46633 ac_cpp='$CPP $CPPFLAGS'
46634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46637
46638
46639 fi
46640
46641 fi
46642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46643 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46644
46645 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46646 for ac_func in _modfl
46647 do :
46648 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46649 if test "x$ac_cv_func__modfl" = xyes; then :
46650 cat >>confdefs.h <<_ACEOF
46651 #define HAVE__MODFL 1
46652 _ACEOF
46653
46654 fi
46655 done
46656
46657 fi
46658 fi
46659
46660
46661
46662
46663
46664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46665 $as_echo_n "checking for powl declaration... " >&6; }
46666 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46667 if ${glibcxx_cv_func_powl_use+:} false; then :
46668 $as_echo_n "(cached) " >&6
46669 else
46670
46671
46672 ac_ext=cpp
46673 ac_cpp='$CXXCPP $CPPFLAGS'
46674 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46675 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46676 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46677
46678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46679 /* end confdefs.h. */
46680 #include <math.h>
46681 int
46682 main ()
46683 {
46684 powl(0, 0);
46685 ;
46686 return 0;
46687 }
46688 _ACEOF
46689 if ac_fn_cxx_try_compile "$LINENO"; then :
46690 glibcxx_cv_func_powl_use=yes
46691 else
46692 glibcxx_cv_func_powl_use=no
46693 fi
46694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46695 ac_ext=c
46696 ac_cpp='$CPP $CPPFLAGS'
46697 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46698 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46699 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46700
46701
46702 fi
46703
46704 fi
46705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46706 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46707
46708 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46709 for ac_func in powl
46710 do :
46711 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46712 if test "x$ac_cv_func_powl" = xyes; then :
46713 cat >>confdefs.h <<_ACEOF
46714 #define HAVE_POWL 1
46715 _ACEOF
46716
46717 fi
46718 done
46719
46720 else
46721
46722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46723 $as_echo_n "checking for _powl declaration... " >&6; }
46724 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46725 if ${glibcxx_cv_func__powl_use+:} false; then :
46726 $as_echo_n "(cached) " >&6
46727 else
46728
46729
46730 ac_ext=cpp
46731 ac_cpp='$CXXCPP $CPPFLAGS'
46732 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46733 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46734 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46735
46736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46737 /* end confdefs.h. */
46738 #include <math.h>
46739 int
46740 main ()
46741 {
46742 _powl(0, 0);
46743 ;
46744 return 0;
46745 }
46746 _ACEOF
46747 if ac_fn_cxx_try_compile "$LINENO"; then :
46748 glibcxx_cv_func__powl_use=yes
46749 else
46750 glibcxx_cv_func__powl_use=no
46751 fi
46752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46753 ac_ext=c
46754 ac_cpp='$CPP $CPPFLAGS'
46755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46758
46759
46760 fi
46761
46762 fi
46763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46764 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46765
46766 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46767 for ac_func in _powl
46768 do :
46769 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46770 if test "x$ac_cv_func__powl" = xyes; then :
46771 cat >>confdefs.h <<_ACEOF
46772 #define HAVE__POWL 1
46773 _ACEOF
46774
46775 fi
46776 done
46777
46778 fi
46779 fi
46780
46781
46782
46783
46784
46785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46786 $as_echo_n "checking for sqrtl declaration... " >&6; }
46787 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46788 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46789 $as_echo_n "(cached) " >&6
46790 else
46791
46792
46793 ac_ext=cpp
46794 ac_cpp='$CXXCPP $CPPFLAGS'
46795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46798
46799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46800 /* end confdefs.h. */
46801 #include <math.h>
46802 #ifdef HAVE_IEEEFP_H
46803 #include <ieeefp.h>
46804 #endif
46805
46806 int
46807 main ()
46808 {
46809 sqrtl(0);
46810 ;
46811 return 0;
46812 }
46813 _ACEOF
46814 if ac_fn_cxx_try_compile "$LINENO"; then :
46815 glibcxx_cv_func_sqrtl_use=yes
46816 else
46817 glibcxx_cv_func_sqrtl_use=no
46818 fi
46819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46820 ac_ext=c
46821 ac_cpp='$CPP $CPPFLAGS'
46822 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46823 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46824 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46825
46826
46827 fi
46828
46829 fi
46830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46831 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46832
46833 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46834 for ac_func in sqrtl
46835 do :
46836 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46837 if test "x$ac_cv_func_sqrtl" = xyes; then :
46838 cat >>confdefs.h <<_ACEOF
46839 #define HAVE_SQRTL 1
46840 _ACEOF
46841
46842 fi
46843 done
46844
46845 else
46846
46847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46848 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46849 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46850 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46851 $as_echo_n "(cached) " >&6
46852 else
46853
46854
46855 ac_ext=cpp
46856 ac_cpp='$CXXCPP $CPPFLAGS'
46857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46860
46861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46862 /* end confdefs.h. */
46863 #include <math.h>
46864 #ifdef HAVE_IEEEFP_H
46865 #include <ieeefp.h>
46866 #endif
46867
46868 int
46869 main ()
46870 {
46871 _sqrtl(0);
46872 ;
46873 return 0;
46874 }
46875 _ACEOF
46876 if ac_fn_cxx_try_compile "$LINENO"; then :
46877 glibcxx_cv_func__sqrtl_use=yes
46878 else
46879 glibcxx_cv_func__sqrtl_use=no
46880 fi
46881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46882 ac_ext=c
46883 ac_cpp='$CPP $CPPFLAGS'
46884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46887
46888
46889 fi
46890
46891 fi
46892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46893 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46894
46895 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46896 for ac_func in _sqrtl
46897 do :
46898 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46899 if test "x$ac_cv_func__sqrtl" = xyes; then :
46900 cat >>confdefs.h <<_ACEOF
46901 #define HAVE__SQRTL 1
46902 _ACEOF
46903
46904 fi
46905 done
46906
46907 fi
46908 fi
46909
46910
46911
46912
46913
46914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46915 $as_echo_n "checking for sincosl declaration... " >&6; }
46916 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46917 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46918 $as_echo_n "(cached) " >&6
46919 else
46920
46921
46922 ac_ext=cpp
46923 ac_cpp='$CXXCPP $CPPFLAGS'
46924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46927
46928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46929 /* end confdefs.h. */
46930 #include <math.h>
46931 int
46932 main ()
46933 {
46934 sincosl(0, 0, 0);
46935 ;
46936 return 0;
46937 }
46938 _ACEOF
46939 if ac_fn_cxx_try_compile "$LINENO"; then :
46940 glibcxx_cv_func_sincosl_use=yes
46941 else
46942 glibcxx_cv_func_sincosl_use=no
46943 fi
46944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46945 ac_ext=c
46946 ac_cpp='$CPP $CPPFLAGS'
46947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46950
46951
46952 fi
46953
46954 fi
46955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46956 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46957
46958 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46959 for ac_func in sincosl
46960 do :
46961 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46962 if test "x$ac_cv_func_sincosl" = xyes; then :
46963 cat >>confdefs.h <<_ACEOF
46964 #define HAVE_SINCOSL 1
46965 _ACEOF
46966
46967 fi
46968 done
46969
46970 else
46971
46972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46973 $as_echo_n "checking for _sincosl declaration... " >&6; }
46974 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46975 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46976 $as_echo_n "(cached) " >&6
46977 else
46978
46979
46980 ac_ext=cpp
46981 ac_cpp='$CXXCPP $CPPFLAGS'
46982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46985
46986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46987 /* end confdefs.h. */
46988 #include <math.h>
46989 int
46990 main ()
46991 {
46992 _sincosl(0, 0, 0);
46993 ;
46994 return 0;
46995 }
46996 _ACEOF
46997 if ac_fn_cxx_try_compile "$LINENO"; then :
46998 glibcxx_cv_func__sincosl_use=yes
46999 else
47000 glibcxx_cv_func__sincosl_use=no
47001 fi
47002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47003 ac_ext=c
47004 ac_cpp='$CPP $CPPFLAGS'
47005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47008
47009
47010 fi
47011
47012 fi
47013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
47014 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
47015
47016 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
47017 for ac_func in _sincosl
47018 do :
47019 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
47020 if test "x$ac_cv_func__sincosl" = xyes; then :
47021 cat >>confdefs.h <<_ACEOF
47022 #define HAVE__SINCOSL 1
47023 _ACEOF
47024
47025 fi
47026 done
47027
47028 fi
47029 fi
47030
47031
47032
47033
47034
47035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
47036 $as_echo_n "checking for finitel declaration... " >&6; }
47037 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
47038 if ${glibcxx_cv_func_finitel_use+:} false; then :
47039 $as_echo_n "(cached) " >&6
47040 else
47041
47042
47043 ac_ext=cpp
47044 ac_cpp='$CXXCPP $CPPFLAGS'
47045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47048
47049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47050 /* end confdefs.h. */
47051 #include <math.h>
47052 #ifdef HAVE_IEEEFP_H
47053 #include <ieeefp.h>
47054 #endif
47055
47056 int
47057 main ()
47058 {
47059 finitel(0);
47060 ;
47061 return 0;
47062 }
47063 _ACEOF
47064 if ac_fn_cxx_try_compile "$LINENO"; then :
47065 glibcxx_cv_func_finitel_use=yes
47066 else
47067 glibcxx_cv_func_finitel_use=no
47068 fi
47069 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47070 ac_ext=c
47071 ac_cpp='$CPP $CPPFLAGS'
47072 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47073 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47074 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47075
47076
47077 fi
47078
47079 fi
47080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
47081 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
47082
47083 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
47084 for ac_func in finitel
47085 do :
47086 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
47087 if test "x$ac_cv_func_finitel" = xyes; then :
47088 cat >>confdefs.h <<_ACEOF
47089 #define HAVE_FINITEL 1
47090 _ACEOF
47091
47092 fi
47093 done
47094
47095 else
47096
47097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
47098 $as_echo_n "checking for _finitel declaration... " >&6; }
47099 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
47100 if ${glibcxx_cv_func__finitel_use+:} false; then :
47101 $as_echo_n "(cached) " >&6
47102 else
47103
47104
47105 ac_ext=cpp
47106 ac_cpp='$CXXCPP $CPPFLAGS'
47107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47110
47111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47112 /* end confdefs.h. */
47113 #include <math.h>
47114 #ifdef HAVE_IEEEFP_H
47115 #include <ieeefp.h>
47116 #endif
47117
47118 int
47119 main ()
47120 {
47121 _finitel(0);
47122 ;
47123 return 0;
47124 }
47125 _ACEOF
47126 if ac_fn_cxx_try_compile "$LINENO"; then :
47127 glibcxx_cv_func__finitel_use=yes
47128 else
47129 glibcxx_cv_func__finitel_use=no
47130 fi
47131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47132 ac_ext=c
47133 ac_cpp='$CPP $CPPFLAGS'
47134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47137
47138
47139 fi
47140
47141 fi
47142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
47143 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
47144
47145 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
47146 for ac_func in _finitel
47147 do :
47148 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
47149 if test "x$ac_cv_func__finitel" = xyes; then :
47150 cat >>confdefs.h <<_ACEOF
47151 #define HAVE__FINITEL 1
47152 _ACEOF
47153
47154 fi
47155 done
47156
47157 fi
47158 fi
47159
47160
47161
47162
47163 LIBS="$ac_save_LIBS"
47164 CXXFLAGS="$ac_save_CXXFLAGS"
47165
47166
47167 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47168 ac_save_CXXFLAGS="$CXXFLAGS"
47169 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47170
47171
47172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
47173 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
47174 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
47175 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
47176 $as_echo_n "(cached) " >&6
47177 else
47178
47179
47180 ac_ext=cpp
47181 ac_cpp='$CXXCPP $CPPFLAGS'
47182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47185
47186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47187 /* end confdefs.h. */
47188 #include <stdlib.h>
47189 int
47190 main ()
47191 {
47192 at_quick_exit(0);
47193 ;
47194 return 0;
47195 }
47196 _ACEOF
47197 if ac_fn_cxx_try_compile "$LINENO"; then :
47198 glibcxx_cv_func_at_quick_exit_use=yes
47199 else
47200 glibcxx_cv_func_at_quick_exit_use=no
47201 fi
47202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47203 ac_ext=c
47204 ac_cpp='$CPP $CPPFLAGS'
47205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47208
47209
47210 fi
47211
47212 fi
47213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
47214 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
47215 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
47216 for ac_func in at_quick_exit
47217 do :
47218 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
47219 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
47220 cat >>confdefs.h <<_ACEOF
47221 #define HAVE_AT_QUICK_EXIT 1
47222 _ACEOF
47223
47224 fi
47225 done
47226
47227 fi
47228
47229
47230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
47231 $as_echo_n "checking for quick_exit declaration... " >&6; }
47232 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
47233 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
47234 $as_echo_n "(cached) " >&6
47235 else
47236
47237
47238 ac_ext=cpp
47239 ac_cpp='$CXXCPP $CPPFLAGS'
47240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47243
47244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47245 /* end confdefs.h. */
47246 #include <stdlib.h>
47247 int
47248 main ()
47249 {
47250 quick_exit(0);
47251 ;
47252 return 0;
47253 }
47254 _ACEOF
47255 if ac_fn_cxx_try_compile "$LINENO"; then :
47256 glibcxx_cv_func_quick_exit_use=yes
47257 else
47258 glibcxx_cv_func_quick_exit_use=no
47259 fi
47260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47261 ac_ext=c
47262 ac_cpp='$CPP $CPPFLAGS'
47263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47266
47267
47268 fi
47269
47270 fi
47271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
47272 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
47273 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
47274 for ac_func in quick_exit
47275 do :
47276 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
47277 if test "x$ac_cv_func_quick_exit" = xyes; then :
47278 cat >>confdefs.h <<_ACEOF
47279 #define HAVE_QUICK_EXIT 1
47280 _ACEOF
47281
47282 fi
47283 done
47284
47285 fi
47286
47287
47288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
47289 $as_echo_n "checking for strtold declaration... " >&6; }
47290 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
47291 if ${glibcxx_cv_func_strtold_use+:} false; then :
47292 $as_echo_n "(cached) " >&6
47293 else
47294
47295
47296 ac_ext=cpp
47297 ac_cpp='$CXXCPP $CPPFLAGS'
47298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47301
47302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47303 /* end confdefs.h. */
47304 #include <stdlib.h>
47305 int
47306 main ()
47307 {
47308 strtold(0, 0);
47309 ;
47310 return 0;
47311 }
47312 _ACEOF
47313 if ac_fn_cxx_try_compile "$LINENO"; then :
47314 glibcxx_cv_func_strtold_use=yes
47315 else
47316 glibcxx_cv_func_strtold_use=no
47317 fi
47318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47319 ac_ext=c
47320 ac_cpp='$CPP $CPPFLAGS'
47321 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47322 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47323 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47324
47325
47326 fi
47327
47328 fi
47329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47330 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47331 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47332 for ac_func in strtold
47333 do :
47334 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47335 if test "x$ac_cv_func_strtold" = xyes; then :
47336 cat >>confdefs.h <<_ACEOF
47337 #define HAVE_STRTOLD 1
47338 _ACEOF
47339
47340 fi
47341 done
47342
47343 fi
47344
47345
47346
47347
47348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47349 $as_echo_n "checking for strtof declaration... " >&6; }
47350 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47351 if ${glibcxx_cv_func_strtof_use+:} false; then :
47352 $as_echo_n "(cached) " >&6
47353 else
47354
47355
47356 ac_ext=cpp
47357 ac_cpp='$CXXCPP $CPPFLAGS'
47358 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47359 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47360 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47361
47362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47363 /* end confdefs.h. */
47364 #include <stdlib.h>
47365 int
47366 main ()
47367 {
47368 strtof(0, 0);
47369 ;
47370 return 0;
47371 }
47372 _ACEOF
47373 if ac_fn_cxx_try_compile "$LINENO"; then :
47374 glibcxx_cv_func_strtof_use=yes
47375 else
47376 glibcxx_cv_func_strtof_use=no
47377 fi
47378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47379 ac_ext=c
47380 ac_cpp='$CPP $CPPFLAGS'
47381 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47382 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47383 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47384
47385
47386 fi
47387
47388 fi
47389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47390 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47391 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47392 for ac_func in strtof
47393 do :
47394 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47395 if test "x$ac_cv_func_strtof" = xyes; then :
47396 cat >>confdefs.h <<_ACEOF
47397 #define HAVE_STRTOF 1
47398 _ACEOF
47399
47400 fi
47401 done
47402
47403 fi
47404
47405
47406
47407
47408 CXXFLAGS="$ac_save_CXXFLAGS"
47409
47410 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
47411
47412 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
47413
47414 # We don't yet support AIX's TLS ABI.
47415 #GCC_CHECK_TLS
47416
47417
47418
47419
47420
47421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
47422 $as_echo_n "checking for iconv... " >&6; }
47423 if ${am_cv_func_iconv+:} false; then :
47424 $as_echo_n "(cached) " >&6
47425 else
47426
47427 am_cv_func_iconv="no, consider installing GNU libiconv"
47428 am_cv_lib_iconv=no
47429 am_save_CPPFLAGS="$CPPFLAGS"
47430 CPPFLAGS="$CPPFLAGS $INCICONV"
47431 if test x$gcc_no_link = xyes; then
47432 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47433 fi
47434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47435 /* end confdefs.h. */
47436 #include <stdlib.h>
47437 #include <iconv.h>
47438 int
47439 main ()
47440 {
47441 iconv_t cd = iconv_open("","");
47442 iconv(cd,NULL,NULL,NULL,NULL);
47443 iconv_close(cd);
47444 ;
47445 return 0;
47446 }
47447 _ACEOF
47448 if ac_fn_c_try_link "$LINENO"; then :
47449 am_cv_func_iconv=yes
47450 fi
47451 rm -f core conftest.err conftest.$ac_objext \
47452 conftest$ac_exeext conftest.$ac_ext
47453 CPPFLAGS="$am_save_CPPFLAGS"
47454
47455 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
47456 for _libs in .libs _libs; do
47457 am_save_CPPFLAGS="$CPPFLAGS"
47458 am_save_LIBS="$LIBS"
47459 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
47460 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
47461 if test x$gcc_no_link = xyes; then
47462 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47463 fi
47464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47465 /* end confdefs.h. */
47466 #include <stdlib.h>
47467 #include <iconv.h>
47468 int
47469 main ()
47470 {
47471 iconv_t cd = iconv_open("","");
47472 iconv(cd,NULL,NULL,NULL,NULL);
47473 iconv_close(cd);
47474 ;
47475 return 0;
47476 }
47477 _ACEOF
47478 if ac_fn_c_try_link "$LINENO"; then :
47479 INCICONV="-I../libiconv/include"
47480 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
47481 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
47482 am_cv_lib_iconv=yes
47483 am_cv_func_iconv=yes
47484 fi
47485 rm -f core conftest.err conftest.$ac_objext \
47486 conftest$ac_exeext conftest.$ac_ext
47487 CPPFLAGS="$am_save_CPPFLAGS"
47488 LIBS="$am_save_LIBS"
47489 if test "$am_cv_func_iconv" = "yes"; then
47490 break
47491 fi
47492 done
47493 fi
47494
47495 if test "$am_cv_func_iconv" != yes; then
47496 am_save_CPPFLAGS="$CPPFLAGS"
47497 am_save_LIBS="$LIBS"
47498 CPPFLAGS="$CPPFLAGS $INCICONV"
47499 LIBS="$LIBS $LIBICONV"
47500 if test x$gcc_no_link = xyes; then
47501 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47502 fi
47503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47504 /* end confdefs.h. */
47505 #include <stdlib.h>
47506 #include <iconv.h>
47507 int
47508 main ()
47509 {
47510 iconv_t cd = iconv_open("","");
47511 iconv(cd,NULL,NULL,NULL,NULL);
47512 iconv_close(cd);
47513 ;
47514 return 0;
47515 }
47516 _ACEOF
47517 if ac_fn_c_try_link "$LINENO"; then :
47518 am_cv_lib_iconv=yes
47519 am_cv_func_iconv=yes
47520 fi
47521 rm -f core conftest.err conftest.$ac_objext \
47522 conftest$ac_exeext conftest.$ac_ext
47523 CPPFLAGS="$am_save_CPPFLAGS"
47524 LIBS="$am_save_LIBS"
47525 fi
47526
47527 fi
47528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
47529 $as_echo "$am_cv_func_iconv" >&6; }
47530 if test "$am_cv_func_iconv" = yes; then
47531
47532 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
47533
47534 fi
47535 if test "$am_cv_lib_iconv" = yes; then
47536
47537 for element in $INCICONV; do
47538 haveit=
47539 for x in $CPPFLAGS; do
47540
47541 acl_save_prefix="$prefix"
47542 prefix="$acl_final_prefix"
47543 acl_save_exec_prefix="$exec_prefix"
47544 exec_prefix="$acl_final_exec_prefix"
47545 eval x=\"$x\"
47546 exec_prefix="$acl_save_exec_prefix"
47547 prefix="$acl_save_prefix"
47548
47549 if test "X$x" = "X$element"; then
47550 haveit=yes
47551 break
47552 fi
47553 done
47554 if test -z "$haveit"; then
47555 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
47556 fi
47557 done
47558
47559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
47560 $as_echo_n "checking how to link with libiconv... " >&6; }
47561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
47562 $as_echo "$LIBICONV" >&6; }
47563 else
47564 LIBICONV=
47565 LTLIBICONV=
47566 fi
47567
47568
47569
47570 if test "$am_cv_func_iconv" = yes; then
47571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
47572 $as_echo_n "checking for iconv declaration... " >&6; }
47573 if ${am_cv_proto_iconv+:} false; then :
47574 $as_echo_n "(cached) " >&6
47575 else
47576
47577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47578 /* end confdefs.h. */
47579
47580 #include <stdlib.h>
47581 #include <iconv.h>
47582 extern
47583 #ifdef __cplusplus
47584 "C"
47585 #endif
47586 #if defined(__STDC__) || defined(__cplusplus)
47587 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
47588 #else
47589 size_t iconv();
47590 #endif
47591
47592 int
47593 main ()
47594 {
47595
47596 ;
47597 return 0;
47598 }
47599 _ACEOF
47600 if ac_fn_c_try_compile "$LINENO"; then :
47601 am_cv_proto_iconv_arg1=""
47602 else
47603 am_cv_proto_iconv_arg1="const"
47604 fi
47605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47606 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);"
47607 fi
47608
47609 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
47610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
47611 }$am_cv_proto_iconv" >&5
47612 $as_echo "${ac_t:-
47613 }$am_cv_proto_iconv" >&6; }
47614
47615 cat >>confdefs.h <<_ACEOF
47616 #define ICONV_CONST $am_cv_proto_iconv_arg1
47617 _ACEOF
47618
47619 fi
47620
47621 ;;
47622
47623 *-darwin*)
47624 # Darwin versions vary, but the linker should work in a cross environment,
47625 # so we just check for all the features here.
47626 # Check for available headers.
47627
47628 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
47629
47630 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47631 ac_save_CXXFLAGS="$CXXFLAGS"
47632 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
47633
47634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
47635 $as_echo_n "checking for sin in -lm... " >&6; }
47636 if ${ac_cv_lib_m_sin+:} false; then :
47637 $as_echo_n "(cached) " >&6
47638 else
47639 ac_check_lib_save_LIBS=$LIBS
47640 LIBS="-lm $LIBS"
47641 if test x$gcc_no_link = xyes; then
47642 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47643 fi
47644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47645 /* end confdefs.h. */
47646
47647 /* Override any GCC internal prototype to avoid an error.
47648 Use char because int might match the return type of a GCC
47649 builtin and then its argument prototype would still apply. */
47650 #ifdef __cplusplus
47651 extern "C"
47652 #endif
47653 char sin ();
47654 int
47655 main ()
47656 {
47657 return sin ();
47658 ;
47659 return 0;
47660 }
47661 _ACEOF
47662 if ac_fn_c_try_link "$LINENO"; then :
47663 ac_cv_lib_m_sin=yes
47664 else
47665 ac_cv_lib_m_sin=no
47666 fi
47667 rm -f core conftest.err conftest.$ac_objext \
47668 conftest$ac_exeext conftest.$ac_ext
47669 LIBS=$ac_check_lib_save_LIBS
47670 fi
47671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
47672 $as_echo "$ac_cv_lib_m_sin" >&6; }
47673 if test "x$ac_cv_lib_m_sin" = xyes; then :
47674 libm="-lm"
47675 fi
47676
47677 ac_save_LIBS="$LIBS"
47678 LIBS="$LIBS $libm"
47679
47680
47681
47682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
47683 $as_echo_n "checking for isinf declaration... " >&6; }
47684 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
47685 if ${glibcxx_cv_func_isinf_use+:} false; then :
47686 $as_echo_n "(cached) " >&6
47687 else
47688
47689
47690 ac_ext=cpp
47691 ac_cpp='$CXXCPP $CPPFLAGS'
47692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47695
47696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47697 /* end confdefs.h. */
47698 #include <math.h>
47699 #ifdef HAVE_IEEEFP_H
47700 #include <ieeefp.h>
47701 #endif
47702
47703 int
47704 main ()
47705 {
47706 isinf(0);
47707 ;
47708 return 0;
47709 }
47710 _ACEOF
47711 if ac_fn_cxx_try_compile "$LINENO"; then :
47712 glibcxx_cv_func_isinf_use=yes
47713 else
47714 glibcxx_cv_func_isinf_use=no
47715 fi
47716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47717 ac_ext=c
47718 ac_cpp='$CPP $CPPFLAGS'
47719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47722
47723
47724 fi
47725
47726 fi
47727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
47728 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
47729
47730 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
47731 for ac_func in isinf
47732 do :
47733 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
47734 if test "x$ac_cv_func_isinf" = xyes; then :
47735 cat >>confdefs.h <<_ACEOF
47736 #define HAVE_ISINF 1
47737 _ACEOF
47738
47739 fi
47740 done
47741
47742 else
47743
47744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
47745 $as_echo_n "checking for _isinf declaration... " >&6; }
47746 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
47747 if ${glibcxx_cv_func__isinf_use+:} false; then :
47748 $as_echo_n "(cached) " >&6
47749 else
47750
47751
47752 ac_ext=cpp
47753 ac_cpp='$CXXCPP $CPPFLAGS'
47754 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47755 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47756 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47757
47758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47759 /* end confdefs.h. */
47760 #include <math.h>
47761 #ifdef HAVE_IEEEFP_H
47762 #include <ieeefp.h>
47763 #endif
47764
47765 int
47766 main ()
47767 {
47768 _isinf(0);
47769 ;
47770 return 0;
47771 }
47772 _ACEOF
47773 if ac_fn_cxx_try_compile "$LINENO"; then :
47774 glibcxx_cv_func__isinf_use=yes
47775 else
47776 glibcxx_cv_func__isinf_use=no
47777 fi
47778 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47779 ac_ext=c
47780 ac_cpp='$CPP $CPPFLAGS'
47781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47784
47785
47786 fi
47787
47788 fi
47789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
47790 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
47791
47792 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
47793 for ac_func in _isinf
47794 do :
47795 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
47796 if test "x$ac_cv_func__isinf" = xyes; then :
47797 cat >>confdefs.h <<_ACEOF
47798 #define HAVE__ISINF 1
47799 _ACEOF
47800
47801 fi
47802 done
47803
47804 fi
47805 fi
47806
47807
47808
47809
47810
47811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
47812 $as_echo_n "checking for isnan declaration... " >&6; }
47813 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
47814 if ${glibcxx_cv_func_isnan_use+:} false; then :
47815 $as_echo_n "(cached) " >&6
47816 else
47817
47818
47819 ac_ext=cpp
47820 ac_cpp='$CXXCPP $CPPFLAGS'
47821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47824
47825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47826 /* end confdefs.h. */
47827 #include <math.h>
47828 #ifdef HAVE_IEEEFP_H
47829 #include <ieeefp.h>
47830 #endif
47831
47832 int
47833 main ()
47834 {
47835 isnan(0);
47836 ;
47837 return 0;
47838 }
47839 _ACEOF
47840 if ac_fn_cxx_try_compile "$LINENO"; then :
47841 glibcxx_cv_func_isnan_use=yes
47842 else
47843 glibcxx_cv_func_isnan_use=no
47844 fi
47845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47846 ac_ext=c
47847 ac_cpp='$CPP $CPPFLAGS'
47848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47851
47852
47853 fi
47854
47855 fi
47856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
47857 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
47858
47859 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
47860 for ac_func in isnan
47861 do :
47862 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
47863 if test "x$ac_cv_func_isnan" = xyes; then :
47864 cat >>confdefs.h <<_ACEOF
47865 #define HAVE_ISNAN 1
47866 _ACEOF
47867
47868 fi
47869 done
47870
47871 else
47872
47873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
47874 $as_echo_n "checking for _isnan declaration... " >&6; }
47875 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
47876 if ${glibcxx_cv_func__isnan_use+:} false; then :
47877 $as_echo_n "(cached) " >&6
47878 else
47879
47880
47881 ac_ext=cpp
47882 ac_cpp='$CXXCPP $CPPFLAGS'
47883 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47884 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47885 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47886
47887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47888 /* end confdefs.h. */
47889 #include <math.h>
47890 #ifdef HAVE_IEEEFP_H
47891 #include <ieeefp.h>
47892 #endif
47893
47894 int
47895 main ()
47896 {
47897 _isnan(0);
47898 ;
47899 return 0;
47900 }
47901 _ACEOF
47902 if ac_fn_cxx_try_compile "$LINENO"; then :
47903 glibcxx_cv_func__isnan_use=yes
47904 else
47905 glibcxx_cv_func__isnan_use=no
47906 fi
47907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47908 ac_ext=c
47909 ac_cpp='$CPP $CPPFLAGS'
47910 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47911 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47912 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47913
47914
47915 fi
47916
47917 fi
47918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
47919 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
47920
47921 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
47922 for ac_func in _isnan
47923 do :
47924 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
47925 if test "x$ac_cv_func__isnan" = xyes; then :
47926 cat >>confdefs.h <<_ACEOF
47927 #define HAVE__ISNAN 1
47928 _ACEOF
47929
47930 fi
47931 done
47932
47933 fi
47934 fi
47935
47936
47937
47938
47939
47940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
47941 $as_echo_n "checking for finite declaration... " >&6; }
47942 if test x${glibcxx_cv_func_finite_use+set} != xset; then
47943 if ${glibcxx_cv_func_finite_use+:} false; then :
47944 $as_echo_n "(cached) " >&6
47945 else
47946
47947
47948 ac_ext=cpp
47949 ac_cpp='$CXXCPP $CPPFLAGS'
47950 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47951 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47952 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47953
47954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47955 /* end confdefs.h. */
47956 #include <math.h>
47957 #ifdef HAVE_IEEEFP_H
47958 #include <ieeefp.h>
47959 #endif
47960
47961 int
47962 main ()
47963 {
47964 finite(0);
47965 ;
47966 return 0;
47967 }
47968 _ACEOF
47969 if ac_fn_cxx_try_compile "$LINENO"; then :
47970 glibcxx_cv_func_finite_use=yes
47971 else
47972 glibcxx_cv_func_finite_use=no
47973 fi
47974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47975 ac_ext=c
47976 ac_cpp='$CPP $CPPFLAGS'
47977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47980
47981
47982 fi
47983
47984 fi
47985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
47986 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
47987
47988 if test x$glibcxx_cv_func_finite_use = x"yes"; then
47989 for ac_func in finite
47990 do :
47991 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
47992 if test "x$ac_cv_func_finite" = xyes; then :
47993 cat >>confdefs.h <<_ACEOF
47994 #define HAVE_FINITE 1
47995 _ACEOF
47996
47997 fi
47998 done
47999
48000 else
48001
48002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48003 $as_echo_n "checking for _finite declaration... " >&6; }
48004 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48005 if ${glibcxx_cv_func__finite_use+:} false; then :
48006 $as_echo_n "(cached) " >&6
48007 else
48008
48009
48010 ac_ext=cpp
48011 ac_cpp='$CXXCPP $CPPFLAGS'
48012 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48013 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48014 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48015
48016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48017 /* end confdefs.h. */
48018 #include <math.h>
48019 #ifdef HAVE_IEEEFP_H
48020 #include <ieeefp.h>
48021 #endif
48022
48023 int
48024 main ()
48025 {
48026 _finite(0);
48027 ;
48028 return 0;
48029 }
48030 _ACEOF
48031 if ac_fn_cxx_try_compile "$LINENO"; then :
48032 glibcxx_cv_func__finite_use=yes
48033 else
48034 glibcxx_cv_func__finite_use=no
48035 fi
48036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48037 ac_ext=c
48038 ac_cpp='$CPP $CPPFLAGS'
48039 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48040 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48041 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48042
48043
48044 fi
48045
48046 fi
48047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48048 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48049
48050 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48051 for ac_func in _finite
48052 do :
48053 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48054 if test "x$ac_cv_func__finite" = xyes; then :
48055 cat >>confdefs.h <<_ACEOF
48056 #define HAVE__FINITE 1
48057 _ACEOF
48058
48059 fi
48060 done
48061
48062 fi
48063 fi
48064
48065
48066
48067
48068
48069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48070 $as_echo_n "checking for sincos declaration... " >&6; }
48071 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48072 if ${glibcxx_cv_func_sincos_use+:} false; then :
48073 $as_echo_n "(cached) " >&6
48074 else
48075
48076
48077 ac_ext=cpp
48078 ac_cpp='$CXXCPP $CPPFLAGS'
48079 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48080 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48081 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48082
48083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48084 /* end confdefs.h. */
48085 #include <math.h>
48086 int
48087 main ()
48088 {
48089 sincos(0, 0, 0);
48090 ;
48091 return 0;
48092 }
48093 _ACEOF
48094 if ac_fn_cxx_try_compile "$LINENO"; then :
48095 glibcxx_cv_func_sincos_use=yes
48096 else
48097 glibcxx_cv_func_sincos_use=no
48098 fi
48099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48100 ac_ext=c
48101 ac_cpp='$CPP $CPPFLAGS'
48102 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48103 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48104 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48105
48106
48107 fi
48108
48109 fi
48110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48111 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48112
48113 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48114 for ac_func in sincos
48115 do :
48116 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48117 if test "x$ac_cv_func_sincos" = xyes; then :
48118 cat >>confdefs.h <<_ACEOF
48119 #define HAVE_SINCOS 1
48120 _ACEOF
48121
48122 fi
48123 done
48124
48125 else
48126
48127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48128 $as_echo_n "checking for _sincos declaration... " >&6; }
48129 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48130 if ${glibcxx_cv_func__sincos_use+:} false; then :
48131 $as_echo_n "(cached) " >&6
48132 else
48133
48134
48135 ac_ext=cpp
48136 ac_cpp='$CXXCPP $CPPFLAGS'
48137 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48138 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48139 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48140
48141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48142 /* end confdefs.h. */
48143 #include <math.h>
48144 int
48145 main ()
48146 {
48147 _sincos(0, 0, 0);
48148 ;
48149 return 0;
48150 }
48151 _ACEOF
48152 if ac_fn_cxx_try_compile "$LINENO"; then :
48153 glibcxx_cv_func__sincos_use=yes
48154 else
48155 glibcxx_cv_func__sincos_use=no
48156 fi
48157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48158 ac_ext=c
48159 ac_cpp='$CPP $CPPFLAGS'
48160 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48161 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48162 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48163
48164
48165 fi
48166
48167 fi
48168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48169 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48170
48171 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48172 for ac_func in _sincos
48173 do :
48174 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48175 if test "x$ac_cv_func__sincos" = xyes; then :
48176 cat >>confdefs.h <<_ACEOF
48177 #define HAVE__SINCOS 1
48178 _ACEOF
48179
48180 fi
48181 done
48182
48183 fi
48184 fi
48185
48186
48187
48188
48189
48190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48191 $as_echo_n "checking for fpclass declaration... " >&6; }
48192 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48193 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48194 $as_echo_n "(cached) " >&6
48195 else
48196
48197
48198 ac_ext=cpp
48199 ac_cpp='$CXXCPP $CPPFLAGS'
48200 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48201 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48202 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48203
48204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48205 /* end confdefs.h. */
48206 #include <math.h>
48207 #ifdef HAVE_IEEEFP_H
48208 #include <ieeefp.h>
48209 #endif
48210
48211 int
48212 main ()
48213 {
48214 fpclass(0);
48215 ;
48216 return 0;
48217 }
48218 _ACEOF
48219 if ac_fn_cxx_try_compile "$LINENO"; then :
48220 glibcxx_cv_func_fpclass_use=yes
48221 else
48222 glibcxx_cv_func_fpclass_use=no
48223 fi
48224 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48225 ac_ext=c
48226 ac_cpp='$CPP $CPPFLAGS'
48227 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48228 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48229 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48230
48231
48232 fi
48233
48234 fi
48235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48236 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48237
48238 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48239 for ac_func in fpclass
48240 do :
48241 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48242 if test "x$ac_cv_func_fpclass" = xyes; then :
48243 cat >>confdefs.h <<_ACEOF
48244 #define HAVE_FPCLASS 1
48245 _ACEOF
48246
48247 fi
48248 done
48249
48250 else
48251
48252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48253 $as_echo_n "checking for _fpclass declaration... " >&6; }
48254 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48255 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48256 $as_echo_n "(cached) " >&6
48257 else
48258
48259
48260 ac_ext=cpp
48261 ac_cpp='$CXXCPP $CPPFLAGS'
48262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48265
48266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48267 /* end confdefs.h. */
48268 #include <math.h>
48269 #ifdef HAVE_IEEEFP_H
48270 #include <ieeefp.h>
48271 #endif
48272
48273 int
48274 main ()
48275 {
48276 _fpclass(0);
48277 ;
48278 return 0;
48279 }
48280 _ACEOF
48281 if ac_fn_cxx_try_compile "$LINENO"; then :
48282 glibcxx_cv_func__fpclass_use=yes
48283 else
48284 glibcxx_cv_func__fpclass_use=no
48285 fi
48286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48287 ac_ext=c
48288 ac_cpp='$CPP $CPPFLAGS'
48289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48292
48293
48294 fi
48295
48296 fi
48297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48298 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48299
48300 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48301 for ac_func in _fpclass
48302 do :
48303 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48304 if test "x$ac_cv_func__fpclass" = xyes; then :
48305 cat >>confdefs.h <<_ACEOF
48306 #define HAVE__FPCLASS 1
48307 _ACEOF
48308
48309 fi
48310 done
48311
48312 fi
48313 fi
48314
48315
48316
48317
48318
48319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48320 $as_echo_n "checking for qfpclass declaration... " >&6; }
48321 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48322 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48323 $as_echo_n "(cached) " >&6
48324 else
48325
48326
48327 ac_ext=cpp
48328 ac_cpp='$CXXCPP $CPPFLAGS'
48329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48332
48333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48334 /* end confdefs.h. */
48335 #include <math.h>
48336 #ifdef HAVE_IEEEFP_H
48337 #include <ieeefp.h>
48338 #endif
48339
48340 int
48341 main ()
48342 {
48343 qfpclass(0);
48344 ;
48345 return 0;
48346 }
48347 _ACEOF
48348 if ac_fn_cxx_try_compile "$LINENO"; then :
48349 glibcxx_cv_func_qfpclass_use=yes
48350 else
48351 glibcxx_cv_func_qfpclass_use=no
48352 fi
48353 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48354 ac_ext=c
48355 ac_cpp='$CPP $CPPFLAGS'
48356 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48357 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48358 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48359
48360
48361 fi
48362
48363 fi
48364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48365 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48366
48367 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48368 for ac_func in qfpclass
48369 do :
48370 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48371 if test "x$ac_cv_func_qfpclass" = xyes; then :
48372 cat >>confdefs.h <<_ACEOF
48373 #define HAVE_QFPCLASS 1
48374 _ACEOF
48375
48376 fi
48377 done
48378
48379 else
48380
48381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48382 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48383 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48384 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48385 $as_echo_n "(cached) " >&6
48386 else
48387
48388
48389 ac_ext=cpp
48390 ac_cpp='$CXXCPP $CPPFLAGS'
48391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48394
48395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48396 /* end confdefs.h. */
48397 #include <math.h>
48398 #ifdef HAVE_IEEEFP_H
48399 #include <ieeefp.h>
48400 #endif
48401
48402 int
48403 main ()
48404 {
48405 _qfpclass(0);
48406 ;
48407 return 0;
48408 }
48409 _ACEOF
48410 if ac_fn_cxx_try_compile "$LINENO"; then :
48411 glibcxx_cv_func__qfpclass_use=yes
48412 else
48413 glibcxx_cv_func__qfpclass_use=no
48414 fi
48415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48416 ac_ext=c
48417 ac_cpp='$CPP $CPPFLAGS'
48418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48421
48422
48423 fi
48424
48425 fi
48426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48427 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48428
48429 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48430 for ac_func in _qfpclass
48431 do :
48432 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48433 if test "x$ac_cv_func__qfpclass" = xyes; then :
48434 cat >>confdefs.h <<_ACEOF
48435 #define HAVE__QFPCLASS 1
48436 _ACEOF
48437
48438 fi
48439 done
48440
48441 fi
48442 fi
48443
48444
48445
48446
48447
48448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48449 $as_echo_n "checking for hypot declaration... " >&6; }
48450 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48451 if ${glibcxx_cv_func_hypot_use+:} false; then :
48452 $as_echo_n "(cached) " >&6
48453 else
48454
48455
48456 ac_ext=cpp
48457 ac_cpp='$CXXCPP $CPPFLAGS'
48458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48461
48462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48463 /* end confdefs.h. */
48464 #include <math.h>
48465 int
48466 main ()
48467 {
48468 hypot(0, 0);
48469 ;
48470 return 0;
48471 }
48472 _ACEOF
48473 if ac_fn_cxx_try_compile "$LINENO"; then :
48474 glibcxx_cv_func_hypot_use=yes
48475 else
48476 glibcxx_cv_func_hypot_use=no
48477 fi
48478 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48479 ac_ext=c
48480 ac_cpp='$CPP $CPPFLAGS'
48481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48484
48485
48486 fi
48487
48488 fi
48489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48490 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48491
48492 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48493 for ac_func in hypot
48494 do :
48495 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48496 if test "x$ac_cv_func_hypot" = xyes; then :
48497 cat >>confdefs.h <<_ACEOF
48498 #define HAVE_HYPOT 1
48499 _ACEOF
48500
48501 fi
48502 done
48503
48504 else
48505
48506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48507 $as_echo_n "checking for _hypot declaration... " >&6; }
48508 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48509 if ${glibcxx_cv_func__hypot_use+:} false; then :
48510 $as_echo_n "(cached) " >&6
48511 else
48512
48513
48514 ac_ext=cpp
48515 ac_cpp='$CXXCPP $CPPFLAGS'
48516 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48517 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48518 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48519
48520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48521 /* end confdefs.h. */
48522 #include <math.h>
48523 int
48524 main ()
48525 {
48526 _hypot(0, 0);
48527 ;
48528 return 0;
48529 }
48530 _ACEOF
48531 if ac_fn_cxx_try_compile "$LINENO"; then :
48532 glibcxx_cv_func__hypot_use=yes
48533 else
48534 glibcxx_cv_func__hypot_use=no
48535 fi
48536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48537 ac_ext=c
48538 ac_cpp='$CPP $CPPFLAGS'
48539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48542
48543
48544 fi
48545
48546 fi
48547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48548 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48549
48550 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48551 for ac_func in _hypot
48552 do :
48553 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48554 if test "x$ac_cv_func__hypot" = xyes; then :
48555 cat >>confdefs.h <<_ACEOF
48556 #define HAVE__HYPOT 1
48557 _ACEOF
48558
48559 fi
48560 done
48561
48562 fi
48563 fi
48564
48565
48566
48567
48568
48569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48570 $as_echo_n "checking for float trig functions... " >&6; }
48571 if ${glibcxx_cv_func_float_trig_use+:} false; then :
48572 $as_echo_n "(cached) " >&6
48573 else
48574
48575
48576 ac_ext=cpp
48577 ac_cpp='$CXXCPP $CPPFLAGS'
48578 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48579 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48580 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48581
48582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48583 /* end confdefs.h. */
48584 #include <math.h>
48585 int
48586 main ()
48587 {
48588 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48589 ;
48590 return 0;
48591 }
48592 _ACEOF
48593 if ac_fn_cxx_try_compile "$LINENO"; then :
48594 glibcxx_cv_func_float_trig_use=yes
48595 else
48596 glibcxx_cv_func_float_trig_use=no
48597 fi
48598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48599 ac_ext=c
48600 ac_cpp='$CPP $CPPFLAGS'
48601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48604
48605 fi
48606
48607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
48608 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
48609 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
48610 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
48611 do :
48612 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48613 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48614 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48615 cat >>confdefs.h <<_ACEOF
48616 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48617 _ACEOF
48618
48619 fi
48620 done
48621
48622 else
48623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
48624 $as_echo_n "checking for _float trig functions... " >&6; }
48625 if ${glibcxx_cv_func__float_trig_use+:} false; then :
48626 $as_echo_n "(cached) " >&6
48627 else
48628
48629
48630 ac_ext=cpp
48631 ac_cpp='$CXXCPP $CPPFLAGS'
48632 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48633 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48634 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48635
48636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48637 /* end confdefs.h. */
48638 #include <math.h>
48639 int
48640 main ()
48641 {
48642 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
48643 ;
48644 return 0;
48645 }
48646 _ACEOF
48647 if ac_fn_cxx_try_compile "$LINENO"; then :
48648 glibcxx_cv_func__float_trig_use=yes
48649 else
48650 glibcxx_cv_func__float_trig_use=no
48651 fi
48652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48653 ac_ext=c
48654 ac_cpp='$CPP $CPPFLAGS'
48655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48658
48659 fi
48660
48661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
48662 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
48663 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
48664 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
48665 do :
48666 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48667 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48668 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48669 cat >>confdefs.h <<_ACEOF
48670 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48671 _ACEOF
48672
48673 fi
48674 done
48675
48676 fi
48677 fi
48678
48679
48680
48681
48682
48683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
48684 $as_echo_n "checking for float round functions... " >&6; }
48685 if ${glibcxx_cv_func_float_round_use+:} false; then :
48686 $as_echo_n "(cached) " >&6
48687 else
48688
48689
48690 ac_ext=cpp
48691 ac_cpp='$CXXCPP $CPPFLAGS'
48692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48695
48696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48697 /* end confdefs.h. */
48698 #include <math.h>
48699 int
48700 main ()
48701 {
48702 ceilf (0); floorf (0);
48703 ;
48704 return 0;
48705 }
48706 _ACEOF
48707 if ac_fn_cxx_try_compile "$LINENO"; then :
48708 glibcxx_cv_func_float_round_use=yes
48709 else
48710 glibcxx_cv_func_float_round_use=no
48711 fi
48712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48713 ac_ext=c
48714 ac_cpp='$CPP $CPPFLAGS'
48715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48718
48719 fi
48720
48721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
48722 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
48723 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
48724 for ac_func in ceilf floorf
48725 do :
48726 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48728 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48729 cat >>confdefs.h <<_ACEOF
48730 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48731 _ACEOF
48732
48733 fi
48734 done
48735
48736 else
48737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
48738 $as_echo_n "checking for _float round functions... " >&6; }
48739 if ${glibcxx_cv_func__float_round_use+:} false; then :
48740 $as_echo_n "(cached) " >&6
48741 else
48742
48743
48744 ac_ext=cpp
48745 ac_cpp='$CXXCPP $CPPFLAGS'
48746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48749
48750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48751 /* end confdefs.h. */
48752 #include <math.h>
48753 int
48754 main ()
48755 {
48756 _ceilf (0); _floorf (0);
48757 ;
48758 return 0;
48759 }
48760 _ACEOF
48761 if ac_fn_cxx_try_compile "$LINENO"; then :
48762 glibcxx_cv_func__float_round_use=yes
48763 else
48764 glibcxx_cv_func__float_round_use=no
48765 fi
48766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48767 ac_ext=c
48768 ac_cpp='$CPP $CPPFLAGS'
48769 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48770 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48771 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48772
48773 fi
48774
48775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
48776 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
48777 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
48778 for ac_func in _ceilf _floorf
48779 do :
48780 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
48781 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
48782 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
48783 cat >>confdefs.h <<_ACEOF
48784 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
48785 _ACEOF
48786
48787 fi
48788 done
48789
48790 fi
48791 fi
48792
48793
48794
48795
48796
48797
48798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
48799 $as_echo_n "checking for expf declaration... " >&6; }
48800 if test x${glibcxx_cv_func_expf_use+set} != xset; then
48801 if ${glibcxx_cv_func_expf_use+:} false; then :
48802 $as_echo_n "(cached) " >&6
48803 else
48804
48805
48806 ac_ext=cpp
48807 ac_cpp='$CXXCPP $CPPFLAGS'
48808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48811
48812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48813 /* end confdefs.h. */
48814 #include <math.h>
48815 #ifdef HAVE_IEEEFP_H
48816 #include <ieeefp.h>
48817 #endif
48818
48819 int
48820 main ()
48821 {
48822 expf(0);
48823 ;
48824 return 0;
48825 }
48826 _ACEOF
48827 if ac_fn_cxx_try_compile "$LINENO"; then :
48828 glibcxx_cv_func_expf_use=yes
48829 else
48830 glibcxx_cv_func_expf_use=no
48831 fi
48832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48833 ac_ext=c
48834 ac_cpp='$CPP $CPPFLAGS'
48835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48838
48839
48840 fi
48841
48842 fi
48843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
48844 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
48845
48846 if test x$glibcxx_cv_func_expf_use = x"yes"; then
48847 for ac_func in expf
48848 do :
48849 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
48850 if test "x$ac_cv_func_expf" = xyes; then :
48851 cat >>confdefs.h <<_ACEOF
48852 #define HAVE_EXPF 1
48853 _ACEOF
48854
48855 fi
48856 done
48857
48858 else
48859
48860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
48861 $as_echo_n "checking for _expf declaration... " >&6; }
48862 if test x${glibcxx_cv_func__expf_use+set} != xset; then
48863 if ${glibcxx_cv_func__expf_use+:} false; then :
48864 $as_echo_n "(cached) " >&6
48865 else
48866
48867
48868 ac_ext=cpp
48869 ac_cpp='$CXXCPP $CPPFLAGS'
48870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48873
48874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48875 /* end confdefs.h. */
48876 #include <math.h>
48877 #ifdef HAVE_IEEEFP_H
48878 #include <ieeefp.h>
48879 #endif
48880
48881 int
48882 main ()
48883 {
48884 _expf(0);
48885 ;
48886 return 0;
48887 }
48888 _ACEOF
48889 if ac_fn_cxx_try_compile "$LINENO"; then :
48890 glibcxx_cv_func__expf_use=yes
48891 else
48892 glibcxx_cv_func__expf_use=no
48893 fi
48894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48895 ac_ext=c
48896 ac_cpp='$CPP $CPPFLAGS'
48897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48900
48901
48902 fi
48903
48904 fi
48905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
48906 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
48907
48908 if test x$glibcxx_cv_func__expf_use = x"yes"; then
48909 for ac_func in _expf
48910 do :
48911 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
48912 if test "x$ac_cv_func__expf" = xyes; then :
48913 cat >>confdefs.h <<_ACEOF
48914 #define HAVE__EXPF 1
48915 _ACEOF
48916
48917 fi
48918 done
48919
48920 fi
48921 fi
48922
48923
48924
48925
48926
48927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
48928 $as_echo_n "checking for isnanf declaration... " >&6; }
48929 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
48930 if ${glibcxx_cv_func_isnanf_use+:} false; then :
48931 $as_echo_n "(cached) " >&6
48932 else
48933
48934
48935 ac_ext=cpp
48936 ac_cpp='$CXXCPP $CPPFLAGS'
48937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48940
48941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48942 /* end confdefs.h. */
48943 #include <math.h>
48944 #ifdef HAVE_IEEEFP_H
48945 #include <ieeefp.h>
48946 #endif
48947
48948 int
48949 main ()
48950 {
48951 isnanf(0);
48952 ;
48953 return 0;
48954 }
48955 _ACEOF
48956 if ac_fn_cxx_try_compile "$LINENO"; then :
48957 glibcxx_cv_func_isnanf_use=yes
48958 else
48959 glibcxx_cv_func_isnanf_use=no
48960 fi
48961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48962 ac_ext=c
48963 ac_cpp='$CPP $CPPFLAGS'
48964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48967
48968
48969 fi
48970
48971 fi
48972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
48973 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
48974
48975 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
48976 for ac_func in isnanf
48977 do :
48978 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
48979 if test "x$ac_cv_func_isnanf" = xyes; then :
48980 cat >>confdefs.h <<_ACEOF
48981 #define HAVE_ISNANF 1
48982 _ACEOF
48983
48984 fi
48985 done
48986
48987 else
48988
48989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
48990 $as_echo_n "checking for _isnanf declaration... " >&6; }
48991 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
48992 if ${glibcxx_cv_func__isnanf_use+:} false; then :
48993 $as_echo_n "(cached) " >&6
48994 else
48995
48996
48997 ac_ext=cpp
48998 ac_cpp='$CXXCPP $CPPFLAGS'
48999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49002
49003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49004 /* end confdefs.h. */
49005 #include <math.h>
49006 #ifdef HAVE_IEEEFP_H
49007 #include <ieeefp.h>
49008 #endif
49009
49010 int
49011 main ()
49012 {
49013 _isnanf(0);
49014 ;
49015 return 0;
49016 }
49017 _ACEOF
49018 if ac_fn_cxx_try_compile "$LINENO"; then :
49019 glibcxx_cv_func__isnanf_use=yes
49020 else
49021 glibcxx_cv_func__isnanf_use=no
49022 fi
49023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49024 ac_ext=c
49025 ac_cpp='$CPP $CPPFLAGS'
49026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49029
49030
49031 fi
49032
49033 fi
49034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49035 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49036
49037 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49038 for ac_func in _isnanf
49039 do :
49040 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49041 if test "x$ac_cv_func__isnanf" = xyes; then :
49042 cat >>confdefs.h <<_ACEOF
49043 #define HAVE__ISNANF 1
49044 _ACEOF
49045
49046 fi
49047 done
49048
49049 fi
49050 fi
49051
49052
49053
49054
49055
49056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49057 $as_echo_n "checking for isinff declaration... " >&6; }
49058 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49059 if ${glibcxx_cv_func_isinff_use+:} false; then :
49060 $as_echo_n "(cached) " >&6
49061 else
49062
49063
49064 ac_ext=cpp
49065 ac_cpp='$CXXCPP $CPPFLAGS'
49066 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49067 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49068 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49069
49070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49071 /* end confdefs.h. */
49072 #include <math.h>
49073 #ifdef HAVE_IEEEFP_H
49074 #include <ieeefp.h>
49075 #endif
49076
49077 int
49078 main ()
49079 {
49080 isinff(0);
49081 ;
49082 return 0;
49083 }
49084 _ACEOF
49085 if ac_fn_cxx_try_compile "$LINENO"; then :
49086 glibcxx_cv_func_isinff_use=yes
49087 else
49088 glibcxx_cv_func_isinff_use=no
49089 fi
49090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49091 ac_ext=c
49092 ac_cpp='$CPP $CPPFLAGS'
49093 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49094 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49095 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49096
49097
49098 fi
49099
49100 fi
49101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49102 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49103
49104 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49105 for ac_func in isinff
49106 do :
49107 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49108 if test "x$ac_cv_func_isinff" = xyes; then :
49109 cat >>confdefs.h <<_ACEOF
49110 #define HAVE_ISINFF 1
49111 _ACEOF
49112
49113 fi
49114 done
49115
49116 else
49117
49118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49119 $as_echo_n "checking for _isinff declaration... " >&6; }
49120 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49121 if ${glibcxx_cv_func__isinff_use+:} false; then :
49122 $as_echo_n "(cached) " >&6
49123 else
49124
49125
49126 ac_ext=cpp
49127 ac_cpp='$CXXCPP $CPPFLAGS'
49128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49131
49132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49133 /* end confdefs.h. */
49134 #include <math.h>
49135 #ifdef HAVE_IEEEFP_H
49136 #include <ieeefp.h>
49137 #endif
49138
49139 int
49140 main ()
49141 {
49142 _isinff(0);
49143 ;
49144 return 0;
49145 }
49146 _ACEOF
49147 if ac_fn_cxx_try_compile "$LINENO"; then :
49148 glibcxx_cv_func__isinff_use=yes
49149 else
49150 glibcxx_cv_func__isinff_use=no
49151 fi
49152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49153 ac_ext=c
49154 ac_cpp='$CPP $CPPFLAGS'
49155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49158
49159
49160 fi
49161
49162 fi
49163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49164 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49165
49166 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49167 for ac_func in _isinff
49168 do :
49169 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49170 if test "x$ac_cv_func__isinff" = xyes; then :
49171 cat >>confdefs.h <<_ACEOF
49172 #define HAVE__ISINFF 1
49173 _ACEOF
49174
49175 fi
49176 done
49177
49178 fi
49179 fi
49180
49181
49182
49183
49184
49185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49186 $as_echo_n "checking for atan2f declaration... " >&6; }
49187 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49188 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49189 $as_echo_n "(cached) " >&6
49190 else
49191
49192
49193 ac_ext=cpp
49194 ac_cpp='$CXXCPP $CPPFLAGS'
49195 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49196 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49197 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49198
49199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49200 /* end confdefs.h. */
49201 #include <math.h>
49202 int
49203 main ()
49204 {
49205 atan2f(0, 0);
49206 ;
49207 return 0;
49208 }
49209 _ACEOF
49210 if ac_fn_cxx_try_compile "$LINENO"; then :
49211 glibcxx_cv_func_atan2f_use=yes
49212 else
49213 glibcxx_cv_func_atan2f_use=no
49214 fi
49215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49216 ac_ext=c
49217 ac_cpp='$CPP $CPPFLAGS'
49218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49221
49222
49223 fi
49224
49225 fi
49226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49227 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49228
49229 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49230 for ac_func in atan2f
49231 do :
49232 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49233 if test "x$ac_cv_func_atan2f" = xyes; then :
49234 cat >>confdefs.h <<_ACEOF
49235 #define HAVE_ATAN2F 1
49236 _ACEOF
49237
49238 fi
49239 done
49240
49241 else
49242
49243 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49244 $as_echo_n "checking for _atan2f declaration... " >&6; }
49245 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49246 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49247 $as_echo_n "(cached) " >&6
49248 else
49249
49250
49251 ac_ext=cpp
49252 ac_cpp='$CXXCPP $CPPFLAGS'
49253 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49254 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49255 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49256
49257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49258 /* end confdefs.h. */
49259 #include <math.h>
49260 int
49261 main ()
49262 {
49263 _atan2f(0, 0);
49264 ;
49265 return 0;
49266 }
49267 _ACEOF
49268 if ac_fn_cxx_try_compile "$LINENO"; then :
49269 glibcxx_cv_func__atan2f_use=yes
49270 else
49271 glibcxx_cv_func__atan2f_use=no
49272 fi
49273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49274 ac_ext=c
49275 ac_cpp='$CPP $CPPFLAGS'
49276 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49277 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49278 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49279
49280
49281 fi
49282
49283 fi
49284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49285 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49286
49287 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49288 for ac_func in _atan2f
49289 do :
49290 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49291 if test "x$ac_cv_func__atan2f" = xyes; then :
49292 cat >>confdefs.h <<_ACEOF
49293 #define HAVE__ATAN2F 1
49294 _ACEOF
49295
49296 fi
49297 done
49298
49299 fi
49300 fi
49301
49302
49303
49304
49305
49306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49307 $as_echo_n "checking for fabsf declaration... " >&6; }
49308 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49309 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49310 $as_echo_n "(cached) " >&6
49311 else
49312
49313
49314 ac_ext=cpp
49315 ac_cpp='$CXXCPP $CPPFLAGS'
49316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49319
49320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49321 /* end confdefs.h. */
49322 #include <math.h>
49323 #ifdef HAVE_IEEEFP_H
49324 #include <ieeefp.h>
49325 #endif
49326
49327 int
49328 main ()
49329 {
49330 fabsf(0);
49331 ;
49332 return 0;
49333 }
49334 _ACEOF
49335 if ac_fn_cxx_try_compile "$LINENO"; then :
49336 glibcxx_cv_func_fabsf_use=yes
49337 else
49338 glibcxx_cv_func_fabsf_use=no
49339 fi
49340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49341 ac_ext=c
49342 ac_cpp='$CPP $CPPFLAGS'
49343 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49344 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49345 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49346
49347
49348 fi
49349
49350 fi
49351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49352 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49353
49354 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49355 for ac_func in fabsf
49356 do :
49357 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49358 if test "x$ac_cv_func_fabsf" = xyes; then :
49359 cat >>confdefs.h <<_ACEOF
49360 #define HAVE_FABSF 1
49361 _ACEOF
49362
49363 fi
49364 done
49365
49366 else
49367
49368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49369 $as_echo_n "checking for _fabsf declaration... " >&6; }
49370 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49371 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49372 $as_echo_n "(cached) " >&6
49373 else
49374
49375
49376 ac_ext=cpp
49377 ac_cpp='$CXXCPP $CPPFLAGS'
49378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49381
49382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49383 /* end confdefs.h. */
49384 #include <math.h>
49385 #ifdef HAVE_IEEEFP_H
49386 #include <ieeefp.h>
49387 #endif
49388
49389 int
49390 main ()
49391 {
49392 _fabsf(0);
49393 ;
49394 return 0;
49395 }
49396 _ACEOF
49397 if ac_fn_cxx_try_compile "$LINENO"; then :
49398 glibcxx_cv_func__fabsf_use=yes
49399 else
49400 glibcxx_cv_func__fabsf_use=no
49401 fi
49402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49403 ac_ext=c
49404 ac_cpp='$CPP $CPPFLAGS'
49405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49408
49409
49410 fi
49411
49412 fi
49413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49414 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49415
49416 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49417 for ac_func in _fabsf
49418 do :
49419 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49420 if test "x$ac_cv_func__fabsf" = xyes; then :
49421 cat >>confdefs.h <<_ACEOF
49422 #define HAVE__FABSF 1
49423 _ACEOF
49424
49425 fi
49426 done
49427
49428 fi
49429 fi
49430
49431
49432
49433
49434
49435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49436 $as_echo_n "checking for fmodf declaration... " >&6; }
49437 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49438 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49439 $as_echo_n "(cached) " >&6
49440 else
49441
49442
49443 ac_ext=cpp
49444 ac_cpp='$CXXCPP $CPPFLAGS'
49445 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49446 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49447 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49448
49449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49450 /* end confdefs.h. */
49451 #include <math.h>
49452 int
49453 main ()
49454 {
49455 fmodf(0, 0);
49456 ;
49457 return 0;
49458 }
49459 _ACEOF
49460 if ac_fn_cxx_try_compile "$LINENO"; then :
49461 glibcxx_cv_func_fmodf_use=yes
49462 else
49463 glibcxx_cv_func_fmodf_use=no
49464 fi
49465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49466 ac_ext=c
49467 ac_cpp='$CPP $CPPFLAGS'
49468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49471
49472
49473 fi
49474
49475 fi
49476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49477 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49478
49479 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49480 for ac_func in fmodf
49481 do :
49482 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49483 if test "x$ac_cv_func_fmodf" = xyes; then :
49484 cat >>confdefs.h <<_ACEOF
49485 #define HAVE_FMODF 1
49486 _ACEOF
49487
49488 fi
49489 done
49490
49491 else
49492
49493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49494 $as_echo_n "checking for _fmodf declaration... " >&6; }
49495 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49496 if ${glibcxx_cv_func__fmodf_use+:} false; then :
49497 $as_echo_n "(cached) " >&6
49498 else
49499
49500
49501 ac_ext=cpp
49502 ac_cpp='$CXXCPP $CPPFLAGS'
49503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49506
49507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49508 /* end confdefs.h. */
49509 #include <math.h>
49510 int
49511 main ()
49512 {
49513 _fmodf(0, 0);
49514 ;
49515 return 0;
49516 }
49517 _ACEOF
49518 if ac_fn_cxx_try_compile "$LINENO"; then :
49519 glibcxx_cv_func__fmodf_use=yes
49520 else
49521 glibcxx_cv_func__fmodf_use=no
49522 fi
49523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49524 ac_ext=c
49525 ac_cpp='$CPP $CPPFLAGS'
49526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49529
49530
49531 fi
49532
49533 fi
49534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49535 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49536
49537 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49538 for ac_func in _fmodf
49539 do :
49540 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49541 if test "x$ac_cv_func__fmodf" = xyes; then :
49542 cat >>confdefs.h <<_ACEOF
49543 #define HAVE__FMODF 1
49544 _ACEOF
49545
49546 fi
49547 done
49548
49549 fi
49550 fi
49551
49552
49553
49554
49555
49556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49557 $as_echo_n "checking for frexpf declaration... " >&6; }
49558 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49559 if ${glibcxx_cv_func_frexpf_use+:} false; then :
49560 $as_echo_n "(cached) " >&6
49561 else
49562
49563
49564 ac_ext=cpp
49565 ac_cpp='$CXXCPP $CPPFLAGS'
49566 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49567 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49568 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49569
49570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49571 /* end confdefs.h. */
49572 #include <math.h>
49573 int
49574 main ()
49575 {
49576 frexpf(0, 0);
49577 ;
49578 return 0;
49579 }
49580 _ACEOF
49581 if ac_fn_cxx_try_compile "$LINENO"; then :
49582 glibcxx_cv_func_frexpf_use=yes
49583 else
49584 glibcxx_cv_func_frexpf_use=no
49585 fi
49586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49587 ac_ext=c
49588 ac_cpp='$CPP $CPPFLAGS'
49589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49592
49593
49594 fi
49595
49596 fi
49597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49598 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49599
49600 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49601 for ac_func in frexpf
49602 do :
49603 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
49604 if test "x$ac_cv_func_frexpf" = xyes; then :
49605 cat >>confdefs.h <<_ACEOF
49606 #define HAVE_FREXPF 1
49607 _ACEOF
49608
49609 fi
49610 done
49611
49612 else
49613
49614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
49615 $as_echo_n "checking for _frexpf declaration... " >&6; }
49616 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
49617 if ${glibcxx_cv_func__frexpf_use+:} false; then :
49618 $as_echo_n "(cached) " >&6
49619 else
49620
49621
49622 ac_ext=cpp
49623 ac_cpp='$CXXCPP $CPPFLAGS'
49624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49627
49628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49629 /* end confdefs.h. */
49630 #include <math.h>
49631 int
49632 main ()
49633 {
49634 _frexpf(0, 0);
49635 ;
49636 return 0;
49637 }
49638 _ACEOF
49639 if ac_fn_cxx_try_compile "$LINENO"; then :
49640 glibcxx_cv_func__frexpf_use=yes
49641 else
49642 glibcxx_cv_func__frexpf_use=no
49643 fi
49644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49645 ac_ext=c
49646 ac_cpp='$CPP $CPPFLAGS'
49647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49650
49651
49652 fi
49653
49654 fi
49655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
49656 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
49657
49658 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
49659 for ac_func in _frexpf
49660 do :
49661 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
49662 if test "x$ac_cv_func__frexpf" = xyes; then :
49663 cat >>confdefs.h <<_ACEOF
49664 #define HAVE__FREXPF 1
49665 _ACEOF
49666
49667 fi
49668 done
49669
49670 fi
49671 fi
49672
49673
49674
49675
49676
49677 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
49678 $as_echo_n "checking for hypotf declaration... " >&6; }
49679 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
49680 if ${glibcxx_cv_func_hypotf_use+:} false; then :
49681 $as_echo_n "(cached) " >&6
49682 else
49683
49684
49685 ac_ext=cpp
49686 ac_cpp='$CXXCPP $CPPFLAGS'
49687 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49688 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49689 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49690
49691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49692 /* end confdefs.h. */
49693 #include <math.h>
49694 int
49695 main ()
49696 {
49697 hypotf(0, 0);
49698 ;
49699 return 0;
49700 }
49701 _ACEOF
49702 if ac_fn_cxx_try_compile "$LINENO"; then :
49703 glibcxx_cv_func_hypotf_use=yes
49704 else
49705 glibcxx_cv_func_hypotf_use=no
49706 fi
49707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49708 ac_ext=c
49709 ac_cpp='$CPP $CPPFLAGS'
49710 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49711 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49712 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49713
49714
49715 fi
49716
49717 fi
49718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
49719 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
49720
49721 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
49722 for ac_func in hypotf
49723 do :
49724 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
49725 if test "x$ac_cv_func_hypotf" = xyes; then :
49726 cat >>confdefs.h <<_ACEOF
49727 #define HAVE_HYPOTF 1
49728 _ACEOF
49729
49730 fi
49731 done
49732
49733 else
49734
49735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
49736 $as_echo_n "checking for _hypotf declaration... " >&6; }
49737 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
49738 if ${glibcxx_cv_func__hypotf_use+:} false; then :
49739 $as_echo_n "(cached) " >&6
49740 else
49741
49742
49743 ac_ext=cpp
49744 ac_cpp='$CXXCPP $CPPFLAGS'
49745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49748
49749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49750 /* end confdefs.h. */
49751 #include <math.h>
49752 int
49753 main ()
49754 {
49755 _hypotf(0, 0);
49756 ;
49757 return 0;
49758 }
49759 _ACEOF
49760 if ac_fn_cxx_try_compile "$LINENO"; then :
49761 glibcxx_cv_func__hypotf_use=yes
49762 else
49763 glibcxx_cv_func__hypotf_use=no
49764 fi
49765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49766 ac_ext=c
49767 ac_cpp='$CPP $CPPFLAGS'
49768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49771
49772
49773 fi
49774
49775 fi
49776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
49777 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
49778
49779 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
49780 for ac_func in _hypotf
49781 do :
49782 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
49783 if test "x$ac_cv_func__hypotf" = xyes; then :
49784 cat >>confdefs.h <<_ACEOF
49785 #define HAVE__HYPOTF 1
49786 _ACEOF
49787
49788 fi
49789 done
49790
49791 fi
49792 fi
49793
49794
49795
49796
49797
49798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
49799 $as_echo_n "checking for ldexpf declaration... " >&6; }
49800 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
49801 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
49802 $as_echo_n "(cached) " >&6
49803 else
49804
49805
49806 ac_ext=cpp
49807 ac_cpp='$CXXCPP $CPPFLAGS'
49808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49811
49812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49813 /* end confdefs.h. */
49814 #include <math.h>
49815 int
49816 main ()
49817 {
49818 ldexpf(0, 0);
49819 ;
49820 return 0;
49821 }
49822 _ACEOF
49823 if ac_fn_cxx_try_compile "$LINENO"; then :
49824 glibcxx_cv_func_ldexpf_use=yes
49825 else
49826 glibcxx_cv_func_ldexpf_use=no
49827 fi
49828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49829 ac_ext=c
49830 ac_cpp='$CPP $CPPFLAGS'
49831 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49832 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49833 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49834
49835
49836 fi
49837
49838 fi
49839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
49840 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
49841
49842 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
49843 for ac_func in ldexpf
49844 do :
49845 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
49846 if test "x$ac_cv_func_ldexpf" = xyes; then :
49847 cat >>confdefs.h <<_ACEOF
49848 #define HAVE_LDEXPF 1
49849 _ACEOF
49850
49851 fi
49852 done
49853
49854 else
49855
49856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
49857 $as_echo_n "checking for _ldexpf declaration... " >&6; }
49858 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
49859 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
49860 $as_echo_n "(cached) " >&6
49861 else
49862
49863
49864 ac_ext=cpp
49865 ac_cpp='$CXXCPP $CPPFLAGS'
49866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49869
49870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49871 /* end confdefs.h. */
49872 #include <math.h>
49873 int
49874 main ()
49875 {
49876 _ldexpf(0, 0);
49877 ;
49878 return 0;
49879 }
49880 _ACEOF
49881 if ac_fn_cxx_try_compile "$LINENO"; then :
49882 glibcxx_cv_func__ldexpf_use=yes
49883 else
49884 glibcxx_cv_func__ldexpf_use=no
49885 fi
49886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49887 ac_ext=c
49888 ac_cpp='$CPP $CPPFLAGS'
49889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49892
49893
49894 fi
49895
49896 fi
49897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
49898 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
49899
49900 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
49901 for ac_func in _ldexpf
49902 do :
49903 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
49904 if test "x$ac_cv_func__ldexpf" = xyes; then :
49905 cat >>confdefs.h <<_ACEOF
49906 #define HAVE__LDEXPF 1
49907 _ACEOF
49908
49909 fi
49910 done
49911
49912 fi
49913 fi
49914
49915
49916
49917
49918
49919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
49920 $as_echo_n "checking for logf declaration... " >&6; }
49921 if test x${glibcxx_cv_func_logf_use+set} != xset; then
49922 if ${glibcxx_cv_func_logf_use+:} false; then :
49923 $as_echo_n "(cached) " >&6
49924 else
49925
49926
49927 ac_ext=cpp
49928 ac_cpp='$CXXCPP $CPPFLAGS'
49929 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49930 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49931 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49932
49933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49934 /* end confdefs.h. */
49935 #include <math.h>
49936 #ifdef HAVE_IEEEFP_H
49937 #include <ieeefp.h>
49938 #endif
49939
49940 int
49941 main ()
49942 {
49943 logf(0);
49944 ;
49945 return 0;
49946 }
49947 _ACEOF
49948 if ac_fn_cxx_try_compile "$LINENO"; then :
49949 glibcxx_cv_func_logf_use=yes
49950 else
49951 glibcxx_cv_func_logf_use=no
49952 fi
49953 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49954 ac_ext=c
49955 ac_cpp='$CPP $CPPFLAGS'
49956 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49957 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49958 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49959
49960
49961 fi
49962
49963 fi
49964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
49965 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
49966
49967 if test x$glibcxx_cv_func_logf_use = x"yes"; then
49968 for ac_func in logf
49969 do :
49970 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
49971 if test "x$ac_cv_func_logf" = xyes; then :
49972 cat >>confdefs.h <<_ACEOF
49973 #define HAVE_LOGF 1
49974 _ACEOF
49975
49976 fi
49977 done
49978
49979 else
49980
49981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
49982 $as_echo_n "checking for _logf declaration... " >&6; }
49983 if test x${glibcxx_cv_func__logf_use+set} != xset; then
49984 if ${glibcxx_cv_func__logf_use+:} false; then :
49985 $as_echo_n "(cached) " >&6
49986 else
49987
49988
49989 ac_ext=cpp
49990 ac_cpp='$CXXCPP $CPPFLAGS'
49991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49994
49995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49996 /* end confdefs.h. */
49997 #include <math.h>
49998 #ifdef HAVE_IEEEFP_H
49999 #include <ieeefp.h>
50000 #endif
50001
50002 int
50003 main ()
50004 {
50005 _logf(0);
50006 ;
50007 return 0;
50008 }
50009 _ACEOF
50010 if ac_fn_cxx_try_compile "$LINENO"; then :
50011 glibcxx_cv_func__logf_use=yes
50012 else
50013 glibcxx_cv_func__logf_use=no
50014 fi
50015 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50016 ac_ext=c
50017 ac_cpp='$CPP $CPPFLAGS'
50018 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50019 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50020 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50021
50022
50023 fi
50024
50025 fi
50026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50027 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50028
50029 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50030 for ac_func in _logf
50031 do :
50032 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50033 if test "x$ac_cv_func__logf" = xyes; then :
50034 cat >>confdefs.h <<_ACEOF
50035 #define HAVE__LOGF 1
50036 _ACEOF
50037
50038 fi
50039 done
50040
50041 fi
50042 fi
50043
50044
50045
50046
50047
50048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50049 $as_echo_n "checking for log10f declaration... " >&6; }
50050 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50051 if ${glibcxx_cv_func_log10f_use+:} false; then :
50052 $as_echo_n "(cached) " >&6
50053 else
50054
50055
50056 ac_ext=cpp
50057 ac_cpp='$CXXCPP $CPPFLAGS'
50058 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50059 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50060 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50061
50062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50063 /* end confdefs.h. */
50064 #include <math.h>
50065 #ifdef HAVE_IEEEFP_H
50066 #include <ieeefp.h>
50067 #endif
50068
50069 int
50070 main ()
50071 {
50072 log10f(0);
50073 ;
50074 return 0;
50075 }
50076 _ACEOF
50077 if ac_fn_cxx_try_compile "$LINENO"; then :
50078 glibcxx_cv_func_log10f_use=yes
50079 else
50080 glibcxx_cv_func_log10f_use=no
50081 fi
50082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50083 ac_ext=c
50084 ac_cpp='$CPP $CPPFLAGS'
50085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50088
50089
50090 fi
50091
50092 fi
50093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50094 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50095
50096 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50097 for ac_func in log10f
50098 do :
50099 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50100 if test "x$ac_cv_func_log10f" = xyes; then :
50101 cat >>confdefs.h <<_ACEOF
50102 #define HAVE_LOG10F 1
50103 _ACEOF
50104
50105 fi
50106 done
50107
50108 else
50109
50110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50111 $as_echo_n "checking for _log10f declaration... " >&6; }
50112 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50113 if ${glibcxx_cv_func__log10f_use+:} false; then :
50114 $as_echo_n "(cached) " >&6
50115 else
50116
50117
50118 ac_ext=cpp
50119 ac_cpp='$CXXCPP $CPPFLAGS'
50120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50123
50124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50125 /* end confdefs.h. */
50126 #include <math.h>
50127 #ifdef HAVE_IEEEFP_H
50128 #include <ieeefp.h>
50129 #endif
50130
50131 int
50132 main ()
50133 {
50134 _log10f(0);
50135 ;
50136 return 0;
50137 }
50138 _ACEOF
50139 if ac_fn_cxx_try_compile "$LINENO"; then :
50140 glibcxx_cv_func__log10f_use=yes
50141 else
50142 glibcxx_cv_func__log10f_use=no
50143 fi
50144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50145 ac_ext=c
50146 ac_cpp='$CPP $CPPFLAGS'
50147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50150
50151
50152 fi
50153
50154 fi
50155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50156 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50157
50158 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50159 for ac_func in _log10f
50160 do :
50161 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50162 if test "x$ac_cv_func__log10f" = xyes; then :
50163 cat >>confdefs.h <<_ACEOF
50164 #define HAVE__LOG10F 1
50165 _ACEOF
50166
50167 fi
50168 done
50169
50170 fi
50171 fi
50172
50173
50174
50175
50176
50177 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50178 $as_echo_n "checking for modff declaration... " >&6; }
50179 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50180 if ${glibcxx_cv_func_modff_use+:} false; then :
50181 $as_echo_n "(cached) " >&6
50182 else
50183
50184
50185 ac_ext=cpp
50186 ac_cpp='$CXXCPP $CPPFLAGS'
50187 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50188 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50189 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50190
50191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50192 /* end confdefs.h. */
50193 #include <math.h>
50194 int
50195 main ()
50196 {
50197 modff(0, 0);
50198 ;
50199 return 0;
50200 }
50201 _ACEOF
50202 if ac_fn_cxx_try_compile "$LINENO"; then :
50203 glibcxx_cv_func_modff_use=yes
50204 else
50205 glibcxx_cv_func_modff_use=no
50206 fi
50207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50208 ac_ext=c
50209 ac_cpp='$CPP $CPPFLAGS'
50210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50213
50214
50215 fi
50216
50217 fi
50218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50219 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50220
50221 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50222 for ac_func in modff
50223 do :
50224 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50225 if test "x$ac_cv_func_modff" = xyes; then :
50226 cat >>confdefs.h <<_ACEOF
50227 #define HAVE_MODFF 1
50228 _ACEOF
50229
50230 fi
50231 done
50232
50233 else
50234
50235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50236 $as_echo_n "checking for _modff declaration... " >&6; }
50237 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50238 if ${glibcxx_cv_func__modff_use+:} false; then :
50239 $as_echo_n "(cached) " >&6
50240 else
50241
50242
50243 ac_ext=cpp
50244 ac_cpp='$CXXCPP $CPPFLAGS'
50245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50248
50249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50250 /* end confdefs.h. */
50251 #include <math.h>
50252 int
50253 main ()
50254 {
50255 _modff(0, 0);
50256 ;
50257 return 0;
50258 }
50259 _ACEOF
50260 if ac_fn_cxx_try_compile "$LINENO"; then :
50261 glibcxx_cv_func__modff_use=yes
50262 else
50263 glibcxx_cv_func__modff_use=no
50264 fi
50265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50266 ac_ext=c
50267 ac_cpp='$CPP $CPPFLAGS'
50268 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50269 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50270 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50271
50272
50273 fi
50274
50275 fi
50276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50277 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50278
50279 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50280 for ac_func in _modff
50281 do :
50282 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50283 if test "x$ac_cv_func__modff" = xyes; then :
50284 cat >>confdefs.h <<_ACEOF
50285 #define HAVE__MODFF 1
50286 _ACEOF
50287
50288 fi
50289 done
50290
50291 fi
50292 fi
50293
50294
50295
50296
50297
50298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50299 $as_echo_n "checking for modf declaration... " >&6; }
50300 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50301 if ${glibcxx_cv_func_modf_use+:} false; then :
50302 $as_echo_n "(cached) " >&6
50303 else
50304
50305
50306 ac_ext=cpp
50307 ac_cpp='$CXXCPP $CPPFLAGS'
50308 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50309 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50310 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50311
50312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50313 /* end confdefs.h. */
50314 #include <math.h>
50315 int
50316 main ()
50317 {
50318 modf(0, 0);
50319 ;
50320 return 0;
50321 }
50322 _ACEOF
50323 if ac_fn_cxx_try_compile "$LINENO"; then :
50324 glibcxx_cv_func_modf_use=yes
50325 else
50326 glibcxx_cv_func_modf_use=no
50327 fi
50328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50329 ac_ext=c
50330 ac_cpp='$CPP $CPPFLAGS'
50331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50334
50335
50336 fi
50337
50338 fi
50339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50340 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50341
50342 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50343 for ac_func in modf
50344 do :
50345 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50346 if test "x$ac_cv_func_modf" = xyes; then :
50347 cat >>confdefs.h <<_ACEOF
50348 #define HAVE_MODF 1
50349 _ACEOF
50350
50351 fi
50352 done
50353
50354 else
50355
50356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50357 $as_echo_n "checking for _modf declaration... " >&6; }
50358 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50359 if ${glibcxx_cv_func__modf_use+:} false; then :
50360 $as_echo_n "(cached) " >&6
50361 else
50362
50363
50364 ac_ext=cpp
50365 ac_cpp='$CXXCPP $CPPFLAGS'
50366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50369
50370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50371 /* end confdefs.h. */
50372 #include <math.h>
50373 int
50374 main ()
50375 {
50376 _modf(0, 0);
50377 ;
50378 return 0;
50379 }
50380 _ACEOF
50381 if ac_fn_cxx_try_compile "$LINENO"; then :
50382 glibcxx_cv_func__modf_use=yes
50383 else
50384 glibcxx_cv_func__modf_use=no
50385 fi
50386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50387 ac_ext=c
50388 ac_cpp='$CPP $CPPFLAGS'
50389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50392
50393
50394 fi
50395
50396 fi
50397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50398 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50399
50400 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50401 for ac_func in _modf
50402 do :
50403 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50404 if test "x$ac_cv_func__modf" = xyes; then :
50405 cat >>confdefs.h <<_ACEOF
50406 #define HAVE__MODF 1
50407 _ACEOF
50408
50409 fi
50410 done
50411
50412 fi
50413 fi
50414
50415
50416
50417
50418
50419 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50420 $as_echo_n "checking for powf declaration... " >&6; }
50421 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50422 if ${glibcxx_cv_func_powf_use+:} false; then :
50423 $as_echo_n "(cached) " >&6
50424 else
50425
50426
50427 ac_ext=cpp
50428 ac_cpp='$CXXCPP $CPPFLAGS'
50429 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50430 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50431 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50432
50433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50434 /* end confdefs.h. */
50435 #include <math.h>
50436 int
50437 main ()
50438 {
50439 powf(0, 0);
50440 ;
50441 return 0;
50442 }
50443 _ACEOF
50444 if ac_fn_cxx_try_compile "$LINENO"; then :
50445 glibcxx_cv_func_powf_use=yes
50446 else
50447 glibcxx_cv_func_powf_use=no
50448 fi
50449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50450 ac_ext=c
50451 ac_cpp='$CPP $CPPFLAGS'
50452 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50453 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50454 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50455
50456
50457 fi
50458
50459 fi
50460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50461 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50462
50463 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50464 for ac_func in powf
50465 do :
50466 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50467 if test "x$ac_cv_func_powf" = xyes; then :
50468 cat >>confdefs.h <<_ACEOF
50469 #define HAVE_POWF 1
50470 _ACEOF
50471
50472 fi
50473 done
50474
50475 else
50476
50477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50478 $as_echo_n "checking for _powf declaration... " >&6; }
50479 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50480 if ${glibcxx_cv_func__powf_use+:} false; then :
50481 $as_echo_n "(cached) " >&6
50482 else
50483
50484
50485 ac_ext=cpp
50486 ac_cpp='$CXXCPP $CPPFLAGS'
50487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50490
50491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50492 /* end confdefs.h. */
50493 #include <math.h>
50494 int
50495 main ()
50496 {
50497 _powf(0, 0);
50498 ;
50499 return 0;
50500 }
50501 _ACEOF
50502 if ac_fn_cxx_try_compile "$LINENO"; then :
50503 glibcxx_cv_func__powf_use=yes
50504 else
50505 glibcxx_cv_func__powf_use=no
50506 fi
50507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50508 ac_ext=c
50509 ac_cpp='$CPP $CPPFLAGS'
50510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50513
50514
50515 fi
50516
50517 fi
50518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50519 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50520
50521 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50522 for ac_func in _powf
50523 do :
50524 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50525 if test "x$ac_cv_func__powf" = xyes; then :
50526 cat >>confdefs.h <<_ACEOF
50527 #define HAVE__POWF 1
50528 _ACEOF
50529
50530 fi
50531 done
50532
50533 fi
50534 fi
50535
50536
50537
50538
50539
50540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50541 $as_echo_n "checking for sqrtf declaration... " >&6; }
50542 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50543 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50544 $as_echo_n "(cached) " >&6
50545 else
50546
50547
50548 ac_ext=cpp
50549 ac_cpp='$CXXCPP $CPPFLAGS'
50550 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50551 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50552 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50553
50554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50555 /* end confdefs.h. */
50556 #include <math.h>
50557 #ifdef HAVE_IEEEFP_H
50558 #include <ieeefp.h>
50559 #endif
50560
50561 int
50562 main ()
50563 {
50564 sqrtf(0);
50565 ;
50566 return 0;
50567 }
50568 _ACEOF
50569 if ac_fn_cxx_try_compile "$LINENO"; then :
50570 glibcxx_cv_func_sqrtf_use=yes
50571 else
50572 glibcxx_cv_func_sqrtf_use=no
50573 fi
50574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50575 ac_ext=c
50576 ac_cpp='$CPP $CPPFLAGS'
50577 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50578 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50579 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50580
50581
50582 fi
50583
50584 fi
50585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50586 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50587
50588 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50589 for ac_func in sqrtf
50590 do :
50591 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50592 if test "x$ac_cv_func_sqrtf" = xyes; then :
50593 cat >>confdefs.h <<_ACEOF
50594 #define HAVE_SQRTF 1
50595 _ACEOF
50596
50597 fi
50598 done
50599
50600 else
50601
50602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
50603 $as_echo_n "checking for _sqrtf declaration... " >&6; }
50604 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
50605 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
50606 $as_echo_n "(cached) " >&6
50607 else
50608
50609
50610 ac_ext=cpp
50611 ac_cpp='$CXXCPP $CPPFLAGS'
50612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50615
50616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50617 /* end confdefs.h. */
50618 #include <math.h>
50619 #ifdef HAVE_IEEEFP_H
50620 #include <ieeefp.h>
50621 #endif
50622
50623 int
50624 main ()
50625 {
50626 _sqrtf(0);
50627 ;
50628 return 0;
50629 }
50630 _ACEOF
50631 if ac_fn_cxx_try_compile "$LINENO"; then :
50632 glibcxx_cv_func__sqrtf_use=yes
50633 else
50634 glibcxx_cv_func__sqrtf_use=no
50635 fi
50636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50637 ac_ext=c
50638 ac_cpp='$CPP $CPPFLAGS'
50639 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50640 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50641 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50642
50643
50644 fi
50645
50646 fi
50647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
50648 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
50649
50650 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
50651 for ac_func in _sqrtf
50652 do :
50653 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
50654 if test "x$ac_cv_func__sqrtf" = xyes; then :
50655 cat >>confdefs.h <<_ACEOF
50656 #define HAVE__SQRTF 1
50657 _ACEOF
50658
50659 fi
50660 done
50661
50662 fi
50663 fi
50664
50665
50666
50667
50668
50669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
50670 $as_echo_n "checking for sincosf declaration... " >&6; }
50671 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
50672 if ${glibcxx_cv_func_sincosf_use+:} false; then :
50673 $as_echo_n "(cached) " >&6
50674 else
50675
50676
50677 ac_ext=cpp
50678 ac_cpp='$CXXCPP $CPPFLAGS'
50679 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50680 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50681 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50682
50683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50684 /* end confdefs.h. */
50685 #include <math.h>
50686 int
50687 main ()
50688 {
50689 sincosf(0, 0, 0);
50690 ;
50691 return 0;
50692 }
50693 _ACEOF
50694 if ac_fn_cxx_try_compile "$LINENO"; then :
50695 glibcxx_cv_func_sincosf_use=yes
50696 else
50697 glibcxx_cv_func_sincosf_use=no
50698 fi
50699 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50700 ac_ext=c
50701 ac_cpp='$CPP $CPPFLAGS'
50702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50705
50706
50707 fi
50708
50709 fi
50710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
50711 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
50712
50713 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
50714 for ac_func in sincosf
50715 do :
50716 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
50717 if test "x$ac_cv_func_sincosf" = xyes; then :
50718 cat >>confdefs.h <<_ACEOF
50719 #define HAVE_SINCOSF 1
50720 _ACEOF
50721
50722 fi
50723 done
50724
50725 else
50726
50727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
50728 $as_echo_n "checking for _sincosf declaration... " >&6; }
50729 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
50730 if ${glibcxx_cv_func__sincosf_use+:} false; then :
50731 $as_echo_n "(cached) " >&6
50732 else
50733
50734
50735 ac_ext=cpp
50736 ac_cpp='$CXXCPP $CPPFLAGS'
50737 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50738 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50739 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50740
50741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50742 /* end confdefs.h. */
50743 #include <math.h>
50744 int
50745 main ()
50746 {
50747 _sincosf(0, 0, 0);
50748 ;
50749 return 0;
50750 }
50751 _ACEOF
50752 if ac_fn_cxx_try_compile "$LINENO"; then :
50753 glibcxx_cv_func__sincosf_use=yes
50754 else
50755 glibcxx_cv_func__sincosf_use=no
50756 fi
50757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50758 ac_ext=c
50759 ac_cpp='$CPP $CPPFLAGS'
50760 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50761 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50762 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50763
50764
50765 fi
50766
50767 fi
50768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
50769 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
50770
50771 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
50772 for ac_func in _sincosf
50773 do :
50774 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
50775 if test "x$ac_cv_func__sincosf" = xyes; then :
50776 cat >>confdefs.h <<_ACEOF
50777 #define HAVE__SINCOSF 1
50778 _ACEOF
50779
50780 fi
50781 done
50782
50783 fi
50784 fi
50785
50786
50787
50788
50789
50790 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
50791 $as_echo_n "checking for finitef declaration... " >&6; }
50792 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
50793 if ${glibcxx_cv_func_finitef_use+:} false; then :
50794 $as_echo_n "(cached) " >&6
50795 else
50796
50797
50798 ac_ext=cpp
50799 ac_cpp='$CXXCPP $CPPFLAGS'
50800 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50801 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50802 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50803
50804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50805 /* end confdefs.h. */
50806 #include <math.h>
50807 #ifdef HAVE_IEEEFP_H
50808 #include <ieeefp.h>
50809 #endif
50810
50811 int
50812 main ()
50813 {
50814 finitef(0);
50815 ;
50816 return 0;
50817 }
50818 _ACEOF
50819 if ac_fn_cxx_try_compile "$LINENO"; then :
50820 glibcxx_cv_func_finitef_use=yes
50821 else
50822 glibcxx_cv_func_finitef_use=no
50823 fi
50824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50825 ac_ext=c
50826 ac_cpp='$CPP $CPPFLAGS'
50827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50830
50831
50832 fi
50833
50834 fi
50835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
50836 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
50837
50838 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
50839 for ac_func in finitef
50840 do :
50841 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
50842 if test "x$ac_cv_func_finitef" = xyes; then :
50843 cat >>confdefs.h <<_ACEOF
50844 #define HAVE_FINITEF 1
50845 _ACEOF
50846
50847 fi
50848 done
50849
50850 else
50851
50852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
50853 $as_echo_n "checking for _finitef declaration... " >&6; }
50854 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
50855 if ${glibcxx_cv_func__finitef_use+:} false; then :
50856 $as_echo_n "(cached) " >&6
50857 else
50858
50859
50860 ac_ext=cpp
50861 ac_cpp='$CXXCPP $CPPFLAGS'
50862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50865
50866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50867 /* end confdefs.h. */
50868 #include <math.h>
50869 #ifdef HAVE_IEEEFP_H
50870 #include <ieeefp.h>
50871 #endif
50872
50873 int
50874 main ()
50875 {
50876 _finitef(0);
50877 ;
50878 return 0;
50879 }
50880 _ACEOF
50881 if ac_fn_cxx_try_compile "$LINENO"; then :
50882 glibcxx_cv_func__finitef_use=yes
50883 else
50884 glibcxx_cv_func__finitef_use=no
50885 fi
50886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50887 ac_ext=c
50888 ac_cpp='$CPP $CPPFLAGS'
50889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50892
50893
50894 fi
50895
50896 fi
50897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
50898 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
50899
50900 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
50901 for ac_func in _finitef
50902 do :
50903 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
50904 if test "x$ac_cv_func__finitef" = xyes; then :
50905 cat >>confdefs.h <<_ACEOF
50906 #define HAVE__FINITEF 1
50907 _ACEOF
50908
50909 fi
50910 done
50911
50912 fi
50913 fi
50914
50915
50916
50917
50918
50919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
50920 $as_echo_n "checking for long double trig functions... " >&6; }
50921 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
50922 $as_echo_n "(cached) " >&6
50923 else
50924
50925
50926 ac_ext=cpp
50927 ac_cpp='$CXXCPP $CPPFLAGS'
50928 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50929 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50930 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50931
50932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50933 /* end confdefs.h. */
50934 #include <math.h>
50935 int
50936 main ()
50937 {
50938 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
50939 ;
50940 return 0;
50941 }
50942 _ACEOF
50943 if ac_fn_cxx_try_compile "$LINENO"; then :
50944 glibcxx_cv_func_long_double_trig_use=yes
50945 else
50946 glibcxx_cv_func_long_double_trig_use=no
50947 fi
50948 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50949 ac_ext=c
50950 ac_cpp='$CPP $CPPFLAGS'
50951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50954
50955 fi
50956
50957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
50958 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
50959 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
50960 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
50961 do :
50962 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
50963 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
50964 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
50965 cat >>confdefs.h <<_ACEOF
50966 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
50967 _ACEOF
50968
50969 fi
50970 done
50971
50972 else
50973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
50974 $as_echo_n "checking for _long double trig functions... " >&6; }
50975 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
50976 $as_echo_n "(cached) " >&6
50977 else
50978
50979
50980 ac_ext=cpp
50981 ac_cpp='$CXXCPP $CPPFLAGS'
50982 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50983 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50984 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50985
50986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50987 /* end confdefs.h. */
50988 #include <math.h>
50989 int
50990 main ()
50991 {
50992 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
50993 ;
50994 return 0;
50995 }
50996 _ACEOF
50997 if ac_fn_cxx_try_compile "$LINENO"; then :
50998 glibcxx_cv_func__long_double_trig_use=yes
50999 else
51000 glibcxx_cv_func__long_double_trig_use=no
51001 fi
51002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51003 ac_ext=c
51004 ac_cpp='$CPP $CPPFLAGS'
51005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51008
51009 fi
51010
51011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51012 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51013 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51014 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51015 do :
51016 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51017 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51018 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51019 cat >>confdefs.h <<_ACEOF
51020 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51021 _ACEOF
51022
51023 fi
51024 done
51025
51026 fi
51027 fi
51028
51029
51030
51031
51032
51033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51034 $as_echo_n "checking for long double round functions... " >&6; }
51035 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51036 $as_echo_n "(cached) " >&6
51037 else
51038
51039
51040 ac_ext=cpp
51041 ac_cpp='$CXXCPP $CPPFLAGS'
51042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51045
51046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51047 /* end confdefs.h. */
51048 #include <math.h>
51049 int
51050 main ()
51051 {
51052 ceill (0); floorl (0);
51053 ;
51054 return 0;
51055 }
51056 _ACEOF
51057 if ac_fn_cxx_try_compile "$LINENO"; then :
51058 glibcxx_cv_func_long_double_round_use=yes
51059 else
51060 glibcxx_cv_func_long_double_round_use=no
51061 fi
51062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51063 ac_ext=c
51064 ac_cpp='$CPP $CPPFLAGS'
51065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51068
51069 fi
51070
51071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51072 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51073 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51074 for ac_func in ceill floorl
51075 do :
51076 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51077 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51078 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51079 cat >>confdefs.h <<_ACEOF
51080 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51081 _ACEOF
51082
51083 fi
51084 done
51085
51086 else
51087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51088 $as_echo_n "checking for _long double round functions... " >&6; }
51089 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51090 $as_echo_n "(cached) " >&6
51091 else
51092
51093
51094 ac_ext=cpp
51095 ac_cpp='$CXXCPP $CPPFLAGS'
51096 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51097 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51098 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51099
51100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51101 /* end confdefs.h. */
51102 #include <math.h>
51103 int
51104 main ()
51105 {
51106 _ceill (0); _floorl (0);
51107 ;
51108 return 0;
51109 }
51110 _ACEOF
51111 if ac_fn_cxx_try_compile "$LINENO"; then :
51112 glibcxx_cv_func__long_double_round_use=yes
51113 else
51114 glibcxx_cv_func__long_double_round_use=no
51115 fi
51116 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51117 ac_ext=c
51118 ac_cpp='$CPP $CPPFLAGS'
51119 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51120 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51121 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51122
51123 fi
51124
51125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51126 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51127 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51128 for ac_func in _ceill _floorl
51129 do :
51130 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51131 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51132 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51133 cat >>confdefs.h <<_ACEOF
51134 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51135 _ACEOF
51136
51137 fi
51138 done
51139
51140 fi
51141 fi
51142
51143
51144
51145
51146
51147
51148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51149 $as_echo_n "checking for isnanl declaration... " >&6; }
51150 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51151 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51152 $as_echo_n "(cached) " >&6
51153 else
51154
51155
51156 ac_ext=cpp
51157 ac_cpp='$CXXCPP $CPPFLAGS'
51158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51161
51162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51163 /* end confdefs.h. */
51164 #include <math.h>
51165 #ifdef HAVE_IEEEFP_H
51166 #include <ieeefp.h>
51167 #endif
51168
51169 int
51170 main ()
51171 {
51172 isnanl(0);
51173 ;
51174 return 0;
51175 }
51176 _ACEOF
51177 if ac_fn_cxx_try_compile "$LINENO"; then :
51178 glibcxx_cv_func_isnanl_use=yes
51179 else
51180 glibcxx_cv_func_isnanl_use=no
51181 fi
51182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51183 ac_ext=c
51184 ac_cpp='$CPP $CPPFLAGS'
51185 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51186 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51187 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51188
51189
51190 fi
51191
51192 fi
51193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51194 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51195
51196 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51197 for ac_func in isnanl
51198 do :
51199 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51200 if test "x$ac_cv_func_isnanl" = xyes; then :
51201 cat >>confdefs.h <<_ACEOF
51202 #define HAVE_ISNANL 1
51203 _ACEOF
51204
51205 fi
51206 done
51207
51208 else
51209
51210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51211 $as_echo_n "checking for _isnanl declaration... " >&6; }
51212 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51213 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51214 $as_echo_n "(cached) " >&6
51215 else
51216
51217
51218 ac_ext=cpp
51219 ac_cpp='$CXXCPP $CPPFLAGS'
51220 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51221 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51222 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51223
51224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51225 /* end confdefs.h. */
51226 #include <math.h>
51227 #ifdef HAVE_IEEEFP_H
51228 #include <ieeefp.h>
51229 #endif
51230
51231 int
51232 main ()
51233 {
51234 _isnanl(0);
51235 ;
51236 return 0;
51237 }
51238 _ACEOF
51239 if ac_fn_cxx_try_compile "$LINENO"; then :
51240 glibcxx_cv_func__isnanl_use=yes
51241 else
51242 glibcxx_cv_func__isnanl_use=no
51243 fi
51244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51245 ac_ext=c
51246 ac_cpp='$CPP $CPPFLAGS'
51247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51250
51251
51252 fi
51253
51254 fi
51255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51256 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51257
51258 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51259 for ac_func in _isnanl
51260 do :
51261 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51262 if test "x$ac_cv_func__isnanl" = xyes; then :
51263 cat >>confdefs.h <<_ACEOF
51264 #define HAVE__ISNANL 1
51265 _ACEOF
51266
51267 fi
51268 done
51269
51270 fi
51271 fi
51272
51273
51274
51275
51276
51277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51278 $as_echo_n "checking for isinfl declaration... " >&6; }
51279 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51280 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51281 $as_echo_n "(cached) " >&6
51282 else
51283
51284
51285 ac_ext=cpp
51286 ac_cpp='$CXXCPP $CPPFLAGS'
51287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51290
51291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51292 /* end confdefs.h. */
51293 #include <math.h>
51294 #ifdef HAVE_IEEEFP_H
51295 #include <ieeefp.h>
51296 #endif
51297
51298 int
51299 main ()
51300 {
51301 isinfl(0);
51302 ;
51303 return 0;
51304 }
51305 _ACEOF
51306 if ac_fn_cxx_try_compile "$LINENO"; then :
51307 glibcxx_cv_func_isinfl_use=yes
51308 else
51309 glibcxx_cv_func_isinfl_use=no
51310 fi
51311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51312 ac_ext=c
51313 ac_cpp='$CPP $CPPFLAGS'
51314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51317
51318
51319 fi
51320
51321 fi
51322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51323 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51324
51325 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51326 for ac_func in isinfl
51327 do :
51328 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51329 if test "x$ac_cv_func_isinfl" = xyes; then :
51330 cat >>confdefs.h <<_ACEOF
51331 #define HAVE_ISINFL 1
51332 _ACEOF
51333
51334 fi
51335 done
51336
51337 else
51338
51339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51340 $as_echo_n "checking for _isinfl declaration... " >&6; }
51341 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51342 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51343 $as_echo_n "(cached) " >&6
51344 else
51345
51346
51347 ac_ext=cpp
51348 ac_cpp='$CXXCPP $CPPFLAGS'
51349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51352
51353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51354 /* end confdefs.h. */
51355 #include <math.h>
51356 #ifdef HAVE_IEEEFP_H
51357 #include <ieeefp.h>
51358 #endif
51359
51360 int
51361 main ()
51362 {
51363 _isinfl(0);
51364 ;
51365 return 0;
51366 }
51367 _ACEOF
51368 if ac_fn_cxx_try_compile "$LINENO"; then :
51369 glibcxx_cv_func__isinfl_use=yes
51370 else
51371 glibcxx_cv_func__isinfl_use=no
51372 fi
51373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51374 ac_ext=c
51375 ac_cpp='$CPP $CPPFLAGS'
51376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51379
51380
51381 fi
51382
51383 fi
51384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51385 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51386
51387 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51388 for ac_func in _isinfl
51389 do :
51390 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51391 if test "x$ac_cv_func__isinfl" = xyes; then :
51392 cat >>confdefs.h <<_ACEOF
51393 #define HAVE__ISINFL 1
51394 _ACEOF
51395
51396 fi
51397 done
51398
51399 fi
51400 fi
51401
51402
51403
51404
51405
51406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51407 $as_echo_n "checking for atan2l declaration... " >&6; }
51408 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51409 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51410 $as_echo_n "(cached) " >&6
51411 else
51412
51413
51414 ac_ext=cpp
51415 ac_cpp='$CXXCPP $CPPFLAGS'
51416 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51417 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51418 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51419
51420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51421 /* end confdefs.h. */
51422 #include <math.h>
51423 int
51424 main ()
51425 {
51426 atan2l(0, 0);
51427 ;
51428 return 0;
51429 }
51430 _ACEOF
51431 if ac_fn_cxx_try_compile "$LINENO"; then :
51432 glibcxx_cv_func_atan2l_use=yes
51433 else
51434 glibcxx_cv_func_atan2l_use=no
51435 fi
51436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51437 ac_ext=c
51438 ac_cpp='$CPP $CPPFLAGS'
51439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51442
51443
51444 fi
51445
51446 fi
51447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51448 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51449
51450 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51451 for ac_func in atan2l
51452 do :
51453 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51454 if test "x$ac_cv_func_atan2l" = xyes; then :
51455 cat >>confdefs.h <<_ACEOF
51456 #define HAVE_ATAN2L 1
51457 _ACEOF
51458
51459 fi
51460 done
51461
51462 else
51463
51464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51465 $as_echo_n "checking for _atan2l declaration... " >&6; }
51466 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51467 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51468 $as_echo_n "(cached) " >&6
51469 else
51470
51471
51472 ac_ext=cpp
51473 ac_cpp='$CXXCPP $CPPFLAGS'
51474 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51475 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51476 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51477
51478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51479 /* end confdefs.h. */
51480 #include <math.h>
51481 int
51482 main ()
51483 {
51484 _atan2l(0, 0);
51485 ;
51486 return 0;
51487 }
51488 _ACEOF
51489 if ac_fn_cxx_try_compile "$LINENO"; then :
51490 glibcxx_cv_func__atan2l_use=yes
51491 else
51492 glibcxx_cv_func__atan2l_use=no
51493 fi
51494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51495 ac_ext=c
51496 ac_cpp='$CPP $CPPFLAGS'
51497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51500
51501
51502 fi
51503
51504 fi
51505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51506 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51507
51508 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51509 for ac_func in _atan2l
51510 do :
51511 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51512 if test "x$ac_cv_func__atan2l" = xyes; then :
51513 cat >>confdefs.h <<_ACEOF
51514 #define HAVE__ATAN2L 1
51515 _ACEOF
51516
51517 fi
51518 done
51519
51520 fi
51521 fi
51522
51523
51524
51525
51526
51527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51528 $as_echo_n "checking for expl declaration... " >&6; }
51529 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51530 if ${glibcxx_cv_func_expl_use+:} false; then :
51531 $as_echo_n "(cached) " >&6
51532 else
51533
51534
51535 ac_ext=cpp
51536 ac_cpp='$CXXCPP $CPPFLAGS'
51537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51540
51541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51542 /* end confdefs.h. */
51543 #include <math.h>
51544 #ifdef HAVE_IEEEFP_H
51545 #include <ieeefp.h>
51546 #endif
51547
51548 int
51549 main ()
51550 {
51551 expl(0);
51552 ;
51553 return 0;
51554 }
51555 _ACEOF
51556 if ac_fn_cxx_try_compile "$LINENO"; then :
51557 glibcxx_cv_func_expl_use=yes
51558 else
51559 glibcxx_cv_func_expl_use=no
51560 fi
51561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51562 ac_ext=c
51563 ac_cpp='$CPP $CPPFLAGS'
51564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51567
51568
51569 fi
51570
51571 fi
51572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51573 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51574
51575 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51576 for ac_func in expl
51577 do :
51578 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51579 if test "x$ac_cv_func_expl" = xyes; then :
51580 cat >>confdefs.h <<_ACEOF
51581 #define HAVE_EXPL 1
51582 _ACEOF
51583
51584 fi
51585 done
51586
51587 else
51588
51589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51590 $as_echo_n "checking for _expl declaration... " >&6; }
51591 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51592 if ${glibcxx_cv_func__expl_use+:} false; then :
51593 $as_echo_n "(cached) " >&6
51594 else
51595
51596
51597 ac_ext=cpp
51598 ac_cpp='$CXXCPP $CPPFLAGS'
51599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51602
51603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51604 /* end confdefs.h. */
51605 #include <math.h>
51606 #ifdef HAVE_IEEEFP_H
51607 #include <ieeefp.h>
51608 #endif
51609
51610 int
51611 main ()
51612 {
51613 _expl(0);
51614 ;
51615 return 0;
51616 }
51617 _ACEOF
51618 if ac_fn_cxx_try_compile "$LINENO"; then :
51619 glibcxx_cv_func__expl_use=yes
51620 else
51621 glibcxx_cv_func__expl_use=no
51622 fi
51623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51624 ac_ext=c
51625 ac_cpp='$CPP $CPPFLAGS'
51626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51629
51630
51631 fi
51632
51633 fi
51634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
51635 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
51636
51637 if test x$glibcxx_cv_func__expl_use = x"yes"; then
51638 for ac_func in _expl
51639 do :
51640 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
51641 if test "x$ac_cv_func__expl" = xyes; then :
51642 cat >>confdefs.h <<_ACEOF
51643 #define HAVE__EXPL 1
51644 _ACEOF
51645
51646 fi
51647 done
51648
51649 fi
51650 fi
51651
51652
51653
51654
51655
51656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
51657 $as_echo_n "checking for fabsl declaration... " >&6; }
51658 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
51659 if ${glibcxx_cv_func_fabsl_use+:} false; then :
51660 $as_echo_n "(cached) " >&6
51661 else
51662
51663
51664 ac_ext=cpp
51665 ac_cpp='$CXXCPP $CPPFLAGS'
51666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51669
51670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51671 /* end confdefs.h. */
51672 #include <math.h>
51673 #ifdef HAVE_IEEEFP_H
51674 #include <ieeefp.h>
51675 #endif
51676
51677 int
51678 main ()
51679 {
51680 fabsl(0);
51681 ;
51682 return 0;
51683 }
51684 _ACEOF
51685 if ac_fn_cxx_try_compile "$LINENO"; then :
51686 glibcxx_cv_func_fabsl_use=yes
51687 else
51688 glibcxx_cv_func_fabsl_use=no
51689 fi
51690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51691 ac_ext=c
51692 ac_cpp='$CPP $CPPFLAGS'
51693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51696
51697
51698 fi
51699
51700 fi
51701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
51702 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
51703
51704 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
51705 for ac_func in fabsl
51706 do :
51707 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
51708 if test "x$ac_cv_func_fabsl" = xyes; then :
51709 cat >>confdefs.h <<_ACEOF
51710 #define HAVE_FABSL 1
51711 _ACEOF
51712
51713 fi
51714 done
51715
51716 else
51717
51718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
51719 $as_echo_n "checking for _fabsl declaration... " >&6; }
51720 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
51721 if ${glibcxx_cv_func__fabsl_use+:} false; then :
51722 $as_echo_n "(cached) " >&6
51723 else
51724
51725
51726 ac_ext=cpp
51727 ac_cpp='$CXXCPP $CPPFLAGS'
51728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51731
51732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51733 /* end confdefs.h. */
51734 #include <math.h>
51735 #ifdef HAVE_IEEEFP_H
51736 #include <ieeefp.h>
51737 #endif
51738
51739 int
51740 main ()
51741 {
51742 _fabsl(0);
51743 ;
51744 return 0;
51745 }
51746 _ACEOF
51747 if ac_fn_cxx_try_compile "$LINENO"; then :
51748 glibcxx_cv_func__fabsl_use=yes
51749 else
51750 glibcxx_cv_func__fabsl_use=no
51751 fi
51752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51753 ac_ext=c
51754 ac_cpp='$CPP $CPPFLAGS'
51755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51758
51759
51760 fi
51761
51762 fi
51763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
51764 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
51765
51766 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
51767 for ac_func in _fabsl
51768 do :
51769 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
51770 if test "x$ac_cv_func__fabsl" = xyes; then :
51771 cat >>confdefs.h <<_ACEOF
51772 #define HAVE__FABSL 1
51773 _ACEOF
51774
51775 fi
51776 done
51777
51778 fi
51779 fi
51780
51781
51782
51783
51784
51785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
51786 $as_echo_n "checking for fmodl declaration... " >&6; }
51787 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
51788 if ${glibcxx_cv_func_fmodl_use+:} false; then :
51789 $as_echo_n "(cached) " >&6
51790 else
51791
51792
51793 ac_ext=cpp
51794 ac_cpp='$CXXCPP $CPPFLAGS'
51795 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51796 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51797 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51798
51799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51800 /* end confdefs.h. */
51801 #include <math.h>
51802 int
51803 main ()
51804 {
51805 fmodl(0, 0);
51806 ;
51807 return 0;
51808 }
51809 _ACEOF
51810 if ac_fn_cxx_try_compile "$LINENO"; then :
51811 glibcxx_cv_func_fmodl_use=yes
51812 else
51813 glibcxx_cv_func_fmodl_use=no
51814 fi
51815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51816 ac_ext=c
51817 ac_cpp='$CPP $CPPFLAGS'
51818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51821
51822
51823 fi
51824
51825 fi
51826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
51827 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
51828
51829 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
51830 for ac_func in fmodl
51831 do :
51832 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
51833 if test "x$ac_cv_func_fmodl" = xyes; then :
51834 cat >>confdefs.h <<_ACEOF
51835 #define HAVE_FMODL 1
51836 _ACEOF
51837
51838 fi
51839 done
51840
51841 else
51842
51843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
51844 $as_echo_n "checking for _fmodl declaration... " >&6; }
51845 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
51846 if ${glibcxx_cv_func__fmodl_use+:} false; then :
51847 $as_echo_n "(cached) " >&6
51848 else
51849
51850
51851 ac_ext=cpp
51852 ac_cpp='$CXXCPP $CPPFLAGS'
51853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51856
51857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51858 /* end confdefs.h. */
51859 #include <math.h>
51860 int
51861 main ()
51862 {
51863 _fmodl(0, 0);
51864 ;
51865 return 0;
51866 }
51867 _ACEOF
51868 if ac_fn_cxx_try_compile "$LINENO"; then :
51869 glibcxx_cv_func__fmodl_use=yes
51870 else
51871 glibcxx_cv_func__fmodl_use=no
51872 fi
51873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51874 ac_ext=c
51875 ac_cpp='$CPP $CPPFLAGS'
51876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51879
51880
51881 fi
51882
51883 fi
51884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
51885 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
51886
51887 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
51888 for ac_func in _fmodl
51889 do :
51890 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
51891 if test "x$ac_cv_func__fmodl" = xyes; then :
51892 cat >>confdefs.h <<_ACEOF
51893 #define HAVE__FMODL 1
51894 _ACEOF
51895
51896 fi
51897 done
51898
51899 fi
51900 fi
51901
51902
51903
51904
51905
51906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
51907 $as_echo_n "checking for frexpl declaration... " >&6; }
51908 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
51909 if ${glibcxx_cv_func_frexpl_use+:} false; then :
51910 $as_echo_n "(cached) " >&6
51911 else
51912
51913
51914 ac_ext=cpp
51915 ac_cpp='$CXXCPP $CPPFLAGS'
51916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51919
51920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51921 /* end confdefs.h. */
51922 #include <math.h>
51923 int
51924 main ()
51925 {
51926 frexpl(0, 0);
51927 ;
51928 return 0;
51929 }
51930 _ACEOF
51931 if ac_fn_cxx_try_compile "$LINENO"; then :
51932 glibcxx_cv_func_frexpl_use=yes
51933 else
51934 glibcxx_cv_func_frexpl_use=no
51935 fi
51936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51937 ac_ext=c
51938 ac_cpp='$CPP $CPPFLAGS'
51939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51942
51943
51944 fi
51945
51946 fi
51947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
51948 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
51949
51950 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
51951 for ac_func in frexpl
51952 do :
51953 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
51954 if test "x$ac_cv_func_frexpl" = xyes; then :
51955 cat >>confdefs.h <<_ACEOF
51956 #define HAVE_FREXPL 1
51957 _ACEOF
51958
51959 fi
51960 done
51961
51962 else
51963
51964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
51965 $as_echo_n "checking for _frexpl declaration... " >&6; }
51966 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
51967 if ${glibcxx_cv_func__frexpl_use+:} false; then :
51968 $as_echo_n "(cached) " >&6
51969 else
51970
51971
51972 ac_ext=cpp
51973 ac_cpp='$CXXCPP $CPPFLAGS'
51974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51977
51978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51979 /* end confdefs.h. */
51980 #include <math.h>
51981 int
51982 main ()
51983 {
51984 _frexpl(0, 0);
51985 ;
51986 return 0;
51987 }
51988 _ACEOF
51989 if ac_fn_cxx_try_compile "$LINENO"; then :
51990 glibcxx_cv_func__frexpl_use=yes
51991 else
51992 glibcxx_cv_func__frexpl_use=no
51993 fi
51994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51995 ac_ext=c
51996 ac_cpp='$CPP $CPPFLAGS'
51997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52000
52001
52002 fi
52003
52004 fi
52005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52006 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52007
52008 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52009 for ac_func in _frexpl
52010 do :
52011 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52012 if test "x$ac_cv_func__frexpl" = xyes; then :
52013 cat >>confdefs.h <<_ACEOF
52014 #define HAVE__FREXPL 1
52015 _ACEOF
52016
52017 fi
52018 done
52019
52020 fi
52021 fi
52022
52023
52024
52025
52026
52027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52028 $as_echo_n "checking for hypotl declaration... " >&6; }
52029 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52030 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52031 $as_echo_n "(cached) " >&6
52032 else
52033
52034
52035 ac_ext=cpp
52036 ac_cpp='$CXXCPP $CPPFLAGS'
52037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52040
52041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52042 /* end confdefs.h. */
52043 #include <math.h>
52044 int
52045 main ()
52046 {
52047 hypotl(0, 0);
52048 ;
52049 return 0;
52050 }
52051 _ACEOF
52052 if ac_fn_cxx_try_compile "$LINENO"; then :
52053 glibcxx_cv_func_hypotl_use=yes
52054 else
52055 glibcxx_cv_func_hypotl_use=no
52056 fi
52057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52058 ac_ext=c
52059 ac_cpp='$CPP $CPPFLAGS'
52060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52063
52064
52065 fi
52066
52067 fi
52068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52069 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52070
52071 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52072 for ac_func in hypotl
52073 do :
52074 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52075 if test "x$ac_cv_func_hypotl" = xyes; then :
52076 cat >>confdefs.h <<_ACEOF
52077 #define HAVE_HYPOTL 1
52078 _ACEOF
52079
52080 fi
52081 done
52082
52083 else
52084
52085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52086 $as_echo_n "checking for _hypotl declaration... " >&6; }
52087 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52088 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52089 $as_echo_n "(cached) " >&6
52090 else
52091
52092
52093 ac_ext=cpp
52094 ac_cpp='$CXXCPP $CPPFLAGS'
52095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52098
52099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52100 /* end confdefs.h. */
52101 #include <math.h>
52102 int
52103 main ()
52104 {
52105 _hypotl(0, 0);
52106 ;
52107 return 0;
52108 }
52109 _ACEOF
52110 if ac_fn_cxx_try_compile "$LINENO"; then :
52111 glibcxx_cv_func__hypotl_use=yes
52112 else
52113 glibcxx_cv_func__hypotl_use=no
52114 fi
52115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52116 ac_ext=c
52117 ac_cpp='$CPP $CPPFLAGS'
52118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52121
52122
52123 fi
52124
52125 fi
52126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52127 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52128
52129 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52130 for ac_func in _hypotl
52131 do :
52132 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52133 if test "x$ac_cv_func__hypotl" = xyes; then :
52134 cat >>confdefs.h <<_ACEOF
52135 #define HAVE__HYPOTL 1
52136 _ACEOF
52137
52138 fi
52139 done
52140
52141 fi
52142 fi
52143
52144
52145
52146
52147
52148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52149 $as_echo_n "checking for ldexpl declaration... " >&6; }
52150 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52151 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52152 $as_echo_n "(cached) " >&6
52153 else
52154
52155
52156 ac_ext=cpp
52157 ac_cpp='$CXXCPP $CPPFLAGS'
52158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52161
52162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52163 /* end confdefs.h. */
52164 #include <math.h>
52165 int
52166 main ()
52167 {
52168 ldexpl(0, 0);
52169 ;
52170 return 0;
52171 }
52172 _ACEOF
52173 if ac_fn_cxx_try_compile "$LINENO"; then :
52174 glibcxx_cv_func_ldexpl_use=yes
52175 else
52176 glibcxx_cv_func_ldexpl_use=no
52177 fi
52178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52179 ac_ext=c
52180 ac_cpp='$CPP $CPPFLAGS'
52181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52184
52185
52186 fi
52187
52188 fi
52189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52190 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52191
52192 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52193 for ac_func in ldexpl
52194 do :
52195 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52196 if test "x$ac_cv_func_ldexpl" = xyes; then :
52197 cat >>confdefs.h <<_ACEOF
52198 #define HAVE_LDEXPL 1
52199 _ACEOF
52200
52201 fi
52202 done
52203
52204 else
52205
52206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52207 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52208 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52209 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52210 $as_echo_n "(cached) " >&6
52211 else
52212
52213
52214 ac_ext=cpp
52215 ac_cpp='$CXXCPP $CPPFLAGS'
52216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52219
52220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52221 /* end confdefs.h. */
52222 #include <math.h>
52223 int
52224 main ()
52225 {
52226 _ldexpl(0, 0);
52227 ;
52228 return 0;
52229 }
52230 _ACEOF
52231 if ac_fn_cxx_try_compile "$LINENO"; then :
52232 glibcxx_cv_func__ldexpl_use=yes
52233 else
52234 glibcxx_cv_func__ldexpl_use=no
52235 fi
52236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52237 ac_ext=c
52238 ac_cpp='$CPP $CPPFLAGS'
52239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52242
52243
52244 fi
52245
52246 fi
52247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52248 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52249
52250 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52251 for ac_func in _ldexpl
52252 do :
52253 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52254 if test "x$ac_cv_func__ldexpl" = xyes; then :
52255 cat >>confdefs.h <<_ACEOF
52256 #define HAVE__LDEXPL 1
52257 _ACEOF
52258
52259 fi
52260 done
52261
52262 fi
52263 fi
52264
52265
52266
52267
52268
52269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52270 $as_echo_n "checking for logl declaration... " >&6; }
52271 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52272 if ${glibcxx_cv_func_logl_use+:} false; then :
52273 $as_echo_n "(cached) " >&6
52274 else
52275
52276
52277 ac_ext=cpp
52278 ac_cpp='$CXXCPP $CPPFLAGS'
52279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52282
52283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52284 /* end confdefs.h. */
52285 #include <math.h>
52286 #ifdef HAVE_IEEEFP_H
52287 #include <ieeefp.h>
52288 #endif
52289
52290 int
52291 main ()
52292 {
52293 logl(0);
52294 ;
52295 return 0;
52296 }
52297 _ACEOF
52298 if ac_fn_cxx_try_compile "$LINENO"; then :
52299 glibcxx_cv_func_logl_use=yes
52300 else
52301 glibcxx_cv_func_logl_use=no
52302 fi
52303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52304 ac_ext=c
52305 ac_cpp='$CPP $CPPFLAGS'
52306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52309
52310
52311 fi
52312
52313 fi
52314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52315 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52316
52317 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52318 for ac_func in logl
52319 do :
52320 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52321 if test "x$ac_cv_func_logl" = xyes; then :
52322 cat >>confdefs.h <<_ACEOF
52323 #define HAVE_LOGL 1
52324 _ACEOF
52325
52326 fi
52327 done
52328
52329 else
52330
52331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52332 $as_echo_n "checking for _logl declaration... " >&6; }
52333 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52334 if ${glibcxx_cv_func__logl_use+:} false; then :
52335 $as_echo_n "(cached) " >&6
52336 else
52337
52338
52339 ac_ext=cpp
52340 ac_cpp='$CXXCPP $CPPFLAGS'
52341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52344
52345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52346 /* end confdefs.h. */
52347 #include <math.h>
52348 #ifdef HAVE_IEEEFP_H
52349 #include <ieeefp.h>
52350 #endif
52351
52352 int
52353 main ()
52354 {
52355 _logl(0);
52356 ;
52357 return 0;
52358 }
52359 _ACEOF
52360 if ac_fn_cxx_try_compile "$LINENO"; then :
52361 glibcxx_cv_func__logl_use=yes
52362 else
52363 glibcxx_cv_func__logl_use=no
52364 fi
52365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52366 ac_ext=c
52367 ac_cpp='$CPP $CPPFLAGS'
52368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52371
52372
52373 fi
52374
52375 fi
52376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52377 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52378
52379 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52380 for ac_func in _logl
52381 do :
52382 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52383 if test "x$ac_cv_func__logl" = xyes; then :
52384 cat >>confdefs.h <<_ACEOF
52385 #define HAVE__LOGL 1
52386 _ACEOF
52387
52388 fi
52389 done
52390
52391 fi
52392 fi
52393
52394
52395
52396
52397
52398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52399 $as_echo_n "checking for log10l declaration... " >&6; }
52400 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52401 if ${glibcxx_cv_func_log10l_use+:} false; then :
52402 $as_echo_n "(cached) " >&6
52403 else
52404
52405
52406 ac_ext=cpp
52407 ac_cpp='$CXXCPP $CPPFLAGS'
52408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52411
52412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52413 /* end confdefs.h. */
52414 #include <math.h>
52415 #ifdef HAVE_IEEEFP_H
52416 #include <ieeefp.h>
52417 #endif
52418
52419 int
52420 main ()
52421 {
52422 log10l(0);
52423 ;
52424 return 0;
52425 }
52426 _ACEOF
52427 if ac_fn_cxx_try_compile "$LINENO"; then :
52428 glibcxx_cv_func_log10l_use=yes
52429 else
52430 glibcxx_cv_func_log10l_use=no
52431 fi
52432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52433 ac_ext=c
52434 ac_cpp='$CPP $CPPFLAGS'
52435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52438
52439
52440 fi
52441
52442 fi
52443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52444 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52445
52446 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52447 for ac_func in log10l
52448 do :
52449 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52450 if test "x$ac_cv_func_log10l" = xyes; then :
52451 cat >>confdefs.h <<_ACEOF
52452 #define HAVE_LOG10L 1
52453 _ACEOF
52454
52455 fi
52456 done
52457
52458 else
52459
52460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52461 $as_echo_n "checking for _log10l declaration... " >&6; }
52462 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52463 if ${glibcxx_cv_func__log10l_use+:} false; then :
52464 $as_echo_n "(cached) " >&6
52465 else
52466
52467
52468 ac_ext=cpp
52469 ac_cpp='$CXXCPP $CPPFLAGS'
52470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52473
52474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52475 /* end confdefs.h. */
52476 #include <math.h>
52477 #ifdef HAVE_IEEEFP_H
52478 #include <ieeefp.h>
52479 #endif
52480
52481 int
52482 main ()
52483 {
52484 _log10l(0);
52485 ;
52486 return 0;
52487 }
52488 _ACEOF
52489 if ac_fn_cxx_try_compile "$LINENO"; then :
52490 glibcxx_cv_func__log10l_use=yes
52491 else
52492 glibcxx_cv_func__log10l_use=no
52493 fi
52494 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52495 ac_ext=c
52496 ac_cpp='$CPP $CPPFLAGS'
52497 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52498 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52499 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52500
52501
52502 fi
52503
52504 fi
52505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52506 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52507
52508 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52509 for ac_func in _log10l
52510 do :
52511 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52512 if test "x$ac_cv_func__log10l" = xyes; then :
52513 cat >>confdefs.h <<_ACEOF
52514 #define HAVE__LOG10L 1
52515 _ACEOF
52516
52517 fi
52518 done
52519
52520 fi
52521 fi
52522
52523
52524
52525
52526
52527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52528 $as_echo_n "checking for modfl declaration... " >&6; }
52529 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52530 if ${glibcxx_cv_func_modfl_use+:} false; then :
52531 $as_echo_n "(cached) " >&6
52532 else
52533
52534
52535 ac_ext=cpp
52536 ac_cpp='$CXXCPP $CPPFLAGS'
52537 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52538 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52539 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52540
52541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52542 /* end confdefs.h. */
52543 #include <math.h>
52544 int
52545 main ()
52546 {
52547 modfl(0, 0);
52548 ;
52549 return 0;
52550 }
52551 _ACEOF
52552 if ac_fn_cxx_try_compile "$LINENO"; then :
52553 glibcxx_cv_func_modfl_use=yes
52554 else
52555 glibcxx_cv_func_modfl_use=no
52556 fi
52557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52558 ac_ext=c
52559 ac_cpp='$CPP $CPPFLAGS'
52560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52563
52564
52565 fi
52566
52567 fi
52568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52569 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52570
52571 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52572 for ac_func in modfl
52573 do :
52574 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52575 if test "x$ac_cv_func_modfl" = xyes; then :
52576 cat >>confdefs.h <<_ACEOF
52577 #define HAVE_MODFL 1
52578 _ACEOF
52579
52580 fi
52581 done
52582
52583 else
52584
52585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52586 $as_echo_n "checking for _modfl declaration... " >&6; }
52587 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52588 if ${glibcxx_cv_func__modfl_use+:} false; then :
52589 $as_echo_n "(cached) " >&6
52590 else
52591
52592
52593 ac_ext=cpp
52594 ac_cpp='$CXXCPP $CPPFLAGS'
52595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52598
52599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52600 /* end confdefs.h. */
52601 #include <math.h>
52602 int
52603 main ()
52604 {
52605 _modfl(0, 0);
52606 ;
52607 return 0;
52608 }
52609 _ACEOF
52610 if ac_fn_cxx_try_compile "$LINENO"; then :
52611 glibcxx_cv_func__modfl_use=yes
52612 else
52613 glibcxx_cv_func__modfl_use=no
52614 fi
52615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52616 ac_ext=c
52617 ac_cpp='$CPP $CPPFLAGS'
52618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52621
52622
52623 fi
52624
52625 fi
52626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
52627 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
52628
52629 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
52630 for ac_func in _modfl
52631 do :
52632 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
52633 if test "x$ac_cv_func__modfl" = xyes; then :
52634 cat >>confdefs.h <<_ACEOF
52635 #define HAVE__MODFL 1
52636 _ACEOF
52637
52638 fi
52639 done
52640
52641 fi
52642 fi
52643
52644
52645
52646
52647
52648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
52649 $as_echo_n "checking for powl declaration... " >&6; }
52650 if test x${glibcxx_cv_func_powl_use+set} != xset; then
52651 if ${glibcxx_cv_func_powl_use+:} false; then :
52652 $as_echo_n "(cached) " >&6
52653 else
52654
52655
52656 ac_ext=cpp
52657 ac_cpp='$CXXCPP $CPPFLAGS'
52658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52661
52662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52663 /* end confdefs.h. */
52664 #include <math.h>
52665 int
52666 main ()
52667 {
52668 powl(0, 0);
52669 ;
52670 return 0;
52671 }
52672 _ACEOF
52673 if ac_fn_cxx_try_compile "$LINENO"; then :
52674 glibcxx_cv_func_powl_use=yes
52675 else
52676 glibcxx_cv_func_powl_use=no
52677 fi
52678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52679 ac_ext=c
52680 ac_cpp='$CPP $CPPFLAGS'
52681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52684
52685
52686 fi
52687
52688 fi
52689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
52690 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
52691
52692 if test x$glibcxx_cv_func_powl_use = x"yes"; then
52693 for ac_func in powl
52694 do :
52695 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
52696 if test "x$ac_cv_func_powl" = xyes; then :
52697 cat >>confdefs.h <<_ACEOF
52698 #define HAVE_POWL 1
52699 _ACEOF
52700
52701 fi
52702 done
52703
52704 else
52705
52706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
52707 $as_echo_n "checking for _powl declaration... " >&6; }
52708 if test x${glibcxx_cv_func__powl_use+set} != xset; then
52709 if ${glibcxx_cv_func__powl_use+:} false; then :
52710 $as_echo_n "(cached) " >&6
52711 else
52712
52713
52714 ac_ext=cpp
52715 ac_cpp='$CXXCPP $CPPFLAGS'
52716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52719
52720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52721 /* end confdefs.h. */
52722 #include <math.h>
52723 int
52724 main ()
52725 {
52726 _powl(0, 0);
52727 ;
52728 return 0;
52729 }
52730 _ACEOF
52731 if ac_fn_cxx_try_compile "$LINENO"; then :
52732 glibcxx_cv_func__powl_use=yes
52733 else
52734 glibcxx_cv_func__powl_use=no
52735 fi
52736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52737 ac_ext=c
52738 ac_cpp='$CPP $CPPFLAGS'
52739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52742
52743
52744 fi
52745
52746 fi
52747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
52748 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
52749
52750 if test x$glibcxx_cv_func__powl_use = x"yes"; then
52751 for ac_func in _powl
52752 do :
52753 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
52754 if test "x$ac_cv_func__powl" = xyes; then :
52755 cat >>confdefs.h <<_ACEOF
52756 #define HAVE__POWL 1
52757 _ACEOF
52758
52759 fi
52760 done
52761
52762 fi
52763 fi
52764
52765
52766
52767
52768
52769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
52770 $as_echo_n "checking for sqrtl declaration... " >&6; }
52771 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
52772 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
52773 $as_echo_n "(cached) " >&6
52774 else
52775
52776
52777 ac_ext=cpp
52778 ac_cpp='$CXXCPP $CPPFLAGS'
52779 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52780 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52782
52783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52784 /* end confdefs.h. */
52785 #include <math.h>
52786 #ifdef HAVE_IEEEFP_H
52787 #include <ieeefp.h>
52788 #endif
52789
52790 int
52791 main ()
52792 {
52793 sqrtl(0);
52794 ;
52795 return 0;
52796 }
52797 _ACEOF
52798 if ac_fn_cxx_try_compile "$LINENO"; then :
52799 glibcxx_cv_func_sqrtl_use=yes
52800 else
52801 glibcxx_cv_func_sqrtl_use=no
52802 fi
52803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52804 ac_ext=c
52805 ac_cpp='$CPP $CPPFLAGS'
52806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52809
52810
52811 fi
52812
52813 fi
52814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
52815 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
52816
52817 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
52818 for ac_func in sqrtl
52819 do :
52820 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
52821 if test "x$ac_cv_func_sqrtl" = xyes; then :
52822 cat >>confdefs.h <<_ACEOF
52823 #define HAVE_SQRTL 1
52824 _ACEOF
52825
52826 fi
52827 done
52828
52829 else
52830
52831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
52832 $as_echo_n "checking for _sqrtl declaration... " >&6; }
52833 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
52834 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
52835 $as_echo_n "(cached) " >&6
52836 else
52837
52838
52839 ac_ext=cpp
52840 ac_cpp='$CXXCPP $CPPFLAGS'
52841 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52842 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52843 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52844
52845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52846 /* end confdefs.h. */
52847 #include <math.h>
52848 #ifdef HAVE_IEEEFP_H
52849 #include <ieeefp.h>
52850 #endif
52851
52852 int
52853 main ()
52854 {
52855 _sqrtl(0);
52856 ;
52857 return 0;
52858 }
52859 _ACEOF
52860 if ac_fn_cxx_try_compile "$LINENO"; then :
52861 glibcxx_cv_func__sqrtl_use=yes
52862 else
52863 glibcxx_cv_func__sqrtl_use=no
52864 fi
52865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52866 ac_ext=c
52867 ac_cpp='$CPP $CPPFLAGS'
52868 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52869 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52870 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52871
52872
52873 fi
52874
52875 fi
52876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
52877 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
52878
52879 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
52880 for ac_func in _sqrtl
52881 do :
52882 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
52883 if test "x$ac_cv_func__sqrtl" = xyes; then :
52884 cat >>confdefs.h <<_ACEOF
52885 #define HAVE__SQRTL 1
52886 _ACEOF
52887
52888 fi
52889 done
52890
52891 fi
52892 fi
52893
52894
52895
52896
52897
52898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
52899 $as_echo_n "checking for sincosl declaration... " >&6; }
52900 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
52901 if ${glibcxx_cv_func_sincosl_use+:} false; then :
52902 $as_echo_n "(cached) " >&6
52903 else
52904
52905
52906 ac_ext=cpp
52907 ac_cpp='$CXXCPP $CPPFLAGS'
52908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52911
52912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52913 /* end confdefs.h. */
52914 #include <math.h>
52915 int
52916 main ()
52917 {
52918 sincosl(0, 0, 0);
52919 ;
52920 return 0;
52921 }
52922 _ACEOF
52923 if ac_fn_cxx_try_compile "$LINENO"; then :
52924 glibcxx_cv_func_sincosl_use=yes
52925 else
52926 glibcxx_cv_func_sincosl_use=no
52927 fi
52928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52929 ac_ext=c
52930 ac_cpp='$CPP $CPPFLAGS'
52931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52934
52935
52936 fi
52937
52938 fi
52939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
52940 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
52941
52942 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
52943 for ac_func in sincosl
52944 do :
52945 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
52946 if test "x$ac_cv_func_sincosl" = xyes; then :
52947 cat >>confdefs.h <<_ACEOF
52948 #define HAVE_SINCOSL 1
52949 _ACEOF
52950
52951 fi
52952 done
52953
52954 else
52955
52956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
52957 $as_echo_n "checking for _sincosl declaration... " >&6; }
52958 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
52959 if ${glibcxx_cv_func__sincosl_use+:} false; then :
52960 $as_echo_n "(cached) " >&6
52961 else
52962
52963
52964 ac_ext=cpp
52965 ac_cpp='$CXXCPP $CPPFLAGS'
52966 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52967 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52968 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52969
52970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52971 /* end confdefs.h. */
52972 #include <math.h>
52973 int
52974 main ()
52975 {
52976 _sincosl(0, 0, 0);
52977 ;
52978 return 0;
52979 }
52980 _ACEOF
52981 if ac_fn_cxx_try_compile "$LINENO"; then :
52982 glibcxx_cv_func__sincosl_use=yes
52983 else
52984 glibcxx_cv_func__sincosl_use=no
52985 fi
52986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52987 ac_ext=c
52988 ac_cpp='$CPP $CPPFLAGS'
52989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52992
52993
52994 fi
52995
52996 fi
52997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
52998 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
52999
53000 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53001 for ac_func in _sincosl
53002 do :
53003 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53004 if test "x$ac_cv_func__sincosl" = xyes; then :
53005 cat >>confdefs.h <<_ACEOF
53006 #define HAVE__SINCOSL 1
53007 _ACEOF
53008
53009 fi
53010 done
53011
53012 fi
53013 fi
53014
53015
53016
53017
53018
53019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53020 $as_echo_n "checking for finitel declaration... " >&6; }
53021 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53022 if ${glibcxx_cv_func_finitel_use+:} false; then :
53023 $as_echo_n "(cached) " >&6
53024 else
53025
53026
53027 ac_ext=cpp
53028 ac_cpp='$CXXCPP $CPPFLAGS'
53029 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53030 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53031 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53032
53033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53034 /* end confdefs.h. */
53035 #include <math.h>
53036 #ifdef HAVE_IEEEFP_H
53037 #include <ieeefp.h>
53038 #endif
53039
53040 int
53041 main ()
53042 {
53043 finitel(0);
53044 ;
53045 return 0;
53046 }
53047 _ACEOF
53048 if ac_fn_cxx_try_compile "$LINENO"; then :
53049 glibcxx_cv_func_finitel_use=yes
53050 else
53051 glibcxx_cv_func_finitel_use=no
53052 fi
53053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53054 ac_ext=c
53055 ac_cpp='$CPP $CPPFLAGS'
53056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53059
53060
53061 fi
53062
53063 fi
53064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53065 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53066
53067 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53068 for ac_func in finitel
53069 do :
53070 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53071 if test "x$ac_cv_func_finitel" = xyes; then :
53072 cat >>confdefs.h <<_ACEOF
53073 #define HAVE_FINITEL 1
53074 _ACEOF
53075
53076 fi
53077 done
53078
53079 else
53080
53081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53082 $as_echo_n "checking for _finitel declaration... " >&6; }
53083 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53084 if ${glibcxx_cv_func__finitel_use+:} false; then :
53085 $as_echo_n "(cached) " >&6
53086 else
53087
53088
53089 ac_ext=cpp
53090 ac_cpp='$CXXCPP $CPPFLAGS'
53091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53094
53095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53096 /* end confdefs.h. */
53097 #include <math.h>
53098 #ifdef HAVE_IEEEFP_H
53099 #include <ieeefp.h>
53100 #endif
53101
53102 int
53103 main ()
53104 {
53105 _finitel(0);
53106 ;
53107 return 0;
53108 }
53109 _ACEOF
53110 if ac_fn_cxx_try_compile "$LINENO"; then :
53111 glibcxx_cv_func__finitel_use=yes
53112 else
53113 glibcxx_cv_func__finitel_use=no
53114 fi
53115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53116 ac_ext=c
53117 ac_cpp='$CPP $CPPFLAGS'
53118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53121
53122
53123 fi
53124
53125 fi
53126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53127 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53128
53129 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53130 for ac_func in _finitel
53131 do :
53132 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53133 if test "x$ac_cv_func__finitel" = xyes; then :
53134 cat >>confdefs.h <<_ACEOF
53135 #define HAVE__FINITEL 1
53136 _ACEOF
53137
53138 fi
53139 done
53140
53141 fi
53142 fi
53143
53144
53145
53146
53147 LIBS="$ac_save_LIBS"
53148 CXXFLAGS="$ac_save_CXXFLAGS"
53149
53150
53151 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53152 ac_save_CXXFLAGS="$CXXFLAGS"
53153 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53154
53155
53156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53157 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53158 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53159 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53160 $as_echo_n "(cached) " >&6
53161 else
53162
53163
53164 ac_ext=cpp
53165 ac_cpp='$CXXCPP $CPPFLAGS'
53166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53169
53170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53171 /* end confdefs.h. */
53172 #include <stdlib.h>
53173 int
53174 main ()
53175 {
53176 at_quick_exit(0);
53177 ;
53178 return 0;
53179 }
53180 _ACEOF
53181 if ac_fn_cxx_try_compile "$LINENO"; then :
53182 glibcxx_cv_func_at_quick_exit_use=yes
53183 else
53184 glibcxx_cv_func_at_quick_exit_use=no
53185 fi
53186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53187 ac_ext=c
53188 ac_cpp='$CPP $CPPFLAGS'
53189 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53190 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53191 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53192
53193
53194 fi
53195
53196 fi
53197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53198 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53199 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53200 for ac_func in at_quick_exit
53201 do :
53202 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53203 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53204 cat >>confdefs.h <<_ACEOF
53205 #define HAVE_AT_QUICK_EXIT 1
53206 _ACEOF
53207
53208 fi
53209 done
53210
53211 fi
53212
53213
53214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53215 $as_echo_n "checking for quick_exit declaration... " >&6; }
53216 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53217 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53218 $as_echo_n "(cached) " >&6
53219 else
53220
53221
53222 ac_ext=cpp
53223 ac_cpp='$CXXCPP $CPPFLAGS'
53224 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53225 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53226 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53227
53228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53229 /* end confdefs.h. */
53230 #include <stdlib.h>
53231 int
53232 main ()
53233 {
53234 quick_exit(0);
53235 ;
53236 return 0;
53237 }
53238 _ACEOF
53239 if ac_fn_cxx_try_compile "$LINENO"; then :
53240 glibcxx_cv_func_quick_exit_use=yes
53241 else
53242 glibcxx_cv_func_quick_exit_use=no
53243 fi
53244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53245 ac_ext=c
53246 ac_cpp='$CPP $CPPFLAGS'
53247 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53248 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53249 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53250
53251
53252 fi
53253
53254 fi
53255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53256 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53257 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53258 for ac_func in quick_exit
53259 do :
53260 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53261 if test "x$ac_cv_func_quick_exit" = xyes; then :
53262 cat >>confdefs.h <<_ACEOF
53263 #define HAVE_QUICK_EXIT 1
53264 _ACEOF
53265
53266 fi
53267 done
53268
53269 fi
53270
53271
53272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53273 $as_echo_n "checking for strtold declaration... " >&6; }
53274 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53275 if ${glibcxx_cv_func_strtold_use+:} false; then :
53276 $as_echo_n "(cached) " >&6
53277 else
53278
53279
53280 ac_ext=cpp
53281 ac_cpp='$CXXCPP $CPPFLAGS'
53282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53285
53286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53287 /* end confdefs.h. */
53288 #include <stdlib.h>
53289 int
53290 main ()
53291 {
53292 strtold(0, 0);
53293 ;
53294 return 0;
53295 }
53296 _ACEOF
53297 if ac_fn_cxx_try_compile "$LINENO"; then :
53298 glibcxx_cv_func_strtold_use=yes
53299 else
53300 glibcxx_cv_func_strtold_use=no
53301 fi
53302 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53303 ac_ext=c
53304 ac_cpp='$CPP $CPPFLAGS'
53305 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53306 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53307 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53308
53309
53310 fi
53311
53312 fi
53313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53314 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53315 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53316 for ac_func in strtold
53317 do :
53318 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53319 if test "x$ac_cv_func_strtold" = xyes; then :
53320 cat >>confdefs.h <<_ACEOF
53321 #define HAVE_STRTOLD 1
53322 _ACEOF
53323
53324 fi
53325 done
53326
53327 fi
53328
53329
53330
53331
53332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53333 $as_echo_n "checking for strtof declaration... " >&6; }
53334 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53335 if ${glibcxx_cv_func_strtof_use+:} false; then :
53336 $as_echo_n "(cached) " >&6
53337 else
53338
53339
53340 ac_ext=cpp
53341 ac_cpp='$CXXCPP $CPPFLAGS'
53342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53345
53346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53347 /* end confdefs.h. */
53348 #include <stdlib.h>
53349 int
53350 main ()
53351 {
53352 strtof(0, 0);
53353 ;
53354 return 0;
53355 }
53356 _ACEOF
53357 if ac_fn_cxx_try_compile "$LINENO"; then :
53358 glibcxx_cv_func_strtof_use=yes
53359 else
53360 glibcxx_cv_func_strtof_use=no
53361 fi
53362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53363 ac_ext=c
53364 ac_cpp='$CPP $CPPFLAGS'
53365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53368
53369
53370 fi
53371
53372 fi
53373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53374 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53375 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53376 for ac_func in strtof
53377 do :
53378 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53379 if test "x$ac_cv_func_strtof" = xyes; then :
53380 cat >>confdefs.h <<_ACEOF
53381 #define HAVE_STRTOF 1
53382 _ACEOF
53383
53384 fi
53385 done
53386
53387 fi
53388
53389
53390
53391
53392 CXXFLAGS="$ac_save_CXXFLAGS"
53393
53394 ;;
53395
53396 *djgpp)
53397 # GLIBCXX_CHECK_MATH_SUPPORT
53398 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53399
53400 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53401
53402 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53403
53404 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
53405
53406 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53407
53408 ;;
53409
53410 *-freebsd*)
53411 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53412
53413
53414 # If we're not using GNU ld, then there's no point in even trying these
53415 # tests. Check for that first. We should have already tested for gld
53416 # by now (in libtool), but require it now just to be safe...
53417 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53418 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53419
53420
53421
53422 # The name set by libtool depends on the version of libtool. Shame on us
53423 # for depending on an impl detail, but c'est la vie. Older versions used
53424 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53425 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53426 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53427 # set (hence we're using an older libtool), then set it.
53428 if test x${with_gnu_ld+set} != xset; then
53429 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53430 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53431 with_gnu_ld=no
53432 else
53433 with_gnu_ld=$ac_cv_prog_gnu_ld
53434 fi
53435 fi
53436
53437 # Start by getting the version number. I think the libtool test already
53438 # does some of this, but throws away the result.
53439 glibcxx_ld_is_gold=no
53440 if test x"$with_gnu_ld" = x"yes"; then
53441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53442 $as_echo_n "checking for ld version... " >&6; }
53443
53444 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53445 glibcxx_ld_is_gold=yes
53446 fi
53447 ldver=`$LD --version 2>/dev/null |
53448 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'`
53449
53450 glibcxx_gnu_ld_version=`echo $ldver | \
53451 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53453 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53454 fi
53455
53456 # Set --gc-sections.
53457 glibcxx_have_gc_sections=no
53458 if test "$glibcxx_ld_is_gold" = "yes"; then
53459 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53460 glibcxx_have_gc_sections=yes
53461 fi
53462 else
53463 glibcxx_gcsections_min_ld=21602
53464 if test x"$with_gnu_ld" = x"yes" &&
53465 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53466 glibcxx_have_gc_sections=yes
53467 fi
53468 fi
53469 if test "$glibcxx_have_gc_sections" = "yes"; then
53470 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53471 # NB: This flag only works reliably after 2.16.1. Configure tests
53472 # for this are difficult, so hard wire a value that should work.
53473
53474 ac_test_CFLAGS="${CFLAGS+set}"
53475 ac_save_CFLAGS="$CFLAGS"
53476 CFLAGS='-Wl,--gc-sections'
53477
53478 # Check for -Wl,--gc-sections
53479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53480 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53481 if test x$gcc_no_link = xyes; then
53482 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53483 fi
53484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53485 /* end confdefs.h. */
53486 int one(void) { return 1; }
53487 int two(void) { return 2; }
53488
53489 int
53490 main ()
53491 {
53492 two();
53493 ;
53494 return 0;
53495 }
53496 _ACEOF
53497 if ac_fn_c_try_link "$LINENO"; then :
53498 ac_gcsections=yes
53499 else
53500 ac_gcsections=no
53501 fi
53502 rm -f core conftest.err conftest.$ac_objext \
53503 conftest$ac_exeext conftest.$ac_ext
53504 if test "$ac_gcsections" = "yes"; then
53505 rm -f conftest.c
53506 touch conftest.c
53507 if $CC -c conftest.c; then
53508 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53509 grep "Warning: gc-sections option ignored" > /dev/null; then
53510 ac_gcsections=no
53511 fi
53512 fi
53513 rm -f conftest.c conftest.o conftest
53514 fi
53515 if test "$ac_gcsections" = "yes"; then
53516 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53517 fi
53518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53519 $as_echo "$ac_gcsections" >&6; }
53520
53521 if test "$ac_test_CFLAGS" = set; then
53522 CFLAGS="$ac_save_CFLAGS"
53523 else
53524 # this is the suspicious part
53525 CFLAGS=''
53526 fi
53527 fi
53528
53529 # Set -z,relro.
53530 # Note this is only for shared objects.
53531 ac_ld_relro=no
53532 if test x"$with_gnu_ld" = x"yes"; then
53533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53534 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53535 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53536 if test -n "$cxx_z_relo"; then
53537 OPT_LDFLAGS="-Wl,-z,relro"
53538 ac_ld_relro=yes
53539 fi
53540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53541 $as_echo "$ac_ld_relro" >&6; }
53542 fi
53543
53544 # Set linker optimization flags.
53545 if test x"$with_gnu_ld" = x"yes"; then
53546 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53547 fi
53548
53549
53550
53551
53552 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
53553
53554 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
53555
53556 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
53557
53558 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53559
53560 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53561
53562 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
53563
53564 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
53565
53566 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53567
53568 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
53569
53570
53571 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53572
53573 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53574
53575 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53576
53577 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53578
53579 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
53580
53581 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53582
53583 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53584
53585 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53586
53587 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53588
53589 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
53590
53591 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53592
53593 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53594
53595 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
53596
53597 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53598
53599 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53600
53601 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
53602
53603 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53604
53605 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53606
53607 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53608
53609 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53610
53611 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53612
53613 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53614
53615 if test x"long_double_math_on_this_cpu" = x"yes"; then
53616 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
53617
53618 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
53619
53620 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
53621
53622 fi
53623 for ac_func in __cxa_thread_atexit
53624 do :
53625 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
53626 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
53627 cat >>confdefs.h <<_ACEOF
53628 #define HAVE___CXA_THREAD_ATEXIT 1
53629 _ACEOF
53630
53631 fi
53632 done
53633
53634 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
53635 do :
53636 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
53637 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
53638 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
53639 cat >>confdefs.h <<_ACEOF
53640 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
53641 _ACEOF
53642
53643 fi
53644 done
53645
53646 for ac_func in timespec_get
53647 do :
53648 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
53649 if test "x$ac_cv_func_timespec_get" = xyes; then :
53650 cat >>confdefs.h <<_ACEOF
53651 #define HAVE_TIMESPEC_GET 1
53652 _ACEOF
53653
53654 fi
53655 done
53656
53657 for ac_func in sockatmark
53658 do :
53659 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
53660 if test "x$ac_cv_func_sockatmark" = xyes; then :
53661 cat >>confdefs.h <<_ACEOF
53662 #define HAVE_SOCKATMARK 1
53663 _ACEOF
53664
53665 fi
53666 done
53667
53668 ;;
53669
53670 *-fuchsia*)
53671 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53672
53673 ;;
53674
53675 *-hpux*)
53676 SECTION_FLAGS='-ffunction-sections -fdata-sections'
53677
53678
53679 # If we're not using GNU ld, then there's no point in even trying these
53680 # tests. Check for that first. We should have already tested for gld
53681 # by now (in libtool), but require it now just to be safe...
53682 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
53683 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
53684
53685
53686
53687 # The name set by libtool depends on the version of libtool. Shame on us
53688 # for depending on an impl detail, but c'est la vie. Older versions used
53689 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
53690 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
53691 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
53692 # set (hence we're using an older libtool), then set it.
53693 if test x${with_gnu_ld+set} != xset; then
53694 if test x${ac_cv_prog_gnu_ld+set} != xset; then
53695 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
53696 with_gnu_ld=no
53697 else
53698 with_gnu_ld=$ac_cv_prog_gnu_ld
53699 fi
53700 fi
53701
53702 # Start by getting the version number. I think the libtool test already
53703 # does some of this, but throws away the result.
53704 glibcxx_ld_is_gold=no
53705 if test x"$with_gnu_ld" = x"yes"; then
53706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
53707 $as_echo_n "checking for ld version... " >&6; }
53708
53709 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
53710 glibcxx_ld_is_gold=yes
53711 fi
53712 ldver=`$LD --version 2>/dev/null |
53713 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'`
53714
53715 glibcxx_gnu_ld_version=`echo $ldver | \
53716 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
53717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
53718 $as_echo "$glibcxx_gnu_ld_version" >&6; }
53719 fi
53720
53721 # Set --gc-sections.
53722 glibcxx_have_gc_sections=no
53723 if test "$glibcxx_ld_is_gold" = "yes"; then
53724 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
53725 glibcxx_have_gc_sections=yes
53726 fi
53727 else
53728 glibcxx_gcsections_min_ld=21602
53729 if test x"$with_gnu_ld" = x"yes" &&
53730 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
53731 glibcxx_have_gc_sections=yes
53732 fi
53733 fi
53734 if test "$glibcxx_have_gc_sections" = "yes"; then
53735 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
53736 # NB: This flag only works reliably after 2.16.1. Configure tests
53737 # for this are difficult, so hard wire a value that should work.
53738
53739 ac_test_CFLAGS="${CFLAGS+set}"
53740 ac_save_CFLAGS="$CFLAGS"
53741 CFLAGS='-Wl,--gc-sections'
53742
53743 # Check for -Wl,--gc-sections
53744 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
53745 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
53746 if test x$gcc_no_link = xyes; then
53747 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53748 fi
53749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53750 /* end confdefs.h. */
53751 int one(void) { return 1; }
53752 int two(void) { return 2; }
53753
53754 int
53755 main ()
53756 {
53757 two();
53758 ;
53759 return 0;
53760 }
53761 _ACEOF
53762 if ac_fn_c_try_link "$LINENO"; then :
53763 ac_gcsections=yes
53764 else
53765 ac_gcsections=no
53766 fi
53767 rm -f core conftest.err conftest.$ac_objext \
53768 conftest$ac_exeext conftest.$ac_ext
53769 if test "$ac_gcsections" = "yes"; then
53770 rm -f conftest.c
53771 touch conftest.c
53772 if $CC -c conftest.c; then
53773 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
53774 grep "Warning: gc-sections option ignored" > /dev/null; then
53775 ac_gcsections=no
53776 fi
53777 fi
53778 rm -f conftest.c conftest.o conftest
53779 fi
53780 if test "$ac_gcsections" = "yes"; then
53781 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
53782 fi
53783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
53784 $as_echo "$ac_gcsections" >&6; }
53785
53786 if test "$ac_test_CFLAGS" = set; then
53787 CFLAGS="$ac_save_CFLAGS"
53788 else
53789 # this is the suspicious part
53790 CFLAGS=''
53791 fi
53792 fi
53793
53794 # Set -z,relro.
53795 # Note this is only for shared objects.
53796 ac_ld_relro=no
53797 if test x"$with_gnu_ld" = x"yes"; then
53798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
53799 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
53800 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
53801 if test -n "$cxx_z_relo"; then
53802 OPT_LDFLAGS="-Wl,-z,relro"
53803 ac_ld_relro=yes
53804 fi
53805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
53806 $as_echo "$ac_ld_relro" >&6; }
53807 fi
53808
53809 # Set linker optimization flags.
53810 if test x"$with_gnu_ld" = x"yes"; then
53811 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
53812 fi
53813
53814
53815
53816
53817
53818 # GLIBCXX_CHECK_MATH_SUPPORT
53819 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
53820
53821 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
53822
53823 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
53824
53825 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
53826
53827 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
53828
53829 $as_echo "#define HAVE_COSF 1" >>confdefs.h
53830
53831 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
53832
53833 $as_echo "#define HAVE_SINF 1" >>confdefs.h
53834
53835 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
53836
53837 $as_echo "#define HAVE_TANF 1" >>confdefs.h
53838
53839 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
53840
53841 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
53842
53843 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
53844
53845 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
53846
53847 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
53848
53849 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
53850
53851 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
53852
53853 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
53854
53855 $as_echo "#define HAVE_MODF 1" >>confdefs.h
53856
53857 $as_echo "#define HAVE_POWF 1" >>confdefs.h
53858
53859 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
53860
53861
53862 # GLIBCXX_CHECK_STDLIB_SUPPORT
53863 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
53864
53865
53866
53867
53868 # Check whether --enable-tls was given.
53869 if test "${enable_tls+set}" = set; then :
53870 enableval=$enable_tls;
53871 case "$enableval" in
53872 yes|no) ;;
53873 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53874 esac
53875
53876 else
53877 enable_tls=yes
53878 fi
53879
53880
53881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53882 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53883 if ${gcc_cv_have_tls+:} false; then :
53884 $as_echo_n "(cached) " >&6
53885 else
53886
53887 if test "$cross_compiling" = yes; then :
53888 if test x$gcc_no_link = xyes; then
53889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53890 fi
53891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53892 /* end confdefs.h. */
53893 __thread int a; int b; int main() { return a = b; }
53894 _ACEOF
53895 if ac_fn_c_try_link "$LINENO"; then :
53896 chktls_save_LDFLAGS="$LDFLAGS"
53897 case $host in
53898 *-*-linux*)
53899 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53900 ;;
53901 esac
53902 chktls_save_CFLAGS="$CFLAGS"
53903 CFLAGS="-fPIC $CFLAGS"
53904 if test x$gcc_no_link = xyes; then
53905 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53906 fi
53907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53908 /* end confdefs.h. */
53909 int f() { return 0; }
53910 _ACEOF
53911 if ac_fn_c_try_link "$LINENO"; then :
53912 if test x$gcc_no_link = xyes; then
53913 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53914 fi
53915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53916 /* end confdefs.h. */
53917 __thread int a; int b; int f() { return a = b; }
53918 _ACEOF
53919 if ac_fn_c_try_link "$LINENO"; then :
53920 gcc_cv_have_tls=yes
53921 else
53922 gcc_cv_have_tls=no
53923 fi
53924 rm -f core conftest.err conftest.$ac_objext \
53925 conftest$ac_exeext conftest.$ac_ext
53926 else
53927 gcc_cv_have_tls=yes
53928 fi
53929 rm -f core conftest.err conftest.$ac_objext \
53930 conftest$ac_exeext conftest.$ac_ext
53931 CFLAGS="$chktls_save_CFLAGS"
53932 LDFLAGS="$chktls_save_LDFLAGS"
53933 else
53934 gcc_cv_have_tls=no
53935 fi
53936 rm -f core conftest.err conftest.$ac_objext \
53937 conftest$ac_exeext conftest.$ac_ext
53938
53939
53940 else
53941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53942 /* end confdefs.h. */
53943 __thread int a; int b; int main() { return a = b; }
53944 _ACEOF
53945 if ac_fn_c_try_run "$LINENO"; then :
53946 chktls_save_LDFLAGS="$LDFLAGS"
53947 LDFLAGS="-static $LDFLAGS"
53948 if test x$gcc_no_link = xyes; then
53949 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53950 fi
53951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53952 /* end confdefs.h. */
53953 int main() { return 0; }
53954 _ACEOF
53955 if ac_fn_c_try_link "$LINENO"; then :
53956 if test "$cross_compiling" = yes; then :
53957 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53958 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53959 as_fn_error $? "cannot run test program while cross compiling
53960 See \`config.log' for more details" "$LINENO" 5; }
53961 else
53962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53963 /* end confdefs.h. */
53964 __thread int a; int b; int main() { return a = b; }
53965 _ACEOF
53966 if ac_fn_c_try_run "$LINENO"; then :
53967 gcc_cv_have_tls=yes
53968 else
53969 gcc_cv_have_tls=no
53970 fi
53971 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53972 conftest.$ac_objext conftest.beam conftest.$ac_ext
53973 fi
53974
53975 else
53976 gcc_cv_have_tls=yes
53977 fi
53978 rm -f core conftest.err conftest.$ac_objext \
53979 conftest$ac_exeext conftest.$ac_ext
53980 LDFLAGS="$chktls_save_LDFLAGS"
53981 if test $gcc_cv_have_tls = yes; then
53982 chktls_save_CFLAGS="$CFLAGS"
53983 thread_CFLAGS=failed
53984 for flag in '' '-pthread' '-lpthread'; do
53985 CFLAGS="$flag $chktls_save_CFLAGS"
53986 if test x$gcc_no_link = xyes; then
53987 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53988 fi
53989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53990 /* end confdefs.h. */
53991 #include <pthread.h>
53992 void *g(void *d) { return NULL; }
53993 int
53994 main ()
53995 {
53996 pthread_t t; pthread_create(&t,NULL,g,NULL);
53997 ;
53998 return 0;
53999 }
54000 _ACEOF
54001 if ac_fn_c_try_link "$LINENO"; then :
54002 thread_CFLAGS="$flag"
54003 fi
54004 rm -f core conftest.err conftest.$ac_objext \
54005 conftest$ac_exeext conftest.$ac_ext
54006 if test "X$thread_CFLAGS" != Xfailed; then
54007 break
54008 fi
54009 done
54010 CFLAGS="$chktls_save_CFLAGS"
54011 if test "X$thread_CFLAGS" != Xfailed; then
54012 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
54013 if test "$cross_compiling" = yes; then :
54014 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
54015 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
54016 as_fn_error $? "cannot run test program while cross compiling
54017 See \`config.log' for more details" "$LINENO" 5; }
54018 else
54019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54020 /* end confdefs.h. */
54021 #include <pthread.h>
54022 __thread int a;
54023 static int *volatile a_in_other_thread;
54024 static void *
54025 thread_func (void *arg)
54026 {
54027 a_in_other_thread = &a;
54028 return (void *)0;
54029 }
54030 int
54031 main ()
54032 {
54033 pthread_t thread;
54034 void *thread_retval;
54035 int *volatile a_in_main_thread;
54036 a_in_main_thread = &a;
54037 if (pthread_create (&thread, (pthread_attr_t *)0,
54038 thread_func, (void *)0))
54039 return 0;
54040 if (pthread_join (thread, &thread_retval))
54041 return 0;
54042 return (a_in_other_thread == a_in_main_thread);
54043 ;
54044 return 0;
54045 }
54046 _ACEOF
54047 if ac_fn_c_try_run "$LINENO"; then :
54048 gcc_cv_have_tls=yes
54049 else
54050 gcc_cv_have_tls=no
54051 fi
54052 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54053 conftest.$ac_objext conftest.beam conftest.$ac_ext
54054 fi
54055
54056 CFLAGS="$chktls_save_CFLAGS"
54057 fi
54058 fi
54059 else
54060 gcc_cv_have_tls=no
54061 fi
54062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
54063 conftest.$ac_objext conftest.beam conftest.$ac_ext
54064 fi
54065
54066 fi
54067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
54068 $as_echo "$gcc_cv_have_tls" >&6; }
54069 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54070
54071 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54072
54073 fi
54074 case "$target" in
54075 *-hpux10*)
54076 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
54077
54078 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
54079
54080 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
54081
54082 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
54083
54084 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
54085
54086 ;;
54087 esac
54088 ;;
54089 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
54090
54091 # All these tests are for C++; save the language and the compiler flags.
54092 # The CXXFLAGS thing is suspicious, but based on similar bits previously
54093 # found in GLIBCXX_CONFIGURE.
54094
54095 ac_ext=cpp
54096 ac_cpp='$CXXCPP $CPPFLAGS'
54097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54100
54101 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54102 ac_save_CXXFLAGS="$CXXFLAGS"
54103
54104 # Check for -ffunction-sections -fdata-sections
54105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
54106 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
54107 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
54108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54109 /* end confdefs.h. */
54110 int foo; void bar() { };
54111 int
54112 main ()
54113 {
54114
54115 ;
54116 return 0;
54117 }
54118 _ACEOF
54119 if ac_fn_cxx_try_compile "$LINENO"; then :
54120 ac_fdsections=yes
54121 else
54122 ac_fdsections=no
54123 fi
54124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54125 if test "$ac_test_CXXFLAGS" = set; then
54126 CXXFLAGS="$ac_save_CXXFLAGS"
54127 else
54128 # this is the suspicious part
54129 CXXFLAGS=''
54130 fi
54131 if test x"$ac_fdsections" = x"yes"; then
54132 SECTION_FLAGS='-ffunction-sections -fdata-sections'
54133 fi
54134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
54135 $as_echo "$ac_fdsections" >&6; }
54136
54137 ac_ext=c
54138 ac_cpp='$CPP $CPPFLAGS'
54139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54142
54143
54144
54145
54146 # If we're not using GNU ld, then there's no point in even trying these
54147 # tests. Check for that first. We should have already tested for gld
54148 # by now (in libtool), but require it now just to be safe...
54149 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54150 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54151
54152
54153
54154 # The name set by libtool depends on the version of libtool. Shame on us
54155 # for depending on an impl detail, but c'est la vie. Older versions used
54156 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54157 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54158 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54159 # set (hence we're using an older libtool), then set it.
54160 if test x${with_gnu_ld+set} != xset; then
54161 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54162 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54163 with_gnu_ld=no
54164 else
54165 with_gnu_ld=$ac_cv_prog_gnu_ld
54166 fi
54167 fi
54168
54169 # Start by getting the version number. I think the libtool test already
54170 # does some of this, but throws away the result.
54171 glibcxx_ld_is_gold=no
54172 if test x"$with_gnu_ld" = x"yes"; then
54173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54174 $as_echo_n "checking for ld version... " >&6; }
54175
54176 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54177 glibcxx_ld_is_gold=yes
54178 fi
54179 ldver=`$LD --version 2>/dev/null |
54180 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'`
54181
54182 glibcxx_gnu_ld_version=`echo $ldver | \
54183 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54185 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54186 fi
54187
54188 # Set --gc-sections.
54189 glibcxx_have_gc_sections=no
54190 if test "$glibcxx_ld_is_gold" = "yes"; then
54191 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54192 glibcxx_have_gc_sections=yes
54193 fi
54194 else
54195 glibcxx_gcsections_min_ld=21602
54196 if test x"$with_gnu_ld" = x"yes" &&
54197 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54198 glibcxx_have_gc_sections=yes
54199 fi
54200 fi
54201 if test "$glibcxx_have_gc_sections" = "yes"; then
54202 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54203 # NB: This flag only works reliably after 2.16.1. Configure tests
54204 # for this are difficult, so hard wire a value that should work.
54205
54206 ac_test_CFLAGS="${CFLAGS+set}"
54207 ac_save_CFLAGS="$CFLAGS"
54208 CFLAGS='-Wl,--gc-sections'
54209
54210 # Check for -Wl,--gc-sections
54211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54212 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54213 if test x$gcc_no_link = xyes; then
54214 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54215 fi
54216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54217 /* end confdefs.h. */
54218 int one(void) { return 1; }
54219 int two(void) { return 2; }
54220
54221 int
54222 main ()
54223 {
54224 two();
54225 ;
54226 return 0;
54227 }
54228 _ACEOF
54229 if ac_fn_c_try_link "$LINENO"; then :
54230 ac_gcsections=yes
54231 else
54232 ac_gcsections=no
54233 fi
54234 rm -f core conftest.err conftest.$ac_objext \
54235 conftest$ac_exeext conftest.$ac_ext
54236 if test "$ac_gcsections" = "yes"; then
54237 rm -f conftest.c
54238 touch conftest.c
54239 if $CC -c conftest.c; then
54240 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54241 grep "Warning: gc-sections option ignored" > /dev/null; then
54242 ac_gcsections=no
54243 fi
54244 fi
54245 rm -f conftest.c conftest.o conftest
54246 fi
54247 if test "$ac_gcsections" = "yes"; then
54248 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54249 fi
54250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54251 $as_echo "$ac_gcsections" >&6; }
54252
54253 if test "$ac_test_CFLAGS" = set; then
54254 CFLAGS="$ac_save_CFLAGS"
54255 else
54256 # this is the suspicious part
54257 CFLAGS=''
54258 fi
54259 fi
54260
54261 # Set -z,relro.
54262 # Note this is only for shared objects.
54263 ac_ld_relro=no
54264 if test x"$with_gnu_ld" = x"yes"; then
54265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54266 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54267 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54268 if test -n "$cxx_z_relo"; then
54269 OPT_LDFLAGS="-Wl,-z,relro"
54270 ac_ld_relro=yes
54271 fi
54272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54273 $as_echo "$ac_ld_relro" >&6; }
54274 fi
54275
54276 # Set linker optimization flags.
54277 if test x"$with_gnu_ld" = x"yes"; then
54278 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54279 fi
54280
54281
54282
54283
54284
54285 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54286 ac_save_CXXFLAGS="$CXXFLAGS"
54287 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54288
54289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54290 $as_echo_n "checking for sin in -lm... " >&6; }
54291 if ${ac_cv_lib_m_sin+:} false; then :
54292 $as_echo_n "(cached) " >&6
54293 else
54294 ac_check_lib_save_LIBS=$LIBS
54295 LIBS="-lm $LIBS"
54296 if test x$gcc_no_link = xyes; then
54297 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54298 fi
54299 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54300 /* end confdefs.h. */
54301
54302 /* Override any GCC internal prototype to avoid an error.
54303 Use char because int might match the return type of a GCC
54304 builtin and then its argument prototype would still apply. */
54305 #ifdef __cplusplus
54306 extern "C"
54307 #endif
54308 char sin ();
54309 int
54310 main ()
54311 {
54312 return sin ();
54313 ;
54314 return 0;
54315 }
54316 _ACEOF
54317 if ac_fn_c_try_link "$LINENO"; then :
54318 ac_cv_lib_m_sin=yes
54319 else
54320 ac_cv_lib_m_sin=no
54321 fi
54322 rm -f core conftest.err conftest.$ac_objext \
54323 conftest$ac_exeext conftest.$ac_ext
54324 LIBS=$ac_check_lib_save_LIBS
54325 fi
54326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54327 $as_echo "$ac_cv_lib_m_sin" >&6; }
54328 if test "x$ac_cv_lib_m_sin" = xyes; then :
54329 libm="-lm"
54330 fi
54331
54332 ac_save_LIBS="$LIBS"
54333 LIBS="$LIBS $libm"
54334
54335
54336
54337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54338 $as_echo_n "checking for isinf declaration... " >&6; }
54339 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54340 if ${glibcxx_cv_func_isinf_use+:} false; then :
54341 $as_echo_n "(cached) " >&6
54342 else
54343
54344
54345 ac_ext=cpp
54346 ac_cpp='$CXXCPP $CPPFLAGS'
54347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54350
54351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54352 /* end confdefs.h. */
54353 #include <math.h>
54354 #ifdef HAVE_IEEEFP_H
54355 #include <ieeefp.h>
54356 #endif
54357
54358 int
54359 main ()
54360 {
54361 isinf(0);
54362 ;
54363 return 0;
54364 }
54365 _ACEOF
54366 if ac_fn_cxx_try_compile "$LINENO"; then :
54367 glibcxx_cv_func_isinf_use=yes
54368 else
54369 glibcxx_cv_func_isinf_use=no
54370 fi
54371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54372 ac_ext=c
54373 ac_cpp='$CPP $CPPFLAGS'
54374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54377
54378
54379 fi
54380
54381 fi
54382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54383 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54384
54385 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54386 for ac_func in isinf
54387 do :
54388 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54389 if test "x$ac_cv_func_isinf" = xyes; then :
54390 cat >>confdefs.h <<_ACEOF
54391 #define HAVE_ISINF 1
54392 _ACEOF
54393
54394 fi
54395 done
54396
54397 else
54398
54399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54400 $as_echo_n "checking for _isinf declaration... " >&6; }
54401 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54402 if ${glibcxx_cv_func__isinf_use+:} false; then :
54403 $as_echo_n "(cached) " >&6
54404 else
54405
54406
54407 ac_ext=cpp
54408 ac_cpp='$CXXCPP $CPPFLAGS'
54409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54412
54413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54414 /* end confdefs.h. */
54415 #include <math.h>
54416 #ifdef HAVE_IEEEFP_H
54417 #include <ieeefp.h>
54418 #endif
54419
54420 int
54421 main ()
54422 {
54423 _isinf(0);
54424 ;
54425 return 0;
54426 }
54427 _ACEOF
54428 if ac_fn_cxx_try_compile "$LINENO"; then :
54429 glibcxx_cv_func__isinf_use=yes
54430 else
54431 glibcxx_cv_func__isinf_use=no
54432 fi
54433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54434 ac_ext=c
54435 ac_cpp='$CPP $CPPFLAGS'
54436 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54437 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54438 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54439
54440
54441 fi
54442
54443 fi
54444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54445 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54446
54447 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54448 for ac_func in _isinf
54449 do :
54450 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54451 if test "x$ac_cv_func__isinf" = xyes; then :
54452 cat >>confdefs.h <<_ACEOF
54453 #define HAVE__ISINF 1
54454 _ACEOF
54455
54456 fi
54457 done
54458
54459 fi
54460 fi
54461
54462
54463
54464
54465
54466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54467 $as_echo_n "checking for isnan declaration... " >&6; }
54468 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54469 if ${glibcxx_cv_func_isnan_use+:} false; then :
54470 $as_echo_n "(cached) " >&6
54471 else
54472
54473
54474 ac_ext=cpp
54475 ac_cpp='$CXXCPP $CPPFLAGS'
54476 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54477 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54478 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54479
54480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54481 /* end confdefs.h. */
54482 #include <math.h>
54483 #ifdef HAVE_IEEEFP_H
54484 #include <ieeefp.h>
54485 #endif
54486
54487 int
54488 main ()
54489 {
54490 isnan(0);
54491 ;
54492 return 0;
54493 }
54494 _ACEOF
54495 if ac_fn_cxx_try_compile "$LINENO"; then :
54496 glibcxx_cv_func_isnan_use=yes
54497 else
54498 glibcxx_cv_func_isnan_use=no
54499 fi
54500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54501 ac_ext=c
54502 ac_cpp='$CPP $CPPFLAGS'
54503 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54504 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54505 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54506
54507
54508 fi
54509
54510 fi
54511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54512 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54513
54514 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54515 for ac_func in isnan
54516 do :
54517 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54518 if test "x$ac_cv_func_isnan" = xyes; then :
54519 cat >>confdefs.h <<_ACEOF
54520 #define HAVE_ISNAN 1
54521 _ACEOF
54522
54523 fi
54524 done
54525
54526 else
54527
54528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54529 $as_echo_n "checking for _isnan declaration... " >&6; }
54530 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54531 if ${glibcxx_cv_func__isnan_use+:} false; then :
54532 $as_echo_n "(cached) " >&6
54533 else
54534
54535
54536 ac_ext=cpp
54537 ac_cpp='$CXXCPP $CPPFLAGS'
54538 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54539 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54540 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54541
54542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54543 /* end confdefs.h. */
54544 #include <math.h>
54545 #ifdef HAVE_IEEEFP_H
54546 #include <ieeefp.h>
54547 #endif
54548
54549 int
54550 main ()
54551 {
54552 _isnan(0);
54553 ;
54554 return 0;
54555 }
54556 _ACEOF
54557 if ac_fn_cxx_try_compile "$LINENO"; then :
54558 glibcxx_cv_func__isnan_use=yes
54559 else
54560 glibcxx_cv_func__isnan_use=no
54561 fi
54562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54563 ac_ext=c
54564 ac_cpp='$CPP $CPPFLAGS'
54565 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54566 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54567 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54568
54569
54570 fi
54571
54572 fi
54573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54574 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54575
54576 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54577 for ac_func in _isnan
54578 do :
54579 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54580 if test "x$ac_cv_func__isnan" = xyes; then :
54581 cat >>confdefs.h <<_ACEOF
54582 #define HAVE__ISNAN 1
54583 _ACEOF
54584
54585 fi
54586 done
54587
54588 fi
54589 fi
54590
54591
54592
54593
54594
54595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54596 $as_echo_n "checking for finite declaration... " >&6; }
54597 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54598 if ${glibcxx_cv_func_finite_use+:} false; then :
54599 $as_echo_n "(cached) " >&6
54600 else
54601
54602
54603 ac_ext=cpp
54604 ac_cpp='$CXXCPP $CPPFLAGS'
54605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54608
54609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54610 /* end confdefs.h. */
54611 #include <math.h>
54612 #ifdef HAVE_IEEEFP_H
54613 #include <ieeefp.h>
54614 #endif
54615
54616 int
54617 main ()
54618 {
54619 finite(0);
54620 ;
54621 return 0;
54622 }
54623 _ACEOF
54624 if ac_fn_cxx_try_compile "$LINENO"; then :
54625 glibcxx_cv_func_finite_use=yes
54626 else
54627 glibcxx_cv_func_finite_use=no
54628 fi
54629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54630 ac_ext=c
54631 ac_cpp='$CPP $CPPFLAGS'
54632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54635
54636
54637 fi
54638
54639 fi
54640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54641 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54642
54643 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54644 for ac_func in finite
54645 do :
54646 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54647 if test "x$ac_cv_func_finite" = xyes; then :
54648 cat >>confdefs.h <<_ACEOF
54649 #define HAVE_FINITE 1
54650 _ACEOF
54651
54652 fi
54653 done
54654
54655 else
54656
54657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54658 $as_echo_n "checking for _finite declaration... " >&6; }
54659 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54660 if ${glibcxx_cv_func__finite_use+:} false; then :
54661 $as_echo_n "(cached) " >&6
54662 else
54663
54664
54665 ac_ext=cpp
54666 ac_cpp='$CXXCPP $CPPFLAGS'
54667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54670
54671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54672 /* end confdefs.h. */
54673 #include <math.h>
54674 #ifdef HAVE_IEEEFP_H
54675 #include <ieeefp.h>
54676 #endif
54677
54678 int
54679 main ()
54680 {
54681 _finite(0);
54682 ;
54683 return 0;
54684 }
54685 _ACEOF
54686 if ac_fn_cxx_try_compile "$LINENO"; then :
54687 glibcxx_cv_func__finite_use=yes
54688 else
54689 glibcxx_cv_func__finite_use=no
54690 fi
54691 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54692 ac_ext=c
54693 ac_cpp='$CPP $CPPFLAGS'
54694 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54695 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54696 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54697
54698
54699 fi
54700
54701 fi
54702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54703 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54704
54705 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54706 for ac_func in _finite
54707 do :
54708 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54709 if test "x$ac_cv_func__finite" = xyes; then :
54710 cat >>confdefs.h <<_ACEOF
54711 #define HAVE__FINITE 1
54712 _ACEOF
54713
54714 fi
54715 done
54716
54717 fi
54718 fi
54719
54720
54721
54722
54723
54724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54725 $as_echo_n "checking for sincos declaration... " >&6; }
54726 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54727 if ${glibcxx_cv_func_sincos_use+:} false; then :
54728 $as_echo_n "(cached) " >&6
54729 else
54730
54731
54732 ac_ext=cpp
54733 ac_cpp='$CXXCPP $CPPFLAGS'
54734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54737
54738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54739 /* end confdefs.h. */
54740 #include <math.h>
54741 int
54742 main ()
54743 {
54744 sincos(0, 0, 0);
54745 ;
54746 return 0;
54747 }
54748 _ACEOF
54749 if ac_fn_cxx_try_compile "$LINENO"; then :
54750 glibcxx_cv_func_sincos_use=yes
54751 else
54752 glibcxx_cv_func_sincos_use=no
54753 fi
54754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54755 ac_ext=c
54756 ac_cpp='$CPP $CPPFLAGS'
54757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54760
54761
54762 fi
54763
54764 fi
54765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54766 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54767
54768 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54769 for ac_func in sincos
54770 do :
54771 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54772 if test "x$ac_cv_func_sincos" = xyes; then :
54773 cat >>confdefs.h <<_ACEOF
54774 #define HAVE_SINCOS 1
54775 _ACEOF
54776
54777 fi
54778 done
54779
54780 else
54781
54782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54783 $as_echo_n "checking for _sincos declaration... " >&6; }
54784 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54785 if ${glibcxx_cv_func__sincos_use+:} false; then :
54786 $as_echo_n "(cached) " >&6
54787 else
54788
54789
54790 ac_ext=cpp
54791 ac_cpp='$CXXCPP $CPPFLAGS'
54792 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54793 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54794 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54795
54796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54797 /* end confdefs.h. */
54798 #include <math.h>
54799 int
54800 main ()
54801 {
54802 _sincos(0, 0, 0);
54803 ;
54804 return 0;
54805 }
54806 _ACEOF
54807 if ac_fn_cxx_try_compile "$LINENO"; then :
54808 glibcxx_cv_func__sincos_use=yes
54809 else
54810 glibcxx_cv_func__sincos_use=no
54811 fi
54812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54813 ac_ext=c
54814 ac_cpp='$CPP $CPPFLAGS'
54815 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54816 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54817 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54818
54819
54820 fi
54821
54822 fi
54823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54824 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54825
54826 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54827 for ac_func in _sincos
54828 do :
54829 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54830 if test "x$ac_cv_func__sincos" = xyes; then :
54831 cat >>confdefs.h <<_ACEOF
54832 #define HAVE__SINCOS 1
54833 _ACEOF
54834
54835 fi
54836 done
54837
54838 fi
54839 fi
54840
54841
54842
54843
54844
54845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54846 $as_echo_n "checking for fpclass declaration... " >&6; }
54847 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54848 if ${glibcxx_cv_func_fpclass_use+:} false; then :
54849 $as_echo_n "(cached) " >&6
54850 else
54851
54852
54853 ac_ext=cpp
54854 ac_cpp='$CXXCPP $CPPFLAGS'
54855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54858
54859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54860 /* end confdefs.h. */
54861 #include <math.h>
54862 #ifdef HAVE_IEEEFP_H
54863 #include <ieeefp.h>
54864 #endif
54865
54866 int
54867 main ()
54868 {
54869 fpclass(0);
54870 ;
54871 return 0;
54872 }
54873 _ACEOF
54874 if ac_fn_cxx_try_compile "$LINENO"; then :
54875 glibcxx_cv_func_fpclass_use=yes
54876 else
54877 glibcxx_cv_func_fpclass_use=no
54878 fi
54879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54880 ac_ext=c
54881 ac_cpp='$CPP $CPPFLAGS'
54882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54885
54886
54887 fi
54888
54889 fi
54890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
54891 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
54892
54893 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
54894 for ac_func in fpclass
54895 do :
54896 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
54897 if test "x$ac_cv_func_fpclass" = xyes; then :
54898 cat >>confdefs.h <<_ACEOF
54899 #define HAVE_FPCLASS 1
54900 _ACEOF
54901
54902 fi
54903 done
54904
54905 else
54906
54907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
54908 $as_echo_n "checking for _fpclass declaration... " >&6; }
54909 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
54910 if ${glibcxx_cv_func__fpclass_use+:} false; then :
54911 $as_echo_n "(cached) " >&6
54912 else
54913
54914
54915 ac_ext=cpp
54916 ac_cpp='$CXXCPP $CPPFLAGS'
54917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54920
54921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54922 /* end confdefs.h. */
54923 #include <math.h>
54924 #ifdef HAVE_IEEEFP_H
54925 #include <ieeefp.h>
54926 #endif
54927
54928 int
54929 main ()
54930 {
54931 _fpclass(0);
54932 ;
54933 return 0;
54934 }
54935 _ACEOF
54936 if ac_fn_cxx_try_compile "$LINENO"; then :
54937 glibcxx_cv_func__fpclass_use=yes
54938 else
54939 glibcxx_cv_func__fpclass_use=no
54940 fi
54941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54942 ac_ext=c
54943 ac_cpp='$CPP $CPPFLAGS'
54944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54947
54948
54949 fi
54950
54951 fi
54952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
54953 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
54954
54955 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
54956 for ac_func in _fpclass
54957 do :
54958 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
54959 if test "x$ac_cv_func__fpclass" = xyes; then :
54960 cat >>confdefs.h <<_ACEOF
54961 #define HAVE__FPCLASS 1
54962 _ACEOF
54963
54964 fi
54965 done
54966
54967 fi
54968 fi
54969
54970
54971
54972
54973
54974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
54975 $as_echo_n "checking for qfpclass declaration... " >&6; }
54976 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
54977 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
54978 $as_echo_n "(cached) " >&6
54979 else
54980
54981
54982 ac_ext=cpp
54983 ac_cpp='$CXXCPP $CPPFLAGS'
54984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54987
54988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54989 /* end confdefs.h. */
54990 #include <math.h>
54991 #ifdef HAVE_IEEEFP_H
54992 #include <ieeefp.h>
54993 #endif
54994
54995 int
54996 main ()
54997 {
54998 qfpclass(0);
54999 ;
55000 return 0;
55001 }
55002 _ACEOF
55003 if ac_fn_cxx_try_compile "$LINENO"; then :
55004 glibcxx_cv_func_qfpclass_use=yes
55005 else
55006 glibcxx_cv_func_qfpclass_use=no
55007 fi
55008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55009 ac_ext=c
55010 ac_cpp='$CPP $CPPFLAGS'
55011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55014
55015
55016 fi
55017
55018 fi
55019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55020 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55021
55022 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55023 for ac_func in qfpclass
55024 do :
55025 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55026 if test "x$ac_cv_func_qfpclass" = xyes; then :
55027 cat >>confdefs.h <<_ACEOF
55028 #define HAVE_QFPCLASS 1
55029 _ACEOF
55030
55031 fi
55032 done
55033
55034 else
55035
55036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55037 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55038 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55039 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55040 $as_echo_n "(cached) " >&6
55041 else
55042
55043
55044 ac_ext=cpp
55045 ac_cpp='$CXXCPP $CPPFLAGS'
55046 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55047 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55048 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55049
55050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55051 /* end confdefs.h. */
55052 #include <math.h>
55053 #ifdef HAVE_IEEEFP_H
55054 #include <ieeefp.h>
55055 #endif
55056
55057 int
55058 main ()
55059 {
55060 _qfpclass(0);
55061 ;
55062 return 0;
55063 }
55064 _ACEOF
55065 if ac_fn_cxx_try_compile "$LINENO"; then :
55066 glibcxx_cv_func__qfpclass_use=yes
55067 else
55068 glibcxx_cv_func__qfpclass_use=no
55069 fi
55070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55071 ac_ext=c
55072 ac_cpp='$CPP $CPPFLAGS'
55073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55076
55077
55078 fi
55079
55080 fi
55081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55082 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55083
55084 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55085 for ac_func in _qfpclass
55086 do :
55087 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55088 if test "x$ac_cv_func__qfpclass" = xyes; then :
55089 cat >>confdefs.h <<_ACEOF
55090 #define HAVE__QFPCLASS 1
55091 _ACEOF
55092
55093 fi
55094 done
55095
55096 fi
55097 fi
55098
55099
55100
55101
55102
55103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55104 $as_echo_n "checking for hypot declaration... " >&6; }
55105 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55106 if ${glibcxx_cv_func_hypot_use+:} false; then :
55107 $as_echo_n "(cached) " >&6
55108 else
55109
55110
55111 ac_ext=cpp
55112 ac_cpp='$CXXCPP $CPPFLAGS'
55113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55116
55117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55118 /* end confdefs.h. */
55119 #include <math.h>
55120 int
55121 main ()
55122 {
55123 hypot(0, 0);
55124 ;
55125 return 0;
55126 }
55127 _ACEOF
55128 if ac_fn_cxx_try_compile "$LINENO"; then :
55129 glibcxx_cv_func_hypot_use=yes
55130 else
55131 glibcxx_cv_func_hypot_use=no
55132 fi
55133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55134 ac_ext=c
55135 ac_cpp='$CPP $CPPFLAGS'
55136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55139
55140
55141 fi
55142
55143 fi
55144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55145 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55146
55147 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55148 for ac_func in hypot
55149 do :
55150 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55151 if test "x$ac_cv_func_hypot" = xyes; then :
55152 cat >>confdefs.h <<_ACEOF
55153 #define HAVE_HYPOT 1
55154 _ACEOF
55155
55156 fi
55157 done
55158
55159 else
55160
55161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55162 $as_echo_n "checking for _hypot declaration... " >&6; }
55163 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55164 if ${glibcxx_cv_func__hypot_use+:} false; then :
55165 $as_echo_n "(cached) " >&6
55166 else
55167
55168
55169 ac_ext=cpp
55170 ac_cpp='$CXXCPP $CPPFLAGS'
55171 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55172 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55173 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55174
55175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55176 /* end confdefs.h. */
55177 #include <math.h>
55178 int
55179 main ()
55180 {
55181 _hypot(0, 0);
55182 ;
55183 return 0;
55184 }
55185 _ACEOF
55186 if ac_fn_cxx_try_compile "$LINENO"; then :
55187 glibcxx_cv_func__hypot_use=yes
55188 else
55189 glibcxx_cv_func__hypot_use=no
55190 fi
55191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55192 ac_ext=c
55193 ac_cpp='$CPP $CPPFLAGS'
55194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55197
55198
55199 fi
55200
55201 fi
55202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55203 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55204
55205 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55206 for ac_func in _hypot
55207 do :
55208 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55209 if test "x$ac_cv_func__hypot" = xyes; then :
55210 cat >>confdefs.h <<_ACEOF
55211 #define HAVE__HYPOT 1
55212 _ACEOF
55213
55214 fi
55215 done
55216
55217 fi
55218 fi
55219
55220
55221
55222
55223
55224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55225 $as_echo_n "checking for float trig functions... " >&6; }
55226 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55227 $as_echo_n "(cached) " >&6
55228 else
55229
55230
55231 ac_ext=cpp
55232 ac_cpp='$CXXCPP $CPPFLAGS'
55233 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55234 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55235 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55236
55237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55238 /* end confdefs.h. */
55239 #include <math.h>
55240 int
55241 main ()
55242 {
55243 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55244 ;
55245 return 0;
55246 }
55247 _ACEOF
55248 if ac_fn_cxx_try_compile "$LINENO"; then :
55249 glibcxx_cv_func_float_trig_use=yes
55250 else
55251 glibcxx_cv_func_float_trig_use=no
55252 fi
55253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55254 ac_ext=c
55255 ac_cpp='$CPP $CPPFLAGS'
55256 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55257 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55258 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55259
55260 fi
55261
55262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55263 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55264 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55265 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55266 do :
55267 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55268 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55269 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55270 cat >>confdefs.h <<_ACEOF
55271 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55272 _ACEOF
55273
55274 fi
55275 done
55276
55277 else
55278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55279 $as_echo_n "checking for _float trig functions... " >&6; }
55280 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55281 $as_echo_n "(cached) " >&6
55282 else
55283
55284
55285 ac_ext=cpp
55286 ac_cpp='$CXXCPP $CPPFLAGS'
55287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55290
55291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55292 /* end confdefs.h. */
55293 #include <math.h>
55294 int
55295 main ()
55296 {
55297 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55298 ;
55299 return 0;
55300 }
55301 _ACEOF
55302 if ac_fn_cxx_try_compile "$LINENO"; then :
55303 glibcxx_cv_func__float_trig_use=yes
55304 else
55305 glibcxx_cv_func__float_trig_use=no
55306 fi
55307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55308 ac_ext=c
55309 ac_cpp='$CPP $CPPFLAGS'
55310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55313
55314 fi
55315
55316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55317 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55318 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55319 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55320 do :
55321 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55322 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55323 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55324 cat >>confdefs.h <<_ACEOF
55325 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55326 _ACEOF
55327
55328 fi
55329 done
55330
55331 fi
55332 fi
55333
55334
55335
55336
55337
55338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55339 $as_echo_n "checking for float round functions... " >&6; }
55340 if ${glibcxx_cv_func_float_round_use+:} false; then :
55341 $as_echo_n "(cached) " >&6
55342 else
55343
55344
55345 ac_ext=cpp
55346 ac_cpp='$CXXCPP $CPPFLAGS'
55347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55350
55351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55352 /* end confdefs.h. */
55353 #include <math.h>
55354 int
55355 main ()
55356 {
55357 ceilf (0); floorf (0);
55358 ;
55359 return 0;
55360 }
55361 _ACEOF
55362 if ac_fn_cxx_try_compile "$LINENO"; then :
55363 glibcxx_cv_func_float_round_use=yes
55364 else
55365 glibcxx_cv_func_float_round_use=no
55366 fi
55367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55368 ac_ext=c
55369 ac_cpp='$CPP $CPPFLAGS'
55370 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55371 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55373
55374 fi
55375
55376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55377 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55378 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55379 for ac_func in ceilf floorf
55380 do :
55381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55384 cat >>confdefs.h <<_ACEOF
55385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55386 _ACEOF
55387
55388 fi
55389 done
55390
55391 else
55392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55393 $as_echo_n "checking for _float round functions... " >&6; }
55394 if ${glibcxx_cv_func__float_round_use+:} false; then :
55395 $as_echo_n "(cached) " >&6
55396 else
55397
55398
55399 ac_ext=cpp
55400 ac_cpp='$CXXCPP $CPPFLAGS'
55401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55404
55405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55406 /* end confdefs.h. */
55407 #include <math.h>
55408 int
55409 main ()
55410 {
55411 _ceilf (0); _floorf (0);
55412 ;
55413 return 0;
55414 }
55415 _ACEOF
55416 if ac_fn_cxx_try_compile "$LINENO"; then :
55417 glibcxx_cv_func__float_round_use=yes
55418 else
55419 glibcxx_cv_func__float_round_use=no
55420 fi
55421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55422 ac_ext=c
55423 ac_cpp='$CPP $CPPFLAGS'
55424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55427
55428 fi
55429
55430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55431 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55432 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55433 for ac_func in _ceilf _floorf
55434 do :
55435 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55436 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55437 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55438 cat >>confdefs.h <<_ACEOF
55439 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55440 _ACEOF
55441
55442 fi
55443 done
55444
55445 fi
55446 fi
55447
55448
55449
55450
55451
55452
55453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55454 $as_echo_n "checking for expf declaration... " >&6; }
55455 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55456 if ${glibcxx_cv_func_expf_use+:} false; then :
55457 $as_echo_n "(cached) " >&6
55458 else
55459
55460
55461 ac_ext=cpp
55462 ac_cpp='$CXXCPP $CPPFLAGS'
55463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55466
55467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55468 /* end confdefs.h. */
55469 #include <math.h>
55470 #ifdef HAVE_IEEEFP_H
55471 #include <ieeefp.h>
55472 #endif
55473
55474 int
55475 main ()
55476 {
55477 expf(0);
55478 ;
55479 return 0;
55480 }
55481 _ACEOF
55482 if ac_fn_cxx_try_compile "$LINENO"; then :
55483 glibcxx_cv_func_expf_use=yes
55484 else
55485 glibcxx_cv_func_expf_use=no
55486 fi
55487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55488 ac_ext=c
55489 ac_cpp='$CPP $CPPFLAGS'
55490 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55491 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55492 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55493
55494
55495 fi
55496
55497 fi
55498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55499 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55500
55501 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55502 for ac_func in expf
55503 do :
55504 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55505 if test "x$ac_cv_func_expf" = xyes; then :
55506 cat >>confdefs.h <<_ACEOF
55507 #define HAVE_EXPF 1
55508 _ACEOF
55509
55510 fi
55511 done
55512
55513 else
55514
55515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55516 $as_echo_n "checking for _expf declaration... " >&6; }
55517 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55518 if ${glibcxx_cv_func__expf_use+:} false; then :
55519 $as_echo_n "(cached) " >&6
55520 else
55521
55522
55523 ac_ext=cpp
55524 ac_cpp='$CXXCPP $CPPFLAGS'
55525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55528
55529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55530 /* end confdefs.h. */
55531 #include <math.h>
55532 #ifdef HAVE_IEEEFP_H
55533 #include <ieeefp.h>
55534 #endif
55535
55536 int
55537 main ()
55538 {
55539 _expf(0);
55540 ;
55541 return 0;
55542 }
55543 _ACEOF
55544 if ac_fn_cxx_try_compile "$LINENO"; then :
55545 glibcxx_cv_func__expf_use=yes
55546 else
55547 glibcxx_cv_func__expf_use=no
55548 fi
55549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55550 ac_ext=c
55551 ac_cpp='$CPP $CPPFLAGS'
55552 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55553 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55554 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55555
55556
55557 fi
55558
55559 fi
55560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55561 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55562
55563 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55564 for ac_func in _expf
55565 do :
55566 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55567 if test "x$ac_cv_func__expf" = xyes; then :
55568 cat >>confdefs.h <<_ACEOF
55569 #define HAVE__EXPF 1
55570 _ACEOF
55571
55572 fi
55573 done
55574
55575 fi
55576 fi
55577
55578
55579
55580
55581
55582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55583 $as_echo_n "checking for isnanf declaration... " >&6; }
55584 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55585 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55586 $as_echo_n "(cached) " >&6
55587 else
55588
55589
55590 ac_ext=cpp
55591 ac_cpp='$CXXCPP $CPPFLAGS'
55592 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55593 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55594 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55595
55596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55597 /* end confdefs.h. */
55598 #include <math.h>
55599 #ifdef HAVE_IEEEFP_H
55600 #include <ieeefp.h>
55601 #endif
55602
55603 int
55604 main ()
55605 {
55606 isnanf(0);
55607 ;
55608 return 0;
55609 }
55610 _ACEOF
55611 if ac_fn_cxx_try_compile "$LINENO"; then :
55612 glibcxx_cv_func_isnanf_use=yes
55613 else
55614 glibcxx_cv_func_isnanf_use=no
55615 fi
55616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55617 ac_ext=c
55618 ac_cpp='$CPP $CPPFLAGS'
55619 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55620 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55621 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55622
55623
55624 fi
55625
55626 fi
55627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55628 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55629
55630 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55631 for ac_func in isnanf
55632 do :
55633 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55634 if test "x$ac_cv_func_isnanf" = xyes; then :
55635 cat >>confdefs.h <<_ACEOF
55636 #define HAVE_ISNANF 1
55637 _ACEOF
55638
55639 fi
55640 done
55641
55642 else
55643
55644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55645 $as_echo_n "checking for _isnanf declaration... " >&6; }
55646 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55647 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55648 $as_echo_n "(cached) " >&6
55649 else
55650
55651
55652 ac_ext=cpp
55653 ac_cpp='$CXXCPP $CPPFLAGS'
55654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55657
55658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55659 /* end confdefs.h. */
55660 #include <math.h>
55661 #ifdef HAVE_IEEEFP_H
55662 #include <ieeefp.h>
55663 #endif
55664
55665 int
55666 main ()
55667 {
55668 _isnanf(0);
55669 ;
55670 return 0;
55671 }
55672 _ACEOF
55673 if ac_fn_cxx_try_compile "$LINENO"; then :
55674 glibcxx_cv_func__isnanf_use=yes
55675 else
55676 glibcxx_cv_func__isnanf_use=no
55677 fi
55678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55679 ac_ext=c
55680 ac_cpp='$CPP $CPPFLAGS'
55681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55684
55685
55686 fi
55687
55688 fi
55689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55690 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55691
55692 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55693 for ac_func in _isnanf
55694 do :
55695 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55696 if test "x$ac_cv_func__isnanf" = xyes; then :
55697 cat >>confdefs.h <<_ACEOF
55698 #define HAVE__ISNANF 1
55699 _ACEOF
55700
55701 fi
55702 done
55703
55704 fi
55705 fi
55706
55707
55708
55709
55710
55711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55712 $as_echo_n "checking for isinff declaration... " >&6; }
55713 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55714 if ${glibcxx_cv_func_isinff_use+:} false; then :
55715 $as_echo_n "(cached) " >&6
55716 else
55717
55718
55719 ac_ext=cpp
55720 ac_cpp='$CXXCPP $CPPFLAGS'
55721 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55722 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55723 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55724
55725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55726 /* end confdefs.h. */
55727 #include <math.h>
55728 #ifdef HAVE_IEEEFP_H
55729 #include <ieeefp.h>
55730 #endif
55731
55732 int
55733 main ()
55734 {
55735 isinff(0);
55736 ;
55737 return 0;
55738 }
55739 _ACEOF
55740 if ac_fn_cxx_try_compile "$LINENO"; then :
55741 glibcxx_cv_func_isinff_use=yes
55742 else
55743 glibcxx_cv_func_isinff_use=no
55744 fi
55745 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55746 ac_ext=c
55747 ac_cpp='$CPP $CPPFLAGS'
55748 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55749 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55750 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55751
55752
55753 fi
55754
55755 fi
55756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55757 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55758
55759 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55760 for ac_func in isinff
55761 do :
55762 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55763 if test "x$ac_cv_func_isinff" = xyes; then :
55764 cat >>confdefs.h <<_ACEOF
55765 #define HAVE_ISINFF 1
55766 _ACEOF
55767
55768 fi
55769 done
55770
55771 else
55772
55773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55774 $as_echo_n "checking for _isinff declaration... " >&6; }
55775 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55776 if ${glibcxx_cv_func__isinff_use+:} false; then :
55777 $as_echo_n "(cached) " >&6
55778 else
55779
55780
55781 ac_ext=cpp
55782 ac_cpp='$CXXCPP $CPPFLAGS'
55783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55786
55787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55788 /* end confdefs.h. */
55789 #include <math.h>
55790 #ifdef HAVE_IEEEFP_H
55791 #include <ieeefp.h>
55792 #endif
55793
55794 int
55795 main ()
55796 {
55797 _isinff(0);
55798 ;
55799 return 0;
55800 }
55801 _ACEOF
55802 if ac_fn_cxx_try_compile "$LINENO"; then :
55803 glibcxx_cv_func__isinff_use=yes
55804 else
55805 glibcxx_cv_func__isinff_use=no
55806 fi
55807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55808 ac_ext=c
55809 ac_cpp='$CPP $CPPFLAGS'
55810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55813
55814
55815 fi
55816
55817 fi
55818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55819 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55820
55821 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55822 for ac_func in _isinff
55823 do :
55824 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55825 if test "x$ac_cv_func__isinff" = xyes; then :
55826 cat >>confdefs.h <<_ACEOF
55827 #define HAVE__ISINFF 1
55828 _ACEOF
55829
55830 fi
55831 done
55832
55833 fi
55834 fi
55835
55836
55837
55838
55839
55840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55841 $as_echo_n "checking for atan2f declaration... " >&6; }
55842 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55843 if ${glibcxx_cv_func_atan2f_use+:} false; then :
55844 $as_echo_n "(cached) " >&6
55845 else
55846
55847
55848 ac_ext=cpp
55849 ac_cpp='$CXXCPP $CPPFLAGS'
55850 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55851 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55852 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55853
55854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55855 /* end confdefs.h. */
55856 #include <math.h>
55857 int
55858 main ()
55859 {
55860 atan2f(0, 0);
55861 ;
55862 return 0;
55863 }
55864 _ACEOF
55865 if ac_fn_cxx_try_compile "$LINENO"; then :
55866 glibcxx_cv_func_atan2f_use=yes
55867 else
55868 glibcxx_cv_func_atan2f_use=no
55869 fi
55870 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55871 ac_ext=c
55872 ac_cpp='$CPP $CPPFLAGS'
55873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55876
55877
55878 fi
55879
55880 fi
55881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
55882 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
55883
55884 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
55885 for ac_func in atan2f
55886 do :
55887 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
55888 if test "x$ac_cv_func_atan2f" = xyes; then :
55889 cat >>confdefs.h <<_ACEOF
55890 #define HAVE_ATAN2F 1
55891 _ACEOF
55892
55893 fi
55894 done
55895
55896 else
55897
55898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
55899 $as_echo_n "checking for _atan2f declaration... " >&6; }
55900 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
55901 if ${glibcxx_cv_func__atan2f_use+:} false; then :
55902 $as_echo_n "(cached) " >&6
55903 else
55904
55905
55906 ac_ext=cpp
55907 ac_cpp='$CXXCPP $CPPFLAGS'
55908 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55909 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55910 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55911
55912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55913 /* end confdefs.h. */
55914 #include <math.h>
55915 int
55916 main ()
55917 {
55918 _atan2f(0, 0);
55919 ;
55920 return 0;
55921 }
55922 _ACEOF
55923 if ac_fn_cxx_try_compile "$LINENO"; then :
55924 glibcxx_cv_func__atan2f_use=yes
55925 else
55926 glibcxx_cv_func__atan2f_use=no
55927 fi
55928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55929 ac_ext=c
55930 ac_cpp='$CPP $CPPFLAGS'
55931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55934
55935
55936 fi
55937
55938 fi
55939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
55940 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
55941
55942 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
55943 for ac_func in _atan2f
55944 do :
55945 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
55946 if test "x$ac_cv_func__atan2f" = xyes; then :
55947 cat >>confdefs.h <<_ACEOF
55948 #define HAVE__ATAN2F 1
55949 _ACEOF
55950
55951 fi
55952 done
55953
55954 fi
55955 fi
55956
55957
55958
55959
55960
55961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
55962 $as_echo_n "checking for fabsf declaration... " >&6; }
55963 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
55964 if ${glibcxx_cv_func_fabsf_use+:} false; then :
55965 $as_echo_n "(cached) " >&6
55966 else
55967
55968
55969 ac_ext=cpp
55970 ac_cpp='$CXXCPP $CPPFLAGS'
55971 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55972 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55973 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55974
55975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55976 /* end confdefs.h. */
55977 #include <math.h>
55978 #ifdef HAVE_IEEEFP_H
55979 #include <ieeefp.h>
55980 #endif
55981
55982 int
55983 main ()
55984 {
55985 fabsf(0);
55986 ;
55987 return 0;
55988 }
55989 _ACEOF
55990 if ac_fn_cxx_try_compile "$LINENO"; then :
55991 glibcxx_cv_func_fabsf_use=yes
55992 else
55993 glibcxx_cv_func_fabsf_use=no
55994 fi
55995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55996 ac_ext=c
55997 ac_cpp='$CPP $CPPFLAGS'
55998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56001
56002
56003 fi
56004
56005 fi
56006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56007 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56008
56009 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56010 for ac_func in fabsf
56011 do :
56012 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56013 if test "x$ac_cv_func_fabsf" = xyes; then :
56014 cat >>confdefs.h <<_ACEOF
56015 #define HAVE_FABSF 1
56016 _ACEOF
56017
56018 fi
56019 done
56020
56021 else
56022
56023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56024 $as_echo_n "checking for _fabsf declaration... " >&6; }
56025 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56026 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56027 $as_echo_n "(cached) " >&6
56028 else
56029
56030
56031 ac_ext=cpp
56032 ac_cpp='$CXXCPP $CPPFLAGS'
56033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56036
56037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56038 /* end confdefs.h. */
56039 #include <math.h>
56040 #ifdef HAVE_IEEEFP_H
56041 #include <ieeefp.h>
56042 #endif
56043
56044 int
56045 main ()
56046 {
56047 _fabsf(0);
56048 ;
56049 return 0;
56050 }
56051 _ACEOF
56052 if ac_fn_cxx_try_compile "$LINENO"; then :
56053 glibcxx_cv_func__fabsf_use=yes
56054 else
56055 glibcxx_cv_func__fabsf_use=no
56056 fi
56057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56058 ac_ext=c
56059 ac_cpp='$CPP $CPPFLAGS'
56060 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56061 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56062 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56063
56064
56065 fi
56066
56067 fi
56068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56069 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56070
56071 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56072 for ac_func in _fabsf
56073 do :
56074 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56075 if test "x$ac_cv_func__fabsf" = xyes; then :
56076 cat >>confdefs.h <<_ACEOF
56077 #define HAVE__FABSF 1
56078 _ACEOF
56079
56080 fi
56081 done
56082
56083 fi
56084 fi
56085
56086
56087
56088
56089
56090 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56091 $as_echo_n "checking for fmodf declaration... " >&6; }
56092 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56093 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56094 $as_echo_n "(cached) " >&6
56095 else
56096
56097
56098 ac_ext=cpp
56099 ac_cpp='$CXXCPP $CPPFLAGS'
56100 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56101 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56102 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56103
56104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56105 /* end confdefs.h. */
56106 #include <math.h>
56107 int
56108 main ()
56109 {
56110 fmodf(0, 0);
56111 ;
56112 return 0;
56113 }
56114 _ACEOF
56115 if ac_fn_cxx_try_compile "$LINENO"; then :
56116 glibcxx_cv_func_fmodf_use=yes
56117 else
56118 glibcxx_cv_func_fmodf_use=no
56119 fi
56120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56121 ac_ext=c
56122 ac_cpp='$CPP $CPPFLAGS'
56123 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56124 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56125 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56126
56127
56128 fi
56129
56130 fi
56131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56132 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56133
56134 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56135 for ac_func in fmodf
56136 do :
56137 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56138 if test "x$ac_cv_func_fmodf" = xyes; then :
56139 cat >>confdefs.h <<_ACEOF
56140 #define HAVE_FMODF 1
56141 _ACEOF
56142
56143 fi
56144 done
56145
56146 else
56147
56148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56149 $as_echo_n "checking for _fmodf declaration... " >&6; }
56150 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56151 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56152 $as_echo_n "(cached) " >&6
56153 else
56154
56155
56156 ac_ext=cpp
56157 ac_cpp='$CXXCPP $CPPFLAGS'
56158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56161
56162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56163 /* end confdefs.h. */
56164 #include <math.h>
56165 int
56166 main ()
56167 {
56168 _fmodf(0, 0);
56169 ;
56170 return 0;
56171 }
56172 _ACEOF
56173 if ac_fn_cxx_try_compile "$LINENO"; then :
56174 glibcxx_cv_func__fmodf_use=yes
56175 else
56176 glibcxx_cv_func__fmodf_use=no
56177 fi
56178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56179 ac_ext=c
56180 ac_cpp='$CPP $CPPFLAGS'
56181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56184
56185
56186 fi
56187
56188 fi
56189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56190 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56191
56192 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56193 for ac_func in _fmodf
56194 do :
56195 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56196 if test "x$ac_cv_func__fmodf" = xyes; then :
56197 cat >>confdefs.h <<_ACEOF
56198 #define HAVE__FMODF 1
56199 _ACEOF
56200
56201 fi
56202 done
56203
56204 fi
56205 fi
56206
56207
56208
56209
56210
56211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56212 $as_echo_n "checking for frexpf declaration... " >&6; }
56213 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56214 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56215 $as_echo_n "(cached) " >&6
56216 else
56217
56218
56219 ac_ext=cpp
56220 ac_cpp='$CXXCPP $CPPFLAGS'
56221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56224
56225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56226 /* end confdefs.h. */
56227 #include <math.h>
56228 int
56229 main ()
56230 {
56231 frexpf(0, 0);
56232 ;
56233 return 0;
56234 }
56235 _ACEOF
56236 if ac_fn_cxx_try_compile "$LINENO"; then :
56237 glibcxx_cv_func_frexpf_use=yes
56238 else
56239 glibcxx_cv_func_frexpf_use=no
56240 fi
56241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56242 ac_ext=c
56243 ac_cpp='$CPP $CPPFLAGS'
56244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56247
56248
56249 fi
56250
56251 fi
56252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56253 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56254
56255 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56256 for ac_func in frexpf
56257 do :
56258 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56259 if test "x$ac_cv_func_frexpf" = xyes; then :
56260 cat >>confdefs.h <<_ACEOF
56261 #define HAVE_FREXPF 1
56262 _ACEOF
56263
56264 fi
56265 done
56266
56267 else
56268
56269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56270 $as_echo_n "checking for _frexpf declaration... " >&6; }
56271 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56272 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56273 $as_echo_n "(cached) " >&6
56274 else
56275
56276
56277 ac_ext=cpp
56278 ac_cpp='$CXXCPP $CPPFLAGS'
56279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56282
56283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56284 /* end confdefs.h. */
56285 #include <math.h>
56286 int
56287 main ()
56288 {
56289 _frexpf(0, 0);
56290 ;
56291 return 0;
56292 }
56293 _ACEOF
56294 if ac_fn_cxx_try_compile "$LINENO"; then :
56295 glibcxx_cv_func__frexpf_use=yes
56296 else
56297 glibcxx_cv_func__frexpf_use=no
56298 fi
56299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56300 ac_ext=c
56301 ac_cpp='$CPP $CPPFLAGS'
56302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56305
56306
56307 fi
56308
56309 fi
56310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56311 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56312
56313 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56314 for ac_func in _frexpf
56315 do :
56316 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56317 if test "x$ac_cv_func__frexpf" = xyes; then :
56318 cat >>confdefs.h <<_ACEOF
56319 #define HAVE__FREXPF 1
56320 _ACEOF
56321
56322 fi
56323 done
56324
56325 fi
56326 fi
56327
56328
56329
56330
56331
56332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56333 $as_echo_n "checking for hypotf declaration... " >&6; }
56334 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56335 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56336 $as_echo_n "(cached) " >&6
56337 else
56338
56339
56340 ac_ext=cpp
56341 ac_cpp='$CXXCPP $CPPFLAGS'
56342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56345
56346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56347 /* end confdefs.h. */
56348 #include <math.h>
56349 int
56350 main ()
56351 {
56352 hypotf(0, 0);
56353 ;
56354 return 0;
56355 }
56356 _ACEOF
56357 if ac_fn_cxx_try_compile "$LINENO"; then :
56358 glibcxx_cv_func_hypotf_use=yes
56359 else
56360 glibcxx_cv_func_hypotf_use=no
56361 fi
56362 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56363 ac_ext=c
56364 ac_cpp='$CPP $CPPFLAGS'
56365 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56366 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56367 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56368
56369
56370 fi
56371
56372 fi
56373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56374 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56375
56376 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56377 for ac_func in hypotf
56378 do :
56379 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56380 if test "x$ac_cv_func_hypotf" = xyes; then :
56381 cat >>confdefs.h <<_ACEOF
56382 #define HAVE_HYPOTF 1
56383 _ACEOF
56384
56385 fi
56386 done
56387
56388 else
56389
56390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56391 $as_echo_n "checking for _hypotf declaration... " >&6; }
56392 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56393 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56394 $as_echo_n "(cached) " >&6
56395 else
56396
56397
56398 ac_ext=cpp
56399 ac_cpp='$CXXCPP $CPPFLAGS'
56400 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56401 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56402 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56403
56404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56405 /* end confdefs.h. */
56406 #include <math.h>
56407 int
56408 main ()
56409 {
56410 _hypotf(0, 0);
56411 ;
56412 return 0;
56413 }
56414 _ACEOF
56415 if ac_fn_cxx_try_compile "$LINENO"; then :
56416 glibcxx_cv_func__hypotf_use=yes
56417 else
56418 glibcxx_cv_func__hypotf_use=no
56419 fi
56420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56421 ac_ext=c
56422 ac_cpp='$CPP $CPPFLAGS'
56423 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56424 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56425 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56426
56427
56428 fi
56429
56430 fi
56431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56432 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56433
56434 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56435 for ac_func in _hypotf
56436 do :
56437 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56438 if test "x$ac_cv_func__hypotf" = xyes; then :
56439 cat >>confdefs.h <<_ACEOF
56440 #define HAVE__HYPOTF 1
56441 _ACEOF
56442
56443 fi
56444 done
56445
56446 fi
56447 fi
56448
56449
56450
56451
56452
56453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56454 $as_echo_n "checking for ldexpf declaration... " >&6; }
56455 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56456 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56457 $as_echo_n "(cached) " >&6
56458 else
56459
56460
56461 ac_ext=cpp
56462 ac_cpp='$CXXCPP $CPPFLAGS'
56463 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56464 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56465 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56466
56467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56468 /* end confdefs.h. */
56469 #include <math.h>
56470 int
56471 main ()
56472 {
56473 ldexpf(0, 0);
56474 ;
56475 return 0;
56476 }
56477 _ACEOF
56478 if ac_fn_cxx_try_compile "$LINENO"; then :
56479 glibcxx_cv_func_ldexpf_use=yes
56480 else
56481 glibcxx_cv_func_ldexpf_use=no
56482 fi
56483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56484 ac_ext=c
56485 ac_cpp='$CPP $CPPFLAGS'
56486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56489
56490
56491 fi
56492
56493 fi
56494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56495 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56496
56497 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56498 for ac_func in ldexpf
56499 do :
56500 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56501 if test "x$ac_cv_func_ldexpf" = xyes; then :
56502 cat >>confdefs.h <<_ACEOF
56503 #define HAVE_LDEXPF 1
56504 _ACEOF
56505
56506 fi
56507 done
56508
56509 else
56510
56511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56512 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56513 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56514 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56515 $as_echo_n "(cached) " >&6
56516 else
56517
56518
56519 ac_ext=cpp
56520 ac_cpp='$CXXCPP $CPPFLAGS'
56521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56524
56525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56526 /* end confdefs.h. */
56527 #include <math.h>
56528 int
56529 main ()
56530 {
56531 _ldexpf(0, 0);
56532 ;
56533 return 0;
56534 }
56535 _ACEOF
56536 if ac_fn_cxx_try_compile "$LINENO"; then :
56537 glibcxx_cv_func__ldexpf_use=yes
56538 else
56539 glibcxx_cv_func__ldexpf_use=no
56540 fi
56541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56542 ac_ext=c
56543 ac_cpp='$CPP $CPPFLAGS'
56544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56547
56548
56549 fi
56550
56551 fi
56552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56553 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56554
56555 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56556 for ac_func in _ldexpf
56557 do :
56558 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56559 if test "x$ac_cv_func__ldexpf" = xyes; then :
56560 cat >>confdefs.h <<_ACEOF
56561 #define HAVE__LDEXPF 1
56562 _ACEOF
56563
56564 fi
56565 done
56566
56567 fi
56568 fi
56569
56570
56571
56572
56573
56574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56575 $as_echo_n "checking for logf declaration... " >&6; }
56576 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56577 if ${glibcxx_cv_func_logf_use+:} false; then :
56578 $as_echo_n "(cached) " >&6
56579 else
56580
56581
56582 ac_ext=cpp
56583 ac_cpp='$CXXCPP $CPPFLAGS'
56584 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56585 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56586 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56587
56588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56589 /* end confdefs.h. */
56590 #include <math.h>
56591 #ifdef HAVE_IEEEFP_H
56592 #include <ieeefp.h>
56593 #endif
56594
56595 int
56596 main ()
56597 {
56598 logf(0);
56599 ;
56600 return 0;
56601 }
56602 _ACEOF
56603 if ac_fn_cxx_try_compile "$LINENO"; then :
56604 glibcxx_cv_func_logf_use=yes
56605 else
56606 glibcxx_cv_func_logf_use=no
56607 fi
56608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56609 ac_ext=c
56610 ac_cpp='$CPP $CPPFLAGS'
56611 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56612 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56613 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56614
56615
56616 fi
56617
56618 fi
56619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56620 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56621
56622 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56623 for ac_func in logf
56624 do :
56625 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56626 if test "x$ac_cv_func_logf" = xyes; then :
56627 cat >>confdefs.h <<_ACEOF
56628 #define HAVE_LOGF 1
56629 _ACEOF
56630
56631 fi
56632 done
56633
56634 else
56635
56636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56637 $as_echo_n "checking for _logf declaration... " >&6; }
56638 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56639 if ${glibcxx_cv_func__logf_use+:} false; then :
56640 $as_echo_n "(cached) " >&6
56641 else
56642
56643
56644 ac_ext=cpp
56645 ac_cpp='$CXXCPP $CPPFLAGS'
56646 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56647 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56648 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56649
56650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56651 /* end confdefs.h. */
56652 #include <math.h>
56653 #ifdef HAVE_IEEEFP_H
56654 #include <ieeefp.h>
56655 #endif
56656
56657 int
56658 main ()
56659 {
56660 _logf(0);
56661 ;
56662 return 0;
56663 }
56664 _ACEOF
56665 if ac_fn_cxx_try_compile "$LINENO"; then :
56666 glibcxx_cv_func__logf_use=yes
56667 else
56668 glibcxx_cv_func__logf_use=no
56669 fi
56670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56671 ac_ext=c
56672 ac_cpp='$CPP $CPPFLAGS'
56673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56676
56677
56678 fi
56679
56680 fi
56681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56682 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56683
56684 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56685 for ac_func in _logf
56686 do :
56687 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56688 if test "x$ac_cv_func__logf" = xyes; then :
56689 cat >>confdefs.h <<_ACEOF
56690 #define HAVE__LOGF 1
56691 _ACEOF
56692
56693 fi
56694 done
56695
56696 fi
56697 fi
56698
56699
56700
56701
56702
56703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56704 $as_echo_n "checking for log10f declaration... " >&6; }
56705 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56706 if ${glibcxx_cv_func_log10f_use+:} false; then :
56707 $as_echo_n "(cached) " >&6
56708 else
56709
56710
56711 ac_ext=cpp
56712 ac_cpp='$CXXCPP $CPPFLAGS'
56713 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56714 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56715 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56716
56717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56718 /* end confdefs.h. */
56719 #include <math.h>
56720 #ifdef HAVE_IEEEFP_H
56721 #include <ieeefp.h>
56722 #endif
56723
56724 int
56725 main ()
56726 {
56727 log10f(0);
56728 ;
56729 return 0;
56730 }
56731 _ACEOF
56732 if ac_fn_cxx_try_compile "$LINENO"; then :
56733 glibcxx_cv_func_log10f_use=yes
56734 else
56735 glibcxx_cv_func_log10f_use=no
56736 fi
56737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56738 ac_ext=c
56739 ac_cpp='$CPP $CPPFLAGS'
56740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56743
56744
56745 fi
56746
56747 fi
56748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56749 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56750
56751 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56752 for ac_func in log10f
56753 do :
56754 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56755 if test "x$ac_cv_func_log10f" = xyes; then :
56756 cat >>confdefs.h <<_ACEOF
56757 #define HAVE_LOG10F 1
56758 _ACEOF
56759
56760 fi
56761 done
56762
56763 else
56764
56765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56766 $as_echo_n "checking for _log10f declaration... " >&6; }
56767 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56768 if ${glibcxx_cv_func__log10f_use+:} false; then :
56769 $as_echo_n "(cached) " >&6
56770 else
56771
56772
56773 ac_ext=cpp
56774 ac_cpp='$CXXCPP $CPPFLAGS'
56775 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56776 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56777 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56778
56779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56780 /* end confdefs.h. */
56781 #include <math.h>
56782 #ifdef HAVE_IEEEFP_H
56783 #include <ieeefp.h>
56784 #endif
56785
56786 int
56787 main ()
56788 {
56789 _log10f(0);
56790 ;
56791 return 0;
56792 }
56793 _ACEOF
56794 if ac_fn_cxx_try_compile "$LINENO"; then :
56795 glibcxx_cv_func__log10f_use=yes
56796 else
56797 glibcxx_cv_func__log10f_use=no
56798 fi
56799 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56800 ac_ext=c
56801 ac_cpp='$CPP $CPPFLAGS'
56802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56805
56806
56807 fi
56808
56809 fi
56810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56811 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56812
56813 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56814 for ac_func in _log10f
56815 do :
56816 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56817 if test "x$ac_cv_func__log10f" = xyes; then :
56818 cat >>confdefs.h <<_ACEOF
56819 #define HAVE__LOG10F 1
56820 _ACEOF
56821
56822 fi
56823 done
56824
56825 fi
56826 fi
56827
56828
56829
56830
56831
56832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56833 $as_echo_n "checking for modff declaration... " >&6; }
56834 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56835 if ${glibcxx_cv_func_modff_use+:} false; then :
56836 $as_echo_n "(cached) " >&6
56837 else
56838
56839
56840 ac_ext=cpp
56841 ac_cpp='$CXXCPP $CPPFLAGS'
56842 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56843 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56844 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56845
56846 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56847 /* end confdefs.h. */
56848 #include <math.h>
56849 int
56850 main ()
56851 {
56852 modff(0, 0);
56853 ;
56854 return 0;
56855 }
56856 _ACEOF
56857 if ac_fn_cxx_try_compile "$LINENO"; then :
56858 glibcxx_cv_func_modff_use=yes
56859 else
56860 glibcxx_cv_func_modff_use=no
56861 fi
56862 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56863 ac_ext=c
56864 ac_cpp='$CPP $CPPFLAGS'
56865 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56866 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56867 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56868
56869
56870 fi
56871
56872 fi
56873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
56874 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
56875
56876 if test x$glibcxx_cv_func_modff_use = x"yes"; then
56877 for ac_func in modff
56878 do :
56879 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
56880 if test "x$ac_cv_func_modff" = xyes; then :
56881 cat >>confdefs.h <<_ACEOF
56882 #define HAVE_MODFF 1
56883 _ACEOF
56884
56885 fi
56886 done
56887
56888 else
56889
56890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
56891 $as_echo_n "checking for _modff declaration... " >&6; }
56892 if test x${glibcxx_cv_func__modff_use+set} != xset; then
56893 if ${glibcxx_cv_func__modff_use+:} false; then :
56894 $as_echo_n "(cached) " >&6
56895 else
56896
56897
56898 ac_ext=cpp
56899 ac_cpp='$CXXCPP $CPPFLAGS'
56900 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56901 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56902 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56903
56904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56905 /* end confdefs.h. */
56906 #include <math.h>
56907 int
56908 main ()
56909 {
56910 _modff(0, 0);
56911 ;
56912 return 0;
56913 }
56914 _ACEOF
56915 if ac_fn_cxx_try_compile "$LINENO"; then :
56916 glibcxx_cv_func__modff_use=yes
56917 else
56918 glibcxx_cv_func__modff_use=no
56919 fi
56920 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56921 ac_ext=c
56922 ac_cpp='$CPP $CPPFLAGS'
56923 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56924 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56925 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56926
56927
56928 fi
56929
56930 fi
56931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
56932 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
56933
56934 if test x$glibcxx_cv_func__modff_use = x"yes"; then
56935 for ac_func in _modff
56936 do :
56937 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
56938 if test "x$ac_cv_func__modff" = xyes; then :
56939 cat >>confdefs.h <<_ACEOF
56940 #define HAVE__MODFF 1
56941 _ACEOF
56942
56943 fi
56944 done
56945
56946 fi
56947 fi
56948
56949
56950
56951
56952
56953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
56954 $as_echo_n "checking for modf declaration... " >&6; }
56955 if test x${glibcxx_cv_func_modf_use+set} != xset; then
56956 if ${glibcxx_cv_func_modf_use+:} false; then :
56957 $as_echo_n "(cached) " >&6
56958 else
56959
56960
56961 ac_ext=cpp
56962 ac_cpp='$CXXCPP $CPPFLAGS'
56963 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56964 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56965 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56966
56967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56968 /* end confdefs.h. */
56969 #include <math.h>
56970 int
56971 main ()
56972 {
56973 modf(0, 0);
56974 ;
56975 return 0;
56976 }
56977 _ACEOF
56978 if ac_fn_cxx_try_compile "$LINENO"; then :
56979 glibcxx_cv_func_modf_use=yes
56980 else
56981 glibcxx_cv_func_modf_use=no
56982 fi
56983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56984 ac_ext=c
56985 ac_cpp='$CPP $CPPFLAGS'
56986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56989
56990
56991 fi
56992
56993 fi
56994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
56995 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
56996
56997 if test x$glibcxx_cv_func_modf_use = x"yes"; then
56998 for ac_func in modf
56999 do :
57000 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57001 if test "x$ac_cv_func_modf" = xyes; then :
57002 cat >>confdefs.h <<_ACEOF
57003 #define HAVE_MODF 1
57004 _ACEOF
57005
57006 fi
57007 done
57008
57009 else
57010
57011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57012 $as_echo_n "checking for _modf declaration... " >&6; }
57013 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57014 if ${glibcxx_cv_func__modf_use+:} false; then :
57015 $as_echo_n "(cached) " >&6
57016 else
57017
57018
57019 ac_ext=cpp
57020 ac_cpp='$CXXCPP $CPPFLAGS'
57021 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57022 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57023 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57024
57025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57026 /* end confdefs.h. */
57027 #include <math.h>
57028 int
57029 main ()
57030 {
57031 _modf(0, 0);
57032 ;
57033 return 0;
57034 }
57035 _ACEOF
57036 if ac_fn_cxx_try_compile "$LINENO"; then :
57037 glibcxx_cv_func__modf_use=yes
57038 else
57039 glibcxx_cv_func__modf_use=no
57040 fi
57041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57042 ac_ext=c
57043 ac_cpp='$CPP $CPPFLAGS'
57044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57047
57048
57049 fi
57050
57051 fi
57052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57053 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57054
57055 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57056 for ac_func in _modf
57057 do :
57058 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57059 if test "x$ac_cv_func__modf" = xyes; then :
57060 cat >>confdefs.h <<_ACEOF
57061 #define HAVE__MODF 1
57062 _ACEOF
57063
57064 fi
57065 done
57066
57067 fi
57068 fi
57069
57070
57071
57072
57073
57074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57075 $as_echo_n "checking for powf declaration... " >&6; }
57076 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57077 if ${glibcxx_cv_func_powf_use+:} false; then :
57078 $as_echo_n "(cached) " >&6
57079 else
57080
57081
57082 ac_ext=cpp
57083 ac_cpp='$CXXCPP $CPPFLAGS'
57084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57087
57088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57089 /* end confdefs.h. */
57090 #include <math.h>
57091 int
57092 main ()
57093 {
57094 powf(0, 0);
57095 ;
57096 return 0;
57097 }
57098 _ACEOF
57099 if ac_fn_cxx_try_compile "$LINENO"; then :
57100 glibcxx_cv_func_powf_use=yes
57101 else
57102 glibcxx_cv_func_powf_use=no
57103 fi
57104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57105 ac_ext=c
57106 ac_cpp='$CPP $CPPFLAGS'
57107 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57108 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57109 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57110
57111
57112 fi
57113
57114 fi
57115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57116 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57117
57118 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57119 for ac_func in powf
57120 do :
57121 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57122 if test "x$ac_cv_func_powf" = xyes; then :
57123 cat >>confdefs.h <<_ACEOF
57124 #define HAVE_POWF 1
57125 _ACEOF
57126
57127 fi
57128 done
57129
57130 else
57131
57132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57133 $as_echo_n "checking for _powf declaration... " >&6; }
57134 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57135 if ${glibcxx_cv_func__powf_use+:} false; then :
57136 $as_echo_n "(cached) " >&6
57137 else
57138
57139
57140 ac_ext=cpp
57141 ac_cpp='$CXXCPP $CPPFLAGS'
57142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57145
57146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57147 /* end confdefs.h. */
57148 #include <math.h>
57149 int
57150 main ()
57151 {
57152 _powf(0, 0);
57153 ;
57154 return 0;
57155 }
57156 _ACEOF
57157 if ac_fn_cxx_try_compile "$LINENO"; then :
57158 glibcxx_cv_func__powf_use=yes
57159 else
57160 glibcxx_cv_func__powf_use=no
57161 fi
57162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57163 ac_ext=c
57164 ac_cpp='$CPP $CPPFLAGS'
57165 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57166 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57167 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57168
57169
57170 fi
57171
57172 fi
57173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57174 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57175
57176 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57177 for ac_func in _powf
57178 do :
57179 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57180 if test "x$ac_cv_func__powf" = xyes; then :
57181 cat >>confdefs.h <<_ACEOF
57182 #define HAVE__POWF 1
57183 _ACEOF
57184
57185 fi
57186 done
57187
57188 fi
57189 fi
57190
57191
57192
57193
57194
57195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57196 $as_echo_n "checking for sqrtf declaration... " >&6; }
57197 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57198 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57199 $as_echo_n "(cached) " >&6
57200 else
57201
57202
57203 ac_ext=cpp
57204 ac_cpp='$CXXCPP $CPPFLAGS'
57205 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57206 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57207 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57208
57209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57210 /* end confdefs.h. */
57211 #include <math.h>
57212 #ifdef HAVE_IEEEFP_H
57213 #include <ieeefp.h>
57214 #endif
57215
57216 int
57217 main ()
57218 {
57219 sqrtf(0);
57220 ;
57221 return 0;
57222 }
57223 _ACEOF
57224 if ac_fn_cxx_try_compile "$LINENO"; then :
57225 glibcxx_cv_func_sqrtf_use=yes
57226 else
57227 glibcxx_cv_func_sqrtf_use=no
57228 fi
57229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57230 ac_ext=c
57231 ac_cpp='$CPP $CPPFLAGS'
57232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57235
57236
57237 fi
57238
57239 fi
57240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57241 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57242
57243 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57244 for ac_func in sqrtf
57245 do :
57246 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57247 if test "x$ac_cv_func_sqrtf" = xyes; then :
57248 cat >>confdefs.h <<_ACEOF
57249 #define HAVE_SQRTF 1
57250 _ACEOF
57251
57252 fi
57253 done
57254
57255 else
57256
57257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57258 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57259 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57260 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57261 $as_echo_n "(cached) " >&6
57262 else
57263
57264
57265 ac_ext=cpp
57266 ac_cpp='$CXXCPP $CPPFLAGS'
57267 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57268 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57269 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57270
57271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57272 /* end confdefs.h. */
57273 #include <math.h>
57274 #ifdef HAVE_IEEEFP_H
57275 #include <ieeefp.h>
57276 #endif
57277
57278 int
57279 main ()
57280 {
57281 _sqrtf(0);
57282 ;
57283 return 0;
57284 }
57285 _ACEOF
57286 if ac_fn_cxx_try_compile "$LINENO"; then :
57287 glibcxx_cv_func__sqrtf_use=yes
57288 else
57289 glibcxx_cv_func__sqrtf_use=no
57290 fi
57291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57292 ac_ext=c
57293 ac_cpp='$CPP $CPPFLAGS'
57294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57297
57298
57299 fi
57300
57301 fi
57302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57303 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57304
57305 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57306 for ac_func in _sqrtf
57307 do :
57308 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57309 if test "x$ac_cv_func__sqrtf" = xyes; then :
57310 cat >>confdefs.h <<_ACEOF
57311 #define HAVE__SQRTF 1
57312 _ACEOF
57313
57314 fi
57315 done
57316
57317 fi
57318 fi
57319
57320
57321
57322
57323
57324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57325 $as_echo_n "checking for sincosf declaration... " >&6; }
57326 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57327 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57328 $as_echo_n "(cached) " >&6
57329 else
57330
57331
57332 ac_ext=cpp
57333 ac_cpp='$CXXCPP $CPPFLAGS'
57334 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57335 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57336 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57337
57338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57339 /* end confdefs.h. */
57340 #include <math.h>
57341 int
57342 main ()
57343 {
57344 sincosf(0, 0, 0);
57345 ;
57346 return 0;
57347 }
57348 _ACEOF
57349 if ac_fn_cxx_try_compile "$LINENO"; then :
57350 glibcxx_cv_func_sincosf_use=yes
57351 else
57352 glibcxx_cv_func_sincosf_use=no
57353 fi
57354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57355 ac_ext=c
57356 ac_cpp='$CPP $CPPFLAGS'
57357 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57358 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57359 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57360
57361
57362 fi
57363
57364 fi
57365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57366 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57367
57368 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57369 for ac_func in sincosf
57370 do :
57371 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57372 if test "x$ac_cv_func_sincosf" = xyes; then :
57373 cat >>confdefs.h <<_ACEOF
57374 #define HAVE_SINCOSF 1
57375 _ACEOF
57376
57377 fi
57378 done
57379
57380 else
57381
57382 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57383 $as_echo_n "checking for _sincosf declaration... " >&6; }
57384 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57385 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57386 $as_echo_n "(cached) " >&6
57387 else
57388
57389
57390 ac_ext=cpp
57391 ac_cpp='$CXXCPP $CPPFLAGS'
57392 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57393 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57394 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57395
57396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57397 /* end confdefs.h. */
57398 #include <math.h>
57399 int
57400 main ()
57401 {
57402 _sincosf(0, 0, 0);
57403 ;
57404 return 0;
57405 }
57406 _ACEOF
57407 if ac_fn_cxx_try_compile "$LINENO"; then :
57408 glibcxx_cv_func__sincosf_use=yes
57409 else
57410 glibcxx_cv_func__sincosf_use=no
57411 fi
57412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57413 ac_ext=c
57414 ac_cpp='$CPP $CPPFLAGS'
57415 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57416 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57417 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57418
57419
57420 fi
57421
57422 fi
57423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57424 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57425
57426 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57427 for ac_func in _sincosf
57428 do :
57429 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57430 if test "x$ac_cv_func__sincosf" = xyes; then :
57431 cat >>confdefs.h <<_ACEOF
57432 #define HAVE__SINCOSF 1
57433 _ACEOF
57434
57435 fi
57436 done
57437
57438 fi
57439 fi
57440
57441
57442
57443
57444
57445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57446 $as_echo_n "checking for finitef declaration... " >&6; }
57447 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57448 if ${glibcxx_cv_func_finitef_use+:} false; then :
57449 $as_echo_n "(cached) " >&6
57450 else
57451
57452
57453 ac_ext=cpp
57454 ac_cpp='$CXXCPP $CPPFLAGS'
57455 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57456 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57457 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57458
57459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57460 /* end confdefs.h. */
57461 #include <math.h>
57462 #ifdef HAVE_IEEEFP_H
57463 #include <ieeefp.h>
57464 #endif
57465
57466 int
57467 main ()
57468 {
57469 finitef(0);
57470 ;
57471 return 0;
57472 }
57473 _ACEOF
57474 if ac_fn_cxx_try_compile "$LINENO"; then :
57475 glibcxx_cv_func_finitef_use=yes
57476 else
57477 glibcxx_cv_func_finitef_use=no
57478 fi
57479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57480 ac_ext=c
57481 ac_cpp='$CPP $CPPFLAGS'
57482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57485
57486
57487 fi
57488
57489 fi
57490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57491 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57492
57493 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57494 for ac_func in finitef
57495 do :
57496 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57497 if test "x$ac_cv_func_finitef" = xyes; then :
57498 cat >>confdefs.h <<_ACEOF
57499 #define HAVE_FINITEF 1
57500 _ACEOF
57501
57502 fi
57503 done
57504
57505 else
57506
57507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57508 $as_echo_n "checking for _finitef declaration... " >&6; }
57509 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57510 if ${glibcxx_cv_func__finitef_use+:} false; then :
57511 $as_echo_n "(cached) " >&6
57512 else
57513
57514
57515 ac_ext=cpp
57516 ac_cpp='$CXXCPP $CPPFLAGS'
57517 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57518 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57519 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57520
57521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57522 /* end confdefs.h. */
57523 #include <math.h>
57524 #ifdef HAVE_IEEEFP_H
57525 #include <ieeefp.h>
57526 #endif
57527
57528 int
57529 main ()
57530 {
57531 _finitef(0);
57532 ;
57533 return 0;
57534 }
57535 _ACEOF
57536 if ac_fn_cxx_try_compile "$LINENO"; then :
57537 glibcxx_cv_func__finitef_use=yes
57538 else
57539 glibcxx_cv_func__finitef_use=no
57540 fi
57541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57542 ac_ext=c
57543 ac_cpp='$CPP $CPPFLAGS'
57544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57547
57548
57549 fi
57550
57551 fi
57552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57553 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57554
57555 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57556 for ac_func in _finitef
57557 do :
57558 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57559 if test "x$ac_cv_func__finitef" = xyes; then :
57560 cat >>confdefs.h <<_ACEOF
57561 #define HAVE__FINITEF 1
57562 _ACEOF
57563
57564 fi
57565 done
57566
57567 fi
57568 fi
57569
57570
57571
57572
57573
57574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57575 $as_echo_n "checking for long double trig functions... " >&6; }
57576 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57577 $as_echo_n "(cached) " >&6
57578 else
57579
57580
57581 ac_ext=cpp
57582 ac_cpp='$CXXCPP $CPPFLAGS'
57583 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57584 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57585 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57586
57587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57588 /* end confdefs.h. */
57589 #include <math.h>
57590 int
57591 main ()
57592 {
57593 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57594 ;
57595 return 0;
57596 }
57597 _ACEOF
57598 if ac_fn_cxx_try_compile "$LINENO"; then :
57599 glibcxx_cv_func_long_double_trig_use=yes
57600 else
57601 glibcxx_cv_func_long_double_trig_use=no
57602 fi
57603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57604 ac_ext=c
57605 ac_cpp='$CPP $CPPFLAGS'
57606 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57607 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57608 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57609
57610 fi
57611
57612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57613 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57614 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57615 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57616 do :
57617 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57618 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57619 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57620 cat >>confdefs.h <<_ACEOF
57621 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57622 _ACEOF
57623
57624 fi
57625 done
57626
57627 else
57628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57629 $as_echo_n "checking for _long double trig functions... " >&6; }
57630 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57631 $as_echo_n "(cached) " >&6
57632 else
57633
57634
57635 ac_ext=cpp
57636 ac_cpp='$CXXCPP $CPPFLAGS'
57637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57640
57641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57642 /* end confdefs.h. */
57643 #include <math.h>
57644 int
57645 main ()
57646 {
57647 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57648 ;
57649 return 0;
57650 }
57651 _ACEOF
57652 if ac_fn_cxx_try_compile "$LINENO"; then :
57653 glibcxx_cv_func__long_double_trig_use=yes
57654 else
57655 glibcxx_cv_func__long_double_trig_use=no
57656 fi
57657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57658 ac_ext=c
57659 ac_cpp='$CPP $CPPFLAGS'
57660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57663
57664 fi
57665
57666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57667 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57668 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57669 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57670 do :
57671 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57672 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57673 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57674 cat >>confdefs.h <<_ACEOF
57675 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57676 _ACEOF
57677
57678 fi
57679 done
57680
57681 fi
57682 fi
57683
57684
57685
57686
57687
57688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57689 $as_echo_n "checking for long double round functions... " >&6; }
57690 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57691 $as_echo_n "(cached) " >&6
57692 else
57693
57694
57695 ac_ext=cpp
57696 ac_cpp='$CXXCPP $CPPFLAGS'
57697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57700
57701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57702 /* end confdefs.h. */
57703 #include <math.h>
57704 int
57705 main ()
57706 {
57707 ceill (0); floorl (0);
57708 ;
57709 return 0;
57710 }
57711 _ACEOF
57712 if ac_fn_cxx_try_compile "$LINENO"; then :
57713 glibcxx_cv_func_long_double_round_use=yes
57714 else
57715 glibcxx_cv_func_long_double_round_use=no
57716 fi
57717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57718 ac_ext=c
57719 ac_cpp='$CPP $CPPFLAGS'
57720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57723
57724 fi
57725
57726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57727 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57728 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57729 for ac_func in ceill floorl
57730 do :
57731 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57732 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57733 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57734 cat >>confdefs.h <<_ACEOF
57735 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57736 _ACEOF
57737
57738 fi
57739 done
57740
57741 else
57742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57743 $as_echo_n "checking for _long double round functions... " >&6; }
57744 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57745 $as_echo_n "(cached) " >&6
57746 else
57747
57748
57749 ac_ext=cpp
57750 ac_cpp='$CXXCPP $CPPFLAGS'
57751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57754
57755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57756 /* end confdefs.h. */
57757 #include <math.h>
57758 int
57759 main ()
57760 {
57761 _ceill (0); _floorl (0);
57762 ;
57763 return 0;
57764 }
57765 _ACEOF
57766 if ac_fn_cxx_try_compile "$LINENO"; then :
57767 glibcxx_cv_func__long_double_round_use=yes
57768 else
57769 glibcxx_cv_func__long_double_round_use=no
57770 fi
57771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57772 ac_ext=c
57773 ac_cpp='$CPP $CPPFLAGS'
57774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57777
57778 fi
57779
57780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57781 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57782 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57783 for ac_func in _ceill _floorl
57784 do :
57785 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57786 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57787 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57788 cat >>confdefs.h <<_ACEOF
57789 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57790 _ACEOF
57791
57792 fi
57793 done
57794
57795 fi
57796 fi
57797
57798
57799
57800
57801
57802
57803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57804 $as_echo_n "checking for isnanl declaration... " >&6; }
57805 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57806 if ${glibcxx_cv_func_isnanl_use+:} false; then :
57807 $as_echo_n "(cached) " >&6
57808 else
57809
57810
57811 ac_ext=cpp
57812 ac_cpp='$CXXCPP $CPPFLAGS'
57813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57816
57817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57818 /* end confdefs.h. */
57819 #include <math.h>
57820 #ifdef HAVE_IEEEFP_H
57821 #include <ieeefp.h>
57822 #endif
57823
57824 int
57825 main ()
57826 {
57827 isnanl(0);
57828 ;
57829 return 0;
57830 }
57831 _ACEOF
57832 if ac_fn_cxx_try_compile "$LINENO"; then :
57833 glibcxx_cv_func_isnanl_use=yes
57834 else
57835 glibcxx_cv_func_isnanl_use=no
57836 fi
57837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57838 ac_ext=c
57839 ac_cpp='$CPP $CPPFLAGS'
57840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57843
57844
57845 fi
57846
57847 fi
57848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57849 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57850
57851 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57852 for ac_func in isnanl
57853 do :
57854 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57855 if test "x$ac_cv_func_isnanl" = xyes; then :
57856 cat >>confdefs.h <<_ACEOF
57857 #define HAVE_ISNANL 1
57858 _ACEOF
57859
57860 fi
57861 done
57862
57863 else
57864
57865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57866 $as_echo_n "checking for _isnanl declaration... " >&6; }
57867 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57868 if ${glibcxx_cv_func__isnanl_use+:} false; then :
57869 $as_echo_n "(cached) " >&6
57870 else
57871
57872
57873 ac_ext=cpp
57874 ac_cpp='$CXXCPP $CPPFLAGS'
57875 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57876 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57877 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57878
57879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57880 /* end confdefs.h. */
57881 #include <math.h>
57882 #ifdef HAVE_IEEEFP_H
57883 #include <ieeefp.h>
57884 #endif
57885
57886 int
57887 main ()
57888 {
57889 _isnanl(0);
57890 ;
57891 return 0;
57892 }
57893 _ACEOF
57894 if ac_fn_cxx_try_compile "$LINENO"; then :
57895 glibcxx_cv_func__isnanl_use=yes
57896 else
57897 glibcxx_cv_func__isnanl_use=no
57898 fi
57899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57900 ac_ext=c
57901 ac_cpp='$CPP $CPPFLAGS'
57902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57905
57906
57907 fi
57908
57909 fi
57910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
57911 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
57912
57913 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
57914 for ac_func in _isnanl
57915 do :
57916 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
57917 if test "x$ac_cv_func__isnanl" = xyes; then :
57918 cat >>confdefs.h <<_ACEOF
57919 #define HAVE__ISNANL 1
57920 _ACEOF
57921
57922 fi
57923 done
57924
57925 fi
57926 fi
57927
57928
57929
57930
57931
57932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
57933 $as_echo_n "checking for isinfl declaration... " >&6; }
57934 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
57935 if ${glibcxx_cv_func_isinfl_use+:} false; then :
57936 $as_echo_n "(cached) " >&6
57937 else
57938
57939
57940 ac_ext=cpp
57941 ac_cpp='$CXXCPP $CPPFLAGS'
57942 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57943 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57944 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57945
57946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57947 /* end confdefs.h. */
57948 #include <math.h>
57949 #ifdef HAVE_IEEEFP_H
57950 #include <ieeefp.h>
57951 #endif
57952
57953 int
57954 main ()
57955 {
57956 isinfl(0);
57957 ;
57958 return 0;
57959 }
57960 _ACEOF
57961 if ac_fn_cxx_try_compile "$LINENO"; then :
57962 glibcxx_cv_func_isinfl_use=yes
57963 else
57964 glibcxx_cv_func_isinfl_use=no
57965 fi
57966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57967 ac_ext=c
57968 ac_cpp='$CPP $CPPFLAGS'
57969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57972
57973
57974 fi
57975
57976 fi
57977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
57978 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
57979
57980 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
57981 for ac_func in isinfl
57982 do :
57983 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
57984 if test "x$ac_cv_func_isinfl" = xyes; then :
57985 cat >>confdefs.h <<_ACEOF
57986 #define HAVE_ISINFL 1
57987 _ACEOF
57988
57989 fi
57990 done
57991
57992 else
57993
57994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
57995 $as_echo_n "checking for _isinfl declaration... " >&6; }
57996 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
57997 if ${glibcxx_cv_func__isinfl_use+:} false; then :
57998 $as_echo_n "(cached) " >&6
57999 else
58000
58001
58002 ac_ext=cpp
58003 ac_cpp='$CXXCPP $CPPFLAGS'
58004 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58005 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58006 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58007
58008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58009 /* end confdefs.h. */
58010 #include <math.h>
58011 #ifdef HAVE_IEEEFP_H
58012 #include <ieeefp.h>
58013 #endif
58014
58015 int
58016 main ()
58017 {
58018 _isinfl(0);
58019 ;
58020 return 0;
58021 }
58022 _ACEOF
58023 if ac_fn_cxx_try_compile "$LINENO"; then :
58024 glibcxx_cv_func__isinfl_use=yes
58025 else
58026 glibcxx_cv_func__isinfl_use=no
58027 fi
58028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58029 ac_ext=c
58030 ac_cpp='$CPP $CPPFLAGS'
58031 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58032 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58033 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58034
58035
58036 fi
58037
58038 fi
58039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58040 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58041
58042 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58043 for ac_func in _isinfl
58044 do :
58045 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58046 if test "x$ac_cv_func__isinfl" = xyes; then :
58047 cat >>confdefs.h <<_ACEOF
58048 #define HAVE__ISINFL 1
58049 _ACEOF
58050
58051 fi
58052 done
58053
58054 fi
58055 fi
58056
58057
58058
58059
58060
58061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58062 $as_echo_n "checking for atan2l declaration... " >&6; }
58063 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58064 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58065 $as_echo_n "(cached) " >&6
58066 else
58067
58068
58069 ac_ext=cpp
58070 ac_cpp='$CXXCPP $CPPFLAGS'
58071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58074
58075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58076 /* end confdefs.h. */
58077 #include <math.h>
58078 int
58079 main ()
58080 {
58081 atan2l(0, 0);
58082 ;
58083 return 0;
58084 }
58085 _ACEOF
58086 if ac_fn_cxx_try_compile "$LINENO"; then :
58087 glibcxx_cv_func_atan2l_use=yes
58088 else
58089 glibcxx_cv_func_atan2l_use=no
58090 fi
58091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58092 ac_ext=c
58093 ac_cpp='$CPP $CPPFLAGS'
58094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58097
58098
58099 fi
58100
58101 fi
58102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58103 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58104
58105 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58106 for ac_func in atan2l
58107 do :
58108 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58109 if test "x$ac_cv_func_atan2l" = xyes; then :
58110 cat >>confdefs.h <<_ACEOF
58111 #define HAVE_ATAN2L 1
58112 _ACEOF
58113
58114 fi
58115 done
58116
58117 else
58118
58119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58120 $as_echo_n "checking for _atan2l declaration... " >&6; }
58121 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58122 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58123 $as_echo_n "(cached) " >&6
58124 else
58125
58126
58127 ac_ext=cpp
58128 ac_cpp='$CXXCPP $CPPFLAGS'
58129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58132
58133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58134 /* end confdefs.h. */
58135 #include <math.h>
58136 int
58137 main ()
58138 {
58139 _atan2l(0, 0);
58140 ;
58141 return 0;
58142 }
58143 _ACEOF
58144 if ac_fn_cxx_try_compile "$LINENO"; then :
58145 glibcxx_cv_func__atan2l_use=yes
58146 else
58147 glibcxx_cv_func__atan2l_use=no
58148 fi
58149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58150 ac_ext=c
58151 ac_cpp='$CPP $CPPFLAGS'
58152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58155
58156
58157 fi
58158
58159 fi
58160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58161 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58162
58163 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58164 for ac_func in _atan2l
58165 do :
58166 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58167 if test "x$ac_cv_func__atan2l" = xyes; then :
58168 cat >>confdefs.h <<_ACEOF
58169 #define HAVE__ATAN2L 1
58170 _ACEOF
58171
58172 fi
58173 done
58174
58175 fi
58176 fi
58177
58178
58179
58180
58181
58182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58183 $as_echo_n "checking for expl declaration... " >&6; }
58184 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58185 if ${glibcxx_cv_func_expl_use+:} false; then :
58186 $as_echo_n "(cached) " >&6
58187 else
58188
58189
58190 ac_ext=cpp
58191 ac_cpp='$CXXCPP $CPPFLAGS'
58192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58195
58196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58197 /* end confdefs.h. */
58198 #include <math.h>
58199 #ifdef HAVE_IEEEFP_H
58200 #include <ieeefp.h>
58201 #endif
58202
58203 int
58204 main ()
58205 {
58206 expl(0);
58207 ;
58208 return 0;
58209 }
58210 _ACEOF
58211 if ac_fn_cxx_try_compile "$LINENO"; then :
58212 glibcxx_cv_func_expl_use=yes
58213 else
58214 glibcxx_cv_func_expl_use=no
58215 fi
58216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58217 ac_ext=c
58218 ac_cpp='$CPP $CPPFLAGS'
58219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58222
58223
58224 fi
58225
58226 fi
58227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58228 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58229
58230 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58231 for ac_func in expl
58232 do :
58233 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58234 if test "x$ac_cv_func_expl" = xyes; then :
58235 cat >>confdefs.h <<_ACEOF
58236 #define HAVE_EXPL 1
58237 _ACEOF
58238
58239 fi
58240 done
58241
58242 else
58243
58244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58245 $as_echo_n "checking for _expl declaration... " >&6; }
58246 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58247 if ${glibcxx_cv_func__expl_use+:} false; then :
58248 $as_echo_n "(cached) " >&6
58249 else
58250
58251
58252 ac_ext=cpp
58253 ac_cpp='$CXXCPP $CPPFLAGS'
58254 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58255 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58256 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58257
58258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58259 /* end confdefs.h. */
58260 #include <math.h>
58261 #ifdef HAVE_IEEEFP_H
58262 #include <ieeefp.h>
58263 #endif
58264
58265 int
58266 main ()
58267 {
58268 _expl(0);
58269 ;
58270 return 0;
58271 }
58272 _ACEOF
58273 if ac_fn_cxx_try_compile "$LINENO"; then :
58274 glibcxx_cv_func__expl_use=yes
58275 else
58276 glibcxx_cv_func__expl_use=no
58277 fi
58278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58279 ac_ext=c
58280 ac_cpp='$CPP $CPPFLAGS'
58281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58284
58285
58286 fi
58287
58288 fi
58289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58290 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58291
58292 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58293 for ac_func in _expl
58294 do :
58295 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58296 if test "x$ac_cv_func__expl" = xyes; then :
58297 cat >>confdefs.h <<_ACEOF
58298 #define HAVE__EXPL 1
58299 _ACEOF
58300
58301 fi
58302 done
58303
58304 fi
58305 fi
58306
58307
58308
58309
58310
58311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58312 $as_echo_n "checking for fabsl declaration... " >&6; }
58313 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58314 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58315 $as_echo_n "(cached) " >&6
58316 else
58317
58318
58319 ac_ext=cpp
58320 ac_cpp='$CXXCPP $CPPFLAGS'
58321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58324
58325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58326 /* end confdefs.h. */
58327 #include <math.h>
58328 #ifdef HAVE_IEEEFP_H
58329 #include <ieeefp.h>
58330 #endif
58331
58332 int
58333 main ()
58334 {
58335 fabsl(0);
58336 ;
58337 return 0;
58338 }
58339 _ACEOF
58340 if ac_fn_cxx_try_compile "$LINENO"; then :
58341 glibcxx_cv_func_fabsl_use=yes
58342 else
58343 glibcxx_cv_func_fabsl_use=no
58344 fi
58345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58346 ac_ext=c
58347 ac_cpp='$CPP $CPPFLAGS'
58348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58351
58352
58353 fi
58354
58355 fi
58356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58357 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58358
58359 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58360 for ac_func in fabsl
58361 do :
58362 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58363 if test "x$ac_cv_func_fabsl" = xyes; then :
58364 cat >>confdefs.h <<_ACEOF
58365 #define HAVE_FABSL 1
58366 _ACEOF
58367
58368 fi
58369 done
58370
58371 else
58372
58373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58374 $as_echo_n "checking for _fabsl declaration... " >&6; }
58375 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58376 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58377 $as_echo_n "(cached) " >&6
58378 else
58379
58380
58381 ac_ext=cpp
58382 ac_cpp='$CXXCPP $CPPFLAGS'
58383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58386
58387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58388 /* end confdefs.h. */
58389 #include <math.h>
58390 #ifdef HAVE_IEEEFP_H
58391 #include <ieeefp.h>
58392 #endif
58393
58394 int
58395 main ()
58396 {
58397 _fabsl(0);
58398 ;
58399 return 0;
58400 }
58401 _ACEOF
58402 if ac_fn_cxx_try_compile "$LINENO"; then :
58403 glibcxx_cv_func__fabsl_use=yes
58404 else
58405 glibcxx_cv_func__fabsl_use=no
58406 fi
58407 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58408 ac_ext=c
58409 ac_cpp='$CPP $CPPFLAGS'
58410 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58411 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58412 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58413
58414
58415 fi
58416
58417 fi
58418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58419 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58420
58421 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58422 for ac_func in _fabsl
58423 do :
58424 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58425 if test "x$ac_cv_func__fabsl" = xyes; then :
58426 cat >>confdefs.h <<_ACEOF
58427 #define HAVE__FABSL 1
58428 _ACEOF
58429
58430 fi
58431 done
58432
58433 fi
58434 fi
58435
58436
58437
58438
58439
58440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58441 $as_echo_n "checking for fmodl declaration... " >&6; }
58442 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58443 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58444 $as_echo_n "(cached) " >&6
58445 else
58446
58447
58448 ac_ext=cpp
58449 ac_cpp='$CXXCPP $CPPFLAGS'
58450 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58451 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58452 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58453
58454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58455 /* end confdefs.h. */
58456 #include <math.h>
58457 int
58458 main ()
58459 {
58460 fmodl(0, 0);
58461 ;
58462 return 0;
58463 }
58464 _ACEOF
58465 if ac_fn_cxx_try_compile "$LINENO"; then :
58466 glibcxx_cv_func_fmodl_use=yes
58467 else
58468 glibcxx_cv_func_fmodl_use=no
58469 fi
58470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58471 ac_ext=c
58472 ac_cpp='$CPP $CPPFLAGS'
58473 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58474 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58475 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58476
58477
58478 fi
58479
58480 fi
58481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58482 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58483
58484 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58485 for ac_func in fmodl
58486 do :
58487 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58488 if test "x$ac_cv_func_fmodl" = xyes; then :
58489 cat >>confdefs.h <<_ACEOF
58490 #define HAVE_FMODL 1
58491 _ACEOF
58492
58493 fi
58494 done
58495
58496 else
58497
58498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58499 $as_echo_n "checking for _fmodl declaration... " >&6; }
58500 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58501 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58502 $as_echo_n "(cached) " >&6
58503 else
58504
58505
58506 ac_ext=cpp
58507 ac_cpp='$CXXCPP $CPPFLAGS'
58508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58511
58512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58513 /* end confdefs.h. */
58514 #include <math.h>
58515 int
58516 main ()
58517 {
58518 _fmodl(0, 0);
58519 ;
58520 return 0;
58521 }
58522 _ACEOF
58523 if ac_fn_cxx_try_compile "$LINENO"; then :
58524 glibcxx_cv_func__fmodl_use=yes
58525 else
58526 glibcxx_cv_func__fmodl_use=no
58527 fi
58528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58529 ac_ext=c
58530 ac_cpp='$CPP $CPPFLAGS'
58531 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58532 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58533 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58534
58535
58536 fi
58537
58538 fi
58539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58540 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58541
58542 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58543 for ac_func in _fmodl
58544 do :
58545 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58546 if test "x$ac_cv_func__fmodl" = xyes; then :
58547 cat >>confdefs.h <<_ACEOF
58548 #define HAVE__FMODL 1
58549 _ACEOF
58550
58551 fi
58552 done
58553
58554 fi
58555 fi
58556
58557
58558
58559
58560
58561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58562 $as_echo_n "checking for frexpl declaration... " >&6; }
58563 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58564 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58565 $as_echo_n "(cached) " >&6
58566 else
58567
58568
58569 ac_ext=cpp
58570 ac_cpp='$CXXCPP $CPPFLAGS'
58571 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58572 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58573 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58574
58575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58576 /* end confdefs.h. */
58577 #include <math.h>
58578 int
58579 main ()
58580 {
58581 frexpl(0, 0);
58582 ;
58583 return 0;
58584 }
58585 _ACEOF
58586 if ac_fn_cxx_try_compile "$LINENO"; then :
58587 glibcxx_cv_func_frexpl_use=yes
58588 else
58589 glibcxx_cv_func_frexpl_use=no
58590 fi
58591 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58592 ac_ext=c
58593 ac_cpp='$CPP $CPPFLAGS'
58594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58597
58598
58599 fi
58600
58601 fi
58602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58603 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58604
58605 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58606 for ac_func in frexpl
58607 do :
58608 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58609 if test "x$ac_cv_func_frexpl" = xyes; then :
58610 cat >>confdefs.h <<_ACEOF
58611 #define HAVE_FREXPL 1
58612 _ACEOF
58613
58614 fi
58615 done
58616
58617 else
58618
58619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58620 $as_echo_n "checking for _frexpl declaration... " >&6; }
58621 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58622 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58623 $as_echo_n "(cached) " >&6
58624 else
58625
58626
58627 ac_ext=cpp
58628 ac_cpp='$CXXCPP $CPPFLAGS'
58629 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58630 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58631 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58632
58633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58634 /* end confdefs.h. */
58635 #include <math.h>
58636 int
58637 main ()
58638 {
58639 _frexpl(0, 0);
58640 ;
58641 return 0;
58642 }
58643 _ACEOF
58644 if ac_fn_cxx_try_compile "$LINENO"; then :
58645 glibcxx_cv_func__frexpl_use=yes
58646 else
58647 glibcxx_cv_func__frexpl_use=no
58648 fi
58649 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58650 ac_ext=c
58651 ac_cpp='$CPP $CPPFLAGS'
58652 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58653 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58654 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58655
58656
58657 fi
58658
58659 fi
58660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58661 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58662
58663 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58664 for ac_func in _frexpl
58665 do :
58666 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58667 if test "x$ac_cv_func__frexpl" = xyes; then :
58668 cat >>confdefs.h <<_ACEOF
58669 #define HAVE__FREXPL 1
58670 _ACEOF
58671
58672 fi
58673 done
58674
58675 fi
58676 fi
58677
58678
58679
58680
58681
58682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58683 $as_echo_n "checking for hypotl declaration... " >&6; }
58684 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58685 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58686 $as_echo_n "(cached) " >&6
58687 else
58688
58689
58690 ac_ext=cpp
58691 ac_cpp='$CXXCPP $CPPFLAGS'
58692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58695
58696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58697 /* end confdefs.h. */
58698 #include <math.h>
58699 int
58700 main ()
58701 {
58702 hypotl(0, 0);
58703 ;
58704 return 0;
58705 }
58706 _ACEOF
58707 if ac_fn_cxx_try_compile "$LINENO"; then :
58708 glibcxx_cv_func_hypotl_use=yes
58709 else
58710 glibcxx_cv_func_hypotl_use=no
58711 fi
58712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58713 ac_ext=c
58714 ac_cpp='$CPP $CPPFLAGS'
58715 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58716 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58717 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58718
58719
58720 fi
58721
58722 fi
58723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58724 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58725
58726 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58727 for ac_func in hypotl
58728 do :
58729 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58730 if test "x$ac_cv_func_hypotl" = xyes; then :
58731 cat >>confdefs.h <<_ACEOF
58732 #define HAVE_HYPOTL 1
58733 _ACEOF
58734
58735 fi
58736 done
58737
58738 else
58739
58740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58741 $as_echo_n "checking for _hypotl declaration... " >&6; }
58742 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58743 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58744 $as_echo_n "(cached) " >&6
58745 else
58746
58747
58748 ac_ext=cpp
58749 ac_cpp='$CXXCPP $CPPFLAGS'
58750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58753
58754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58755 /* end confdefs.h. */
58756 #include <math.h>
58757 int
58758 main ()
58759 {
58760 _hypotl(0, 0);
58761 ;
58762 return 0;
58763 }
58764 _ACEOF
58765 if ac_fn_cxx_try_compile "$LINENO"; then :
58766 glibcxx_cv_func__hypotl_use=yes
58767 else
58768 glibcxx_cv_func__hypotl_use=no
58769 fi
58770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58771 ac_ext=c
58772 ac_cpp='$CPP $CPPFLAGS'
58773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58776
58777
58778 fi
58779
58780 fi
58781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58782 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58783
58784 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58785 for ac_func in _hypotl
58786 do :
58787 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58788 if test "x$ac_cv_func__hypotl" = xyes; then :
58789 cat >>confdefs.h <<_ACEOF
58790 #define HAVE__HYPOTL 1
58791 _ACEOF
58792
58793 fi
58794 done
58795
58796 fi
58797 fi
58798
58799
58800
58801
58802
58803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58804 $as_echo_n "checking for ldexpl declaration... " >&6; }
58805 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58806 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58807 $as_echo_n "(cached) " >&6
58808 else
58809
58810
58811 ac_ext=cpp
58812 ac_cpp='$CXXCPP $CPPFLAGS'
58813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58816
58817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58818 /* end confdefs.h. */
58819 #include <math.h>
58820 int
58821 main ()
58822 {
58823 ldexpl(0, 0);
58824 ;
58825 return 0;
58826 }
58827 _ACEOF
58828 if ac_fn_cxx_try_compile "$LINENO"; then :
58829 glibcxx_cv_func_ldexpl_use=yes
58830 else
58831 glibcxx_cv_func_ldexpl_use=no
58832 fi
58833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58834 ac_ext=c
58835 ac_cpp='$CPP $CPPFLAGS'
58836 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58837 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58838 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58839
58840
58841 fi
58842
58843 fi
58844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58845 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58846
58847 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58848 for ac_func in ldexpl
58849 do :
58850 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58851 if test "x$ac_cv_func_ldexpl" = xyes; then :
58852 cat >>confdefs.h <<_ACEOF
58853 #define HAVE_LDEXPL 1
58854 _ACEOF
58855
58856 fi
58857 done
58858
58859 else
58860
58861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58862 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58863 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58864 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
58865 $as_echo_n "(cached) " >&6
58866 else
58867
58868
58869 ac_ext=cpp
58870 ac_cpp='$CXXCPP $CPPFLAGS'
58871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58874
58875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58876 /* end confdefs.h. */
58877 #include <math.h>
58878 int
58879 main ()
58880 {
58881 _ldexpl(0, 0);
58882 ;
58883 return 0;
58884 }
58885 _ACEOF
58886 if ac_fn_cxx_try_compile "$LINENO"; then :
58887 glibcxx_cv_func__ldexpl_use=yes
58888 else
58889 glibcxx_cv_func__ldexpl_use=no
58890 fi
58891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58892 ac_ext=c
58893 ac_cpp='$CPP $CPPFLAGS'
58894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58897
58898
58899 fi
58900
58901 fi
58902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
58903 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
58904
58905 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
58906 for ac_func in _ldexpl
58907 do :
58908 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
58909 if test "x$ac_cv_func__ldexpl" = xyes; then :
58910 cat >>confdefs.h <<_ACEOF
58911 #define HAVE__LDEXPL 1
58912 _ACEOF
58913
58914 fi
58915 done
58916
58917 fi
58918 fi
58919
58920
58921
58922
58923
58924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
58925 $as_echo_n "checking for logl declaration... " >&6; }
58926 if test x${glibcxx_cv_func_logl_use+set} != xset; then
58927 if ${glibcxx_cv_func_logl_use+:} false; then :
58928 $as_echo_n "(cached) " >&6
58929 else
58930
58931
58932 ac_ext=cpp
58933 ac_cpp='$CXXCPP $CPPFLAGS'
58934 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58935 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58936 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58937
58938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58939 /* end confdefs.h. */
58940 #include <math.h>
58941 #ifdef HAVE_IEEEFP_H
58942 #include <ieeefp.h>
58943 #endif
58944
58945 int
58946 main ()
58947 {
58948 logl(0);
58949 ;
58950 return 0;
58951 }
58952 _ACEOF
58953 if ac_fn_cxx_try_compile "$LINENO"; then :
58954 glibcxx_cv_func_logl_use=yes
58955 else
58956 glibcxx_cv_func_logl_use=no
58957 fi
58958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58959 ac_ext=c
58960 ac_cpp='$CPP $CPPFLAGS'
58961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58964
58965
58966 fi
58967
58968 fi
58969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
58970 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
58971
58972 if test x$glibcxx_cv_func_logl_use = x"yes"; then
58973 for ac_func in logl
58974 do :
58975 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
58976 if test "x$ac_cv_func_logl" = xyes; then :
58977 cat >>confdefs.h <<_ACEOF
58978 #define HAVE_LOGL 1
58979 _ACEOF
58980
58981 fi
58982 done
58983
58984 else
58985
58986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
58987 $as_echo_n "checking for _logl declaration... " >&6; }
58988 if test x${glibcxx_cv_func__logl_use+set} != xset; then
58989 if ${glibcxx_cv_func__logl_use+:} false; then :
58990 $as_echo_n "(cached) " >&6
58991 else
58992
58993
58994 ac_ext=cpp
58995 ac_cpp='$CXXCPP $CPPFLAGS'
58996 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58997 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58998 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58999
59000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59001 /* end confdefs.h. */
59002 #include <math.h>
59003 #ifdef HAVE_IEEEFP_H
59004 #include <ieeefp.h>
59005 #endif
59006
59007 int
59008 main ()
59009 {
59010 _logl(0);
59011 ;
59012 return 0;
59013 }
59014 _ACEOF
59015 if ac_fn_cxx_try_compile "$LINENO"; then :
59016 glibcxx_cv_func__logl_use=yes
59017 else
59018 glibcxx_cv_func__logl_use=no
59019 fi
59020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59021 ac_ext=c
59022 ac_cpp='$CPP $CPPFLAGS'
59023 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59024 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59025 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59026
59027
59028 fi
59029
59030 fi
59031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59032 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59033
59034 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59035 for ac_func in _logl
59036 do :
59037 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59038 if test "x$ac_cv_func__logl" = xyes; then :
59039 cat >>confdefs.h <<_ACEOF
59040 #define HAVE__LOGL 1
59041 _ACEOF
59042
59043 fi
59044 done
59045
59046 fi
59047 fi
59048
59049
59050
59051
59052
59053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59054 $as_echo_n "checking for log10l declaration... " >&6; }
59055 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59056 if ${glibcxx_cv_func_log10l_use+:} false; then :
59057 $as_echo_n "(cached) " >&6
59058 else
59059
59060
59061 ac_ext=cpp
59062 ac_cpp='$CXXCPP $CPPFLAGS'
59063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59066
59067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59068 /* end confdefs.h. */
59069 #include <math.h>
59070 #ifdef HAVE_IEEEFP_H
59071 #include <ieeefp.h>
59072 #endif
59073
59074 int
59075 main ()
59076 {
59077 log10l(0);
59078 ;
59079 return 0;
59080 }
59081 _ACEOF
59082 if ac_fn_cxx_try_compile "$LINENO"; then :
59083 glibcxx_cv_func_log10l_use=yes
59084 else
59085 glibcxx_cv_func_log10l_use=no
59086 fi
59087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59088 ac_ext=c
59089 ac_cpp='$CPP $CPPFLAGS'
59090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59093
59094
59095 fi
59096
59097 fi
59098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59099 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59100
59101 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59102 for ac_func in log10l
59103 do :
59104 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59105 if test "x$ac_cv_func_log10l" = xyes; then :
59106 cat >>confdefs.h <<_ACEOF
59107 #define HAVE_LOG10L 1
59108 _ACEOF
59109
59110 fi
59111 done
59112
59113 else
59114
59115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59116 $as_echo_n "checking for _log10l declaration... " >&6; }
59117 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59118 if ${glibcxx_cv_func__log10l_use+:} false; then :
59119 $as_echo_n "(cached) " >&6
59120 else
59121
59122
59123 ac_ext=cpp
59124 ac_cpp='$CXXCPP $CPPFLAGS'
59125 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59126 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59127 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59128
59129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59130 /* end confdefs.h. */
59131 #include <math.h>
59132 #ifdef HAVE_IEEEFP_H
59133 #include <ieeefp.h>
59134 #endif
59135
59136 int
59137 main ()
59138 {
59139 _log10l(0);
59140 ;
59141 return 0;
59142 }
59143 _ACEOF
59144 if ac_fn_cxx_try_compile "$LINENO"; then :
59145 glibcxx_cv_func__log10l_use=yes
59146 else
59147 glibcxx_cv_func__log10l_use=no
59148 fi
59149 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59150 ac_ext=c
59151 ac_cpp='$CPP $CPPFLAGS'
59152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59155
59156
59157 fi
59158
59159 fi
59160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59161 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59162
59163 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59164 for ac_func in _log10l
59165 do :
59166 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59167 if test "x$ac_cv_func__log10l" = xyes; then :
59168 cat >>confdefs.h <<_ACEOF
59169 #define HAVE__LOG10L 1
59170 _ACEOF
59171
59172 fi
59173 done
59174
59175 fi
59176 fi
59177
59178
59179
59180
59181
59182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59183 $as_echo_n "checking for modfl declaration... " >&6; }
59184 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59185 if ${glibcxx_cv_func_modfl_use+:} false; then :
59186 $as_echo_n "(cached) " >&6
59187 else
59188
59189
59190 ac_ext=cpp
59191 ac_cpp='$CXXCPP $CPPFLAGS'
59192 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59193 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59194 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59195
59196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59197 /* end confdefs.h. */
59198 #include <math.h>
59199 int
59200 main ()
59201 {
59202 modfl(0, 0);
59203 ;
59204 return 0;
59205 }
59206 _ACEOF
59207 if ac_fn_cxx_try_compile "$LINENO"; then :
59208 glibcxx_cv_func_modfl_use=yes
59209 else
59210 glibcxx_cv_func_modfl_use=no
59211 fi
59212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59213 ac_ext=c
59214 ac_cpp='$CPP $CPPFLAGS'
59215 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59216 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59217 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59218
59219
59220 fi
59221
59222 fi
59223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59224 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59225
59226 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59227 for ac_func in modfl
59228 do :
59229 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59230 if test "x$ac_cv_func_modfl" = xyes; then :
59231 cat >>confdefs.h <<_ACEOF
59232 #define HAVE_MODFL 1
59233 _ACEOF
59234
59235 fi
59236 done
59237
59238 else
59239
59240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59241 $as_echo_n "checking for _modfl declaration... " >&6; }
59242 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59243 if ${glibcxx_cv_func__modfl_use+:} false; then :
59244 $as_echo_n "(cached) " >&6
59245 else
59246
59247
59248 ac_ext=cpp
59249 ac_cpp='$CXXCPP $CPPFLAGS'
59250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59253
59254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59255 /* end confdefs.h. */
59256 #include <math.h>
59257 int
59258 main ()
59259 {
59260 _modfl(0, 0);
59261 ;
59262 return 0;
59263 }
59264 _ACEOF
59265 if ac_fn_cxx_try_compile "$LINENO"; then :
59266 glibcxx_cv_func__modfl_use=yes
59267 else
59268 glibcxx_cv_func__modfl_use=no
59269 fi
59270 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59271 ac_ext=c
59272 ac_cpp='$CPP $CPPFLAGS'
59273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59276
59277
59278 fi
59279
59280 fi
59281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59282 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59283
59284 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59285 for ac_func in _modfl
59286 do :
59287 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59288 if test "x$ac_cv_func__modfl" = xyes; then :
59289 cat >>confdefs.h <<_ACEOF
59290 #define HAVE__MODFL 1
59291 _ACEOF
59292
59293 fi
59294 done
59295
59296 fi
59297 fi
59298
59299
59300
59301
59302
59303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59304 $as_echo_n "checking for powl declaration... " >&6; }
59305 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59306 if ${glibcxx_cv_func_powl_use+:} false; then :
59307 $as_echo_n "(cached) " >&6
59308 else
59309
59310
59311 ac_ext=cpp
59312 ac_cpp='$CXXCPP $CPPFLAGS'
59313 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59314 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59315 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59316
59317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59318 /* end confdefs.h. */
59319 #include <math.h>
59320 int
59321 main ()
59322 {
59323 powl(0, 0);
59324 ;
59325 return 0;
59326 }
59327 _ACEOF
59328 if ac_fn_cxx_try_compile "$LINENO"; then :
59329 glibcxx_cv_func_powl_use=yes
59330 else
59331 glibcxx_cv_func_powl_use=no
59332 fi
59333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59334 ac_ext=c
59335 ac_cpp='$CPP $CPPFLAGS'
59336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59339
59340
59341 fi
59342
59343 fi
59344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59345 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59346
59347 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59348 for ac_func in powl
59349 do :
59350 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59351 if test "x$ac_cv_func_powl" = xyes; then :
59352 cat >>confdefs.h <<_ACEOF
59353 #define HAVE_POWL 1
59354 _ACEOF
59355
59356 fi
59357 done
59358
59359 else
59360
59361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59362 $as_echo_n "checking for _powl declaration... " >&6; }
59363 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59364 if ${glibcxx_cv_func__powl_use+:} false; then :
59365 $as_echo_n "(cached) " >&6
59366 else
59367
59368
59369 ac_ext=cpp
59370 ac_cpp='$CXXCPP $CPPFLAGS'
59371 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59372 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59373 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59374
59375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59376 /* end confdefs.h. */
59377 #include <math.h>
59378 int
59379 main ()
59380 {
59381 _powl(0, 0);
59382 ;
59383 return 0;
59384 }
59385 _ACEOF
59386 if ac_fn_cxx_try_compile "$LINENO"; then :
59387 glibcxx_cv_func__powl_use=yes
59388 else
59389 glibcxx_cv_func__powl_use=no
59390 fi
59391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59392 ac_ext=c
59393 ac_cpp='$CPP $CPPFLAGS'
59394 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59395 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59396 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59397
59398
59399 fi
59400
59401 fi
59402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59403 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59404
59405 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59406 for ac_func in _powl
59407 do :
59408 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59409 if test "x$ac_cv_func__powl" = xyes; then :
59410 cat >>confdefs.h <<_ACEOF
59411 #define HAVE__POWL 1
59412 _ACEOF
59413
59414 fi
59415 done
59416
59417 fi
59418 fi
59419
59420
59421
59422
59423
59424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59425 $as_echo_n "checking for sqrtl declaration... " >&6; }
59426 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59427 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59428 $as_echo_n "(cached) " >&6
59429 else
59430
59431
59432 ac_ext=cpp
59433 ac_cpp='$CXXCPP $CPPFLAGS'
59434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59437
59438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59439 /* end confdefs.h. */
59440 #include <math.h>
59441 #ifdef HAVE_IEEEFP_H
59442 #include <ieeefp.h>
59443 #endif
59444
59445 int
59446 main ()
59447 {
59448 sqrtl(0);
59449 ;
59450 return 0;
59451 }
59452 _ACEOF
59453 if ac_fn_cxx_try_compile "$LINENO"; then :
59454 glibcxx_cv_func_sqrtl_use=yes
59455 else
59456 glibcxx_cv_func_sqrtl_use=no
59457 fi
59458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59459 ac_ext=c
59460 ac_cpp='$CPP $CPPFLAGS'
59461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59464
59465
59466 fi
59467
59468 fi
59469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59470 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59471
59472 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59473 for ac_func in sqrtl
59474 do :
59475 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59476 if test "x$ac_cv_func_sqrtl" = xyes; then :
59477 cat >>confdefs.h <<_ACEOF
59478 #define HAVE_SQRTL 1
59479 _ACEOF
59480
59481 fi
59482 done
59483
59484 else
59485
59486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59487 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59488 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59489 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59490 $as_echo_n "(cached) " >&6
59491 else
59492
59493
59494 ac_ext=cpp
59495 ac_cpp='$CXXCPP $CPPFLAGS'
59496 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59497 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59498 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59499
59500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59501 /* end confdefs.h. */
59502 #include <math.h>
59503 #ifdef HAVE_IEEEFP_H
59504 #include <ieeefp.h>
59505 #endif
59506
59507 int
59508 main ()
59509 {
59510 _sqrtl(0);
59511 ;
59512 return 0;
59513 }
59514 _ACEOF
59515 if ac_fn_cxx_try_compile "$LINENO"; then :
59516 glibcxx_cv_func__sqrtl_use=yes
59517 else
59518 glibcxx_cv_func__sqrtl_use=no
59519 fi
59520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59521 ac_ext=c
59522 ac_cpp='$CPP $CPPFLAGS'
59523 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59524 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59525 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59526
59527
59528 fi
59529
59530 fi
59531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59532 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59533
59534 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59535 for ac_func in _sqrtl
59536 do :
59537 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59538 if test "x$ac_cv_func__sqrtl" = xyes; then :
59539 cat >>confdefs.h <<_ACEOF
59540 #define HAVE__SQRTL 1
59541 _ACEOF
59542
59543 fi
59544 done
59545
59546 fi
59547 fi
59548
59549
59550
59551
59552
59553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59554 $as_echo_n "checking for sincosl declaration... " >&6; }
59555 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59556 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59557 $as_echo_n "(cached) " >&6
59558 else
59559
59560
59561 ac_ext=cpp
59562 ac_cpp='$CXXCPP $CPPFLAGS'
59563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59566
59567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59568 /* end confdefs.h. */
59569 #include <math.h>
59570 int
59571 main ()
59572 {
59573 sincosl(0, 0, 0);
59574 ;
59575 return 0;
59576 }
59577 _ACEOF
59578 if ac_fn_cxx_try_compile "$LINENO"; then :
59579 glibcxx_cv_func_sincosl_use=yes
59580 else
59581 glibcxx_cv_func_sincosl_use=no
59582 fi
59583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59584 ac_ext=c
59585 ac_cpp='$CPP $CPPFLAGS'
59586 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59587 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59588 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59589
59590
59591 fi
59592
59593 fi
59594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59595 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59596
59597 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59598 for ac_func in sincosl
59599 do :
59600 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59601 if test "x$ac_cv_func_sincosl" = xyes; then :
59602 cat >>confdefs.h <<_ACEOF
59603 #define HAVE_SINCOSL 1
59604 _ACEOF
59605
59606 fi
59607 done
59608
59609 else
59610
59611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59612 $as_echo_n "checking for _sincosl declaration... " >&6; }
59613 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59614 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59615 $as_echo_n "(cached) " >&6
59616 else
59617
59618
59619 ac_ext=cpp
59620 ac_cpp='$CXXCPP $CPPFLAGS'
59621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59624
59625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59626 /* end confdefs.h. */
59627 #include <math.h>
59628 int
59629 main ()
59630 {
59631 _sincosl(0, 0, 0);
59632 ;
59633 return 0;
59634 }
59635 _ACEOF
59636 if ac_fn_cxx_try_compile "$LINENO"; then :
59637 glibcxx_cv_func__sincosl_use=yes
59638 else
59639 glibcxx_cv_func__sincosl_use=no
59640 fi
59641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59642 ac_ext=c
59643 ac_cpp='$CPP $CPPFLAGS'
59644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59647
59648
59649 fi
59650
59651 fi
59652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59653 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59654
59655 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59656 for ac_func in _sincosl
59657 do :
59658 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59659 if test "x$ac_cv_func__sincosl" = xyes; then :
59660 cat >>confdefs.h <<_ACEOF
59661 #define HAVE__SINCOSL 1
59662 _ACEOF
59663
59664 fi
59665 done
59666
59667 fi
59668 fi
59669
59670
59671
59672
59673
59674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59675 $as_echo_n "checking for finitel declaration... " >&6; }
59676 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59677 if ${glibcxx_cv_func_finitel_use+:} false; then :
59678 $as_echo_n "(cached) " >&6
59679 else
59680
59681
59682 ac_ext=cpp
59683 ac_cpp='$CXXCPP $CPPFLAGS'
59684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59687
59688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59689 /* end confdefs.h. */
59690 #include <math.h>
59691 #ifdef HAVE_IEEEFP_H
59692 #include <ieeefp.h>
59693 #endif
59694
59695 int
59696 main ()
59697 {
59698 finitel(0);
59699 ;
59700 return 0;
59701 }
59702 _ACEOF
59703 if ac_fn_cxx_try_compile "$LINENO"; then :
59704 glibcxx_cv_func_finitel_use=yes
59705 else
59706 glibcxx_cv_func_finitel_use=no
59707 fi
59708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59709 ac_ext=c
59710 ac_cpp='$CPP $CPPFLAGS'
59711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59714
59715
59716 fi
59717
59718 fi
59719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59720 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59721
59722 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59723 for ac_func in finitel
59724 do :
59725 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59726 if test "x$ac_cv_func_finitel" = xyes; then :
59727 cat >>confdefs.h <<_ACEOF
59728 #define HAVE_FINITEL 1
59729 _ACEOF
59730
59731 fi
59732 done
59733
59734 else
59735
59736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59737 $as_echo_n "checking for _finitel declaration... " >&6; }
59738 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59739 if ${glibcxx_cv_func__finitel_use+:} false; then :
59740 $as_echo_n "(cached) " >&6
59741 else
59742
59743
59744 ac_ext=cpp
59745 ac_cpp='$CXXCPP $CPPFLAGS'
59746 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59747 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59748 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59749
59750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59751 /* end confdefs.h. */
59752 #include <math.h>
59753 #ifdef HAVE_IEEEFP_H
59754 #include <ieeefp.h>
59755 #endif
59756
59757 int
59758 main ()
59759 {
59760 _finitel(0);
59761 ;
59762 return 0;
59763 }
59764 _ACEOF
59765 if ac_fn_cxx_try_compile "$LINENO"; then :
59766 glibcxx_cv_func__finitel_use=yes
59767 else
59768 glibcxx_cv_func__finitel_use=no
59769 fi
59770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59771 ac_ext=c
59772 ac_cpp='$CPP $CPPFLAGS'
59773 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59774 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59775 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59776
59777
59778 fi
59779
59780 fi
59781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59782 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59783
59784 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59785 for ac_func in _finitel
59786 do :
59787 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59788 if test "x$ac_cv_func__finitel" = xyes; then :
59789 cat >>confdefs.h <<_ACEOF
59790 #define HAVE__FINITEL 1
59791 _ACEOF
59792
59793 fi
59794 done
59795
59796 fi
59797 fi
59798
59799
59800
59801
59802 LIBS="$ac_save_LIBS"
59803 CXXFLAGS="$ac_save_CXXFLAGS"
59804
59805
59806 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59807 ac_save_CXXFLAGS="$CXXFLAGS"
59808 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59809
59810
59811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59812 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59813 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59814 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59815 $as_echo_n "(cached) " >&6
59816 else
59817
59818
59819 ac_ext=cpp
59820 ac_cpp='$CXXCPP $CPPFLAGS'
59821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59824
59825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59826 /* end confdefs.h. */
59827 #include <stdlib.h>
59828 int
59829 main ()
59830 {
59831 at_quick_exit(0);
59832 ;
59833 return 0;
59834 }
59835 _ACEOF
59836 if ac_fn_cxx_try_compile "$LINENO"; then :
59837 glibcxx_cv_func_at_quick_exit_use=yes
59838 else
59839 glibcxx_cv_func_at_quick_exit_use=no
59840 fi
59841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59842 ac_ext=c
59843 ac_cpp='$CPP $CPPFLAGS'
59844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59847
59848
59849 fi
59850
59851 fi
59852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59853 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59854 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59855 for ac_func in at_quick_exit
59856 do :
59857 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59858 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
59859 cat >>confdefs.h <<_ACEOF
59860 #define HAVE_AT_QUICK_EXIT 1
59861 _ACEOF
59862
59863 fi
59864 done
59865
59866 fi
59867
59868
59869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
59870 $as_echo_n "checking for quick_exit declaration... " >&6; }
59871 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
59872 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
59873 $as_echo_n "(cached) " >&6
59874 else
59875
59876
59877 ac_ext=cpp
59878 ac_cpp='$CXXCPP $CPPFLAGS'
59879 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59880 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59881 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59882
59883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59884 /* end confdefs.h. */
59885 #include <stdlib.h>
59886 int
59887 main ()
59888 {
59889 quick_exit(0);
59890 ;
59891 return 0;
59892 }
59893 _ACEOF
59894 if ac_fn_cxx_try_compile "$LINENO"; then :
59895 glibcxx_cv_func_quick_exit_use=yes
59896 else
59897 glibcxx_cv_func_quick_exit_use=no
59898 fi
59899 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59900 ac_ext=c
59901 ac_cpp='$CPP $CPPFLAGS'
59902 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59903 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59904 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59905
59906
59907 fi
59908
59909 fi
59910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
59911 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
59912 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
59913 for ac_func in quick_exit
59914 do :
59915 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
59916 if test "x$ac_cv_func_quick_exit" = xyes; then :
59917 cat >>confdefs.h <<_ACEOF
59918 #define HAVE_QUICK_EXIT 1
59919 _ACEOF
59920
59921 fi
59922 done
59923
59924 fi
59925
59926
59927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
59928 $as_echo_n "checking for strtold declaration... " >&6; }
59929 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
59930 if ${glibcxx_cv_func_strtold_use+:} false; then :
59931 $as_echo_n "(cached) " >&6
59932 else
59933
59934
59935 ac_ext=cpp
59936 ac_cpp='$CXXCPP $CPPFLAGS'
59937 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59938 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59939 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59940
59941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59942 /* end confdefs.h. */
59943 #include <stdlib.h>
59944 int
59945 main ()
59946 {
59947 strtold(0, 0);
59948 ;
59949 return 0;
59950 }
59951 _ACEOF
59952 if ac_fn_cxx_try_compile "$LINENO"; then :
59953 glibcxx_cv_func_strtold_use=yes
59954 else
59955 glibcxx_cv_func_strtold_use=no
59956 fi
59957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59958 ac_ext=c
59959 ac_cpp='$CPP $CPPFLAGS'
59960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59963
59964
59965 fi
59966
59967 fi
59968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
59969 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
59970 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
59971 for ac_func in strtold
59972 do :
59973 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
59974 if test "x$ac_cv_func_strtold" = xyes; then :
59975 cat >>confdefs.h <<_ACEOF
59976 #define HAVE_STRTOLD 1
59977 _ACEOF
59978
59979 fi
59980 done
59981
59982 fi
59983
59984
59985
59986
59987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
59988 $as_echo_n "checking for strtof declaration... " >&6; }
59989 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
59990 if ${glibcxx_cv_func_strtof_use+:} false; then :
59991 $as_echo_n "(cached) " >&6
59992 else
59993
59994
59995 ac_ext=cpp
59996 ac_cpp='$CXXCPP $CPPFLAGS'
59997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60000
60001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60002 /* end confdefs.h. */
60003 #include <stdlib.h>
60004 int
60005 main ()
60006 {
60007 strtof(0, 0);
60008 ;
60009 return 0;
60010 }
60011 _ACEOF
60012 if ac_fn_cxx_try_compile "$LINENO"; then :
60013 glibcxx_cv_func_strtof_use=yes
60014 else
60015 glibcxx_cv_func_strtof_use=no
60016 fi
60017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60018 ac_ext=c
60019 ac_cpp='$CPP $CPPFLAGS'
60020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60023
60024
60025 fi
60026
60027 fi
60028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60029 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60030 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60031 for ac_func in strtof
60032 do :
60033 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60034 if test "x$ac_cv_func_strtof" = xyes; then :
60035 cat >>confdefs.h <<_ACEOF
60036 #define HAVE_STRTOF 1
60037 _ACEOF
60038
60039 fi
60040 done
60041
60042 fi
60043
60044
60045
60046
60047 CXXFLAGS="$ac_save_CXXFLAGS"
60048
60049 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
60050
60051 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
60052
60053
60054
60055 # Check whether --enable-tls was given.
60056 if test "${enable_tls+set}" = set; then :
60057 enableval=$enable_tls;
60058 case "$enableval" in
60059 yes|no) ;;
60060 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
60061 esac
60062
60063 else
60064 enable_tls=yes
60065 fi
60066
60067
60068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
60069 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
60070 if ${gcc_cv_have_tls+:} false; then :
60071 $as_echo_n "(cached) " >&6
60072 else
60073
60074 if test "$cross_compiling" = yes; then :
60075 if test x$gcc_no_link = xyes; then
60076 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60077 fi
60078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60079 /* end confdefs.h. */
60080 __thread int a; int b; int main() { return a = b; }
60081 _ACEOF
60082 if ac_fn_c_try_link "$LINENO"; then :
60083 chktls_save_LDFLAGS="$LDFLAGS"
60084 case $host in
60085 *-*-linux*)
60086 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
60087 ;;
60088 esac
60089 chktls_save_CFLAGS="$CFLAGS"
60090 CFLAGS="-fPIC $CFLAGS"
60091 if test x$gcc_no_link = xyes; then
60092 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60093 fi
60094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60095 /* end confdefs.h. */
60096 int f() { return 0; }
60097 _ACEOF
60098 if ac_fn_c_try_link "$LINENO"; then :
60099 if test x$gcc_no_link = xyes; then
60100 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60101 fi
60102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60103 /* end confdefs.h. */
60104 __thread int a; int b; int f() { return a = b; }
60105 _ACEOF
60106 if ac_fn_c_try_link "$LINENO"; then :
60107 gcc_cv_have_tls=yes
60108 else
60109 gcc_cv_have_tls=no
60110 fi
60111 rm -f core conftest.err conftest.$ac_objext \
60112 conftest$ac_exeext conftest.$ac_ext
60113 else
60114 gcc_cv_have_tls=yes
60115 fi
60116 rm -f core conftest.err conftest.$ac_objext \
60117 conftest$ac_exeext conftest.$ac_ext
60118 CFLAGS="$chktls_save_CFLAGS"
60119 LDFLAGS="$chktls_save_LDFLAGS"
60120 else
60121 gcc_cv_have_tls=no
60122 fi
60123 rm -f core conftest.err conftest.$ac_objext \
60124 conftest$ac_exeext conftest.$ac_ext
60125
60126
60127 else
60128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60129 /* end confdefs.h. */
60130 __thread int a; int b; int main() { return a = b; }
60131 _ACEOF
60132 if ac_fn_c_try_run "$LINENO"; then :
60133 chktls_save_LDFLAGS="$LDFLAGS"
60134 LDFLAGS="-static $LDFLAGS"
60135 if test x$gcc_no_link = xyes; then
60136 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60137 fi
60138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60139 /* end confdefs.h. */
60140 int main() { return 0; }
60141 _ACEOF
60142 if ac_fn_c_try_link "$LINENO"; then :
60143 if test "$cross_compiling" = yes; then :
60144 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60145 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60146 as_fn_error $? "cannot run test program while cross compiling
60147 See \`config.log' for more details" "$LINENO" 5; }
60148 else
60149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60150 /* end confdefs.h. */
60151 __thread int a; int b; int main() { return a = b; }
60152 _ACEOF
60153 if ac_fn_c_try_run "$LINENO"; then :
60154 gcc_cv_have_tls=yes
60155 else
60156 gcc_cv_have_tls=no
60157 fi
60158 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60159 conftest.$ac_objext conftest.beam conftest.$ac_ext
60160 fi
60161
60162 else
60163 gcc_cv_have_tls=yes
60164 fi
60165 rm -f core conftest.err conftest.$ac_objext \
60166 conftest$ac_exeext conftest.$ac_ext
60167 LDFLAGS="$chktls_save_LDFLAGS"
60168 if test $gcc_cv_have_tls = yes; then
60169 chktls_save_CFLAGS="$CFLAGS"
60170 thread_CFLAGS=failed
60171 for flag in '' '-pthread' '-lpthread'; do
60172 CFLAGS="$flag $chktls_save_CFLAGS"
60173 if test x$gcc_no_link = xyes; then
60174 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60175 fi
60176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60177 /* end confdefs.h. */
60178 #include <pthread.h>
60179 void *g(void *d) { return NULL; }
60180 int
60181 main ()
60182 {
60183 pthread_t t; pthread_create(&t,NULL,g,NULL);
60184 ;
60185 return 0;
60186 }
60187 _ACEOF
60188 if ac_fn_c_try_link "$LINENO"; then :
60189 thread_CFLAGS="$flag"
60190 fi
60191 rm -f core conftest.err conftest.$ac_objext \
60192 conftest$ac_exeext conftest.$ac_ext
60193 if test "X$thread_CFLAGS" != Xfailed; then
60194 break
60195 fi
60196 done
60197 CFLAGS="$chktls_save_CFLAGS"
60198 if test "X$thread_CFLAGS" != Xfailed; then
60199 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
60200 if test "$cross_compiling" = yes; then :
60201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
60202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
60203 as_fn_error $? "cannot run test program while cross compiling
60204 See \`config.log' for more details" "$LINENO" 5; }
60205 else
60206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60207 /* end confdefs.h. */
60208 #include <pthread.h>
60209 __thread int a;
60210 static int *volatile a_in_other_thread;
60211 static void *
60212 thread_func (void *arg)
60213 {
60214 a_in_other_thread = &a;
60215 return (void *)0;
60216 }
60217 int
60218 main ()
60219 {
60220 pthread_t thread;
60221 void *thread_retval;
60222 int *volatile a_in_main_thread;
60223 a_in_main_thread = &a;
60224 if (pthread_create (&thread, (pthread_attr_t *)0,
60225 thread_func, (void *)0))
60226 return 0;
60227 if (pthread_join (thread, &thread_retval))
60228 return 0;
60229 return (a_in_other_thread == a_in_main_thread);
60230 ;
60231 return 0;
60232 }
60233 _ACEOF
60234 if ac_fn_c_try_run "$LINENO"; then :
60235 gcc_cv_have_tls=yes
60236 else
60237 gcc_cv_have_tls=no
60238 fi
60239 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60240 conftest.$ac_objext conftest.beam conftest.$ac_ext
60241 fi
60242
60243 CFLAGS="$chktls_save_CFLAGS"
60244 fi
60245 fi
60246 else
60247 gcc_cv_have_tls=no
60248 fi
60249 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
60250 conftest.$ac_objext conftest.beam conftest.$ac_ext
60251 fi
60252
60253 fi
60254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
60255 $as_echo "$gcc_cv_have_tls" >&6; }
60256 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
60257
60258 $as_echo "#define HAVE_TLS 1" >>confdefs.h
60259
60260 fi
60261 for ac_func in __cxa_thread_atexit_impl
60262 do :
60263 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
60264 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
60265 cat >>confdefs.h <<_ACEOF
60266 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
60267 _ACEOF
60268
60269 fi
60270 done
60271
60272 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60273 do :
60274 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60275 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60276 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60277 cat >>confdefs.h <<_ACEOF
60278 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60279 _ACEOF
60280
60281 fi
60282 done
60283
60284 for ac_func in timespec_get
60285 do :
60286 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60287 if test "x$ac_cv_func_timespec_get" = xyes; then :
60288 cat >>confdefs.h <<_ACEOF
60289 #define HAVE_TIMESPEC_GET 1
60290 _ACEOF
60291
60292 fi
60293 done
60294
60295 for ac_func in sockatmark
60296 do :
60297 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60298 if test "x$ac_cv_func_sockatmark" = xyes; then :
60299 cat >>confdefs.h <<_ACEOF
60300 #define HAVE_SOCKATMARK 1
60301 _ACEOF
60302
60303 fi
60304 done
60305
60306
60307
60308
60309
60310
60311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
60312 $as_echo_n "checking for iconv... " >&6; }
60313 if ${am_cv_func_iconv+:} false; then :
60314 $as_echo_n "(cached) " >&6
60315 else
60316
60317 am_cv_func_iconv="no, consider installing GNU libiconv"
60318 am_cv_lib_iconv=no
60319 am_save_CPPFLAGS="$CPPFLAGS"
60320 CPPFLAGS="$CPPFLAGS $INCICONV"
60321 if test x$gcc_no_link = xyes; then
60322 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60323 fi
60324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60325 /* end confdefs.h. */
60326 #include <stdlib.h>
60327 #include <iconv.h>
60328 int
60329 main ()
60330 {
60331 iconv_t cd = iconv_open("","");
60332 iconv(cd,NULL,NULL,NULL,NULL);
60333 iconv_close(cd);
60334 ;
60335 return 0;
60336 }
60337 _ACEOF
60338 if ac_fn_c_try_link "$LINENO"; then :
60339 am_cv_func_iconv=yes
60340 fi
60341 rm -f core conftest.err conftest.$ac_objext \
60342 conftest$ac_exeext conftest.$ac_ext
60343 CPPFLAGS="$am_save_CPPFLAGS"
60344
60345 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
60346 for _libs in .libs _libs; do
60347 am_save_CPPFLAGS="$CPPFLAGS"
60348 am_save_LIBS="$LIBS"
60349 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
60350 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
60351 if test x$gcc_no_link = xyes; then
60352 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60353 fi
60354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60355 /* end confdefs.h. */
60356 #include <stdlib.h>
60357 #include <iconv.h>
60358 int
60359 main ()
60360 {
60361 iconv_t cd = iconv_open("","");
60362 iconv(cd,NULL,NULL,NULL,NULL);
60363 iconv_close(cd);
60364 ;
60365 return 0;
60366 }
60367 _ACEOF
60368 if ac_fn_c_try_link "$LINENO"; then :
60369 INCICONV="-I../libiconv/include"
60370 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
60371 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
60372 am_cv_lib_iconv=yes
60373 am_cv_func_iconv=yes
60374 fi
60375 rm -f core conftest.err conftest.$ac_objext \
60376 conftest$ac_exeext conftest.$ac_ext
60377 CPPFLAGS="$am_save_CPPFLAGS"
60378 LIBS="$am_save_LIBS"
60379 if test "$am_cv_func_iconv" = "yes"; then
60380 break
60381 fi
60382 done
60383 fi
60384
60385 if test "$am_cv_func_iconv" != yes; then
60386 am_save_CPPFLAGS="$CPPFLAGS"
60387 am_save_LIBS="$LIBS"
60388 CPPFLAGS="$CPPFLAGS $INCICONV"
60389 LIBS="$LIBS $LIBICONV"
60390 if test x$gcc_no_link = xyes; then
60391 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60392 fi
60393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60394 /* end confdefs.h. */
60395 #include <stdlib.h>
60396 #include <iconv.h>
60397 int
60398 main ()
60399 {
60400 iconv_t cd = iconv_open("","");
60401 iconv(cd,NULL,NULL,NULL,NULL);
60402 iconv_close(cd);
60403 ;
60404 return 0;
60405 }
60406 _ACEOF
60407 if ac_fn_c_try_link "$LINENO"; then :
60408 am_cv_lib_iconv=yes
60409 am_cv_func_iconv=yes
60410 fi
60411 rm -f core conftest.err conftest.$ac_objext \
60412 conftest$ac_exeext conftest.$ac_ext
60413 CPPFLAGS="$am_save_CPPFLAGS"
60414 LIBS="$am_save_LIBS"
60415 fi
60416
60417 fi
60418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
60419 $as_echo "$am_cv_func_iconv" >&6; }
60420 if test "$am_cv_func_iconv" = yes; then
60421
60422 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
60423
60424 fi
60425 if test "$am_cv_lib_iconv" = yes; then
60426
60427 for element in $INCICONV; do
60428 haveit=
60429 for x in $CPPFLAGS; do
60430
60431 acl_save_prefix="$prefix"
60432 prefix="$acl_final_prefix"
60433 acl_save_exec_prefix="$exec_prefix"
60434 exec_prefix="$acl_final_exec_prefix"
60435 eval x=\"$x\"
60436 exec_prefix="$acl_save_exec_prefix"
60437 prefix="$acl_save_prefix"
60438
60439 if test "X$x" = "X$element"; then
60440 haveit=yes
60441 break
60442 fi
60443 done
60444 if test -z "$haveit"; then
60445 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
60446 fi
60447 done
60448
60449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
60450 $as_echo_n "checking how to link with libiconv... " >&6; }
60451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
60452 $as_echo "$LIBICONV" >&6; }
60453 else
60454 LIBICONV=
60455 LTLIBICONV=
60456 fi
60457
60458
60459
60460 if test "$am_cv_func_iconv" = yes; then
60461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
60462 $as_echo_n "checking for iconv declaration... " >&6; }
60463 if ${am_cv_proto_iconv+:} false; then :
60464 $as_echo_n "(cached) " >&6
60465 else
60466
60467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60468 /* end confdefs.h. */
60469
60470 #include <stdlib.h>
60471 #include <iconv.h>
60472 extern
60473 #ifdef __cplusplus
60474 "C"
60475 #endif
60476 #if defined(__STDC__) || defined(__cplusplus)
60477 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
60478 #else
60479 size_t iconv();
60480 #endif
60481
60482 int
60483 main ()
60484 {
60485
60486 ;
60487 return 0;
60488 }
60489 _ACEOF
60490 if ac_fn_c_try_compile "$LINENO"; then :
60491 am_cv_proto_iconv_arg1=""
60492 else
60493 am_cv_proto_iconv_arg1="const"
60494 fi
60495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60496 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);"
60497 fi
60498
60499 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
60500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
60501 }$am_cv_proto_iconv" >&5
60502 $as_echo "${ac_t:-
60503 }$am_cv_proto_iconv" >&6; }
60504
60505 cat >>confdefs.h <<_ACEOF
60506 #define ICONV_CONST $am_cv_proto_iconv_arg1
60507 _ACEOF
60508
60509 fi
60510
60511 ;;
60512 *-mingw32*)
60513
60514 # If we're not using GNU ld, then there's no point in even trying these
60515 # tests. Check for that first. We should have already tested for gld
60516 # by now (in libtool), but require it now just to be safe...
60517 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60518 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60519
60520
60521
60522 # The name set by libtool depends on the version of libtool. Shame on us
60523 # for depending on an impl detail, but c'est la vie. Older versions used
60524 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60525 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60526 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60527 # set (hence we're using an older libtool), then set it.
60528 if test x${with_gnu_ld+set} != xset; then
60529 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60530 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60531 with_gnu_ld=no
60532 else
60533 with_gnu_ld=$ac_cv_prog_gnu_ld
60534 fi
60535 fi
60536
60537 # Start by getting the version number. I think the libtool test already
60538 # does some of this, but throws away the result.
60539 glibcxx_ld_is_gold=no
60540 if test x"$with_gnu_ld" = x"yes"; then
60541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60542 $as_echo_n "checking for ld version... " >&6; }
60543
60544 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60545 glibcxx_ld_is_gold=yes
60546 fi
60547 ldver=`$LD --version 2>/dev/null |
60548 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'`
60549
60550 glibcxx_gnu_ld_version=`echo $ldver | \
60551 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60553 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60554 fi
60555
60556 # Set --gc-sections.
60557 glibcxx_have_gc_sections=no
60558 if test "$glibcxx_ld_is_gold" = "yes"; then
60559 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60560 glibcxx_have_gc_sections=yes
60561 fi
60562 else
60563 glibcxx_gcsections_min_ld=21602
60564 if test x"$with_gnu_ld" = x"yes" &&
60565 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60566 glibcxx_have_gc_sections=yes
60567 fi
60568 fi
60569 if test "$glibcxx_have_gc_sections" = "yes"; then
60570 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60571 # NB: This flag only works reliably after 2.16.1. Configure tests
60572 # for this are difficult, so hard wire a value that should work.
60573
60574 ac_test_CFLAGS="${CFLAGS+set}"
60575 ac_save_CFLAGS="$CFLAGS"
60576 CFLAGS='-Wl,--gc-sections'
60577
60578 # Check for -Wl,--gc-sections
60579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60580 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60581 if test x$gcc_no_link = xyes; then
60582 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60583 fi
60584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60585 /* end confdefs.h. */
60586 int one(void) { return 1; }
60587 int two(void) { return 2; }
60588
60589 int
60590 main ()
60591 {
60592 two();
60593 ;
60594 return 0;
60595 }
60596 _ACEOF
60597 if ac_fn_c_try_link "$LINENO"; then :
60598 ac_gcsections=yes
60599 else
60600 ac_gcsections=no
60601 fi
60602 rm -f core conftest.err conftest.$ac_objext \
60603 conftest$ac_exeext conftest.$ac_ext
60604 if test "$ac_gcsections" = "yes"; then
60605 rm -f conftest.c
60606 touch conftest.c
60607 if $CC -c conftest.c; then
60608 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60609 grep "Warning: gc-sections option ignored" > /dev/null; then
60610 ac_gcsections=no
60611 fi
60612 fi
60613 rm -f conftest.c conftest.o conftest
60614 fi
60615 if test "$ac_gcsections" = "yes"; then
60616 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60617 fi
60618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60619 $as_echo "$ac_gcsections" >&6; }
60620
60621 if test "$ac_test_CFLAGS" = set; then
60622 CFLAGS="$ac_save_CFLAGS"
60623 else
60624 # this is the suspicious part
60625 CFLAGS=''
60626 fi
60627 fi
60628
60629 # Set -z,relro.
60630 # Note this is only for shared objects.
60631 ac_ld_relro=no
60632 if test x"$with_gnu_ld" = x"yes"; then
60633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60634 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60635 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60636 if test -n "$cxx_z_relo"; then
60637 OPT_LDFLAGS="-Wl,-z,relro"
60638 ac_ld_relro=yes
60639 fi
60640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60641 $as_echo "$ac_ld_relro" >&6; }
60642 fi
60643
60644 # Set linker optimization flags.
60645 if test x"$with_gnu_ld" = x"yes"; then
60646 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60647 fi
60648
60649
60650
60651
60652
60653 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60654 ac_save_CXXFLAGS="$CXXFLAGS"
60655 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60656
60657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60658 $as_echo_n "checking for sin in -lm... " >&6; }
60659 if ${ac_cv_lib_m_sin+:} false; then :
60660 $as_echo_n "(cached) " >&6
60661 else
60662 ac_check_lib_save_LIBS=$LIBS
60663 LIBS="-lm $LIBS"
60664 if test x$gcc_no_link = xyes; then
60665 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60666 fi
60667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60668 /* end confdefs.h. */
60669
60670 /* Override any GCC internal prototype to avoid an error.
60671 Use char because int might match the return type of a GCC
60672 builtin and then its argument prototype would still apply. */
60673 #ifdef __cplusplus
60674 extern "C"
60675 #endif
60676 char sin ();
60677 int
60678 main ()
60679 {
60680 return sin ();
60681 ;
60682 return 0;
60683 }
60684 _ACEOF
60685 if ac_fn_c_try_link "$LINENO"; then :
60686 ac_cv_lib_m_sin=yes
60687 else
60688 ac_cv_lib_m_sin=no
60689 fi
60690 rm -f core conftest.err conftest.$ac_objext \
60691 conftest$ac_exeext conftest.$ac_ext
60692 LIBS=$ac_check_lib_save_LIBS
60693 fi
60694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60695 $as_echo "$ac_cv_lib_m_sin" >&6; }
60696 if test "x$ac_cv_lib_m_sin" = xyes; then :
60697 libm="-lm"
60698 fi
60699
60700 ac_save_LIBS="$LIBS"
60701 LIBS="$LIBS $libm"
60702
60703
60704
60705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60706 $as_echo_n "checking for isinf declaration... " >&6; }
60707 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60708 if ${glibcxx_cv_func_isinf_use+:} false; then :
60709 $as_echo_n "(cached) " >&6
60710 else
60711
60712
60713 ac_ext=cpp
60714 ac_cpp='$CXXCPP $CPPFLAGS'
60715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60718
60719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60720 /* end confdefs.h. */
60721 #include <math.h>
60722 #ifdef HAVE_IEEEFP_H
60723 #include <ieeefp.h>
60724 #endif
60725
60726 int
60727 main ()
60728 {
60729 isinf(0);
60730 ;
60731 return 0;
60732 }
60733 _ACEOF
60734 if ac_fn_cxx_try_compile "$LINENO"; then :
60735 glibcxx_cv_func_isinf_use=yes
60736 else
60737 glibcxx_cv_func_isinf_use=no
60738 fi
60739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60740 ac_ext=c
60741 ac_cpp='$CPP $CPPFLAGS'
60742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60745
60746
60747 fi
60748
60749 fi
60750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60751 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60752
60753 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60754 for ac_func in isinf
60755 do :
60756 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60757 if test "x$ac_cv_func_isinf" = xyes; then :
60758 cat >>confdefs.h <<_ACEOF
60759 #define HAVE_ISINF 1
60760 _ACEOF
60761
60762 fi
60763 done
60764
60765 else
60766
60767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60768 $as_echo_n "checking for _isinf declaration... " >&6; }
60769 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60770 if ${glibcxx_cv_func__isinf_use+:} false; then :
60771 $as_echo_n "(cached) " >&6
60772 else
60773
60774
60775 ac_ext=cpp
60776 ac_cpp='$CXXCPP $CPPFLAGS'
60777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60780
60781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60782 /* end confdefs.h. */
60783 #include <math.h>
60784 #ifdef HAVE_IEEEFP_H
60785 #include <ieeefp.h>
60786 #endif
60787
60788 int
60789 main ()
60790 {
60791 _isinf(0);
60792 ;
60793 return 0;
60794 }
60795 _ACEOF
60796 if ac_fn_cxx_try_compile "$LINENO"; then :
60797 glibcxx_cv_func__isinf_use=yes
60798 else
60799 glibcxx_cv_func__isinf_use=no
60800 fi
60801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60802 ac_ext=c
60803 ac_cpp='$CPP $CPPFLAGS'
60804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60807
60808
60809 fi
60810
60811 fi
60812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60813 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60814
60815 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60816 for ac_func in _isinf
60817 do :
60818 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60819 if test "x$ac_cv_func__isinf" = xyes; then :
60820 cat >>confdefs.h <<_ACEOF
60821 #define HAVE__ISINF 1
60822 _ACEOF
60823
60824 fi
60825 done
60826
60827 fi
60828 fi
60829
60830
60831
60832
60833
60834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60835 $as_echo_n "checking for isnan declaration... " >&6; }
60836 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60837 if ${glibcxx_cv_func_isnan_use+:} false; then :
60838 $as_echo_n "(cached) " >&6
60839 else
60840
60841
60842 ac_ext=cpp
60843 ac_cpp='$CXXCPP $CPPFLAGS'
60844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60847
60848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60849 /* end confdefs.h. */
60850 #include <math.h>
60851 #ifdef HAVE_IEEEFP_H
60852 #include <ieeefp.h>
60853 #endif
60854
60855 int
60856 main ()
60857 {
60858 isnan(0);
60859 ;
60860 return 0;
60861 }
60862 _ACEOF
60863 if ac_fn_cxx_try_compile "$LINENO"; then :
60864 glibcxx_cv_func_isnan_use=yes
60865 else
60866 glibcxx_cv_func_isnan_use=no
60867 fi
60868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60869 ac_ext=c
60870 ac_cpp='$CPP $CPPFLAGS'
60871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60874
60875
60876 fi
60877
60878 fi
60879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
60880 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
60881
60882 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
60883 for ac_func in isnan
60884 do :
60885 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
60886 if test "x$ac_cv_func_isnan" = xyes; then :
60887 cat >>confdefs.h <<_ACEOF
60888 #define HAVE_ISNAN 1
60889 _ACEOF
60890
60891 fi
60892 done
60893
60894 else
60895
60896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
60897 $as_echo_n "checking for _isnan declaration... " >&6; }
60898 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
60899 if ${glibcxx_cv_func__isnan_use+:} false; then :
60900 $as_echo_n "(cached) " >&6
60901 else
60902
60903
60904 ac_ext=cpp
60905 ac_cpp='$CXXCPP $CPPFLAGS'
60906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60909
60910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60911 /* end confdefs.h. */
60912 #include <math.h>
60913 #ifdef HAVE_IEEEFP_H
60914 #include <ieeefp.h>
60915 #endif
60916
60917 int
60918 main ()
60919 {
60920 _isnan(0);
60921 ;
60922 return 0;
60923 }
60924 _ACEOF
60925 if ac_fn_cxx_try_compile "$LINENO"; then :
60926 glibcxx_cv_func__isnan_use=yes
60927 else
60928 glibcxx_cv_func__isnan_use=no
60929 fi
60930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60931 ac_ext=c
60932 ac_cpp='$CPP $CPPFLAGS'
60933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60936
60937
60938 fi
60939
60940 fi
60941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
60942 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
60943
60944 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
60945 for ac_func in _isnan
60946 do :
60947 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
60948 if test "x$ac_cv_func__isnan" = xyes; then :
60949 cat >>confdefs.h <<_ACEOF
60950 #define HAVE__ISNAN 1
60951 _ACEOF
60952
60953 fi
60954 done
60955
60956 fi
60957 fi
60958
60959
60960
60961
60962
60963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
60964 $as_echo_n "checking for finite declaration... " >&6; }
60965 if test x${glibcxx_cv_func_finite_use+set} != xset; then
60966 if ${glibcxx_cv_func_finite_use+:} false; then :
60967 $as_echo_n "(cached) " >&6
60968 else
60969
60970
60971 ac_ext=cpp
60972 ac_cpp='$CXXCPP $CPPFLAGS'
60973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60976
60977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60978 /* end confdefs.h. */
60979 #include <math.h>
60980 #ifdef HAVE_IEEEFP_H
60981 #include <ieeefp.h>
60982 #endif
60983
60984 int
60985 main ()
60986 {
60987 finite(0);
60988 ;
60989 return 0;
60990 }
60991 _ACEOF
60992 if ac_fn_cxx_try_compile "$LINENO"; then :
60993 glibcxx_cv_func_finite_use=yes
60994 else
60995 glibcxx_cv_func_finite_use=no
60996 fi
60997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60998 ac_ext=c
60999 ac_cpp='$CPP $CPPFLAGS'
61000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61003
61004
61005 fi
61006
61007 fi
61008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61009 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61010
61011 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61012 for ac_func in finite
61013 do :
61014 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61015 if test "x$ac_cv_func_finite" = xyes; then :
61016 cat >>confdefs.h <<_ACEOF
61017 #define HAVE_FINITE 1
61018 _ACEOF
61019
61020 fi
61021 done
61022
61023 else
61024
61025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61026 $as_echo_n "checking for _finite declaration... " >&6; }
61027 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61028 if ${glibcxx_cv_func__finite_use+:} false; then :
61029 $as_echo_n "(cached) " >&6
61030 else
61031
61032
61033 ac_ext=cpp
61034 ac_cpp='$CXXCPP $CPPFLAGS'
61035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61038
61039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61040 /* end confdefs.h. */
61041 #include <math.h>
61042 #ifdef HAVE_IEEEFP_H
61043 #include <ieeefp.h>
61044 #endif
61045
61046 int
61047 main ()
61048 {
61049 _finite(0);
61050 ;
61051 return 0;
61052 }
61053 _ACEOF
61054 if ac_fn_cxx_try_compile "$LINENO"; then :
61055 glibcxx_cv_func__finite_use=yes
61056 else
61057 glibcxx_cv_func__finite_use=no
61058 fi
61059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61060 ac_ext=c
61061 ac_cpp='$CPP $CPPFLAGS'
61062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61065
61066
61067 fi
61068
61069 fi
61070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61071 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61072
61073 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61074 for ac_func in _finite
61075 do :
61076 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61077 if test "x$ac_cv_func__finite" = xyes; then :
61078 cat >>confdefs.h <<_ACEOF
61079 #define HAVE__FINITE 1
61080 _ACEOF
61081
61082 fi
61083 done
61084
61085 fi
61086 fi
61087
61088
61089
61090
61091
61092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61093 $as_echo_n "checking for sincos declaration... " >&6; }
61094 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61095 if ${glibcxx_cv_func_sincos_use+:} false; then :
61096 $as_echo_n "(cached) " >&6
61097 else
61098
61099
61100 ac_ext=cpp
61101 ac_cpp='$CXXCPP $CPPFLAGS'
61102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61105
61106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61107 /* end confdefs.h. */
61108 #include <math.h>
61109 int
61110 main ()
61111 {
61112 sincos(0, 0, 0);
61113 ;
61114 return 0;
61115 }
61116 _ACEOF
61117 if ac_fn_cxx_try_compile "$LINENO"; then :
61118 glibcxx_cv_func_sincos_use=yes
61119 else
61120 glibcxx_cv_func_sincos_use=no
61121 fi
61122 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61123 ac_ext=c
61124 ac_cpp='$CPP $CPPFLAGS'
61125 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61126 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61127 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61128
61129
61130 fi
61131
61132 fi
61133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61134 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61135
61136 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61137 for ac_func in sincos
61138 do :
61139 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61140 if test "x$ac_cv_func_sincos" = xyes; then :
61141 cat >>confdefs.h <<_ACEOF
61142 #define HAVE_SINCOS 1
61143 _ACEOF
61144
61145 fi
61146 done
61147
61148 else
61149
61150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61151 $as_echo_n "checking for _sincos declaration... " >&6; }
61152 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61153 if ${glibcxx_cv_func__sincos_use+:} false; then :
61154 $as_echo_n "(cached) " >&6
61155 else
61156
61157
61158 ac_ext=cpp
61159 ac_cpp='$CXXCPP $CPPFLAGS'
61160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61163
61164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61165 /* end confdefs.h. */
61166 #include <math.h>
61167 int
61168 main ()
61169 {
61170 _sincos(0, 0, 0);
61171 ;
61172 return 0;
61173 }
61174 _ACEOF
61175 if ac_fn_cxx_try_compile "$LINENO"; then :
61176 glibcxx_cv_func__sincos_use=yes
61177 else
61178 glibcxx_cv_func__sincos_use=no
61179 fi
61180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61181 ac_ext=c
61182 ac_cpp='$CPP $CPPFLAGS'
61183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61186
61187
61188 fi
61189
61190 fi
61191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61192 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61193
61194 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61195 for ac_func in _sincos
61196 do :
61197 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61198 if test "x$ac_cv_func__sincos" = xyes; then :
61199 cat >>confdefs.h <<_ACEOF
61200 #define HAVE__SINCOS 1
61201 _ACEOF
61202
61203 fi
61204 done
61205
61206 fi
61207 fi
61208
61209
61210
61211
61212
61213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61214 $as_echo_n "checking for fpclass declaration... " >&6; }
61215 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61216 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61217 $as_echo_n "(cached) " >&6
61218 else
61219
61220
61221 ac_ext=cpp
61222 ac_cpp='$CXXCPP $CPPFLAGS'
61223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61226
61227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61228 /* end confdefs.h. */
61229 #include <math.h>
61230 #ifdef HAVE_IEEEFP_H
61231 #include <ieeefp.h>
61232 #endif
61233
61234 int
61235 main ()
61236 {
61237 fpclass(0);
61238 ;
61239 return 0;
61240 }
61241 _ACEOF
61242 if ac_fn_cxx_try_compile "$LINENO"; then :
61243 glibcxx_cv_func_fpclass_use=yes
61244 else
61245 glibcxx_cv_func_fpclass_use=no
61246 fi
61247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61248 ac_ext=c
61249 ac_cpp='$CPP $CPPFLAGS'
61250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61253
61254
61255 fi
61256
61257 fi
61258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61259 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61260
61261 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61262 for ac_func in fpclass
61263 do :
61264 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61265 if test "x$ac_cv_func_fpclass" = xyes; then :
61266 cat >>confdefs.h <<_ACEOF
61267 #define HAVE_FPCLASS 1
61268 _ACEOF
61269
61270 fi
61271 done
61272
61273 else
61274
61275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61276 $as_echo_n "checking for _fpclass declaration... " >&6; }
61277 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61278 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61279 $as_echo_n "(cached) " >&6
61280 else
61281
61282
61283 ac_ext=cpp
61284 ac_cpp='$CXXCPP $CPPFLAGS'
61285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61288
61289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61290 /* end confdefs.h. */
61291 #include <math.h>
61292 #ifdef HAVE_IEEEFP_H
61293 #include <ieeefp.h>
61294 #endif
61295
61296 int
61297 main ()
61298 {
61299 _fpclass(0);
61300 ;
61301 return 0;
61302 }
61303 _ACEOF
61304 if ac_fn_cxx_try_compile "$LINENO"; then :
61305 glibcxx_cv_func__fpclass_use=yes
61306 else
61307 glibcxx_cv_func__fpclass_use=no
61308 fi
61309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61310 ac_ext=c
61311 ac_cpp='$CPP $CPPFLAGS'
61312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61315
61316
61317 fi
61318
61319 fi
61320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61321 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61322
61323 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61324 for ac_func in _fpclass
61325 do :
61326 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61327 if test "x$ac_cv_func__fpclass" = xyes; then :
61328 cat >>confdefs.h <<_ACEOF
61329 #define HAVE__FPCLASS 1
61330 _ACEOF
61331
61332 fi
61333 done
61334
61335 fi
61336 fi
61337
61338
61339
61340
61341
61342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61343 $as_echo_n "checking for qfpclass declaration... " >&6; }
61344 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61345 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61346 $as_echo_n "(cached) " >&6
61347 else
61348
61349
61350 ac_ext=cpp
61351 ac_cpp='$CXXCPP $CPPFLAGS'
61352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61355
61356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61357 /* end confdefs.h. */
61358 #include <math.h>
61359 #ifdef HAVE_IEEEFP_H
61360 #include <ieeefp.h>
61361 #endif
61362
61363 int
61364 main ()
61365 {
61366 qfpclass(0);
61367 ;
61368 return 0;
61369 }
61370 _ACEOF
61371 if ac_fn_cxx_try_compile "$LINENO"; then :
61372 glibcxx_cv_func_qfpclass_use=yes
61373 else
61374 glibcxx_cv_func_qfpclass_use=no
61375 fi
61376 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61377 ac_ext=c
61378 ac_cpp='$CPP $CPPFLAGS'
61379 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61380 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61381 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61382
61383
61384 fi
61385
61386 fi
61387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61388 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61389
61390 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61391 for ac_func in qfpclass
61392 do :
61393 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61394 if test "x$ac_cv_func_qfpclass" = xyes; then :
61395 cat >>confdefs.h <<_ACEOF
61396 #define HAVE_QFPCLASS 1
61397 _ACEOF
61398
61399 fi
61400 done
61401
61402 else
61403
61404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61405 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61406 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61407 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61408 $as_echo_n "(cached) " >&6
61409 else
61410
61411
61412 ac_ext=cpp
61413 ac_cpp='$CXXCPP $CPPFLAGS'
61414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61417
61418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61419 /* end confdefs.h. */
61420 #include <math.h>
61421 #ifdef HAVE_IEEEFP_H
61422 #include <ieeefp.h>
61423 #endif
61424
61425 int
61426 main ()
61427 {
61428 _qfpclass(0);
61429 ;
61430 return 0;
61431 }
61432 _ACEOF
61433 if ac_fn_cxx_try_compile "$LINENO"; then :
61434 glibcxx_cv_func__qfpclass_use=yes
61435 else
61436 glibcxx_cv_func__qfpclass_use=no
61437 fi
61438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61439 ac_ext=c
61440 ac_cpp='$CPP $CPPFLAGS'
61441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61444
61445
61446 fi
61447
61448 fi
61449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61450 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61451
61452 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61453 for ac_func in _qfpclass
61454 do :
61455 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61456 if test "x$ac_cv_func__qfpclass" = xyes; then :
61457 cat >>confdefs.h <<_ACEOF
61458 #define HAVE__QFPCLASS 1
61459 _ACEOF
61460
61461 fi
61462 done
61463
61464 fi
61465 fi
61466
61467
61468
61469
61470
61471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61472 $as_echo_n "checking for hypot declaration... " >&6; }
61473 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61474 if ${glibcxx_cv_func_hypot_use+:} false; then :
61475 $as_echo_n "(cached) " >&6
61476 else
61477
61478
61479 ac_ext=cpp
61480 ac_cpp='$CXXCPP $CPPFLAGS'
61481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61484
61485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61486 /* end confdefs.h. */
61487 #include <math.h>
61488 int
61489 main ()
61490 {
61491 hypot(0, 0);
61492 ;
61493 return 0;
61494 }
61495 _ACEOF
61496 if ac_fn_cxx_try_compile "$LINENO"; then :
61497 glibcxx_cv_func_hypot_use=yes
61498 else
61499 glibcxx_cv_func_hypot_use=no
61500 fi
61501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61502 ac_ext=c
61503 ac_cpp='$CPP $CPPFLAGS'
61504 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61505 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61506 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61507
61508
61509 fi
61510
61511 fi
61512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61513 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61514
61515 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61516 for ac_func in hypot
61517 do :
61518 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61519 if test "x$ac_cv_func_hypot" = xyes; then :
61520 cat >>confdefs.h <<_ACEOF
61521 #define HAVE_HYPOT 1
61522 _ACEOF
61523
61524 fi
61525 done
61526
61527 else
61528
61529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61530 $as_echo_n "checking for _hypot declaration... " >&6; }
61531 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61532 if ${glibcxx_cv_func__hypot_use+:} false; then :
61533 $as_echo_n "(cached) " >&6
61534 else
61535
61536
61537 ac_ext=cpp
61538 ac_cpp='$CXXCPP $CPPFLAGS'
61539 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61540 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61541 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61542
61543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61544 /* end confdefs.h. */
61545 #include <math.h>
61546 int
61547 main ()
61548 {
61549 _hypot(0, 0);
61550 ;
61551 return 0;
61552 }
61553 _ACEOF
61554 if ac_fn_cxx_try_compile "$LINENO"; then :
61555 glibcxx_cv_func__hypot_use=yes
61556 else
61557 glibcxx_cv_func__hypot_use=no
61558 fi
61559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61560 ac_ext=c
61561 ac_cpp='$CPP $CPPFLAGS'
61562 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61563 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61564 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61565
61566
61567 fi
61568
61569 fi
61570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61571 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61572
61573 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61574 for ac_func in _hypot
61575 do :
61576 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61577 if test "x$ac_cv_func__hypot" = xyes; then :
61578 cat >>confdefs.h <<_ACEOF
61579 #define HAVE__HYPOT 1
61580 _ACEOF
61581
61582 fi
61583 done
61584
61585 fi
61586 fi
61587
61588
61589
61590
61591
61592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61593 $as_echo_n "checking for float trig functions... " >&6; }
61594 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61595 $as_echo_n "(cached) " >&6
61596 else
61597
61598
61599 ac_ext=cpp
61600 ac_cpp='$CXXCPP $CPPFLAGS'
61601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61604
61605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61606 /* end confdefs.h. */
61607 #include <math.h>
61608 int
61609 main ()
61610 {
61611 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61612 ;
61613 return 0;
61614 }
61615 _ACEOF
61616 if ac_fn_cxx_try_compile "$LINENO"; then :
61617 glibcxx_cv_func_float_trig_use=yes
61618 else
61619 glibcxx_cv_func_float_trig_use=no
61620 fi
61621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61622 ac_ext=c
61623 ac_cpp='$CPP $CPPFLAGS'
61624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61627
61628 fi
61629
61630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61631 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61632 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61633 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61634 do :
61635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61637 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61638 cat >>confdefs.h <<_ACEOF
61639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61640 _ACEOF
61641
61642 fi
61643 done
61644
61645 else
61646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61647 $as_echo_n "checking for _float trig functions... " >&6; }
61648 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61649 $as_echo_n "(cached) " >&6
61650 else
61651
61652
61653 ac_ext=cpp
61654 ac_cpp='$CXXCPP $CPPFLAGS'
61655 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61656 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61657 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61658
61659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61660 /* end confdefs.h. */
61661 #include <math.h>
61662 int
61663 main ()
61664 {
61665 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61666 ;
61667 return 0;
61668 }
61669 _ACEOF
61670 if ac_fn_cxx_try_compile "$LINENO"; then :
61671 glibcxx_cv_func__float_trig_use=yes
61672 else
61673 glibcxx_cv_func__float_trig_use=no
61674 fi
61675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61676 ac_ext=c
61677 ac_cpp='$CPP $CPPFLAGS'
61678 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61679 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61680 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61681
61682 fi
61683
61684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61685 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61686 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61687 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61688 do :
61689 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61690 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61691 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61692 cat >>confdefs.h <<_ACEOF
61693 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61694 _ACEOF
61695
61696 fi
61697 done
61698
61699 fi
61700 fi
61701
61702
61703
61704
61705
61706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61707 $as_echo_n "checking for float round functions... " >&6; }
61708 if ${glibcxx_cv_func_float_round_use+:} false; then :
61709 $as_echo_n "(cached) " >&6
61710 else
61711
61712
61713 ac_ext=cpp
61714 ac_cpp='$CXXCPP $CPPFLAGS'
61715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61718
61719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61720 /* end confdefs.h. */
61721 #include <math.h>
61722 int
61723 main ()
61724 {
61725 ceilf (0); floorf (0);
61726 ;
61727 return 0;
61728 }
61729 _ACEOF
61730 if ac_fn_cxx_try_compile "$LINENO"; then :
61731 glibcxx_cv_func_float_round_use=yes
61732 else
61733 glibcxx_cv_func_float_round_use=no
61734 fi
61735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61736 ac_ext=c
61737 ac_cpp='$CPP $CPPFLAGS'
61738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61741
61742 fi
61743
61744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61745 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61746 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61747 for ac_func in ceilf floorf
61748 do :
61749 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61750 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61751 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61752 cat >>confdefs.h <<_ACEOF
61753 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61754 _ACEOF
61755
61756 fi
61757 done
61758
61759 else
61760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61761 $as_echo_n "checking for _float round functions... " >&6; }
61762 if ${glibcxx_cv_func__float_round_use+:} false; then :
61763 $as_echo_n "(cached) " >&6
61764 else
61765
61766
61767 ac_ext=cpp
61768 ac_cpp='$CXXCPP $CPPFLAGS'
61769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61772
61773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61774 /* end confdefs.h. */
61775 #include <math.h>
61776 int
61777 main ()
61778 {
61779 _ceilf (0); _floorf (0);
61780 ;
61781 return 0;
61782 }
61783 _ACEOF
61784 if ac_fn_cxx_try_compile "$LINENO"; then :
61785 glibcxx_cv_func__float_round_use=yes
61786 else
61787 glibcxx_cv_func__float_round_use=no
61788 fi
61789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61790 ac_ext=c
61791 ac_cpp='$CPP $CPPFLAGS'
61792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61795
61796 fi
61797
61798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61799 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61800 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61801 for ac_func in _ceilf _floorf
61802 do :
61803 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61804 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61805 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61806 cat >>confdefs.h <<_ACEOF
61807 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61808 _ACEOF
61809
61810 fi
61811 done
61812
61813 fi
61814 fi
61815
61816
61817
61818
61819
61820
61821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61822 $as_echo_n "checking for expf declaration... " >&6; }
61823 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61824 if ${glibcxx_cv_func_expf_use+:} false; then :
61825 $as_echo_n "(cached) " >&6
61826 else
61827
61828
61829 ac_ext=cpp
61830 ac_cpp='$CXXCPP $CPPFLAGS'
61831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61834
61835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61836 /* end confdefs.h. */
61837 #include <math.h>
61838 #ifdef HAVE_IEEEFP_H
61839 #include <ieeefp.h>
61840 #endif
61841
61842 int
61843 main ()
61844 {
61845 expf(0);
61846 ;
61847 return 0;
61848 }
61849 _ACEOF
61850 if ac_fn_cxx_try_compile "$LINENO"; then :
61851 glibcxx_cv_func_expf_use=yes
61852 else
61853 glibcxx_cv_func_expf_use=no
61854 fi
61855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61856 ac_ext=c
61857 ac_cpp='$CPP $CPPFLAGS'
61858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61861
61862
61863 fi
61864
61865 fi
61866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
61867 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
61868
61869 if test x$glibcxx_cv_func_expf_use = x"yes"; then
61870 for ac_func in expf
61871 do :
61872 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
61873 if test "x$ac_cv_func_expf" = xyes; then :
61874 cat >>confdefs.h <<_ACEOF
61875 #define HAVE_EXPF 1
61876 _ACEOF
61877
61878 fi
61879 done
61880
61881 else
61882
61883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
61884 $as_echo_n "checking for _expf declaration... " >&6; }
61885 if test x${glibcxx_cv_func__expf_use+set} != xset; then
61886 if ${glibcxx_cv_func__expf_use+:} false; then :
61887 $as_echo_n "(cached) " >&6
61888 else
61889
61890
61891 ac_ext=cpp
61892 ac_cpp='$CXXCPP $CPPFLAGS'
61893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61896
61897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61898 /* end confdefs.h. */
61899 #include <math.h>
61900 #ifdef HAVE_IEEEFP_H
61901 #include <ieeefp.h>
61902 #endif
61903
61904 int
61905 main ()
61906 {
61907 _expf(0);
61908 ;
61909 return 0;
61910 }
61911 _ACEOF
61912 if ac_fn_cxx_try_compile "$LINENO"; then :
61913 glibcxx_cv_func__expf_use=yes
61914 else
61915 glibcxx_cv_func__expf_use=no
61916 fi
61917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61918 ac_ext=c
61919 ac_cpp='$CPP $CPPFLAGS'
61920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61923
61924
61925 fi
61926
61927 fi
61928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
61929 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
61930
61931 if test x$glibcxx_cv_func__expf_use = x"yes"; then
61932 for ac_func in _expf
61933 do :
61934 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
61935 if test "x$ac_cv_func__expf" = xyes; then :
61936 cat >>confdefs.h <<_ACEOF
61937 #define HAVE__EXPF 1
61938 _ACEOF
61939
61940 fi
61941 done
61942
61943 fi
61944 fi
61945
61946
61947
61948
61949
61950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
61951 $as_echo_n "checking for isnanf declaration... " >&6; }
61952 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
61953 if ${glibcxx_cv_func_isnanf_use+:} false; then :
61954 $as_echo_n "(cached) " >&6
61955 else
61956
61957
61958 ac_ext=cpp
61959 ac_cpp='$CXXCPP $CPPFLAGS'
61960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61963
61964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61965 /* end confdefs.h. */
61966 #include <math.h>
61967 #ifdef HAVE_IEEEFP_H
61968 #include <ieeefp.h>
61969 #endif
61970
61971 int
61972 main ()
61973 {
61974 isnanf(0);
61975 ;
61976 return 0;
61977 }
61978 _ACEOF
61979 if ac_fn_cxx_try_compile "$LINENO"; then :
61980 glibcxx_cv_func_isnanf_use=yes
61981 else
61982 glibcxx_cv_func_isnanf_use=no
61983 fi
61984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61985 ac_ext=c
61986 ac_cpp='$CPP $CPPFLAGS'
61987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61990
61991
61992 fi
61993
61994 fi
61995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
61996 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
61997
61998 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
61999 for ac_func in isnanf
62000 do :
62001 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62002 if test "x$ac_cv_func_isnanf" = xyes; then :
62003 cat >>confdefs.h <<_ACEOF
62004 #define HAVE_ISNANF 1
62005 _ACEOF
62006
62007 fi
62008 done
62009
62010 else
62011
62012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62013 $as_echo_n "checking for _isnanf declaration... " >&6; }
62014 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62015 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62016 $as_echo_n "(cached) " >&6
62017 else
62018
62019
62020 ac_ext=cpp
62021 ac_cpp='$CXXCPP $CPPFLAGS'
62022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62025
62026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62027 /* end confdefs.h. */
62028 #include <math.h>
62029 #ifdef HAVE_IEEEFP_H
62030 #include <ieeefp.h>
62031 #endif
62032
62033 int
62034 main ()
62035 {
62036 _isnanf(0);
62037 ;
62038 return 0;
62039 }
62040 _ACEOF
62041 if ac_fn_cxx_try_compile "$LINENO"; then :
62042 glibcxx_cv_func__isnanf_use=yes
62043 else
62044 glibcxx_cv_func__isnanf_use=no
62045 fi
62046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62047 ac_ext=c
62048 ac_cpp='$CPP $CPPFLAGS'
62049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62052
62053
62054 fi
62055
62056 fi
62057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62058 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62059
62060 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62061 for ac_func in _isnanf
62062 do :
62063 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62064 if test "x$ac_cv_func__isnanf" = xyes; then :
62065 cat >>confdefs.h <<_ACEOF
62066 #define HAVE__ISNANF 1
62067 _ACEOF
62068
62069 fi
62070 done
62071
62072 fi
62073 fi
62074
62075
62076
62077
62078
62079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62080 $as_echo_n "checking for isinff declaration... " >&6; }
62081 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62082 if ${glibcxx_cv_func_isinff_use+:} false; then :
62083 $as_echo_n "(cached) " >&6
62084 else
62085
62086
62087 ac_ext=cpp
62088 ac_cpp='$CXXCPP $CPPFLAGS'
62089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62092
62093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62094 /* end confdefs.h. */
62095 #include <math.h>
62096 #ifdef HAVE_IEEEFP_H
62097 #include <ieeefp.h>
62098 #endif
62099
62100 int
62101 main ()
62102 {
62103 isinff(0);
62104 ;
62105 return 0;
62106 }
62107 _ACEOF
62108 if ac_fn_cxx_try_compile "$LINENO"; then :
62109 glibcxx_cv_func_isinff_use=yes
62110 else
62111 glibcxx_cv_func_isinff_use=no
62112 fi
62113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62114 ac_ext=c
62115 ac_cpp='$CPP $CPPFLAGS'
62116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62119
62120
62121 fi
62122
62123 fi
62124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62125 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62126
62127 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62128 for ac_func in isinff
62129 do :
62130 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62131 if test "x$ac_cv_func_isinff" = xyes; then :
62132 cat >>confdefs.h <<_ACEOF
62133 #define HAVE_ISINFF 1
62134 _ACEOF
62135
62136 fi
62137 done
62138
62139 else
62140
62141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62142 $as_echo_n "checking for _isinff declaration... " >&6; }
62143 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62144 if ${glibcxx_cv_func__isinff_use+:} false; then :
62145 $as_echo_n "(cached) " >&6
62146 else
62147
62148
62149 ac_ext=cpp
62150 ac_cpp='$CXXCPP $CPPFLAGS'
62151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62154
62155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62156 /* end confdefs.h. */
62157 #include <math.h>
62158 #ifdef HAVE_IEEEFP_H
62159 #include <ieeefp.h>
62160 #endif
62161
62162 int
62163 main ()
62164 {
62165 _isinff(0);
62166 ;
62167 return 0;
62168 }
62169 _ACEOF
62170 if ac_fn_cxx_try_compile "$LINENO"; then :
62171 glibcxx_cv_func__isinff_use=yes
62172 else
62173 glibcxx_cv_func__isinff_use=no
62174 fi
62175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62176 ac_ext=c
62177 ac_cpp='$CPP $CPPFLAGS'
62178 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62179 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62180 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62181
62182
62183 fi
62184
62185 fi
62186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62187 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62188
62189 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62190 for ac_func in _isinff
62191 do :
62192 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62193 if test "x$ac_cv_func__isinff" = xyes; then :
62194 cat >>confdefs.h <<_ACEOF
62195 #define HAVE__ISINFF 1
62196 _ACEOF
62197
62198 fi
62199 done
62200
62201 fi
62202 fi
62203
62204
62205
62206
62207
62208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62209 $as_echo_n "checking for atan2f declaration... " >&6; }
62210 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62211 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62212 $as_echo_n "(cached) " >&6
62213 else
62214
62215
62216 ac_ext=cpp
62217 ac_cpp='$CXXCPP $CPPFLAGS'
62218 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62219 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62220 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62221
62222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62223 /* end confdefs.h. */
62224 #include <math.h>
62225 int
62226 main ()
62227 {
62228 atan2f(0, 0);
62229 ;
62230 return 0;
62231 }
62232 _ACEOF
62233 if ac_fn_cxx_try_compile "$LINENO"; then :
62234 glibcxx_cv_func_atan2f_use=yes
62235 else
62236 glibcxx_cv_func_atan2f_use=no
62237 fi
62238 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62239 ac_ext=c
62240 ac_cpp='$CPP $CPPFLAGS'
62241 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62242 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62243 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62244
62245
62246 fi
62247
62248 fi
62249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62250 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62251
62252 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62253 for ac_func in atan2f
62254 do :
62255 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62256 if test "x$ac_cv_func_atan2f" = xyes; then :
62257 cat >>confdefs.h <<_ACEOF
62258 #define HAVE_ATAN2F 1
62259 _ACEOF
62260
62261 fi
62262 done
62263
62264 else
62265
62266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62267 $as_echo_n "checking for _atan2f declaration... " >&6; }
62268 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62269 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62270 $as_echo_n "(cached) " >&6
62271 else
62272
62273
62274 ac_ext=cpp
62275 ac_cpp='$CXXCPP $CPPFLAGS'
62276 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62277 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62278 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62279
62280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62281 /* end confdefs.h. */
62282 #include <math.h>
62283 int
62284 main ()
62285 {
62286 _atan2f(0, 0);
62287 ;
62288 return 0;
62289 }
62290 _ACEOF
62291 if ac_fn_cxx_try_compile "$LINENO"; then :
62292 glibcxx_cv_func__atan2f_use=yes
62293 else
62294 glibcxx_cv_func__atan2f_use=no
62295 fi
62296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62297 ac_ext=c
62298 ac_cpp='$CPP $CPPFLAGS'
62299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62302
62303
62304 fi
62305
62306 fi
62307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62308 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62309
62310 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62311 for ac_func in _atan2f
62312 do :
62313 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62314 if test "x$ac_cv_func__atan2f" = xyes; then :
62315 cat >>confdefs.h <<_ACEOF
62316 #define HAVE__ATAN2F 1
62317 _ACEOF
62318
62319 fi
62320 done
62321
62322 fi
62323 fi
62324
62325
62326
62327
62328
62329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62330 $as_echo_n "checking for fabsf declaration... " >&6; }
62331 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62332 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62333 $as_echo_n "(cached) " >&6
62334 else
62335
62336
62337 ac_ext=cpp
62338 ac_cpp='$CXXCPP $CPPFLAGS'
62339 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62340 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62341 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62342
62343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62344 /* end confdefs.h. */
62345 #include <math.h>
62346 #ifdef HAVE_IEEEFP_H
62347 #include <ieeefp.h>
62348 #endif
62349
62350 int
62351 main ()
62352 {
62353 fabsf(0);
62354 ;
62355 return 0;
62356 }
62357 _ACEOF
62358 if ac_fn_cxx_try_compile "$LINENO"; then :
62359 glibcxx_cv_func_fabsf_use=yes
62360 else
62361 glibcxx_cv_func_fabsf_use=no
62362 fi
62363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62364 ac_ext=c
62365 ac_cpp='$CPP $CPPFLAGS'
62366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62369
62370
62371 fi
62372
62373 fi
62374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62375 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62376
62377 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62378 for ac_func in fabsf
62379 do :
62380 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62381 if test "x$ac_cv_func_fabsf" = xyes; then :
62382 cat >>confdefs.h <<_ACEOF
62383 #define HAVE_FABSF 1
62384 _ACEOF
62385
62386 fi
62387 done
62388
62389 else
62390
62391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62392 $as_echo_n "checking for _fabsf declaration... " >&6; }
62393 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62394 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62395 $as_echo_n "(cached) " >&6
62396 else
62397
62398
62399 ac_ext=cpp
62400 ac_cpp='$CXXCPP $CPPFLAGS'
62401 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62402 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62403 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62404
62405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62406 /* end confdefs.h. */
62407 #include <math.h>
62408 #ifdef HAVE_IEEEFP_H
62409 #include <ieeefp.h>
62410 #endif
62411
62412 int
62413 main ()
62414 {
62415 _fabsf(0);
62416 ;
62417 return 0;
62418 }
62419 _ACEOF
62420 if ac_fn_cxx_try_compile "$LINENO"; then :
62421 glibcxx_cv_func__fabsf_use=yes
62422 else
62423 glibcxx_cv_func__fabsf_use=no
62424 fi
62425 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62426 ac_ext=c
62427 ac_cpp='$CPP $CPPFLAGS'
62428 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62429 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62430 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62431
62432
62433 fi
62434
62435 fi
62436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62437 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62438
62439 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62440 for ac_func in _fabsf
62441 do :
62442 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62443 if test "x$ac_cv_func__fabsf" = xyes; then :
62444 cat >>confdefs.h <<_ACEOF
62445 #define HAVE__FABSF 1
62446 _ACEOF
62447
62448 fi
62449 done
62450
62451 fi
62452 fi
62453
62454
62455
62456
62457
62458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62459 $as_echo_n "checking for fmodf declaration... " >&6; }
62460 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62461 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62462 $as_echo_n "(cached) " >&6
62463 else
62464
62465
62466 ac_ext=cpp
62467 ac_cpp='$CXXCPP $CPPFLAGS'
62468 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62469 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62470 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62471
62472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62473 /* end confdefs.h. */
62474 #include <math.h>
62475 int
62476 main ()
62477 {
62478 fmodf(0, 0);
62479 ;
62480 return 0;
62481 }
62482 _ACEOF
62483 if ac_fn_cxx_try_compile "$LINENO"; then :
62484 glibcxx_cv_func_fmodf_use=yes
62485 else
62486 glibcxx_cv_func_fmodf_use=no
62487 fi
62488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62489 ac_ext=c
62490 ac_cpp='$CPP $CPPFLAGS'
62491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62494
62495
62496 fi
62497
62498 fi
62499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62500 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62501
62502 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62503 for ac_func in fmodf
62504 do :
62505 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62506 if test "x$ac_cv_func_fmodf" = xyes; then :
62507 cat >>confdefs.h <<_ACEOF
62508 #define HAVE_FMODF 1
62509 _ACEOF
62510
62511 fi
62512 done
62513
62514 else
62515
62516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62517 $as_echo_n "checking for _fmodf declaration... " >&6; }
62518 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62519 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62520 $as_echo_n "(cached) " >&6
62521 else
62522
62523
62524 ac_ext=cpp
62525 ac_cpp='$CXXCPP $CPPFLAGS'
62526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62529
62530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62531 /* end confdefs.h. */
62532 #include <math.h>
62533 int
62534 main ()
62535 {
62536 _fmodf(0, 0);
62537 ;
62538 return 0;
62539 }
62540 _ACEOF
62541 if ac_fn_cxx_try_compile "$LINENO"; then :
62542 glibcxx_cv_func__fmodf_use=yes
62543 else
62544 glibcxx_cv_func__fmodf_use=no
62545 fi
62546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62547 ac_ext=c
62548 ac_cpp='$CPP $CPPFLAGS'
62549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62552
62553
62554 fi
62555
62556 fi
62557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62558 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62559
62560 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62561 for ac_func in _fmodf
62562 do :
62563 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62564 if test "x$ac_cv_func__fmodf" = xyes; then :
62565 cat >>confdefs.h <<_ACEOF
62566 #define HAVE__FMODF 1
62567 _ACEOF
62568
62569 fi
62570 done
62571
62572 fi
62573 fi
62574
62575
62576
62577
62578
62579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62580 $as_echo_n "checking for frexpf declaration... " >&6; }
62581 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62582 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62583 $as_echo_n "(cached) " >&6
62584 else
62585
62586
62587 ac_ext=cpp
62588 ac_cpp='$CXXCPP $CPPFLAGS'
62589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62592
62593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62594 /* end confdefs.h. */
62595 #include <math.h>
62596 int
62597 main ()
62598 {
62599 frexpf(0, 0);
62600 ;
62601 return 0;
62602 }
62603 _ACEOF
62604 if ac_fn_cxx_try_compile "$LINENO"; then :
62605 glibcxx_cv_func_frexpf_use=yes
62606 else
62607 glibcxx_cv_func_frexpf_use=no
62608 fi
62609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62610 ac_ext=c
62611 ac_cpp='$CPP $CPPFLAGS'
62612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62615
62616
62617 fi
62618
62619 fi
62620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62621 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62622
62623 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62624 for ac_func in frexpf
62625 do :
62626 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62627 if test "x$ac_cv_func_frexpf" = xyes; then :
62628 cat >>confdefs.h <<_ACEOF
62629 #define HAVE_FREXPF 1
62630 _ACEOF
62631
62632 fi
62633 done
62634
62635 else
62636
62637 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62638 $as_echo_n "checking for _frexpf declaration... " >&6; }
62639 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62640 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62641 $as_echo_n "(cached) " >&6
62642 else
62643
62644
62645 ac_ext=cpp
62646 ac_cpp='$CXXCPP $CPPFLAGS'
62647 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62648 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62649 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62650
62651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62652 /* end confdefs.h. */
62653 #include <math.h>
62654 int
62655 main ()
62656 {
62657 _frexpf(0, 0);
62658 ;
62659 return 0;
62660 }
62661 _ACEOF
62662 if ac_fn_cxx_try_compile "$LINENO"; then :
62663 glibcxx_cv_func__frexpf_use=yes
62664 else
62665 glibcxx_cv_func__frexpf_use=no
62666 fi
62667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62668 ac_ext=c
62669 ac_cpp='$CPP $CPPFLAGS'
62670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62673
62674
62675 fi
62676
62677 fi
62678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62679 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62680
62681 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62682 for ac_func in _frexpf
62683 do :
62684 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62685 if test "x$ac_cv_func__frexpf" = xyes; then :
62686 cat >>confdefs.h <<_ACEOF
62687 #define HAVE__FREXPF 1
62688 _ACEOF
62689
62690 fi
62691 done
62692
62693 fi
62694 fi
62695
62696
62697
62698
62699
62700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62701 $as_echo_n "checking for hypotf declaration... " >&6; }
62702 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62703 if ${glibcxx_cv_func_hypotf_use+:} false; then :
62704 $as_echo_n "(cached) " >&6
62705 else
62706
62707
62708 ac_ext=cpp
62709 ac_cpp='$CXXCPP $CPPFLAGS'
62710 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62711 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62712 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62713
62714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62715 /* end confdefs.h. */
62716 #include <math.h>
62717 int
62718 main ()
62719 {
62720 hypotf(0, 0);
62721 ;
62722 return 0;
62723 }
62724 _ACEOF
62725 if ac_fn_cxx_try_compile "$LINENO"; then :
62726 glibcxx_cv_func_hypotf_use=yes
62727 else
62728 glibcxx_cv_func_hypotf_use=no
62729 fi
62730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62731 ac_ext=c
62732 ac_cpp='$CPP $CPPFLAGS'
62733 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62734 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62735 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62736
62737
62738 fi
62739
62740 fi
62741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62742 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62743
62744 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62745 for ac_func in hypotf
62746 do :
62747 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62748 if test "x$ac_cv_func_hypotf" = xyes; then :
62749 cat >>confdefs.h <<_ACEOF
62750 #define HAVE_HYPOTF 1
62751 _ACEOF
62752
62753 fi
62754 done
62755
62756 else
62757
62758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62759 $as_echo_n "checking for _hypotf declaration... " >&6; }
62760 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62761 if ${glibcxx_cv_func__hypotf_use+:} false; then :
62762 $as_echo_n "(cached) " >&6
62763 else
62764
62765
62766 ac_ext=cpp
62767 ac_cpp='$CXXCPP $CPPFLAGS'
62768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62771
62772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62773 /* end confdefs.h. */
62774 #include <math.h>
62775 int
62776 main ()
62777 {
62778 _hypotf(0, 0);
62779 ;
62780 return 0;
62781 }
62782 _ACEOF
62783 if ac_fn_cxx_try_compile "$LINENO"; then :
62784 glibcxx_cv_func__hypotf_use=yes
62785 else
62786 glibcxx_cv_func__hypotf_use=no
62787 fi
62788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62789 ac_ext=c
62790 ac_cpp='$CPP $CPPFLAGS'
62791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62794
62795
62796 fi
62797
62798 fi
62799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62800 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62801
62802 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62803 for ac_func in _hypotf
62804 do :
62805 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62806 if test "x$ac_cv_func__hypotf" = xyes; then :
62807 cat >>confdefs.h <<_ACEOF
62808 #define HAVE__HYPOTF 1
62809 _ACEOF
62810
62811 fi
62812 done
62813
62814 fi
62815 fi
62816
62817
62818
62819
62820
62821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62822 $as_echo_n "checking for ldexpf declaration... " >&6; }
62823 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62824 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
62825 $as_echo_n "(cached) " >&6
62826 else
62827
62828
62829 ac_ext=cpp
62830 ac_cpp='$CXXCPP $CPPFLAGS'
62831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62834
62835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62836 /* end confdefs.h. */
62837 #include <math.h>
62838 int
62839 main ()
62840 {
62841 ldexpf(0, 0);
62842 ;
62843 return 0;
62844 }
62845 _ACEOF
62846 if ac_fn_cxx_try_compile "$LINENO"; then :
62847 glibcxx_cv_func_ldexpf_use=yes
62848 else
62849 glibcxx_cv_func_ldexpf_use=no
62850 fi
62851 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62852 ac_ext=c
62853 ac_cpp='$CPP $CPPFLAGS'
62854 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62855 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62856 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62857
62858
62859 fi
62860
62861 fi
62862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
62863 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
62864
62865 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
62866 for ac_func in ldexpf
62867 do :
62868 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
62869 if test "x$ac_cv_func_ldexpf" = xyes; then :
62870 cat >>confdefs.h <<_ACEOF
62871 #define HAVE_LDEXPF 1
62872 _ACEOF
62873
62874 fi
62875 done
62876
62877 else
62878
62879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
62880 $as_echo_n "checking for _ldexpf declaration... " >&6; }
62881 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
62882 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
62883 $as_echo_n "(cached) " >&6
62884 else
62885
62886
62887 ac_ext=cpp
62888 ac_cpp='$CXXCPP $CPPFLAGS'
62889 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62890 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62891 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62892
62893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62894 /* end confdefs.h. */
62895 #include <math.h>
62896 int
62897 main ()
62898 {
62899 _ldexpf(0, 0);
62900 ;
62901 return 0;
62902 }
62903 _ACEOF
62904 if ac_fn_cxx_try_compile "$LINENO"; then :
62905 glibcxx_cv_func__ldexpf_use=yes
62906 else
62907 glibcxx_cv_func__ldexpf_use=no
62908 fi
62909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62910 ac_ext=c
62911 ac_cpp='$CPP $CPPFLAGS'
62912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62915
62916
62917 fi
62918
62919 fi
62920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
62921 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
62922
62923 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
62924 for ac_func in _ldexpf
62925 do :
62926 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
62927 if test "x$ac_cv_func__ldexpf" = xyes; then :
62928 cat >>confdefs.h <<_ACEOF
62929 #define HAVE__LDEXPF 1
62930 _ACEOF
62931
62932 fi
62933 done
62934
62935 fi
62936 fi
62937
62938
62939
62940
62941
62942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
62943 $as_echo_n "checking for logf declaration... " >&6; }
62944 if test x${glibcxx_cv_func_logf_use+set} != xset; then
62945 if ${glibcxx_cv_func_logf_use+:} false; then :
62946 $as_echo_n "(cached) " >&6
62947 else
62948
62949
62950 ac_ext=cpp
62951 ac_cpp='$CXXCPP $CPPFLAGS'
62952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62955
62956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62957 /* end confdefs.h. */
62958 #include <math.h>
62959 #ifdef HAVE_IEEEFP_H
62960 #include <ieeefp.h>
62961 #endif
62962
62963 int
62964 main ()
62965 {
62966 logf(0);
62967 ;
62968 return 0;
62969 }
62970 _ACEOF
62971 if ac_fn_cxx_try_compile "$LINENO"; then :
62972 glibcxx_cv_func_logf_use=yes
62973 else
62974 glibcxx_cv_func_logf_use=no
62975 fi
62976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62977 ac_ext=c
62978 ac_cpp='$CPP $CPPFLAGS'
62979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62982
62983
62984 fi
62985
62986 fi
62987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
62988 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
62989
62990 if test x$glibcxx_cv_func_logf_use = x"yes"; then
62991 for ac_func in logf
62992 do :
62993 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
62994 if test "x$ac_cv_func_logf" = xyes; then :
62995 cat >>confdefs.h <<_ACEOF
62996 #define HAVE_LOGF 1
62997 _ACEOF
62998
62999 fi
63000 done
63001
63002 else
63003
63004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63005 $as_echo_n "checking for _logf declaration... " >&6; }
63006 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63007 if ${glibcxx_cv_func__logf_use+:} false; then :
63008 $as_echo_n "(cached) " >&6
63009 else
63010
63011
63012 ac_ext=cpp
63013 ac_cpp='$CXXCPP $CPPFLAGS'
63014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63017
63018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63019 /* end confdefs.h. */
63020 #include <math.h>
63021 #ifdef HAVE_IEEEFP_H
63022 #include <ieeefp.h>
63023 #endif
63024
63025 int
63026 main ()
63027 {
63028 _logf(0);
63029 ;
63030 return 0;
63031 }
63032 _ACEOF
63033 if ac_fn_cxx_try_compile "$LINENO"; then :
63034 glibcxx_cv_func__logf_use=yes
63035 else
63036 glibcxx_cv_func__logf_use=no
63037 fi
63038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63039 ac_ext=c
63040 ac_cpp='$CPP $CPPFLAGS'
63041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63044
63045
63046 fi
63047
63048 fi
63049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63050 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63051
63052 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63053 for ac_func in _logf
63054 do :
63055 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63056 if test "x$ac_cv_func__logf" = xyes; then :
63057 cat >>confdefs.h <<_ACEOF
63058 #define HAVE__LOGF 1
63059 _ACEOF
63060
63061 fi
63062 done
63063
63064 fi
63065 fi
63066
63067
63068
63069
63070
63071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63072 $as_echo_n "checking for log10f declaration... " >&6; }
63073 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63074 if ${glibcxx_cv_func_log10f_use+:} false; then :
63075 $as_echo_n "(cached) " >&6
63076 else
63077
63078
63079 ac_ext=cpp
63080 ac_cpp='$CXXCPP $CPPFLAGS'
63081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63084
63085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63086 /* end confdefs.h. */
63087 #include <math.h>
63088 #ifdef HAVE_IEEEFP_H
63089 #include <ieeefp.h>
63090 #endif
63091
63092 int
63093 main ()
63094 {
63095 log10f(0);
63096 ;
63097 return 0;
63098 }
63099 _ACEOF
63100 if ac_fn_cxx_try_compile "$LINENO"; then :
63101 glibcxx_cv_func_log10f_use=yes
63102 else
63103 glibcxx_cv_func_log10f_use=no
63104 fi
63105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63106 ac_ext=c
63107 ac_cpp='$CPP $CPPFLAGS'
63108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63111
63112
63113 fi
63114
63115 fi
63116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63117 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63118
63119 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63120 for ac_func in log10f
63121 do :
63122 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63123 if test "x$ac_cv_func_log10f" = xyes; then :
63124 cat >>confdefs.h <<_ACEOF
63125 #define HAVE_LOG10F 1
63126 _ACEOF
63127
63128 fi
63129 done
63130
63131 else
63132
63133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63134 $as_echo_n "checking for _log10f declaration... " >&6; }
63135 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63136 if ${glibcxx_cv_func__log10f_use+:} false; then :
63137 $as_echo_n "(cached) " >&6
63138 else
63139
63140
63141 ac_ext=cpp
63142 ac_cpp='$CXXCPP $CPPFLAGS'
63143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63146
63147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63148 /* end confdefs.h. */
63149 #include <math.h>
63150 #ifdef HAVE_IEEEFP_H
63151 #include <ieeefp.h>
63152 #endif
63153
63154 int
63155 main ()
63156 {
63157 _log10f(0);
63158 ;
63159 return 0;
63160 }
63161 _ACEOF
63162 if ac_fn_cxx_try_compile "$LINENO"; then :
63163 glibcxx_cv_func__log10f_use=yes
63164 else
63165 glibcxx_cv_func__log10f_use=no
63166 fi
63167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63168 ac_ext=c
63169 ac_cpp='$CPP $CPPFLAGS'
63170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63173
63174
63175 fi
63176
63177 fi
63178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63179 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63180
63181 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63182 for ac_func in _log10f
63183 do :
63184 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63185 if test "x$ac_cv_func__log10f" = xyes; then :
63186 cat >>confdefs.h <<_ACEOF
63187 #define HAVE__LOG10F 1
63188 _ACEOF
63189
63190 fi
63191 done
63192
63193 fi
63194 fi
63195
63196
63197
63198
63199
63200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63201 $as_echo_n "checking for modff declaration... " >&6; }
63202 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63203 if ${glibcxx_cv_func_modff_use+:} false; then :
63204 $as_echo_n "(cached) " >&6
63205 else
63206
63207
63208 ac_ext=cpp
63209 ac_cpp='$CXXCPP $CPPFLAGS'
63210 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63211 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63212 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63213
63214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63215 /* end confdefs.h. */
63216 #include <math.h>
63217 int
63218 main ()
63219 {
63220 modff(0, 0);
63221 ;
63222 return 0;
63223 }
63224 _ACEOF
63225 if ac_fn_cxx_try_compile "$LINENO"; then :
63226 glibcxx_cv_func_modff_use=yes
63227 else
63228 glibcxx_cv_func_modff_use=no
63229 fi
63230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63231 ac_ext=c
63232 ac_cpp='$CPP $CPPFLAGS'
63233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63236
63237
63238 fi
63239
63240 fi
63241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63242 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63243
63244 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63245 for ac_func in modff
63246 do :
63247 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63248 if test "x$ac_cv_func_modff" = xyes; then :
63249 cat >>confdefs.h <<_ACEOF
63250 #define HAVE_MODFF 1
63251 _ACEOF
63252
63253 fi
63254 done
63255
63256 else
63257
63258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63259 $as_echo_n "checking for _modff declaration... " >&6; }
63260 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63261 if ${glibcxx_cv_func__modff_use+:} false; then :
63262 $as_echo_n "(cached) " >&6
63263 else
63264
63265
63266 ac_ext=cpp
63267 ac_cpp='$CXXCPP $CPPFLAGS'
63268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63271
63272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63273 /* end confdefs.h. */
63274 #include <math.h>
63275 int
63276 main ()
63277 {
63278 _modff(0, 0);
63279 ;
63280 return 0;
63281 }
63282 _ACEOF
63283 if ac_fn_cxx_try_compile "$LINENO"; then :
63284 glibcxx_cv_func__modff_use=yes
63285 else
63286 glibcxx_cv_func__modff_use=no
63287 fi
63288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63289 ac_ext=c
63290 ac_cpp='$CPP $CPPFLAGS'
63291 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63292 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63293 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63294
63295
63296 fi
63297
63298 fi
63299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63300 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63301
63302 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63303 for ac_func in _modff
63304 do :
63305 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63306 if test "x$ac_cv_func__modff" = xyes; then :
63307 cat >>confdefs.h <<_ACEOF
63308 #define HAVE__MODFF 1
63309 _ACEOF
63310
63311 fi
63312 done
63313
63314 fi
63315 fi
63316
63317
63318
63319
63320
63321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63322 $as_echo_n "checking for modf declaration... " >&6; }
63323 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63324 if ${glibcxx_cv_func_modf_use+:} false; then :
63325 $as_echo_n "(cached) " >&6
63326 else
63327
63328
63329 ac_ext=cpp
63330 ac_cpp='$CXXCPP $CPPFLAGS'
63331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63334
63335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63336 /* end confdefs.h. */
63337 #include <math.h>
63338 int
63339 main ()
63340 {
63341 modf(0, 0);
63342 ;
63343 return 0;
63344 }
63345 _ACEOF
63346 if ac_fn_cxx_try_compile "$LINENO"; then :
63347 glibcxx_cv_func_modf_use=yes
63348 else
63349 glibcxx_cv_func_modf_use=no
63350 fi
63351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63352 ac_ext=c
63353 ac_cpp='$CPP $CPPFLAGS'
63354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63357
63358
63359 fi
63360
63361 fi
63362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63363 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63364
63365 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63366 for ac_func in modf
63367 do :
63368 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63369 if test "x$ac_cv_func_modf" = xyes; then :
63370 cat >>confdefs.h <<_ACEOF
63371 #define HAVE_MODF 1
63372 _ACEOF
63373
63374 fi
63375 done
63376
63377 else
63378
63379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63380 $as_echo_n "checking for _modf declaration... " >&6; }
63381 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63382 if ${glibcxx_cv_func__modf_use+:} false; then :
63383 $as_echo_n "(cached) " >&6
63384 else
63385
63386
63387 ac_ext=cpp
63388 ac_cpp='$CXXCPP $CPPFLAGS'
63389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63392
63393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63394 /* end confdefs.h. */
63395 #include <math.h>
63396 int
63397 main ()
63398 {
63399 _modf(0, 0);
63400 ;
63401 return 0;
63402 }
63403 _ACEOF
63404 if ac_fn_cxx_try_compile "$LINENO"; then :
63405 glibcxx_cv_func__modf_use=yes
63406 else
63407 glibcxx_cv_func__modf_use=no
63408 fi
63409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63410 ac_ext=c
63411 ac_cpp='$CPP $CPPFLAGS'
63412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63415
63416
63417 fi
63418
63419 fi
63420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63421 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63422
63423 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63424 for ac_func in _modf
63425 do :
63426 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63427 if test "x$ac_cv_func__modf" = xyes; then :
63428 cat >>confdefs.h <<_ACEOF
63429 #define HAVE__MODF 1
63430 _ACEOF
63431
63432 fi
63433 done
63434
63435 fi
63436 fi
63437
63438
63439
63440
63441
63442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63443 $as_echo_n "checking for powf declaration... " >&6; }
63444 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63445 if ${glibcxx_cv_func_powf_use+:} false; then :
63446 $as_echo_n "(cached) " >&6
63447 else
63448
63449
63450 ac_ext=cpp
63451 ac_cpp='$CXXCPP $CPPFLAGS'
63452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63455
63456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63457 /* end confdefs.h. */
63458 #include <math.h>
63459 int
63460 main ()
63461 {
63462 powf(0, 0);
63463 ;
63464 return 0;
63465 }
63466 _ACEOF
63467 if ac_fn_cxx_try_compile "$LINENO"; then :
63468 glibcxx_cv_func_powf_use=yes
63469 else
63470 glibcxx_cv_func_powf_use=no
63471 fi
63472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63473 ac_ext=c
63474 ac_cpp='$CPP $CPPFLAGS'
63475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63478
63479
63480 fi
63481
63482 fi
63483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63484 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63485
63486 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63487 for ac_func in powf
63488 do :
63489 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63490 if test "x$ac_cv_func_powf" = xyes; then :
63491 cat >>confdefs.h <<_ACEOF
63492 #define HAVE_POWF 1
63493 _ACEOF
63494
63495 fi
63496 done
63497
63498 else
63499
63500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63501 $as_echo_n "checking for _powf declaration... " >&6; }
63502 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63503 if ${glibcxx_cv_func__powf_use+:} false; then :
63504 $as_echo_n "(cached) " >&6
63505 else
63506
63507
63508 ac_ext=cpp
63509 ac_cpp='$CXXCPP $CPPFLAGS'
63510 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63511 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63512 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63513
63514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63515 /* end confdefs.h. */
63516 #include <math.h>
63517 int
63518 main ()
63519 {
63520 _powf(0, 0);
63521 ;
63522 return 0;
63523 }
63524 _ACEOF
63525 if ac_fn_cxx_try_compile "$LINENO"; then :
63526 glibcxx_cv_func__powf_use=yes
63527 else
63528 glibcxx_cv_func__powf_use=no
63529 fi
63530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63531 ac_ext=c
63532 ac_cpp='$CPP $CPPFLAGS'
63533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63536
63537
63538 fi
63539
63540 fi
63541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63542 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63543
63544 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63545 for ac_func in _powf
63546 do :
63547 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63548 if test "x$ac_cv_func__powf" = xyes; then :
63549 cat >>confdefs.h <<_ACEOF
63550 #define HAVE__POWF 1
63551 _ACEOF
63552
63553 fi
63554 done
63555
63556 fi
63557 fi
63558
63559
63560
63561
63562
63563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63564 $as_echo_n "checking for sqrtf declaration... " >&6; }
63565 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63566 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63567 $as_echo_n "(cached) " >&6
63568 else
63569
63570
63571 ac_ext=cpp
63572 ac_cpp='$CXXCPP $CPPFLAGS'
63573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63576
63577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63578 /* end confdefs.h. */
63579 #include <math.h>
63580 #ifdef HAVE_IEEEFP_H
63581 #include <ieeefp.h>
63582 #endif
63583
63584 int
63585 main ()
63586 {
63587 sqrtf(0);
63588 ;
63589 return 0;
63590 }
63591 _ACEOF
63592 if ac_fn_cxx_try_compile "$LINENO"; then :
63593 glibcxx_cv_func_sqrtf_use=yes
63594 else
63595 glibcxx_cv_func_sqrtf_use=no
63596 fi
63597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63598 ac_ext=c
63599 ac_cpp='$CPP $CPPFLAGS'
63600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63603
63604
63605 fi
63606
63607 fi
63608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63609 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63610
63611 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63612 for ac_func in sqrtf
63613 do :
63614 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63615 if test "x$ac_cv_func_sqrtf" = xyes; then :
63616 cat >>confdefs.h <<_ACEOF
63617 #define HAVE_SQRTF 1
63618 _ACEOF
63619
63620 fi
63621 done
63622
63623 else
63624
63625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63626 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63627 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63628 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63629 $as_echo_n "(cached) " >&6
63630 else
63631
63632
63633 ac_ext=cpp
63634 ac_cpp='$CXXCPP $CPPFLAGS'
63635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63638
63639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63640 /* end confdefs.h. */
63641 #include <math.h>
63642 #ifdef HAVE_IEEEFP_H
63643 #include <ieeefp.h>
63644 #endif
63645
63646 int
63647 main ()
63648 {
63649 _sqrtf(0);
63650 ;
63651 return 0;
63652 }
63653 _ACEOF
63654 if ac_fn_cxx_try_compile "$LINENO"; then :
63655 glibcxx_cv_func__sqrtf_use=yes
63656 else
63657 glibcxx_cv_func__sqrtf_use=no
63658 fi
63659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63660 ac_ext=c
63661 ac_cpp='$CPP $CPPFLAGS'
63662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63665
63666
63667 fi
63668
63669 fi
63670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63671 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63672
63673 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63674 for ac_func in _sqrtf
63675 do :
63676 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63677 if test "x$ac_cv_func__sqrtf" = xyes; then :
63678 cat >>confdefs.h <<_ACEOF
63679 #define HAVE__SQRTF 1
63680 _ACEOF
63681
63682 fi
63683 done
63684
63685 fi
63686 fi
63687
63688
63689
63690
63691
63692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63693 $as_echo_n "checking for sincosf declaration... " >&6; }
63694 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63695 if ${glibcxx_cv_func_sincosf_use+:} false; then :
63696 $as_echo_n "(cached) " >&6
63697 else
63698
63699
63700 ac_ext=cpp
63701 ac_cpp='$CXXCPP $CPPFLAGS'
63702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63705
63706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63707 /* end confdefs.h. */
63708 #include <math.h>
63709 int
63710 main ()
63711 {
63712 sincosf(0, 0, 0);
63713 ;
63714 return 0;
63715 }
63716 _ACEOF
63717 if ac_fn_cxx_try_compile "$LINENO"; then :
63718 glibcxx_cv_func_sincosf_use=yes
63719 else
63720 glibcxx_cv_func_sincosf_use=no
63721 fi
63722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63723 ac_ext=c
63724 ac_cpp='$CPP $CPPFLAGS'
63725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63728
63729
63730 fi
63731
63732 fi
63733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63734 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63735
63736 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63737 for ac_func in sincosf
63738 do :
63739 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63740 if test "x$ac_cv_func_sincosf" = xyes; then :
63741 cat >>confdefs.h <<_ACEOF
63742 #define HAVE_SINCOSF 1
63743 _ACEOF
63744
63745 fi
63746 done
63747
63748 else
63749
63750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63751 $as_echo_n "checking for _sincosf declaration... " >&6; }
63752 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63753 if ${glibcxx_cv_func__sincosf_use+:} false; then :
63754 $as_echo_n "(cached) " >&6
63755 else
63756
63757
63758 ac_ext=cpp
63759 ac_cpp='$CXXCPP $CPPFLAGS'
63760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63763
63764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63765 /* end confdefs.h. */
63766 #include <math.h>
63767 int
63768 main ()
63769 {
63770 _sincosf(0, 0, 0);
63771 ;
63772 return 0;
63773 }
63774 _ACEOF
63775 if ac_fn_cxx_try_compile "$LINENO"; then :
63776 glibcxx_cv_func__sincosf_use=yes
63777 else
63778 glibcxx_cv_func__sincosf_use=no
63779 fi
63780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63781 ac_ext=c
63782 ac_cpp='$CPP $CPPFLAGS'
63783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63786
63787
63788 fi
63789
63790 fi
63791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63792 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63793
63794 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63795 for ac_func in _sincosf
63796 do :
63797 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63798 if test "x$ac_cv_func__sincosf" = xyes; then :
63799 cat >>confdefs.h <<_ACEOF
63800 #define HAVE__SINCOSF 1
63801 _ACEOF
63802
63803 fi
63804 done
63805
63806 fi
63807 fi
63808
63809
63810
63811
63812
63813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63814 $as_echo_n "checking for finitef declaration... " >&6; }
63815 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63816 if ${glibcxx_cv_func_finitef_use+:} false; then :
63817 $as_echo_n "(cached) " >&6
63818 else
63819
63820
63821 ac_ext=cpp
63822 ac_cpp='$CXXCPP $CPPFLAGS'
63823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63826
63827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63828 /* end confdefs.h. */
63829 #include <math.h>
63830 #ifdef HAVE_IEEEFP_H
63831 #include <ieeefp.h>
63832 #endif
63833
63834 int
63835 main ()
63836 {
63837 finitef(0);
63838 ;
63839 return 0;
63840 }
63841 _ACEOF
63842 if ac_fn_cxx_try_compile "$LINENO"; then :
63843 glibcxx_cv_func_finitef_use=yes
63844 else
63845 glibcxx_cv_func_finitef_use=no
63846 fi
63847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63848 ac_ext=c
63849 ac_cpp='$CPP $CPPFLAGS'
63850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63853
63854
63855 fi
63856
63857 fi
63858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
63859 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
63860
63861 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
63862 for ac_func in finitef
63863 do :
63864 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
63865 if test "x$ac_cv_func_finitef" = xyes; then :
63866 cat >>confdefs.h <<_ACEOF
63867 #define HAVE_FINITEF 1
63868 _ACEOF
63869
63870 fi
63871 done
63872
63873 else
63874
63875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
63876 $as_echo_n "checking for _finitef declaration... " >&6; }
63877 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
63878 if ${glibcxx_cv_func__finitef_use+:} false; then :
63879 $as_echo_n "(cached) " >&6
63880 else
63881
63882
63883 ac_ext=cpp
63884 ac_cpp='$CXXCPP $CPPFLAGS'
63885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63888
63889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63890 /* end confdefs.h. */
63891 #include <math.h>
63892 #ifdef HAVE_IEEEFP_H
63893 #include <ieeefp.h>
63894 #endif
63895
63896 int
63897 main ()
63898 {
63899 _finitef(0);
63900 ;
63901 return 0;
63902 }
63903 _ACEOF
63904 if ac_fn_cxx_try_compile "$LINENO"; then :
63905 glibcxx_cv_func__finitef_use=yes
63906 else
63907 glibcxx_cv_func__finitef_use=no
63908 fi
63909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63910 ac_ext=c
63911 ac_cpp='$CPP $CPPFLAGS'
63912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63915
63916
63917 fi
63918
63919 fi
63920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
63921 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
63922
63923 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
63924 for ac_func in _finitef
63925 do :
63926 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
63927 if test "x$ac_cv_func__finitef" = xyes; then :
63928 cat >>confdefs.h <<_ACEOF
63929 #define HAVE__FINITEF 1
63930 _ACEOF
63931
63932 fi
63933 done
63934
63935 fi
63936 fi
63937
63938
63939
63940
63941
63942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
63943 $as_echo_n "checking for long double trig functions... " >&6; }
63944 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
63945 $as_echo_n "(cached) " >&6
63946 else
63947
63948
63949 ac_ext=cpp
63950 ac_cpp='$CXXCPP $CPPFLAGS'
63951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63954
63955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63956 /* end confdefs.h. */
63957 #include <math.h>
63958 int
63959 main ()
63960 {
63961 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
63962 ;
63963 return 0;
63964 }
63965 _ACEOF
63966 if ac_fn_cxx_try_compile "$LINENO"; then :
63967 glibcxx_cv_func_long_double_trig_use=yes
63968 else
63969 glibcxx_cv_func_long_double_trig_use=no
63970 fi
63971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63972 ac_ext=c
63973 ac_cpp='$CPP $CPPFLAGS'
63974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63977
63978 fi
63979
63980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
63981 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
63982 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
63983 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
63984 do :
63985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
63986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
63987 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
63988 cat >>confdefs.h <<_ACEOF
63989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
63990 _ACEOF
63991
63992 fi
63993 done
63994
63995 else
63996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
63997 $as_echo_n "checking for _long double trig functions... " >&6; }
63998 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
63999 $as_echo_n "(cached) " >&6
64000 else
64001
64002
64003 ac_ext=cpp
64004 ac_cpp='$CXXCPP $CPPFLAGS'
64005 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64006 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64007 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64008
64009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64010 /* end confdefs.h. */
64011 #include <math.h>
64012 int
64013 main ()
64014 {
64015 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64016 ;
64017 return 0;
64018 }
64019 _ACEOF
64020 if ac_fn_cxx_try_compile "$LINENO"; then :
64021 glibcxx_cv_func__long_double_trig_use=yes
64022 else
64023 glibcxx_cv_func__long_double_trig_use=no
64024 fi
64025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64026 ac_ext=c
64027 ac_cpp='$CPP $CPPFLAGS'
64028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64031
64032 fi
64033
64034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64035 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64036 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64037 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64038 do :
64039 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64041 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64042 cat >>confdefs.h <<_ACEOF
64043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64044 _ACEOF
64045
64046 fi
64047 done
64048
64049 fi
64050 fi
64051
64052
64053
64054
64055
64056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64057 $as_echo_n "checking for long double round functions... " >&6; }
64058 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64059 $as_echo_n "(cached) " >&6
64060 else
64061
64062
64063 ac_ext=cpp
64064 ac_cpp='$CXXCPP $CPPFLAGS'
64065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64068
64069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64070 /* end confdefs.h. */
64071 #include <math.h>
64072 int
64073 main ()
64074 {
64075 ceill (0); floorl (0);
64076 ;
64077 return 0;
64078 }
64079 _ACEOF
64080 if ac_fn_cxx_try_compile "$LINENO"; then :
64081 glibcxx_cv_func_long_double_round_use=yes
64082 else
64083 glibcxx_cv_func_long_double_round_use=no
64084 fi
64085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64086 ac_ext=c
64087 ac_cpp='$CPP $CPPFLAGS'
64088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64091
64092 fi
64093
64094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64095 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64096 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64097 for ac_func in ceill floorl
64098 do :
64099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64101 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64102 cat >>confdefs.h <<_ACEOF
64103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64104 _ACEOF
64105
64106 fi
64107 done
64108
64109 else
64110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64111 $as_echo_n "checking for _long double round functions... " >&6; }
64112 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64113 $as_echo_n "(cached) " >&6
64114 else
64115
64116
64117 ac_ext=cpp
64118 ac_cpp='$CXXCPP $CPPFLAGS'
64119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64122
64123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64124 /* end confdefs.h. */
64125 #include <math.h>
64126 int
64127 main ()
64128 {
64129 _ceill (0); _floorl (0);
64130 ;
64131 return 0;
64132 }
64133 _ACEOF
64134 if ac_fn_cxx_try_compile "$LINENO"; then :
64135 glibcxx_cv_func__long_double_round_use=yes
64136 else
64137 glibcxx_cv_func__long_double_round_use=no
64138 fi
64139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64140 ac_ext=c
64141 ac_cpp='$CPP $CPPFLAGS'
64142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64145
64146 fi
64147
64148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64149 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64150 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64151 for ac_func in _ceill _floorl
64152 do :
64153 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64154 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64155 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64156 cat >>confdefs.h <<_ACEOF
64157 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64158 _ACEOF
64159
64160 fi
64161 done
64162
64163 fi
64164 fi
64165
64166
64167
64168
64169
64170
64171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64172 $as_echo_n "checking for isnanl declaration... " >&6; }
64173 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64174 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64175 $as_echo_n "(cached) " >&6
64176 else
64177
64178
64179 ac_ext=cpp
64180 ac_cpp='$CXXCPP $CPPFLAGS'
64181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64184
64185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64186 /* end confdefs.h. */
64187 #include <math.h>
64188 #ifdef HAVE_IEEEFP_H
64189 #include <ieeefp.h>
64190 #endif
64191
64192 int
64193 main ()
64194 {
64195 isnanl(0);
64196 ;
64197 return 0;
64198 }
64199 _ACEOF
64200 if ac_fn_cxx_try_compile "$LINENO"; then :
64201 glibcxx_cv_func_isnanl_use=yes
64202 else
64203 glibcxx_cv_func_isnanl_use=no
64204 fi
64205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64206 ac_ext=c
64207 ac_cpp='$CPP $CPPFLAGS'
64208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64211
64212
64213 fi
64214
64215 fi
64216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64217 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64218
64219 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64220 for ac_func in isnanl
64221 do :
64222 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64223 if test "x$ac_cv_func_isnanl" = xyes; then :
64224 cat >>confdefs.h <<_ACEOF
64225 #define HAVE_ISNANL 1
64226 _ACEOF
64227
64228 fi
64229 done
64230
64231 else
64232
64233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64234 $as_echo_n "checking for _isnanl declaration... " >&6; }
64235 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64236 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64237 $as_echo_n "(cached) " >&6
64238 else
64239
64240
64241 ac_ext=cpp
64242 ac_cpp='$CXXCPP $CPPFLAGS'
64243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64246
64247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64248 /* end confdefs.h. */
64249 #include <math.h>
64250 #ifdef HAVE_IEEEFP_H
64251 #include <ieeefp.h>
64252 #endif
64253
64254 int
64255 main ()
64256 {
64257 _isnanl(0);
64258 ;
64259 return 0;
64260 }
64261 _ACEOF
64262 if ac_fn_cxx_try_compile "$LINENO"; then :
64263 glibcxx_cv_func__isnanl_use=yes
64264 else
64265 glibcxx_cv_func__isnanl_use=no
64266 fi
64267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64268 ac_ext=c
64269 ac_cpp='$CPP $CPPFLAGS'
64270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64273
64274
64275 fi
64276
64277 fi
64278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64279 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64280
64281 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64282 for ac_func in _isnanl
64283 do :
64284 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64285 if test "x$ac_cv_func__isnanl" = xyes; then :
64286 cat >>confdefs.h <<_ACEOF
64287 #define HAVE__ISNANL 1
64288 _ACEOF
64289
64290 fi
64291 done
64292
64293 fi
64294 fi
64295
64296
64297
64298
64299
64300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64301 $as_echo_n "checking for isinfl declaration... " >&6; }
64302 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64303 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64304 $as_echo_n "(cached) " >&6
64305 else
64306
64307
64308 ac_ext=cpp
64309 ac_cpp='$CXXCPP $CPPFLAGS'
64310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64313
64314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64315 /* end confdefs.h. */
64316 #include <math.h>
64317 #ifdef HAVE_IEEEFP_H
64318 #include <ieeefp.h>
64319 #endif
64320
64321 int
64322 main ()
64323 {
64324 isinfl(0);
64325 ;
64326 return 0;
64327 }
64328 _ACEOF
64329 if ac_fn_cxx_try_compile "$LINENO"; then :
64330 glibcxx_cv_func_isinfl_use=yes
64331 else
64332 glibcxx_cv_func_isinfl_use=no
64333 fi
64334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64335 ac_ext=c
64336 ac_cpp='$CPP $CPPFLAGS'
64337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64340
64341
64342 fi
64343
64344 fi
64345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64346 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64347
64348 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64349 for ac_func in isinfl
64350 do :
64351 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64352 if test "x$ac_cv_func_isinfl" = xyes; then :
64353 cat >>confdefs.h <<_ACEOF
64354 #define HAVE_ISINFL 1
64355 _ACEOF
64356
64357 fi
64358 done
64359
64360 else
64361
64362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64363 $as_echo_n "checking for _isinfl declaration... " >&6; }
64364 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64365 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64366 $as_echo_n "(cached) " >&6
64367 else
64368
64369
64370 ac_ext=cpp
64371 ac_cpp='$CXXCPP $CPPFLAGS'
64372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64375
64376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64377 /* end confdefs.h. */
64378 #include <math.h>
64379 #ifdef HAVE_IEEEFP_H
64380 #include <ieeefp.h>
64381 #endif
64382
64383 int
64384 main ()
64385 {
64386 _isinfl(0);
64387 ;
64388 return 0;
64389 }
64390 _ACEOF
64391 if ac_fn_cxx_try_compile "$LINENO"; then :
64392 glibcxx_cv_func__isinfl_use=yes
64393 else
64394 glibcxx_cv_func__isinfl_use=no
64395 fi
64396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64397 ac_ext=c
64398 ac_cpp='$CPP $CPPFLAGS'
64399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64402
64403
64404 fi
64405
64406 fi
64407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64408 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64409
64410 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64411 for ac_func in _isinfl
64412 do :
64413 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64414 if test "x$ac_cv_func__isinfl" = xyes; then :
64415 cat >>confdefs.h <<_ACEOF
64416 #define HAVE__ISINFL 1
64417 _ACEOF
64418
64419 fi
64420 done
64421
64422 fi
64423 fi
64424
64425
64426
64427
64428
64429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64430 $as_echo_n "checking for atan2l declaration... " >&6; }
64431 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64432 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64433 $as_echo_n "(cached) " >&6
64434 else
64435
64436
64437 ac_ext=cpp
64438 ac_cpp='$CXXCPP $CPPFLAGS'
64439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64442
64443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64444 /* end confdefs.h. */
64445 #include <math.h>
64446 int
64447 main ()
64448 {
64449 atan2l(0, 0);
64450 ;
64451 return 0;
64452 }
64453 _ACEOF
64454 if ac_fn_cxx_try_compile "$LINENO"; then :
64455 glibcxx_cv_func_atan2l_use=yes
64456 else
64457 glibcxx_cv_func_atan2l_use=no
64458 fi
64459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64460 ac_ext=c
64461 ac_cpp='$CPP $CPPFLAGS'
64462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64465
64466
64467 fi
64468
64469 fi
64470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64471 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64472
64473 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64474 for ac_func in atan2l
64475 do :
64476 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64477 if test "x$ac_cv_func_atan2l" = xyes; then :
64478 cat >>confdefs.h <<_ACEOF
64479 #define HAVE_ATAN2L 1
64480 _ACEOF
64481
64482 fi
64483 done
64484
64485 else
64486
64487 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64488 $as_echo_n "checking for _atan2l declaration... " >&6; }
64489 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64490 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64491 $as_echo_n "(cached) " >&6
64492 else
64493
64494
64495 ac_ext=cpp
64496 ac_cpp='$CXXCPP $CPPFLAGS'
64497 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64498 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64499 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64500
64501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64502 /* end confdefs.h. */
64503 #include <math.h>
64504 int
64505 main ()
64506 {
64507 _atan2l(0, 0);
64508 ;
64509 return 0;
64510 }
64511 _ACEOF
64512 if ac_fn_cxx_try_compile "$LINENO"; then :
64513 glibcxx_cv_func__atan2l_use=yes
64514 else
64515 glibcxx_cv_func__atan2l_use=no
64516 fi
64517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64518 ac_ext=c
64519 ac_cpp='$CPP $CPPFLAGS'
64520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64523
64524
64525 fi
64526
64527 fi
64528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64529 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64530
64531 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64532 for ac_func in _atan2l
64533 do :
64534 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64535 if test "x$ac_cv_func__atan2l" = xyes; then :
64536 cat >>confdefs.h <<_ACEOF
64537 #define HAVE__ATAN2L 1
64538 _ACEOF
64539
64540 fi
64541 done
64542
64543 fi
64544 fi
64545
64546
64547
64548
64549
64550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64551 $as_echo_n "checking for expl declaration... " >&6; }
64552 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64553 if ${glibcxx_cv_func_expl_use+:} false; then :
64554 $as_echo_n "(cached) " >&6
64555 else
64556
64557
64558 ac_ext=cpp
64559 ac_cpp='$CXXCPP $CPPFLAGS'
64560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64563
64564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64565 /* end confdefs.h. */
64566 #include <math.h>
64567 #ifdef HAVE_IEEEFP_H
64568 #include <ieeefp.h>
64569 #endif
64570
64571 int
64572 main ()
64573 {
64574 expl(0);
64575 ;
64576 return 0;
64577 }
64578 _ACEOF
64579 if ac_fn_cxx_try_compile "$LINENO"; then :
64580 glibcxx_cv_func_expl_use=yes
64581 else
64582 glibcxx_cv_func_expl_use=no
64583 fi
64584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64585 ac_ext=c
64586 ac_cpp='$CPP $CPPFLAGS'
64587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64590
64591
64592 fi
64593
64594 fi
64595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64596 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64597
64598 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64599 for ac_func in expl
64600 do :
64601 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64602 if test "x$ac_cv_func_expl" = xyes; then :
64603 cat >>confdefs.h <<_ACEOF
64604 #define HAVE_EXPL 1
64605 _ACEOF
64606
64607 fi
64608 done
64609
64610 else
64611
64612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64613 $as_echo_n "checking for _expl declaration... " >&6; }
64614 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64615 if ${glibcxx_cv_func__expl_use+:} false; then :
64616 $as_echo_n "(cached) " >&6
64617 else
64618
64619
64620 ac_ext=cpp
64621 ac_cpp='$CXXCPP $CPPFLAGS'
64622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64625
64626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64627 /* end confdefs.h. */
64628 #include <math.h>
64629 #ifdef HAVE_IEEEFP_H
64630 #include <ieeefp.h>
64631 #endif
64632
64633 int
64634 main ()
64635 {
64636 _expl(0);
64637 ;
64638 return 0;
64639 }
64640 _ACEOF
64641 if ac_fn_cxx_try_compile "$LINENO"; then :
64642 glibcxx_cv_func__expl_use=yes
64643 else
64644 glibcxx_cv_func__expl_use=no
64645 fi
64646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64647 ac_ext=c
64648 ac_cpp='$CPP $CPPFLAGS'
64649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64652
64653
64654 fi
64655
64656 fi
64657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64658 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64659
64660 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64661 for ac_func in _expl
64662 do :
64663 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64664 if test "x$ac_cv_func__expl" = xyes; then :
64665 cat >>confdefs.h <<_ACEOF
64666 #define HAVE__EXPL 1
64667 _ACEOF
64668
64669 fi
64670 done
64671
64672 fi
64673 fi
64674
64675
64676
64677
64678
64679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64680 $as_echo_n "checking for fabsl declaration... " >&6; }
64681 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64682 if ${glibcxx_cv_func_fabsl_use+:} false; then :
64683 $as_echo_n "(cached) " >&6
64684 else
64685
64686
64687 ac_ext=cpp
64688 ac_cpp='$CXXCPP $CPPFLAGS'
64689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64692
64693 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64694 /* end confdefs.h. */
64695 #include <math.h>
64696 #ifdef HAVE_IEEEFP_H
64697 #include <ieeefp.h>
64698 #endif
64699
64700 int
64701 main ()
64702 {
64703 fabsl(0);
64704 ;
64705 return 0;
64706 }
64707 _ACEOF
64708 if ac_fn_cxx_try_compile "$LINENO"; then :
64709 glibcxx_cv_func_fabsl_use=yes
64710 else
64711 glibcxx_cv_func_fabsl_use=no
64712 fi
64713 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64714 ac_ext=c
64715 ac_cpp='$CPP $CPPFLAGS'
64716 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64717 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64718 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64719
64720
64721 fi
64722
64723 fi
64724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64725 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64726
64727 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64728 for ac_func in fabsl
64729 do :
64730 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64731 if test "x$ac_cv_func_fabsl" = xyes; then :
64732 cat >>confdefs.h <<_ACEOF
64733 #define HAVE_FABSL 1
64734 _ACEOF
64735
64736 fi
64737 done
64738
64739 else
64740
64741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64742 $as_echo_n "checking for _fabsl declaration... " >&6; }
64743 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64744 if ${glibcxx_cv_func__fabsl_use+:} false; then :
64745 $as_echo_n "(cached) " >&6
64746 else
64747
64748
64749 ac_ext=cpp
64750 ac_cpp='$CXXCPP $CPPFLAGS'
64751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64754
64755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64756 /* end confdefs.h. */
64757 #include <math.h>
64758 #ifdef HAVE_IEEEFP_H
64759 #include <ieeefp.h>
64760 #endif
64761
64762 int
64763 main ()
64764 {
64765 _fabsl(0);
64766 ;
64767 return 0;
64768 }
64769 _ACEOF
64770 if ac_fn_cxx_try_compile "$LINENO"; then :
64771 glibcxx_cv_func__fabsl_use=yes
64772 else
64773 glibcxx_cv_func__fabsl_use=no
64774 fi
64775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64776 ac_ext=c
64777 ac_cpp='$CPP $CPPFLAGS'
64778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64781
64782
64783 fi
64784
64785 fi
64786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64787 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64788
64789 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64790 for ac_func in _fabsl
64791 do :
64792 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64793 if test "x$ac_cv_func__fabsl" = xyes; then :
64794 cat >>confdefs.h <<_ACEOF
64795 #define HAVE__FABSL 1
64796 _ACEOF
64797
64798 fi
64799 done
64800
64801 fi
64802 fi
64803
64804
64805
64806
64807
64808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64809 $as_echo_n "checking for fmodl declaration... " >&6; }
64810 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64811 if ${glibcxx_cv_func_fmodl_use+:} false; then :
64812 $as_echo_n "(cached) " >&6
64813 else
64814
64815
64816 ac_ext=cpp
64817 ac_cpp='$CXXCPP $CPPFLAGS'
64818 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64819 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64820 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64821
64822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64823 /* end confdefs.h. */
64824 #include <math.h>
64825 int
64826 main ()
64827 {
64828 fmodl(0, 0);
64829 ;
64830 return 0;
64831 }
64832 _ACEOF
64833 if ac_fn_cxx_try_compile "$LINENO"; then :
64834 glibcxx_cv_func_fmodl_use=yes
64835 else
64836 glibcxx_cv_func_fmodl_use=no
64837 fi
64838 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64839 ac_ext=c
64840 ac_cpp='$CPP $CPPFLAGS'
64841 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64842 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64843 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64844
64845
64846 fi
64847
64848 fi
64849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64850 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64851
64852 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64853 for ac_func in fmodl
64854 do :
64855 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64856 if test "x$ac_cv_func_fmodl" = xyes; then :
64857 cat >>confdefs.h <<_ACEOF
64858 #define HAVE_FMODL 1
64859 _ACEOF
64860
64861 fi
64862 done
64863
64864 else
64865
64866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
64867 $as_echo_n "checking for _fmodl declaration... " >&6; }
64868 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
64869 if ${glibcxx_cv_func__fmodl_use+:} false; then :
64870 $as_echo_n "(cached) " >&6
64871 else
64872
64873
64874 ac_ext=cpp
64875 ac_cpp='$CXXCPP $CPPFLAGS'
64876 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64877 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64878 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64879
64880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64881 /* end confdefs.h. */
64882 #include <math.h>
64883 int
64884 main ()
64885 {
64886 _fmodl(0, 0);
64887 ;
64888 return 0;
64889 }
64890 _ACEOF
64891 if ac_fn_cxx_try_compile "$LINENO"; then :
64892 glibcxx_cv_func__fmodl_use=yes
64893 else
64894 glibcxx_cv_func__fmodl_use=no
64895 fi
64896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64897 ac_ext=c
64898 ac_cpp='$CPP $CPPFLAGS'
64899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64902
64903
64904 fi
64905
64906 fi
64907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
64908 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
64909
64910 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
64911 for ac_func in _fmodl
64912 do :
64913 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
64914 if test "x$ac_cv_func__fmodl" = xyes; then :
64915 cat >>confdefs.h <<_ACEOF
64916 #define HAVE__FMODL 1
64917 _ACEOF
64918
64919 fi
64920 done
64921
64922 fi
64923 fi
64924
64925
64926
64927
64928
64929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
64930 $as_echo_n "checking for frexpl declaration... " >&6; }
64931 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
64932 if ${glibcxx_cv_func_frexpl_use+:} false; then :
64933 $as_echo_n "(cached) " >&6
64934 else
64935
64936
64937 ac_ext=cpp
64938 ac_cpp='$CXXCPP $CPPFLAGS'
64939 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64940 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64941 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64942
64943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64944 /* end confdefs.h. */
64945 #include <math.h>
64946 int
64947 main ()
64948 {
64949 frexpl(0, 0);
64950 ;
64951 return 0;
64952 }
64953 _ACEOF
64954 if ac_fn_cxx_try_compile "$LINENO"; then :
64955 glibcxx_cv_func_frexpl_use=yes
64956 else
64957 glibcxx_cv_func_frexpl_use=no
64958 fi
64959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64960 ac_ext=c
64961 ac_cpp='$CPP $CPPFLAGS'
64962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64965
64966
64967 fi
64968
64969 fi
64970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
64971 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
64972
64973 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
64974 for ac_func in frexpl
64975 do :
64976 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
64977 if test "x$ac_cv_func_frexpl" = xyes; then :
64978 cat >>confdefs.h <<_ACEOF
64979 #define HAVE_FREXPL 1
64980 _ACEOF
64981
64982 fi
64983 done
64984
64985 else
64986
64987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
64988 $as_echo_n "checking for _frexpl declaration... " >&6; }
64989 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
64990 if ${glibcxx_cv_func__frexpl_use+:} false; then :
64991 $as_echo_n "(cached) " >&6
64992 else
64993
64994
64995 ac_ext=cpp
64996 ac_cpp='$CXXCPP $CPPFLAGS'
64997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65000
65001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65002 /* end confdefs.h. */
65003 #include <math.h>
65004 int
65005 main ()
65006 {
65007 _frexpl(0, 0);
65008 ;
65009 return 0;
65010 }
65011 _ACEOF
65012 if ac_fn_cxx_try_compile "$LINENO"; then :
65013 glibcxx_cv_func__frexpl_use=yes
65014 else
65015 glibcxx_cv_func__frexpl_use=no
65016 fi
65017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65018 ac_ext=c
65019 ac_cpp='$CPP $CPPFLAGS'
65020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65023
65024
65025 fi
65026
65027 fi
65028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65029 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65030
65031 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65032 for ac_func in _frexpl
65033 do :
65034 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65035 if test "x$ac_cv_func__frexpl" = xyes; then :
65036 cat >>confdefs.h <<_ACEOF
65037 #define HAVE__FREXPL 1
65038 _ACEOF
65039
65040 fi
65041 done
65042
65043 fi
65044 fi
65045
65046
65047
65048
65049
65050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65051 $as_echo_n "checking for hypotl declaration... " >&6; }
65052 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65053 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65054 $as_echo_n "(cached) " >&6
65055 else
65056
65057
65058 ac_ext=cpp
65059 ac_cpp='$CXXCPP $CPPFLAGS'
65060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65063
65064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65065 /* end confdefs.h. */
65066 #include <math.h>
65067 int
65068 main ()
65069 {
65070 hypotl(0, 0);
65071 ;
65072 return 0;
65073 }
65074 _ACEOF
65075 if ac_fn_cxx_try_compile "$LINENO"; then :
65076 glibcxx_cv_func_hypotl_use=yes
65077 else
65078 glibcxx_cv_func_hypotl_use=no
65079 fi
65080 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65081 ac_ext=c
65082 ac_cpp='$CPP $CPPFLAGS'
65083 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65084 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65085 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65086
65087
65088 fi
65089
65090 fi
65091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65092 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65093
65094 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65095 for ac_func in hypotl
65096 do :
65097 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65098 if test "x$ac_cv_func_hypotl" = xyes; then :
65099 cat >>confdefs.h <<_ACEOF
65100 #define HAVE_HYPOTL 1
65101 _ACEOF
65102
65103 fi
65104 done
65105
65106 else
65107
65108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65109 $as_echo_n "checking for _hypotl declaration... " >&6; }
65110 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65111 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65112 $as_echo_n "(cached) " >&6
65113 else
65114
65115
65116 ac_ext=cpp
65117 ac_cpp='$CXXCPP $CPPFLAGS'
65118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65121
65122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65123 /* end confdefs.h. */
65124 #include <math.h>
65125 int
65126 main ()
65127 {
65128 _hypotl(0, 0);
65129 ;
65130 return 0;
65131 }
65132 _ACEOF
65133 if ac_fn_cxx_try_compile "$LINENO"; then :
65134 glibcxx_cv_func__hypotl_use=yes
65135 else
65136 glibcxx_cv_func__hypotl_use=no
65137 fi
65138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65139 ac_ext=c
65140 ac_cpp='$CPP $CPPFLAGS'
65141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65144
65145
65146 fi
65147
65148 fi
65149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65150 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65151
65152 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65153 for ac_func in _hypotl
65154 do :
65155 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65156 if test "x$ac_cv_func__hypotl" = xyes; then :
65157 cat >>confdefs.h <<_ACEOF
65158 #define HAVE__HYPOTL 1
65159 _ACEOF
65160
65161 fi
65162 done
65163
65164 fi
65165 fi
65166
65167
65168
65169
65170
65171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65172 $as_echo_n "checking for ldexpl declaration... " >&6; }
65173 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65174 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65175 $as_echo_n "(cached) " >&6
65176 else
65177
65178
65179 ac_ext=cpp
65180 ac_cpp='$CXXCPP $CPPFLAGS'
65181 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65182 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65183 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65184
65185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65186 /* end confdefs.h. */
65187 #include <math.h>
65188 int
65189 main ()
65190 {
65191 ldexpl(0, 0);
65192 ;
65193 return 0;
65194 }
65195 _ACEOF
65196 if ac_fn_cxx_try_compile "$LINENO"; then :
65197 glibcxx_cv_func_ldexpl_use=yes
65198 else
65199 glibcxx_cv_func_ldexpl_use=no
65200 fi
65201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65202 ac_ext=c
65203 ac_cpp='$CPP $CPPFLAGS'
65204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65207
65208
65209 fi
65210
65211 fi
65212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65213 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65214
65215 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65216 for ac_func in ldexpl
65217 do :
65218 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65219 if test "x$ac_cv_func_ldexpl" = xyes; then :
65220 cat >>confdefs.h <<_ACEOF
65221 #define HAVE_LDEXPL 1
65222 _ACEOF
65223
65224 fi
65225 done
65226
65227 else
65228
65229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65230 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65231 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65232 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65233 $as_echo_n "(cached) " >&6
65234 else
65235
65236
65237 ac_ext=cpp
65238 ac_cpp='$CXXCPP $CPPFLAGS'
65239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65242
65243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65244 /* end confdefs.h. */
65245 #include <math.h>
65246 int
65247 main ()
65248 {
65249 _ldexpl(0, 0);
65250 ;
65251 return 0;
65252 }
65253 _ACEOF
65254 if ac_fn_cxx_try_compile "$LINENO"; then :
65255 glibcxx_cv_func__ldexpl_use=yes
65256 else
65257 glibcxx_cv_func__ldexpl_use=no
65258 fi
65259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65260 ac_ext=c
65261 ac_cpp='$CPP $CPPFLAGS'
65262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65265
65266
65267 fi
65268
65269 fi
65270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65271 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65272
65273 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65274 for ac_func in _ldexpl
65275 do :
65276 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65277 if test "x$ac_cv_func__ldexpl" = xyes; then :
65278 cat >>confdefs.h <<_ACEOF
65279 #define HAVE__LDEXPL 1
65280 _ACEOF
65281
65282 fi
65283 done
65284
65285 fi
65286 fi
65287
65288
65289
65290
65291
65292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65293 $as_echo_n "checking for logl declaration... " >&6; }
65294 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65295 if ${glibcxx_cv_func_logl_use+:} false; then :
65296 $as_echo_n "(cached) " >&6
65297 else
65298
65299
65300 ac_ext=cpp
65301 ac_cpp='$CXXCPP $CPPFLAGS'
65302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65305
65306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65307 /* end confdefs.h. */
65308 #include <math.h>
65309 #ifdef HAVE_IEEEFP_H
65310 #include <ieeefp.h>
65311 #endif
65312
65313 int
65314 main ()
65315 {
65316 logl(0);
65317 ;
65318 return 0;
65319 }
65320 _ACEOF
65321 if ac_fn_cxx_try_compile "$LINENO"; then :
65322 glibcxx_cv_func_logl_use=yes
65323 else
65324 glibcxx_cv_func_logl_use=no
65325 fi
65326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65327 ac_ext=c
65328 ac_cpp='$CPP $CPPFLAGS'
65329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65332
65333
65334 fi
65335
65336 fi
65337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65338 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65339
65340 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65341 for ac_func in logl
65342 do :
65343 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65344 if test "x$ac_cv_func_logl" = xyes; then :
65345 cat >>confdefs.h <<_ACEOF
65346 #define HAVE_LOGL 1
65347 _ACEOF
65348
65349 fi
65350 done
65351
65352 else
65353
65354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65355 $as_echo_n "checking for _logl declaration... " >&6; }
65356 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65357 if ${glibcxx_cv_func__logl_use+:} false; then :
65358 $as_echo_n "(cached) " >&6
65359 else
65360
65361
65362 ac_ext=cpp
65363 ac_cpp='$CXXCPP $CPPFLAGS'
65364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65367
65368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65369 /* end confdefs.h. */
65370 #include <math.h>
65371 #ifdef HAVE_IEEEFP_H
65372 #include <ieeefp.h>
65373 #endif
65374
65375 int
65376 main ()
65377 {
65378 _logl(0);
65379 ;
65380 return 0;
65381 }
65382 _ACEOF
65383 if ac_fn_cxx_try_compile "$LINENO"; then :
65384 glibcxx_cv_func__logl_use=yes
65385 else
65386 glibcxx_cv_func__logl_use=no
65387 fi
65388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65389 ac_ext=c
65390 ac_cpp='$CPP $CPPFLAGS'
65391 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65392 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65393 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65394
65395
65396 fi
65397
65398 fi
65399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65400 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65401
65402 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65403 for ac_func in _logl
65404 do :
65405 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65406 if test "x$ac_cv_func__logl" = xyes; then :
65407 cat >>confdefs.h <<_ACEOF
65408 #define HAVE__LOGL 1
65409 _ACEOF
65410
65411 fi
65412 done
65413
65414 fi
65415 fi
65416
65417
65418
65419
65420
65421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65422 $as_echo_n "checking for log10l declaration... " >&6; }
65423 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65424 if ${glibcxx_cv_func_log10l_use+:} false; then :
65425 $as_echo_n "(cached) " >&6
65426 else
65427
65428
65429 ac_ext=cpp
65430 ac_cpp='$CXXCPP $CPPFLAGS'
65431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65434
65435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65436 /* end confdefs.h. */
65437 #include <math.h>
65438 #ifdef HAVE_IEEEFP_H
65439 #include <ieeefp.h>
65440 #endif
65441
65442 int
65443 main ()
65444 {
65445 log10l(0);
65446 ;
65447 return 0;
65448 }
65449 _ACEOF
65450 if ac_fn_cxx_try_compile "$LINENO"; then :
65451 glibcxx_cv_func_log10l_use=yes
65452 else
65453 glibcxx_cv_func_log10l_use=no
65454 fi
65455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65456 ac_ext=c
65457 ac_cpp='$CPP $CPPFLAGS'
65458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65461
65462
65463 fi
65464
65465 fi
65466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65467 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65468
65469 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65470 for ac_func in log10l
65471 do :
65472 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65473 if test "x$ac_cv_func_log10l" = xyes; then :
65474 cat >>confdefs.h <<_ACEOF
65475 #define HAVE_LOG10L 1
65476 _ACEOF
65477
65478 fi
65479 done
65480
65481 else
65482
65483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65484 $as_echo_n "checking for _log10l declaration... " >&6; }
65485 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65486 if ${glibcxx_cv_func__log10l_use+:} false; then :
65487 $as_echo_n "(cached) " >&6
65488 else
65489
65490
65491 ac_ext=cpp
65492 ac_cpp='$CXXCPP $CPPFLAGS'
65493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65496
65497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65498 /* end confdefs.h. */
65499 #include <math.h>
65500 #ifdef HAVE_IEEEFP_H
65501 #include <ieeefp.h>
65502 #endif
65503
65504 int
65505 main ()
65506 {
65507 _log10l(0);
65508 ;
65509 return 0;
65510 }
65511 _ACEOF
65512 if ac_fn_cxx_try_compile "$LINENO"; then :
65513 glibcxx_cv_func__log10l_use=yes
65514 else
65515 glibcxx_cv_func__log10l_use=no
65516 fi
65517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65518 ac_ext=c
65519 ac_cpp='$CPP $CPPFLAGS'
65520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65523
65524
65525 fi
65526
65527 fi
65528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65529 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65530
65531 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65532 for ac_func in _log10l
65533 do :
65534 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65535 if test "x$ac_cv_func__log10l" = xyes; then :
65536 cat >>confdefs.h <<_ACEOF
65537 #define HAVE__LOG10L 1
65538 _ACEOF
65539
65540 fi
65541 done
65542
65543 fi
65544 fi
65545
65546
65547
65548
65549
65550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65551 $as_echo_n "checking for modfl declaration... " >&6; }
65552 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65553 if ${glibcxx_cv_func_modfl_use+:} false; then :
65554 $as_echo_n "(cached) " >&6
65555 else
65556
65557
65558 ac_ext=cpp
65559 ac_cpp='$CXXCPP $CPPFLAGS'
65560 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65561 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65562 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65563
65564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65565 /* end confdefs.h. */
65566 #include <math.h>
65567 int
65568 main ()
65569 {
65570 modfl(0, 0);
65571 ;
65572 return 0;
65573 }
65574 _ACEOF
65575 if ac_fn_cxx_try_compile "$LINENO"; then :
65576 glibcxx_cv_func_modfl_use=yes
65577 else
65578 glibcxx_cv_func_modfl_use=no
65579 fi
65580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65581 ac_ext=c
65582 ac_cpp='$CPP $CPPFLAGS'
65583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65586
65587
65588 fi
65589
65590 fi
65591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65592 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65593
65594 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65595 for ac_func in modfl
65596 do :
65597 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65598 if test "x$ac_cv_func_modfl" = xyes; then :
65599 cat >>confdefs.h <<_ACEOF
65600 #define HAVE_MODFL 1
65601 _ACEOF
65602
65603 fi
65604 done
65605
65606 else
65607
65608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65609 $as_echo_n "checking for _modfl declaration... " >&6; }
65610 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65611 if ${glibcxx_cv_func__modfl_use+:} false; then :
65612 $as_echo_n "(cached) " >&6
65613 else
65614
65615
65616 ac_ext=cpp
65617 ac_cpp='$CXXCPP $CPPFLAGS'
65618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65621
65622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65623 /* end confdefs.h. */
65624 #include <math.h>
65625 int
65626 main ()
65627 {
65628 _modfl(0, 0);
65629 ;
65630 return 0;
65631 }
65632 _ACEOF
65633 if ac_fn_cxx_try_compile "$LINENO"; then :
65634 glibcxx_cv_func__modfl_use=yes
65635 else
65636 glibcxx_cv_func__modfl_use=no
65637 fi
65638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65639 ac_ext=c
65640 ac_cpp='$CPP $CPPFLAGS'
65641 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65642 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65643 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65644
65645
65646 fi
65647
65648 fi
65649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65650 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65651
65652 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65653 for ac_func in _modfl
65654 do :
65655 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65656 if test "x$ac_cv_func__modfl" = xyes; then :
65657 cat >>confdefs.h <<_ACEOF
65658 #define HAVE__MODFL 1
65659 _ACEOF
65660
65661 fi
65662 done
65663
65664 fi
65665 fi
65666
65667
65668
65669
65670
65671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65672 $as_echo_n "checking for powl declaration... " >&6; }
65673 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65674 if ${glibcxx_cv_func_powl_use+:} false; then :
65675 $as_echo_n "(cached) " >&6
65676 else
65677
65678
65679 ac_ext=cpp
65680 ac_cpp='$CXXCPP $CPPFLAGS'
65681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65684
65685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65686 /* end confdefs.h. */
65687 #include <math.h>
65688 int
65689 main ()
65690 {
65691 powl(0, 0);
65692 ;
65693 return 0;
65694 }
65695 _ACEOF
65696 if ac_fn_cxx_try_compile "$LINENO"; then :
65697 glibcxx_cv_func_powl_use=yes
65698 else
65699 glibcxx_cv_func_powl_use=no
65700 fi
65701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65702 ac_ext=c
65703 ac_cpp='$CPP $CPPFLAGS'
65704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65707
65708
65709 fi
65710
65711 fi
65712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65713 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65714
65715 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65716 for ac_func in powl
65717 do :
65718 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65719 if test "x$ac_cv_func_powl" = xyes; then :
65720 cat >>confdefs.h <<_ACEOF
65721 #define HAVE_POWL 1
65722 _ACEOF
65723
65724 fi
65725 done
65726
65727 else
65728
65729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65730 $as_echo_n "checking for _powl declaration... " >&6; }
65731 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65732 if ${glibcxx_cv_func__powl_use+:} false; then :
65733 $as_echo_n "(cached) " >&6
65734 else
65735
65736
65737 ac_ext=cpp
65738 ac_cpp='$CXXCPP $CPPFLAGS'
65739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65742
65743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65744 /* end confdefs.h. */
65745 #include <math.h>
65746 int
65747 main ()
65748 {
65749 _powl(0, 0);
65750 ;
65751 return 0;
65752 }
65753 _ACEOF
65754 if ac_fn_cxx_try_compile "$LINENO"; then :
65755 glibcxx_cv_func__powl_use=yes
65756 else
65757 glibcxx_cv_func__powl_use=no
65758 fi
65759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65760 ac_ext=c
65761 ac_cpp='$CPP $CPPFLAGS'
65762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65765
65766
65767 fi
65768
65769 fi
65770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65771 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65772
65773 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65774 for ac_func in _powl
65775 do :
65776 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65777 if test "x$ac_cv_func__powl" = xyes; then :
65778 cat >>confdefs.h <<_ACEOF
65779 #define HAVE__POWL 1
65780 _ACEOF
65781
65782 fi
65783 done
65784
65785 fi
65786 fi
65787
65788
65789
65790
65791
65792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65793 $as_echo_n "checking for sqrtl declaration... " >&6; }
65794 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65795 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
65796 $as_echo_n "(cached) " >&6
65797 else
65798
65799
65800 ac_ext=cpp
65801 ac_cpp='$CXXCPP $CPPFLAGS'
65802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65805
65806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65807 /* end confdefs.h. */
65808 #include <math.h>
65809 #ifdef HAVE_IEEEFP_H
65810 #include <ieeefp.h>
65811 #endif
65812
65813 int
65814 main ()
65815 {
65816 sqrtl(0);
65817 ;
65818 return 0;
65819 }
65820 _ACEOF
65821 if ac_fn_cxx_try_compile "$LINENO"; then :
65822 glibcxx_cv_func_sqrtl_use=yes
65823 else
65824 glibcxx_cv_func_sqrtl_use=no
65825 fi
65826 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65827 ac_ext=c
65828 ac_cpp='$CPP $CPPFLAGS'
65829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65832
65833
65834 fi
65835
65836 fi
65837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65838 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65839
65840 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65841 for ac_func in sqrtl
65842 do :
65843 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65844 if test "x$ac_cv_func_sqrtl" = xyes; then :
65845 cat >>confdefs.h <<_ACEOF
65846 #define HAVE_SQRTL 1
65847 _ACEOF
65848
65849 fi
65850 done
65851
65852 else
65853
65854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65855 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65856 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65857 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
65858 $as_echo_n "(cached) " >&6
65859 else
65860
65861
65862 ac_ext=cpp
65863 ac_cpp='$CXXCPP $CPPFLAGS'
65864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65867
65868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65869 /* end confdefs.h. */
65870 #include <math.h>
65871 #ifdef HAVE_IEEEFP_H
65872 #include <ieeefp.h>
65873 #endif
65874
65875 int
65876 main ()
65877 {
65878 _sqrtl(0);
65879 ;
65880 return 0;
65881 }
65882 _ACEOF
65883 if ac_fn_cxx_try_compile "$LINENO"; then :
65884 glibcxx_cv_func__sqrtl_use=yes
65885 else
65886 glibcxx_cv_func__sqrtl_use=no
65887 fi
65888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65889 ac_ext=c
65890 ac_cpp='$CPP $CPPFLAGS'
65891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65894
65895
65896 fi
65897
65898 fi
65899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
65900 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
65901
65902 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
65903 for ac_func in _sqrtl
65904 do :
65905 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
65906 if test "x$ac_cv_func__sqrtl" = xyes; then :
65907 cat >>confdefs.h <<_ACEOF
65908 #define HAVE__SQRTL 1
65909 _ACEOF
65910
65911 fi
65912 done
65913
65914 fi
65915 fi
65916
65917
65918
65919
65920
65921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
65922 $as_echo_n "checking for sincosl declaration... " >&6; }
65923 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
65924 if ${glibcxx_cv_func_sincosl_use+:} false; then :
65925 $as_echo_n "(cached) " >&6
65926 else
65927
65928
65929 ac_ext=cpp
65930 ac_cpp='$CXXCPP $CPPFLAGS'
65931 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65932 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65933 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65934
65935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65936 /* end confdefs.h. */
65937 #include <math.h>
65938 int
65939 main ()
65940 {
65941 sincosl(0, 0, 0);
65942 ;
65943 return 0;
65944 }
65945 _ACEOF
65946 if ac_fn_cxx_try_compile "$LINENO"; then :
65947 glibcxx_cv_func_sincosl_use=yes
65948 else
65949 glibcxx_cv_func_sincosl_use=no
65950 fi
65951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65952 ac_ext=c
65953 ac_cpp='$CPP $CPPFLAGS'
65954 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65955 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65956 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65957
65958
65959 fi
65960
65961 fi
65962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
65963 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
65964
65965 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
65966 for ac_func in sincosl
65967 do :
65968 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
65969 if test "x$ac_cv_func_sincosl" = xyes; then :
65970 cat >>confdefs.h <<_ACEOF
65971 #define HAVE_SINCOSL 1
65972 _ACEOF
65973
65974 fi
65975 done
65976
65977 else
65978
65979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
65980 $as_echo_n "checking for _sincosl declaration... " >&6; }
65981 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
65982 if ${glibcxx_cv_func__sincosl_use+:} false; then :
65983 $as_echo_n "(cached) " >&6
65984 else
65985
65986
65987 ac_ext=cpp
65988 ac_cpp='$CXXCPP $CPPFLAGS'
65989 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65990 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65991 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65992
65993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65994 /* end confdefs.h. */
65995 #include <math.h>
65996 int
65997 main ()
65998 {
65999 _sincosl(0, 0, 0);
66000 ;
66001 return 0;
66002 }
66003 _ACEOF
66004 if ac_fn_cxx_try_compile "$LINENO"; then :
66005 glibcxx_cv_func__sincosl_use=yes
66006 else
66007 glibcxx_cv_func__sincosl_use=no
66008 fi
66009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66010 ac_ext=c
66011 ac_cpp='$CPP $CPPFLAGS'
66012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66015
66016
66017 fi
66018
66019 fi
66020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66021 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66022
66023 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66024 for ac_func in _sincosl
66025 do :
66026 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66027 if test "x$ac_cv_func__sincosl" = xyes; then :
66028 cat >>confdefs.h <<_ACEOF
66029 #define HAVE__SINCOSL 1
66030 _ACEOF
66031
66032 fi
66033 done
66034
66035 fi
66036 fi
66037
66038
66039
66040
66041
66042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66043 $as_echo_n "checking for finitel declaration... " >&6; }
66044 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66045 if ${glibcxx_cv_func_finitel_use+:} false; then :
66046 $as_echo_n "(cached) " >&6
66047 else
66048
66049
66050 ac_ext=cpp
66051 ac_cpp='$CXXCPP $CPPFLAGS'
66052 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66053 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66054 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66055
66056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66057 /* end confdefs.h. */
66058 #include <math.h>
66059 #ifdef HAVE_IEEEFP_H
66060 #include <ieeefp.h>
66061 #endif
66062
66063 int
66064 main ()
66065 {
66066 finitel(0);
66067 ;
66068 return 0;
66069 }
66070 _ACEOF
66071 if ac_fn_cxx_try_compile "$LINENO"; then :
66072 glibcxx_cv_func_finitel_use=yes
66073 else
66074 glibcxx_cv_func_finitel_use=no
66075 fi
66076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66077 ac_ext=c
66078 ac_cpp='$CPP $CPPFLAGS'
66079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66082
66083
66084 fi
66085
66086 fi
66087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66088 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66089
66090 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66091 for ac_func in finitel
66092 do :
66093 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66094 if test "x$ac_cv_func_finitel" = xyes; then :
66095 cat >>confdefs.h <<_ACEOF
66096 #define HAVE_FINITEL 1
66097 _ACEOF
66098
66099 fi
66100 done
66101
66102 else
66103
66104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66105 $as_echo_n "checking for _finitel declaration... " >&6; }
66106 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66107 if ${glibcxx_cv_func__finitel_use+:} false; then :
66108 $as_echo_n "(cached) " >&6
66109 else
66110
66111
66112 ac_ext=cpp
66113 ac_cpp='$CXXCPP $CPPFLAGS'
66114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66117
66118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66119 /* end confdefs.h. */
66120 #include <math.h>
66121 #ifdef HAVE_IEEEFP_H
66122 #include <ieeefp.h>
66123 #endif
66124
66125 int
66126 main ()
66127 {
66128 _finitel(0);
66129 ;
66130 return 0;
66131 }
66132 _ACEOF
66133 if ac_fn_cxx_try_compile "$LINENO"; then :
66134 glibcxx_cv_func__finitel_use=yes
66135 else
66136 glibcxx_cv_func__finitel_use=no
66137 fi
66138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66139 ac_ext=c
66140 ac_cpp='$CPP $CPPFLAGS'
66141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66144
66145
66146 fi
66147
66148 fi
66149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66150 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66151
66152 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66153 for ac_func in _finitel
66154 do :
66155 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66156 if test "x$ac_cv_func__finitel" = xyes; then :
66157 cat >>confdefs.h <<_ACEOF
66158 #define HAVE__FINITEL 1
66159 _ACEOF
66160
66161 fi
66162 done
66163
66164 fi
66165 fi
66166
66167
66168
66169
66170 LIBS="$ac_save_LIBS"
66171 CXXFLAGS="$ac_save_CXXFLAGS"
66172
66173
66174 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66175 ac_save_CXXFLAGS="$CXXFLAGS"
66176 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66177
66178
66179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66180 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66181 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66182 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66183 $as_echo_n "(cached) " >&6
66184 else
66185
66186
66187 ac_ext=cpp
66188 ac_cpp='$CXXCPP $CPPFLAGS'
66189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66192
66193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66194 /* end confdefs.h. */
66195 #include <stdlib.h>
66196 int
66197 main ()
66198 {
66199 at_quick_exit(0);
66200 ;
66201 return 0;
66202 }
66203 _ACEOF
66204 if ac_fn_cxx_try_compile "$LINENO"; then :
66205 glibcxx_cv_func_at_quick_exit_use=yes
66206 else
66207 glibcxx_cv_func_at_quick_exit_use=no
66208 fi
66209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66210 ac_ext=c
66211 ac_cpp='$CPP $CPPFLAGS'
66212 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66213 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66214 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66215
66216
66217 fi
66218
66219 fi
66220 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66221 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66222 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66223 for ac_func in at_quick_exit
66224 do :
66225 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66226 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66227 cat >>confdefs.h <<_ACEOF
66228 #define HAVE_AT_QUICK_EXIT 1
66229 _ACEOF
66230
66231 fi
66232 done
66233
66234 fi
66235
66236
66237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66238 $as_echo_n "checking for quick_exit declaration... " >&6; }
66239 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66240 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66241 $as_echo_n "(cached) " >&6
66242 else
66243
66244
66245 ac_ext=cpp
66246 ac_cpp='$CXXCPP $CPPFLAGS'
66247 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66248 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66249 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66250
66251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66252 /* end confdefs.h. */
66253 #include <stdlib.h>
66254 int
66255 main ()
66256 {
66257 quick_exit(0);
66258 ;
66259 return 0;
66260 }
66261 _ACEOF
66262 if ac_fn_cxx_try_compile "$LINENO"; then :
66263 glibcxx_cv_func_quick_exit_use=yes
66264 else
66265 glibcxx_cv_func_quick_exit_use=no
66266 fi
66267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66268 ac_ext=c
66269 ac_cpp='$CPP $CPPFLAGS'
66270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66273
66274
66275 fi
66276
66277 fi
66278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66279 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66280 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66281 for ac_func in quick_exit
66282 do :
66283 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66284 if test "x$ac_cv_func_quick_exit" = xyes; then :
66285 cat >>confdefs.h <<_ACEOF
66286 #define HAVE_QUICK_EXIT 1
66287 _ACEOF
66288
66289 fi
66290 done
66291
66292 fi
66293
66294
66295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66296 $as_echo_n "checking for strtold declaration... " >&6; }
66297 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66298 if ${glibcxx_cv_func_strtold_use+:} false; then :
66299 $as_echo_n "(cached) " >&6
66300 else
66301
66302
66303 ac_ext=cpp
66304 ac_cpp='$CXXCPP $CPPFLAGS'
66305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66308
66309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66310 /* end confdefs.h. */
66311 #include <stdlib.h>
66312 int
66313 main ()
66314 {
66315 strtold(0, 0);
66316 ;
66317 return 0;
66318 }
66319 _ACEOF
66320 if ac_fn_cxx_try_compile "$LINENO"; then :
66321 glibcxx_cv_func_strtold_use=yes
66322 else
66323 glibcxx_cv_func_strtold_use=no
66324 fi
66325 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66326 ac_ext=c
66327 ac_cpp='$CPP $CPPFLAGS'
66328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66331
66332
66333 fi
66334
66335 fi
66336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66337 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66338 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66339 for ac_func in strtold
66340 do :
66341 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66342 if test "x$ac_cv_func_strtold" = xyes; then :
66343 cat >>confdefs.h <<_ACEOF
66344 #define HAVE_STRTOLD 1
66345 _ACEOF
66346
66347 fi
66348 done
66349
66350 fi
66351
66352
66353
66354
66355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66356 $as_echo_n "checking for strtof declaration... " >&6; }
66357 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66358 if ${glibcxx_cv_func_strtof_use+:} false; then :
66359 $as_echo_n "(cached) " >&6
66360 else
66361
66362
66363 ac_ext=cpp
66364 ac_cpp='$CXXCPP $CPPFLAGS'
66365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66368
66369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66370 /* end confdefs.h. */
66371 #include <stdlib.h>
66372 int
66373 main ()
66374 {
66375 strtof(0, 0);
66376 ;
66377 return 0;
66378 }
66379 _ACEOF
66380 if ac_fn_cxx_try_compile "$LINENO"; then :
66381 glibcxx_cv_func_strtof_use=yes
66382 else
66383 glibcxx_cv_func_strtof_use=no
66384 fi
66385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66386 ac_ext=c
66387 ac_cpp='$CPP $CPPFLAGS'
66388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66391
66392
66393 fi
66394
66395 fi
66396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66397 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66398 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66399 for ac_func in strtof
66400 do :
66401 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66402 if test "x$ac_cv_func_strtof" = xyes; then :
66403 cat >>confdefs.h <<_ACEOF
66404 #define HAVE_STRTOF 1
66405 _ACEOF
66406
66407 fi
66408 done
66409
66410 fi
66411
66412
66413
66414
66415 CXXFLAGS="$ac_save_CXXFLAGS"
66416
66417 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66418 do :
66419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66421 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66422 cat >>confdefs.h <<_ACEOF
66423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66424 _ACEOF
66425
66426 fi
66427 done
66428
66429 for ac_func in _wfopen
66430 do :
66431 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
66432 if test "x$ac_cv_func__wfopen" = xyes; then :
66433 cat >>confdefs.h <<_ACEOF
66434 #define HAVE__WFOPEN 1
66435 _ACEOF
66436
66437 fi
66438 done
66439
66440 ;;
66441 *-netbsd* | *-openbsd*)
66442 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66443
66444
66445 # If we're not using GNU ld, then there's no point in even trying these
66446 # tests. Check for that first. We should have already tested for gld
66447 # by now (in libtool), but require it now just to be safe...
66448 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66449 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66450
66451
66452
66453 # The name set by libtool depends on the version of libtool. Shame on us
66454 # for depending on an impl detail, but c'est la vie. Older versions used
66455 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66456 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66457 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66458 # set (hence we're using an older libtool), then set it.
66459 if test x${with_gnu_ld+set} != xset; then
66460 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66461 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66462 with_gnu_ld=no
66463 else
66464 with_gnu_ld=$ac_cv_prog_gnu_ld
66465 fi
66466 fi
66467
66468 # Start by getting the version number. I think the libtool test already
66469 # does some of this, but throws away the result.
66470 glibcxx_ld_is_gold=no
66471 if test x"$with_gnu_ld" = x"yes"; then
66472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66473 $as_echo_n "checking for ld version... " >&6; }
66474
66475 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66476 glibcxx_ld_is_gold=yes
66477 fi
66478 ldver=`$LD --version 2>/dev/null |
66479 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'`
66480
66481 glibcxx_gnu_ld_version=`echo $ldver | \
66482 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66484 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66485 fi
66486
66487 # Set --gc-sections.
66488 glibcxx_have_gc_sections=no
66489 if test "$glibcxx_ld_is_gold" = "yes"; then
66490 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66491 glibcxx_have_gc_sections=yes
66492 fi
66493 else
66494 glibcxx_gcsections_min_ld=21602
66495 if test x"$with_gnu_ld" = x"yes" &&
66496 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66497 glibcxx_have_gc_sections=yes
66498 fi
66499 fi
66500 if test "$glibcxx_have_gc_sections" = "yes"; then
66501 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66502 # NB: This flag only works reliably after 2.16.1. Configure tests
66503 # for this are difficult, so hard wire a value that should work.
66504
66505 ac_test_CFLAGS="${CFLAGS+set}"
66506 ac_save_CFLAGS="$CFLAGS"
66507 CFLAGS='-Wl,--gc-sections'
66508
66509 # Check for -Wl,--gc-sections
66510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66511 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66512 if test x$gcc_no_link = xyes; then
66513 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66514 fi
66515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66516 /* end confdefs.h. */
66517 int one(void) { return 1; }
66518 int two(void) { return 2; }
66519
66520 int
66521 main ()
66522 {
66523 two();
66524 ;
66525 return 0;
66526 }
66527 _ACEOF
66528 if ac_fn_c_try_link "$LINENO"; then :
66529 ac_gcsections=yes
66530 else
66531 ac_gcsections=no
66532 fi
66533 rm -f core conftest.err conftest.$ac_objext \
66534 conftest$ac_exeext conftest.$ac_ext
66535 if test "$ac_gcsections" = "yes"; then
66536 rm -f conftest.c
66537 touch conftest.c
66538 if $CC -c conftest.c; then
66539 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66540 grep "Warning: gc-sections option ignored" > /dev/null; then
66541 ac_gcsections=no
66542 fi
66543 fi
66544 rm -f conftest.c conftest.o conftest
66545 fi
66546 if test "$ac_gcsections" = "yes"; then
66547 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66548 fi
66549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66550 $as_echo "$ac_gcsections" >&6; }
66551
66552 if test "$ac_test_CFLAGS" = set; then
66553 CFLAGS="$ac_save_CFLAGS"
66554 else
66555 # this is the suspicious part
66556 CFLAGS=''
66557 fi
66558 fi
66559
66560 # Set -z,relro.
66561 # Note this is only for shared objects.
66562 ac_ld_relro=no
66563 if test x"$with_gnu_ld" = x"yes"; then
66564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66565 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66566 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66567 if test -n "$cxx_z_relo"; then
66568 OPT_LDFLAGS="-Wl,-z,relro"
66569 ac_ld_relro=yes
66570 fi
66571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66572 $as_echo "$ac_ld_relro" >&6; }
66573 fi
66574
66575 # Set linker optimization flags.
66576 if test x"$with_gnu_ld" = x"yes"; then
66577 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66578 fi
66579
66580
66581
66582
66583 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66584
66585 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66586
66587 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66588
66589 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66590
66591 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66592
66593 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66594
66595 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66596
66597 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66598
66599 if test x"long_double_math_on_this_cpu" = x"yes"; then
66600 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66601
66602 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66603
66604 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66605
66606 fi
66607 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
66608 do :
66609 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
66610 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
66611 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
66612 cat >>confdefs.h <<_ACEOF
66613 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
66614 _ACEOF
66615
66616 fi
66617 done
66618
66619 for ac_func in timespec_get
66620 do :
66621 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
66622 if test "x$ac_cv_func_timespec_get" = xyes; then :
66623 cat >>confdefs.h <<_ACEOF
66624 #define HAVE_TIMESPEC_GET 1
66625 _ACEOF
66626
66627 fi
66628 done
66629
66630 for ac_func in sockatmark
66631 do :
66632 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
66633 if test "x$ac_cv_func_sockatmark" = xyes; then :
66634 cat >>confdefs.h <<_ACEOF
66635 #define HAVE_SOCKATMARK 1
66636 _ACEOF
66637
66638 fi
66639 done
66640
66641 ;;
66642 *-qnx6.1* | *-qnx6.2*)
66643 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66644
66645
66646 # If we're not using GNU ld, then there's no point in even trying these
66647 # tests. Check for that first. We should have already tested for gld
66648 # by now (in libtool), but require it now just to be safe...
66649 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66650 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66651
66652
66653
66654 # The name set by libtool depends on the version of libtool. Shame on us
66655 # for depending on an impl detail, but c'est la vie. Older versions used
66656 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66657 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66658 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66659 # set (hence we're using an older libtool), then set it.
66660 if test x${with_gnu_ld+set} != xset; then
66661 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66662 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66663 with_gnu_ld=no
66664 else
66665 with_gnu_ld=$ac_cv_prog_gnu_ld
66666 fi
66667 fi
66668
66669 # Start by getting the version number. I think the libtool test already
66670 # does some of this, but throws away the result.
66671 glibcxx_ld_is_gold=no
66672 if test x"$with_gnu_ld" = x"yes"; then
66673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66674 $as_echo_n "checking for ld version... " >&6; }
66675
66676 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66677 glibcxx_ld_is_gold=yes
66678 fi
66679 ldver=`$LD --version 2>/dev/null |
66680 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'`
66681
66682 glibcxx_gnu_ld_version=`echo $ldver | \
66683 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66685 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66686 fi
66687
66688 # Set --gc-sections.
66689 glibcxx_have_gc_sections=no
66690 if test "$glibcxx_ld_is_gold" = "yes"; then
66691 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66692 glibcxx_have_gc_sections=yes
66693 fi
66694 else
66695 glibcxx_gcsections_min_ld=21602
66696 if test x"$with_gnu_ld" = x"yes" &&
66697 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66698 glibcxx_have_gc_sections=yes
66699 fi
66700 fi
66701 if test "$glibcxx_have_gc_sections" = "yes"; then
66702 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66703 # NB: This flag only works reliably after 2.16.1. Configure tests
66704 # for this are difficult, so hard wire a value that should work.
66705
66706 ac_test_CFLAGS="${CFLAGS+set}"
66707 ac_save_CFLAGS="$CFLAGS"
66708 CFLAGS='-Wl,--gc-sections'
66709
66710 # Check for -Wl,--gc-sections
66711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66712 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66713 if test x$gcc_no_link = xyes; then
66714 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66715 fi
66716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66717 /* end confdefs.h. */
66718 int one(void) { return 1; }
66719 int two(void) { return 2; }
66720
66721 int
66722 main ()
66723 {
66724 two();
66725 ;
66726 return 0;
66727 }
66728 _ACEOF
66729 if ac_fn_c_try_link "$LINENO"; then :
66730 ac_gcsections=yes
66731 else
66732 ac_gcsections=no
66733 fi
66734 rm -f core conftest.err conftest.$ac_objext \
66735 conftest$ac_exeext conftest.$ac_ext
66736 if test "$ac_gcsections" = "yes"; then
66737 rm -f conftest.c
66738 touch conftest.c
66739 if $CC -c conftest.c; then
66740 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66741 grep "Warning: gc-sections option ignored" > /dev/null; then
66742 ac_gcsections=no
66743 fi
66744 fi
66745 rm -f conftest.c conftest.o conftest
66746 fi
66747 if test "$ac_gcsections" = "yes"; then
66748 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66749 fi
66750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66751 $as_echo "$ac_gcsections" >&6; }
66752
66753 if test "$ac_test_CFLAGS" = set; then
66754 CFLAGS="$ac_save_CFLAGS"
66755 else
66756 # this is the suspicious part
66757 CFLAGS=''
66758 fi
66759 fi
66760
66761 # Set -z,relro.
66762 # Note this is only for shared objects.
66763 ac_ld_relro=no
66764 if test x"$with_gnu_ld" = x"yes"; then
66765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66766 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66767 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66768 if test -n "$cxx_z_relo"; then
66769 OPT_LDFLAGS="-Wl,-z,relro"
66770 ac_ld_relro=yes
66771 fi
66772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66773 $as_echo "$ac_ld_relro" >&6; }
66774 fi
66775
66776 # Set linker optimization flags.
66777 if test x"$with_gnu_ld" = x"yes"; then
66778 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66779 fi
66780
66781
66782
66783
66784 $as_echo "#define HAVE_COSF 1" >>confdefs.h
66785
66786 $as_echo "#define HAVE_COSL 1" >>confdefs.h
66787
66788 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
66789
66790 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
66791
66792 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
66793
66794 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
66795
66796 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
66797
66798 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
66799
66800 $as_echo "#define HAVE_SINF 1" >>confdefs.h
66801
66802 $as_echo "#define HAVE_SINL 1" >>confdefs.h
66803
66804 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
66805
66806 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
66807
66808 ;;
66809 *-rtems*)
66810
66811 # All these tests are for C++; save the language and the compiler flags.
66812 # The CXXFLAGS thing is suspicious, but based on similar bits previously
66813 # found in GLIBCXX_CONFIGURE.
66814
66815 ac_ext=cpp
66816 ac_cpp='$CXXCPP $CPPFLAGS'
66817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66820
66821 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66822 ac_save_CXXFLAGS="$CXXFLAGS"
66823
66824 # Check for -ffunction-sections -fdata-sections
66825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
66826 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
66827 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
66828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66829 /* end confdefs.h. */
66830 int foo; void bar() { };
66831 int
66832 main ()
66833 {
66834
66835 ;
66836 return 0;
66837 }
66838 _ACEOF
66839 if ac_fn_cxx_try_compile "$LINENO"; then :
66840 ac_fdsections=yes
66841 else
66842 ac_fdsections=no
66843 fi
66844 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66845 if test "$ac_test_CXXFLAGS" = set; then
66846 CXXFLAGS="$ac_save_CXXFLAGS"
66847 else
66848 # this is the suspicious part
66849 CXXFLAGS=''
66850 fi
66851 if test x"$ac_fdsections" = x"yes"; then
66852 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66853 fi
66854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
66855 $as_echo "$ac_fdsections" >&6; }
66856
66857 ac_ext=c
66858 ac_cpp='$CPP $CPPFLAGS'
66859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66862
66863
66864
66865
66866 # If we're not using GNU ld, then there's no point in even trying these
66867 # tests. Check for that first. We should have already tested for gld
66868 # by now (in libtool), but require it now just to be safe...
66869 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
66870 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
66871
66872
66873
66874 # The name set by libtool depends on the version of libtool. Shame on us
66875 # for depending on an impl detail, but c'est la vie. Older versions used
66876 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
66877 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
66878 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
66879 # set (hence we're using an older libtool), then set it.
66880 if test x${with_gnu_ld+set} != xset; then
66881 if test x${ac_cv_prog_gnu_ld+set} != xset; then
66882 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
66883 with_gnu_ld=no
66884 else
66885 with_gnu_ld=$ac_cv_prog_gnu_ld
66886 fi
66887 fi
66888
66889 # Start by getting the version number. I think the libtool test already
66890 # does some of this, but throws away the result.
66891 glibcxx_ld_is_gold=no
66892 if test x"$with_gnu_ld" = x"yes"; then
66893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
66894 $as_echo_n "checking for ld version... " >&6; }
66895
66896 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
66897 glibcxx_ld_is_gold=yes
66898 fi
66899 ldver=`$LD --version 2>/dev/null |
66900 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'`
66901
66902 glibcxx_gnu_ld_version=`echo $ldver | \
66903 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
66904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
66905 $as_echo "$glibcxx_gnu_ld_version" >&6; }
66906 fi
66907
66908 # Set --gc-sections.
66909 glibcxx_have_gc_sections=no
66910 if test "$glibcxx_ld_is_gold" = "yes"; then
66911 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
66912 glibcxx_have_gc_sections=yes
66913 fi
66914 else
66915 glibcxx_gcsections_min_ld=21602
66916 if test x"$with_gnu_ld" = x"yes" &&
66917 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
66918 glibcxx_have_gc_sections=yes
66919 fi
66920 fi
66921 if test "$glibcxx_have_gc_sections" = "yes"; then
66922 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
66923 # NB: This flag only works reliably after 2.16.1. Configure tests
66924 # for this are difficult, so hard wire a value that should work.
66925
66926 ac_test_CFLAGS="${CFLAGS+set}"
66927 ac_save_CFLAGS="$CFLAGS"
66928 CFLAGS='-Wl,--gc-sections'
66929
66930 # Check for -Wl,--gc-sections
66931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
66932 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
66933 if test x$gcc_no_link = xyes; then
66934 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66935 fi
66936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66937 /* end confdefs.h. */
66938 int one(void) { return 1; }
66939 int two(void) { return 2; }
66940
66941 int
66942 main ()
66943 {
66944 two();
66945 ;
66946 return 0;
66947 }
66948 _ACEOF
66949 if ac_fn_c_try_link "$LINENO"; then :
66950 ac_gcsections=yes
66951 else
66952 ac_gcsections=no
66953 fi
66954 rm -f core conftest.err conftest.$ac_objext \
66955 conftest$ac_exeext conftest.$ac_ext
66956 if test "$ac_gcsections" = "yes"; then
66957 rm -f conftest.c
66958 touch conftest.c
66959 if $CC -c conftest.c; then
66960 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
66961 grep "Warning: gc-sections option ignored" > /dev/null; then
66962 ac_gcsections=no
66963 fi
66964 fi
66965 rm -f conftest.c conftest.o conftest
66966 fi
66967 if test "$ac_gcsections" = "yes"; then
66968 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
66969 fi
66970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
66971 $as_echo "$ac_gcsections" >&6; }
66972
66973 if test "$ac_test_CFLAGS" = set; then
66974 CFLAGS="$ac_save_CFLAGS"
66975 else
66976 # this is the suspicious part
66977 CFLAGS=''
66978 fi
66979 fi
66980
66981 # Set -z,relro.
66982 # Note this is only for shared objects.
66983 ac_ld_relro=no
66984 if test x"$with_gnu_ld" = x"yes"; then
66985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
66986 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
66987 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
66988 if test -n "$cxx_z_relo"; then
66989 OPT_LDFLAGS="-Wl,-z,relro"
66990 ac_ld_relro=yes
66991 fi
66992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
66993 $as_echo "$ac_ld_relro" >&6; }
66994 fi
66995
66996 # Set linker optimization flags.
66997 if test x"$with_gnu_ld" = x"yes"; then
66998 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
66999 fi
67000
67001
67002
67003
67004
67005 ac_test_CXXFLAGS="${CXXFLAGS+set}"
67006 ac_save_CXXFLAGS="$CXXFLAGS"
67007 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
67008
67009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
67010 $as_echo_n "checking for sin in -lm... " >&6; }
67011 if ${ac_cv_lib_m_sin+:} false; then :
67012 $as_echo_n "(cached) " >&6
67013 else
67014 ac_check_lib_save_LIBS=$LIBS
67015 LIBS="-lm $LIBS"
67016 if test x$gcc_no_link = xyes; then
67017 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
67018 fi
67019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67020 /* end confdefs.h. */
67021
67022 /* Override any GCC internal prototype to avoid an error.
67023 Use char because int might match the return type of a GCC
67024 builtin and then its argument prototype would still apply. */
67025 #ifdef __cplusplus
67026 extern "C"
67027 #endif
67028 char sin ();
67029 int
67030 main ()
67031 {
67032 return sin ();
67033 ;
67034 return 0;
67035 }
67036 _ACEOF
67037 if ac_fn_c_try_link "$LINENO"; then :
67038 ac_cv_lib_m_sin=yes
67039 else
67040 ac_cv_lib_m_sin=no
67041 fi
67042 rm -f core conftest.err conftest.$ac_objext \
67043 conftest$ac_exeext conftest.$ac_ext
67044 LIBS=$ac_check_lib_save_LIBS
67045 fi
67046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
67047 $as_echo "$ac_cv_lib_m_sin" >&6; }
67048 if test "x$ac_cv_lib_m_sin" = xyes; then :
67049 libm="-lm"
67050 fi
67051
67052 ac_save_LIBS="$LIBS"
67053 LIBS="$LIBS $libm"
67054
67055
67056
67057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
67058 $as_echo_n "checking for isinf declaration... " >&6; }
67059 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
67060 if ${glibcxx_cv_func_isinf_use+:} false; then :
67061 $as_echo_n "(cached) " >&6
67062 else
67063
67064
67065 ac_ext=cpp
67066 ac_cpp='$CXXCPP $CPPFLAGS'
67067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67070
67071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67072 /* end confdefs.h. */
67073 #include <math.h>
67074 #ifdef HAVE_IEEEFP_H
67075 #include <ieeefp.h>
67076 #endif
67077
67078 int
67079 main ()
67080 {
67081 isinf(0);
67082 ;
67083 return 0;
67084 }
67085 _ACEOF
67086 if ac_fn_cxx_try_compile "$LINENO"; then :
67087 glibcxx_cv_func_isinf_use=yes
67088 else
67089 glibcxx_cv_func_isinf_use=no
67090 fi
67091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67092 ac_ext=c
67093 ac_cpp='$CPP $CPPFLAGS'
67094 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67095 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67096 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67097
67098
67099 fi
67100
67101 fi
67102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
67103 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
67104
67105 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
67106 for ac_func in isinf
67107 do :
67108 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
67109 if test "x$ac_cv_func_isinf" = xyes; then :
67110 cat >>confdefs.h <<_ACEOF
67111 #define HAVE_ISINF 1
67112 _ACEOF
67113
67114 fi
67115 done
67116
67117 else
67118
67119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
67120 $as_echo_n "checking for _isinf declaration... " >&6; }
67121 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
67122 if ${glibcxx_cv_func__isinf_use+:} false; then :
67123 $as_echo_n "(cached) " >&6
67124 else
67125
67126
67127 ac_ext=cpp
67128 ac_cpp='$CXXCPP $CPPFLAGS'
67129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67132
67133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67134 /* end confdefs.h. */
67135 #include <math.h>
67136 #ifdef HAVE_IEEEFP_H
67137 #include <ieeefp.h>
67138 #endif
67139
67140 int
67141 main ()
67142 {
67143 _isinf(0);
67144 ;
67145 return 0;
67146 }
67147 _ACEOF
67148 if ac_fn_cxx_try_compile "$LINENO"; then :
67149 glibcxx_cv_func__isinf_use=yes
67150 else
67151 glibcxx_cv_func__isinf_use=no
67152 fi
67153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67154 ac_ext=c
67155 ac_cpp='$CPP $CPPFLAGS'
67156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67159
67160
67161 fi
67162
67163 fi
67164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
67165 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
67166
67167 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
67168 for ac_func in _isinf
67169 do :
67170 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
67171 if test "x$ac_cv_func__isinf" = xyes; then :
67172 cat >>confdefs.h <<_ACEOF
67173 #define HAVE__ISINF 1
67174 _ACEOF
67175
67176 fi
67177 done
67178
67179 fi
67180 fi
67181
67182
67183
67184
67185
67186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
67187 $as_echo_n "checking for isnan declaration... " >&6; }
67188 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
67189 if ${glibcxx_cv_func_isnan_use+:} false; then :
67190 $as_echo_n "(cached) " >&6
67191 else
67192
67193
67194 ac_ext=cpp
67195 ac_cpp='$CXXCPP $CPPFLAGS'
67196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67199
67200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67201 /* end confdefs.h. */
67202 #include <math.h>
67203 #ifdef HAVE_IEEEFP_H
67204 #include <ieeefp.h>
67205 #endif
67206
67207 int
67208 main ()
67209 {
67210 isnan(0);
67211 ;
67212 return 0;
67213 }
67214 _ACEOF
67215 if ac_fn_cxx_try_compile "$LINENO"; then :
67216 glibcxx_cv_func_isnan_use=yes
67217 else
67218 glibcxx_cv_func_isnan_use=no
67219 fi
67220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67221 ac_ext=c
67222 ac_cpp='$CPP $CPPFLAGS'
67223 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67224 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67225 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67226
67227
67228 fi
67229
67230 fi
67231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
67232 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
67233
67234 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
67235 for ac_func in isnan
67236 do :
67237 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
67238 if test "x$ac_cv_func_isnan" = xyes; then :
67239 cat >>confdefs.h <<_ACEOF
67240 #define HAVE_ISNAN 1
67241 _ACEOF
67242
67243 fi
67244 done
67245
67246 else
67247
67248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
67249 $as_echo_n "checking for _isnan declaration... " >&6; }
67250 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
67251 if ${glibcxx_cv_func__isnan_use+:} false; then :
67252 $as_echo_n "(cached) " >&6
67253 else
67254
67255
67256 ac_ext=cpp
67257 ac_cpp='$CXXCPP $CPPFLAGS'
67258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67261
67262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67263 /* end confdefs.h. */
67264 #include <math.h>
67265 #ifdef HAVE_IEEEFP_H
67266 #include <ieeefp.h>
67267 #endif
67268
67269 int
67270 main ()
67271 {
67272 _isnan(0);
67273 ;
67274 return 0;
67275 }
67276 _ACEOF
67277 if ac_fn_cxx_try_compile "$LINENO"; then :
67278 glibcxx_cv_func__isnan_use=yes
67279 else
67280 glibcxx_cv_func__isnan_use=no
67281 fi
67282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67283 ac_ext=c
67284 ac_cpp='$CPP $CPPFLAGS'
67285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67288
67289
67290 fi
67291
67292 fi
67293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
67294 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
67295
67296 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
67297 for ac_func in _isnan
67298 do :
67299 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
67300 if test "x$ac_cv_func__isnan" = xyes; then :
67301 cat >>confdefs.h <<_ACEOF
67302 #define HAVE__ISNAN 1
67303 _ACEOF
67304
67305 fi
67306 done
67307
67308 fi
67309 fi
67310
67311
67312
67313
67314
67315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
67316 $as_echo_n "checking for finite declaration... " >&6; }
67317 if test x${glibcxx_cv_func_finite_use+set} != xset; then
67318 if ${glibcxx_cv_func_finite_use+:} false; then :
67319 $as_echo_n "(cached) " >&6
67320 else
67321
67322
67323 ac_ext=cpp
67324 ac_cpp='$CXXCPP $CPPFLAGS'
67325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67328
67329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67330 /* end confdefs.h. */
67331 #include <math.h>
67332 #ifdef HAVE_IEEEFP_H
67333 #include <ieeefp.h>
67334 #endif
67335
67336 int
67337 main ()
67338 {
67339 finite(0);
67340 ;
67341 return 0;
67342 }
67343 _ACEOF
67344 if ac_fn_cxx_try_compile "$LINENO"; then :
67345 glibcxx_cv_func_finite_use=yes
67346 else
67347 glibcxx_cv_func_finite_use=no
67348 fi
67349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67350 ac_ext=c
67351 ac_cpp='$CPP $CPPFLAGS'
67352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67355
67356
67357 fi
67358
67359 fi
67360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
67361 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
67362
67363 if test x$glibcxx_cv_func_finite_use = x"yes"; then
67364 for ac_func in finite
67365 do :
67366 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
67367 if test "x$ac_cv_func_finite" = xyes; then :
67368 cat >>confdefs.h <<_ACEOF
67369 #define HAVE_FINITE 1
67370 _ACEOF
67371
67372 fi
67373 done
67374
67375 else
67376
67377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
67378 $as_echo_n "checking for _finite declaration... " >&6; }
67379 if test x${glibcxx_cv_func__finite_use+set} != xset; then
67380 if ${glibcxx_cv_func__finite_use+:} false; then :
67381 $as_echo_n "(cached) " >&6
67382 else
67383
67384
67385 ac_ext=cpp
67386 ac_cpp='$CXXCPP $CPPFLAGS'
67387 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67388 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67389 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67390
67391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67392 /* end confdefs.h. */
67393 #include <math.h>
67394 #ifdef HAVE_IEEEFP_H
67395 #include <ieeefp.h>
67396 #endif
67397
67398 int
67399 main ()
67400 {
67401 _finite(0);
67402 ;
67403 return 0;
67404 }
67405 _ACEOF
67406 if ac_fn_cxx_try_compile "$LINENO"; then :
67407 glibcxx_cv_func__finite_use=yes
67408 else
67409 glibcxx_cv_func__finite_use=no
67410 fi
67411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67412 ac_ext=c
67413 ac_cpp='$CPP $CPPFLAGS'
67414 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67415 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67416 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67417
67418
67419 fi
67420
67421 fi
67422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67423 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67424
67425 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67426 for ac_func in _finite
67427 do :
67428 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67429 if test "x$ac_cv_func__finite" = xyes; then :
67430 cat >>confdefs.h <<_ACEOF
67431 #define HAVE__FINITE 1
67432 _ACEOF
67433
67434 fi
67435 done
67436
67437 fi
67438 fi
67439
67440
67441
67442
67443
67444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67445 $as_echo_n "checking for sincos declaration... " >&6; }
67446 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67447 if ${glibcxx_cv_func_sincos_use+:} false; then :
67448 $as_echo_n "(cached) " >&6
67449 else
67450
67451
67452 ac_ext=cpp
67453 ac_cpp='$CXXCPP $CPPFLAGS'
67454 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67455 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67456 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67457
67458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67459 /* end confdefs.h. */
67460 #include <math.h>
67461 int
67462 main ()
67463 {
67464 sincos(0, 0, 0);
67465 ;
67466 return 0;
67467 }
67468 _ACEOF
67469 if ac_fn_cxx_try_compile "$LINENO"; then :
67470 glibcxx_cv_func_sincos_use=yes
67471 else
67472 glibcxx_cv_func_sincos_use=no
67473 fi
67474 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67475 ac_ext=c
67476 ac_cpp='$CPP $CPPFLAGS'
67477 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67478 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67479 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67480
67481
67482 fi
67483
67484 fi
67485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67486 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67487
67488 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67489 for ac_func in sincos
67490 do :
67491 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67492 if test "x$ac_cv_func_sincos" = xyes; then :
67493 cat >>confdefs.h <<_ACEOF
67494 #define HAVE_SINCOS 1
67495 _ACEOF
67496
67497 fi
67498 done
67499
67500 else
67501
67502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67503 $as_echo_n "checking for _sincos declaration... " >&6; }
67504 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67505 if ${glibcxx_cv_func__sincos_use+:} false; then :
67506 $as_echo_n "(cached) " >&6
67507 else
67508
67509
67510 ac_ext=cpp
67511 ac_cpp='$CXXCPP $CPPFLAGS'
67512 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67513 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67514 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67515
67516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67517 /* end confdefs.h. */
67518 #include <math.h>
67519 int
67520 main ()
67521 {
67522 _sincos(0, 0, 0);
67523 ;
67524 return 0;
67525 }
67526 _ACEOF
67527 if ac_fn_cxx_try_compile "$LINENO"; then :
67528 glibcxx_cv_func__sincos_use=yes
67529 else
67530 glibcxx_cv_func__sincos_use=no
67531 fi
67532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67533 ac_ext=c
67534 ac_cpp='$CPP $CPPFLAGS'
67535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67538
67539
67540 fi
67541
67542 fi
67543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67544 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67545
67546 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67547 for ac_func in _sincos
67548 do :
67549 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67550 if test "x$ac_cv_func__sincos" = xyes; then :
67551 cat >>confdefs.h <<_ACEOF
67552 #define HAVE__SINCOS 1
67553 _ACEOF
67554
67555 fi
67556 done
67557
67558 fi
67559 fi
67560
67561
67562
67563
67564
67565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67566 $as_echo_n "checking for fpclass declaration... " >&6; }
67567 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67568 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67569 $as_echo_n "(cached) " >&6
67570 else
67571
67572
67573 ac_ext=cpp
67574 ac_cpp='$CXXCPP $CPPFLAGS'
67575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67578
67579 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67580 /* end confdefs.h. */
67581 #include <math.h>
67582 #ifdef HAVE_IEEEFP_H
67583 #include <ieeefp.h>
67584 #endif
67585
67586 int
67587 main ()
67588 {
67589 fpclass(0);
67590 ;
67591 return 0;
67592 }
67593 _ACEOF
67594 if ac_fn_cxx_try_compile "$LINENO"; then :
67595 glibcxx_cv_func_fpclass_use=yes
67596 else
67597 glibcxx_cv_func_fpclass_use=no
67598 fi
67599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67600 ac_ext=c
67601 ac_cpp='$CPP $CPPFLAGS'
67602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67605
67606
67607 fi
67608
67609 fi
67610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67611 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67612
67613 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67614 for ac_func in fpclass
67615 do :
67616 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67617 if test "x$ac_cv_func_fpclass" = xyes; then :
67618 cat >>confdefs.h <<_ACEOF
67619 #define HAVE_FPCLASS 1
67620 _ACEOF
67621
67622 fi
67623 done
67624
67625 else
67626
67627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67628 $as_echo_n "checking for _fpclass declaration... " >&6; }
67629 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67630 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67631 $as_echo_n "(cached) " >&6
67632 else
67633
67634
67635 ac_ext=cpp
67636 ac_cpp='$CXXCPP $CPPFLAGS'
67637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67640
67641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67642 /* end confdefs.h. */
67643 #include <math.h>
67644 #ifdef HAVE_IEEEFP_H
67645 #include <ieeefp.h>
67646 #endif
67647
67648 int
67649 main ()
67650 {
67651 _fpclass(0);
67652 ;
67653 return 0;
67654 }
67655 _ACEOF
67656 if ac_fn_cxx_try_compile "$LINENO"; then :
67657 glibcxx_cv_func__fpclass_use=yes
67658 else
67659 glibcxx_cv_func__fpclass_use=no
67660 fi
67661 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67662 ac_ext=c
67663 ac_cpp='$CPP $CPPFLAGS'
67664 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67665 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67666 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67667
67668
67669 fi
67670
67671 fi
67672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67673 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67674
67675 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67676 for ac_func in _fpclass
67677 do :
67678 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67679 if test "x$ac_cv_func__fpclass" = xyes; then :
67680 cat >>confdefs.h <<_ACEOF
67681 #define HAVE__FPCLASS 1
67682 _ACEOF
67683
67684 fi
67685 done
67686
67687 fi
67688 fi
67689
67690
67691
67692
67693
67694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67695 $as_echo_n "checking for qfpclass declaration... " >&6; }
67696 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67697 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67698 $as_echo_n "(cached) " >&6
67699 else
67700
67701
67702 ac_ext=cpp
67703 ac_cpp='$CXXCPP $CPPFLAGS'
67704 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67705 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67706 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67707
67708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67709 /* end confdefs.h. */
67710 #include <math.h>
67711 #ifdef HAVE_IEEEFP_H
67712 #include <ieeefp.h>
67713 #endif
67714
67715 int
67716 main ()
67717 {
67718 qfpclass(0);
67719 ;
67720 return 0;
67721 }
67722 _ACEOF
67723 if ac_fn_cxx_try_compile "$LINENO"; then :
67724 glibcxx_cv_func_qfpclass_use=yes
67725 else
67726 glibcxx_cv_func_qfpclass_use=no
67727 fi
67728 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67729 ac_ext=c
67730 ac_cpp='$CPP $CPPFLAGS'
67731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67734
67735
67736 fi
67737
67738 fi
67739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67740 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67741
67742 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67743 for ac_func in qfpclass
67744 do :
67745 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67746 if test "x$ac_cv_func_qfpclass" = xyes; then :
67747 cat >>confdefs.h <<_ACEOF
67748 #define HAVE_QFPCLASS 1
67749 _ACEOF
67750
67751 fi
67752 done
67753
67754 else
67755
67756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67757 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67758 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67759 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67760 $as_echo_n "(cached) " >&6
67761 else
67762
67763
67764 ac_ext=cpp
67765 ac_cpp='$CXXCPP $CPPFLAGS'
67766 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67767 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67768 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67769
67770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67771 /* end confdefs.h. */
67772 #include <math.h>
67773 #ifdef HAVE_IEEEFP_H
67774 #include <ieeefp.h>
67775 #endif
67776
67777 int
67778 main ()
67779 {
67780 _qfpclass(0);
67781 ;
67782 return 0;
67783 }
67784 _ACEOF
67785 if ac_fn_cxx_try_compile "$LINENO"; then :
67786 glibcxx_cv_func__qfpclass_use=yes
67787 else
67788 glibcxx_cv_func__qfpclass_use=no
67789 fi
67790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67791 ac_ext=c
67792 ac_cpp='$CPP $CPPFLAGS'
67793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67796
67797
67798 fi
67799
67800 fi
67801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67802 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67803
67804 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67805 for ac_func in _qfpclass
67806 do :
67807 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67808 if test "x$ac_cv_func__qfpclass" = xyes; then :
67809 cat >>confdefs.h <<_ACEOF
67810 #define HAVE__QFPCLASS 1
67811 _ACEOF
67812
67813 fi
67814 done
67815
67816 fi
67817 fi
67818
67819
67820
67821
67822
67823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67824 $as_echo_n "checking for hypot declaration... " >&6; }
67825 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67826 if ${glibcxx_cv_func_hypot_use+:} false; then :
67827 $as_echo_n "(cached) " >&6
67828 else
67829
67830
67831 ac_ext=cpp
67832 ac_cpp='$CXXCPP $CPPFLAGS'
67833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67836
67837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67838 /* end confdefs.h. */
67839 #include <math.h>
67840 int
67841 main ()
67842 {
67843 hypot(0, 0);
67844 ;
67845 return 0;
67846 }
67847 _ACEOF
67848 if ac_fn_cxx_try_compile "$LINENO"; then :
67849 glibcxx_cv_func_hypot_use=yes
67850 else
67851 glibcxx_cv_func_hypot_use=no
67852 fi
67853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67854 ac_ext=c
67855 ac_cpp='$CPP $CPPFLAGS'
67856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67859
67860
67861 fi
67862
67863 fi
67864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67865 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67866
67867 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67868 for ac_func in hypot
67869 do :
67870 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67871 if test "x$ac_cv_func_hypot" = xyes; then :
67872 cat >>confdefs.h <<_ACEOF
67873 #define HAVE_HYPOT 1
67874 _ACEOF
67875
67876 fi
67877 done
67878
67879 else
67880
67881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67882 $as_echo_n "checking for _hypot declaration... " >&6; }
67883 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67884 if ${glibcxx_cv_func__hypot_use+:} false; then :
67885 $as_echo_n "(cached) " >&6
67886 else
67887
67888
67889 ac_ext=cpp
67890 ac_cpp='$CXXCPP $CPPFLAGS'
67891 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67892 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67893 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67894
67895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67896 /* end confdefs.h. */
67897 #include <math.h>
67898 int
67899 main ()
67900 {
67901 _hypot(0, 0);
67902 ;
67903 return 0;
67904 }
67905 _ACEOF
67906 if ac_fn_cxx_try_compile "$LINENO"; then :
67907 glibcxx_cv_func__hypot_use=yes
67908 else
67909 glibcxx_cv_func__hypot_use=no
67910 fi
67911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67912 ac_ext=c
67913 ac_cpp='$CPP $CPPFLAGS'
67914 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67915 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67916 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67917
67918
67919 fi
67920
67921 fi
67922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67923 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67924
67925 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67926 for ac_func in _hypot
67927 do :
67928 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67929 if test "x$ac_cv_func__hypot" = xyes; then :
67930 cat >>confdefs.h <<_ACEOF
67931 #define HAVE__HYPOT 1
67932 _ACEOF
67933
67934 fi
67935 done
67936
67937 fi
67938 fi
67939
67940
67941
67942
67943
67944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67945 $as_echo_n "checking for float trig functions... " >&6; }
67946 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67947 $as_echo_n "(cached) " >&6
67948 else
67949
67950
67951 ac_ext=cpp
67952 ac_cpp='$CXXCPP $CPPFLAGS'
67953 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67954 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67955 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67956
67957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67958 /* end confdefs.h. */
67959 #include <math.h>
67960 int
67961 main ()
67962 {
67963 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67964 ;
67965 return 0;
67966 }
67967 _ACEOF
67968 if ac_fn_cxx_try_compile "$LINENO"; then :
67969 glibcxx_cv_func_float_trig_use=yes
67970 else
67971 glibcxx_cv_func_float_trig_use=no
67972 fi
67973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67974 ac_ext=c
67975 ac_cpp='$CPP $CPPFLAGS'
67976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67979
67980 fi
67981
67982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67983 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67984 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67985 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67986 do :
67987 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67988 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67989 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67990 cat >>confdefs.h <<_ACEOF
67991 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67992 _ACEOF
67993
67994 fi
67995 done
67996
67997 else
67998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67999 $as_echo_n "checking for _float trig functions... " >&6; }
68000 if ${glibcxx_cv_func__float_trig_use+:} false; then :
68001 $as_echo_n "(cached) " >&6
68002 else
68003
68004
68005 ac_ext=cpp
68006 ac_cpp='$CXXCPP $CPPFLAGS'
68007 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68008 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68009 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68010
68011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68012 /* end confdefs.h. */
68013 #include <math.h>
68014 int
68015 main ()
68016 {
68017 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
68018 ;
68019 return 0;
68020 }
68021 _ACEOF
68022 if ac_fn_cxx_try_compile "$LINENO"; then :
68023 glibcxx_cv_func__float_trig_use=yes
68024 else
68025 glibcxx_cv_func__float_trig_use=no
68026 fi
68027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68028 ac_ext=c
68029 ac_cpp='$CPP $CPPFLAGS'
68030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68033
68034 fi
68035
68036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
68037 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
68038 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
68039 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
68040 do :
68041 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68042 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68043 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68044 cat >>confdefs.h <<_ACEOF
68045 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68046 _ACEOF
68047
68048 fi
68049 done
68050
68051 fi
68052 fi
68053
68054
68055
68056
68057
68058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
68059 $as_echo_n "checking for float round functions... " >&6; }
68060 if ${glibcxx_cv_func_float_round_use+:} false; then :
68061 $as_echo_n "(cached) " >&6
68062 else
68063
68064
68065 ac_ext=cpp
68066 ac_cpp='$CXXCPP $CPPFLAGS'
68067 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68068 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68069 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68070
68071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68072 /* end confdefs.h. */
68073 #include <math.h>
68074 int
68075 main ()
68076 {
68077 ceilf (0); floorf (0);
68078 ;
68079 return 0;
68080 }
68081 _ACEOF
68082 if ac_fn_cxx_try_compile "$LINENO"; then :
68083 glibcxx_cv_func_float_round_use=yes
68084 else
68085 glibcxx_cv_func_float_round_use=no
68086 fi
68087 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68088 ac_ext=c
68089 ac_cpp='$CPP $CPPFLAGS'
68090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68093
68094 fi
68095
68096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
68097 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
68098 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
68099 for ac_func in ceilf floorf
68100 do :
68101 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68102 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68103 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68104 cat >>confdefs.h <<_ACEOF
68105 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68106 _ACEOF
68107
68108 fi
68109 done
68110
68111 else
68112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
68113 $as_echo_n "checking for _float round functions... " >&6; }
68114 if ${glibcxx_cv_func__float_round_use+:} false; then :
68115 $as_echo_n "(cached) " >&6
68116 else
68117
68118
68119 ac_ext=cpp
68120 ac_cpp='$CXXCPP $CPPFLAGS'
68121 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68122 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68123 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68124
68125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68126 /* end confdefs.h. */
68127 #include <math.h>
68128 int
68129 main ()
68130 {
68131 _ceilf (0); _floorf (0);
68132 ;
68133 return 0;
68134 }
68135 _ACEOF
68136 if ac_fn_cxx_try_compile "$LINENO"; then :
68137 glibcxx_cv_func__float_round_use=yes
68138 else
68139 glibcxx_cv_func__float_round_use=no
68140 fi
68141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68142 ac_ext=c
68143 ac_cpp='$CPP $CPPFLAGS'
68144 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68145 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68146 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68147
68148 fi
68149
68150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
68151 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
68152 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
68153 for ac_func in _ceilf _floorf
68154 do :
68155 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
68156 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
68157 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
68158 cat >>confdefs.h <<_ACEOF
68159 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
68160 _ACEOF
68161
68162 fi
68163 done
68164
68165 fi
68166 fi
68167
68168
68169
68170
68171
68172
68173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
68174 $as_echo_n "checking for expf declaration... " >&6; }
68175 if test x${glibcxx_cv_func_expf_use+set} != xset; then
68176 if ${glibcxx_cv_func_expf_use+:} false; then :
68177 $as_echo_n "(cached) " >&6
68178 else
68179
68180
68181 ac_ext=cpp
68182 ac_cpp='$CXXCPP $CPPFLAGS'
68183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68186
68187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68188 /* end confdefs.h. */
68189 #include <math.h>
68190 #ifdef HAVE_IEEEFP_H
68191 #include <ieeefp.h>
68192 #endif
68193
68194 int
68195 main ()
68196 {
68197 expf(0);
68198 ;
68199 return 0;
68200 }
68201 _ACEOF
68202 if ac_fn_cxx_try_compile "$LINENO"; then :
68203 glibcxx_cv_func_expf_use=yes
68204 else
68205 glibcxx_cv_func_expf_use=no
68206 fi
68207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68208 ac_ext=c
68209 ac_cpp='$CPP $CPPFLAGS'
68210 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68211 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68212 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68213
68214
68215 fi
68216
68217 fi
68218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
68219 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
68220
68221 if test x$glibcxx_cv_func_expf_use = x"yes"; then
68222 for ac_func in expf
68223 do :
68224 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
68225 if test "x$ac_cv_func_expf" = xyes; then :
68226 cat >>confdefs.h <<_ACEOF
68227 #define HAVE_EXPF 1
68228 _ACEOF
68229
68230 fi
68231 done
68232
68233 else
68234
68235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
68236 $as_echo_n "checking for _expf declaration... " >&6; }
68237 if test x${glibcxx_cv_func__expf_use+set} != xset; then
68238 if ${glibcxx_cv_func__expf_use+:} false; then :
68239 $as_echo_n "(cached) " >&6
68240 else
68241
68242
68243 ac_ext=cpp
68244 ac_cpp='$CXXCPP $CPPFLAGS'
68245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68248
68249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68250 /* end confdefs.h. */
68251 #include <math.h>
68252 #ifdef HAVE_IEEEFP_H
68253 #include <ieeefp.h>
68254 #endif
68255
68256 int
68257 main ()
68258 {
68259 _expf(0);
68260 ;
68261 return 0;
68262 }
68263 _ACEOF
68264 if ac_fn_cxx_try_compile "$LINENO"; then :
68265 glibcxx_cv_func__expf_use=yes
68266 else
68267 glibcxx_cv_func__expf_use=no
68268 fi
68269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68270 ac_ext=c
68271 ac_cpp='$CPP $CPPFLAGS'
68272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68275
68276
68277 fi
68278
68279 fi
68280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
68281 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
68282
68283 if test x$glibcxx_cv_func__expf_use = x"yes"; then
68284 for ac_func in _expf
68285 do :
68286 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
68287 if test "x$ac_cv_func__expf" = xyes; then :
68288 cat >>confdefs.h <<_ACEOF
68289 #define HAVE__EXPF 1
68290 _ACEOF
68291
68292 fi
68293 done
68294
68295 fi
68296 fi
68297
68298
68299
68300
68301
68302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
68303 $as_echo_n "checking for isnanf declaration... " >&6; }
68304 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
68305 if ${glibcxx_cv_func_isnanf_use+:} false; then :
68306 $as_echo_n "(cached) " >&6
68307 else
68308
68309
68310 ac_ext=cpp
68311 ac_cpp='$CXXCPP $CPPFLAGS'
68312 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68313 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68314 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68315
68316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68317 /* end confdefs.h. */
68318 #include <math.h>
68319 #ifdef HAVE_IEEEFP_H
68320 #include <ieeefp.h>
68321 #endif
68322
68323 int
68324 main ()
68325 {
68326 isnanf(0);
68327 ;
68328 return 0;
68329 }
68330 _ACEOF
68331 if ac_fn_cxx_try_compile "$LINENO"; then :
68332 glibcxx_cv_func_isnanf_use=yes
68333 else
68334 glibcxx_cv_func_isnanf_use=no
68335 fi
68336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68337 ac_ext=c
68338 ac_cpp='$CPP $CPPFLAGS'
68339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68342
68343
68344 fi
68345
68346 fi
68347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
68348 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
68349
68350 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
68351 for ac_func in isnanf
68352 do :
68353 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
68354 if test "x$ac_cv_func_isnanf" = xyes; then :
68355 cat >>confdefs.h <<_ACEOF
68356 #define HAVE_ISNANF 1
68357 _ACEOF
68358
68359 fi
68360 done
68361
68362 else
68363
68364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
68365 $as_echo_n "checking for _isnanf declaration... " >&6; }
68366 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
68367 if ${glibcxx_cv_func__isnanf_use+:} false; then :
68368 $as_echo_n "(cached) " >&6
68369 else
68370
68371
68372 ac_ext=cpp
68373 ac_cpp='$CXXCPP $CPPFLAGS'
68374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68377
68378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68379 /* end confdefs.h. */
68380 #include <math.h>
68381 #ifdef HAVE_IEEEFP_H
68382 #include <ieeefp.h>
68383 #endif
68384
68385 int
68386 main ()
68387 {
68388 _isnanf(0);
68389 ;
68390 return 0;
68391 }
68392 _ACEOF
68393 if ac_fn_cxx_try_compile "$LINENO"; then :
68394 glibcxx_cv_func__isnanf_use=yes
68395 else
68396 glibcxx_cv_func__isnanf_use=no
68397 fi
68398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68399 ac_ext=c
68400 ac_cpp='$CPP $CPPFLAGS'
68401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68404
68405
68406 fi
68407
68408 fi
68409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68410 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68411
68412 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68413 for ac_func in _isnanf
68414 do :
68415 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68416 if test "x$ac_cv_func__isnanf" = xyes; then :
68417 cat >>confdefs.h <<_ACEOF
68418 #define HAVE__ISNANF 1
68419 _ACEOF
68420
68421 fi
68422 done
68423
68424 fi
68425 fi
68426
68427
68428
68429
68430
68431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68432 $as_echo_n "checking for isinff declaration... " >&6; }
68433 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68434 if ${glibcxx_cv_func_isinff_use+:} false; then :
68435 $as_echo_n "(cached) " >&6
68436 else
68437
68438
68439 ac_ext=cpp
68440 ac_cpp='$CXXCPP $CPPFLAGS'
68441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68444
68445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68446 /* end confdefs.h. */
68447 #include <math.h>
68448 #ifdef HAVE_IEEEFP_H
68449 #include <ieeefp.h>
68450 #endif
68451
68452 int
68453 main ()
68454 {
68455 isinff(0);
68456 ;
68457 return 0;
68458 }
68459 _ACEOF
68460 if ac_fn_cxx_try_compile "$LINENO"; then :
68461 glibcxx_cv_func_isinff_use=yes
68462 else
68463 glibcxx_cv_func_isinff_use=no
68464 fi
68465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68466 ac_ext=c
68467 ac_cpp='$CPP $CPPFLAGS'
68468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68471
68472
68473 fi
68474
68475 fi
68476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68477 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68478
68479 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68480 for ac_func in isinff
68481 do :
68482 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68483 if test "x$ac_cv_func_isinff" = xyes; then :
68484 cat >>confdefs.h <<_ACEOF
68485 #define HAVE_ISINFF 1
68486 _ACEOF
68487
68488 fi
68489 done
68490
68491 else
68492
68493 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68494 $as_echo_n "checking for _isinff declaration... " >&6; }
68495 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68496 if ${glibcxx_cv_func__isinff_use+:} false; then :
68497 $as_echo_n "(cached) " >&6
68498 else
68499
68500
68501 ac_ext=cpp
68502 ac_cpp='$CXXCPP $CPPFLAGS'
68503 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68504 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68505 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68506
68507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68508 /* end confdefs.h. */
68509 #include <math.h>
68510 #ifdef HAVE_IEEEFP_H
68511 #include <ieeefp.h>
68512 #endif
68513
68514 int
68515 main ()
68516 {
68517 _isinff(0);
68518 ;
68519 return 0;
68520 }
68521 _ACEOF
68522 if ac_fn_cxx_try_compile "$LINENO"; then :
68523 glibcxx_cv_func__isinff_use=yes
68524 else
68525 glibcxx_cv_func__isinff_use=no
68526 fi
68527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68528 ac_ext=c
68529 ac_cpp='$CPP $CPPFLAGS'
68530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68533
68534
68535 fi
68536
68537 fi
68538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68539 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68540
68541 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68542 for ac_func in _isinff
68543 do :
68544 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68545 if test "x$ac_cv_func__isinff" = xyes; then :
68546 cat >>confdefs.h <<_ACEOF
68547 #define HAVE__ISINFF 1
68548 _ACEOF
68549
68550 fi
68551 done
68552
68553 fi
68554 fi
68555
68556
68557
68558
68559
68560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68561 $as_echo_n "checking for atan2f declaration... " >&6; }
68562 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68563 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68564 $as_echo_n "(cached) " >&6
68565 else
68566
68567
68568 ac_ext=cpp
68569 ac_cpp='$CXXCPP $CPPFLAGS'
68570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68573
68574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68575 /* end confdefs.h. */
68576 #include <math.h>
68577 int
68578 main ()
68579 {
68580 atan2f(0, 0);
68581 ;
68582 return 0;
68583 }
68584 _ACEOF
68585 if ac_fn_cxx_try_compile "$LINENO"; then :
68586 glibcxx_cv_func_atan2f_use=yes
68587 else
68588 glibcxx_cv_func_atan2f_use=no
68589 fi
68590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68591 ac_ext=c
68592 ac_cpp='$CPP $CPPFLAGS'
68593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68596
68597
68598 fi
68599
68600 fi
68601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68602 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68603
68604 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68605 for ac_func in atan2f
68606 do :
68607 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68608 if test "x$ac_cv_func_atan2f" = xyes; then :
68609 cat >>confdefs.h <<_ACEOF
68610 #define HAVE_ATAN2F 1
68611 _ACEOF
68612
68613 fi
68614 done
68615
68616 else
68617
68618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68619 $as_echo_n "checking for _atan2f declaration... " >&6; }
68620 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68621 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68622 $as_echo_n "(cached) " >&6
68623 else
68624
68625
68626 ac_ext=cpp
68627 ac_cpp='$CXXCPP $CPPFLAGS'
68628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68631
68632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68633 /* end confdefs.h. */
68634 #include <math.h>
68635 int
68636 main ()
68637 {
68638 _atan2f(0, 0);
68639 ;
68640 return 0;
68641 }
68642 _ACEOF
68643 if ac_fn_cxx_try_compile "$LINENO"; then :
68644 glibcxx_cv_func__atan2f_use=yes
68645 else
68646 glibcxx_cv_func__atan2f_use=no
68647 fi
68648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68649 ac_ext=c
68650 ac_cpp='$CPP $CPPFLAGS'
68651 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68652 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68653 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68654
68655
68656 fi
68657
68658 fi
68659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68660 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68661
68662 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68663 for ac_func in _atan2f
68664 do :
68665 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68666 if test "x$ac_cv_func__atan2f" = xyes; then :
68667 cat >>confdefs.h <<_ACEOF
68668 #define HAVE__ATAN2F 1
68669 _ACEOF
68670
68671 fi
68672 done
68673
68674 fi
68675 fi
68676
68677
68678
68679
68680
68681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68682 $as_echo_n "checking for fabsf declaration... " >&6; }
68683 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68684 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68685 $as_echo_n "(cached) " >&6
68686 else
68687
68688
68689 ac_ext=cpp
68690 ac_cpp='$CXXCPP $CPPFLAGS'
68691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68694
68695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68696 /* end confdefs.h. */
68697 #include <math.h>
68698 #ifdef HAVE_IEEEFP_H
68699 #include <ieeefp.h>
68700 #endif
68701
68702 int
68703 main ()
68704 {
68705 fabsf(0);
68706 ;
68707 return 0;
68708 }
68709 _ACEOF
68710 if ac_fn_cxx_try_compile "$LINENO"; then :
68711 glibcxx_cv_func_fabsf_use=yes
68712 else
68713 glibcxx_cv_func_fabsf_use=no
68714 fi
68715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68716 ac_ext=c
68717 ac_cpp='$CPP $CPPFLAGS'
68718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68721
68722
68723 fi
68724
68725 fi
68726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68727 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68728
68729 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68730 for ac_func in fabsf
68731 do :
68732 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68733 if test "x$ac_cv_func_fabsf" = xyes; then :
68734 cat >>confdefs.h <<_ACEOF
68735 #define HAVE_FABSF 1
68736 _ACEOF
68737
68738 fi
68739 done
68740
68741 else
68742
68743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68744 $as_echo_n "checking for _fabsf declaration... " >&6; }
68745 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68746 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68747 $as_echo_n "(cached) " >&6
68748 else
68749
68750
68751 ac_ext=cpp
68752 ac_cpp='$CXXCPP $CPPFLAGS'
68753 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68754 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68755 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68756
68757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68758 /* end confdefs.h. */
68759 #include <math.h>
68760 #ifdef HAVE_IEEEFP_H
68761 #include <ieeefp.h>
68762 #endif
68763
68764 int
68765 main ()
68766 {
68767 _fabsf(0);
68768 ;
68769 return 0;
68770 }
68771 _ACEOF
68772 if ac_fn_cxx_try_compile "$LINENO"; then :
68773 glibcxx_cv_func__fabsf_use=yes
68774 else
68775 glibcxx_cv_func__fabsf_use=no
68776 fi
68777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68778 ac_ext=c
68779 ac_cpp='$CPP $CPPFLAGS'
68780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68783
68784
68785 fi
68786
68787 fi
68788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68789 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68790
68791 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68792 for ac_func in _fabsf
68793 do :
68794 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68795 if test "x$ac_cv_func__fabsf" = xyes; then :
68796 cat >>confdefs.h <<_ACEOF
68797 #define HAVE__FABSF 1
68798 _ACEOF
68799
68800 fi
68801 done
68802
68803 fi
68804 fi
68805
68806
68807
68808
68809
68810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68811 $as_echo_n "checking for fmodf declaration... " >&6; }
68812 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68813 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68814 $as_echo_n "(cached) " >&6
68815 else
68816
68817
68818 ac_ext=cpp
68819 ac_cpp='$CXXCPP $CPPFLAGS'
68820 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68821 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68822 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68823
68824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68825 /* end confdefs.h. */
68826 #include <math.h>
68827 int
68828 main ()
68829 {
68830 fmodf(0, 0);
68831 ;
68832 return 0;
68833 }
68834 _ACEOF
68835 if ac_fn_cxx_try_compile "$LINENO"; then :
68836 glibcxx_cv_func_fmodf_use=yes
68837 else
68838 glibcxx_cv_func_fmodf_use=no
68839 fi
68840 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68841 ac_ext=c
68842 ac_cpp='$CPP $CPPFLAGS'
68843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68846
68847
68848 fi
68849
68850 fi
68851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68852 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68853
68854 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68855 for ac_func in fmodf
68856 do :
68857 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68858 if test "x$ac_cv_func_fmodf" = xyes; then :
68859 cat >>confdefs.h <<_ACEOF
68860 #define HAVE_FMODF 1
68861 _ACEOF
68862
68863 fi
68864 done
68865
68866 else
68867
68868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68869 $as_echo_n "checking for _fmodf declaration... " >&6; }
68870 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68871 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68872 $as_echo_n "(cached) " >&6
68873 else
68874
68875
68876 ac_ext=cpp
68877 ac_cpp='$CXXCPP $CPPFLAGS'
68878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68881
68882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68883 /* end confdefs.h. */
68884 #include <math.h>
68885 int
68886 main ()
68887 {
68888 _fmodf(0, 0);
68889 ;
68890 return 0;
68891 }
68892 _ACEOF
68893 if ac_fn_cxx_try_compile "$LINENO"; then :
68894 glibcxx_cv_func__fmodf_use=yes
68895 else
68896 glibcxx_cv_func__fmodf_use=no
68897 fi
68898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68899 ac_ext=c
68900 ac_cpp='$CPP $CPPFLAGS'
68901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68904
68905
68906 fi
68907
68908 fi
68909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68910 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68911
68912 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68913 for ac_func in _fmodf
68914 do :
68915 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68916 if test "x$ac_cv_func__fmodf" = xyes; then :
68917 cat >>confdefs.h <<_ACEOF
68918 #define HAVE__FMODF 1
68919 _ACEOF
68920
68921 fi
68922 done
68923
68924 fi
68925 fi
68926
68927
68928
68929
68930
68931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68932 $as_echo_n "checking for frexpf declaration... " >&6; }
68933 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68934 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68935 $as_echo_n "(cached) " >&6
68936 else
68937
68938
68939 ac_ext=cpp
68940 ac_cpp='$CXXCPP $CPPFLAGS'
68941 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68942 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68943 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68944
68945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68946 /* end confdefs.h. */
68947 #include <math.h>
68948 int
68949 main ()
68950 {
68951 frexpf(0, 0);
68952 ;
68953 return 0;
68954 }
68955 _ACEOF
68956 if ac_fn_cxx_try_compile "$LINENO"; then :
68957 glibcxx_cv_func_frexpf_use=yes
68958 else
68959 glibcxx_cv_func_frexpf_use=no
68960 fi
68961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68962 ac_ext=c
68963 ac_cpp='$CPP $CPPFLAGS'
68964 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68965 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68966 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68967
68968
68969 fi
68970
68971 fi
68972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68973 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68974
68975 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68976 for ac_func in frexpf
68977 do :
68978 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68979 if test "x$ac_cv_func_frexpf" = xyes; then :
68980 cat >>confdefs.h <<_ACEOF
68981 #define HAVE_FREXPF 1
68982 _ACEOF
68983
68984 fi
68985 done
68986
68987 else
68988
68989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68990 $as_echo_n "checking for _frexpf declaration... " >&6; }
68991 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68992 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68993 $as_echo_n "(cached) " >&6
68994 else
68995
68996
68997 ac_ext=cpp
68998 ac_cpp='$CXXCPP $CPPFLAGS'
68999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69002
69003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69004 /* end confdefs.h. */
69005 #include <math.h>
69006 int
69007 main ()
69008 {
69009 _frexpf(0, 0);
69010 ;
69011 return 0;
69012 }
69013 _ACEOF
69014 if ac_fn_cxx_try_compile "$LINENO"; then :
69015 glibcxx_cv_func__frexpf_use=yes
69016 else
69017 glibcxx_cv_func__frexpf_use=no
69018 fi
69019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69020 ac_ext=c
69021 ac_cpp='$CPP $CPPFLAGS'
69022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69025
69026
69027 fi
69028
69029 fi
69030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
69031 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
69032
69033 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
69034 for ac_func in _frexpf
69035 do :
69036 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
69037 if test "x$ac_cv_func__frexpf" = xyes; then :
69038 cat >>confdefs.h <<_ACEOF
69039 #define HAVE__FREXPF 1
69040 _ACEOF
69041
69042 fi
69043 done
69044
69045 fi
69046 fi
69047
69048
69049
69050
69051
69052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
69053 $as_echo_n "checking for hypotf declaration... " >&6; }
69054 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
69055 if ${glibcxx_cv_func_hypotf_use+:} false; then :
69056 $as_echo_n "(cached) " >&6
69057 else
69058
69059
69060 ac_ext=cpp
69061 ac_cpp='$CXXCPP $CPPFLAGS'
69062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69065
69066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69067 /* end confdefs.h. */
69068 #include <math.h>
69069 int
69070 main ()
69071 {
69072 hypotf(0, 0);
69073 ;
69074 return 0;
69075 }
69076 _ACEOF
69077 if ac_fn_cxx_try_compile "$LINENO"; then :
69078 glibcxx_cv_func_hypotf_use=yes
69079 else
69080 glibcxx_cv_func_hypotf_use=no
69081 fi
69082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69083 ac_ext=c
69084 ac_cpp='$CPP $CPPFLAGS'
69085 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69086 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69087 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69088
69089
69090 fi
69091
69092 fi
69093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
69094 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
69095
69096 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
69097 for ac_func in hypotf
69098 do :
69099 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
69100 if test "x$ac_cv_func_hypotf" = xyes; then :
69101 cat >>confdefs.h <<_ACEOF
69102 #define HAVE_HYPOTF 1
69103 _ACEOF
69104
69105 fi
69106 done
69107
69108 else
69109
69110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
69111 $as_echo_n "checking for _hypotf declaration... " >&6; }
69112 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
69113 if ${glibcxx_cv_func__hypotf_use+:} false; then :
69114 $as_echo_n "(cached) " >&6
69115 else
69116
69117
69118 ac_ext=cpp
69119 ac_cpp='$CXXCPP $CPPFLAGS'
69120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69123
69124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69125 /* end confdefs.h. */
69126 #include <math.h>
69127 int
69128 main ()
69129 {
69130 _hypotf(0, 0);
69131 ;
69132 return 0;
69133 }
69134 _ACEOF
69135 if ac_fn_cxx_try_compile "$LINENO"; then :
69136 glibcxx_cv_func__hypotf_use=yes
69137 else
69138 glibcxx_cv_func__hypotf_use=no
69139 fi
69140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69141 ac_ext=c
69142 ac_cpp='$CPP $CPPFLAGS'
69143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69146
69147
69148 fi
69149
69150 fi
69151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
69152 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
69153
69154 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
69155 for ac_func in _hypotf
69156 do :
69157 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
69158 if test "x$ac_cv_func__hypotf" = xyes; then :
69159 cat >>confdefs.h <<_ACEOF
69160 #define HAVE__HYPOTF 1
69161 _ACEOF
69162
69163 fi
69164 done
69165
69166 fi
69167 fi
69168
69169
69170
69171
69172
69173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
69174 $as_echo_n "checking for ldexpf declaration... " >&6; }
69175 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
69176 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
69177 $as_echo_n "(cached) " >&6
69178 else
69179
69180
69181 ac_ext=cpp
69182 ac_cpp='$CXXCPP $CPPFLAGS'
69183 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69184 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69185 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69186
69187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69188 /* end confdefs.h. */
69189 #include <math.h>
69190 int
69191 main ()
69192 {
69193 ldexpf(0, 0);
69194 ;
69195 return 0;
69196 }
69197 _ACEOF
69198 if ac_fn_cxx_try_compile "$LINENO"; then :
69199 glibcxx_cv_func_ldexpf_use=yes
69200 else
69201 glibcxx_cv_func_ldexpf_use=no
69202 fi
69203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69204 ac_ext=c
69205 ac_cpp='$CPP $CPPFLAGS'
69206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69209
69210
69211 fi
69212
69213 fi
69214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
69215 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
69216
69217 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
69218 for ac_func in ldexpf
69219 do :
69220 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
69221 if test "x$ac_cv_func_ldexpf" = xyes; then :
69222 cat >>confdefs.h <<_ACEOF
69223 #define HAVE_LDEXPF 1
69224 _ACEOF
69225
69226 fi
69227 done
69228
69229 else
69230
69231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
69232 $as_echo_n "checking for _ldexpf declaration... " >&6; }
69233 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
69234 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
69235 $as_echo_n "(cached) " >&6
69236 else
69237
69238
69239 ac_ext=cpp
69240 ac_cpp='$CXXCPP $CPPFLAGS'
69241 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69242 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69243 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69244
69245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69246 /* end confdefs.h. */
69247 #include <math.h>
69248 int
69249 main ()
69250 {
69251 _ldexpf(0, 0);
69252 ;
69253 return 0;
69254 }
69255 _ACEOF
69256 if ac_fn_cxx_try_compile "$LINENO"; then :
69257 glibcxx_cv_func__ldexpf_use=yes
69258 else
69259 glibcxx_cv_func__ldexpf_use=no
69260 fi
69261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69262 ac_ext=c
69263 ac_cpp='$CPP $CPPFLAGS'
69264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69267
69268
69269 fi
69270
69271 fi
69272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
69273 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
69274
69275 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
69276 for ac_func in _ldexpf
69277 do :
69278 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
69279 if test "x$ac_cv_func__ldexpf" = xyes; then :
69280 cat >>confdefs.h <<_ACEOF
69281 #define HAVE__LDEXPF 1
69282 _ACEOF
69283
69284 fi
69285 done
69286
69287 fi
69288 fi
69289
69290
69291
69292
69293
69294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
69295 $as_echo_n "checking for logf declaration... " >&6; }
69296 if test x${glibcxx_cv_func_logf_use+set} != xset; then
69297 if ${glibcxx_cv_func_logf_use+:} false; then :
69298 $as_echo_n "(cached) " >&6
69299 else
69300
69301
69302 ac_ext=cpp
69303 ac_cpp='$CXXCPP $CPPFLAGS'
69304 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69305 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69306 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69307
69308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69309 /* end confdefs.h. */
69310 #include <math.h>
69311 #ifdef HAVE_IEEEFP_H
69312 #include <ieeefp.h>
69313 #endif
69314
69315 int
69316 main ()
69317 {
69318 logf(0);
69319 ;
69320 return 0;
69321 }
69322 _ACEOF
69323 if ac_fn_cxx_try_compile "$LINENO"; then :
69324 glibcxx_cv_func_logf_use=yes
69325 else
69326 glibcxx_cv_func_logf_use=no
69327 fi
69328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69329 ac_ext=c
69330 ac_cpp='$CPP $CPPFLAGS'
69331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69334
69335
69336 fi
69337
69338 fi
69339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
69340 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
69341
69342 if test x$glibcxx_cv_func_logf_use = x"yes"; then
69343 for ac_func in logf
69344 do :
69345 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
69346 if test "x$ac_cv_func_logf" = xyes; then :
69347 cat >>confdefs.h <<_ACEOF
69348 #define HAVE_LOGF 1
69349 _ACEOF
69350
69351 fi
69352 done
69353
69354 else
69355
69356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
69357 $as_echo_n "checking for _logf declaration... " >&6; }
69358 if test x${glibcxx_cv_func__logf_use+set} != xset; then
69359 if ${glibcxx_cv_func__logf_use+:} false; then :
69360 $as_echo_n "(cached) " >&6
69361 else
69362
69363
69364 ac_ext=cpp
69365 ac_cpp='$CXXCPP $CPPFLAGS'
69366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69369
69370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69371 /* end confdefs.h. */
69372 #include <math.h>
69373 #ifdef HAVE_IEEEFP_H
69374 #include <ieeefp.h>
69375 #endif
69376
69377 int
69378 main ()
69379 {
69380 _logf(0);
69381 ;
69382 return 0;
69383 }
69384 _ACEOF
69385 if ac_fn_cxx_try_compile "$LINENO"; then :
69386 glibcxx_cv_func__logf_use=yes
69387 else
69388 glibcxx_cv_func__logf_use=no
69389 fi
69390 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69391 ac_ext=c
69392 ac_cpp='$CPP $CPPFLAGS'
69393 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69394 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69395 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69396
69397
69398 fi
69399
69400 fi
69401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
69402 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
69403
69404 if test x$glibcxx_cv_func__logf_use = x"yes"; then
69405 for ac_func in _logf
69406 do :
69407 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69408 if test "x$ac_cv_func__logf" = xyes; then :
69409 cat >>confdefs.h <<_ACEOF
69410 #define HAVE__LOGF 1
69411 _ACEOF
69412
69413 fi
69414 done
69415
69416 fi
69417 fi
69418
69419
69420
69421
69422
69423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69424 $as_echo_n "checking for log10f declaration... " >&6; }
69425 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69426 if ${glibcxx_cv_func_log10f_use+:} false; then :
69427 $as_echo_n "(cached) " >&6
69428 else
69429
69430
69431 ac_ext=cpp
69432 ac_cpp='$CXXCPP $CPPFLAGS'
69433 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69434 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69435 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69436
69437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69438 /* end confdefs.h. */
69439 #include <math.h>
69440 #ifdef HAVE_IEEEFP_H
69441 #include <ieeefp.h>
69442 #endif
69443
69444 int
69445 main ()
69446 {
69447 log10f(0);
69448 ;
69449 return 0;
69450 }
69451 _ACEOF
69452 if ac_fn_cxx_try_compile "$LINENO"; then :
69453 glibcxx_cv_func_log10f_use=yes
69454 else
69455 glibcxx_cv_func_log10f_use=no
69456 fi
69457 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69458 ac_ext=c
69459 ac_cpp='$CPP $CPPFLAGS'
69460 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69461 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69462 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69463
69464
69465 fi
69466
69467 fi
69468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69469 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69470
69471 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69472 for ac_func in log10f
69473 do :
69474 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69475 if test "x$ac_cv_func_log10f" = xyes; then :
69476 cat >>confdefs.h <<_ACEOF
69477 #define HAVE_LOG10F 1
69478 _ACEOF
69479
69480 fi
69481 done
69482
69483 else
69484
69485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69486 $as_echo_n "checking for _log10f declaration... " >&6; }
69487 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69488 if ${glibcxx_cv_func__log10f_use+:} false; then :
69489 $as_echo_n "(cached) " >&6
69490 else
69491
69492
69493 ac_ext=cpp
69494 ac_cpp='$CXXCPP $CPPFLAGS'
69495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69498
69499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69500 /* end confdefs.h. */
69501 #include <math.h>
69502 #ifdef HAVE_IEEEFP_H
69503 #include <ieeefp.h>
69504 #endif
69505
69506 int
69507 main ()
69508 {
69509 _log10f(0);
69510 ;
69511 return 0;
69512 }
69513 _ACEOF
69514 if ac_fn_cxx_try_compile "$LINENO"; then :
69515 glibcxx_cv_func__log10f_use=yes
69516 else
69517 glibcxx_cv_func__log10f_use=no
69518 fi
69519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69520 ac_ext=c
69521 ac_cpp='$CPP $CPPFLAGS'
69522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69525
69526
69527 fi
69528
69529 fi
69530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69531 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69532
69533 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69534 for ac_func in _log10f
69535 do :
69536 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69537 if test "x$ac_cv_func__log10f" = xyes; then :
69538 cat >>confdefs.h <<_ACEOF
69539 #define HAVE__LOG10F 1
69540 _ACEOF
69541
69542 fi
69543 done
69544
69545 fi
69546 fi
69547
69548
69549
69550
69551
69552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69553 $as_echo_n "checking for modff declaration... " >&6; }
69554 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69555 if ${glibcxx_cv_func_modff_use+:} false; then :
69556 $as_echo_n "(cached) " >&6
69557 else
69558
69559
69560 ac_ext=cpp
69561 ac_cpp='$CXXCPP $CPPFLAGS'
69562 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69563 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69564 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69565
69566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69567 /* end confdefs.h. */
69568 #include <math.h>
69569 int
69570 main ()
69571 {
69572 modff(0, 0);
69573 ;
69574 return 0;
69575 }
69576 _ACEOF
69577 if ac_fn_cxx_try_compile "$LINENO"; then :
69578 glibcxx_cv_func_modff_use=yes
69579 else
69580 glibcxx_cv_func_modff_use=no
69581 fi
69582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69583 ac_ext=c
69584 ac_cpp='$CPP $CPPFLAGS'
69585 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69586 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69587 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69588
69589
69590 fi
69591
69592 fi
69593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69594 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69595
69596 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69597 for ac_func in modff
69598 do :
69599 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69600 if test "x$ac_cv_func_modff" = xyes; then :
69601 cat >>confdefs.h <<_ACEOF
69602 #define HAVE_MODFF 1
69603 _ACEOF
69604
69605 fi
69606 done
69607
69608 else
69609
69610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69611 $as_echo_n "checking for _modff declaration... " >&6; }
69612 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69613 if ${glibcxx_cv_func__modff_use+:} false; then :
69614 $as_echo_n "(cached) " >&6
69615 else
69616
69617
69618 ac_ext=cpp
69619 ac_cpp='$CXXCPP $CPPFLAGS'
69620 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69621 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69622 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69623
69624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69625 /* end confdefs.h. */
69626 #include <math.h>
69627 int
69628 main ()
69629 {
69630 _modff(0, 0);
69631 ;
69632 return 0;
69633 }
69634 _ACEOF
69635 if ac_fn_cxx_try_compile "$LINENO"; then :
69636 glibcxx_cv_func__modff_use=yes
69637 else
69638 glibcxx_cv_func__modff_use=no
69639 fi
69640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69641 ac_ext=c
69642 ac_cpp='$CPP $CPPFLAGS'
69643 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69644 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69645 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69646
69647
69648 fi
69649
69650 fi
69651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69652 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69653
69654 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69655 for ac_func in _modff
69656 do :
69657 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69658 if test "x$ac_cv_func__modff" = xyes; then :
69659 cat >>confdefs.h <<_ACEOF
69660 #define HAVE__MODFF 1
69661 _ACEOF
69662
69663 fi
69664 done
69665
69666 fi
69667 fi
69668
69669
69670
69671
69672
69673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69674 $as_echo_n "checking for modf declaration... " >&6; }
69675 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69676 if ${glibcxx_cv_func_modf_use+:} false; then :
69677 $as_echo_n "(cached) " >&6
69678 else
69679
69680
69681 ac_ext=cpp
69682 ac_cpp='$CXXCPP $CPPFLAGS'
69683 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69684 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69685 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69686
69687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69688 /* end confdefs.h. */
69689 #include <math.h>
69690 int
69691 main ()
69692 {
69693 modf(0, 0);
69694 ;
69695 return 0;
69696 }
69697 _ACEOF
69698 if ac_fn_cxx_try_compile "$LINENO"; then :
69699 glibcxx_cv_func_modf_use=yes
69700 else
69701 glibcxx_cv_func_modf_use=no
69702 fi
69703 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69704 ac_ext=c
69705 ac_cpp='$CPP $CPPFLAGS'
69706 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69707 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69708 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69709
69710
69711 fi
69712
69713 fi
69714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69715 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69716
69717 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69718 for ac_func in modf
69719 do :
69720 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69721 if test "x$ac_cv_func_modf" = xyes; then :
69722 cat >>confdefs.h <<_ACEOF
69723 #define HAVE_MODF 1
69724 _ACEOF
69725
69726 fi
69727 done
69728
69729 else
69730
69731 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69732 $as_echo_n "checking for _modf declaration... " >&6; }
69733 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69734 if ${glibcxx_cv_func__modf_use+:} false; then :
69735 $as_echo_n "(cached) " >&6
69736 else
69737
69738
69739 ac_ext=cpp
69740 ac_cpp='$CXXCPP $CPPFLAGS'
69741 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69742 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69743 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69744
69745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69746 /* end confdefs.h. */
69747 #include <math.h>
69748 int
69749 main ()
69750 {
69751 _modf(0, 0);
69752 ;
69753 return 0;
69754 }
69755 _ACEOF
69756 if ac_fn_cxx_try_compile "$LINENO"; then :
69757 glibcxx_cv_func__modf_use=yes
69758 else
69759 glibcxx_cv_func__modf_use=no
69760 fi
69761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69762 ac_ext=c
69763 ac_cpp='$CPP $CPPFLAGS'
69764 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69765 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69766 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69767
69768
69769 fi
69770
69771 fi
69772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69773 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69774
69775 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69776 for ac_func in _modf
69777 do :
69778 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69779 if test "x$ac_cv_func__modf" = xyes; then :
69780 cat >>confdefs.h <<_ACEOF
69781 #define HAVE__MODF 1
69782 _ACEOF
69783
69784 fi
69785 done
69786
69787 fi
69788 fi
69789
69790
69791
69792
69793
69794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69795 $as_echo_n "checking for powf declaration... " >&6; }
69796 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69797 if ${glibcxx_cv_func_powf_use+:} false; then :
69798 $as_echo_n "(cached) " >&6
69799 else
69800
69801
69802 ac_ext=cpp
69803 ac_cpp='$CXXCPP $CPPFLAGS'
69804 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69805 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69806 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69807
69808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69809 /* end confdefs.h. */
69810 #include <math.h>
69811 int
69812 main ()
69813 {
69814 powf(0, 0);
69815 ;
69816 return 0;
69817 }
69818 _ACEOF
69819 if ac_fn_cxx_try_compile "$LINENO"; then :
69820 glibcxx_cv_func_powf_use=yes
69821 else
69822 glibcxx_cv_func_powf_use=no
69823 fi
69824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69825 ac_ext=c
69826 ac_cpp='$CPP $CPPFLAGS'
69827 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69828 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69829 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69830
69831
69832 fi
69833
69834 fi
69835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69836 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69837
69838 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69839 for ac_func in powf
69840 do :
69841 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69842 if test "x$ac_cv_func_powf" = xyes; then :
69843 cat >>confdefs.h <<_ACEOF
69844 #define HAVE_POWF 1
69845 _ACEOF
69846
69847 fi
69848 done
69849
69850 else
69851
69852 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69853 $as_echo_n "checking for _powf declaration... " >&6; }
69854 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69855 if ${glibcxx_cv_func__powf_use+:} false; then :
69856 $as_echo_n "(cached) " >&6
69857 else
69858
69859
69860 ac_ext=cpp
69861 ac_cpp='$CXXCPP $CPPFLAGS'
69862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69865
69866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69867 /* end confdefs.h. */
69868 #include <math.h>
69869 int
69870 main ()
69871 {
69872 _powf(0, 0);
69873 ;
69874 return 0;
69875 }
69876 _ACEOF
69877 if ac_fn_cxx_try_compile "$LINENO"; then :
69878 glibcxx_cv_func__powf_use=yes
69879 else
69880 glibcxx_cv_func__powf_use=no
69881 fi
69882 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69883 ac_ext=c
69884 ac_cpp='$CPP $CPPFLAGS'
69885 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69886 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69887 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69888
69889
69890 fi
69891
69892 fi
69893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69894 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69895
69896 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69897 for ac_func in _powf
69898 do :
69899 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69900 if test "x$ac_cv_func__powf" = xyes; then :
69901 cat >>confdefs.h <<_ACEOF
69902 #define HAVE__POWF 1
69903 _ACEOF
69904
69905 fi
69906 done
69907
69908 fi
69909 fi
69910
69911
69912
69913
69914
69915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69916 $as_echo_n "checking for sqrtf declaration... " >&6; }
69917 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69918 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69919 $as_echo_n "(cached) " >&6
69920 else
69921
69922
69923 ac_ext=cpp
69924 ac_cpp='$CXXCPP $CPPFLAGS'
69925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69928
69929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69930 /* end confdefs.h. */
69931 #include <math.h>
69932 #ifdef HAVE_IEEEFP_H
69933 #include <ieeefp.h>
69934 #endif
69935
69936 int
69937 main ()
69938 {
69939 sqrtf(0);
69940 ;
69941 return 0;
69942 }
69943 _ACEOF
69944 if ac_fn_cxx_try_compile "$LINENO"; then :
69945 glibcxx_cv_func_sqrtf_use=yes
69946 else
69947 glibcxx_cv_func_sqrtf_use=no
69948 fi
69949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69950 ac_ext=c
69951 ac_cpp='$CPP $CPPFLAGS'
69952 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69953 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69954 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69955
69956
69957 fi
69958
69959 fi
69960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69961 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69962
69963 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69964 for ac_func in sqrtf
69965 do :
69966 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69967 if test "x$ac_cv_func_sqrtf" = xyes; then :
69968 cat >>confdefs.h <<_ACEOF
69969 #define HAVE_SQRTF 1
69970 _ACEOF
69971
69972 fi
69973 done
69974
69975 else
69976
69977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69978 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69979 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69980 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69981 $as_echo_n "(cached) " >&6
69982 else
69983
69984
69985 ac_ext=cpp
69986 ac_cpp='$CXXCPP $CPPFLAGS'
69987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69990
69991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69992 /* end confdefs.h. */
69993 #include <math.h>
69994 #ifdef HAVE_IEEEFP_H
69995 #include <ieeefp.h>
69996 #endif
69997
69998 int
69999 main ()
70000 {
70001 _sqrtf(0);
70002 ;
70003 return 0;
70004 }
70005 _ACEOF
70006 if ac_fn_cxx_try_compile "$LINENO"; then :
70007 glibcxx_cv_func__sqrtf_use=yes
70008 else
70009 glibcxx_cv_func__sqrtf_use=no
70010 fi
70011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70012 ac_ext=c
70013 ac_cpp='$CPP $CPPFLAGS'
70014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70017
70018
70019 fi
70020
70021 fi
70022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
70023 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
70024
70025 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
70026 for ac_func in _sqrtf
70027 do :
70028 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
70029 if test "x$ac_cv_func__sqrtf" = xyes; then :
70030 cat >>confdefs.h <<_ACEOF
70031 #define HAVE__SQRTF 1
70032 _ACEOF
70033
70034 fi
70035 done
70036
70037 fi
70038 fi
70039
70040
70041
70042
70043
70044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
70045 $as_echo_n "checking for sincosf declaration... " >&6; }
70046 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
70047 if ${glibcxx_cv_func_sincosf_use+:} false; then :
70048 $as_echo_n "(cached) " >&6
70049 else
70050
70051
70052 ac_ext=cpp
70053 ac_cpp='$CXXCPP $CPPFLAGS'
70054 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70055 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70056 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70057
70058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70059 /* end confdefs.h. */
70060 #include <math.h>
70061 int
70062 main ()
70063 {
70064 sincosf(0, 0, 0);
70065 ;
70066 return 0;
70067 }
70068 _ACEOF
70069 if ac_fn_cxx_try_compile "$LINENO"; then :
70070 glibcxx_cv_func_sincosf_use=yes
70071 else
70072 glibcxx_cv_func_sincosf_use=no
70073 fi
70074 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70075 ac_ext=c
70076 ac_cpp='$CPP $CPPFLAGS'
70077 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70078 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70079 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70080
70081
70082 fi
70083
70084 fi
70085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
70086 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
70087
70088 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
70089 for ac_func in sincosf
70090 do :
70091 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
70092 if test "x$ac_cv_func_sincosf" = xyes; then :
70093 cat >>confdefs.h <<_ACEOF
70094 #define HAVE_SINCOSF 1
70095 _ACEOF
70096
70097 fi
70098 done
70099
70100 else
70101
70102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
70103 $as_echo_n "checking for _sincosf declaration... " >&6; }
70104 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
70105 if ${glibcxx_cv_func__sincosf_use+:} false; then :
70106 $as_echo_n "(cached) " >&6
70107 else
70108
70109
70110 ac_ext=cpp
70111 ac_cpp='$CXXCPP $CPPFLAGS'
70112 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70113 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70114 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70115
70116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70117 /* end confdefs.h. */
70118 #include <math.h>
70119 int
70120 main ()
70121 {
70122 _sincosf(0, 0, 0);
70123 ;
70124 return 0;
70125 }
70126 _ACEOF
70127 if ac_fn_cxx_try_compile "$LINENO"; then :
70128 glibcxx_cv_func__sincosf_use=yes
70129 else
70130 glibcxx_cv_func__sincosf_use=no
70131 fi
70132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70133 ac_ext=c
70134 ac_cpp='$CPP $CPPFLAGS'
70135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70138
70139
70140 fi
70141
70142 fi
70143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
70144 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
70145
70146 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
70147 for ac_func in _sincosf
70148 do :
70149 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
70150 if test "x$ac_cv_func__sincosf" = xyes; then :
70151 cat >>confdefs.h <<_ACEOF
70152 #define HAVE__SINCOSF 1
70153 _ACEOF
70154
70155 fi
70156 done
70157
70158 fi
70159 fi
70160
70161
70162
70163
70164
70165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
70166 $as_echo_n "checking for finitef declaration... " >&6; }
70167 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
70168 if ${glibcxx_cv_func_finitef_use+:} false; then :
70169 $as_echo_n "(cached) " >&6
70170 else
70171
70172
70173 ac_ext=cpp
70174 ac_cpp='$CXXCPP $CPPFLAGS'
70175 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70176 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70177 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70178
70179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70180 /* end confdefs.h. */
70181 #include <math.h>
70182 #ifdef HAVE_IEEEFP_H
70183 #include <ieeefp.h>
70184 #endif
70185
70186 int
70187 main ()
70188 {
70189 finitef(0);
70190 ;
70191 return 0;
70192 }
70193 _ACEOF
70194 if ac_fn_cxx_try_compile "$LINENO"; then :
70195 glibcxx_cv_func_finitef_use=yes
70196 else
70197 glibcxx_cv_func_finitef_use=no
70198 fi
70199 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70200 ac_ext=c
70201 ac_cpp='$CPP $CPPFLAGS'
70202 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70203 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70204 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70205
70206
70207 fi
70208
70209 fi
70210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
70211 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
70212
70213 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
70214 for ac_func in finitef
70215 do :
70216 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
70217 if test "x$ac_cv_func_finitef" = xyes; then :
70218 cat >>confdefs.h <<_ACEOF
70219 #define HAVE_FINITEF 1
70220 _ACEOF
70221
70222 fi
70223 done
70224
70225 else
70226
70227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
70228 $as_echo_n "checking for _finitef declaration... " >&6; }
70229 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
70230 if ${glibcxx_cv_func__finitef_use+:} false; then :
70231 $as_echo_n "(cached) " >&6
70232 else
70233
70234
70235 ac_ext=cpp
70236 ac_cpp='$CXXCPP $CPPFLAGS'
70237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70240
70241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70242 /* end confdefs.h. */
70243 #include <math.h>
70244 #ifdef HAVE_IEEEFP_H
70245 #include <ieeefp.h>
70246 #endif
70247
70248 int
70249 main ()
70250 {
70251 _finitef(0);
70252 ;
70253 return 0;
70254 }
70255 _ACEOF
70256 if ac_fn_cxx_try_compile "$LINENO"; then :
70257 glibcxx_cv_func__finitef_use=yes
70258 else
70259 glibcxx_cv_func__finitef_use=no
70260 fi
70261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70262 ac_ext=c
70263 ac_cpp='$CPP $CPPFLAGS'
70264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70267
70268
70269 fi
70270
70271 fi
70272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
70273 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
70274
70275 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
70276 for ac_func in _finitef
70277 do :
70278 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
70279 if test "x$ac_cv_func__finitef" = xyes; then :
70280 cat >>confdefs.h <<_ACEOF
70281 #define HAVE__FINITEF 1
70282 _ACEOF
70283
70284 fi
70285 done
70286
70287 fi
70288 fi
70289
70290
70291
70292
70293
70294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
70295 $as_echo_n "checking for long double trig functions... " >&6; }
70296 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
70297 $as_echo_n "(cached) " >&6
70298 else
70299
70300
70301 ac_ext=cpp
70302 ac_cpp='$CXXCPP $CPPFLAGS'
70303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70306
70307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70308 /* end confdefs.h. */
70309 #include <math.h>
70310 int
70311 main ()
70312 {
70313 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
70314 ;
70315 return 0;
70316 }
70317 _ACEOF
70318 if ac_fn_cxx_try_compile "$LINENO"; then :
70319 glibcxx_cv_func_long_double_trig_use=yes
70320 else
70321 glibcxx_cv_func_long_double_trig_use=no
70322 fi
70323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70324 ac_ext=c
70325 ac_cpp='$CPP $CPPFLAGS'
70326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70329
70330 fi
70331
70332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
70333 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
70334 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
70335 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
70336 do :
70337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70339 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70340 cat >>confdefs.h <<_ACEOF
70341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70342 _ACEOF
70343
70344 fi
70345 done
70346
70347 else
70348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
70349 $as_echo_n "checking for _long double trig functions... " >&6; }
70350 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
70351 $as_echo_n "(cached) " >&6
70352 else
70353
70354
70355 ac_ext=cpp
70356 ac_cpp='$CXXCPP $CPPFLAGS'
70357 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70358 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70359 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70360
70361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70362 /* end confdefs.h. */
70363 #include <math.h>
70364 int
70365 main ()
70366 {
70367 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
70368 ;
70369 return 0;
70370 }
70371 _ACEOF
70372 if ac_fn_cxx_try_compile "$LINENO"; then :
70373 glibcxx_cv_func__long_double_trig_use=yes
70374 else
70375 glibcxx_cv_func__long_double_trig_use=no
70376 fi
70377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70378 ac_ext=c
70379 ac_cpp='$CPP $CPPFLAGS'
70380 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70381 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70382 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70383
70384 fi
70385
70386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
70387 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
70388 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
70389 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
70390 do :
70391 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70392 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70393 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70394 cat >>confdefs.h <<_ACEOF
70395 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70396 _ACEOF
70397
70398 fi
70399 done
70400
70401 fi
70402 fi
70403
70404
70405
70406
70407
70408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70409 $as_echo_n "checking for long double round functions... " >&6; }
70410 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70411 $as_echo_n "(cached) " >&6
70412 else
70413
70414
70415 ac_ext=cpp
70416 ac_cpp='$CXXCPP $CPPFLAGS'
70417 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70418 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70419 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70420
70421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70422 /* end confdefs.h. */
70423 #include <math.h>
70424 int
70425 main ()
70426 {
70427 ceill (0); floorl (0);
70428 ;
70429 return 0;
70430 }
70431 _ACEOF
70432 if ac_fn_cxx_try_compile "$LINENO"; then :
70433 glibcxx_cv_func_long_double_round_use=yes
70434 else
70435 glibcxx_cv_func_long_double_round_use=no
70436 fi
70437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70438 ac_ext=c
70439 ac_cpp='$CPP $CPPFLAGS'
70440 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70441 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70442 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70443
70444 fi
70445
70446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70447 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70448 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70449 for ac_func in ceill floorl
70450 do :
70451 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70452 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70453 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70454 cat >>confdefs.h <<_ACEOF
70455 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70456 _ACEOF
70457
70458 fi
70459 done
70460
70461 else
70462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70463 $as_echo_n "checking for _long double round functions... " >&6; }
70464 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70465 $as_echo_n "(cached) " >&6
70466 else
70467
70468
70469 ac_ext=cpp
70470 ac_cpp='$CXXCPP $CPPFLAGS'
70471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70474
70475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70476 /* end confdefs.h. */
70477 #include <math.h>
70478 int
70479 main ()
70480 {
70481 _ceill (0); _floorl (0);
70482 ;
70483 return 0;
70484 }
70485 _ACEOF
70486 if ac_fn_cxx_try_compile "$LINENO"; then :
70487 glibcxx_cv_func__long_double_round_use=yes
70488 else
70489 glibcxx_cv_func__long_double_round_use=no
70490 fi
70491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70492 ac_ext=c
70493 ac_cpp='$CPP $CPPFLAGS'
70494 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70495 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70496 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70497
70498 fi
70499
70500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70501 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70502 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70503 for ac_func in _ceill _floorl
70504 do :
70505 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70506 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70507 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70508 cat >>confdefs.h <<_ACEOF
70509 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70510 _ACEOF
70511
70512 fi
70513 done
70514
70515 fi
70516 fi
70517
70518
70519
70520
70521
70522
70523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70524 $as_echo_n "checking for isnanl declaration... " >&6; }
70525 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70526 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70527 $as_echo_n "(cached) " >&6
70528 else
70529
70530
70531 ac_ext=cpp
70532 ac_cpp='$CXXCPP $CPPFLAGS'
70533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70536
70537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70538 /* end confdefs.h. */
70539 #include <math.h>
70540 #ifdef HAVE_IEEEFP_H
70541 #include <ieeefp.h>
70542 #endif
70543
70544 int
70545 main ()
70546 {
70547 isnanl(0);
70548 ;
70549 return 0;
70550 }
70551 _ACEOF
70552 if ac_fn_cxx_try_compile "$LINENO"; then :
70553 glibcxx_cv_func_isnanl_use=yes
70554 else
70555 glibcxx_cv_func_isnanl_use=no
70556 fi
70557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70558 ac_ext=c
70559 ac_cpp='$CPP $CPPFLAGS'
70560 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70561 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70562 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70563
70564
70565 fi
70566
70567 fi
70568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70569 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70570
70571 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70572 for ac_func in isnanl
70573 do :
70574 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70575 if test "x$ac_cv_func_isnanl" = xyes; then :
70576 cat >>confdefs.h <<_ACEOF
70577 #define HAVE_ISNANL 1
70578 _ACEOF
70579
70580 fi
70581 done
70582
70583 else
70584
70585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70586 $as_echo_n "checking for _isnanl declaration... " >&6; }
70587 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70588 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70589 $as_echo_n "(cached) " >&6
70590 else
70591
70592
70593 ac_ext=cpp
70594 ac_cpp='$CXXCPP $CPPFLAGS'
70595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70598
70599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70600 /* end confdefs.h. */
70601 #include <math.h>
70602 #ifdef HAVE_IEEEFP_H
70603 #include <ieeefp.h>
70604 #endif
70605
70606 int
70607 main ()
70608 {
70609 _isnanl(0);
70610 ;
70611 return 0;
70612 }
70613 _ACEOF
70614 if ac_fn_cxx_try_compile "$LINENO"; then :
70615 glibcxx_cv_func__isnanl_use=yes
70616 else
70617 glibcxx_cv_func__isnanl_use=no
70618 fi
70619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70620 ac_ext=c
70621 ac_cpp='$CPP $CPPFLAGS'
70622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70625
70626
70627 fi
70628
70629 fi
70630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70631 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70632
70633 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70634 for ac_func in _isnanl
70635 do :
70636 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70637 if test "x$ac_cv_func__isnanl" = xyes; then :
70638 cat >>confdefs.h <<_ACEOF
70639 #define HAVE__ISNANL 1
70640 _ACEOF
70641
70642 fi
70643 done
70644
70645 fi
70646 fi
70647
70648
70649
70650
70651
70652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70653 $as_echo_n "checking for isinfl declaration... " >&6; }
70654 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70655 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70656 $as_echo_n "(cached) " >&6
70657 else
70658
70659
70660 ac_ext=cpp
70661 ac_cpp='$CXXCPP $CPPFLAGS'
70662 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70663 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70664 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70665
70666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70667 /* end confdefs.h. */
70668 #include <math.h>
70669 #ifdef HAVE_IEEEFP_H
70670 #include <ieeefp.h>
70671 #endif
70672
70673 int
70674 main ()
70675 {
70676 isinfl(0);
70677 ;
70678 return 0;
70679 }
70680 _ACEOF
70681 if ac_fn_cxx_try_compile "$LINENO"; then :
70682 glibcxx_cv_func_isinfl_use=yes
70683 else
70684 glibcxx_cv_func_isinfl_use=no
70685 fi
70686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70687 ac_ext=c
70688 ac_cpp='$CPP $CPPFLAGS'
70689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70692
70693
70694 fi
70695
70696 fi
70697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70698 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70699
70700 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70701 for ac_func in isinfl
70702 do :
70703 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70704 if test "x$ac_cv_func_isinfl" = xyes; then :
70705 cat >>confdefs.h <<_ACEOF
70706 #define HAVE_ISINFL 1
70707 _ACEOF
70708
70709 fi
70710 done
70711
70712 else
70713
70714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70715 $as_echo_n "checking for _isinfl declaration... " >&6; }
70716 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70717 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70718 $as_echo_n "(cached) " >&6
70719 else
70720
70721
70722 ac_ext=cpp
70723 ac_cpp='$CXXCPP $CPPFLAGS'
70724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70727
70728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70729 /* end confdefs.h. */
70730 #include <math.h>
70731 #ifdef HAVE_IEEEFP_H
70732 #include <ieeefp.h>
70733 #endif
70734
70735 int
70736 main ()
70737 {
70738 _isinfl(0);
70739 ;
70740 return 0;
70741 }
70742 _ACEOF
70743 if ac_fn_cxx_try_compile "$LINENO"; then :
70744 glibcxx_cv_func__isinfl_use=yes
70745 else
70746 glibcxx_cv_func__isinfl_use=no
70747 fi
70748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70749 ac_ext=c
70750 ac_cpp='$CPP $CPPFLAGS'
70751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70754
70755
70756 fi
70757
70758 fi
70759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70760 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70761
70762 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70763 for ac_func in _isinfl
70764 do :
70765 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70766 if test "x$ac_cv_func__isinfl" = xyes; then :
70767 cat >>confdefs.h <<_ACEOF
70768 #define HAVE__ISINFL 1
70769 _ACEOF
70770
70771 fi
70772 done
70773
70774 fi
70775 fi
70776
70777
70778
70779
70780
70781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70782 $as_echo_n "checking for atan2l declaration... " >&6; }
70783 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70784 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70785 $as_echo_n "(cached) " >&6
70786 else
70787
70788
70789 ac_ext=cpp
70790 ac_cpp='$CXXCPP $CPPFLAGS'
70791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70794
70795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70796 /* end confdefs.h. */
70797 #include <math.h>
70798 int
70799 main ()
70800 {
70801 atan2l(0, 0);
70802 ;
70803 return 0;
70804 }
70805 _ACEOF
70806 if ac_fn_cxx_try_compile "$LINENO"; then :
70807 glibcxx_cv_func_atan2l_use=yes
70808 else
70809 glibcxx_cv_func_atan2l_use=no
70810 fi
70811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70812 ac_ext=c
70813 ac_cpp='$CPP $CPPFLAGS'
70814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70817
70818
70819 fi
70820
70821 fi
70822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70823 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70824
70825 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70826 for ac_func in atan2l
70827 do :
70828 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70829 if test "x$ac_cv_func_atan2l" = xyes; then :
70830 cat >>confdefs.h <<_ACEOF
70831 #define HAVE_ATAN2L 1
70832 _ACEOF
70833
70834 fi
70835 done
70836
70837 else
70838
70839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70840 $as_echo_n "checking for _atan2l declaration... " >&6; }
70841 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70842 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70843 $as_echo_n "(cached) " >&6
70844 else
70845
70846
70847 ac_ext=cpp
70848 ac_cpp='$CXXCPP $CPPFLAGS'
70849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70852
70853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70854 /* end confdefs.h. */
70855 #include <math.h>
70856 int
70857 main ()
70858 {
70859 _atan2l(0, 0);
70860 ;
70861 return 0;
70862 }
70863 _ACEOF
70864 if ac_fn_cxx_try_compile "$LINENO"; then :
70865 glibcxx_cv_func__atan2l_use=yes
70866 else
70867 glibcxx_cv_func__atan2l_use=no
70868 fi
70869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70870 ac_ext=c
70871 ac_cpp='$CPP $CPPFLAGS'
70872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70875
70876
70877 fi
70878
70879 fi
70880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70881 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70882
70883 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70884 for ac_func in _atan2l
70885 do :
70886 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70887 if test "x$ac_cv_func__atan2l" = xyes; then :
70888 cat >>confdefs.h <<_ACEOF
70889 #define HAVE__ATAN2L 1
70890 _ACEOF
70891
70892 fi
70893 done
70894
70895 fi
70896 fi
70897
70898
70899
70900
70901
70902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70903 $as_echo_n "checking for expl declaration... " >&6; }
70904 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70905 if ${glibcxx_cv_func_expl_use+:} false; then :
70906 $as_echo_n "(cached) " >&6
70907 else
70908
70909
70910 ac_ext=cpp
70911 ac_cpp='$CXXCPP $CPPFLAGS'
70912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70915
70916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70917 /* end confdefs.h. */
70918 #include <math.h>
70919 #ifdef HAVE_IEEEFP_H
70920 #include <ieeefp.h>
70921 #endif
70922
70923 int
70924 main ()
70925 {
70926 expl(0);
70927 ;
70928 return 0;
70929 }
70930 _ACEOF
70931 if ac_fn_cxx_try_compile "$LINENO"; then :
70932 glibcxx_cv_func_expl_use=yes
70933 else
70934 glibcxx_cv_func_expl_use=no
70935 fi
70936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70937 ac_ext=c
70938 ac_cpp='$CPP $CPPFLAGS'
70939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70942
70943
70944 fi
70945
70946 fi
70947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70948 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70949
70950 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70951 for ac_func in expl
70952 do :
70953 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70954 if test "x$ac_cv_func_expl" = xyes; then :
70955 cat >>confdefs.h <<_ACEOF
70956 #define HAVE_EXPL 1
70957 _ACEOF
70958
70959 fi
70960 done
70961
70962 else
70963
70964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70965 $as_echo_n "checking for _expl declaration... " >&6; }
70966 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70967 if ${glibcxx_cv_func__expl_use+:} false; then :
70968 $as_echo_n "(cached) " >&6
70969 else
70970
70971
70972 ac_ext=cpp
70973 ac_cpp='$CXXCPP $CPPFLAGS'
70974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70977
70978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70979 /* end confdefs.h. */
70980 #include <math.h>
70981 #ifdef HAVE_IEEEFP_H
70982 #include <ieeefp.h>
70983 #endif
70984
70985 int
70986 main ()
70987 {
70988 _expl(0);
70989 ;
70990 return 0;
70991 }
70992 _ACEOF
70993 if ac_fn_cxx_try_compile "$LINENO"; then :
70994 glibcxx_cv_func__expl_use=yes
70995 else
70996 glibcxx_cv_func__expl_use=no
70997 fi
70998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70999 ac_ext=c
71000 ac_cpp='$CPP $CPPFLAGS'
71001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71004
71005
71006 fi
71007
71008 fi
71009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
71010 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
71011
71012 if test x$glibcxx_cv_func__expl_use = x"yes"; then
71013 for ac_func in _expl
71014 do :
71015 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
71016 if test "x$ac_cv_func__expl" = xyes; then :
71017 cat >>confdefs.h <<_ACEOF
71018 #define HAVE__EXPL 1
71019 _ACEOF
71020
71021 fi
71022 done
71023
71024 fi
71025 fi
71026
71027
71028
71029
71030
71031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
71032 $as_echo_n "checking for fabsl declaration... " >&6; }
71033 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
71034 if ${glibcxx_cv_func_fabsl_use+:} false; then :
71035 $as_echo_n "(cached) " >&6
71036 else
71037
71038
71039 ac_ext=cpp
71040 ac_cpp='$CXXCPP $CPPFLAGS'
71041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71044
71045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71046 /* end confdefs.h. */
71047 #include <math.h>
71048 #ifdef HAVE_IEEEFP_H
71049 #include <ieeefp.h>
71050 #endif
71051
71052 int
71053 main ()
71054 {
71055 fabsl(0);
71056 ;
71057 return 0;
71058 }
71059 _ACEOF
71060 if ac_fn_cxx_try_compile "$LINENO"; then :
71061 glibcxx_cv_func_fabsl_use=yes
71062 else
71063 glibcxx_cv_func_fabsl_use=no
71064 fi
71065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71066 ac_ext=c
71067 ac_cpp='$CPP $CPPFLAGS'
71068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71071
71072
71073 fi
71074
71075 fi
71076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
71077 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
71078
71079 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
71080 for ac_func in fabsl
71081 do :
71082 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
71083 if test "x$ac_cv_func_fabsl" = xyes; then :
71084 cat >>confdefs.h <<_ACEOF
71085 #define HAVE_FABSL 1
71086 _ACEOF
71087
71088 fi
71089 done
71090
71091 else
71092
71093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
71094 $as_echo_n "checking for _fabsl declaration... " >&6; }
71095 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
71096 if ${glibcxx_cv_func__fabsl_use+:} false; then :
71097 $as_echo_n "(cached) " >&6
71098 else
71099
71100
71101 ac_ext=cpp
71102 ac_cpp='$CXXCPP $CPPFLAGS'
71103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71106
71107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71108 /* end confdefs.h. */
71109 #include <math.h>
71110 #ifdef HAVE_IEEEFP_H
71111 #include <ieeefp.h>
71112 #endif
71113
71114 int
71115 main ()
71116 {
71117 _fabsl(0);
71118 ;
71119 return 0;
71120 }
71121 _ACEOF
71122 if ac_fn_cxx_try_compile "$LINENO"; then :
71123 glibcxx_cv_func__fabsl_use=yes
71124 else
71125 glibcxx_cv_func__fabsl_use=no
71126 fi
71127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71128 ac_ext=c
71129 ac_cpp='$CPP $CPPFLAGS'
71130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71133
71134
71135 fi
71136
71137 fi
71138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
71139 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
71140
71141 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
71142 for ac_func in _fabsl
71143 do :
71144 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
71145 if test "x$ac_cv_func__fabsl" = xyes; then :
71146 cat >>confdefs.h <<_ACEOF
71147 #define HAVE__FABSL 1
71148 _ACEOF
71149
71150 fi
71151 done
71152
71153 fi
71154 fi
71155
71156
71157
71158
71159
71160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
71161 $as_echo_n "checking for fmodl declaration... " >&6; }
71162 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
71163 if ${glibcxx_cv_func_fmodl_use+:} false; then :
71164 $as_echo_n "(cached) " >&6
71165 else
71166
71167
71168 ac_ext=cpp
71169 ac_cpp='$CXXCPP $CPPFLAGS'
71170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71173
71174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71175 /* end confdefs.h. */
71176 #include <math.h>
71177 int
71178 main ()
71179 {
71180 fmodl(0, 0);
71181 ;
71182 return 0;
71183 }
71184 _ACEOF
71185 if ac_fn_cxx_try_compile "$LINENO"; then :
71186 glibcxx_cv_func_fmodl_use=yes
71187 else
71188 glibcxx_cv_func_fmodl_use=no
71189 fi
71190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71191 ac_ext=c
71192 ac_cpp='$CPP $CPPFLAGS'
71193 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71194 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71195 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71196
71197
71198 fi
71199
71200 fi
71201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
71202 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
71203
71204 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
71205 for ac_func in fmodl
71206 do :
71207 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
71208 if test "x$ac_cv_func_fmodl" = xyes; then :
71209 cat >>confdefs.h <<_ACEOF
71210 #define HAVE_FMODL 1
71211 _ACEOF
71212
71213 fi
71214 done
71215
71216 else
71217
71218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
71219 $as_echo_n "checking for _fmodl declaration... " >&6; }
71220 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
71221 if ${glibcxx_cv_func__fmodl_use+:} false; then :
71222 $as_echo_n "(cached) " >&6
71223 else
71224
71225
71226 ac_ext=cpp
71227 ac_cpp='$CXXCPP $CPPFLAGS'
71228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71231
71232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71233 /* end confdefs.h. */
71234 #include <math.h>
71235 int
71236 main ()
71237 {
71238 _fmodl(0, 0);
71239 ;
71240 return 0;
71241 }
71242 _ACEOF
71243 if ac_fn_cxx_try_compile "$LINENO"; then :
71244 glibcxx_cv_func__fmodl_use=yes
71245 else
71246 glibcxx_cv_func__fmodl_use=no
71247 fi
71248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71249 ac_ext=c
71250 ac_cpp='$CPP $CPPFLAGS'
71251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71254
71255
71256 fi
71257
71258 fi
71259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
71260 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
71261
71262 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
71263 for ac_func in _fmodl
71264 do :
71265 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
71266 if test "x$ac_cv_func__fmodl" = xyes; then :
71267 cat >>confdefs.h <<_ACEOF
71268 #define HAVE__FMODL 1
71269 _ACEOF
71270
71271 fi
71272 done
71273
71274 fi
71275 fi
71276
71277
71278
71279
71280
71281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
71282 $as_echo_n "checking for frexpl declaration... " >&6; }
71283 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
71284 if ${glibcxx_cv_func_frexpl_use+:} false; then :
71285 $as_echo_n "(cached) " >&6
71286 else
71287
71288
71289 ac_ext=cpp
71290 ac_cpp='$CXXCPP $CPPFLAGS'
71291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71294
71295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71296 /* end confdefs.h. */
71297 #include <math.h>
71298 int
71299 main ()
71300 {
71301 frexpl(0, 0);
71302 ;
71303 return 0;
71304 }
71305 _ACEOF
71306 if ac_fn_cxx_try_compile "$LINENO"; then :
71307 glibcxx_cv_func_frexpl_use=yes
71308 else
71309 glibcxx_cv_func_frexpl_use=no
71310 fi
71311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71312 ac_ext=c
71313 ac_cpp='$CPP $CPPFLAGS'
71314 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71315 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71316 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71317
71318
71319 fi
71320
71321 fi
71322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
71323 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
71324
71325 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
71326 for ac_func in frexpl
71327 do :
71328 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
71329 if test "x$ac_cv_func_frexpl" = xyes; then :
71330 cat >>confdefs.h <<_ACEOF
71331 #define HAVE_FREXPL 1
71332 _ACEOF
71333
71334 fi
71335 done
71336
71337 else
71338
71339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
71340 $as_echo_n "checking for _frexpl declaration... " >&6; }
71341 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
71342 if ${glibcxx_cv_func__frexpl_use+:} false; then :
71343 $as_echo_n "(cached) " >&6
71344 else
71345
71346
71347 ac_ext=cpp
71348 ac_cpp='$CXXCPP $CPPFLAGS'
71349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71352
71353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71354 /* end confdefs.h. */
71355 #include <math.h>
71356 int
71357 main ()
71358 {
71359 _frexpl(0, 0);
71360 ;
71361 return 0;
71362 }
71363 _ACEOF
71364 if ac_fn_cxx_try_compile "$LINENO"; then :
71365 glibcxx_cv_func__frexpl_use=yes
71366 else
71367 glibcxx_cv_func__frexpl_use=no
71368 fi
71369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71370 ac_ext=c
71371 ac_cpp='$CPP $CPPFLAGS'
71372 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71373 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71374 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71375
71376
71377 fi
71378
71379 fi
71380 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
71381 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
71382
71383 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
71384 for ac_func in _frexpl
71385 do :
71386 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
71387 if test "x$ac_cv_func__frexpl" = xyes; then :
71388 cat >>confdefs.h <<_ACEOF
71389 #define HAVE__FREXPL 1
71390 _ACEOF
71391
71392 fi
71393 done
71394
71395 fi
71396 fi
71397
71398
71399
71400
71401
71402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
71403 $as_echo_n "checking for hypotl declaration... " >&6; }
71404 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
71405 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71406 $as_echo_n "(cached) " >&6
71407 else
71408
71409
71410 ac_ext=cpp
71411 ac_cpp='$CXXCPP $CPPFLAGS'
71412 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71413 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71414 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71415
71416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71417 /* end confdefs.h. */
71418 #include <math.h>
71419 int
71420 main ()
71421 {
71422 hypotl(0, 0);
71423 ;
71424 return 0;
71425 }
71426 _ACEOF
71427 if ac_fn_cxx_try_compile "$LINENO"; then :
71428 glibcxx_cv_func_hypotl_use=yes
71429 else
71430 glibcxx_cv_func_hypotl_use=no
71431 fi
71432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71433 ac_ext=c
71434 ac_cpp='$CPP $CPPFLAGS'
71435 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71436 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71437 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71438
71439
71440 fi
71441
71442 fi
71443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71444 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71445
71446 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71447 for ac_func in hypotl
71448 do :
71449 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71450 if test "x$ac_cv_func_hypotl" = xyes; then :
71451 cat >>confdefs.h <<_ACEOF
71452 #define HAVE_HYPOTL 1
71453 _ACEOF
71454
71455 fi
71456 done
71457
71458 else
71459
71460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71461 $as_echo_n "checking for _hypotl declaration... " >&6; }
71462 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71463 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71464 $as_echo_n "(cached) " >&6
71465 else
71466
71467
71468 ac_ext=cpp
71469 ac_cpp='$CXXCPP $CPPFLAGS'
71470 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71471 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71472 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71473
71474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71475 /* end confdefs.h. */
71476 #include <math.h>
71477 int
71478 main ()
71479 {
71480 _hypotl(0, 0);
71481 ;
71482 return 0;
71483 }
71484 _ACEOF
71485 if ac_fn_cxx_try_compile "$LINENO"; then :
71486 glibcxx_cv_func__hypotl_use=yes
71487 else
71488 glibcxx_cv_func__hypotl_use=no
71489 fi
71490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71491 ac_ext=c
71492 ac_cpp='$CPP $CPPFLAGS'
71493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71496
71497
71498 fi
71499
71500 fi
71501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71502 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71503
71504 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71505 for ac_func in _hypotl
71506 do :
71507 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71508 if test "x$ac_cv_func__hypotl" = xyes; then :
71509 cat >>confdefs.h <<_ACEOF
71510 #define HAVE__HYPOTL 1
71511 _ACEOF
71512
71513 fi
71514 done
71515
71516 fi
71517 fi
71518
71519
71520
71521
71522
71523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71524 $as_echo_n "checking for ldexpl declaration... " >&6; }
71525 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71526 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71527 $as_echo_n "(cached) " >&6
71528 else
71529
71530
71531 ac_ext=cpp
71532 ac_cpp='$CXXCPP $CPPFLAGS'
71533 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71534 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71535 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71536
71537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71538 /* end confdefs.h. */
71539 #include <math.h>
71540 int
71541 main ()
71542 {
71543 ldexpl(0, 0);
71544 ;
71545 return 0;
71546 }
71547 _ACEOF
71548 if ac_fn_cxx_try_compile "$LINENO"; then :
71549 glibcxx_cv_func_ldexpl_use=yes
71550 else
71551 glibcxx_cv_func_ldexpl_use=no
71552 fi
71553 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71554 ac_ext=c
71555 ac_cpp='$CPP $CPPFLAGS'
71556 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71557 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71558 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71559
71560
71561 fi
71562
71563 fi
71564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71565 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71566
71567 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71568 for ac_func in ldexpl
71569 do :
71570 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71571 if test "x$ac_cv_func_ldexpl" = xyes; then :
71572 cat >>confdefs.h <<_ACEOF
71573 #define HAVE_LDEXPL 1
71574 _ACEOF
71575
71576 fi
71577 done
71578
71579 else
71580
71581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71582 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71583 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71584 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71585 $as_echo_n "(cached) " >&6
71586 else
71587
71588
71589 ac_ext=cpp
71590 ac_cpp='$CXXCPP $CPPFLAGS'
71591 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71592 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71593 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71594
71595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71596 /* end confdefs.h. */
71597 #include <math.h>
71598 int
71599 main ()
71600 {
71601 _ldexpl(0, 0);
71602 ;
71603 return 0;
71604 }
71605 _ACEOF
71606 if ac_fn_cxx_try_compile "$LINENO"; then :
71607 glibcxx_cv_func__ldexpl_use=yes
71608 else
71609 glibcxx_cv_func__ldexpl_use=no
71610 fi
71611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71612 ac_ext=c
71613 ac_cpp='$CPP $CPPFLAGS'
71614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71617
71618
71619 fi
71620
71621 fi
71622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71623 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71624
71625 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71626 for ac_func in _ldexpl
71627 do :
71628 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71629 if test "x$ac_cv_func__ldexpl" = xyes; then :
71630 cat >>confdefs.h <<_ACEOF
71631 #define HAVE__LDEXPL 1
71632 _ACEOF
71633
71634 fi
71635 done
71636
71637 fi
71638 fi
71639
71640
71641
71642
71643
71644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71645 $as_echo_n "checking for logl declaration... " >&6; }
71646 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71647 if ${glibcxx_cv_func_logl_use+:} false; then :
71648 $as_echo_n "(cached) " >&6
71649 else
71650
71651
71652 ac_ext=cpp
71653 ac_cpp='$CXXCPP $CPPFLAGS'
71654 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71655 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71656 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71657
71658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71659 /* end confdefs.h. */
71660 #include <math.h>
71661 #ifdef HAVE_IEEEFP_H
71662 #include <ieeefp.h>
71663 #endif
71664
71665 int
71666 main ()
71667 {
71668 logl(0);
71669 ;
71670 return 0;
71671 }
71672 _ACEOF
71673 if ac_fn_cxx_try_compile "$LINENO"; then :
71674 glibcxx_cv_func_logl_use=yes
71675 else
71676 glibcxx_cv_func_logl_use=no
71677 fi
71678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71679 ac_ext=c
71680 ac_cpp='$CPP $CPPFLAGS'
71681 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71682 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71683 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71684
71685
71686 fi
71687
71688 fi
71689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71690 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71691
71692 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71693 for ac_func in logl
71694 do :
71695 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71696 if test "x$ac_cv_func_logl" = xyes; then :
71697 cat >>confdefs.h <<_ACEOF
71698 #define HAVE_LOGL 1
71699 _ACEOF
71700
71701 fi
71702 done
71703
71704 else
71705
71706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71707 $as_echo_n "checking for _logl declaration... " >&6; }
71708 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71709 if ${glibcxx_cv_func__logl_use+:} false; then :
71710 $as_echo_n "(cached) " >&6
71711 else
71712
71713
71714 ac_ext=cpp
71715 ac_cpp='$CXXCPP $CPPFLAGS'
71716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71719
71720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71721 /* end confdefs.h. */
71722 #include <math.h>
71723 #ifdef HAVE_IEEEFP_H
71724 #include <ieeefp.h>
71725 #endif
71726
71727 int
71728 main ()
71729 {
71730 _logl(0);
71731 ;
71732 return 0;
71733 }
71734 _ACEOF
71735 if ac_fn_cxx_try_compile "$LINENO"; then :
71736 glibcxx_cv_func__logl_use=yes
71737 else
71738 glibcxx_cv_func__logl_use=no
71739 fi
71740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71741 ac_ext=c
71742 ac_cpp='$CPP $CPPFLAGS'
71743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71746
71747
71748 fi
71749
71750 fi
71751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71752 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71753
71754 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71755 for ac_func in _logl
71756 do :
71757 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71758 if test "x$ac_cv_func__logl" = xyes; then :
71759 cat >>confdefs.h <<_ACEOF
71760 #define HAVE__LOGL 1
71761 _ACEOF
71762
71763 fi
71764 done
71765
71766 fi
71767 fi
71768
71769
71770
71771
71772
71773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71774 $as_echo_n "checking for log10l declaration... " >&6; }
71775 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71776 if ${glibcxx_cv_func_log10l_use+:} false; then :
71777 $as_echo_n "(cached) " >&6
71778 else
71779
71780
71781 ac_ext=cpp
71782 ac_cpp='$CXXCPP $CPPFLAGS'
71783 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71784 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71785 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71786
71787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71788 /* end confdefs.h. */
71789 #include <math.h>
71790 #ifdef HAVE_IEEEFP_H
71791 #include <ieeefp.h>
71792 #endif
71793
71794 int
71795 main ()
71796 {
71797 log10l(0);
71798 ;
71799 return 0;
71800 }
71801 _ACEOF
71802 if ac_fn_cxx_try_compile "$LINENO"; then :
71803 glibcxx_cv_func_log10l_use=yes
71804 else
71805 glibcxx_cv_func_log10l_use=no
71806 fi
71807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71808 ac_ext=c
71809 ac_cpp='$CPP $CPPFLAGS'
71810 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71811 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71812 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71813
71814
71815 fi
71816
71817 fi
71818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71819 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71820
71821 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71822 for ac_func in log10l
71823 do :
71824 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71825 if test "x$ac_cv_func_log10l" = xyes; then :
71826 cat >>confdefs.h <<_ACEOF
71827 #define HAVE_LOG10L 1
71828 _ACEOF
71829
71830 fi
71831 done
71832
71833 else
71834
71835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71836 $as_echo_n "checking for _log10l declaration... " >&6; }
71837 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71838 if ${glibcxx_cv_func__log10l_use+:} false; then :
71839 $as_echo_n "(cached) " >&6
71840 else
71841
71842
71843 ac_ext=cpp
71844 ac_cpp='$CXXCPP $CPPFLAGS'
71845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71848
71849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71850 /* end confdefs.h. */
71851 #include <math.h>
71852 #ifdef HAVE_IEEEFP_H
71853 #include <ieeefp.h>
71854 #endif
71855
71856 int
71857 main ()
71858 {
71859 _log10l(0);
71860 ;
71861 return 0;
71862 }
71863 _ACEOF
71864 if ac_fn_cxx_try_compile "$LINENO"; then :
71865 glibcxx_cv_func__log10l_use=yes
71866 else
71867 glibcxx_cv_func__log10l_use=no
71868 fi
71869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71870 ac_ext=c
71871 ac_cpp='$CPP $CPPFLAGS'
71872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71875
71876
71877 fi
71878
71879 fi
71880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71881 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71882
71883 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71884 for ac_func in _log10l
71885 do :
71886 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71887 if test "x$ac_cv_func__log10l" = xyes; then :
71888 cat >>confdefs.h <<_ACEOF
71889 #define HAVE__LOG10L 1
71890 _ACEOF
71891
71892 fi
71893 done
71894
71895 fi
71896 fi
71897
71898
71899
71900
71901
71902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71903 $as_echo_n "checking for modfl declaration... " >&6; }
71904 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71905 if ${glibcxx_cv_func_modfl_use+:} false; then :
71906 $as_echo_n "(cached) " >&6
71907 else
71908
71909
71910 ac_ext=cpp
71911 ac_cpp='$CXXCPP $CPPFLAGS'
71912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71915
71916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71917 /* end confdefs.h. */
71918 #include <math.h>
71919 int
71920 main ()
71921 {
71922 modfl(0, 0);
71923 ;
71924 return 0;
71925 }
71926 _ACEOF
71927 if ac_fn_cxx_try_compile "$LINENO"; then :
71928 glibcxx_cv_func_modfl_use=yes
71929 else
71930 glibcxx_cv_func_modfl_use=no
71931 fi
71932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71933 ac_ext=c
71934 ac_cpp='$CPP $CPPFLAGS'
71935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71938
71939
71940 fi
71941
71942 fi
71943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71944 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71945
71946 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71947 for ac_func in modfl
71948 do :
71949 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71950 if test "x$ac_cv_func_modfl" = xyes; then :
71951 cat >>confdefs.h <<_ACEOF
71952 #define HAVE_MODFL 1
71953 _ACEOF
71954
71955 fi
71956 done
71957
71958 else
71959
71960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71961 $as_echo_n "checking for _modfl declaration... " >&6; }
71962 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71963 if ${glibcxx_cv_func__modfl_use+:} false; then :
71964 $as_echo_n "(cached) " >&6
71965 else
71966
71967
71968 ac_ext=cpp
71969 ac_cpp='$CXXCPP $CPPFLAGS'
71970 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71971 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71972 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71973
71974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71975 /* end confdefs.h. */
71976 #include <math.h>
71977 int
71978 main ()
71979 {
71980 _modfl(0, 0);
71981 ;
71982 return 0;
71983 }
71984 _ACEOF
71985 if ac_fn_cxx_try_compile "$LINENO"; then :
71986 glibcxx_cv_func__modfl_use=yes
71987 else
71988 glibcxx_cv_func__modfl_use=no
71989 fi
71990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71991 ac_ext=c
71992 ac_cpp='$CPP $CPPFLAGS'
71993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71996
71997
71998 fi
71999
72000 fi
72001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
72002 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
72003
72004 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
72005 for ac_func in _modfl
72006 do :
72007 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
72008 if test "x$ac_cv_func__modfl" = xyes; then :
72009 cat >>confdefs.h <<_ACEOF
72010 #define HAVE__MODFL 1
72011 _ACEOF
72012
72013 fi
72014 done
72015
72016 fi
72017 fi
72018
72019
72020
72021
72022
72023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
72024 $as_echo_n "checking for powl declaration... " >&6; }
72025 if test x${glibcxx_cv_func_powl_use+set} != xset; then
72026 if ${glibcxx_cv_func_powl_use+:} false; then :
72027 $as_echo_n "(cached) " >&6
72028 else
72029
72030
72031 ac_ext=cpp
72032 ac_cpp='$CXXCPP $CPPFLAGS'
72033 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72034 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72035 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72036
72037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72038 /* end confdefs.h. */
72039 #include <math.h>
72040 int
72041 main ()
72042 {
72043 powl(0, 0);
72044 ;
72045 return 0;
72046 }
72047 _ACEOF
72048 if ac_fn_cxx_try_compile "$LINENO"; then :
72049 glibcxx_cv_func_powl_use=yes
72050 else
72051 glibcxx_cv_func_powl_use=no
72052 fi
72053 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72054 ac_ext=c
72055 ac_cpp='$CPP $CPPFLAGS'
72056 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72057 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72058 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72059
72060
72061 fi
72062
72063 fi
72064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
72065 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
72066
72067 if test x$glibcxx_cv_func_powl_use = x"yes"; then
72068 for ac_func in powl
72069 do :
72070 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
72071 if test "x$ac_cv_func_powl" = xyes; then :
72072 cat >>confdefs.h <<_ACEOF
72073 #define HAVE_POWL 1
72074 _ACEOF
72075
72076 fi
72077 done
72078
72079 else
72080
72081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
72082 $as_echo_n "checking for _powl declaration... " >&6; }
72083 if test x${glibcxx_cv_func__powl_use+set} != xset; then
72084 if ${glibcxx_cv_func__powl_use+:} false; then :
72085 $as_echo_n "(cached) " >&6
72086 else
72087
72088
72089 ac_ext=cpp
72090 ac_cpp='$CXXCPP $CPPFLAGS'
72091 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72092 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72093 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72094
72095 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72096 /* end confdefs.h. */
72097 #include <math.h>
72098 int
72099 main ()
72100 {
72101 _powl(0, 0);
72102 ;
72103 return 0;
72104 }
72105 _ACEOF
72106 if ac_fn_cxx_try_compile "$LINENO"; then :
72107 glibcxx_cv_func__powl_use=yes
72108 else
72109 glibcxx_cv_func__powl_use=no
72110 fi
72111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72112 ac_ext=c
72113 ac_cpp='$CPP $CPPFLAGS'
72114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72117
72118
72119 fi
72120
72121 fi
72122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
72123 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
72124
72125 if test x$glibcxx_cv_func__powl_use = x"yes"; then
72126 for ac_func in _powl
72127 do :
72128 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
72129 if test "x$ac_cv_func__powl" = xyes; then :
72130 cat >>confdefs.h <<_ACEOF
72131 #define HAVE__POWL 1
72132 _ACEOF
72133
72134 fi
72135 done
72136
72137 fi
72138 fi
72139
72140
72141
72142
72143
72144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
72145 $as_echo_n "checking for sqrtl declaration... " >&6; }
72146 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
72147 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
72148 $as_echo_n "(cached) " >&6
72149 else
72150
72151
72152 ac_ext=cpp
72153 ac_cpp='$CXXCPP $CPPFLAGS'
72154 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72155 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72156 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72157
72158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72159 /* end confdefs.h. */
72160 #include <math.h>
72161 #ifdef HAVE_IEEEFP_H
72162 #include <ieeefp.h>
72163 #endif
72164
72165 int
72166 main ()
72167 {
72168 sqrtl(0);
72169 ;
72170 return 0;
72171 }
72172 _ACEOF
72173 if ac_fn_cxx_try_compile "$LINENO"; then :
72174 glibcxx_cv_func_sqrtl_use=yes
72175 else
72176 glibcxx_cv_func_sqrtl_use=no
72177 fi
72178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72179 ac_ext=c
72180 ac_cpp='$CPP $CPPFLAGS'
72181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72184
72185
72186 fi
72187
72188 fi
72189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
72190 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
72191
72192 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
72193 for ac_func in sqrtl
72194 do :
72195 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
72196 if test "x$ac_cv_func_sqrtl" = xyes; then :
72197 cat >>confdefs.h <<_ACEOF
72198 #define HAVE_SQRTL 1
72199 _ACEOF
72200
72201 fi
72202 done
72203
72204 else
72205
72206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
72207 $as_echo_n "checking for _sqrtl declaration... " >&6; }
72208 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
72209 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
72210 $as_echo_n "(cached) " >&6
72211 else
72212
72213
72214 ac_ext=cpp
72215 ac_cpp='$CXXCPP $CPPFLAGS'
72216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72219
72220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72221 /* end confdefs.h. */
72222 #include <math.h>
72223 #ifdef HAVE_IEEEFP_H
72224 #include <ieeefp.h>
72225 #endif
72226
72227 int
72228 main ()
72229 {
72230 _sqrtl(0);
72231 ;
72232 return 0;
72233 }
72234 _ACEOF
72235 if ac_fn_cxx_try_compile "$LINENO"; then :
72236 glibcxx_cv_func__sqrtl_use=yes
72237 else
72238 glibcxx_cv_func__sqrtl_use=no
72239 fi
72240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72241 ac_ext=c
72242 ac_cpp='$CPP $CPPFLAGS'
72243 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72244 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72245 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72246
72247
72248 fi
72249
72250 fi
72251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
72252 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
72253
72254 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
72255 for ac_func in _sqrtl
72256 do :
72257 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
72258 if test "x$ac_cv_func__sqrtl" = xyes; then :
72259 cat >>confdefs.h <<_ACEOF
72260 #define HAVE__SQRTL 1
72261 _ACEOF
72262
72263 fi
72264 done
72265
72266 fi
72267 fi
72268
72269
72270
72271
72272
72273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
72274 $as_echo_n "checking for sincosl declaration... " >&6; }
72275 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
72276 if ${glibcxx_cv_func_sincosl_use+:} false; then :
72277 $as_echo_n "(cached) " >&6
72278 else
72279
72280
72281 ac_ext=cpp
72282 ac_cpp='$CXXCPP $CPPFLAGS'
72283 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72284 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72285 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72286
72287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72288 /* end confdefs.h. */
72289 #include <math.h>
72290 int
72291 main ()
72292 {
72293 sincosl(0, 0, 0);
72294 ;
72295 return 0;
72296 }
72297 _ACEOF
72298 if ac_fn_cxx_try_compile "$LINENO"; then :
72299 glibcxx_cv_func_sincosl_use=yes
72300 else
72301 glibcxx_cv_func_sincosl_use=no
72302 fi
72303 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72304 ac_ext=c
72305 ac_cpp='$CPP $CPPFLAGS'
72306 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72307 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72308 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72309
72310
72311 fi
72312
72313 fi
72314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
72315 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
72316
72317 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
72318 for ac_func in sincosl
72319 do :
72320 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
72321 if test "x$ac_cv_func_sincosl" = xyes; then :
72322 cat >>confdefs.h <<_ACEOF
72323 #define HAVE_SINCOSL 1
72324 _ACEOF
72325
72326 fi
72327 done
72328
72329 else
72330
72331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
72332 $as_echo_n "checking for _sincosl declaration... " >&6; }
72333 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
72334 if ${glibcxx_cv_func__sincosl_use+:} false; then :
72335 $as_echo_n "(cached) " >&6
72336 else
72337
72338
72339 ac_ext=cpp
72340 ac_cpp='$CXXCPP $CPPFLAGS'
72341 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72342 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72343 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72344
72345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72346 /* end confdefs.h. */
72347 #include <math.h>
72348 int
72349 main ()
72350 {
72351 _sincosl(0, 0, 0);
72352 ;
72353 return 0;
72354 }
72355 _ACEOF
72356 if ac_fn_cxx_try_compile "$LINENO"; then :
72357 glibcxx_cv_func__sincosl_use=yes
72358 else
72359 glibcxx_cv_func__sincosl_use=no
72360 fi
72361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72362 ac_ext=c
72363 ac_cpp='$CPP $CPPFLAGS'
72364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72367
72368
72369 fi
72370
72371 fi
72372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
72373 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
72374
72375 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
72376 for ac_func in _sincosl
72377 do :
72378 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
72379 if test "x$ac_cv_func__sincosl" = xyes; then :
72380 cat >>confdefs.h <<_ACEOF
72381 #define HAVE__SINCOSL 1
72382 _ACEOF
72383
72384 fi
72385 done
72386
72387 fi
72388 fi
72389
72390
72391
72392
72393
72394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
72395 $as_echo_n "checking for finitel declaration... " >&6; }
72396 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
72397 if ${glibcxx_cv_func_finitel_use+:} false; then :
72398 $as_echo_n "(cached) " >&6
72399 else
72400
72401
72402 ac_ext=cpp
72403 ac_cpp='$CXXCPP $CPPFLAGS'
72404 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72405 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72406 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72407
72408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72409 /* end confdefs.h. */
72410 #include <math.h>
72411 #ifdef HAVE_IEEEFP_H
72412 #include <ieeefp.h>
72413 #endif
72414
72415 int
72416 main ()
72417 {
72418 finitel(0);
72419 ;
72420 return 0;
72421 }
72422 _ACEOF
72423 if ac_fn_cxx_try_compile "$LINENO"; then :
72424 glibcxx_cv_func_finitel_use=yes
72425 else
72426 glibcxx_cv_func_finitel_use=no
72427 fi
72428 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72429 ac_ext=c
72430 ac_cpp='$CPP $CPPFLAGS'
72431 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72432 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72433 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72434
72435
72436 fi
72437
72438 fi
72439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72440 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72441
72442 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72443 for ac_func in finitel
72444 do :
72445 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72446 if test "x$ac_cv_func_finitel" = xyes; then :
72447 cat >>confdefs.h <<_ACEOF
72448 #define HAVE_FINITEL 1
72449 _ACEOF
72450
72451 fi
72452 done
72453
72454 else
72455
72456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72457 $as_echo_n "checking for _finitel declaration... " >&6; }
72458 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72459 if ${glibcxx_cv_func__finitel_use+:} false; then :
72460 $as_echo_n "(cached) " >&6
72461 else
72462
72463
72464 ac_ext=cpp
72465 ac_cpp='$CXXCPP $CPPFLAGS'
72466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72469
72470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72471 /* end confdefs.h. */
72472 #include <math.h>
72473 #ifdef HAVE_IEEEFP_H
72474 #include <ieeefp.h>
72475 #endif
72476
72477 int
72478 main ()
72479 {
72480 _finitel(0);
72481 ;
72482 return 0;
72483 }
72484 _ACEOF
72485 if ac_fn_cxx_try_compile "$LINENO"; then :
72486 glibcxx_cv_func__finitel_use=yes
72487 else
72488 glibcxx_cv_func__finitel_use=no
72489 fi
72490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72491 ac_ext=c
72492 ac_cpp='$CPP $CPPFLAGS'
72493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72496
72497
72498 fi
72499
72500 fi
72501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72502 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72503
72504 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72505 for ac_func in _finitel
72506 do :
72507 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72508 if test "x$ac_cv_func__finitel" = xyes; then :
72509 cat >>confdefs.h <<_ACEOF
72510 #define HAVE__FINITEL 1
72511 _ACEOF
72512
72513 fi
72514 done
72515
72516 fi
72517 fi
72518
72519
72520
72521
72522 LIBS="$ac_save_LIBS"
72523 CXXFLAGS="$ac_save_CXXFLAGS"
72524
72525
72526 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72527 ac_save_CXXFLAGS="$CXXFLAGS"
72528 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72529
72530
72531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72532 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72533 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72534 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72535 $as_echo_n "(cached) " >&6
72536 else
72537
72538
72539 ac_ext=cpp
72540 ac_cpp='$CXXCPP $CPPFLAGS'
72541 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72542 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72543 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72544
72545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72546 /* end confdefs.h. */
72547 #include <stdlib.h>
72548 int
72549 main ()
72550 {
72551 at_quick_exit(0);
72552 ;
72553 return 0;
72554 }
72555 _ACEOF
72556 if ac_fn_cxx_try_compile "$LINENO"; then :
72557 glibcxx_cv_func_at_quick_exit_use=yes
72558 else
72559 glibcxx_cv_func_at_quick_exit_use=no
72560 fi
72561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72562 ac_ext=c
72563 ac_cpp='$CPP $CPPFLAGS'
72564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72567
72568
72569 fi
72570
72571 fi
72572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72573 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72574 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72575 for ac_func in at_quick_exit
72576 do :
72577 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72578 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72579 cat >>confdefs.h <<_ACEOF
72580 #define HAVE_AT_QUICK_EXIT 1
72581 _ACEOF
72582
72583 fi
72584 done
72585
72586 fi
72587
72588
72589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72590 $as_echo_n "checking for quick_exit declaration... " >&6; }
72591 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72592 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72593 $as_echo_n "(cached) " >&6
72594 else
72595
72596
72597 ac_ext=cpp
72598 ac_cpp='$CXXCPP $CPPFLAGS'
72599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72602
72603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72604 /* end confdefs.h. */
72605 #include <stdlib.h>
72606 int
72607 main ()
72608 {
72609 quick_exit(0);
72610 ;
72611 return 0;
72612 }
72613 _ACEOF
72614 if ac_fn_cxx_try_compile "$LINENO"; then :
72615 glibcxx_cv_func_quick_exit_use=yes
72616 else
72617 glibcxx_cv_func_quick_exit_use=no
72618 fi
72619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72620 ac_ext=c
72621 ac_cpp='$CPP $CPPFLAGS'
72622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72625
72626
72627 fi
72628
72629 fi
72630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72631 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72632 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72633 for ac_func in quick_exit
72634 do :
72635 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72636 if test "x$ac_cv_func_quick_exit" = xyes; then :
72637 cat >>confdefs.h <<_ACEOF
72638 #define HAVE_QUICK_EXIT 1
72639 _ACEOF
72640
72641 fi
72642 done
72643
72644 fi
72645
72646
72647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72648 $as_echo_n "checking for strtold declaration... " >&6; }
72649 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72650 if ${glibcxx_cv_func_strtold_use+:} false; then :
72651 $as_echo_n "(cached) " >&6
72652 else
72653
72654
72655 ac_ext=cpp
72656 ac_cpp='$CXXCPP $CPPFLAGS'
72657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72660
72661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72662 /* end confdefs.h. */
72663 #include <stdlib.h>
72664 int
72665 main ()
72666 {
72667 strtold(0, 0);
72668 ;
72669 return 0;
72670 }
72671 _ACEOF
72672 if ac_fn_cxx_try_compile "$LINENO"; then :
72673 glibcxx_cv_func_strtold_use=yes
72674 else
72675 glibcxx_cv_func_strtold_use=no
72676 fi
72677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72678 ac_ext=c
72679 ac_cpp='$CPP $CPPFLAGS'
72680 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72681 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72682 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72683
72684
72685 fi
72686
72687 fi
72688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72689 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72690 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72691 for ac_func in strtold
72692 do :
72693 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72694 if test "x$ac_cv_func_strtold" = xyes; then :
72695 cat >>confdefs.h <<_ACEOF
72696 #define HAVE_STRTOLD 1
72697 _ACEOF
72698
72699 fi
72700 done
72701
72702 fi
72703
72704
72705
72706
72707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72708 $as_echo_n "checking for strtof declaration... " >&6; }
72709 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72710 if ${glibcxx_cv_func_strtof_use+:} false; then :
72711 $as_echo_n "(cached) " >&6
72712 else
72713
72714
72715 ac_ext=cpp
72716 ac_cpp='$CXXCPP $CPPFLAGS'
72717 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72718 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72719 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72720
72721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72722 /* end confdefs.h. */
72723 #include <stdlib.h>
72724 int
72725 main ()
72726 {
72727 strtof(0, 0);
72728 ;
72729 return 0;
72730 }
72731 _ACEOF
72732 if ac_fn_cxx_try_compile "$LINENO"; then :
72733 glibcxx_cv_func_strtof_use=yes
72734 else
72735 glibcxx_cv_func_strtof_use=no
72736 fi
72737 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72738 ac_ext=c
72739 ac_cpp='$CPP $CPPFLAGS'
72740 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72741 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72742 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72743
72744
72745 fi
72746
72747 fi
72748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72749 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72750 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72751 for ac_func in strtof
72752 do :
72753 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72754 if test "x$ac_cv_func_strtof" = xyes; then :
72755 cat >>confdefs.h <<_ACEOF
72756 #define HAVE_STRTOF 1
72757 _ACEOF
72758
72759 fi
72760 done
72761
72762 fi
72763
72764
72765
72766
72767 CXXFLAGS="$ac_save_CXXFLAGS"
72768
72769 ;;
72770 *-tpf)
72771 SECTION_FLAGS='-ffunction-sections -fdata-sections'
72772 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
72773
72774 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
72775
72776 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
72777
72778 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
72779
72780 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
72781
72782 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
72783
72784 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
72785
72786 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
72787
72788 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
72789
72790 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
72791
72792 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
72793
72794 if test x"long_double_math_on_this_cpu" = x"yes"; then
72795 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
72796
72797 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
72798
72799 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
72800
72801 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
72802
72803 fi
72804 ;;
72805 *-*vms*)
72806 # Check for available headers.
72807 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
72808
72809 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72810 ac_save_CXXFLAGS="$CXXFLAGS"
72811 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72812
72813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
72814 $as_echo_n "checking for sin in -lm... " >&6; }
72815 if ${ac_cv_lib_m_sin+:} false; then :
72816 $as_echo_n "(cached) " >&6
72817 else
72818 ac_check_lib_save_LIBS=$LIBS
72819 LIBS="-lm $LIBS"
72820 if test x$gcc_no_link = xyes; then
72821 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
72822 fi
72823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72824 /* end confdefs.h. */
72825
72826 /* Override any GCC internal prototype to avoid an error.
72827 Use char because int might match the return type of a GCC
72828 builtin and then its argument prototype would still apply. */
72829 #ifdef __cplusplus
72830 extern "C"
72831 #endif
72832 char sin ();
72833 int
72834 main ()
72835 {
72836 return sin ();
72837 ;
72838 return 0;
72839 }
72840 _ACEOF
72841 if ac_fn_c_try_link "$LINENO"; then :
72842 ac_cv_lib_m_sin=yes
72843 else
72844 ac_cv_lib_m_sin=no
72845 fi
72846 rm -f core conftest.err conftest.$ac_objext \
72847 conftest$ac_exeext conftest.$ac_ext
72848 LIBS=$ac_check_lib_save_LIBS
72849 fi
72850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
72851 $as_echo "$ac_cv_lib_m_sin" >&6; }
72852 if test "x$ac_cv_lib_m_sin" = xyes; then :
72853 libm="-lm"
72854 fi
72855
72856 ac_save_LIBS="$LIBS"
72857 LIBS="$LIBS $libm"
72858
72859
72860
72861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
72862 $as_echo_n "checking for isinf declaration... " >&6; }
72863 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
72864 if ${glibcxx_cv_func_isinf_use+:} false; then :
72865 $as_echo_n "(cached) " >&6
72866 else
72867
72868
72869 ac_ext=cpp
72870 ac_cpp='$CXXCPP $CPPFLAGS'
72871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72874
72875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72876 /* end confdefs.h. */
72877 #include <math.h>
72878 #ifdef HAVE_IEEEFP_H
72879 #include <ieeefp.h>
72880 #endif
72881
72882 int
72883 main ()
72884 {
72885 isinf(0);
72886 ;
72887 return 0;
72888 }
72889 _ACEOF
72890 if ac_fn_cxx_try_compile "$LINENO"; then :
72891 glibcxx_cv_func_isinf_use=yes
72892 else
72893 glibcxx_cv_func_isinf_use=no
72894 fi
72895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72896 ac_ext=c
72897 ac_cpp='$CPP $CPPFLAGS'
72898 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72899 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72900 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72901
72902
72903 fi
72904
72905 fi
72906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
72907 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
72908
72909 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
72910 for ac_func in isinf
72911 do :
72912 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
72913 if test "x$ac_cv_func_isinf" = xyes; then :
72914 cat >>confdefs.h <<_ACEOF
72915 #define HAVE_ISINF 1
72916 _ACEOF
72917
72918 fi
72919 done
72920
72921 else
72922
72923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
72924 $as_echo_n "checking for _isinf declaration... " >&6; }
72925 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
72926 if ${glibcxx_cv_func__isinf_use+:} false; then :
72927 $as_echo_n "(cached) " >&6
72928 else
72929
72930
72931 ac_ext=cpp
72932 ac_cpp='$CXXCPP $CPPFLAGS'
72933 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72934 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72935 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72936
72937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72938 /* end confdefs.h. */
72939 #include <math.h>
72940 #ifdef HAVE_IEEEFP_H
72941 #include <ieeefp.h>
72942 #endif
72943
72944 int
72945 main ()
72946 {
72947 _isinf(0);
72948 ;
72949 return 0;
72950 }
72951 _ACEOF
72952 if ac_fn_cxx_try_compile "$LINENO"; then :
72953 glibcxx_cv_func__isinf_use=yes
72954 else
72955 glibcxx_cv_func__isinf_use=no
72956 fi
72957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72958 ac_ext=c
72959 ac_cpp='$CPP $CPPFLAGS'
72960 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72961 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72962 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72963
72964
72965 fi
72966
72967 fi
72968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
72969 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
72970
72971 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
72972 for ac_func in _isinf
72973 do :
72974 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
72975 if test "x$ac_cv_func__isinf" = xyes; then :
72976 cat >>confdefs.h <<_ACEOF
72977 #define HAVE__ISINF 1
72978 _ACEOF
72979
72980 fi
72981 done
72982
72983 fi
72984 fi
72985
72986
72987
72988
72989
72990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
72991 $as_echo_n "checking for isnan declaration... " >&6; }
72992 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
72993 if ${glibcxx_cv_func_isnan_use+:} false; then :
72994 $as_echo_n "(cached) " >&6
72995 else
72996
72997
72998 ac_ext=cpp
72999 ac_cpp='$CXXCPP $CPPFLAGS'
73000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73003
73004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73005 /* end confdefs.h. */
73006 #include <math.h>
73007 #ifdef HAVE_IEEEFP_H
73008 #include <ieeefp.h>
73009 #endif
73010
73011 int
73012 main ()
73013 {
73014 isnan(0);
73015 ;
73016 return 0;
73017 }
73018 _ACEOF
73019 if ac_fn_cxx_try_compile "$LINENO"; then :
73020 glibcxx_cv_func_isnan_use=yes
73021 else
73022 glibcxx_cv_func_isnan_use=no
73023 fi
73024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73025 ac_ext=c
73026 ac_cpp='$CPP $CPPFLAGS'
73027 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73028 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73029 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73030
73031
73032 fi
73033
73034 fi
73035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
73036 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
73037
73038 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
73039 for ac_func in isnan
73040 do :
73041 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
73042 if test "x$ac_cv_func_isnan" = xyes; then :
73043 cat >>confdefs.h <<_ACEOF
73044 #define HAVE_ISNAN 1
73045 _ACEOF
73046
73047 fi
73048 done
73049
73050 else
73051
73052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
73053 $as_echo_n "checking for _isnan declaration... " >&6; }
73054 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
73055 if ${glibcxx_cv_func__isnan_use+:} false; then :
73056 $as_echo_n "(cached) " >&6
73057 else
73058
73059
73060 ac_ext=cpp
73061 ac_cpp='$CXXCPP $CPPFLAGS'
73062 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73063 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73064 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73065
73066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73067 /* end confdefs.h. */
73068 #include <math.h>
73069 #ifdef HAVE_IEEEFP_H
73070 #include <ieeefp.h>
73071 #endif
73072
73073 int
73074 main ()
73075 {
73076 _isnan(0);
73077 ;
73078 return 0;
73079 }
73080 _ACEOF
73081 if ac_fn_cxx_try_compile "$LINENO"; then :
73082 glibcxx_cv_func__isnan_use=yes
73083 else
73084 glibcxx_cv_func__isnan_use=no
73085 fi
73086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73087 ac_ext=c
73088 ac_cpp='$CPP $CPPFLAGS'
73089 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73090 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73091 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73092
73093
73094 fi
73095
73096 fi
73097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
73098 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
73099
73100 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
73101 for ac_func in _isnan
73102 do :
73103 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
73104 if test "x$ac_cv_func__isnan" = xyes; then :
73105 cat >>confdefs.h <<_ACEOF
73106 #define HAVE__ISNAN 1
73107 _ACEOF
73108
73109 fi
73110 done
73111
73112 fi
73113 fi
73114
73115
73116
73117
73118
73119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
73120 $as_echo_n "checking for finite declaration... " >&6; }
73121 if test x${glibcxx_cv_func_finite_use+set} != xset; then
73122 if ${glibcxx_cv_func_finite_use+:} false; then :
73123 $as_echo_n "(cached) " >&6
73124 else
73125
73126
73127 ac_ext=cpp
73128 ac_cpp='$CXXCPP $CPPFLAGS'
73129 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73130 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73131 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73132
73133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73134 /* end confdefs.h. */
73135 #include <math.h>
73136 #ifdef HAVE_IEEEFP_H
73137 #include <ieeefp.h>
73138 #endif
73139
73140 int
73141 main ()
73142 {
73143 finite(0);
73144 ;
73145 return 0;
73146 }
73147 _ACEOF
73148 if ac_fn_cxx_try_compile "$LINENO"; then :
73149 glibcxx_cv_func_finite_use=yes
73150 else
73151 glibcxx_cv_func_finite_use=no
73152 fi
73153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73154 ac_ext=c
73155 ac_cpp='$CPP $CPPFLAGS'
73156 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73157 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73158 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73159
73160
73161 fi
73162
73163 fi
73164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
73165 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
73166
73167 if test x$glibcxx_cv_func_finite_use = x"yes"; then
73168 for ac_func in finite
73169 do :
73170 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
73171 if test "x$ac_cv_func_finite" = xyes; then :
73172 cat >>confdefs.h <<_ACEOF
73173 #define HAVE_FINITE 1
73174 _ACEOF
73175
73176 fi
73177 done
73178
73179 else
73180
73181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
73182 $as_echo_n "checking for _finite declaration... " >&6; }
73183 if test x${glibcxx_cv_func__finite_use+set} != xset; then
73184 if ${glibcxx_cv_func__finite_use+:} false; then :
73185 $as_echo_n "(cached) " >&6
73186 else
73187
73188
73189 ac_ext=cpp
73190 ac_cpp='$CXXCPP $CPPFLAGS'
73191 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73192 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73193 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73194
73195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73196 /* end confdefs.h. */
73197 #include <math.h>
73198 #ifdef HAVE_IEEEFP_H
73199 #include <ieeefp.h>
73200 #endif
73201
73202 int
73203 main ()
73204 {
73205 _finite(0);
73206 ;
73207 return 0;
73208 }
73209 _ACEOF
73210 if ac_fn_cxx_try_compile "$LINENO"; then :
73211 glibcxx_cv_func__finite_use=yes
73212 else
73213 glibcxx_cv_func__finite_use=no
73214 fi
73215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73216 ac_ext=c
73217 ac_cpp='$CPP $CPPFLAGS'
73218 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73219 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73220 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73221
73222
73223 fi
73224
73225 fi
73226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
73227 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
73228
73229 if test x$glibcxx_cv_func__finite_use = x"yes"; then
73230 for ac_func in _finite
73231 do :
73232 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
73233 if test "x$ac_cv_func__finite" = xyes; then :
73234 cat >>confdefs.h <<_ACEOF
73235 #define HAVE__FINITE 1
73236 _ACEOF
73237
73238 fi
73239 done
73240
73241 fi
73242 fi
73243
73244
73245
73246
73247
73248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
73249 $as_echo_n "checking for sincos declaration... " >&6; }
73250 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
73251 if ${glibcxx_cv_func_sincos_use+:} false; then :
73252 $as_echo_n "(cached) " >&6
73253 else
73254
73255
73256 ac_ext=cpp
73257 ac_cpp='$CXXCPP $CPPFLAGS'
73258 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73259 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73260 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73261
73262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73263 /* end confdefs.h. */
73264 #include <math.h>
73265 int
73266 main ()
73267 {
73268 sincos(0, 0, 0);
73269 ;
73270 return 0;
73271 }
73272 _ACEOF
73273 if ac_fn_cxx_try_compile "$LINENO"; then :
73274 glibcxx_cv_func_sincos_use=yes
73275 else
73276 glibcxx_cv_func_sincos_use=no
73277 fi
73278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73279 ac_ext=c
73280 ac_cpp='$CPP $CPPFLAGS'
73281 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73282 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73283 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73284
73285
73286 fi
73287
73288 fi
73289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
73290 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
73291
73292 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
73293 for ac_func in sincos
73294 do :
73295 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
73296 if test "x$ac_cv_func_sincos" = xyes; then :
73297 cat >>confdefs.h <<_ACEOF
73298 #define HAVE_SINCOS 1
73299 _ACEOF
73300
73301 fi
73302 done
73303
73304 else
73305
73306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
73307 $as_echo_n "checking for _sincos declaration... " >&6; }
73308 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
73309 if ${glibcxx_cv_func__sincos_use+:} false; then :
73310 $as_echo_n "(cached) " >&6
73311 else
73312
73313
73314 ac_ext=cpp
73315 ac_cpp='$CXXCPP $CPPFLAGS'
73316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73319
73320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73321 /* end confdefs.h. */
73322 #include <math.h>
73323 int
73324 main ()
73325 {
73326 _sincos(0, 0, 0);
73327 ;
73328 return 0;
73329 }
73330 _ACEOF
73331 if ac_fn_cxx_try_compile "$LINENO"; then :
73332 glibcxx_cv_func__sincos_use=yes
73333 else
73334 glibcxx_cv_func__sincos_use=no
73335 fi
73336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73337 ac_ext=c
73338 ac_cpp='$CPP $CPPFLAGS'
73339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73342
73343
73344 fi
73345
73346 fi
73347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
73348 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
73349
73350 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
73351 for ac_func in _sincos
73352 do :
73353 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
73354 if test "x$ac_cv_func__sincos" = xyes; then :
73355 cat >>confdefs.h <<_ACEOF
73356 #define HAVE__SINCOS 1
73357 _ACEOF
73358
73359 fi
73360 done
73361
73362 fi
73363 fi
73364
73365
73366
73367
73368
73369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
73370 $as_echo_n "checking for fpclass declaration... " >&6; }
73371 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
73372 if ${glibcxx_cv_func_fpclass_use+:} false; then :
73373 $as_echo_n "(cached) " >&6
73374 else
73375
73376
73377 ac_ext=cpp
73378 ac_cpp='$CXXCPP $CPPFLAGS'
73379 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73380 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73381 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73382
73383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73384 /* end confdefs.h. */
73385 #include <math.h>
73386 #ifdef HAVE_IEEEFP_H
73387 #include <ieeefp.h>
73388 #endif
73389
73390 int
73391 main ()
73392 {
73393 fpclass(0);
73394 ;
73395 return 0;
73396 }
73397 _ACEOF
73398 if ac_fn_cxx_try_compile "$LINENO"; then :
73399 glibcxx_cv_func_fpclass_use=yes
73400 else
73401 glibcxx_cv_func_fpclass_use=no
73402 fi
73403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73404 ac_ext=c
73405 ac_cpp='$CPP $CPPFLAGS'
73406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73409
73410
73411 fi
73412
73413 fi
73414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
73415 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
73416
73417 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
73418 for ac_func in fpclass
73419 do :
73420 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
73421 if test "x$ac_cv_func_fpclass" = xyes; then :
73422 cat >>confdefs.h <<_ACEOF
73423 #define HAVE_FPCLASS 1
73424 _ACEOF
73425
73426 fi
73427 done
73428
73429 else
73430
73431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
73432 $as_echo_n "checking for _fpclass declaration... " >&6; }
73433 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
73434 if ${glibcxx_cv_func__fpclass_use+:} false; then :
73435 $as_echo_n "(cached) " >&6
73436 else
73437
73438
73439 ac_ext=cpp
73440 ac_cpp='$CXXCPP $CPPFLAGS'
73441 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73442 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73443 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73444
73445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73446 /* end confdefs.h. */
73447 #include <math.h>
73448 #ifdef HAVE_IEEEFP_H
73449 #include <ieeefp.h>
73450 #endif
73451
73452 int
73453 main ()
73454 {
73455 _fpclass(0);
73456 ;
73457 return 0;
73458 }
73459 _ACEOF
73460 if ac_fn_cxx_try_compile "$LINENO"; then :
73461 glibcxx_cv_func__fpclass_use=yes
73462 else
73463 glibcxx_cv_func__fpclass_use=no
73464 fi
73465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73466 ac_ext=c
73467 ac_cpp='$CPP $CPPFLAGS'
73468 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73469 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73470 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73471
73472
73473 fi
73474
73475 fi
73476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
73477 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
73478
73479 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
73480 for ac_func in _fpclass
73481 do :
73482 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
73483 if test "x$ac_cv_func__fpclass" = xyes; then :
73484 cat >>confdefs.h <<_ACEOF
73485 #define HAVE__FPCLASS 1
73486 _ACEOF
73487
73488 fi
73489 done
73490
73491 fi
73492 fi
73493
73494
73495
73496
73497
73498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
73499 $as_echo_n "checking for qfpclass declaration... " >&6; }
73500 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
73501 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
73502 $as_echo_n "(cached) " >&6
73503 else
73504
73505
73506 ac_ext=cpp
73507 ac_cpp='$CXXCPP $CPPFLAGS'
73508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73511
73512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73513 /* end confdefs.h. */
73514 #include <math.h>
73515 #ifdef HAVE_IEEEFP_H
73516 #include <ieeefp.h>
73517 #endif
73518
73519 int
73520 main ()
73521 {
73522 qfpclass(0);
73523 ;
73524 return 0;
73525 }
73526 _ACEOF
73527 if ac_fn_cxx_try_compile "$LINENO"; then :
73528 glibcxx_cv_func_qfpclass_use=yes
73529 else
73530 glibcxx_cv_func_qfpclass_use=no
73531 fi
73532 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73533 ac_ext=c
73534 ac_cpp='$CPP $CPPFLAGS'
73535 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73536 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73537 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73538
73539
73540 fi
73541
73542 fi
73543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
73544 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
73545
73546 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
73547 for ac_func in qfpclass
73548 do :
73549 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
73550 if test "x$ac_cv_func_qfpclass" = xyes; then :
73551 cat >>confdefs.h <<_ACEOF
73552 #define HAVE_QFPCLASS 1
73553 _ACEOF
73554
73555 fi
73556 done
73557
73558 else
73559
73560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
73561 $as_echo_n "checking for _qfpclass declaration... " >&6; }
73562 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
73563 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
73564 $as_echo_n "(cached) " >&6
73565 else
73566
73567
73568 ac_ext=cpp
73569 ac_cpp='$CXXCPP $CPPFLAGS'
73570 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73571 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73572 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73573
73574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73575 /* end confdefs.h. */
73576 #include <math.h>
73577 #ifdef HAVE_IEEEFP_H
73578 #include <ieeefp.h>
73579 #endif
73580
73581 int
73582 main ()
73583 {
73584 _qfpclass(0);
73585 ;
73586 return 0;
73587 }
73588 _ACEOF
73589 if ac_fn_cxx_try_compile "$LINENO"; then :
73590 glibcxx_cv_func__qfpclass_use=yes
73591 else
73592 glibcxx_cv_func__qfpclass_use=no
73593 fi
73594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73595 ac_ext=c
73596 ac_cpp='$CPP $CPPFLAGS'
73597 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73598 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73599 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73600
73601
73602 fi
73603
73604 fi
73605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
73606 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
73607
73608 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
73609 for ac_func in _qfpclass
73610 do :
73611 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
73612 if test "x$ac_cv_func__qfpclass" = xyes; then :
73613 cat >>confdefs.h <<_ACEOF
73614 #define HAVE__QFPCLASS 1
73615 _ACEOF
73616
73617 fi
73618 done
73619
73620 fi
73621 fi
73622
73623
73624
73625
73626
73627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
73628 $as_echo_n "checking for hypot declaration... " >&6; }
73629 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
73630 if ${glibcxx_cv_func_hypot_use+:} false; then :
73631 $as_echo_n "(cached) " >&6
73632 else
73633
73634
73635 ac_ext=cpp
73636 ac_cpp='$CXXCPP $CPPFLAGS'
73637 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73638 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73639 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73640
73641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73642 /* end confdefs.h. */
73643 #include <math.h>
73644 int
73645 main ()
73646 {
73647 hypot(0, 0);
73648 ;
73649 return 0;
73650 }
73651 _ACEOF
73652 if ac_fn_cxx_try_compile "$LINENO"; then :
73653 glibcxx_cv_func_hypot_use=yes
73654 else
73655 glibcxx_cv_func_hypot_use=no
73656 fi
73657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73658 ac_ext=c
73659 ac_cpp='$CPP $CPPFLAGS'
73660 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73661 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73662 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73663
73664
73665 fi
73666
73667 fi
73668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
73669 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
73670
73671 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
73672 for ac_func in hypot
73673 do :
73674 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
73675 if test "x$ac_cv_func_hypot" = xyes; then :
73676 cat >>confdefs.h <<_ACEOF
73677 #define HAVE_HYPOT 1
73678 _ACEOF
73679
73680 fi
73681 done
73682
73683 else
73684
73685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
73686 $as_echo_n "checking for _hypot declaration... " >&6; }
73687 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
73688 if ${glibcxx_cv_func__hypot_use+:} false; then :
73689 $as_echo_n "(cached) " >&6
73690 else
73691
73692
73693 ac_ext=cpp
73694 ac_cpp='$CXXCPP $CPPFLAGS'
73695 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73696 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73697 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73698
73699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73700 /* end confdefs.h. */
73701 #include <math.h>
73702 int
73703 main ()
73704 {
73705 _hypot(0, 0);
73706 ;
73707 return 0;
73708 }
73709 _ACEOF
73710 if ac_fn_cxx_try_compile "$LINENO"; then :
73711 glibcxx_cv_func__hypot_use=yes
73712 else
73713 glibcxx_cv_func__hypot_use=no
73714 fi
73715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73716 ac_ext=c
73717 ac_cpp='$CPP $CPPFLAGS'
73718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73721
73722
73723 fi
73724
73725 fi
73726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
73727 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
73728
73729 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
73730 for ac_func in _hypot
73731 do :
73732 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
73733 if test "x$ac_cv_func__hypot" = xyes; then :
73734 cat >>confdefs.h <<_ACEOF
73735 #define HAVE__HYPOT 1
73736 _ACEOF
73737
73738 fi
73739 done
73740
73741 fi
73742 fi
73743
73744
73745
73746
73747
73748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
73749 $as_echo_n "checking for float trig functions... " >&6; }
73750 if ${glibcxx_cv_func_float_trig_use+:} false; then :
73751 $as_echo_n "(cached) " >&6
73752 else
73753
73754
73755 ac_ext=cpp
73756 ac_cpp='$CXXCPP $CPPFLAGS'
73757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73760
73761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73762 /* end confdefs.h. */
73763 #include <math.h>
73764 int
73765 main ()
73766 {
73767 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
73768 ;
73769 return 0;
73770 }
73771 _ACEOF
73772 if ac_fn_cxx_try_compile "$LINENO"; then :
73773 glibcxx_cv_func_float_trig_use=yes
73774 else
73775 glibcxx_cv_func_float_trig_use=no
73776 fi
73777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73778 ac_ext=c
73779 ac_cpp='$CPP $CPPFLAGS'
73780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73783
73784 fi
73785
73786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
73787 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
73788 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
73789 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
73790 do :
73791 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73792 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73793 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73794 cat >>confdefs.h <<_ACEOF
73795 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73796 _ACEOF
73797
73798 fi
73799 done
73800
73801 else
73802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
73803 $as_echo_n "checking for _float trig functions... " >&6; }
73804 if ${glibcxx_cv_func__float_trig_use+:} false; then :
73805 $as_echo_n "(cached) " >&6
73806 else
73807
73808
73809 ac_ext=cpp
73810 ac_cpp='$CXXCPP $CPPFLAGS'
73811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73814
73815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73816 /* end confdefs.h. */
73817 #include <math.h>
73818 int
73819 main ()
73820 {
73821 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
73822 ;
73823 return 0;
73824 }
73825 _ACEOF
73826 if ac_fn_cxx_try_compile "$LINENO"; then :
73827 glibcxx_cv_func__float_trig_use=yes
73828 else
73829 glibcxx_cv_func__float_trig_use=no
73830 fi
73831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73832 ac_ext=c
73833 ac_cpp='$CPP $CPPFLAGS'
73834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73837
73838 fi
73839
73840 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
73841 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
73842 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
73843 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
73844 do :
73845 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73846 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73847 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73848 cat >>confdefs.h <<_ACEOF
73849 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73850 _ACEOF
73851
73852 fi
73853 done
73854
73855 fi
73856 fi
73857
73858
73859
73860
73861
73862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
73863 $as_echo_n "checking for float round functions... " >&6; }
73864 if ${glibcxx_cv_func_float_round_use+:} false; then :
73865 $as_echo_n "(cached) " >&6
73866 else
73867
73868
73869 ac_ext=cpp
73870 ac_cpp='$CXXCPP $CPPFLAGS'
73871 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73872 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73873 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73874
73875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73876 /* end confdefs.h. */
73877 #include <math.h>
73878 int
73879 main ()
73880 {
73881 ceilf (0); floorf (0);
73882 ;
73883 return 0;
73884 }
73885 _ACEOF
73886 if ac_fn_cxx_try_compile "$LINENO"; then :
73887 glibcxx_cv_func_float_round_use=yes
73888 else
73889 glibcxx_cv_func_float_round_use=no
73890 fi
73891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73892 ac_ext=c
73893 ac_cpp='$CPP $CPPFLAGS'
73894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73897
73898 fi
73899
73900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
73901 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
73902 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
73903 for ac_func in ceilf floorf
73904 do :
73905 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73906 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73907 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73908 cat >>confdefs.h <<_ACEOF
73909 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73910 _ACEOF
73911
73912 fi
73913 done
73914
73915 else
73916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
73917 $as_echo_n "checking for _float round functions... " >&6; }
73918 if ${glibcxx_cv_func__float_round_use+:} false; then :
73919 $as_echo_n "(cached) " >&6
73920 else
73921
73922
73923 ac_ext=cpp
73924 ac_cpp='$CXXCPP $CPPFLAGS'
73925 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73926 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73927 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73928
73929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73930 /* end confdefs.h. */
73931 #include <math.h>
73932 int
73933 main ()
73934 {
73935 _ceilf (0); _floorf (0);
73936 ;
73937 return 0;
73938 }
73939 _ACEOF
73940 if ac_fn_cxx_try_compile "$LINENO"; then :
73941 glibcxx_cv_func__float_round_use=yes
73942 else
73943 glibcxx_cv_func__float_round_use=no
73944 fi
73945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73946 ac_ext=c
73947 ac_cpp='$CPP $CPPFLAGS'
73948 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73949 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73950 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73951
73952 fi
73953
73954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
73955 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
73956 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
73957 for ac_func in _ceilf _floorf
73958 do :
73959 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
73960 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
73961 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
73962 cat >>confdefs.h <<_ACEOF
73963 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
73964 _ACEOF
73965
73966 fi
73967 done
73968
73969 fi
73970 fi
73971
73972
73973
73974
73975
73976
73977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
73978 $as_echo_n "checking for expf declaration... " >&6; }
73979 if test x${glibcxx_cv_func_expf_use+set} != xset; then
73980 if ${glibcxx_cv_func_expf_use+:} false; then :
73981 $as_echo_n "(cached) " >&6
73982 else
73983
73984
73985 ac_ext=cpp
73986 ac_cpp='$CXXCPP $CPPFLAGS'
73987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
73990
73991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73992 /* end confdefs.h. */
73993 #include <math.h>
73994 #ifdef HAVE_IEEEFP_H
73995 #include <ieeefp.h>
73996 #endif
73997
73998 int
73999 main ()
74000 {
74001 expf(0);
74002 ;
74003 return 0;
74004 }
74005 _ACEOF
74006 if ac_fn_cxx_try_compile "$LINENO"; then :
74007 glibcxx_cv_func_expf_use=yes
74008 else
74009 glibcxx_cv_func_expf_use=no
74010 fi
74011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74012 ac_ext=c
74013 ac_cpp='$CPP $CPPFLAGS'
74014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74017
74018
74019 fi
74020
74021 fi
74022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
74023 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
74024
74025 if test x$glibcxx_cv_func_expf_use = x"yes"; then
74026 for ac_func in expf
74027 do :
74028 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
74029 if test "x$ac_cv_func_expf" = xyes; then :
74030 cat >>confdefs.h <<_ACEOF
74031 #define HAVE_EXPF 1
74032 _ACEOF
74033
74034 fi
74035 done
74036
74037 else
74038
74039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
74040 $as_echo_n "checking for _expf declaration... " >&6; }
74041 if test x${glibcxx_cv_func__expf_use+set} != xset; then
74042 if ${glibcxx_cv_func__expf_use+:} false; then :
74043 $as_echo_n "(cached) " >&6
74044 else
74045
74046
74047 ac_ext=cpp
74048 ac_cpp='$CXXCPP $CPPFLAGS'
74049 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74050 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74051 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74052
74053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74054 /* end confdefs.h. */
74055 #include <math.h>
74056 #ifdef HAVE_IEEEFP_H
74057 #include <ieeefp.h>
74058 #endif
74059
74060 int
74061 main ()
74062 {
74063 _expf(0);
74064 ;
74065 return 0;
74066 }
74067 _ACEOF
74068 if ac_fn_cxx_try_compile "$LINENO"; then :
74069 glibcxx_cv_func__expf_use=yes
74070 else
74071 glibcxx_cv_func__expf_use=no
74072 fi
74073 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74074 ac_ext=c
74075 ac_cpp='$CPP $CPPFLAGS'
74076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74079
74080
74081 fi
74082
74083 fi
74084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
74085 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
74086
74087 if test x$glibcxx_cv_func__expf_use = x"yes"; then
74088 for ac_func in _expf
74089 do :
74090 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
74091 if test "x$ac_cv_func__expf" = xyes; then :
74092 cat >>confdefs.h <<_ACEOF
74093 #define HAVE__EXPF 1
74094 _ACEOF
74095
74096 fi
74097 done
74098
74099 fi
74100 fi
74101
74102
74103
74104
74105
74106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
74107 $as_echo_n "checking for isnanf declaration... " >&6; }
74108 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
74109 if ${glibcxx_cv_func_isnanf_use+:} false; then :
74110 $as_echo_n "(cached) " >&6
74111 else
74112
74113
74114 ac_ext=cpp
74115 ac_cpp='$CXXCPP $CPPFLAGS'
74116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74119
74120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74121 /* end confdefs.h. */
74122 #include <math.h>
74123 #ifdef HAVE_IEEEFP_H
74124 #include <ieeefp.h>
74125 #endif
74126
74127 int
74128 main ()
74129 {
74130 isnanf(0);
74131 ;
74132 return 0;
74133 }
74134 _ACEOF
74135 if ac_fn_cxx_try_compile "$LINENO"; then :
74136 glibcxx_cv_func_isnanf_use=yes
74137 else
74138 glibcxx_cv_func_isnanf_use=no
74139 fi
74140 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74141 ac_ext=c
74142 ac_cpp='$CPP $CPPFLAGS'
74143 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74144 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74145 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74146
74147
74148 fi
74149
74150 fi
74151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
74152 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
74153
74154 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
74155 for ac_func in isnanf
74156 do :
74157 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
74158 if test "x$ac_cv_func_isnanf" = xyes; then :
74159 cat >>confdefs.h <<_ACEOF
74160 #define HAVE_ISNANF 1
74161 _ACEOF
74162
74163 fi
74164 done
74165
74166 else
74167
74168 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
74169 $as_echo_n "checking for _isnanf declaration... " >&6; }
74170 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
74171 if ${glibcxx_cv_func__isnanf_use+:} false; then :
74172 $as_echo_n "(cached) " >&6
74173 else
74174
74175
74176 ac_ext=cpp
74177 ac_cpp='$CXXCPP $CPPFLAGS'
74178 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74179 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74180 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74181
74182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74183 /* end confdefs.h. */
74184 #include <math.h>
74185 #ifdef HAVE_IEEEFP_H
74186 #include <ieeefp.h>
74187 #endif
74188
74189 int
74190 main ()
74191 {
74192 _isnanf(0);
74193 ;
74194 return 0;
74195 }
74196 _ACEOF
74197 if ac_fn_cxx_try_compile "$LINENO"; then :
74198 glibcxx_cv_func__isnanf_use=yes
74199 else
74200 glibcxx_cv_func__isnanf_use=no
74201 fi
74202 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74203 ac_ext=c
74204 ac_cpp='$CPP $CPPFLAGS'
74205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74208
74209
74210 fi
74211
74212 fi
74213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
74214 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
74215
74216 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
74217 for ac_func in _isnanf
74218 do :
74219 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
74220 if test "x$ac_cv_func__isnanf" = xyes; then :
74221 cat >>confdefs.h <<_ACEOF
74222 #define HAVE__ISNANF 1
74223 _ACEOF
74224
74225 fi
74226 done
74227
74228 fi
74229 fi
74230
74231
74232
74233
74234
74235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
74236 $as_echo_n "checking for isinff declaration... " >&6; }
74237 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
74238 if ${glibcxx_cv_func_isinff_use+:} false; then :
74239 $as_echo_n "(cached) " >&6
74240 else
74241
74242
74243 ac_ext=cpp
74244 ac_cpp='$CXXCPP $CPPFLAGS'
74245 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74246 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74247 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74248
74249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74250 /* end confdefs.h. */
74251 #include <math.h>
74252 #ifdef HAVE_IEEEFP_H
74253 #include <ieeefp.h>
74254 #endif
74255
74256 int
74257 main ()
74258 {
74259 isinff(0);
74260 ;
74261 return 0;
74262 }
74263 _ACEOF
74264 if ac_fn_cxx_try_compile "$LINENO"; then :
74265 glibcxx_cv_func_isinff_use=yes
74266 else
74267 glibcxx_cv_func_isinff_use=no
74268 fi
74269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74270 ac_ext=c
74271 ac_cpp='$CPP $CPPFLAGS'
74272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74275
74276
74277 fi
74278
74279 fi
74280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
74281 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
74282
74283 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
74284 for ac_func in isinff
74285 do :
74286 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
74287 if test "x$ac_cv_func_isinff" = xyes; then :
74288 cat >>confdefs.h <<_ACEOF
74289 #define HAVE_ISINFF 1
74290 _ACEOF
74291
74292 fi
74293 done
74294
74295 else
74296
74297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
74298 $as_echo_n "checking for _isinff declaration... " >&6; }
74299 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
74300 if ${glibcxx_cv_func__isinff_use+:} false; then :
74301 $as_echo_n "(cached) " >&6
74302 else
74303
74304
74305 ac_ext=cpp
74306 ac_cpp='$CXXCPP $CPPFLAGS'
74307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74310
74311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74312 /* end confdefs.h. */
74313 #include <math.h>
74314 #ifdef HAVE_IEEEFP_H
74315 #include <ieeefp.h>
74316 #endif
74317
74318 int
74319 main ()
74320 {
74321 _isinff(0);
74322 ;
74323 return 0;
74324 }
74325 _ACEOF
74326 if ac_fn_cxx_try_compile "$LINENO"; then :
74327 glibcxx_cv_func__isinff_use=yes
74328 else
74329 glibcxx_cv_func__isinff_use=no
74330 fi
74331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74332 ac_ext=c
74333 ac_cpp='$CPP $CPPFLAGS'
74334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74337
74338
74339 fi
74340
74341 fi
74342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
74343 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
74344
74345 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
74346 for ac_func in _isinff
74347 do :
74348 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
74349 if test "x$ac_cv_func__isinff" = xyes; then :
74350 cat >>confdefs.h <<_ACEOF
74351 #define HAVE__ISINFF 1
74352 _ACEOF
74353
74354 fi
74355 done
74356
74357 fi
74358 fi
74359
74360
74361
74362
74363
74364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
74365 $as_echo_n "checking for atan2f declaration... " >&6; }
74366 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
74367 if ${glibcxx_cv_func_atan2f_use+:} false; then :
74368 $as_echo_n "(cached) " >&6
74369 else
74370
74371
74372 ac_ext=cpp
74373 ac_cpp='$CXXCPP $CPPFLAGS'
74374 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74375 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74376 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74377
74378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74379 /* end confdefs.h. */
74380 #include <math.h>
74381 int
74382 main ()
74383 {
74384 atan2f(0, 0);
74385 ;
74386 return 0;
74387 }
74388 _ACEOF
74389 if ac_fn_cxx_try_compile "$LINENO"; then :
74390 glibcxx_cv_func_atan2f_use=yes
74391 else
74392 glibcxx_cv_func_atan2f_use=no
74393 fi
74394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74395 ac_ext=c
74396 ac_cpp='$CPP $CPPFLAGS'
74397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74400
74401
74402 fi
74403
74404 fi
74405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
74406 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
74407
74408 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
74409 for ac_func in atan2f
74410 do :
74411 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
74412 if test "x$ac_cv_func_atan2f" = xyes; then :
74413 cat >>confdefs.h <<_ACEOF
74414 #define HAVE_ATAN2F 1
74415 _ACEOF
74416
74417 fi
74418 done
74419
74420 else
74421
74422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
74423 $as_echo_n "checking for _atan2f declaration... " >&6; }
74424 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
74425 if ${glibcxx_cv_func__atan2f_use+:} false; then :
74426 $as_echo_n "(cached) " >&6
74427 else
74428
74429
74430 ac_ext=cpp
74431 ac_cpp='$CXXCPP $CPPFLAGS'
74432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74435
74436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74437 /* end confdefs.h. */
74438 #include <math.h>
74439 int
74440 main ()
74441 {
74442 _atan2f(0, 0);
74443 ;
74444 return 0;
74445 }
74446 _ACEOF
74447 if ac_fn_cxx_try_compile "$LINENO"; then :
74448 glibcxx_cv_func__atan2f_use=yes
74449 else
74450 glibcxx_cv_func__atan2f_use=no
74451 fi
74452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74453 ac_ext=c
74454 ac_cpp='$CPP $CPPFLAGS'
74455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74458
74459
74460 fi
74461
74462 fi
74463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
74464 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
74465
74466 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
74467 for ac_func in _atan2f
74468 do :
74469 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
74470 if test "x$ac_cv_func__atan2f" = xyes; then :
74471 cat >>confdefs.h <<_ACEOF
74472 #define HAVE__ATAN2F 1
74473 _ACEOF
74474
74475 fi
74476 done
74477
74478 fi
74479 fi
74480
74481
74482
74483
74484
74485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
74486 $as_echo_n "checking for fabsf declaration... " >&6; }
74487 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
74488 if ${glibcxx_cv_func_fabsf_use+:} false; then :
74489 $as_echo_n "(cached) " >&6
74490 else
74491
74492
74493 ac_ext=cpp
74494 ac_cpp='$CXXCPP $CPPFLAGS'
74495 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74496 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74497 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74498
74499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74500 /* end confdefs.h. */
74501 #include <math.h>
74502 #ifdef HAVE_IEEEFP_H
74503 #include <ieeefp.h>
74504 #endif
74505
74506 int
74507 main ()
74508 {
74509 fabsf(0);
74510 ;
74511 return 0;
74512 }
74513 _ACEOF
74514 if ac_fn_cxx_try_compile "$LINENO"; then :
74515 glibcxx_cv_func_fabsf_use=yes
74516 else
74517 glibcxx_cv_func_fabsf_use=no
74518 fi
74519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74520 ac_ext=c
74521 ac_cpp='$CPP $CPPFLAGS'
74522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74525
74526
74527 fi
74528
74529 fi
74530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
74531 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
74532
74533 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
74534 for ac_func in fabsf
74535 do :
74536 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
74537 if test "x$ac_cv_func_fabsf" = xyes; then :
74538 cat >>confdefs.h <<_ACEOF
74539 #define HAVE_FABSF 1
74540 _ACEOF
74541
74542 fi
74543 done
74544
74545 else
74546
74547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
74548 $as_echo_n "checking for _fabsf declaration... " >&6; }
74549 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
74550 if ${glibcxx_cv_func__fabsf_use+:} false; then :
74551 $as_echo_n "(cached) " >&6
74552 else
74553
74554
74555 ac_ext=cpp
74556 ac_cpp='$CXXCPP $CPPFLAGS'
74557 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74558 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74559 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74560
74561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74562 /* end confdefs.h. */
74563 #include <math.h>
74564 #ifdef HAVE_IEEEFP_H
74565 #include <ieeefp.h>
74566 #endif
74567
74568 int
74569 main ()
74570 {
74571 _fabsf(0);
74572 ;
74573 return 0;
74574 }
74575 _ACEOF
74576 if ac_fn_cxx_try_compile "$LINENO"; then :
74577 glibcxx_cv_func__fabsf_use=yes
74578 else
74579 glibcxx_cv_func__fabsf_use=no
74580 fi
74581 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74582 ac_ext=c
74583 ac_cpp='$CPP $CPPFLAGS'
74584 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74585 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74586 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74587
74588
74589 fi
74590
74591 fi
74592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
74593 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
74594
74595 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
74596 for ac_func in _fabsf
74597 do :
74598 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
74599 if test "x$ac_cv_func__fabsf" = xyes; then :
74600 cat >>confdefs.h <<_ACEOF
74601 #define HAVE__FABSF 1
74602 _ACEOF
74603
74604 fi
74605 done
74606
74607 fi
74608 fi
74609
74610
74611
74612
74613
74614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
74615 $as_echo_n "checking for fmodf declaration... " >&6; }
74616 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
74617 if ${glibcxx_cv_func_fmodf_use+:} false; then :
74618 $as_echo_n "(cached) " >&6
74619 else
74620
74621
74622 ac_ext=cpp
74623 ac_cpp='$CXXCPP $CPPFLAGS'
74624 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74625 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74626 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74627
74628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74629 /* end confdefs.h. */
74630 #include <math.h>
74631 int
74632 main ()
74633 {
74634 fmodf(0, 0);
74635 ;
74636 return 0;
74637 }
74638 _ACEOF
74639 if ac_fn_cxx_try_compile "$LINENO"; then :
74640 glibcxx_cv_func_fmodf_use=yes
74641 else
74642 glibcxx_cv_func_fmodf_use=no
74643 fi
74644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74645 ac_ext=c
74646 ac_cpp='$CPP $CPPFLAGS'
74647 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74648 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74649 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74650
74651
74652 fi
74653
74654 fi
74655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
74656 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
74657
74658 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
74659 for ac_func in fmodf
74660 do :
74661 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
74662 if test "x$ac_cv_func_fmodf" = xyes; then :
74663 cat >>confdefs.h <<_ACEOF
74664 #define HAVE_FMODF 1
74665 _ACEOF
74666
74667 fi
74668 done
74669
74670 else
74671
74672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
74673 $as_echo_n "checking for _fmodf declaration... " >&6; }
74674 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
74675 if ${glibcxx_cv_func__fmodf_use+:} false; then :
74676 $as_echo_n "(cached) " >&6
74677 else
74678
74679
74680 ac_ext=cpp
74681 ac_cpp='$CXXCPP $CPPFLAGS'
74682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74685
74686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74687 /* end confdefs.h. */
74688 #include <math.h>
74689 int
74690 main ()
74691 {
74692 _fmodf(0, 0);
74693 ;
74694 return 0;
74695 }
74696 _ACEOF
74697 if ac_fn_cxx_try_compile "$LINENO"; then :
74698 glibcxx_cv_func__fmodf_use=yes
74699 else
74700 glibcxx_cv_func__fmodf_use=no
74701 fi
74702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74703 ac_ext=c
74704 ac_cpp='$CPP $CPPFLAGS'
74705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74708
74709
74710 fi
74711
74712 fi
74713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
74714 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
74715
74716 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
74717 for ac_func in _fmodf
74718 do :
74719 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
74720 if test "x$ac_cv_func__fmodf" = xyes; then :
74721 cat >>confdefs.h <<_ACEOF
74722 #define HAVE__FMODF 1
74723 _ACEOF
74724
74725 fi
74726 done
74727
74728 fi
74729 fi
74730
74731
74732
74733
74734
74735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
74736 $as_echo_n "checking for frexpf declaration... " >&6; }
74737 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
74738 if ${glibcxx_cv_func_frexpf_use+:} false; then :
74739 $as_echo_n "(cached) " >&6
74740 else
74741
74742
74743 ac_ext=cpp
74744 ac_cpp='$CXXCPP $CPPFLAGS'
74745 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74746 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74747 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74748
74749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74750 /* end confdefs.h. */
74751 #include <math.h>
74752 int
74753 main ()
74754 {
74755 frexpf(0, 0);
74756 ;
74757 return 0;
74758 }
74759 _ACEOF
74760 if ac_fn_cxx_try_compile "$LINENO"; then :
74761 glibcxx_cv_func_frexpf_use=yes
74762 else
74763 glibcxx_cv_func_frexpf_use=no
74764 fi
74765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74766 ac_ext=c
74767 ac_cpp='$CPP $CPPFLAGS'
74768 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74769 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74770 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74771
74772
74773 fi
74774
74775 fi
74776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
74777 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
74778
74779 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
74780 for ac_func in frexpf
74781 do :
74782 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
74783 if test "x$ac_cv_func_frexpf" = xyes; then :
74784 cat >>confdefs.h <<_ACEOF
74785 #define HAVE_FREXPF 1
74786 _ACEOF
74787
74788 fi
74789 done
74790
74791 else
74792
74793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
74794 $as_echo_n "checking for _frexpf declaration... " >&6; }
74795 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
74796 if ${glibcxx_cv_func__frexpf_use+:} false; then :
74797 $as_echo_n "(cached) " >&6
74798 else
74799
74800
74801 ac_ext=cpp
74802 ac_cpp='$CXXCPP $CPPFLAGS'
74803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74806
74807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74808 /* end confdefs.h. */
74809 #include <math.h>
74810 int
74811 main ()
74812 {
74813 _frexpf(0, 0);
74814 ;
74815 return 0;
74816 }
74817 _ACEOF
74818 if ac_fn_cxx_try_compile "$LINENO"; then :
74819 glibcxx_cv_func__frexpf_use=yes
74820 else
74821 glibcxx_cv_func__frexpf_use=no
74822 fi
74823 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74824 ac_ext=c
74825 ac_cpp='$CPP $CPPFLAGS'
74826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74829
74830
74831 fi
74832
74833 fi
74834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
74835 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
74836
74837 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
74838 for ac_func in _frexpf
74839 do :
74840 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
74841 if test "x$ac_cv_func__frexpf" = xyes; then :
74842 cat >>confdefs.h <<_ACEOF
74843 #define HAVE__FREXPF 1
74844 _ACEOF
74845
74846 fi
74847 done
74848
74849 fi
74850 fi
74851
74852
74853
74854
74855
74856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
74857 $as_echo_n "checking for hypotf declaration... " >&6; }
74858 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
74859 if ${glibcxx_cv_func_hypotf_use+:} false; then :
74860 $as_echo_n "(cached) " >&6
74861 else
74862
74863
74864 ac_ext=cpp
74865 ac_cpp='$CXXCPP $CPPFLAGS'
74866 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74867 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74868 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74869
74870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74871 /* end confdefs.h. */
74872 #include <math.h>
74873 int
74874 main ()
74875 {
74876 hypotf(0, 0);
74877 ;
74878 return 0;
74879 }
74880 _ACEOF
74881 if ac_fn_cxx_try_compile "$LINENO"; then :
74882 glibcxx_cv_func_hypotf_use=yes
74883 else
74884 glibcxx_cv_func_hypotf_use=no
74885 fi
74886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74887 ac_ext=c
74888 ac_cpp='$CPP $CPPFLAGS'
74889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74892
74893
74894 fi
74895
74896 fi
74897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
74898 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
74899
74900 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
74901 for ac_func in hypotf
74902 do :
74903 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
74904 if test "x$ac_cv_func_hypotf" = xyes; then :
74905 cat >>confdefs.h <<_ACEOF
74906 #define HAVE_HYPOTF 1
74907 _ACEOF
74908
74909 fi
74910 done
74911
74912 else
74913
74914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
74915 $as_echo_n "checking for _hypotf declaration... " >&6; }
74916 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
74917 if ${glibcxx_cv_func__hypotf_use+:} false; then :
74918 $as_echo_n "(cached) " >&6
74919 else
74920
74921
74922 ac_ext=cpp
74923 ac_cpp='$CXXCPP $CPPFLAGS'
74924 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74925 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74926 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74927
74928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74929 /* end confdefs.h. */
74930 #include <math.h>
74931 int
74932 main ()
74933 {
74934 _hypotf(0, 0);
74935 ;
74936 return 0;
74937 }
74938 _ACEOF
74939 if ac_fn_cxx_try_compile "$LINENO"; then :
74940 glibcxx_cv_func__hypotf_use=yes
74941 else
74942 glibcxx_cv_func__hypotf_use=no
74943 fi
74944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74945 ac_ext=c
74946 ac_cpp='$CPP $CPPFLAGS'
74947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
74950
74951
74952 fi
74953
74954 fi
74955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
74956 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
74957
74958 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
74959 for ac_func in _hypotf
74960 do :
74961 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
74962 if test "x$ac_cv_func__hypotf" = xyes; then :
74963 cat >>confdefs.h <<_ACEOF
74964 #define HAVE__HYPOTF 1
74965 _ACEOF
74966
74967 fi
74968 done
74969
74970 fi
74971 fi
74972
74973
74974
74975
74976
74977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
74978 $as_echo_n "checking for ldexpf declaration... " >&6; }
74979 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
74980 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
74981 $as_echo_n "(cached) " >&6
74982 else
74983
74984
74985 ac_ext=cpp
74986 ac_cpp='$CXXCPP $CPPFLAGS'
74987 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
74988 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
74989 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
74990
74991 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74992 /* end confdefs.h. */
74993 #include <math.h>
74994 int
74995 main ()
74996 {
74997 ldexpf(0, 0);
74998 ;
74999 return 0;
75000 }
75001 _ACEOF
75002 if ac_fn_cxx_try_compile "$LINENO"; then :
75003 glibcxx_cv_func_ldexpf_use=yes
75004 else
75005 glibcxx_cv_func_ldexpf_use=no
75006 fi
75007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75008 ac_ext=c
75009 ac_cpp='$CPP $CPPFLAGS'
75010 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75011 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75012 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75013
75014
75015 fi
75016
75017 fi
75018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
75019 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
75020
75021 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
75022 for ac_func in ldexpf
75023 do :
75024 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
75025 if test "x$ac_cv_func_ldexpf" = xyes; then :
75026 cat >>confdefs.h <<_ACEOF
75027 #define HAVE_LDEXPF 1
75028 _ACEOF
75029
75030 fi
75031 done
75032
75033 else
75034
75035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
75036 $as_echo_n "checking for _ldexpf declaration... " >&6; }
75037 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
75038 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
75039 $as_echo_n "(cached) " >&6
75040 else
75041
75042
75043 ac_ext=cpp
75044 ac_cpp='$CXXCPP $CPPFLAGS'
75045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75048
75049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75050 /* end confdefs.h. */
75051 #include <math.h>
75052 int
75053 main ()
75054 {
75055 _ldexpf(0, 0);
75056 ;
75057 return 0;
75058 }
75059 _ACEOF
75060 if ac_fn_cxx_try_compile "$LINENO"; then :
75061 glibcxx_cv_func__ldexpf_use=yes
75062 else
75063 glibcxx_cv_func__ldexpf_use=no
75064 fi
75065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75066 ac_ext=c
75067 ac_cpp='$CPP $CPPFLAGS'
75068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75071
75072
75073 fi
75074
75075 fi
75076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
75077 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
75078
75079 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
75080 for ac_func in _ldexpf
75081 do :
75082 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
75083 if test "x$ac_cv_func__ldexpf" = xyes; then :
75084 cat >>confdefs.h <<_ACEOF
75085 #define HAVE__LDEXPF 1
75086 _ACEOF
75087
75088 fi
75089 done
75090
75091 fi
75092 fi
75093
75094
75095
75096
75097
75098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
75099 $as_echo_n "checking for logf declaration... " >&6; }
75100 if test x${glibcxx_cv_func_logf_use+set} != xset; then
75101 if ${glibcxx_cv_func_logf_use+:} false; then :
75102 $as_echo_n "(cached) " >&6
75103 else
75104
75105
75106 ac_ext=cpp
75107 ac_cpp='$CXXCPP $CPPFLAGS'
75108 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75109 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75110 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75111
75112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75113 /* end confdefs.h. */
75114 #include <math.h>
75115 #ifdef HAVE_IEEEFP_H
75116 #include <ieeefp.h>
75117 #endif
75118
75119 int
75120 main ()
75121 {
75122 logf(0);
75123 ;
75124 return 0;
75125 }
75126 _ACEOF
75127 if ac_fn_cxx_try_compile "$LINENO"; then :
75128 glibcxx_cv_func_logf_use=yes
75129 else
75130 glibcxx_cv_func_logf_use=no
75131 fi
75132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75133 ac_ext=c
75134 ac_cpp='$CPP $CPPFLAGS'
75135 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75136 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75137 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75138
75139
75140 fi
75141
75142 fi
75143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
75144 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
75145
75146 if test x$glibcxx_cv_func_logf_use = x"yes"; then
75147 for ac_func in logf
75148 do :
75149 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
75150 if test "x$ac_cv_func_logf" = xyes; then :
75151 cat >>confdefs.h <<_ACEOF
75152 #define HAVE_LOGF 1
75153 _ACEOF
75154
75155 fi
75156 done
75157
75158 else
75159
75160 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
75161 $as_echo_n "checking for _logf declaration... " >&6; }
75162 if test x${glibcxx_cv_func__logf_use+set} != xset; then
75163 if ${glibcxx_cv_func__logf_use+:} false; then :
75164 $as_echo_n "(cached) " >&6
75165 else
75166
75167
75168 ac_ext=cpp
75169 ac_cpp='$CXXCPP $CPPFLAGS'
75170 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75171 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75172 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75173
75174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75175 /* end confdefs.h. */
75176 #include <math.h>
75177 #ifdef HAVE_IEEEFP_H
75178 #include <ieeefp.h>
75179 #endif
75180
75181 int
75182 main ()
75183 {
75184 _logf(0);
75185 ;
75186 return 0;
75187 }
75188 _ACEOF
75189 if ac_fn_cxx_try_compile "$LINENO"; then :
75190 glibcxx_cv_func__logf_use=yes
75191 else
75192 glibcxx_cv_func__logf_use=no
75193 fi
75194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75195 ac_ext=c
75196 ac_cpp='$CPP $CPPFLAGS'
75197 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75198 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75199 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75200
75201
75202 fi
75203
75204 fi
75205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
75206 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
75207
75208 if test x$glibcxx_cv_func__logf_use = x"yes"; then
75209 for ac_func in _logf
75210 do :
75211 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
75212 if test "x$ac_cv_func__logf" = xyes; then :
75213 cat >>confdefs.h <<_ACEOF
75214 #define HAVE__LOGF 1
75215 _ACEOF
75216
75217 fi
75218 done
75219
75220 fi
75221 fi
75222
75223
75224
75225
75226
75227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
75228 $as_echo_n "checking for log10f declaration... " >&6; }
75229 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
75230 if ${glibcxx_cv_func_log10f_use+:} false; then :
75231 $as_echo_n "(cached) " >&6
75232 else
75233
75234
75235 ac_ext=cpp
75236 ac_cpp='$CXXCPP $CPPFLAGS'
75237 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75238 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75239 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75240
75241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75242 /* end confdefs.h. */
75243 #include <math.h>
75244 #ifdef HAVE_IEEEFP_H
75245 #include <ieeefp.h>
75246 #endif
75247
75248 int
75249 main ()
75250 {
75251 log10f(0);
75252 ;
75253 return 0;
75254 }
75255 _ACEOF
75256 if ac_fn_cxx_try_compile "$LINENO"; then :
75257 glibcxx_cv_func_log10f_use=yes
75258 else
75259 glibcxx_cv_func_log10f_use=no
75260 fi
75261 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75262 ac_ext=c
75263 ac_cpp='$CPP $CPPFLAGS'
75264 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75265 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75266 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75267
75268
75269 fi
75270
75271 fi
75272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
75273 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
75274
75275 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
75276 for ac_func in log10f
75277 do :
75278 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
75279 if test "x$ac_cv_func_log10f" = xyes; then :
75280 cat >>confdefs.h <<_ACEOF
75281 #define HAVE_LOG10F 1
75282 _ACEOF
75283
75284 fi
75285 done
75286
75287 else
75288
75289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
75290 $as_echo_n "checking for _log10f declaration... " >&6; }
75291 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
75292 if ${glibcxx_cv_func__log10f_use+:} false; then :
75293 $as_echo_n "(cached) " >&6
75294 else
75295
75296
75297 ac_ext=cpp
75298 ac_cpp='$CXXCPP $CPPFLAGS'
75299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75302
75303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75304 /* end confdefs.h. */
75305 #include <math.h>
75306 #ifdef HAVE_IEEEFP_H
75307 #include <ieeefp.h>
75308 #endif
75309
75310 int
75311 main ()
75312 {
75313 _log10f(0);
75314 ;
75315 return 0;
75316 }
75317 _ACEOF
75318 if ac_fn_cxx_try_compile "$LINENO"; then :
75319 glibcxx_cv_func__log10f_use=yes
75320 else
75321 glibcxx_cv_func__log10f_use=no
75322 fi
75323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75324 ac_ext=c
75325 ac_cpp='$CPP $CPPFLAGS'
75326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75329
75330
75331 fi
75332
75333 fi
75334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
75335 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
75336
75337 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
75338 for ac_func in _log10f
75339 do :
75340 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
75341 if test "x$ac_cv_func__log10f" = xyes; then :
75342 cat >>confdefs.h <<_ACEOF
75343 #define HAVE__LOG10F 1
75344 _ACEOF
75345
75346 fi
75347 done
75348
75349 fi
75350 fi
75351
75352
75353
75354
75355
75356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
75357 $as_echo_n "checking for modff declaration... " >&6; }
75358 if test x${glibcxx_cv_func_modff_use+set} != xset; then
75359 if ${glibcxx_cv_func_modff_use+:} false; then :
75360 $as_echo_n "(cached) " >&6
75361 else
75362
75363
75364 ac_ext=cpp
75365 ac_cpp='$CXXCPP $CPPFLAGS'
75366 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75367 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75368 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75369
75370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75371 /* end confdefs.h. */
75372 #include <math.h>
75373 int
75374 main ()
75375 {
75376 modff(0, 0);
75377 ;
75378 return 0;
75379 }
75380 _ACEOF
75381 if ac_fn_cxx_try_compile "$LINENO"; then :
75382 glibcxx_cv_func_modff_use=yes
75383 else
75384 glibcxx_cv_func_modff_use=no
75385 fi
75386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75387 ac_ext=c
75388 ac_cpp='$CPP $CPPFLAGS'
75389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75392
75393
75394 fi
75395
75396 fi
75397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
75398 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
75399
75400 if test x$glibcxx_cv_func_modff_use = x"yes"; then
75401 for ac_func in modff
75402 do :
75403 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
75404 if test "x$ac_cv_func_modff" = xyes; then :
75405 cat >>confdefs.h <<_ACEOF
75406 #define HAVE_MODFF 1
75407 _ACEOF
75408
75409 fi
75410 done
75411
75412 else
75413
75414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
75415 $as_echo_n "checking for _modff declaration... " >&6; }
75416 if test x${glibcxx_cv_func__modff_use+set} != xset; then
75417 if ${glibcxx_cv_func__modff_use+:} false; then :
75418 $as_echo_n "(cached) " >&6
75419 else
75420
75421
75422 ac_ext=cpp
75423 ac_cpp='$CXXCPP $CPPFLAGS'
75424 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75425 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75426 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75427
75428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75429 /* end confdefs.h. */
75430 #include <math.h>
75431 int
75432 main ()
75433 {
75434 _modff(0, 0);
75435 ;
75436 return 0;
75437 }
75438 _ACEOF
75439 if ac_fn_cxx_try_compile "$LINENO"; then :
75440 glibcxx_cv_func__modff_use=yes
75441 else
75442 glibcxx_cv_func__modff_use=no
75443 fi
75444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75445 ac_ext=c
75446 ac_cpp='$CPP $CPPFLAGS'
75447 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75448 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75449 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75450
75451
75452 fi
75453
75454 fi
75455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
75456 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
75457
75458 if test x$glibcxx_cv_func__modff_use = x"yes"; then
75459 for ac_func in _modff
75460 do :
75461 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
75462 if test "x$ac_cv_func__modff" = xyes; then :
75463 cat >>confdefs.h <<_ACEOF
75464 #define HAVE__MODFF 1
75465 _ACEOF
75466
75467 fi
75468 done
75469
75470 fi
75471 fi
75472
75473
75474
75475
75476
75477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
75478 $as_echo_n "checking for modf declaration... " >&6; }
75479 if test x${glibcxx_cv_func_modf_use+set} != xset; then
75480 if ${glibcxx_cv_func_modf_use+:} false; then :
75481 $as_echo_n "(cached) " >&6
75482 else
75483
75484
75485 ac_ext=cpp
75486 ac_cpp='$CXXCPP $CPPFLAGS'
75487 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75488 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75489 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75490
75491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75492 /* end confdefs.h. */
75493 #include <math.h>
75494 int
75495 main ()
75496 {
75497 modf(0, 0);
75498 ;
75499 return 0;
75500 }
75501 _ACEOF
75502 if ac_fn_cxx_try_compile "$LINENO"; then :
75503 glibcxx_cv_func_modf_use=yes
75504 else
75505 glibcxx_cv_func_modf_use=no
75506 fi
75507 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75508 ac_ext=c
75509 ac_cpp='$CPP $CPPFLAGS'
75510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75513
75514
75515 fi
75516
75517 fi
75518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
75519 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
75520
75521 if test x$glibcxx_cv_func_modf_use = x"yes"; then
75522 for ac_func in modf
75523 do :
75524 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
75525 if test "x$ac_cv_func_modf" = xyes; then :
75526 cat >>confdefs.h <<_ACEOF
75527 #define HAVE_MODF 1
75528 _ACEOF
75529
75530 fi
75531 done
75532
75533 else
75534
75535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
75536 $as_echo_n "checking for _modf declaration... " >&6; }
75537 if test x${glibcxx_cv_func__modf_use+set} != xset; then
75538 if ${glibcxx_cv_func__modf_use+:} false; then :
75539 $as_echo_n "(cached) " >&6
75540 else
75541
75542
75543 ac_ext=cpp
75544 ac_cpp='$CXXCPP $CPPFLAGS'
75545 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75546 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75547 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75548
75549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75550 /* end confdefs.h. */
75551 #include <math.h>
75552 int
75553 main ()
75554 {
75555 _modf(0, 0);
75556 ;
75557 return 0;
75558 }
75559 _ACEOF
75560 if ac_fn_cxx_try_compile "$LINENO"; then :
75561 glibcxx_cv_func__modf_use=yes
75562 else
75563 glibcxx_cv_func__modf_use=no
75564 fi
75565 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75566 ac_ext=c
75567 ac_cpp='$CPP $CPPFLAGS'
75568 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75569 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75570 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75571
75572
75573 fi
75574
75575 fi
75576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
75577 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
75578
75579 if test x$glibcxx_cv_func__modf_use = x"yes"; then
75580 for ac_func in _modf
75581 do :
75582 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
75583 if test "x$ac_cv_func__modf" = xyes; then :
75584 cat >>confdefs.h <<_ACEOF
75585 #define HAVE__MODF 1
75586 _ACEOF
75587
75588 fi
75589 done
75590
75591 fi
75592 fi
75593
75594
75595
75596
75597
75598 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
75599 $as_echo_n "checking for powf declaration... " >&6; }
75600 if test x${glibcxx_cv_func_powf_use+set} != xset; then
75601 if ${glibcxx_cv_func_powf_use+:} false; then :
75602 $as_echo_n "(cached) " >&6
75603 else
75604
75605
75606 ac_ext=cpp
75607 ac_cpp='$CXXCPP $CPPFLAGS'
75608 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75609 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75610 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75611
75612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75613 /* end confdefs.h. */
75614 #include <math.h>
75615 int
75616 main ()
75617 {
75618 powf(0, 0);
75619 ;
75620 return 0;
75621 }
75622 _ACEOF
75623 if ac_fn_cxx_try_compile "$LINENO"; then :
75624 glibcxx_cv_func_powf_use=yes
75625 else
75626 glibcxx_cv_func_powf_use=no
75627 fi
75628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75629 ac_ext=c
75630 ac_cpp='$CPP $CPPFLAGS'
75631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75634
75635
75636 fi
75637
75638 fi
75639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
75640 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
75641
75642 if test x$glibcxx_cv_func_powf_use = x"yes"; then
75643 for ac_func in powf
75644 do :
75645 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
75646 if test "x$ac_cv_func_powf" = xyes; then :
75647 cat >>confdefs.h <<_ACEOF
75648 #define HAVE_POWF 1
75649 _ACEOF
75650
75651 fi
75652 done
75653
75654 else
75655
75656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
75657 $as_echo_n "checking for _powf declaration... " >&6; }
75658 if test x${glibcxx_cv_func__powf_use+set} != xset; then
75659 if ${glibcxx_cv_func__powf_use+:} false; then :
75660 $as_echo_n "(cached) " >&6
75661 else
75662
75663
75664 ac_ext=cpp
75665 ac_cpp='$CXXCPP $CPPFLAGS'
75666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75669
75670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75671 /* end confdefs.h. */
75672 #include <math.h>
75673 int
75674 main ()
75675 {
75676 _powf(0, 0);
75677 ;
75678 return 0;
75679 }
75680 _ACEOF
75681 if ac_fn_cxx_try_compile "$LINENO"; then :
75682 glibcxx_cv_func__powf_use=yes
75683 else
75684 glibcxx_cv_func__powf_use=no
75685 fi
75686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75687 ac_ext=c
75688 ac_cpp='$CPP $CPPFLAGS'
75689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75692
75693
75694 fi
75695
75696 fi
75697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
75698 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
75699
75700 if test x$glibcxx_cv_func__powf_use = x"yes"; then
75701 for ac_func in _powf
75702 do :
75703 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
75704 if test "x$ac_cv_func__powf" = xyes; then :
75705 cat >>confdefs.h <<_ACEOF
75706 #define HAVE__POWF 1
75707 _ACEOF
75708
75709 fi
75710 done
75711
75712 fi
75713 fi
75714
75715
75716
75717
75718
75719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
75720 $as_echo_n "checking for sqrtf declaration... " >&6; }
75721 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
75722 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
75723 $as_echo_n "(cached) " >&6
75724 else
75725
75726
75727 ac_ext=cpp
75728 ac_cpp='$CXXCPP $CPPFLAGS'
75729 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75730 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75731 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75732
75733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75734 /* end confdefs.h. */
75735 #include <math.h>
75736 #ifdef HAVE_IEEEFP_H
75737 #include <ieeefp.h>
75738 #endif
75739
75740 int
75741 main ()
75742 {
75743 sqrtf(0);
75744 ;
75745 return 0;
75746 }
75747 _ACEOF
75748 if ac_fn_cxx_try_compile "$LINENO"; then :
75749 glibcxx_cv_func_sqrtf_use=yes
75750 else
75751 glibcxx_cv_func_sqrtf_use=no
75752 fi
75753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75754 ac_ext=c
75755 ac_cpp='$CPP $CPPFLAGS'
75756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75759
75760
75761 fi
75762
75763 fi
75764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
75765 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
75766
75767 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
75768 for ac_func in sqrtf
75769 do :
75770 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
75771 if test "x$ac_cv_func_sqrtf" = xyes; then :
75772 cat >>confdefs.h <<_ACEOF
75773 #define HAVE_SQRTF 1
75774 _ACEOF
75775
75776 fi
75777 done
75778
75779 else
75780
75781 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
75782 $as_echo_n "checking for _sqrtf declaration... " >&6; }
75783 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
75784 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
75785 $as_echo_n "(cached) " >&6
75786 else
75787
75788
75789 ac_ext=cpp
75790 ac_cpp='$CXXCPP $CPPFLAGS'
75791 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75792 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75794
75795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75796 /* end confdefs.h. */
75797 #include <math.h>
75798 #ifdef HAVE_IEEEFP_H
75799 #include <ieeefp.h>
75800 #endif
75801
75802 int
75803 main ()
75804 {
75805 _sqrtf(0);
75806 ;
75807 return 0;
75808 }
75809 _ACEOF
75810 if ac_fn_cxx_try_compile "$LINENO"; then :
75811 glibcxx_cv_func__sqrtf_use=yes
75812 else
75813 glibcxx_cv_func__sqrtf_use=no
75814 fi
75815 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75816 ac_ext=c
75817 ac_cpp='$CPP $CPPFLAGS'
75818 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75819 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75820 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75821
75822
75823 fi
75824
75825 fi
75826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
75827 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
75828
75829 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
75830 for ac_func in _sqrtf
75831 do :
75832 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
75833 if test "x$ac_cv_func__sqrtf" = xyes; then :
75834 cat >>confdefs.h <<_ACEOF
75835 #define HAVE__SQRTF 1
75836 _ACEOF
75837
75838 fi
75839 done
75840
75841 fi
75842 fi
75843
75844
75845
75846
75847
75848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
75849 $as_echo_n "checking for sincosf declaration... " >&6; }
75850 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
75851 if ${glibcxx_cv_func_sincosf_use+:} false; then :
75852 $as_echo_n "(cached) " >&6
75853 else
75854
75855
75856 ac_ext=cpp
75857 ac_cpp='$CXXCPP $CPPFLAGS'
75858 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75859 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75860 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75861
75862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75863 /* end confdefs.h. */
75864 #include <math.h>
75865 int
75866 main ()
75867 {
75868 sincosf(0, 0, 0);
75869 ;
75870 return 0;
75871 }
75872 _ACEOF
75873 if ac_fn_cxx_try_compile "$LINENO"; then :
75874 glibcxx_cv_func_sincosf_use=yes
75875 else
75876 glibcxx_cv_func_sincosf_use=no
75877 fi
75878 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75879 ac_ext=c
75880 ac_cpp='$CPP $CPPFLAGS'
75881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75884
75885
75886 fi
75887
75888 fi
75889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
75890 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
75891
75892 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
75893 for ac_func in sincosf
75894 do :
75895 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
75896 if test "x$ac_cv_func_sincosf" = xyes; then :
75897 cat >>confdefs.h <<_ACEOF
75898 #define HAVE_SINCOSF 1
75899 _ACEOF
75900
75901 fi
75902 done
75903
75904 else
75905
75906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
75907 $as_echo_n "checking for _sincosf declaration... " >&6; }
75908 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
75909 if ${glibcxx_cv_func__sincosf_use+:} false; then :
75910 $as_echo_n "(cached) " >&6
75911 else
75912
75913
75914 ac_ext=cpp
75915 ac_cpp='$CXXCPP $CPPFLAGS'
75916 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75917 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75918 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75919
75920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75921 /* end confdefs.h. */
75922 #include <math.h>
75923 int
75924 main ()
75925 {
75926 _sincosf(0, 0, 0);
75927 ;
75928 return 0;
75929 }
75930 _ACEOF
75931 if ac_fn_cxx_try_compile "$LINENO"; then :
75932 glibcxx_cv_func__sincosf_use=yes
75933 else
75934 glibcxx_cv_func__sincosf_use=no
75935 fi
75936 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75937 ac_ext=c
75938 ac_cpp='$CPP $CPPFLAGS'
75939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75942
75943
75944 fi
75945
75946 fi
75947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
75948 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
75949
75950 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
75951 for ac_func in _sincosf
75952 do :
75953 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
75954 if test "x$ac_cv_func__sincosf" = xyes; then :
75955 cat >>confdefs.h <<_ACEOF
75956 #define HAVE__SINCOSF 1
75957 _ACEOF
75958
75959 fi
75960 done
75961
75962 fi
75963 fi
75964
75965
75966
75967
75968
75969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
75970 $as_echo_n "checking for finitef declaration... " >&6; }
75971 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
75972 if ${glibcxx_cv_func_finitef_use+:} false; then :
75973 $as_echo_n "(cached) " >&6
75974 else
75975
75976
75977 ac_ext=cpp
75978 ac_cpp='$CXXCPP $CPPFLAGS'
75979 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75980 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75981 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75982
75983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75984 /* end confdefs.h. */
75985 #include <math.h>
75986 #ifdef HAVE_IEEEFP_H
75987 #include <ieeefp.h>
75988 #endif
75989
75990 int
75991 main ()
75992 {
75993 finitef(0);
75994 ;
75995 return 0;
75996 }
75997 _ACEOF
75998 if ac_fn_cxx_try_compile "$LINENO"; then :
75999 glibcxx_cv_func_finitef_use=yes
76000 else
76001 glibcxx_cv_func_finitef_use=no
76002 fi
76003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76004 ac_ext=c
76005 ac_cpp='$CPP $CPPFLAGS'
76006 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76007 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76008 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76009
76010
76011 fi
76012
76013 fi
76014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
76015 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
76016
76017 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
76018 for ac_func in finitef
76019 do :
76020 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
76021 if test "x$ac_cv_func_finitef" = xyes; then :
76022 cat >>confdefs.h <<_ACEOF
76023 #define HAVE_FINITEF 1
76024 _ACEOF
76025
76026 fi
76027 done
76028
76029 else
76030
76031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
76032 $as_echo_n "checking for _finitef declaration... " >&6; }
76033 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
76034 if ${glibcxx_cv_func__finitef_use+:} false; then :
76035 $as_echo_n "(cached) " >&6
76036 else
76037
76038
76039 ac_ext=cpp
76040 ac_cpp='$CXXCPP $CPPFLAGS'
76041 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76042 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76043 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76044
76045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76046 /* end confdefs.h. */
76047 #include <math.h>
76048 #ifdef HAVE_IEEEFP_H
76049 #include <ieeefp.h>
76050 #endif
76051
76052 int
76053 main ()
76054 {
76055 _finitef(0);
76056 ;
76057 return 0;
76058 }
76059 _ACEOF
76060 if ac_fn_cxx_try_compile "$LINENO"; then :
76061 glibcxx_cv_func__finitef_use=yes
76062 else
76063 glibcxx_cv_func__finitef_use=no
76064 fi
76065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76066 ac_ext=c
76067 ac_cpp='$CPP $CPPFLAGS'
76068 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76069 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76070 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76071
76072
76073 fi
76074
76075 fi
76076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
76077 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
76078
76079 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
76080 for ac_func in _finitef
76081 do :
76082 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
76083 if test "x$ac_cv_func__finitef" = xyes; then :
76084 cat >>confdefs.h <<_ACEOF
76085 #define HAVE__FINITEF 1
76086 _ACEOF
76087
76088 fi
76089 done
76090
76091 fi
76092 fi
76093
76094
76095
76096
76097
76098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
76099 $as_echo_n "checking for long double trig functions... " >&6; }
76100 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
76101 $as_echo_n "(cached) " >&6
76102 else
76103
76104
76105 ac_ext=cpp
76106 ac_cpp='$CXXCPP $CPPFLAGS'
76107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76110
76111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76112 /* end confdefs.h. */
76113 #include <math.h>
76114 int
76115 main ()
76116 {
76117 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
76118 ;
76119 return 0;
76120 }
76121 _ACEOF
76122 if ac_fn_cxx_try_compile "$LINENO"; then :
76123 glibcxx_cv_func_long_double_trig_use=yes
76124 else
76125 glibcxx_cv_func_long_double_trig_use=no
76126 fi
76127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76128 ac_ext=c
76129 ac_cpp='$CPP $CPPFLAGS'
76130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76133
76134 fi
76135
76136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
76137 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
76138 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
76139 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
76140 do :
76141 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76142 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76143 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76144 cat >>confdefs.h <<_ACEOF
76145 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76146 _ACEOF
76147
76148 fi
76149 done
76150
76151 else
76152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
76153 $as_echo_n "checking for _long double trig functions... " >&6; }
76154 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
76155 $as_echo_n "(cached) " >&6
76156 else
76157
76158
76159 ac_ext=cpp
76160 ac_cpp='$CXXCPP $CPPFLAGS'
76161 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76162 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76163 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76164
76165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76166 /* end confdefs.h. */
76167 #include <math.h>
76168 int
76169 main ()
76170 {
76171 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
76172 ;
76173 return 0;
76174 }
76175 _ACEOF
76176 if ac_fn_cxx_try_compile "$LINENO"; then :
76177 glibcxx_cv_func__long_double_trig_use=yes
76178 else
76179 glibcxx_cv_func__long_double_trig_use=no
76180 fi
76181 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76182 ac_ext=c
76183 ac_cpp='$CPP $CPPFLAGS'
76184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76187
76188 fi
76189
76190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
76191 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
76192 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
76193 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
76194 do :
76195 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76196 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76197 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76198 cat >>confdefs.h <<_ACEOF
76199 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76200 _ACEOF
76201
76202 fi
76203 done
76204
76205 fi
76206 fi
76207
76208
76209
76210
76211
76212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
76213 $as_echo_n "checking for long double round functions... " >&6; }
76214 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
76215 $as_echo_n "(cached) " >&6
76216 else
76217
76218
76219 ac_ext=cpp
76220 ac_cpp='$CXXCPP $CPPFLAGS'
76221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76224
76225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76226 /* end confdefs.h. */
76227 #include <math.h>
76228 int
76229 main ()
76230 {
76231 ceill (0); floorl (0);
76232 ;
76233 return 0;
76234 }
76235 _ACEOF
76236 if ac_fn_cxx_try_compile "$LINENO"; then :
76237 glibcxx_cv_func_long_double_round_use=yes
76238 else
76239 glibcxx_cv_func_long_double_round_use=no
76240 fi
76241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76242 ac_ext=c
76243 ac_cpp='$CPP $CPPFLAGS'
76244 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76245 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76246 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76247
76248 fi
76249
76250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
76251 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
76252 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
76253 for ac_func in ceill floorl
76254 do :
76255 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76256 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76257 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76258 cat >>confdefs.h <<_ACEOF
76259 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76260 _ACEOF
76261
76262 fi
76263 done
76264
76265 else
76266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
76267 $as_echo_n "checking for _long double round functions... " >&6; }
76268 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
76269 $as_echo_n "(cached) " >&6
76270 else
76271
76272
76273 ac_ext=cpp
76274 ac_cpp='$CXXCPP $CPPFLAGS'
76275 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76276 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76277 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76278
76279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76280 /* end confdefs.h. */
76281 #include <math.h>
76282 int
76283 main ()
76284 {
76285 _ceill (0); _floorl (0);
76286 ;
76287 return 0;
76288 }
76289 _ACEOF
76290 if ac_fn_cxx_try_compile "$LINENO"; then :
76291 glibcxx_cv_func__long_double_round_use=yes
76292 else
76293 glibcxx_cv_func__long_double_round_use=no
76294 fi
76295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76296 ac_ext=c
76297 ac_cpp='$CPP $CPPFLAGS'
76298 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76299 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76300 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76301
76302 fi
76303
76304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
76305 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
76306 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
76307 for ac_func in _ceill _floorl
76308 do :
76309 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
76310 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
76311 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
76312 cat >>confdefs.h <<_ACEOF
76313 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
76314 _ACEOF
76315
76316 fi
76317 done
76318
76319 fi
76320 fi
76321
76322
76323
76324
76325
76326
76327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
76328 $as_echo_n "checking for isnanl declaration... " >&6; }
76329 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
76330 if ${glibcxx_cv_func_isnanl_use+:} false; then :
76331 $as_echo_n "(cached) " >&6
76332 else
76333
76334
76335 ac_ext=cpp
76336 ac_cpp='$CXXCPP $CPPFLAGS'
76337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76340
76341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76342 /* end confdefs.h. */
76343 #include <math.h>
76344 #ifdef HAVE_IEEEFP_H
76345 #include <ieeefp.h>
76346 #endif
76347
76348 int
76349 main ()
76350 {
76351 isnanl(0);
76352 ;
76353 return 0;
76354 }
76355 _ACEOF
76356 if ac_fn_cxx_try_compile "$LINENO"; then :
76357 glibcxx_cv_func_isnanl_use=yes
76358 else
76359 glibcxx_cv_func_isnanl_use=no
76360 fi
76361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76362 ac_ext=c
76363 ac_cpp='$CPP $CPPFLAGS'
76364 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76365 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76366 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76367
76368
76369 fi
76370
76371 fi
76372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
76373 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
76374
76375 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
76376 for ac_func in isnanl
76377 do :
76378 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
76379 if test "x$ac_cv_func_isnanl" = xyes; then :
76380 cat >>confdefs.h <<_ACEOF
76381 #define HAVE_ISNANL 1
76382 _ACEOF
76383
76384 fi
76385 done
76386
76387 else
76388
76389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
76390 $as_echo_n "checking for _isnanl declaration... " >&6; }
76391 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
76392 if ${glibcxx_cv_func__isnanl_use+:} false; then :
76393 $as_echo_n "(cached) " >&6
76394 else
76395
76396
76397 ac_ext=cpp
76398 ac_cpp='$CXXCPP $CPPFLAGS'
76399 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76400 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76401 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76402
76403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76404 /* end confdefs.h. */
76405 #include <math.h>
76406 #ifdef HAVE_IEEEFP_H
76407 #include <ieeefp.h>
76408 #endif
76409
76410 int
76411 main ()
76412 {
76413 _isnanl(0);
76414 ;
76415 return 0;
76416 }
76417 _ACEOF
76418 if ac_fn_cxx_try_compile "$LINENO"; then :
76419 glibcxx_cv_func__isnanl_use=yes
76420 else
76421 glibcxx_cv_func__isnanl_use=no
76422 fi
76423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76424 ac_ext=c
76425 ac_cpp='$CPP $CPPFLAGS'
76426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76429
76430
76431 fi
76432
76433 fi
76434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
76435 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
76436
76437 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
76438 for ac_func in _isnanl
76439 do :
76440 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
76441 if test "x$ac_cv_func__isnanl" = xyes; then :
76442 cat >>confdefs.h <<_ACEOF
76443 #define HAVE__ISNANL 1
76444 _ACEOF
76445
76446 fi
76447 done
76448
76449 fi
76450 fi
76451
76452
76453
76454
76455
76456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
76457 $as_echo_n "checking for isinfl declaration... " >&6; }
76458 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
76459 if ${glibcxx_cv_func_isinfl_use+:} false; then :
76460 $as_echo_n "(cached) " >&6
76461 else
76462
76463
76464 ac_ext=cpp
76465 ac_cpp='$CXXCPP $CPPFLAGS'
76466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76469
76470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76471 /* end confdefs.h. */
76472 #include <math.h>
76473 #ifdef HAVE_IEEEFP_H
76474 #include <ieeefp.h>
76475 #endif
76476
76477 int
76478 main ()
76479 {
76480 isinfl(0);
76481 ;
76482 return 0;
76483 }
76484 _ACEOF
76485 if ac_fn_cxx_try_compile "$LINENO"; then :
76486 glibcxx_cv_func_isinfl_use=yes
76487 else
76488 glibcxx_cv_func_isinfl_use=no
76489 fi
76490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76491 ac_ext=c
76492 ac_cpp='$CPP $CPPFLAGS'
76493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76496
76497
76498 fi
76499
76500 fi
76501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
76502 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
76503
76504 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
76505 for ac_func in isinfl
76506 do :
76507 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
76508 if test "x$ac_cv_func_isinfl" = xyes; then :
76509 cat >>confdefs.h <<_ACEOF
76510 #define HAVE_ISINFL 1
76511 _ACEOF
76512
76513 fi
76514 done
76515
76516 else
76517
76518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
76519 $as_echo_n "checking for _isinfl declaration... " >&6; }
76520 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
76521 if ${glibcxx_cv_func__isinfl_use+:} false; then :
76522 $as_echo_n "(cached) " >&6
76523 else
76524
76525
76526 ac_ext=cpp
76527 ac_cpp='$CXXCPP $CPPFLAGS'
76528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76531
76532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76533 /* end confdefs.h. */
76534 #include <math.h>
76535 #ifdef HAVE_IEEEFP_H
76536 #include <ieeefp.h>
76537 #endif
76538
76539 int
76540 main ()
76541 {
76542 _isinfl(0);
76543 ;
76544 return 0;
76545 }
76546 _ACEOF
76547 if ac_fn_cxx_try_compile "$LINENO"; then :
76548 glibcxx_cv_func__isinfl_use=yes
76549 else
76550 glibcxx_cv_func__isinfl_use=no
76551 fi
76552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76553 ac_ext=c
76554 ac_cpp='$CPP $CPPFLAGS'
76555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76558
76559
76560 fi
76561
76562 fi
76563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
76564 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
76565
76566 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
76567 for ac_func in _isinfl
76568 do :
76569 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
76570 if test "x$ac_cv_func__isinfl" = xyes; then :
76571 cat >>confdefs.h <<_ACEOF
76572 #define HAVE__ISINFL 1
76573 _ACEOF
76574
76575 fi
76576 done
76577
76578 fi
76579 fi
76580
76581
76582
76583
76584
76585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
76586 $as_echo_n "checking for atan2l declaration... " >&6; }
76587 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
76588 if ${glibcxx_cv_func_atan2l_use+:} false; then :
76589 $as_echo_n "(cached) " >&6
76590 else
76591
76592
76593 ac_ext=cpp
76594 ac_cpp='$CXXCPP $CPPFLAGS'
76595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76598
76599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76600 /* end confdefs.h. */
76601 #include <math.h>
76602 int
76603 main ()
76604 {
76605 atan2l(0, 0);
76606 ;
76607 return 0;
76608 }
76609 _ACEOF
76610 if ac_fn_cxx_try_compile "$LINENO"; then :
76611 glibcxx_cv_func_atan2l_use=yes
76612 else
76613 glibcxx_cv_func_atan2l_use=no
76614 fi
76615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76616 ac_ext=c
76617 ac_cpp='$CPP $CPPFLAGS'
76618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76621
76622
76623 fi
76624
76625 fi
76626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
76627 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
76628
76629 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
76630 for ac_func in atan2l
76631 do :
76632 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
76633 if test "x$ac_cv_func_atan2l" = xyes; then :
76634 cat >>confdefs.h <<_ACEOF
76635 #define HAVE_ATAN2L 1
76636 _ACEOF
76637
76638 fi
76639 done
76640
76641 else
76642
76643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
76644 $as_echo_n "checking for _atan2l declaration... " >&6; }
76645 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
76646 if ${glibcxx_cv_func__atan2l_use+:} false; then :
76647 $as_echo_n "(cached) " >&6
76648 else
76649
76650
76651 ac_ext=cpp
76652 ac_cpp='$CXXCPP $CPPFLAGS'
76653 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76654 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76655 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76656
76657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76658 /* end confdefs.h. */
76659 #include <math.h>
76660 int
76661 main ()
76662 {
76663 _atan2l(0, 0);
76664 ;
76665 return 0;
76666 }
76667 _ACEOF
76668 if ac_fn_cxx_try_compile "$LINENO"; then :
76669 glibcxx_cv_func__atan2l_use=yes
76670 else
76671 glibcxx_cv_func__atan2l_use=no
76672 fi
76673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76674 ac_ext=c
76675 ac_cpp='$CPP $CPPFLAGS'
76676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76679
76680
76681 fi
76682
76683 fi
76684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
76685 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
76686
76687 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
76688 for ac_func in _atan2l
76689 do :
76690 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
76691 if test "x$ac_cv_func__atan2l" = xyes; then :
76692 cat >>confdefs.h <<_ACEOF
76693 #define HAVE__ATAN2L 1
76694 _ACEOF
76695
76696 fi
76697 done
76698
76699 fi
76700 fi
76701
76702
76703
76704
76705
76706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
76707 $as_echo_n "checking for expl declaration... " >&6; }
76708 if test x${glibcxx_cv_func_expl_use+set} != xset; then
76709 if ${glibcxx_cv_func_expl_use+:} false; then :
76710 $as_echo_n "(cached) " >&6
76711 else
76712
76713
76714 ac_ext=cpp
76715 ac_cpp='$CXXCPP $CPPFLAGS'
76716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76719
76720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76721 /* end confdefs.h. */
76722 #include <math.h>
76723 #ifdef HAVE_IEEEFP_H
76724 #include <ieeefp.h>
76725 #endif
76726
76727 int
76728 main ()
76729 {
76730 expl(0);
76731 ;
76732 return 0;
76733 }
76734 _ACEOF
76735 if ac_fn_cxx_try_compile "$LINENO"; then :
76736 glibcxx_cv_func_expl_use=yes
76737 else
76738 glibcxx_cv_func_expl_use=no
76739 fi
76740 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76741 ac_ext=c
76742 ac_cpp='$CPP $CPPFLAGS'
76743 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76744 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76745 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76746
76747
76748 fi
76749
76750 fi
76751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
76752 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
76753
76754 if test x$glibcxx_cv_func_expl_use = x"yes"; then
76755 for ac_func in expl
76756 do :
76757 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
76758 if test "x$ac_cv_func_expl" = xyes; then :
76759 cat >>confdefs.h <<_ACEOF
76760 #define HAVE_EXPL 1
76761 _ACEOF
76762
76763 fi
76764 done
76765
76766 else
76767
76768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
76769 $as_echo_n "checking for _expl declaration... " >&6; }
76770 if test x${glibcxx_cv_func__expl_use+set} != xset; then
76771 if ${glibcxx_cv_func__expl_use+:} false; then :
76772 $as_echo_n "(cached) " >&6
76773 else
76774
76775
76776 ac_ext=cpp
76777 ac_cpp='$CXXCPP $CPPFLAGS'
76778 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76779 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76780 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76781
76782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76783 /* end confdefs.h. */
76784 #include <math.h>
76785 #ifdef HAVE_IEEEFP_H
76786 #include <ieeefp.h>
76787 #endif
76788
76789 int
76790 main ()
76791 {
76792 _expl(0);
76793 ;
76794 return 0;
76795 }
76796 _ACEOF
76797 if ac_fn_cxx_try_compile "$LINENO"; then :
76798 glibcxx_cv_func__expl_use=yes
76799 else
76800 glibcxx_cv_func__expl_use=no
76801 fi
76802 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76803 ac_ext=c
76804 ac_cpp='$CPP $CPPFLAGS'
76805 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76806 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76807 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76808
76809
76810 fi
76811
76812 fi
76813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
76814 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
76815
76816 if test x$glibcxx_cv_func__expl_use = x"yes"; then
76817 for ac_func in _expl
76818 do :
76819 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
76820 if test "x$ac_cv_func__expl" = xyes; then :
76821 cat >>confdefs.h <<_ACEOF
76822 #define HAVE__EXPL 1
76823 _ACEOF
76824
76825 fi
76826 done
76827
76828 fi
76829 fi
76830
76831
76832
76833
76834
76835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
76836 $as_echo_n "checking for fabsl declaration... " >&6; }
76837 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
76838 if ${glibcxx_cv_func_fabsl_use+:} false; then :
76839 $as_echo_n "(cached) " >&6
76840 else
76841
76842
76843 ac_ext=cpp
76844 ac_cpp='$CXXCPP $CPPFLAGS'
76845 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76846 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76847 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76848
76849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76850 /* end confdefs.h. */
76851 #include <math.h>
76852 #ifdef HAVE_IEEEFP_H
76853 #include <ieeefp.h>
76854 #endif
76855
76856 int
76857 main ()
76858 {
76859 fabsl(0);
76860 ;
76861 return 0;
76862 }
76863 _ACEOF
76864 if ac_fn_cxx_try_compile "$LINENO"; then :
76865 glibcxx_cv_func_fabsl_use=yes
76866 else
76867 glibcxx_cv_func_fabsl_use=no
76868 fi
76869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76870 ac_ext=c
76871 ac_cpp='$CPP $CPPFLAGS'
76872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76875
76876
76877 fi
76878
76879 fi
76880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
76881 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
76882
76883 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
76884 for ac_func in fabsl
76885 do :
76886 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
76887 if test "x$ac_cv_func_fabsl" = xyes; then :
76888 cat >>confdefs.h <<_ACEOF
76889 #define HAVE_FABSL 1
76890 _ACEOF
76891
76892 fi
76893 done
76894
76895 else
76896
76897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
76898 $as_echo_n "checking for _fabsl declaration... " >&6; }
76899 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
76900 if ${glibcxx_cv_func__fabsl_use+:} false; then :
76901 $as_echo_n "(cached) " >&6
76902 else
76903
76904
76905 ac_ext=cpp
76906 ac_cpp='$CXXCPP $CPPFLAGS'
76907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76910
76911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76912 /* end confdefs.h. */
76913 #include <math.h>
76914 #ifdef HAVE_IEEEFP_H
76915 #include <ieeefp.h>
76916 #endif
76917
76918 int
76919 main ()
76920 {
76921 _fabsl(0);
76922 ;
76923 return 0;
76924 }
76925 _ACEOF
76926 if ac_fn_cxx_try_compile "$LINENO"; then :
76927 glibcxx_cv_func__fabsl_use=yes
76928 else
76929 glibcxx_cv_func__fabsl_use=no
76930 fi
76931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76932 ac_ext=c
76933 ac_cpp='$CPP $CPPFLAGS'
76934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76937
76938
76939 fi
76940
76941 fi
76942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
76943 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
76944
76945 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
76946 for ac_func in _fabsl
76947 do :
76948 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
76949 if test "x$ac_cv_func__fabsl" = xyes; then :
76950 cat >>confdefs.h <<_ACEOF
76951 #define HAVE__FABSL 1
76952 _ACEOF
76953
76954 fi
76955 done
76956
76957 fi
76958 fi
76959
76960
76961
76962
76963
76964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
76965 $as_echo_n "checking for fmodl declaration... " >&6; }
76966 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
76967 if ${glibcxx_cv_func_fmodl_use+:} false; then :
76968 $as_echo_n "(cached) " >&6
76969 else
76970
76971
76972 ac_ext=cpp
76973 ac_cpp='$CXXCPP $CPPFLAGS'
76974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
76977
76978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76979 /* end confdefs.h. */
76980 #include <math.h>
76981 int
76982 main ()
76983 {
76984 fmodl(0, 0);
76985 ;
76986 return 0;
76987 }
76988 _ACEOF
76989 if ac_fn_cxx_try_compile "$LINENO"; then :
76990 glibcxx_cv_func_fmodl_use=yes
76991 else
76992 glibcxx_cv_func_fmodl_use=no
76993 fi
76994 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76995 ac_ext=c
76996 ac_cpp='$CPP $CPPFLAGS'
76997 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76998 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76999 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77000
77001
77002 fi
77003
77004 fi
77005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
77006 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
77007
77008 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
77009 for ac_func in fmodl
77010 do :
77011 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
77012 if test "x$ac_cv_func_fmodl" = xyes; then :
77013 cat >>confdefs.h <<_ACEOF
77014 #define HAVE_FMODL 1
77015 _ACEOF
77016
77017 fi
77018 done
77019
77020 else
77021
77022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
77023 $as_echo_n "checking for _fmodl declaration... " >&6; }
77024 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
77025 if ${glibcxx_cv_func__fmodl_use+:} false; then :
77026 $as_echo_n "(cached) " >&6
77027 else
77028
77029
77030 ac_ext=cpp
77031 ac_cpp='$CXXCPP $CPPFLAGS'
77032 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77033 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77034 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77035
77036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77037 /* end confdefs.h. */
77038 #include <math.h>
77039 int
77040 main ()
77041 {
77042 _fmodl(0, 0);
77043 ;
77044 return 0;
77045 }
77046 _ACEOF
77047 if ac_fn_cxx_try_compile "$LINENO"; then :
77048 glibcxx_cv_func__fmodl_use=yes
77049 else
77050 glibcxx_cv_func__fmodl_use=no
77051 fi
77052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77053 ac_ext=c
77054 ac_cpp='$CPP $CPPFLAGS'
77055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77058
77059
77060 fi
77061
77062 fi
77063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
77064 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
77065
77066 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
77067 for ac_func in _fmodl
77068 do :
77069 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
77070 if test "x$ac_cv_func__fmodl" = xyes; then :
77071 cat >>confdefs.h <<_ACEOF
77072 #define HAVE__FMODL 1
77073 _ACEOF
77074
77075 fi
77076 done
77077
77078 fi
77079 fi
77080
77081
77082
77083
77084
77085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
77086 $as_echo_n "checking for frexpl declaration... " >&6; }
77087 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
77088 if ${glibcxx_cv_func_frexpl_use+:} false; then :
77089 $as_echo_n "(cached) " >&6
77090 else
77091
77092
77093 ac_ext=cpp
77094 ac_cpp='$CXXCPP $CPPFLAGS'
77095 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77096 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77097 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77098
77099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77100 /* end confdefs.h. */
77101 #include <math.h>
77102 int
77103 main ()
77104 {
77105 frexpl(0, 0);
77106 ;
77107 return 0;
77108 }
77109 _ACEOF
77110 if ac_fn_cxx_try_compile "$LINENO"; then :
77111 glibcxx_cv_func_frexpl_use=yes
77112 else
77113 glibcxx_cv_func_frexpl_use=no
77114 fi
77115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77116 ac_ext=c
77117 ac_cpp='$CPP $CPPFLAGS'
77118 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77119 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77120 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77121
77122
77123 fi
77124
77125 fi
77126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
77127 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
77128
77129 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
77130 for ac_func in frexpl
77131 do :
77132 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
77133 if test "x$ac_cv_func_frexpl" = xyes; then :
77134 cat >>confdefs.h <<_ACEOF
77135 #define HAVE_FREXPL 1
77136 _ACEOF
77137
77138 fi
77139 done
77140
77141 else
77142
77143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
77144 $as_echo_n "checking for _frexpl declaration... " >&6; }
77145 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
77146 if ${glibcxx_cv_func__frexpl_use+:} false; then :
77147 $as_echo_n "(cached) " >&6
77148 else
77149
77150
77151 ac_ext=cpp
77152 ac_cpp='$CXXCPP $CPPFLAGS'
77153 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77154 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77155 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77156
77157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77158 /* end confdefs.h. */
77159 #include <math.h>
77160 int
77161 main ()
77162 {
77163 _frexpl(0, 0);
77164 ;
77165 return 0;
77166 }
77167 _ACEOF
77168 if ac_fn_cxx_try_compile "$LINENO"; then :
77169 glibcxx_cv_func__frexpl_use=yes
77170 else
77171 glibcxx_cv_func__frexpl_use=no
77172 fi
77173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77174 ac_ext=c
77175 ac_cpp='$CPP $CPPFLAGS'
77176 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77177 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77178 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77179
77180
77181 fi
77182
77183 fi
77184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
77185 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
77186
77187 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
77188 for ac_func in _frexpl
77189 do :
77190 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
77191 if test "x$ac_cv_func__frexpl" = xyes; then :
77192 cat >>confdefs.h <<_ACEOF
77193 #define HAVE__FREXPL 1
77194 _ACEOF
77195
77196 fi
77197 done
77198
77199 fi
77200 fi
77201
77202
77203
77204
77205
77206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
77207 $as_echo_n "checking for hypotl declaration... " >&6; }
77208 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
77209 if ${glibcxx_cv_func_hypotl_use+:} false; then :
77210 $as_echo_n "(cached) " >&6
77211 else
77212
77213
77214 ac_ext=cpp
77215 ac_cpp='$CXXCPP $CPPFLAGS'
77216 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77217 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77218 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77219
77220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77221 /* end confdefs.h. */
77222 #include <math.h>
77223 int
77224 main ()
77225 {
77226 hypotl(0, 0);
77227 ;
77228 return 0;
77229 }
77230 _ACEOF
77231 if ac_fn_cxx_try_compile "$LINENO"; then :
77232 glibcxx_cv_func_hypotl_use=yes
77233 else
77234 glibcxx_cv_func_hypotl_use=no
77235 fi
77236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77237 ac_ext=c
77238 ac_cpp='$CPP $CPPFLAGS'
77239 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77240 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77241 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77242
77243
77244 fi
77245
77246 fi
77247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
77248 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
77249
77250 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
77251 for ac_func in hypotl
77252 do :
77253 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
77254 if test "x$ac_cv_func_hypotl" = xyes; then :
77255 cat >>confdefs.h <<_ACEOF
77256 #define HAVE_HYPOTL 1
77257 _ACEOF
77258
77259 fi
77260 done
77261
77262 else
77263
77264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
77265 $as_echo_n "checking for _hypotl declaration... " >&6; }
77266 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
77267 if ${glibcxx_cv_func__hypotl_use+:} false; then :
77268 $as_echo_n "(cached) " >&6
77269 else
77270
77271
77272 ac_ext=cpp
77273 ac_cpp='$CXXCPP $CPPFLAGS'
77274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77277
77278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77279 /* end confdefs.h. */
77280 #include <math.h>
77281 int
77282 main ()
77283 {
77284 _hypotl(0, 0);
77285 ;
77286 return 0;
77287 }
77288 _ACEOF
77289 if ac_fn_cxx_try_compile "$LINENO"; then :
77290 glibcxx_cv_func__hypotl_use=yes
77291 else
77292 glibcxx_cv_func__hypotl_use=no
77293 fi
77294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77295 ac_ext=c
77296 ac_cpp='$CPP $CPPFLAGS'
77297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77300
77301
77302 fi
77303
77304 fi
77305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
77306 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
77307
77308 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
77309 for ac_func in _hypotl
77310 do :
77311 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
77312 if test "x$ac_cv_func__hypotl" = xyes; then :
77313 cat >>confdefs.h <<_ACEOF
77314 #define HAVE__HYPOTL 1
77315 _ACEOF
77316
77317 fi
77318 done
77319
77320 fi
77321 fi
77322
77323
77324
77325
77326
77327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
77328 $as_echo_n "checking for ldexpl declaration... " >&6; }
77329 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
77330 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
77331 $as_echo_n "(cached) " >&6
77332 else
77333
77334
77335 ac_ext=cpp
77336 ac_cpp='$CXXCPP $CPPFLAGS'
77337 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77338 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77339 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77340
77341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77342 /* end confdefs.h. */
77343 #include <math.h>
77344 int
77345 main ()
77346 {
77347 ldexpl(0, 0);
77348 ;
77349 return 0;
77350 }
77351 _ACEOF
77352 if ac_fn_cxx_try_compile "$LINENO"; then :
77353 glibcxx_cv_func_ldexpl_use=yes
77354 else
77355 glibcxx_cv_func_ldexpl_use=no
77356 fi
77357 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77358 ac_ext=c
77359 ac_cpp='$CPP $CPPFLAGS'
77360 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77361 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77362 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77363
77364
77365 fi
77366
77367 fi
77368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
77369 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
77370
77371 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
77372 for ac_func in ldexpl
77373 do :
77374 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
77375 if test "x$ac_cv_func_ldexpl" = xyes; then :
77376 cat >>confdefs.h <<_ACEOF
77377 #define HAVE_LDEXPL 1
77378 _ACEOF
77379
77380 fi
77381 done
77382
77383 else
77384
77385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
77386 $as_echo_n "checking for _ldexpl declaration... " >&6; }
77387 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
77388 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
77389 $as_echo_n "(cached) " >&6
77390 else
77391
77392
77393 ac_ext=cpp
77394 ac_cpp='$CXXCPP $CPPFLAGS'
77395 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77396 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77397 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77398
77399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77400 /* end confdefs.h. */
77401 #include <math.h>
77402 int
77403 main ()
77404 {
77405 _ldexpl(0, 0);
77406 ;
77407 return 0;
77408 }
77409 _ACEOF
77410 if ac_fn_cxx_try_compile "$LINENO"; then :
77411 glibcxx_cv_func__ldexpl_use=yes
77412 else
77413 glibcxx_cv_func__ldexpl_use=no
77414 fi
77415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77416 ac_ext=c
77417 ac_cpp='$CPP $CPPFLAGS'
77418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77421
77422
77423 fi
77424
77425 fi
77426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
77427 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
77428
77429 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
77430 for ac_func in _ldexpl
77431 do :
77432 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
77433 if test "x$ac_cv_func__ldexpl" = xyes; then :
77434 cat >>confdefs.h <<_ACEOF
77435 #define HAVE__LDEXPL 1
77436 _ACEOF
77437
77438 fi
77439 done
77440
77441 fi
77442 fi
77443
77444
77445
77446
77447
77448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
77449 $as_echo_n "checking for logl declaration... " >&6; }
77450 if test x${glibcxx_cv_func_logl_use+set} != xset; then
77451 if ${glibcxx_cv_func_logl_use+:} false; then :
77452 $as_echo_n "(cached) " >&6
77453 else
77454
77455
77456 ac_ext=cpp
77457 ac_cpp='$CXXCPP $CPPFLAGS'
77458 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77459 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77460 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77461
77462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77463 /* end confdefs.h. */
77464 #include <math.h>
77465 #ifdef HAVE_IEEEFP_H
77466 #include <ieeefp.h>
77467 #endif
77468
77469 int
77470 main ()
77471 {
77472 logl(0);
77473 ;
77474 return 0;
77475 }
77476 _ACEOF
77477 if ac_fn_cxx_try_compile "$LINENO"; then :
77478 glibcxx_cv_func_logl_use=yes
77479 else
77480 glibcxx_cv_func_logl_use=no
77481 fi
77482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77483 ac_ext=c
77484 ac_cpp='$CPP $CPPFLAGS'
77485 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77486 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77487 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77488
77489
77490 fi
77491
77492 fi
77493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
77494 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
77495
77496 if test x$glibcxx_cv_func_logl_use = x"yes"; then
77497 for ac_func in logl
77498 do :
77499 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
77500 if test "x$ac_cv_func_logl" = xyes; then :
77501 cat >>confdefs.h <<_ACEOF
77502 #define HAVE_LOGL 1
77503 _ACEOF
77504
77505 fi
77506 done
77507
77508 else
77509
77510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
77511 $as_echo_n "checking for _logl declaration... " >&6; }
77512 if test x${glibcxx_cv_func__logl_use+set} != xset; then
77513 if ${glibcxx_cv_func__logl_use+:} false; then :
77514 $as_echo_n "(cached) " >&6
77515 else
77516
77517
77518 ac_ext=cpp
77519 ac_cpp='$CXXCPP $CPPFLAGS'
77520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77523
77524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77525 /* end confdefs.h. */
77526 #include <math.h>
77527 #ifdef HAVE_IEEEFP_H
77528 #include <ieeefp.h>
77529 #endif
77530
77531 int
77532 main ()
77533 {
77534 _logl(0);
77535 ;
77536 return 0;
77537 }
77538 _ACEOF
77539 if ac_fn_cxx_try_compile "$LINENO"; then :
77540 glibcxx_cv_func__logl_use=yes
77541 else
77542 glibcxx_cv_func__logl_use=no
77543 fi
77544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77545 ac_ext=c
77546 ac_cpp='$CPP $CPPFLAGS'
77547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77550
77551
77552 fi
77553
77554 fi
77555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
77556 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
77557
77558 if test x$glibcxx_cv_func__logl_use = x"yes"; then
77559 for ac_func in _logl
77560 do :
77561 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
77562 if test "x$ac_cv_func__logl" = xyes; then :
77563 cat >>confdefs.h <<_ACEOF
77564 #define HAVE__LOGL 1
77565 _ACEOF
77566
77567 fi
77568 done
77569
77570 fi
77571 fi
77572
77573
77574
77575
77576
77577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
77578 $as_echo_n "checking for log10l declaration... " >&6; }
77579 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
77580 if ${glibcxx_cv_func_log10l_use+:} false; then :
77581 $as_echo_n "(cached) " >&6
77582 else
77583
77584
77585 ac_ext=cpp
77586 ac_cpp='$CXXCPP $CPPFLAGS'
77587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77590
77591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77592 /* end confdefs.h. */
77593 #include <math.h>
77594 #ifdef HAVE_IEEEFP_H
77595 #include <ieeefp.h>
77596 #endif
77597
77598 int
77599 main ()
77600 {
77601 log10l(0);
77602 ;
77603 return 0;
77604 }
77605 _ACEOF
77606 if ac_fn_cxx_try_compile "$LINENO"; then :
77607 glibcxx_cv_func_log10l_use=yes
77608 else
77609 glibcxx_cv_func_log10l_use=no
77610 fi
77611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77612 ac_ext=c
77613 ac_cpp='$CPP $CPPFLAGS'
77614 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77615 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77616 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77617
77618
77619 fi
77620
77621 fi
77622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
77623 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
77624
77625 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
77626 for ac_func in log10l
77627 do :
77628 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
77629 if test "x$ac_cv_func_log10l" = xyes; then :
77630 cat >>confdefs.h <<_ACEOF
77631 #define HAVE_LOG10L 1
77632 _ACEOF
77633
77634 fi
77635 done
77636
77637 else
77638
77639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
77640 $as_echo_n "checking for _log10l declaration... " >&6; }
77641 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
77642 if ${glibcxx_cv_func__log10l_use+:} false; then :
77643 $as_echo_n "(cached) " >&6
77644 else
77645
77646
77647 ac_ext=cpp
77648 ac_cpp='$CXXCPP $CPPFLAGS'
77649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77652
77653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77654 /* end confdefs.h. */
77655 #include <math.h>
77656 #ifdef HAVE_IEEEFP_H
77657 #include <ieeefp.h>
77658 #endif
77659
77660 int
77661 main ()
77662 {
77663 _log10l(0);
77664 ;
77665 return 0;
77666 }
77667 _ACEOF
77668 if ac_fn_cxx_try_compile "$LINENO"; then :
77669 glibcxx_cv_func__log10l_use=yes
77670 else
77671 glibcxx_cv_func__log10l_use=no
77672 fi
77673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77674 ac_ext=c
77675 ac_cpp='$CPP $CPPFLAGS'
77676 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77677 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77678 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77679
77680
77681 fi
77682
77683 fi
77684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
77685 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
77686
77687 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
77688 for ac_func in _log10l
77689 do :
77690 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
77691 if test "x$ac_cv_func__log10l" = xyes; then :
77692 cat >>confdefs.h <<_ACEOF
77693 #define HAVE__LOG10L 1
77694 _ACEOF
77695
77696 fi
77697 done
77698
77699 fi
77700 fi
77701
77702
77703
77704
77705
77706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
77707 $as_echo_n "checking for modfl declaration... " >&6; }
77708 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
77709 if ${glibcxx_cv_func_modfl_use+:} false; then :
77710 $as_echo_n "(cached) " >&6
77711 else
77712
77713
77714 ac_ext=cpp
77715 ac_cpp='$CXXCPP $CPPFLAGS'
77716 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77717 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77718 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77719
77720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77721 /* end confdefs.h. */
77722 #include <math.h>
77723 int
77724 main ()
77725 {
77726 modfl(0, 0);
77727 ;
77728 return 0;
77729 }
77730 _ACEOF
77731 if ac_fn_cxx_try_compile "$LINENO"; then :
77732 glibcxx_cv_func_modfl_use=yes
77733 else
77734 glibcxx_cv_func_modfl_use=no
77735 fi
77736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77737 ac_ext=c
77738 ac_cpp='$CPP $CPPFLAGS'
77739 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77740 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77741 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77742
77743
77744 fi
77745
77746 fi
77747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
77748 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
77749
77750 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
77751 for ac_func in modfl
77752 do :
77753 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
77754 if test "x$ac_cv_func_modfl" = xyes; then :
77755 cat >>confdefs.h <<_ACEOF
77756 #define HAVE_MODFL 1
77757 _ACEOF
77758
77759 fi
77760 done
77761
77762 else
77763
77764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
77765 $as_echo_n "checking for _modfl declaration... " >&6; }
77766 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
77767 if ${glibcxx_cv_func__modfl_use+:} false; then :
77768 $as_echo_n "(cached) " >&6
77769 else
77770
77771
77772 ac_ext=cpp
77773 ac_cpp='$CXXCPP $CPPFLAGS'
77774 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77775 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77776 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77777
77778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77779 /* end confdefs.h. */
77780 #include <math.h>
77781 int
77782 main ()
77783 {
77784 _modfl(0, 0);
77785 ;
77786 return 0;
77787 }
77788 _ACEOF
77789 if ac_fn_cxx_try_compile "$LINENO"; then :
77790 glibcxx_cv_func__modfl_use=yes
77791 else
77792 glibcxx_cv_func__modfl_use=no
77793 fi
77794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77795 ac_ext=c
77796 ac_cpp='$CPP $CPPFLAGS'
77797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77800
77801
77802 fi
77803
77804 fi
77805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
77806 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
77807
77808 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
77809 for ac_func in _modfl
77810 do :
77811 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
77812 if test "x$ac_cv_func__modfl" = xyes; then :
77813 cat >>confdefs.h <<_ACEOF
77814 #define HAVE__MODFL 1
77815 _ACEOF
77816
77817 fi
77818 done
77819
77820 fi
77821 fi
77822
77823
77824
77825
77826
77827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
77828 $as_echo_n "checking for powl declaration... " >&6; }
77829 if test x${glibcxx_cv_func_powl_use+set} != xset; then
77830 if ${glibcxx_cv_func_powl_use+:} false; then :
77831 $as_echo_n "(cached) " >&6
77832 else
77833
77834
77835 ac_ext=cpp
77836 ac_cpp='$CXXCPP $CPPFLAGS'
77837 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77838 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77839 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77840
77841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77842 /* end confdefs.h. */
77843 #include <math.h>
77844 int
77845 main ()
77846 {
77847 powl(0, 0);
77848 ;
77849 return 0;
77850 }
77851 _ACEOF
77852 if ac_fn_cxx_try_compile "$LINENO"; then :
77853 glibcxx_cv_func_powl_use=yes
77854 else
77855 glibcxx_cv_func_powl_use=no
77856 fi
77857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77858 ac_ext=c
77859 ac_cpp='$CPP $CPPFLAGS'
77860 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77861 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77862 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77863
77864
77865 fi
77866
77867 fi
77868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
77869 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
77870
77871 if test x$glibcxx_cv_func_powl_use = x"yes"; then
77872 for ac_func in powl
77873 do :
77874 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
77875 if test "x$ac_cv_func_powl" = xyes; then :
77876 cat >>confdefs.h <<_ACEOF
77877 #define HAVE_POWL 1
77878 _ACEOF
77879
77880 fi
77881 done
77882
77883 else
77884
77885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
77886 $as_echo_n "checking for _powl declaration... " >&6; }
77887 if test x${glibcxx_cv_func__powl_use+set} != xset; then
77888 if ${glibcxx_cv_func__powl_use+:} false; then :
77889 $as_echo_n "(cached) " >&6
77890 else
77891
77892
77893 ac_ext=cpp
77894 ac_cpp='$CXXCPP $CPPFLAGS'
77895 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77896 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77897 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77898
77899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77900 /* end confdefs.h. */
77901 #include <math.h>
77902 int
77903 main ()
77904 {
77905 _powl(0, 0);
77906 ;
77907 return 0;
77908 }
77909 _ACEOF
77910 if ac_fn_cxx_try_compile "$LINENO"; then :
77911 glibcxx_cv_func__powl_use=yes
77912 else
77913 glibcxx_cv_func__powl_use=no
77914 fi
77915 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77916 ac_ext=c
77917 ac_cpp='$CPP $CPPFLAGS'
77918 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77919 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77920 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77921
77922
77923 fi
77924
77925 fi
77926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
77927 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
77928
77929 if test x$glibcxx_cv_func__powl_use = x"yes"; then
77930 for ac_func in _powl
77931 do :
77932 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
77933 if test "x$ac_cv_func__powl" = xyes; then :
77934 cat >>confdefs.h <<_ACEOF
77935 #define HAVE__POWL 1
77936 _ACEOF
77937
77938 fi
77939 done
77940
77941 fi
77942 fi
77943
77944
77945
77946
77947
77948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
77949 $as_echo_n "checking for sqrtl declaration... " >&6; }
77950 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
77951 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
77952 $as_echo_n "(cached) " >&6
77953 else
77954
77955
77956 ac_ext=cpp
77957 ac_cpp='$CXXCPP $CPPFLAGS'
77958 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77959 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77960 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
77961
77962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77963 /* end confdefs.h. */
77964 #include <math.h>
77965 #ifdef HAVE_IEEEFP_H
77966 #include <ieeefp.h>
77967 #endif
77968
77969 int
77970 main ()
77971 {
77972 sqrtl(0);
77973 ;
77974 return 0;
77975 }
77976 _ACEOF
77977 if ac_fn_cxx_try_compile "$LINENO"; then :
77978 glibcxx_cv_func_sqrtl_use=yes
77979 else
77980 glibcxx_cv_func_sqrtl_use=no
77981 fi
77982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77983 ac_ext=c
77984 ac_cpp='$CPP $CPPFLAGS'
77985 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
77986 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
77987 ac_compiler_gnu=$ac_cv_c_compiler_gnu
77988
77989
77990 fi
77991
77992 fi
77993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
77994 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
77995
77996 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
77997 for ac_func in sqrtl
77998 do :
77999 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
78000 if test "x$ac_cv_func_sqrtl" = xyes; then :
78001 cat >>confdefs.h <<_ACEOF
78002 #define HAVE_SQRTL 1
78003 _ACEOF
78004
78005 fi
78006 done
78007
78008 else
78009
78010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
78011 $as_echo_n "checking for _sqrtl declaration... " >&6; }
78012 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
78013 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
78014 $as_echo_n "(cached) " >&6
78015 else
78016
78017
78018 ac_ext=cpp
78019 ac_cpp='$CXXCPP $CPPFLAGS'
78020 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78021 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78022 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78023
78024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78025 /* end confdefs.h. */
78026 #include <math.h>
78027 #ifdef HAVE_IEEEFP_H
78028 #include <ieeefp.h>
78029 #endif
78030
78031 int
78032 main ()
78033 {
78034 _sqrtl(0);
78035 ;
78036 return 0;
78037 }
78038 _ACEOF
78039 if ac_fn_cxx_try_compile "$LINENO"; then :
78040 glibcxx_cv_func__sqrtl_use=yes
78041 else
78042 glibcxx_cv_func__sqrtl_use=no
78043 fi
78044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78045 ac_ext=c
78046 ac_cpp='$CPP $CPPFLAGS'
78047 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78048 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78049 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78050
78051
78052 fi
78053
78054 fi
78055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
78056 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
78057
78058 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
78059 for ac_func in _sqrtl
78060 do :
78061 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
78062 if test "x$ac_cv_func__sqrtl" = xyes; then :
78063 cat >>confdefs.h <<_ACEOF
78064 #define HAVE__SQRTL 1
78065 _ACEOF
78066
78067 fi
78068 done
78069
78070 fi
78071 fi
78072
78073
78074
78075
78076
78077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
78078 $as_echo_n "checking for sincosl declaration... " >&6; }
78079 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
78080 if ${glibcxx_cv_func_sincosl_use+:} false; then :
78081 $as_echo_n "(cached) " >&6
78082 else
78083
78084
78085 ac_ext=cpp
78086 ac_cpp='$CXXCPP $CPPFLAGS'
78087 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78088 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78089 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78090
78091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78092 /* end confdefs.h. */
78093 #include <math.h>
78094 int
78095 main ()
78096 {
78097 sincosl(0, 0, 0);
78098 ;
78099 return 0;
78100 }
78101 _ACEOF
78102 if ac_fn_cxx_try_compile "$LINENO"; then :
78103 glibcxx_cv_func_sincosl_use=yes
78104 else
78105 glibcxx_cv_func_sincosl_use=no
78106 fi
78107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78108 ac_ext=c
78109 ac_cpp='$CPP $CPPFLAGS'
78110 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78111 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78112 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78113
78114
78115 fi
78116
78117 fi
78118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
78119 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
78120
78121 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
78122 for ac_func in sincosl
78123 do :
78124 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
78125 if test "x$ac_cv_func_sincosl" = xyes; then :
78126 cat >>confdefs.h <<_ACEOF
78127 #define HAVE_SINCOSL 1
78128 _ACEOF
78129
78130 fi
78131 done
78132
78133 else
78134
78135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
78136 $as_echo_n "checking for _sincosl declaration... " >&6; }
78137 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
78138 if ${glibcxx_cv_func__sincosl_use+:} false; then :
78139 $as_echo_n "(cached) " >&6
78140 else
78141
78142
78143 ac_ext=cpp
78144 ac_cpp='$CXXCPP $CPPFLAGS'
78145 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78146 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78147 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78148
78149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78150 /* end confdefs.h. */
78151 #include <math.h>
78152 int
78153 main ()
78154 {
78155 _sincosl(0, 0, 0);
78156 ;
78157 return 0;
78158 }
78159 _ACEOF
78160 if ac_fn_cxx_try_compile "$LINENO"; then :
78161 glibcxx_cv_func__sincosl_use=yes
78162 else
78163 glibcxx_cv_func__sincosl_use=no
78164 fi
78165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78166 ac_ext=c
78167 ac_cpp='$CPP $CPPFLAGS'
78168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78171
78172
78173 fi
78174
78175 fi
78176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
78177 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
78178
78179 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
78180 for ac_func in _sincosl
78181 do :
78182 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
78183 if test "x$ac_cv_func__sincosl" = xyes; then :
78184 cat >>confdefs.h <<_ACEOF
78185 #define HAVE__SINCOSL 1
78186 _ACEOF
78187
78188 fi
78189 done
78190
78191 fi
78192 fi
78193
78194
78195
78196
78197
78198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
78199 $as_echo_n "checking for finitel declaration... " >&6; }
78200 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
78201 if ${glibcxx_cv_func_finitel_use+:} false; then :
78202 $as_echo_n "(cached) " >&6
78203 else
78204
78205
78206 ac_ext=cpp
78207 ac_cpp='$CXXCPP $CPPFLAGS'
78208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78211
78212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78213 /* end confdefs.h. */
78214 #include <math.h>
78215 #ifdef HAVE_IEEEFP_H
78216 #include <ieeefp.h>
78217 #endif
78218
78219 int
78220 main ()
78221 {
78222 finitel(0);
78223 ;
78224 return 0;
78225 }
78226 _ACEOF
78227 if ac_fn_cxx_try_compile "$LINENO"; then :
78228 glibcxx_cv_func_finitel_use=yes
78229 else
78230 glibcxx_cv_func_finitel_use=no
78231 fi
78232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78233 ac_ext=c
78234 ac_cpp='$CPP $CPPFLAGS'
78235 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78236 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78237 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78238
78239
78240 fi
78241
78242 fi
78243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
78244 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
78245
78246 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
78247 for ac_func in finitel
78248 do :
78249 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
78250 if test "x$ac_cv_func_finitel" = xyes; then :
78251 cat >>confdefs.h <<_ACEOF
78252 #define HAVE_FINITEL 1
78253 _ACEOF
78254
78255 fi
78256 done
78257
78258 else
78259
78260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
78261 $as_echo_n "checking for _finitel declaration... " >&6; }
78262 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
78263 if ${glibcxx_cv_func__finitel_use+:} false; then :
78264 $as_echo_n "(cached) " >&6
78265 else
78266
78267
78268 ac_ext=cpp
78269 ac_cpp='$CXXCPP $CPPFLAGS'
78270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78273
78274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78275 /* end confdefs.h. */
78276 #include <math.h>
78277 #ifdef HAVE_IEEEFP_H
78278 #include <ieeefp.h>
78279 #endif
78280
78281 int
78282 main ()
78283 {
78284 _finitel(0);
78285 ;
78286 return 0;
78287 }
78288 _ACEOF
78289 if ac_fn_cxx_try_compile "$LINENO"; then :
78290 glibcxx_cv_func__finitel_use=yes
78291 else
78292 glibcxx_cv_func__finitel_use=no
78293 fi
78294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78295 ac_ext=c
78296 ac_cpp='$CPP $CPPFLAGS'
78297 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78298 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78299 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78300
78301
78302 fi
78303
78304 fi
78305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
78306 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
78307
78308 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
78309 for ac_func in _finitel
78310 do :
78311 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
78312 if test "x$ac_cv_func__finitel" = xyes; then :
78313 cat >>confdefs.h <<_ACEOF
78314 #define HAVE__FINITEL 1
78315 _ACEOF
78316
78317 fi
78318 done
78319
78320 fi
78321 fi
78322
78323
78324
78325
78326 LIBS="$ac_save_LIBS"
78327 CXXFLAGS="$ac_save_CXXFLAGS"
78328
78329
78330 ac_test_CXXFLAGS="${CXXFLAGS+set}"
78331 ac_save_CXXFLAGS="$CXXFLAGS"
78332 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
78333
78334
78335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
78336 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
78337 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
78338 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
78339 $as_echo_n "(cached) " >&6
78340 else
78341
78342
78343 ac_ext=cpp
78344 ac_cpp='$CXXCPP $CPPFLAGS'
78345 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78346 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78347 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78348
78349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78350 /* end confdefs.h. */
78351 #include <stdlib.h>
78352 int
78353 main ()
78354 {
78355 at_quick_exit(0);
78356 ;
78357 return 0;
78358 }
78359 _ACEOF
78360 if ac_fn_cxx_try_compile "$LINENO"; then :
78361 glibcxx_cv_func_at_quick_exit_use=yes
78362 else
78363 glibcxx_cv_func_at_quick_exit_use=no
78364 fi
78365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78366 ac_ext=c
78367 ac_cpp='$CPP $CPPFLAGS'
78368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78371
78372
78373 fi
78374
78375 fi
78376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
78377 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
78378 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
78379 for ac_func in at_quick_exit
78380 do :
78381 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
78382 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
78383 cat >>confdefs.h <<_ACEOF
78384 #define HAVE_AT_QUICK_EXIT 1
78385 _ACEOF
78386
78387 fi
78388 done
78389
78390 fi
78391
78392
78393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
78394 $as_echo_n "checking for quick_exit declaration... " >&6; }
78395 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
78396 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
78397 $as_echo_n "(cached) " >&6
78398 else
78399
78400
78401 ac_ext=cpp
78402 ac_cpp='$CXXCPP $CPPFLAGS'
78403 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78404 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78405 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78406
78407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78408 /* end confdefs.h. */
78409 #include <stdlib.h>
78410 int
78411 main ()
78412 {
78413 quick_exit(0);
78414 ;
78415 return 0;
78416 }
78417 _ACEOF
78418 if ac_fn_cxx_try_compile "$LINENO"; then :
78419 glibcxx_cv_func_quick_exit_use=yes
78420 else
78421 glibcxx_cv_func_quick_exit_use=no
78422 fi
78423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78424 ac_ext=c
78425 ac_cpp='$CPP $CPPFLAGS'
78426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78429
78430
78431 fi
78432
78433 fi
78434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
78435 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
78436 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
78437 for ac_func in quick_exit
78438 do :
78439 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
78440 if test "x$ac_cv_func_quick_exit" = xyes; then :
78441 cat >>confdefs.h <<_ACEOF
78442 #define HAVE_QUICK_EXIT 1
78443 _ACEOF
78444
78445 fi
78446 done
78447
78448 fi
78449
78450
78451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
78452 $as_echo_n "checking for strtold declaration... " >&6; }
78453 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
78454 if ${glibcxx_cv_func_strtold_use+:} false; then :
78455 $as_echo_n "(cached) " >&6
78456 else
78457
78458
78459 ac_ext=cpp
78460 ac_cpp='$CXXCPP $CPPFLAGS'
78461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78464
78465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78466 /* end confdefs.h. */
78467 #include <stdlib.h>
78468 int
78469 main ()
78470 {
78471 strtold(0, 0);
78472 ;
78473 return 0;
78474 }
78475 _ACEOF
78476 if ac_fn_cxx_try_compile "$LINENO"; then :
78477 glibcxx_cv_func_strtold_use=yes
78478 else
78479 glibcxx_cv_func_strtold_use=no
78480 fi
78481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78482 ac_ext=c
78483 ac_cpp='$CPP $CPPFLAGS'
78484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78487
78488
78489 fi
78490
78491 fi
78492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
78493 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
78494 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
78495 for ac_func in strtold
78496 do :
78497 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
78498 if test "x$ac_cv_func_strtold" = xyes; then :
78499 cat >>confdefs.h <<_ACEOF
78500 #define HAVE_STRTOLD 1
78501 _ACEOF
78502
78503 fi
78504 done
78505
78506 fi
78507
78508
78509
78510
78511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
78512 $as_echo_n "checking for strtof declaration... " >&6; }
78513 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
78514 if ${glibcxx_cv_func_strtof_use+:} false; then :
78515 $as_echo_n "(cached) " >&6
78516 else
78517
78518
78519 ac_ext=cpp
78520 ac_cpp='$CXXCPP $CPPFLAGS'
78521 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78522 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78523 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
78524
78525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78526 /* end confdefs.h. */
78527 #include <stdlib.h>
78528 int
78529 main ()
78530 {
78531 strtof(0, 0);
78532 ;
78533 return 0;
78534 }
78535 _ACEOF
78536 if ac_fn_cxx_try_compile "$LINENO"; then :
78537 glibcxx_cv_func_strtof_use=yes
78538 else
78539 glibcxx_cv_func_strtof_use=no
78540 fi
78541 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
78542 ac_ext=c
78543 ac_cpp='$CPP $CPPFLAGS'
78544 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
78545 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
78546 ac_compiler_gnu=$ac_cv_c_compiler_gnu
78547
78548
78549 fi
78550
78551 fi
78552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
78553 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
78554 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
78555 for ac_func in strtof
78556 do :
78557 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
78558 if test "x$ac_cv_func_strtof" = xyes; then :
78559 cat >>confdefs.h <<_ACEOF
78560 #define HAVE_STRTOF 1
78561 _ACEOF
78562
78563 fi
78564 done
78565
78566 fi
78567
78568
78569
78570
78571 CXXFLAGS="$ac_save_CXXFLAGS"
78572
78573 ;;
78574 *-vxworks)
78575 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
78576
78577 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
78578
78579 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
78580
78581 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
78582
78583 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
78584
78585 $as_echo "#define HAVE_COSF 1" >>confdefs.h
78586
78587 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
78588
78589 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
78590
78591 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
78592
78593 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
78594
78595 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
78596
78597 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
78598
78599 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
78600
78601 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
78602
78603 $as_echo "#define HAVE_POWF 1" >>confdefs.h
78604
78605 $as_echo "#define HAVE_SINF 1" >>confdefs.h
78606
78607 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
78608
78609 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
78610
78611 $as_echo "#define HAVE_TANF 1" >>confdefs.h
78612
78613 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
78614
78615 ;;
78616 *)
78617 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
78618 ;;
78619 esac
78620
78621 fi
78622
78623 # At some point, we should differentiate between architectures
78624 # like x86, which have long double versions, and alpha/powerpc/etc.,
78625 # which don't. For the time being, punt.
78626 if test x"long_double_math_on_this_cpu" = x"yes"; then
78627 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
78628
78629 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
78630
78631 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
78632
78633 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
78634
78635 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
78636
78637 $as_echo "#define HAVE_COSL 1" >>confdefs.h
78638
78639 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
78640
78641 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
78642
78643 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
78644
78645 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
78646
78647 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
78648
78649 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
78650
78651 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
78652
78653 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
78654
78655 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
78656
78657 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
78658
78659 $as_echo "#define HAVE_POWL 1" >>confdefs.h
78660
78661 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
78662
78663 $as_echo "#define HAVE_SINL 1" >>confdefs.h
78664
78665 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
78666
78667 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
78668
78669 $as_echo "#define HAVE_TANL 1" >>confdefs.h
78670
78671 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
78672
78673 fi
78674 fi
78675
78676 # Check for _Unwind_GetIPInfo.
78677
78678
78679 # Check whether --with-system-libunwind was given.
78680 if test "${with_system_libunwind+set}" = set; then :
78681 withval=$with_system_libunwind;
78682 fi
78683
78684 # If system-libunwind was not specifically set, pick a default setting.
78685 if test x$with_system_libunwind = x; then
78686 case ${target} in
78687 ia64-*-hpux*) with_system_libunwind=yes ;;
78688 *) with_system_libunwind=no ;;
78689 esac
78690 fi
78691 # Based on system-libunwind and target, do we have ipinfo?
78692 if test x$with_system_libunwind = xyes; then
78693 case ${target} in
78694 ia64-*-*) have_unwind_getipinfo=no ;;
78695 *) have_unwind_getipinfo=yes ;;
78696 esac
78697 else
78698 # Darwin before version 9 does not have _Unwind_GetIPInfo.
78699
78700 case ${target} in
78701 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
78702 *) have_unwind_getipinfo=yes ;;
78703 esac
78704
78705 fi
78706
78707 if test x$have_unwind_getipinfo = xyes; then
78708
78709 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
78710
78711 fi
78712
78713
78714 # Check whether --enable-linux-futex was given.
78715 if test "${enable_linux_futex+set}" = set; then :
78716 enableval=$enable_linux_futex;
78717 case "$enableval" in
78718 yes|no|default) ;;
78719 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
78720 esac
78721
78722 else
78723 enable_linux_futex=default
78724 fi
78725
78726
78727 case "$target" in
78728 *-linux*)
78729 case "$enable_linux_futex" in
78730 default)
78731 # If headers don't have gettid/futex syscalls definition, then
78732 # default to no, otherwise there will be compile time failures.
78733 # Otherwise, default to yes. If we don't detect we are
78734 # compiled/linked against NPTL and not cross-compiling, check
78735 # if programs are run by default against NPTL and if not, issue
78736 # a warning.
78737 enable_linux_futex=no
78738 if test x$gcc_no_link = xyes; then
78739 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78740 fi
78741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78742 /* end confdefs.h. */
78743 #include <sys/syscall.h>
78744 int lk;
78745 int
78746 main ()
78747 {
78748 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78749 ;
78750 return 0;
78751 }
78752 _ACEOF
78753 if ac_fn_c_try_link "$LINENO"; then :
78754 save_LIBS="$LIBS"
78755 LIBS="-lpthread $LIBS"
78756 if test x$gcc_no_link = xyes; then
78757 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78758 fi
78759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78760 /* end confdefs.h. */
78761 #ifndef _GNU_SOURCE
78762 #define _GNU_SOURCE 1
78763 #endif
78764 #include <pthread.h>
78765 pthread_t th; void *status;
78766 int
78767 main ()
78768 {
78769 pthread_tryjoin_np (th, &status);
78770 ;
78771 return 0;
78772 }
78773 _ACEOF
78774 if ac_fn_c_try_link "$LINENO"; then :
78775 enable_linux_futex=yes
78776 else
78777 if test x$cross_compiling = xno; then
78778 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
78779 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
78780 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
78781 If so, please configure with --disable-linux-futex" >&5
78782 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
78783 If so, please configure with --disable-linux-futex" >&2;}
78784 fi
78785 fi
78786 enable_linux_futex=yes
78787 fi
78788 rm -f core conftest.err conftest.$ac_objext \
78789 conftest$ac_exeext conftest.$ac_ext
78790 LIBS="$save_LIBS"
78791 fi
78792 rm -f core conftest.err conftest.$ac_objext \
78793 conftest$ac_exeext conftest.$ac_ext
78794 ;;
78795 yes)
78796 if test x$gcc_no_link = xyes; then
78797 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
78798 fi
78799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
78800 /* end confdefs.h. */
78801 #include <sys/syscall.h>
78802 int lk;
78803 int
78804 main ()
78805 {
78806 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
78807 ;
78808 return 0;
78809 }
78810 _ACEOF
78811 if ac_fn_c_try_link "$LINENO"; then :
78812
78813 else
78814 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
78815 fi
78816 rm -f core conftest.err conftest.$ac_objext \
78817 conftest$ac_exeext conftest.$ac_ext
78818 ;;
78819 esac
78820 ;;
78821 *)
78822 enable_linux_futex=no
78823 ;;
78824 esac
78825 if test x$enable_linux_futex = xyes; then
78826
78827 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
78828
78829 fi
78830
78831
78832
78833
78834 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
78835
78836 acx_cv_header_stdint=stddef.h
78837 acx_cv_header_stdint_kind="(already complete)"
78838 for i in stdint.h $inttype_headers; do
78839 unset ac_cv_type_uintptr_t
78840 unset ac_cv_type_uintmax_t
78841 unset ac_cv_type_int_least32_t
78842 unset ac_cv_type_int_fast32_t
78843 unset ac_cv_type_uint64_t
78844 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
78845 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
78846 #include <$i>
78847 "
78848 if test "x$ac_cv_type_uintmax_t" = xyes; then :
78849 acx_cv_header_stdint=$i
78850 else
78851 continue
78852 fi
78853
78854 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78855 #include <$i>
78856 "
78857 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78858
78859 else
78860 acx_cv_header_stdint_kind="(mostly complete)"
78861 fi
78862
78863 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
78864 #include <$i>
78865 "
78866 if test "x$ac_cv_type_int_least32_t" = xyes; then :
78867
78868 else
78869 acx_cv_header_stdint_kind="(mostly complete)"
78870 fi
78871
78872 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
78873 #include <$i>
78874 "
78875 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
78876
78877 else
78878 acx_cv_header_stdint_kind="(mostly complete)"
78879 fi
78880
78881 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78882 #include <$i>
78883 "
78884 if test "x$ac_cv_type_uint64_t" = xyes; then :
78885
78886 else
78887 acx_cv_header_stdint_kind="(lacks uint64_t)"
78888 fi
78889
78890 break
78891 done
78892 if test "$acx_cv_header_stdint" = stddef.h; then
78893 acx_cv_header_stdint_kind="(lacks uintmax_t)"
78894 for i in stdint.h $inttype_headers; do
78895 unset ac_cv_type_uintptr_t
78896 unset ac_cv_type_uint32_t
78897 unset ac_cv_type_uint64_t
78898 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
78899 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
78900 #include <$i>
78901 "
78902 if test "x$ac_cv_type_uint32_t" = xyes; then :
78903 acx_cv_header_stdint=$i
78904 else
78905 continue
78906 fi
78907
78908 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
78909 #include <$i>
78910 "
78911 if test "x$ac_cv_type_uint64_t" = xyes; then :
78912
78913 fi
78914
78915 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
78916 #include <$i>
78917 "
78918 if test "x$ac_cv_type_uintptr_t" = xyes; then :
78919
78920 fi
78921
78922 break
78923 done
78924 fi
78925 if test "$acx_cv_header_stdint" = stddef.h; then
78926 acx_cv_header_stdint_kind="(u_intXX_t style)"
78927 for i in sys/types.h $inttype_headers; do
78928 unset ac_cv_type_u_int32_t
78929 unset ac_cv_type_u_int64_t
78930 $as_echo_n "looking for u_intXX_t types in $i, " >&6
78931 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
78932 #include <$i>
78933 "
78934 if test "x$ac_cv_type_u_int32_t" = xyes; then :
78935 acx_cv_header_stdint=$i
78936 else
78937 continue
78938 fi
78939
78940 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
78941 #include <$i>
78942 "
78943 if test "x$ac_cv_type_u_int64_t" = xyes; then :
78944
78945 fi
78946
78947 break
78948 done
78949 fi
78950 if test "$acx_cv_header_stdint" = stddef.h; then
78951 acx_cv_header_stdint_kind="(using manual detection)"
78952 fi
78953
78954 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
78955 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
78956 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
78957 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
78958 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
78959
78960 # ----------------- Summarize what we found so far
78961
78962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
78963 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
78964
78965 case `$as_basename -- include/gstdint.h ||
78966 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
78967 Xinclude/gstdint.h : 'X\(//\)$' \| \
78968 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
78969 $as_echo X/include/gstdint.h |
78970 sed '/^.*\/\([^/][^/]*\)\/*$/{
78971 s//\1/
78972 q
78973 }
78974 /^X\/\(\/\/\)$/{
78975 s//\1/
78976 q
78977 }
78978 /^X\/\(\/\).*/{
78979 s//\1/
78980 q
78981 }
78982 s/.*/./; q'` in
78983 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78984 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78985 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
78986 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
78987 *) ;;
78988 esac
78989
78990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
78991 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
78992
78993 # ----------------- done included file, check C basic types --------
78994
78995 # Lacking an uintptr_t? Test size of void *
78996 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
78997 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
78998 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
78999 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79000 # This bug is HP SR number 8606223364.
79001 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
79002 $as_echo_n "checking size of void *... " >&6; }
79003 if ${ac_cv_sizeof_void_p+:} false; then :
79004 $as_echo_n "(cached) " >&6
79005 else
79006 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
79007
79008 else
79009 if test "$ac_cv_type_void_p" = yes; then
79010 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79011 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79012 as_fn_error 77 "cannot compute sizeof (void *)
79013 See \`config.log' for more details" "$LINENO" 5; }
79014 else
79015 ac_cv_sizeof_void_p=0
79016 fi
79017 fi
79018
79019 fi
79020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
79021 $as_echo "$ac_cv_sizeof_void_p" >&6; }
79022
79023
79024
79025 cat >>confdefs.h <<_ACEOF
79026 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
79027 _ACEOF
79028
79029 ;;
79030 esac
79031
79032 # Lacking an uint64_t? Test size of long
79033 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
79034 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
79035 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79036 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79037 # This bug is HP SR number 8606223364.
79038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
79039 $as_echo_n "checking size of long... " >&6; }
79040 if ${ac_cv_sizeof_long+:} false; then :
79041 $as_echo_n "(cached) " >&6
79042 else
79043 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
79044
79045 else
79046 if test "$ac_cv_type_long" = yes; then
79047 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79048 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79049 as_fn_error 77 "cannot compute sizeof (long)
79050 See \`config.log' for more details" "$LINENO" 5; }
79051 else
79052 ac_cv_sizeof_long=0
79053 fi
79054 fi
79055
79056 fi
79057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
79058 $as_echo "$ac_cv_sizeof_long" >&6; }
79059
79060
79061
79062 cat >>confdefs.h <<_ACEOF
79063 #define SIZEOF_LONG $ac_cv_sizeof_long
79064 _ACEOF
79065
79066 ;;
79067 esac
79068
79069 if test $acx_cv_header_stdint = stddef.h; then
79070 # Lacking a good header? Test size of everything and deduce all types.
79071 # The cast to long int works around a bug in the HP C Compiler
79072 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79073 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79074 # This bug is HP SR number 8606223364.
79075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
79076 $as_echo_n "checking size of int... " >&6; }
79077 if ${ac_cv_sizeof_int+:} false; then :
79078 $as_echo_n "(cached) " >&6
79079 else
79080 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
79081
79082 else
79083 if test "$ac_cv_type_int" = yes; then
79084 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79085 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79086 as_fn_error 77 "cannot compute sizeof (int)
79087 See \`config.log' for more details" "$LINENO" 5; }
79088 else
79089 ac_cv_sizeof_int=0
79090 fi
79091 fi
79092
79093 fi
79094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
79095 $as_echo "$ac_cv_sizeof_int" >&6; }
79096
79097
79098
79099 cat >>confdefs.h <<_ACEOF
79100 #define SIZEOF_INT $ac_cv_sizeof_int
79101 _ACEOF
79102
79103
79104 # The cast to long int works around a bug in the HP C Compiler
79105 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79106 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79107 # This bug is HP SR number 8606223364.
79108 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
79109 $as_echo_n "checking size of short... " >&6; }
79110 if ${ac_cv_sizeof_short+:} false; then :
79111 $as_echo_n "(cached) " >&6
79112 else
79113 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
79114
79115 else
79116 if test "$ac_cv_type_short" = yes; then
79117 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79118 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79119 as_fn_error 77 "cannot compute sizeof (short)
79120 See \`config.log' for more details" "$LINENO" 5; }
79121 else
79122 ac_cv_sizeof_short=0
79123 fi
79124 fi
79125
79126 fi
79127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
79128 $as_echo "$ac_cv_sizeof_short" >&6; }
79129
79130
79131
79132 cat >>confdefs.h <<_ACEOF
79133 #define SIZEOF_SHORT $ac_cv_sizeof_short
79134 _ACEOF
79135
79136
79137 # The cast to long int works around a bug in the HP C Compiler
79138 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
79139 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
79140 # This bug is HP SR number 8606223364.
79141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
79142 $as_echo_n "checking size of char... " >&6; }
79143 if ${ac_cv_sizeof_char+:} false; then :
79144 $as_echo_n "(cached) " >&6
79145 else
79146 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
79147
79148 else
79149 if test "$ac_cv_type_char" = yes; then
79150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
79151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
79152 as_fn_error 77 "cannot compute sizeof (char)
79153 See \`config.log' for more details" "$LINENO" 5; }
79154 else
79155 ac_cv_sizeof_char=0
79156 fi
79157 fi
79158
79159 fi
79160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
79161 $as_echo "$ac_cv_sizeof_char" >&6; }
79162
79163
79164
79165 cat >>confdefs.h <<_ACEOF
79166 #define SIZEOF_CHAR $ac_cv_sizeof_char
79167 _ACEOF
79168
79169
79170
79171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
79172 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
79173 case "$ac_cv_sizeof_char" in
79174 1) acx_cv_type_int8_t=char ;;
79175 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
79176 esac
79177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
79178 $as_echo "$acx_cv_type_int8_t" >&6; }
79179
79180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
79181 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
79182 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
79183 2:*) acx_cv_type_int16_t=int ;;
79184 *:2) acx_cv_type_int16_t=short ;;
79185 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
79186 esac
79187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
79188 $as_echo "$acx_cv_type_int16_t" >&6; }
79189
79190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
79191 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
79192 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
79193 4:*) acx_cv_type_int32_t=int ;;
79194 *:4) acx_cv_type_int32_t=long ;;
79195 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
79196 esac
79197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
79198 $as_echo "$acx_cv_type_int32_t" >&6; }
79199 fi
79200
79201 # These tests are here to make the output prettier
79202
79203 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
79204 case "$ac_cv_sizeof_long" in
79205 8) acx_cv_type_int64_t=long ;;
79206 esac
79207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
79208 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
79209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
79210 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
79211 fi
79212
79213 # Now we can use the above types
79214
79215 if test "$ac_cv_type_uintptr_t" != yes; then
79216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
79217 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
79218 case $ac_cv_sizeof_void_p in
79219 2) acx_cv_type_intptr_t=int16_t ;;
79220 4) acx_cv_type_intptr_t=int32_t ;;
79221 8) acx_cv_type_intptr_t=int64_t ;;
79222 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
79223 esac
79224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
79225 $as_echo "$acx_cv_type_intptr_t" >&6; }
79226 fi
79227
79228 # ----------------- done all checks, emit header -------------
79229 ac_config_commands="$ac_config_commands include/gstdint.h"
79230
79231
79232
79233
79234
79235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
79236 $as_echo_n "checking for GNU c++filt... " >&6; }
79237 if ${ac_cv_path_CXXFILT+:} false; then :
79238 $as_echo_n "(cached) " >&6
79239 else
79240 if test -z "$CXXFILT"; then
79241 ac_path_CXXFILT_found=false
79242 # Loop through the user's path and test for each of PROGNAME-LIST
79243 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
79244 for as_dir in $PATH
79245 do
79246 IFS=$as_save_IFS
79247 test -z "$as_dir" && as_dir=.
79248 for ac_prog in c++filt gc++filt; do
79249 for ac_exec_ext in '' $ac_executable_extensions; do
79250 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
79251 as_fn_executable_p "$ac_path_CXXFILT" || continue
79252 # Check for GNU $ac_path_CXXFILT
79253 case `"$ac_path_CXXFILT" --version 2>&1` in
79254 *GNU*)
79255 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
79256 esac
79257
79258 $ac_path_CXXFILT_found && break 3
79259 done
79260 done
79261 done
79262 IFS=$as_save_IFS
79263 if test -z "$ac_cv_path_CXXFILT"; then
79264 :
79265 fi
79266 else
79267 ac_cv_path_CXXFILT=$CXXFILT
79268 fi
79269
79270 fi
79271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
79272 $as_echo "$ac_cv_path_CXXFILT" >&6; }
79273 CXXFILT=$ac_cv_path_CXXFILT
79274
79275
79276
79277 # Check whether --enable-symvers was given.
79278 if test "${enable_symvers+set}" = set; then :
79279 enableval=$enable_symvers;
79280 case "$enableval" in
79281 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
79282 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
79283 esac
79284
79285 else
79286 enable_symvers=yes
79287 fi
79288
79289
79290
79291 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
79292 # don't know enough about $LD to do tricks...
79293
79294 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
79295 # with extern "C++" in version scripts.
79296
79297
79298 # Turn a 'yes' into a suitable default.
79299 if test x$enable_symvers = xyes ; then
79300 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
79301 enable_symvers=no
79302 else
79303 if test $with_gnu_ld = yes ; then
79304 case ${target_os} in
79305 hpux*)
79306 enable_symvers=no ;;
79307 *)
79308 enable_symvers=gnu ;;
79309 esac
79310 else
79311 case ${target_os} in
79312 darwin*)
79313 enable_symvers=darwin ;;
79314 # Sun symbol versioning exists since Solaris 2.5.
79315 solaris2.[5-9]* | solaris2.1[0-9]*)
79316 # make_sunver.pl needs GNU c++filt to support extern "C++" in
79317 # version scripts, so disable symbol versioning if none can be
79318 # found.
79319 if test -z "$ac_cv_path_CXXFILT"; then
79320 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79321 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79322 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
79323 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
79324 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79325 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79326 enable_symvers=no
79327 else
79328 enable_symvers=sun
79329 fi
79330 ;;
79331 *)
79332 enable_symvers=no ;;
79333 esac
79334 fi
79335 fi
79336 fi
79337
79338 # Check to see if 'darwin' or 'darwin-export' can win.
79339 if test x$enable_symvers = xdarwin-export ; then
79340 enable_symvers=darwin
79341 fi
79342
79343 # Check if 'sun' was requested on non-Solaris 2 platforms.
79344 if test x$enable_symvers = xsun ; then
79345 case ${target_os} in
79346 solaris2*)
79347 # All fine.
79348 ;;
79349 *)
79350 # Unlikely to work.
79351 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
79352 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
79353 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
79354 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
79355 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79356 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79357 enable_symvers=no
79358 ;;
79359 esac
79360 fi
79361
79362 # Check to see if 'gnu' can win.
79363 if test $enable_symvers = gnu ||
79364 test $enable_symvers = gnu-versioned-namespace ||
79365 test $enable_symvers = sun; then
79366 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
79367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
79368 $as_echo_n "checking for shared libgcc... " >&6; }
79369 ac_save_CFLAGS="$CFLAGS"
79370 CFLAGS=' -lgcc_s'
79371 if test x$gcc_no_link = xyes; then
79372 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79373 fi
79374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79375 /* end confdefs.h. */
79376
79377 int
79378 main ()
79379 {
79380 return 0;
79381 ;
79382 return 0;
79383 }
79384 _ACEOF
79385 if ac_fn_c_try_link "$LINENO"; then :
79386 glibcxx_shared_libgcc=yes
79387 else
79388 glibcxx_shared_libgcc=no
79389 fi
79390 rm -f core conftest.err conftest.$ac_objext \
79391 conftest$ac_exeext conftest.$ac_ext
79392 CFLAGS="$ac_save_CFLAGS"
79393 if test $glibcxx_shared_libgcc = no; then
79394 cat > conftest.c <<EOF
79395 int main (void) { return 0; }
79396 EOF
79397 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
79398 -shared -shared-libgcc -o conftest.so \
79399 conftest.c -v 2>&1 >/dev/null \
79400 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
79401 rm -f conftest.c conftest.so
79402 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
79403 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
79404 if test x$gcc_no_link = xyes; then
79405 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
79406 fi
79407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79408 /* end confdefs.h. */
79409
79410 int
79411 main ()
79412 {
79413 return 0;
79414 ;
79415 return 0;
79416 }
79417 _ACEOF
79418 if ac_fn_c_try_link "$LINENO"; then :
79419 glibcxx_shared_libgcc=yes
79420 fi
79421 rm -f core conftest.err conftest.$ac_objext \
79422 conftest$ac_exeext conftest.$ac_ext
79423 CFLAGS="$ac_save_CFLAGS"
79424 fi
79425 fi
79426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
79427 $as_echo "$glibcxx_shared_libgcc" >&6; }
79428
79429 # For GNU ld, we need at least this version. The format is described in
79430 # GLIBCXX_CHECK_LINKER_FEATURES above.
79431 glibcxx_min_gnu_ld_version=21400
79432
79433 # If no shared libgcc, can't win.
79434 if test $glibcxx_shared_libgcc != yes; then
79435 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79436 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79437 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
79438 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
79439 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79440 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79441 enable_symvers=no
79442 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
79443 : All interesting versions of Sun ld support sun style symbol versioning.
79444 elif test $with_gnu_ld != yes ; then
79445 # just fail for now
79446 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
79447 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
79448 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
79449 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
79450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79451 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79452 enable_symvers=no
79453 elif test $glibcxx_ld_is_gold = yes ; then
79454 : All versions of gold support symbol versioning.
79455 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
79456 # The right tools, the right setup, but too old. Fallbacks?
79457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
79458 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
79459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
79460 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
79461 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
79462 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
79463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
79464 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
79465 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
79466 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
79467 enable_symvers=no
79468 fi
79469 fi
79470
79471 # For libtool versioning info, format is CURRENT:REVISION:AGE
79472 libtool_VERSION=6:26:0
79473
79474 # Everything parsed; figure out what files and settings to use.
79475 case $enable_symvers in
79476 no)
79477 SYMVER_FILE=config/abi/pre/none.ver
79478 ;;
79479 gnu)
79480 SYMVER_FILE=config/abi/pre/gnu.ver
79481
79482 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
79483
79484 ;;
79485 gnu-versioned-namespace)
79486 libtool_VERSION=8:0:0
79487 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
79488
79489 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
79490
79491 ;;
79492 darwin)
79493 SYMVER_FILE=config/abi/pre/gnu.ver
79494
79495 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
79496
79497 ;;
79498 sun)
79499 SYMVER_FILE=config/abi/pre/gnu.ver
79500
79501 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
79502
79503 ;;
79504 esac
79505
79506 if test x$enable_symvers != xno ; then
79507
79508 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
79509
79510 fi
79511
79512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
79513 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
79514 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
79515 $as_echo_n "(cached) " >&6
79516 else
79517
79518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79519 /* end confdefs.h. */
79520 void foo (void); __asm (".symver foo, bar@SYMVER");
79521 int
79522 main ()
79523 {
79524
79525 ;
79526 return 0;
79527 }
79528 _ACEOF
79529 if ac_fn_c_try_compile "$LINENO"; then :
79530 glibcxx_cv_have_as_symver_directive=yes
79531 else
79532 glibcxx_cv_have_as_symver_directive=no
79533 fi
79534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79535 fi
79536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
79537 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
79538 if test $glibcxx_cv_have_as_symver_directive = yes; then
79539
79540 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
79541
79542 fi
79543
79544
79545
79546
79547
79548
79549
79550
79551 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
79552 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
79553
79554 if test $enable_symvers != no ; then
79555 case ${target_os} in
79556 # The Solaris 2 runtime linker doesn't support the GNU extension of
79557 # binding the same symbol to different versions
79558 solaris2*)
79559 ;;
79560 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
79561 *)
79562
79563 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
79564
79565 ;;
79566 esac
79567 fi
79568
79569 # Now, set up compatibility support, if any.
79570 # In addition, need this to deal with std::size_t mangling in
79571 # src/compatibility.cc. In a perfect world, could use
79572 # typeid(std::size_t).name()[0] to do direct substitution.
79573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
79574 $as_echo_n "checking for size_t as unsigned int... " >&6; }
79575 ac_save_CFLAGS="$CFLAGS"
79576 CFLAGS="-Werror"
79577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79578 /* end confdefs.h. */
79579
79580 int
79581 main ()
79582 {
79583 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
79584 ;
79585 return 0;
79586 }
79587 _ACEOF
79588 if ac_fn_c_try_compile "$LINENO"; then :
79589 glibcxx_size_t_is_i=yes
79590 else
79591 glibcxx_size_t_is_i=no
79592 fi
79593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79594 CFLAGS=$ac_save_CFLAGS
79595 if test "$glibcxx_size_t_is_i" = yes; then
79596
79597 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
79598
79599 fi
79600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
79601 $as_echo "$glibcxx_size_t_is_i" >&6; }
79602
79603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
79604 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
79605 ac_save_CFLAGS="$CFLAGS"
79606 CFLAGS="-Werror"
79607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79608 /* end confdefs.h. */
79609
79610 int
79611 main ()
79612 {
79613 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
79614 ;
79615 return 0;
79616 }
79617 _ACEOF
79618 if ac_fn_c_try_compile "$LINENO"; then :
79619 glibcxx_ptrdiff_t_is_i=yes
79620 else
79621 glibcxx_ptrdiff_t_is_i=no
79622 fi
79623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79624 CFLAGS=$ac_save_CFLAGS
79625 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
79626
79627 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
79628
79629 fi
79630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
79631 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
79632
79633
79634
79635
79636 # Check whether --enable-libstdcxx-visibility was given.
79637 if test "${enable_libstdcxx_visibility+set}" = set; then :
79638 enableval=$enable_libstdcxx_visibility;
79639 case "$enableval" in
79640 yes|no) ;;
79641 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
79642 esac
79643
79644 else
79645 enable_libstdcxx_visibility=yes
79646 fi
79647
79648
79649
79650 if test x$enable_libstdcxx_visibility = xyes ; then
79651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
79652 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
79653 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
79654 $as_echo_n "(cached) " >&6
79655 else
79656
79657 save_CFLAGS="$CFLAGS"
79658 CFLAGS="$CFLAGS -Werror"
79659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79660 /* end confdefs.h. */
79661 void __attribute__((visibility("hidden"))) foo(void) { }
79662 int
79663 main ()
79664 {
79665
79666 ;
79667 return 0;
79668 }
79669 _ACEOF
79670 if ac_fn_c_try_compile "$LINENO"; then :
79671 glibcxx_cv_have_attribute_visibility=yes
79672 else
79673 glibcxx_cv_have_attribute_visibility=no
79674 fi
79675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79676 CFLAGS="$save_CFLAGS"
79677 fi
79678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
79679 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
79680 if test $glibcxx_cv_have_attribute_visibility = no; then
79681 enable_libstdcxx_visibility=no
79682 fi
79683 fi
79684
79685
79686 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
79687 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
79688
79689
79690
79691 # Check whether --enable-libstdcxx-dual-abi was given.
79692 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
79693 enableval=$enable_libstdcxx_dual_abi;
79694 case "$enableval" in
79695 yes|no) ;;
79696 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
79697 esac
79698
79699 else
79700 enable_libstdcxx_dual_abi=yes
79701 fi
79702
79703
79704 if test x$enable_symvers = xgnu-versioned-namespace; then
79705 # gnu-versioned-namespace is incompatible with the dual ABI.
79706 enable_libstdcxx_dual_abi="no"
79707 fi
79708 if test x"$enable_libstdcxx_dual_abi" != xyes; then
79709 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
79710 $as_echo "$as_me: dual ABI is disabled" >&6;}
79711 default_libstdcxx_abi="gcc4-compatible"
79712 fi
79713
79714
79715
79716 if test x$enable_libstdcxx_dual_abi = xyes; then
79717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
79718 $as_echo_n "checking for default std::string ABI to use... " >&6; }
79719
79720 # Check whether --with-default-libstdcxx-abi was given.
79721 if test "${with_default_libstdcxx_abi+set}" = set; then :
79722 withval=$with_default_libstdcxx_abi; case "$withval" in
79723 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
79724 new|cxx11) default_libstdcxx_abi="new" ;;
79725 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
79726 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
79727 esac
79728
79729 else
79730 default_libstdcxx_abi="new"
79731 fi
79732
79733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
79734 $as_echo "${default_libstdcxx_abi}" >&6; }
79735 fi
79736 if test $default_libstdcxx_abi = "new"; then
79737 glibcxx_cxx11_abi=1
79738 glibcxx_cxx98_abi=0
79739 else
79740 glibcxx_cxx11_abi=0
79741 glibcxx_cxx98_abi=1
79742 fi
79743
79744
79745
79746
79747 ac_ldbl_compat=no
79748 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
79749 case "$target" in
79750 powerpc*-*-linux* | \
79751 sparc*-*-linux* | \
79752 s390*-*-linux* | \
79753 alpha*-*-linux*)
79754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79755 /* end confdefs.h. */
79756
79757 int
79758 main ()
79759 {
79760
79761 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
79762 #error no need for long double compatibility
79763 #endif
79764
79765 ;
79766 return 0;
79767 }
79768 _ACEOF
79769 if ac_fn_c_try_compile "$LINENO"; then :
79770 ac_ldbl_compat=yes
79771 else
79772 ac_ldbl_compat=no
79773 fi
79774 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79775 if test "$ac_ldbl_compat" = yes; then
79776
79777 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
79778
79779 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
79780 case "$target" in
79781 powerpc*-*-linux*)
79782 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute" ;;
79783 esac
79784 fi
79785 esac
79786
79787
79788
79789 # Check if assembler supports disabling hardware capability support.
79790
79791 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
79792
79793 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
79794 # with a different meaning.
79795 case ${target_os} in
79796 solaris2*)
79797 ac_save_CFLAGS="$CFLAGS"
79798 CFLAGS="$CFLAGS -Wa,-nH"
79799
79800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
79801 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
79802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79803 /* end confdefs.h. */
79804
79805 int
79806 main ()
79807 {
79808 return 0;
79809 ;
79810 return 0;
79811 }
79812 _ACEOF
79813 if ac_fn_c_try_compile "$LINENO"; then :
79814 ac_hwcap_flags=yes
79815 else
79816 ac_hwcap_flags=no
79817 fi
79818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79819 if test "$ac_hwcap_flags" = "yes"; then
79820 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
79821 fi
79822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
79823 $as_echo "$ac_hwcap_flags" >&6; }
79824
79825 CFLAGS="$ac_save_CFLAGS"
79826 ;;
79827 esac
79828
79829
79830
79831
79832 # Check if assembler supports rdrand opcode.
79833
79834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
79835 $as_echo_n "checking for rdrand support in assembler... " >&6; }
79836 if ${ac_cv_x86_rdrand+:} false; then :
79837 $as_echo_n "(cached) " >&6
79838 else
79839
79840 ac_cv_x86_rdrand=no
79841 case "$target" in
79842 i?86-*-* | \
79843 x86_64-*-*)
79844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79845 /* end confdefs.h. */
79846
79847 int
79848 main ()
79849 {
79850 asm("rdrand %eax");
79851 ;
79852 return 0;
79853 }
79854 _ACEOF
79855 if ac_fn_c_try_compile "$LINENO"; then :
79856 ac_cv_x86_rdrand=yes
79857 else
79858 ac_cv_x86_rdrand=no
79859 fi
79860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79861 esac
79862
79863 fi
79864
79865 if test $ac_cv_x86_rdrand = yes; then
79866
79867 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
79868
79869 fi
79870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
79871 $as_echo "$ac_cv_x86_rdrand" >&6; }
79872
79873 # Check if assembler supports rdseed opcode.
79874
79875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
79876 $as_echo_n "checking for rdseed support in assembler... " >&6; }
79877 if ${ac_cv_x86_rdseed+:} false; then :
79878 $as_echo_n "(cached) " >&6
79879 else
79880
79881 ac_cv_x86_rdseed=no
79882 case "$target" in
79883 i?86-*-* | \
79884 x86_64-*-*)
79885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79886 /* end confdefs.h. */
79887
79888 int
79889 main ()
79890 {
79891 asm("rdseed %eax");
79892 ;
79893 return 0;
79894 }
79895 _ACEOF
79896 if ac_fn_c_try_compile "$LINENO"; then :
79897 ac_cv_x86_rdseed=yes
79898 else
79899 ac_cv_x86_rdseed=no
79900 fi
79901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79902 esac
79903
79904 fi
79905
79906 if test $ac_cv_x86_rdseed = yes; then
79907
79908 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
79909
79910 fi
79911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
79912 $as_echo "$ac_cv_x86_rdseed" >&6; }
79913
79914
79915 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
79916
79917 # Do checks for resource limit functions.
79918
79919 setrlimit_have_headers=yes
79920 for ac_header in unistd.h sys/time.h sys/resource.h
79921 do :
79922 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
79923 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
79924 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
79925 cat >>confdefs.h <<_ACEOF
79926 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
79927 _ACEOF
79928
79929 else
79930 setrlimit_have_headers=no
79931 fi
79932
79933 done
79934
79935 # If don't have the headers, then we can't run the tests now, and we
79936 # won't be seeing any of these during testsuite compilation.
79937 if test $setrlimit_have_headers = yes; then
79938 # Can't do these in a loop, else the resulting syntax is wrong.
79939
79940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
79941 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
79942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79943 /* end confdefs.h. */
79944 #include <unistd.h>
79945 #include <sys/time.h>
79946 #include <sys/resource.h>
79947
79948 int
79949 main ()
79950 {
79951 int f = RLIMIT_DATA ;
79952 ;
79953 return 0;
79954 }
79955 _ACEOF
79956 if ac_fn_c_try_compile "$LINENO"; then :
79957 glibcxx_mresult=1
79958 else
79959 glibcxx_mresult=0
79960 fi
79961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79962
79963 cat >>confdefs.h <<_ACEOF
79964 #define HAVE_LIMIT_DATA $glibcxx_mresult
79965 _ACEOF
79966
79967 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
79968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
79969 $as_echo "$res" >&6; }
79970
79971
79972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
79973 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
79974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
79975 /* end confdefs.h. */
79976 #include <unistd.h>
79977 #include <sys/time.h>
79978 #include <sys/resource.h>
79979
79980 int
79981 main ()
79982 {
79983 int f = RLIMIT_RSS ;
79984 ;
79985 return 0;
79986 }
79987 _ACEOF
79988 if ac_fn_c_try_compile "$LINENO"; then :
79989 glibcxx_mresult=1
79990 else
79991 glibcxx_mresult=0
79992 fi
79993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
79994
79995 cat >>confdefs.h <<_ACEOF
79996 #define HAVE_LIMIT_RSS $glibcxx_mresult
79997 _ACEOF
79998
79999 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80001 $as_echo "$res" >&6; }
80002
80003
80004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
80005 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
80006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80007 /* end confdefs.h. */
80008 #include <unistd.h>
80009 #include <sys/time.h>
80010 #include <sys/resource.h>
80011
80012 int
80013 main ()
80014 {
80015 int f = RLIMIT_VMEM ;
80016 ;
80017 return 0;
80018 }
80019 _ACEOF
80020 if ac_fn_c_try_compile "$LINENO"; then :
80021 glibcxx_mresult=1
80022 else
80023 glibcxx_mresult=0
80024 fi
80025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80026
80027 cat >>confdefs.h <<_ACEOF
80028 #define HAVE_LIMIT_VMEM $glibcxx_mresult
80029 _ACEOF
80030
80031 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80033 $as_echo "$res" >&6; }
80034
80035
80036 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
80037 $as_echo_n "checking for RLIMIT_AS... " >&6; }
80038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80039 /* end confdefs.h. */
80040 #include <unistd.h>
80041 #include <sys/time.h>
80042 #include <sys/resource.h>
80043
80044 int
80045 main ()
80046 {
80047 int f = RLIMIT_AS ;
80048 ;
80049 return 0;
80050 }
80051 _ACEOF
80052 if ac_fn_c_try_compile "$LINENO"; then :
80053 glibcxx_mresult=1
80054 else
80055 glibcxx_mresult=0
80056 fi
80057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80058
80059 cat >>confdefs.h <<_ACEOF
80060 #define HAVE_LIMIT_AS $glibcxx_mresult
80061 _ACEOF
80062
80063 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80065 $as_echo "$res" >&6; }
80066
80067
80068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
80069 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
80070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80071 /* end confdefs.h. */
80072 #include <unistd.h>
80073 #include <sys/time.h>
80074 #include <sys/resource.h>
80075
80076 int
80077 main ()
80078 {
80079 int f = RLIMIT_FSIZE ;
80080 ;
80081 return 0;
80082 }
80083 _ACEOF
80084 if ac_fn_c_try_compile "$LINENO"; then :
80085 glibcxx_mresult=1
80086 else
80087 glibcxx_mresult=0
80088 fi
80089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80090
80091 cat >>confdefs.h <<_ACEOF
80092 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
80093 _ACEOF
80094
80095 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
80096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
80097 $as_echo "$res" >&6; }
80098
80099
80100 # Check for rlimit, setrlimit.
80101 if ${glibcxx_cv_setrlimit+:} false; then :
80102 $as_echo_n "(cached) " >&6
80103 else
80104
80105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80106 /* end confdefs.h. */
80107 #include <unistd.h>
80108 #include <sys/time.h>
80109 #include <sys/resource.h>
80110
80111 int
80112 main ()
80113 {
80114 struct rlimit r;
80115 setrlimit(0, &r);
80116 ;
80117 return 0;
80118 }
80119 _ACEOF
80120 if ac_fn_c_try_compile "$LINENO"; then :
80121 glibcxx_cv_setrlimit=yes
80122 else
80123 glibcxx_cv_setrlimit=no
80124 fi
80125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80126
80127 fi
80128
80129 fi
80130
80131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
80132 $as_echo_n "checking for testsuite resource limits support... " >&6; }
80133 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
80134 ac_res_limits=yes
80135
80136 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
80137
80138 else
80139 ac_res_limits=no
80140 fi
80141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
80142 $as_echo "$ac_res_limits" >&6; }
80143
80144
80145 if $GLIBCXX_IS_NATIVE ; then
80146 # Look for setenv, so that extended locale tests can be performed.
80147
80148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
80149 $as_echo_n "checking for setenv declaration... " >&6; }
80150 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
80151 if ${glibcxx_cv_func_setenv_use+:} false; then :
80152 $as_echo_n "(cached) " >&6
80153 else
80154
80155
80156 ac_ext=cpp
80157 ac_cpp='$CXXCPP $CPPFLAGS'
80158 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80159 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80160 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80161
80162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80163 /* end confdefs.h. */
80164 #include <stdlib.h>
80165 int
80166 main ()
80167 {
80168 setenv(0, 0, 0);
80169 ;
80170 return 0;
80171 }
80172 _ACEOF
80173 if ac_fn_cxx_try_compile "$LINENO"; then :
80174 glibcxx_cv_func_setenv_use=yes
80175 else
80176 glibcxx_cv_func_setenv_use=no
80177 fi
80178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80179 ac_ext=c
80180 ac_cpp='$CPP $CPPFLAGS'
80181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80184
80185
80186 fi
80187
80188 fi
80189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
80190 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
80191 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
80192 for ac_func in setenv
80193 do :
80194 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
80195 if test "x$ac_cv_func_setenv" = xyes; then :
80196 cat >>confdefs.h <<_ACEOF
80197 #define HAVE_SETENV 1
80198 _ACEOF
80199
80200 fi
80201 done
80202
80203 fi
80204
80205 fi
80206
80207 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
80208 test $enable_symvers != no; then
80209 case "$host" in
80210 *-*-cygwin*)
80211 enable_abi_check=no ;;
80212 *)
80213 enable_abi_check=yes ;;
80214 esac
80215 else
80216 # Only build this as native, since automake does not understand
80217 # CXX_FOR_BUILD.
80218 enable_abi_check=no
80219 fi
80220
80221 # Export file names for ABI checking.
80222 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
80223
80224 baseline_subdir_switch="$abi_baseline_subdir_switch"
80225
80226
80227
80228 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
80229
80230 # Check whether --enable-libstdcxx-threads was given.
80231 if test "${enable_libstdcxx_threads+set}" = set; then :
80232 enableval=$enable_libstdcxx_threads;
80233 case "$enableval" in
80234 yes|no) ;;
80235 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
80236 esac
80237
80238 else
80239 enable_libstdcxx_threads=auto
80240 fi
80241
80242
80243
80244 if test x$enable_libstdcxx_threads = xauto ||
80245 test x$enable_libstdcxx_threads = xyes; then
80246
80247
80248 ac_ext=cpp
80249 ac_cpp='$CXXCPP $CPPFLAGS'
80250 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80251 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80252 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80253
80254
80255 ac_save_CXXFLAGS="$CXXFLAGS"
80256 CXXFLAGS="$CXXFLAGS -fno-exceptions \
80257 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
80258
80259 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
80260 case $target_thread_file in
80261 posix)
80262 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
80263 esac
80264
80265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
80266 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
80267
80268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80269 /* end confdefs.h. */
80270 #include <unistd.h>
80271 int
80272 main ()
80273 {
80274
80275 // In case of POSIX threads check _POSIX_TIMEOUTS.
80276 #if (defined(_PTHREADS) \
80277 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
80278 #error
80279 #endif
80280
80281 ;
80282 return 0;
80283 }
80284 _ACEOF
80285 if ac_fn_cxx_try_compile "$LINENO"; then :
80286 ac_gthread_use_mutex_timedlock=1
80287 else
80288 ac_gthread_use_mutex_timedlock=0
80289 fi
80290 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80291
80292
80293 cat >>confdefs.h <<_ACEOF
80294 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
80295 _ACEOF
80296
80297
80298 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
80299 else res_mutex_timedlock=no ; fi
80300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
80301 $as_echo "$res_mutex_timedlock" >&6; }
80302
80303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
80304 $as_echo_n "checking for gthreads library... " >&6; }
80305
80306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80307 /* end confdefs.h. */
80308 #include "gthr.h"
80309 int
80310 main ()
80311 {
80312
80313 #ifndef __GTHREADS_CXX0X
80314 #error
80315 #endif
80316
80317 ;
80318 return 0;
80319 }
80320 _ACEOF
80321 if ac_fn_cxx_try_compile "$LINENO"; then :
80322 ac_has_gthreads=yes
80323 else
80324 ac_has_gthreads=no
80325 fi
80326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80327 else
80328 ac_has_gthreads=no
80329 fi
80330
80331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
80332 $as_echo "$ac_has_gthreads" >&6; }
80333
80334 if test x"$ac_has_gthreads" = x"yes"; then
80335
80336 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
80337
80338
80339 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
80340 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
80341 "
80342 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
80343
80344 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
80345
80346 fi
80347
80348 fi
80349
80350 CXXFLAGS="$ac_save_CXXFLAGS"
80351 ac_ext=c
80352 ac_cpp='$CPP $CPPFLAGS'
80353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
80356
80357
80358
80359 # For Filesystem TS.
80360 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
80361 do :
80362 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
80363 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
80364 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
80365 cat >>confdefs.h <<_ACEOF
80366 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
80367 _ACEOF
80368
80369 fi
80370
80371 done
80372
80373
80374 # Check whether --enable-libstdcxx-filesystem-ts was given.
80375 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
80376 enableval=$enable_libstdcxx_filesystem_ts;
80377 case "$enableval" in
80378 yes|no|auto) ;;
80379 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
80380 esac
80381
80382 else
80383 enable_libstdcxx_filesystem_ts=auto
80384 fi
80385
80386
80387
80388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
80389 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
80390 if test x"$ac_cv_header_dirent_h" != x"yes"; then
80391 enable_libstdcxx_filesystem_ts=no
80392 fi
80393 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
80394 case "${target_os}" in
80395 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
80396 enable_libstdcxx_filesystem_ts=yes
80397 ;;
80398 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
80399 enable_libstdcxx_filesystem_ts=yes
80400 ;;
80401 rtems*)
80402 enable_libstdcxx_filesystem_ts=yes
80403 ;;
80404 solaris*)
80405 enable_libstdcxx_filesystem_ts=yes
80406 ;;
80407 *)
80408 enable_libstdcxx_filesystem_ts=no
80409 ;;
80410 esac
80411 fi
80412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
80413 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
80414
80415
80416 if test $enable_libstdcxx_filesystem_ts = yes; then
80417
80418 ac_ext=cpp
80419 ac_cpp='$CXXCPP $CPPFLAGS'
80420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
80421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
80422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
80423
80424 ac_save_CXXFLAGS="$CXXFLAGS"
80425 CXXFLAGS="$CXXFLAGS -fno-exceptions"
80426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
80427 $as_echo_n "checking for struct dirent.d_type... " >&6; }
80428 if ${glibcxx_cv_dirent_d_type+:} false; then :
80429 $as_echo_n "(cached) " >&6
80430 else
80431 if test x$gcc_no_link = xyes; then
80432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80433 /* end confdefs.h. */
80434 #include <dirent.h>
80435 int
80436 main ()
80437 {
80438
80439 struct dirent d;
80440 if (sizeof d.d_type) return 0;
80441
80442 ;
80443 return 0;
80444 }
80445 _ACEOF
80446 if ac_fn_cxx_try_compile "$LINENO"; then :
80447 glibcxx_cv_dirent_d_type=yes
80448 else
80449 glibcxx_cv_dirent_d_type=no
80450 fi
80451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80452 else
80453 if test x$gcc_no_link = xyes; then
80454 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80455 fi
80456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80457 /* end confdefs.h. */
80458 #include <dirent.h>
80459 int
80460 main ()
80461 {
80462
80463 struct dirent d;
80464 if (sizeof d.d_type) return 0;
80465
80466 ;
80467 return 0;
80468 }
80469 _ACEOF
80470 if ac_fn_cxx_try_link "$LINENO"; then :
80471 glibcxx_cv_dirent_d_type=yes
80472 else
80473 glibcxx_cv_dirent_d_type=no
80474 fi
80475 rm -f core conftest.err conftest.$ac_objext \
80476 conftest$ac_exeext conftest.$ac_ext
80477 fi
80478
80479 fi
80480
80481 if test $glibcxx_cv_dirent_d_type = yes; then
80482
80483 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
80484
80485 fi
80486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
80487 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
80488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
80489 $as_echo_n "checking for realpath... " >&6; }
80490 if ${glibcxx_cv_realpath+:} false; then :
80491 $as_echo_n "(cached) " >&6
80492 else
80493 if test x$gcc_no_link = xyes; then
80494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80495 /* end confdefs.h. */
80496
80497 #include <limits.h>
80498 #include <stdlib.h>
80499 #include <unistd.h>
80500
80501 int
80502 main ()
80503 {
80504
80505 #if _XOPEN_VERSION < 500
80506 #error
80507 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80508 char *tmp = realpath((const char*)NULL, (char*)NULL);
80509 #else
80510 #error
80511 #endif
80512
80513 ;
80514 return 0;
80515 }
80516 _ACEOF
80517 if ac_fn_cxx_try_compile "$LINENO"; then :
80518 glibcxx_cv_realpath=yes
80519 else
80520 glibcxx_cv_realpath=no
80521 fi
80522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80523 else
80524 if test x$gcc_no_link = xyes; then
80525 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80526 fi
80527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80528 /* end confdefs.h. */
80529
80530 #include <limits.h>
80531 #include <stdlib.h>
80532 #include <unistd.h>
80533
80534 int
80535 main ()
80536 {
80537
80538 #if _XOPEN_VERSION < 500
80539 #error
80540 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
80541 char *tmp = realpath((const char*)NULL, (char*)NULL);
80542 #else
80543 #error
80544 #endif
80545
80546 ;
80547 return 0;
80548 }
80549 _ACEOF
80550 if ac_fn_cxx_try_link "$LINENO"; then :
80551 glibcxx_cv_realpath=yes
80552 else
80553 glibcxx_cv_realpath=no
80554 fi
80555 rm -f core conftest.err conftest.$ac_objext \
80556 conftest$ac_exeext conftest.$ac_ext
80557 fi
80558
80559 fi
80560
80561 if test $glibcxx_cv_realpath = yes; then
80562
80563 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
80564
80565 fi
80566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
80567 $as_echo "$glibcxx_cv_realpath" >&6; }
80568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
80569 $as_echo_n "checking for utimensat... " >&6; }
80570 if ${glibcxx_cv_utimensat+:} false; then :
80571 $as_echo_n "(cached) " >&6
80572 else
80573 if test x$gcc_no_link = xyes; then
80574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80575 /* end confdefs.h. */
80576
80577 #include <fcntl.h>
80578 #include <sys/stat.h>
80579
80580 int
80581 main ()
80582 {
80583
80584 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80585 int i = utimensat(AT_FDCWD, "path", ts, 0);
80586
80587 ;
80588 return 0;
80589 }
80590 _ACEOF
80591 if ac_fn_cxx_try_compile "$LINENO"; then :
80592 glibcxx_cv_utimensat=yes
80593 else
80594 glibcxx_cv_utimensat=no
80595 fi
80596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80597 else
80598 if test x$gcc_no_link = xyes; then
80599 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80600 fi
80601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80602 /* end confdefs.h. */
80603
80604 #include <fcntl.h>
80605 #include <sys/stat.h>
80606
80607 int
80608 main ()
80609 {
80610
80611 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
80612 int i = utimensat(AT_FDCWD, "path", ts, 0);
80613
80614 ;
80615 return 0;
80616 }
80617 _ACEOF
80618 if ac_fn_cxx_try_link "$LINENO"; then :
80619 glibcxx_cv_utimensat=yes
80620 else
80621 glibcxx_cv_utimensat=no
80622 fi
80623 rm -f core conftest.err conftest.$ac_objext \
80624 conftest$ac_exeext conftest.$ac_ext
80625 fi
80626
80627 fi
80628
80629 if test $glibcxx_cv_utimensat = yes; then
80630
80631 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
80632
80633 fi
80634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
80635 $as_echo "$glibcxx_cv_utimensat" >&6; }
80636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
80637 $as_echo_n "checking for utime... " >&6; }
80638 if ${glibcxx_cv_utime+:} false; then :
80639 $as_echo_n "(cached) " >&6
80640 else
80641 if test x$gcc_no_link = xyes; then
80642 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80643 /* end confdefs.h. */
80644
80645 #include <utime.h>
80646
80647 int
80648 main ()
80649 {
80650
80651 struct utimbuf t = { 1, 1 };
80652 int i = utime("path", &t);
80653
80654 ;
80655 return 0;
80656 }
80657 _ACEOF
80658 if ac_fn_cxx_try_compile "$LINENO"; then :
80659 glibcxx_cv_utime=yes
80660 else
80661 glibcxx_cv_utime=no
80662 fi
80663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80664 else
80665 if test x$gcc_no_link = xyes; then
80666 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80667 fi
80668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80669 /* end confdefs.h. */
80670
80671 #include <utime.h>
80672
80673 int
80674 main ()
80675 {
80676
80677 struct utimbuf t = { 1, 1 };
80678 int i = utime("path", &t);
80679
80680 ;
80681 return 0;
80682 }
80683 _ACEOF
80684 if ac_fn_cxx_try_link "$LINENO"; then :
80685 glibcxx_cv_utime=yes
80686 else
80687 glibcxx_cv_utime=no
80688 fi
80689 rm -f core conftest.err conftest.$ac_objext \
80690 conftest$ac_exeext conftest.$ac_ext
80691 fi
80692
80693 fi
80694
80695 if test $glibcxx_cv_utime = yes; then
80696
80697 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
80698
80699 fi
80700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
80701 $as_echo "$glibcxx_cv_utime" >&6; }
80702 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
80703 $as_echo_n "checking for lstat... " >&6; }
80704 if ${glibcxx_cv_lstat+:} false; then :
80705 $as_echo_n "(cached) " >&6
80706 else
80707 if test x$gcc_no_link = xyes; then
80708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80709 /* end confdefs.h. */
80710 #include <sys/stat.h>
80711 int
80712 main ()
80713 {
80714
80715 struct stat st;
80716 int i = lstat("path", &st);
80717
80718 ;
80719 return 0;
80720 }
80721 _ACEOF
80722 if ac_fn_cxx_try_compile "$LINENO"; then :
80723 glibcxx_cv_lstat=yes
80724 else
80725 glibcxx_cv_lstat=no
80726 fi
80727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80728 else
80729 if test x$gcc_no_link = xyes; then
80730 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80731 fi
80732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80733 /* end confdefs.h. */
80734 #include <sys/stat.h>
80735 int
80736 main ()
80737 {
80738
80739 struct stat st;
80740 int i = lstat("path", &st);
80741
80742 ;
80743 return 0;
80744 }
80745 _ACEOF
80746 if ac_fn_cxx_try_link "$LINENO"; then :
80747 glibcxx_cv_lstat=yes
80748 else
80749 glibcxx_cv_lstat=no
80750 fi
80751 rm -f core conftest.err conftest.$ac_objext \
80752 conftest$ac_exeext conftest.$ac_ext
80753 fi
80754
80755 fi
80756
80757 if test $glibcxx_cv_lstat = yes; then
80758
80759 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
80760
80761 fi
80762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
80763 $as_echo "$glibcxx_cv_lstat" >&6; }
80764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
80765 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
80766 if ${glibcxx_cv_st_mtim+:} false; then :
80767 $as_echo_n "(cached) " >&6
80768 else
80769 if test x$gcc_no_link = xyes; then
80770 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80771 /* end confdefs.h. */
80772 #include <sys/stat.h>
80773 int
80774 main ()
80775 {
80776
80777 struct stat st;
80778 return st.st_mtim.tv_nsec;
80779
80780 ;
80781 return 0;
80782 }
80783 _ACEOF
80784 if ac_fn_cxx_try_compile "$LINENO"; then :
80785 glibcxx_cv_st_mtim=yes
80786 else
80787 glibcxx_cv_st_mtim=no
80788 fi
80789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80790 else
80791 if test x$gcc_no_link = xyes; then
80792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80793 fi
80794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80795 /* end confdefs.h. */
80796 #include <sys/stat.h>
80797 int
80798 main ()
80799 {
80800
80801 struct stat st;
80802 return st.st_mtim.tv_nsec;
80803
80804 ;
80805 return 0;
80806 }
80807 _ACEOF
80808 if ac_fn_cxx_try_link "$LINENO"; then :
80809 glibcxx_cv_st_mtim=yes
80810 else
80811 glibcxx_cv_st_mtim=no
80812 fi
80813 rm -f core conftest.err conftest.$ac_objext \
80814 conftest$ac_exeext conftest.$ac_ext
80815 fi
80816
80817 fi
80818
80819 if test $glibcxx_cv_st_mtim = yes; then
80820
80821 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
80822
80823 fi
80824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
80825 $as_echo "$glibcxx_cv_st_mtim" >&6; }
80826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
80827 $as_echo_n "checking for fchmod... " >&6; }
80828 if ${glibcxx_cv_fchmod+:} false; then :
80829 $as_echo_n "(cached) " >&6
80830 else
80831 if test x$gcc_no_link = xyes; then
80832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80833 /* end confdefs.h. */
80834 #include <sys/stat.h>
80835 int
80836 main ()
80837 {
80838 fchmod(1, S_IWUSR);
80839 ;
80840 return 0;
80841 }
80842 _ACEOF
80843 if ac_fn_cxx_try_compile "$LINENO"; then :
80844 glibcxx_cv_fchmod=yes
80845 else
80846 glibcxx_cv_fchmod=no
80847 fi
80848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80849 else
80850 if test x$gcc_no_link = xyes; then
80851 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80852 fi
80853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80854 /* end confdefs.h. */
80855 #include <sys/stat.h>
80856 int
80857 main ()
80858 {
80859 fchmod(1, S_IWUSR);
80860 ;
80861 return 0;
80862 }
80863 _ACEOF
80864 if ac_fn_cxx_try_link "$LINENO"; then :
80865 glibcxx_cv_fchmod=yes
80866 else
80867 glibcxx_cv_fchmod=no
80868 fi
80869 rm -f core conftest.err conftest.$ac_objext \
80870 conftest$ac_exeext conftest.$ac_ext
80871 fi
80872
80873 fi
80874
80875 if test $glibcxx_cv_fchmod = yes; then
80876
80877 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
80878
80879 fi
80880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
80881 $as_echo "$glibcxx_cv_fchmod" >&6; }
80882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
80883 $as_echo_n "checking for fchmodat... " >&6; }
80884 if ${glibcxx_cv_fchmodat+:} false; then :
80885 $as_echo_n "(cached) " >&6
80886 else
80887 if test x$gcc_no_link = xyes; then
80888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80889 /* end confdefs.h. */
80890
80891 #include <fcntl.h>
80892 #include <sys/stat.h>
80893
80894 int
80895 main ()
80896 {
80897 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80898 ;
80899 return 0;
80900 }
80901 _ACEOF
80902 if ac_fn_cxx_try_compile "$LINENO"; then :
80903 glibcxx_cv_fchmodat=yes
80904 else
80905 glibcxx_cv_fchmodat=no
80906 fi
80907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80908 else
80909 if test x$gcc_no_link = xyes; then
80910 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80911 fi
80912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80913 /* end confdefs.h. */
80914
80915 #include <fcntl.h>
80916 #include <sys/stat.h>
80917
80918 int
80919 main ()
80920 {
80921 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
80922 ;
80923 return 0;
80924 }
80925 _ACEOF
80926 if ac_fn_cxx_try_link "$LINENO"; then :
80927 glibcxx_cv_fchmodat=yes
80928 else
80929 glibcxx_cv_fchmodat=no
80930 fi
80931 rm -f core conftest.err conftest.$ac_objext \
80932 conftest$ac_exeext conftest.$ac_ext
80933 fi
80934
80935 fi
80936
80937 if test $glibcxx_cv_fchmodat = yes; then
80938
80939 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
80940
80941 fi
80942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
80943 $as_echo "$glibcxx_cv_fchmodat" >&6; }
80944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
80945 $as_echo_n "checking for sendfile that can copy files... " >&6; }
80946 if ${glibcxx_cv_sendfile+:} false; then :
80947 $as_echo_n "(cached) " >&6
80948 else
80949 case "${target_os}" in
80950 gnu* | linux* | solaris*)
80951 if test x$gcc_no_link = xyes; then
80952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80953 /* end confdefs.h. */
80954 #include <sys/sendfile.h>
80955 int
80956 main ()
80957 {
80958 sendfile(1, 2, (off_t*)0, sizeof 1);
80959 ;
80960 return 0;
80961 }
80962 _ACEOF
80963 if ac_fn_cxx_try_compile "$LINENO"; then :
80964 glibcxx_cv_sendfile=yes
80965 else
80966 glibcxx_cv_sendfile=no
80967 fi
80968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
80969 else
80970 if test x$gcc_no_link = xyes; then
80971 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
80972 fi
80973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
80974 /* end confdefs.h. */
80975 #include <sys/sendfile.h>
80976 int
80977 main ()
80978 {
80979 sendfile(1, 2, (off_t*)0, sizeof 1);
80980 ;
80981 return 0;
80982 }
80983 _ACEOF
80984 if ac_fn_cxx_try_link "$LINENO"; then :
80985 glibcxx_cv_sendfile=yes
80986 else
80987 glibcxx_cv_sendfile=no
80988 fi
80989 rm -f core conftest.err conftest.$ac_objext \
80990 conftest$ac_exeext conftest.$ac_ext
80991 fi
80992 ;;
80993 *)
80994 glibcxx_cv_sendfile=no
80995 ;;
80996 esac
80997
80998 fi
80999
81000 if test $glibcxx_cv_sendfile = yes; then
81001
81002 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
81003
81004 fi
81005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
81006 $as_echo "$glibcxx_cv_sendfile" >&6; }
81007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
81008 $as_echo_n "checking for link... " >&6; }
81009 if ${glibcxx_cv_link+:} false; then :
81010 $as_echo_n "(cached) " >&6
81011 else
81012 if test x$gcc_no_link = xyes; then
81013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81014 /* end confdefs.h. */
81015 #include <unistd.h>
81016 int
81017 main ()
81018 {
81019 link("", "");
81020 ;
81021 return 0;
81022 }
81023 _ACEOF
81024 if ac_fn_cxx_try_compile "$LINENO"; then :
81025 glibcxx_cv_link=yes
81026 else
81027 glibcxx_cv_link=no
81028 fi
81029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81030 else
81031 if test x$gcc_no_link = xyes; then
81032 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81033 fi
81034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81035 /* end confdefs.h. */
81036 #include <unistd.h>
81037 int
81038 main ()
81039 {
81040 link("", "");
81041 ;
81042 return 0;
81043 }
81044 _ACEOF
81045 if ac_fn_cxx_try_link "$LINENO"; then :
81046 glibcxx_cv_link=yes
81047 else
81048 glibcxx_cv_link=no
81049 fi
81050 rm -f core conftest.err conftest.$ac_objext \
81051 conftest$ac_exeext conftest.$ac_ext
81052 fi
81053
81054 fi
81055
81056 if test $glibcxx_cv_link = yes; then
81057
81058 $as_echo "#define HAVE_LINK 1" >>confdefs.h
81059
81060 fi
81061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
81062 $as_echo "$glibcxx_cv_link" >&6; }
81063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
81064 $as_echo_n "checking for readlink... " >&6; }
81065 if ${glibcxx_cv_readlink+:} false; then :
81066 $as_echo_n "(cached) " >&6
81067 else
81068 if test x$gcc_no_link = xyes; then
81069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81070 /* end confdefs.h. */
81071 #include <unistd.h>
81072 int
81073 main ()
81074 {
81075 char buf[32]; readlink("", buf, sizeof(buf));
81076 ;
81077 return 0;
81078 }
81079 _ACEOF
81080 if ac_fn_cxx_try_compile "$LINENO"; then :
81081 glibcxx_cv_readlink=yes
81082 else
81083 glibcxx_cv_readlink=no
81084 fi
81085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81086 else
81087 if test x$gcc_no_link = xyes; then
81088 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81089 fi
81090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81091 /* end confdefs.h. */
81092 #include <unistd.h>
81093 int
81094 main ()
81095 {
81096 char buf[32]; readlink("", buf, sizeof(buf));
81097 ;
81098 return 0;
81099 }
81100 _ACEOF
81101 if ac_fn_cxx_try_link "$LINENO"; then :
81102 glibcxx_cv_readlink=yes
81103 else
81104 glibcxx_cv_readlink=no
81105 fi
81106 rm -f core conftest.err conftest.$ac_objext \
81107 conftest$ac_exeext conftest.$ac_ext
81108 fi
81109
81110 fi
81111
81112 if test $glibcxx_cv_readlink = yes; then
81113
81114 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
81115
81116 fi
81117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
81118 $as_echo "$glibcxx_cv_readlink" >&6; }
81119 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
81120 $as_echo_n "checking for symlink... " >&6; }
81121 if ${glibcxx_cv_symlink+:} false; then :
81122 $as_echo_n "(cached) " >&6
81123 else
81124 if test x$gcc_no_link = xyes; then
81125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81126 /* end confdefs.h. */
81127 #include <unistd.h>
81128 int
81129 main ()
81130 {
81131 symlink("", "");
81132 ;
81133 return 0;
81134 }
81135 _ACEOF
81136 if ac_fn_cxx_try_compile "$LINENO"; then :
81137 glibcxx_cv_symlink=yes
81138 else
81139 glibcxx_cv_symlink=no
81140 fi
81141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81142 else
81143 if test x$gcc_no_link = xyes; then
81144 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81145 fi
81146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81147 /* end confdefs.h. */
81148 #include <unistd.h>
81149 int
81150 main ()
81151 {
81152 symlink("", "");
81153 ;
81154 return 0;
81155 }
81156 _ACEOF
81157 if ac_fn_cxx_try_link "$LINENO"; then :
81158 glibcxx_cv_symlink=yes
81159 else
81160 glibcxx_cv_symlink=no
81161 fi
81162 rm -f core conftest.err conftest.$ac_objext \
81163 conftest$ac_exeext conftest.$ac_ext
81164 fi
81165
81166 fi
81167
81168 if test $glibcxx_cv_symlink = yes; then
81169
81170 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
81171
81172 fi
81173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
81174 $as_echo "$glibcxx_cv_symlink" >&6; }
81175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
81176 $as_echo_n "checking for truncate... " >&6; }
81177 if ${glibcxx_cv_truncate+:} false; then :
81178 $as_echo_n "(cached) " >&6
81179 else
81180 if test x$gcc_no_link = xyes; then
81181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81182 /* end confdefs.h. */
81183 #include <unistd.h>
81184 int
81185 main ()
81186 {
81187 truncate("", 99);
81188 ;
81189 return 0;
81190 }
81191 _ACEOF
81192 if ac_fn_cxx_try_compile "$LINENO"; then :
81193 glibcxx_cv_truncate=yes
81194 else
81195 glibcxx_cv_truncate=no
81196 fi
81197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81198 else
81199 if test x$gcc_no_link = xyes; then
81200 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
81201 fi
81202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81203 /* end confdefs.h. */
81204 #include <unistd.h>
81205 int
81206 main ()
81207 {
81208 truncate("", 99);
81209 ;
81210 return 0;
81211 }
81212 _ACEOF
81213 if ac_fn_cxx_try_link "$LINENO"; then :
81214 glibcxx_cv_truncate=yes
81215 else
81216 glibcxx_cv_truncate=no
81217 fi
81218 rm -f core conftest.err conftest.$ac_objext \
81219 conftest$ac_exeext conftest.$ac_ext
81220 fi
81221
81222 fi
81223
81224 if test $glibcxx_cv_truncate = yes; then
81225
81226 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
81227
81228 fi
81229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
81230 $as_echo "$glibcxx_cv_truncate" >&6; }
81231 CXXFLAGS="$ac_save_CXXFLAGS"
81232 ac_ext=c
81233 ac_cpp='$CPP $CPPFLAGS'
81234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
81235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
81236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
81237
81238 fi
81239
81240
81241 # For Networking TS.
81242 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
81243 do :
81244 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
81245 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
81246 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
81247 cat >>confdefs.h <<_ACEOF
81248 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
81249 _ACEOF
81250
81251 fi
81252
81253 done
81254
81255
81256 # For Transactional Memory TS
81257
81258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
81259 $as_echo_n "checking how size_t is mangled... " >&6; }
81260 if ${glibcxx_cv_size_t_mangling+:} false; then :
81261 $as_echo_n "(cached) " >&6
81262 else
81263
81264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81265 /* end confdefs.h. */
81266
81267 int
81268 main ()
81269 {
81270 extern __SIZE_TYPE__ x; extern unsigned long x;
81271 ;
81272 return 0;
81273 }
81274 _ACEOF
81275 if ac_fn_c_try_compile "$LINENO"; then :
81276 glibcxx_cv_size_t_mangling=m
81277 else
81278
81279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81280 /* end confdefs.h. */
81281
81282 int
81283 main ()
81284 {
81285 extern __SIZE_TYPE__ x; extern unsigned int x;
81286 ;
81287 return 0;
81288 }
81289 _ACEOF
81290 if ac_fn_c_try_compile "$LINENO"; then :
81291 glibcxx_cv_size_t_mangling=j
81292 else
81293
81294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81295 /* end confdefs.h. */
81296
81297 int
81298 main ()
81299 {
81300 extern __SIZE_TYPE__ x; extern unsigned long long x;
81301 ;
81302 return 0;
81303 }
81304 _ACEOF
81305 if ac_fn_c_try_compile "$LINENO"; then :
81306 glibcxx_cv_size_t_mangling=y
81307 else
81308
81309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81310 /* end confdefs.h. */
81311
81312 int
81313 main ()
81314 {
81315 extern __SIZE_TYPE__ x; extern unsigned short x;
81316 ;
81317 return 0;
81318 }
81319 _ACEOF
81320 if ac_fn_c_try_compile "$LINENO"; then :
81321 glibcxx_cv_size_t_mangling=t
81322 else
81323
81324 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81325 /* end confdefs.h. */
81326
81327 int
81328 main ()
81329 {
81330 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
81331 ;
81332 return 0;
81333 }
81334 _ACEOF
81335 if ac_fn_c_try_compile "$LINENO"; then :
81336 glibcxx_cv_size_t_mangling=u6uint20
81337 else
81338 glibcxx_cv_size_t_mangling=x
81339 fi
81340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81341
81342 fi
81343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81344
81345 fi
81346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81347
81348 fi
81349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81350
81351 fi
81352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81353
81354 fi
81355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
81356 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
81357 if test $glibcxx_cv_size_t_mangling = x; then
81358 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
81359 fi
81360
81361 cat >>confdefs.h <<_ACEOF
81362 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
81363 _ACEOF
81364
81365
81366
81367 # Check which release added std::exception_ptr for the target
81368
81369 if test $enable_symvers != no; then
81370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
81371 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
81372 case ${target} in
81373 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
81374 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
81375 ac_exception_ptr_since_gcc46=yes
81376 ;;
81377 *)
81378 # If the value of this macro changes then we will need to hardcode
81379 # yes/no here for additional targets based on the original value.
81380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81381 /* end confdefs.h. */
81382
81383 int
81384 main ()
81385 {
81386
81387 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
81388 # error atomic int not always lock free
81389 #endif
81390
81391 ;
81392 return 0;
81393 }
81394 _ACEOF
81395 if ac_fn_c_try_compile "$LINENO"; then :
81396 ac_exception_ptr_since_gcc46=yes
81397 else
81398 ac_exception_ptr_since_gcc46=no
81399 fi
81400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81401 ;;
81402 esac
81403 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
81404
81405 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
81406
81407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
81408 $as_echo "4.6.0" >&6; }
81409 else
81410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
81411 $as_echo "7.1.0" >&6; }
81412 fi
81413 fi
81414
81415
81416 # Define documentation rules conditionally.
81417
81418 # See if makeinfo has been installed and is modern enough
81419 # that we can use it.
81420
81421 # Extract the first word of "makeinfo", so it can be a program name with args.
81422 set dummy makeinfo; ac_word=$2
81423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81424 $as_echo_n "checking for $ac_word... " >&6; }
81425 if ${ac_cv_prog_MAKEINFO+:} false; then :
81426 $as_echo_n "(cached) " >&6
81427 else
81428 if test -n "$MAKEINFO"; then
81429 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
81430 else
81431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81432 for as_dir in $PATH
81433 do
81434 IFS=$as_save_IFS
81435 test -z "$as_dir" && as_dir=.
81436 for ac_exec_ext in '' $ac_executable_extensions; do
81437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81438 ac_cv_prog_MAKEINFO="makeinfo"
81439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81440 break 2
81441 fi
81442 done
81443 done
81444 IFS=$as_save_IFS
81445
81446 fi
81447 fi
81448 MAKEINFO=$ac_cv_prog_MAKEINFO
81449 if test -n "$MAKEINFO"; then
81450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
81451 $as_echo "$MAKEINFO" >&6; }
81452 else
81453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81454 $as_echo "no" >&6; }
81455 fi
81456
81457
81458 if test -n "$MAKEINFO"; then
81459 # Found it, now check the version.
81460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
81461 $as_echo_n "checking for modern makeinfo... " >&6; }
81462 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
81463 $as_echo_n "(cached) " >&6
81464 else
81465 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
81466 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
81467
81468 case $ac_prog_version in
81469 '') gcc_cv_prog_makeinfo_modern=no;;
81470 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
81471 *) gcc_cv_prog_makeinfo_modern=no;;
81472 esac
81473
81474 fi
81475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
81476 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
81477 else
81478 gcc_cv_prog_makeinfo_modern=no
81479 fi
81480 if test $gcc_cv_prog_makeinfo_modern = no; then
81481 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
81482 fi
81483
81484 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
81485 BUILD_INFO_TRUE=
81486 BUILD_INFO_FALSE='#'
81487 else
81488 BUILD_INFO_TRUE='#'
81489 BUILD_INFO_FALSE=
81490 fi
81491
81492
81493 # Check for doxygen
81494 # Extract the first word of "doxygen", so it can be a program name with args.
81495 set dummy doxygen; ac_word=$2
81496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81497 $as_echo_n "checking for $ac_word... " >&6; }
81498 if ${ac_cv_prog_DOXYGEN+:} false; then :
81499 $as_echo_n "(cached) " >&6
81500 else
81501 if test -n "$DOXYGEN"; then
81502 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
81503 else
81504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81505 for as_dir in $PATH
81506 do
81507 IFS=$as_save_IFS
81508 test -z "$as_dir" && as_dir=.
81509 for ac_exec_ext in '' $ac_executable_extensions; do
81510 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81511 ac_cv_prog_DOXYGEN="yes"
81512 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81513 break 2
81514 fi
81515 done
81516 done
81517 IFS=$as_save_IFS
81518
81519 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
81520 fi
81521 fi
81522 DOXYGEN=$ac_cv_prog_DOXYGEN
81523 if test -n "$DOXYGEN"; then
81524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
81525 $as_echo "$DOXYGEN" >&6; }
81526 else
81527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81528 $as_echo "no" >&6; }
81529 fi
81530
81531
81532 # Extract the first word of "dot", so it can be a program name with args.
81533 set dummy dot; ac_word=$2
81534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81535 $as_echo_n "checking for $ac_word... " >&6; }
81536 if ${ac_cv_prog_DOT+:} false; then :
81537 $as_echo_n "(cached) " >&6
81538 else
81539 if test -n "$DOT"; then
81540 ac_cv_prog_DOT="$DOT" # Let the user override the test.
81541 else
81542 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81543 for as_dir in $PATH
81544 do
81545 IFS=$as_save_IFS
81546 test -z "$as_dir" && as_dir=.
81547 for ac_exec_ext in '' $ac_executable_extensions; do
81548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81549 ac_cv_prog_DOT="yes"
81550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81551 break 2
81552 fi
81553 done
81554 done
81555 IFS=$as_save_IFS
81556
81557 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
81558 fi
81559 fi
81560 DOT=$ac_cv_prog_DOT
81561 if test -n "$DOT"; then
81562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
81563 $as_echo "$DOT" >&6; }
81564 else
81565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81566 $as_echo "no" >&6; }
81567 fi
81568
81569
81570
81571 # Check for docbook
81572 # Extract the first word of "xmlcatalog", so it can be a program name with args.
81573 set dummy xmlcatalog; ac_word=$2
81574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81575 $as_echo_n "checking for $ac_word... " >&6; }
81576 if ${ac_cv_prog_XMLCATALOG+:} false; then :
81577 $as_echo_n "(cached) " >&6
81578 else
81579 if test -n "$XMLCATALOG"; then
81580 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
81581 else
81582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81583 for as_dir in $PATH
81584 do
81585 IFS=$as_save_IFS
81586 test -z "$as_dir" && as_dir=.
81587 for ac_exec_ext in '' $ac_executable_extensions; do
81588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81589 ac_cv_prog_XMLCATALOG="yes"
81590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81591 break 2
81592 fi
81593 done
81594 done
81595 IFS=$as_save_IFS
81596
81597 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
81598 fi
81599 fi
81600 XMLCATALOG=$ac_cv_prog_XMLCATALOG
81601 if test -n "$XMLCATALOG"; then
81602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
81603 $as_echo "$XMLCATALOG" >&6; }
81604 else
81605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81606 $as_echo "no" >&6; }
81607 fi
81608
81609
81610 # Extract the first word of "xsltproc", so it can be a program name with args.
81611 set dummy xsltproc; ac_word=$2
81612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81613 $as_echo_n "checking for $ac_word... " >&6; }
81614 if ${ac_cv_prog_XSLTPROC+:} false; then :
81615 $as_echo_n "(cached) " >&6
81616 else
81617 if test -n "$XSLTPROC"; then
81618 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
81619 else
81620 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81621 for as_dir in $PATH
81622 do
81623 IFS=$as_save_IFS
81624 test -z "$as_dir" && as_dir=.
81625 for ac_exec_ext in '' $ac_executable_extensions; do
81626 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81627 ac_cv_prog_XSLTPROC="yes"
81628 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81629 break 2
81630 fi
81631 done
81632 done
81633 IFS=$as_save_IFS
81634
81635 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
81636 fi
81637 fi
81638 XSLTPROC=$ac_cv_prog_XSLTPROC
81639 if test -n "$XSLTPROC"; then
81640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
81641 $as_echo "$XSLTPROC" >&6; }
81642 else
81643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81644 $as_echo "no" >&6; }
81645 fi
81646
81647
81648 # Extract the first word of "xmllint", so it can be a program name with args.
81649 set dummy xmllint; ac_word=$2
81650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81651 $as_echo_n "checking for $ac_word... " >&6; }
81652 if ${ac_cv_prog_XMLLINT+:} false; then :
81653 $as_echo_n "(cached) " >&6
81654 else
81655 if test -n "$XMLLINT"; then
81656 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
81657 else
81658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81659 for as_dir in $PATH
81660 do
81661 IFS=$as_save_IFS
81662 test -z "$as_dir" && as_dir=.
81663 for ac_exec_ext in '' $ac_executable_extensions; do
81664 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81665 ac_cv_prog_XMLLINT="yes"
81666 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81667 break 2
81668 fi
81669 done
81670 done
81671 IFS=$as_save_IFS
81672
81673 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
81674 fi
81675 fi
81676 XMLLINT=$ac_cv_prog_XMLLINT
81677 if test -n "$XMLLINT"; then
81678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
81679 $as_echo "$XMLLINT" >&6; }
81680 else
81681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81682 $as_echo "no" >&6; }
81683 fi
81684
81685
81686
81687
81688 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
81689
81690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
81691 $as_echo_n "checking for local stylesheet directory... " >&6; }
81692 glibcxx_local_stylesheets=no
81693 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
81694 then
81695 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
81696 glibcxx_local_stylesheets=yes
81697 else
81698 for dir in \
81699 /usr/share/sgml/docbook/xsl-ns-stylesheets \
81700 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
81701 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
81702 /usr/share/xml/docbook/stylesheet/nwalsh/current
81703 do
81704 if test -d $dir; then
81705 glibcxx_local_stylesheets=yes
81706 XSL_STYLE_DIR=$dir
81707 break
81708 fi
81709 done
81710 fi
81711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
81712 $as_echo "$glibcxx_local_stylesheets" >&6; }
81713
81714 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81715
81716 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
81717 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
81718
81719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
81720 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
81721 glibcxx_stylesheets=no
81722 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
81723 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
81724 glibcxx_stylesheets=yes
81725 fi
81726 fi
81727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
81728 $as_echo "$glibcxx_stylesheets" >&6; }
81729
81730 else
81731 glibcxx_stylesheets=no
81732 fi
81733
81734 # Check for epub3 dependencies.
81735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
81736 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
81737 glibcxx_epub_stylesheets=no
81738 if test x"$glibcxx_local_stylesheets" = x"yes"; then
81739 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
81740 glibcxx_epub_stylesheets=yes
81741 fi
81742 fi
81743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
81744 $as_echo "$glibcxx_epub_stylesheets" >&6; }
81745 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
81746 BUILD_EPUB_TRUE=
81747 BUILD_EPUB_FALSE='#'
81748 else
81749 BUILD_EPUB_TRUE='#'
81750 BUILD_EPUB_FALSE=
81751 fi
81752
81753
81754
81755
81756 # Check for xml/html dependencies.
81757 if test $ac_cv_prog_DOXYGEN = "yes" &&
81758 test $ac_cv_prog_DOT = "yes" &&
81759 test $ac_cv_prog_XSLTPROC = "yes" &&
81760 test $ac_cv_prog_XMLLINT = "yes" &&
81761 test $glibcxx_stylesheets = "yes"; then
81762 BUILD_XML_TRUE=
81763 BUILD_XML_FALSE='#'
81764 else
81765 BUILD_XML_TRUE='#'
81766 BUILD_XML_FALSE=
81767 fi
81768
81769
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_HTML_TRUE=
81776 BUILD_HTML_FALSE='#'
81777 else
81778 BUILD_HTML_TRUE='#'
81779 BUILD_HTML_FALSE=
81780 fi
81781
81782
81783 # Check for man dependencies.
81784 if test $ac_cv_prog_DOXYGEN = "yes" &&
81785 test $ac_cv_prog_DOT = "yes"; then
81786 BUILD_MAN_TRUE=
81787 BUILD_MAN_FALSE='#'
81788 else
81789 BUILD_MAN_TRUE='#'
81790 BUILD_MAN_FALSE=
81791 fi
81792
81793
81794 # Check for pdf dependencies.
81795 # Extract the first word of "dblatex", so it can be a program name with args.
81796 set dummy dblatex; ac_word=$2
81797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81798 $as_echo_n "checking for $ac_word... " >&6; }
81799 if ${ac_cv_prog_DBLATEX+:} false; then :
81800 $as_echo_n "(cached) " >&6
81801 else
81802 if test -n "$DBLATEX"; then
81803 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
81804 else
81805 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81806 for as_dir in $PATH
81807 do
81808 IFS=$as_save_IFS
81809 test -z "$as_dir" && as_dir=.
81810 for ac_exec_ext in '' $ac_executable_extensions; do
81811 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81812 ac_cv_prog_DBLATEX="yes"
81813 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81814 break 2
81815 fi
81816 done
81817 done
81818 IFS=$as_save_IFS
81819
81820 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
81821 fi
81822 fi
81823 DBLATEX=$ac_cv_prog_DBLATEX
81824 if test -n "$DBLATEX"; then
81825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
81826 $as_echo "$DBLATEX" >&6; }
81827 else
81828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81829 $as_echo "no" >&6; }
81830 fi
81831
81832
81833 # Extract the first word of "pdflatex", so it can be a program name with args.
81834 set dummy pdflatex; ac_word=$2
81835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
81836 $as_echo_n "checking for $ac_word... " >&6; }
81837 if ${ac_cv_prog_PDFLATEX+:} false; then :
81838 $as_echo_n "(cached) " >&6
81839 else
81840 if test -n "$PDFLATEX"; then
81841 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
81842 else
81843 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
81844 for as_dir in $PATH
81845 do
81846 IFS=$as_save_IFS
81847 test -z "$as_dir" && as_dir=.
81848 for ac_exec_ext in '' $ac_executable_extensions; do
81849 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
81850 ac_cv_prog_PDFLATEX="yes"
81851 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
81852 break 2
81853 fi
81854 done
81855 done
81856 IFS=$as_save_IFS
81857
81858 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
81859 fi
81860 fi
81861 PDFLATEX=$ac_cv_prog_PDFLATEX
81862 if test -n "$PDFLATEX"; then
81863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
81864 $as_echo "$PDFLATEX" >&6; }
81865 else
81866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81867 $as_echo "no" >&6; }
81868 fi
81869
81870
81871 if test $ac_cv_prog_DBLATEX = "yes" &&
81872 test $ac_cv_prog_PDFLATEX = "yes"; then
81873 BUILD_PDF_TRUE=
81874 BUILD_PDF_FALSE='#'
81875 else
81876 BUILD_PDF_TRUE='#'
81877 BUILD_PDF_FALSE=
81878 fi
81879
81880
81881 case "$build" in
81882 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
81883 * ) glibcxx_include_dir_notparallel=no ;;
81884 esac
81885 if test $glibcxx_include_dir_notparallel = "yes"; then
81886 INCLUDE_DIR_NOTPARALLEL_TRUE=
81887 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
81888 else
81889 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
81890 INCLUDE_DIR_NOTPARALLEL_FALSE=
81891 fi
81892
81893
81894 # Propagate the target-specific source directories through the build chain.
81895 ATOMICITY_SRCDIR=config/${atomicity_dir}
81896 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
81897 ATOMIC_FLAGS=${atomic_flags}
81898 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
81899 OS_INC_SRCDIR=config/${os_include_dir}
81900 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
81901 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
81902 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
81903 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
81904
81905
81906
81907
81908
81909
81910
81911
81912
81913
81914
81915 # Add CET specific flags if Intel CET is enabled.
81916 # Check whether --enable-cet was given.
81917 if test "${enable_cet+set}" = set; then :
81918 enableval=$enable_cet;
81919 case "$enableval" in
81920 yes|no|auto) ;;
81921 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
81922 esac
81923
81924 else
81925 enable_cet=no
81926 fi
81927
81928
81929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
81930 $as_echo_n "checking for CET support... " >&6; }
81931
81932 case "$host" in
81933 i[34567]86-*-linux* | x86_64-*-linux*)
81934 case "$enable_cet" in
81935 auto)
81936 # Check if target supports multi-byte NOPs
81937 # and if assembler supports CET insn.
81938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81939 /* end confdefs.h. */
81940
81941 int
81942 main ()
81943 {
81944
81945 #if !defined(__SSE2__)
81946 #error target does not support multi-byte NOPs
81947 #else
81948 asm ("setssbsy");
81949 #endif
81950
81951 ;
81952 return 0;
81953 }
81954 _ACEOF
81955 if ac_fn_c_try_compile "$LINENO"; then :
81956 enable_cet=yes
81957 else
81958 enable_cet=no
81959 fi
81960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81961 ;;
81962 yes)
81963 # Check if assembler supports CET.
81964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
81965 /* end confdefs.h. */
81966
81967 int
81968 main ()
81969 {
81970 asm ("setssbsy");
81971 ;
81972 return 0;
81973 }
81974 _ACEOF
81975 if ac_fn_c_try_compile "$LINENO"; then :
81976
81977 else
81978 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
81979 fi
81980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
81981 ;;
81982 esac
81983 ;;
81984 *)
81985 enable_cet=no
81986 ;;
81987 esac
81988 if test x$enable_cet = xyes; then
81989 CET_FLAGS="-fcf-protection -mshstk"
81990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
81991 $as_echo "yes" >&6; }
81992 else
81993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
81994 $as_echo "no" >&6; }
81995 fi
81996
81997 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
81998 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
81999
82000
82001
82002 # Determine cross-compile flags and AM_CONDITIONALs.
82003 #AC_SUBST(GLIBCXX_IS_NATIVE)
82004 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
82005 if test $is_hosted = yes; then
82006 GLIBCXX_HOSTED_TRUE=
82007 GLIBCXX_HOSTED_FALSE='#'
82008 else
82009 GLIBCXX_HOSTED_TRUE='#'
82010 GLIBCXX_HOSTED_FALSE=
82011 fi
82012
82013
82014 if test $enable_libstdcxx_pch = yes; then
82015 GLIBCXX_BUILD_PCH_TRUE=
82016 GLIBCXX_BUILD_PCH_FALSE='#'
82017 else
82018 GLIBCXX_BUILD_PCH_TRUE='#'
82019 GLIBCXX_BUILD_PCH_FALSE=
82020 fi
82021
82022
82023 if test $enable_float128 = yes; then
82024 ENABLE_FLOAT128_TRUE=
82025 ENABLE_FLOAT128_FALSE='#'
82026 else
82027 ENABLE_FLOAT128_TRUE='#'
82028 ENABLE_FLOAT128_FALSE=
82029 fi
82030
82031
82032 if test $enable_libstdcxx_allocator_flag = new; then
82033 ENABLE_ALLOCATOR_NEW_TRUE=
82034 ENABLE_ALLOCATOR_NEW_FALSE='#'
82035 else
82036 ENABLE_ALLOCATOR_NEW_TRUE='#'
82037 ENABLE_ALLOCATOR_NEW_FALSE=
82038 fi
82039
82040
82041 if test $enable_cheaders = c; then
82042 GLIBCXX_C_HEADERS_C_TRUE=
82043 GLIBCXX_C_HEADERS_C_FALSE='#'
82044 else
82045 GLIBCXX_C_HEADERS_C_TRUE='#'
82046 GLIBCXX_C_HEADERS_C_FALSE=
82047 fi
82048
82049
82050 if test $enable_cheaders = c_std; then
82051 GLIBCXX_C_HEADERS_C_STD_TRUE=
82052 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
82053 else
82054 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
82055 GLIBCXX_C_HEADERS_C_STD_FALSE=
82056 fi
82057
82058
82059 if test $enable_cheaders = c_global; then
82060 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
82061 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
82062 else
82063 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
82064 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
82065 fi
82066
82067
82068 if test $c_compatibility = yes; then
82069 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
82070 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
82071 else
82072 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
82073 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
82074 fi
82075
82076
82077 if test $enable_libstdcxx_debug = yes; then
82078 GLIBCXX_BUILD_DEBUG_TRUE=
82079 GLIBCXX_BUILD_DEBUG_FALSE='#'
82080 else
82081 GLIBCXX_BUILD_DEBUG_TRUE='#'
82082 GLIBCXX_BUILD_DEBUG_FALSE=
82083 fi
82084
82085
82086 if test $enable_extern_template = yes; then
82087 ENABLE_EXTERN_TEMPLATE_TRUE=
82088 ENABLE_EXTERN_TEMPLATE_FALSE='#'
82089 else
82090 ENABLE_EXTERN_TEMPLATE_TRUE='#'
82091 ENABLE_EXTERN_TEMPLATE_FALSE=
82092 fi
82093
82094
82095 if test $python_mod_dir != no; then
82096 ENABLE_PYTHONDIR_TRUE=
82097 ENABLE_PYTHONDIR_FALSE='#'
82098 else
82099 ENABLE_PYTHONDIR_TRUE='#'
82100 ENABLE_PYTHONDIR_FALSE=
82101 fi
82102
82103
82104 if test $enable_werror = yes; then
82105 ENABLE_WERROR_TRUE=
82106 ENABLE_WERROR_FALSE='#'
82107 else
82108 ENABLE_WERROR_TRUE='#'
82109 ENABLE_WERROR_FALSE=
82110 fi
82111
82112
82113 if test $enable_vtable_verify = yes; then
82114 ENABLE_VTABLE_VERIFY_TRUE=
82115 ENABLE_VTABLE_VERIFY_FALSE='#'
82116 else
82117 ENABLE_VTABLE_VERIFY_TRUE='#'
82118 ENABLE_VTABLE_VERIFY_FALSE=
82119 fi
82120
82121
82122 if test $enable_symvers != no; then
82123 ENABLE_SYMVERS_TRUE=
82124 ENABLE_SYMVERS_FALSE='#'
82125 else
82126 ENABLE_SYMVERS_TRUE='#'
82127 ENABLE_SYMVERS_FALSE=
82128 fi
82129
82130
82131 if test $enable_symvers = gnu; then
82132 ENABLE_SYMVERS_GNU_TRUE=
82133 ENABLE_SYMVERS_GNU_FALSE='#'
82134 else
82135 ENABLE_SYMVERS_GNU_TRUE='#'
82136 ENABLE_SYMVERS_GNU_FALSE=
82137 fi
82138
82139
82140 if test $enable_symvers = gnu-versioned-namespace; then
82141 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
82142 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
82143 else
82144 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
82145 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
82146 fi
82147
82148
82149 if test $enable_symvers = darwin; then
82150 ENABLE_SYMVERS_DARWIN_TRUE=
82151 ENABLE_SYMVERS_DARWIN_FALSE='#'
82152 else
82153 ENABLE_SYMVERS_DARWIN_TRUE='#'
82154 ENABLE_SYMVERS_DARWIN_FALSE=
82155 fi
82156
82157
82158 if test $enable_symvers = sun; then
82159 ENABLE_SYMVERS_SUN_TRUE=
82160 ENABLE_SYMVERS_SUN_FALSE='#'
82161 else
82162 ENABLE_SYMVERS_SUN_TRUE='#'
82163 ENABLE_SYMVERS_SUN_FALSE=
82164 fi
82165
82166
82167 if test $enable_libstdcxx_visibility = yes; then
82168 ENABLE_VISIBILITY_TRUE=
82169 ENABLE_VISIBILITY_FALSE='#'
82170 else
82171 ENABLE_VISIBILITY_TRUE='#'
82172 ENABLE_VISIBILITY_FALSE=
82173 fi
82174
82175
82176 if test $enable_libstdcxx_dual_abi = yes; then
82177 ENABLE_DUAL_ABI_TRUE=
82178 ENABLE_DUAL_ABI_FALSE='#'
82179 else
82180 ENABLE_DUAL_ABI_TRUE='#'
82181 ENABLE_DUAL_ABI_FALSE=
82182 fi
82183
82184
82185 if test $glibcxx_cxx11_abi = 1; then
82186 ENABLE_CXX11_ABI_TRUE=
82187 ENABLE_CXX11_ABI_FALSE='#'
82188 else
82189 ENABLE_CXX11_ABI_TRUE='#'
82190 ENABLE_CXX11_ABI_FALSE=
82191 fi
82192
82193
82194 if test $ac_ldbl_compat = yes; then
82195 GLIBCXX_LDBL_COMPAT_TRUE=
82196 GLIBCXX_LDBL_COMPAT_FALSE='#'
82197 else
82198 GLIBCXX_LDBL_COMPAT_TRUE='#'
82199 GLIBCXX_LDBL_COMPAT_FALSE=
82200 fi
82201
82202
82203 if test $enable_libstdcxx_filesystem_ts = yes; then
82204 ENABLE_FILESYSTEM_TS_TRUE=
82205 ENABLE_FILESYSTEM_TS_FALSE='#'
82206 else
82207 ENABLE_FILESYSTEM_TS_TRUE='#'
82208 ENABLE_FILESYSTEM_TS_FALSE=
82209 fi
82210
82211
82212
82213
82214 cat >confcache <<\_ACEOF
82215 # This file is a shell script that caches the results of configure
82216 # tests run on this system so they can be shared between configure
82217 # scripts and configure runs, see configure's option --config-cache.
82218 # It is not useful on other systems. If it contains results you don't
82219 # want to keep, you may remove or edit it.
82220 #
82221 # config.status only pays attention to the cache file if you give it
82222 # the --recheck option to rerun configure.
82223 #
82224 # `ac_cv_env_foo' variables (set or unset) will be overridden when
82225 # loading this file, other *unset* `ac_cv_foo' will be assigned the
82226 # following values.
82227
82228 _ACEOF
82229
82230 # The following way of writing the cache mishandles newlines in values,
82231 # but we know of no workaround that is simple, portable, and efficient.
82232 # So, we kill variables containing newlines.
82233 # Ultrix sh set writes to stderr and can't be redirected directly,
82234 # and sets the high bit in the cache file unless we assign to the vars.
82235 (
82236 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82237 eval ac_val=\$$ac_var
82238 case $ac_val in #(
82239 *${as_nl}*)
82240 case $ac_var in #(
82241 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82242 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82243 esac
82244 case $ac_var in #(
82245 _ | IFS | as_nl) ;; #(
82246 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82247 *) { eval $ac_var=; unset $ac_var;} ;;
82248 esac ;;
82249 esac
82250 done
82251
82252 (set) 2>&1 |
82253 case $as_nl`(ac_space=' '; set) 2>&1` in #(
82254 *${as_nl}ac_space=\ *)
82255 # `set' does not quote correctly, so add quotes: double-quote
82256 # substitution turns \\\\ into \\, and sed turns \\ into \.
82257 sed -n \
82258 "s/'/'\\\\''/g;
82259 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82260 ;; #(
82261 *)
82262 # `set' quotes correctly as required by POSIX, so do not add quotes.
82263 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82264 ;;
82265 esac |
82266 sort
82267 ) |
82268 sed '
82269 /^ac_cv_env_/b end
82270 t clear
82271 :clear
82272 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82273 t end
82274 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82275 :end' >>confcache
82276 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82277 if test -w "$cache_file"; then
82278 if test "x$cache_file" != "x/dev/null"; then
82279 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82280 $as_echo "$as_me: updating cache $cache_file" >&6;}
82281 if test ! -f "$cache_file" || test -h "$cache_file"; then
82282 cat confcache >"$cache_file"
82283 else
82284 case $cache_file in #(
82285 */* | ?:*)
82286 mv -f confcache "$cache_file"$$ &&
82287 mv -f "$cache_file"$$ "$cache_file" ;; #(
82288 *)
82289 mv -f confcache "$cache_file" ;;
82290 esac
82291 fi
82292 fi
82293 else
82294 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82295 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82296 fi
82297 fi
82298 rm -f confcache
82299
82300 if test ${multilib} = yes; then
82301 multilib_arg="--enable-multilib"
82302 else
82303 multilib_arg=
82304 fi
82305
82306 # Export all the install information.
82307
82308 glibcxx_toolexecdir=no
82309 glibcxx_toolexeclibdir=no
82310 glibcxx_prefixdir=$prefix
82311
82312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
82313 $as_echo_n "checking for gxx-include-dir... " >&6; }
82314
82315 # Check whether --with-gxx-include-dir was given.
82316 if test "${with_gxx_include_dir+set}" = set; then :
82317 withval=$with_gxx_include_dir; case "$withval" in
82318 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
82319 no) gxx_include_dir=no ;;
82320 *) gxx_include_dir=$withval ;;
82321 esac
82322 else
82323 gxx_include_dir=no
82324 fi
82325
82326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
82327 $as_echo "$gxx_include_dir" >&6; }
82328
82329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
82330 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
82331 # Check whether --enable-version-specific-runtime-libs was given.
82332 if test "${enable_version_specific_runtime_libs+set}" = set; then :
82333 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
82334 yes) version_specific_libs=yes ;;
82335 no) version_specific_libs=no ;;
82336 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
82337 esac
82338 else
82339 version_specific_libs=no
82340 fi
82341
82342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
82343 $as_echo "$version_specific_libs" >&6; }
82344
82345 # Default case for install directory for include files.
82346 if test $version_specific_libs = no && test $gxx_include_dir = no; then
82347 gxx_include_dir='include/c++/${gcc_version}'
82348 if test -n "$with_cross_host" &&
82349 test x"$with_cross_host" != x"no"; then
82350 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
82351 else
82352 gxx_include_dir='${prefix}/'"$gxx_include_dir"
82353 fi
82354 fi
82355
82356 # Version-specific runtime libs processing.
82357 if test $version_specific_libs = yes; then
82358 # Need the gcc compiler version to know where to install libraries
82359 # and header files if --enable-version-specific-runtime-libs option
82360 # is selected. FIXME: these variables are misnamed, there are
82361 # no executables installed in _toolexecdir or _toolexeclibdir.
82362 if test x"$gxx_include_dir" = x"no"; then
82363 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
82364 fi
82365 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
82366 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
82367 fi
82368
82369 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
82370 # Install a library built with a cross compiler in tooldir, not libdir.
82371 if test x"$glibcxx_toolexecdir" = x"no"; then
82372 if test -n "$with_cross_host" &&
82373 test x"$with_cross_host" != x"no"; then
82374 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
82375 glibcxx_toolexeclibdir='${toolexecdir}/lib'
82376 else
82377 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
82378 glibcxx_toolexeclibdir='${libdir}'
82379 fi
82380 multi_os_directory=`$CXX -print-multi-os-directory`
82381 case $multi_os_directory in
82382 .) ;; # Avoid trailing /.
82383 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
82384 esac
82385 fi
82386
82387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
82388 $as_echo_n "checking for install location... " >&6; }
82389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
82390 $as_echo "$gxx_include_dir" >&6; }
82391
82392
82393
82394
82395
82396
82397
82398 # Export all the include and flag information to Makefiles.
82399
82400 # Used for every C++ compile we perform.
82401 GLIBCXX_INCLUDES="\
82402 -I$glibcxx_builddir/include/$host_alias \
82403 -I$glibcxx_builddir/include \
82404 -I$glibcxx_srcdir/libsupc++"
82405
82406 # For Canadian crosses, pick this up too.
82407 if test $CANADIAN = yes; then
82408 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
82409 fi
82410
82411 # Stuff in the actual top level. Currently only used by libsupc++ to
82412 # get unwind* headers from the libgcc dir.
82413 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
82414 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
82415
82416 # Now, export this to all the little Makefiles....
82417
82418
82419
82420
82421 # Optimization flags that are probably a good idea for thrill-seekers. Just
82422 # uncomment the lines below and make, everything else is ready to go...
82423 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
82424 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
82425
82426
82427 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
82428
82429
82430
82431 # Determine what GCC version number to use in filesystem paths.
82432
82433 get_gcc_base_ver="cat"
82434
82435 # Check whether --with-gcc-major-version-only was given.
82436 if test "${with_gcc_major_version_only+set}" = set; then :
82437 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
82438 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
82439 fi
82440
82441 fi
82442
82443
82444
82445
82446 ac_config_files="$ac_config_files Makefile"
82447
82448 ac_config_files="$ac_config_files scripts/testsuite_flags"
82449
82450 ac_config_files="$ac_config_files scripts/extract_symvers"
82451
82452 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
82453
82454
82455 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
82456 # that multilib installs will end up installed in the correct place.
82457 # The testsuite needs it for multilib-aware ABI baseline files.
82458 # To work around this not being passed down from config-ml.in ->
82459 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
82460 # append it here. Only modify Makefiles that have just been created.
82461 #
82462 # Also, get rid of this simulated-VPATH thing that automake does.
82463 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"
82464
82465
82466 ac_config_commands="$ac_config_commands generate-headers"
82467
82468
82469 cat >confcache <<\_ACEOF
82470 # This file is a shell script that caches the results of configure
82471 # tests run on this system so they can be shared between configure
82472 # scripts and configure runs, see configure's option --config-cache.
82473 # It is not useful on other systems. If it contains results you don't
82474 # want to keep, you may remove or edit it.
82475 #
82476 # config.status only pays attention to the cache file if you give it
82477 # the --recheck option to rerun configure.
82478 #
82479 # `ac_cv_env_foo' variables (set or unset) will be overridden when
82480 # loading this file, other *unset* `ac_cv_foo' will be assigned the
82481 # following values.
82482
82483 _ACEOF
82484
82485 # The following way of writing the cache mishandles newlines in values,
82486 # but we know of no workaround that is simple, portable, and efficient.
82487 # So, we kill variables containing newlines.
82488 # Ultrix sh set writes to stderr and can't be redirected directly,
82489 # and sets the high bit in the cache file unless we assign to the vars.
82490 (
82491 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
82492 eval ac_val=\$$ac_var
82493 case $ac_val in #(
82494 *${as_nl}*)
82495 case $ac_var in #(
82496 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
82497 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
82498 esac
82499 case $ac_var in #(
82500 _ | IFS | as_nl) ;; #(
82501 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
82502 *) { eval $ac_var=; unset $ac_var;} ;;
82503 esac ;;
82504 esac
82505 done
82506
82507 (set) 2>&1 |
82508 case $as_nl`(ac_space=' '; set) 2>&1` in #(
82509 *${as_nl}ac_space=\ *)
82510 # `set' does not quote correctly, so add quotes: double-quote
82511 # substitution turns \\\\ into \\, and sed turns \\ into \.
82512 sed -n \
82513 "s/'/'\\\\''/g;
82514 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
82515 ;; #(
82516 *)
82517 # `set' quotes correctly as required by POSIX, so do not add quotes.
82518 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
82519 ;;
82520 esac |
82521 sort
82522 ) |
82523 sed '
82524 /^ac_cv_env_/b end
82525 t clear
82526 :clear
82527 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
82528 t end
82529 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
82530 :end' >>confcache
82531 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
82532 if test -w "$cache_file"; then
82533 if test "x$cache_file" != "x/dev/null"; then
82534 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
82535 $as_echo "$as_me: updating cache $cache_file" >&6;}
82536 if test ! -f "$cache_file" || test -h "$cache_file"; then
82537 cat confcache >"$cache_file"
82538 else
82539 case $cache_file in #(
82540 */* | ?:*)
82541 mv -f confcache "$cache_file"$$ &&
82542 mv -f "$cache_file"$$ "$cache_file" ;; #(
82543 *)
82544 mv -f confcache "$cache_file" ;;
82545 esac
82546 fi
82547 fi
82548 else
82549 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
82550 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
82551 fi
82552 fi
82553 rm -f confcache
82554
82555 test "x$prefix" = xNONE && prefix=$ac_default_prefix
82556 # Let make expand exec_prefix.
82557 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
82558
82559 DEFS=-DHAVE_CONFIG_H
82560
82561 ac_libobjs=
82562 ac_ltlibobjs=
82563 U=
82564 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
82565 # 1. Remove the extension, and $U if already installed.
82566 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
82567 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
82568 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
82569 # will be set to the directory where LIBOBJS objects are built.
82570 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
82571 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
82572 done
82573 LIBOBJS=$ac_libobjs
82574
82575 LTLIBOBJS=$ac_ltlibobjs
82576
82577
82578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
82579 $as_echo_n "checking that generated files are newer than configure... " >&6; }
82580 if test -n "$am_sleep_pid"; then
82581 # Hide warnings about reused PIDs.
82582 wait $am_sleep_pid 2>/dev/null
82583 fi
82584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
82585 $as_echo "done" >&6; }
82586 if test -n "$EXEEXT"; then
82587 am__EXEEXT_TRUE=
82588 am__EXEEXT_FALSE='#'
82589 else
82590 am__EXEEXT_TRUE='#'
82591 am__EXEEXT_FALSE=
82592 fi
82593
82594 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
82595 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
82596 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82597 fi
82598 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
82599 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
82600 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82601 fi
82602 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
82603 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
82604 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82605 fi
82606 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
82607 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
82608 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82609 fi
82610 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
82611 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
82612 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82613 fi
82614 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
82615 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
82616 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82617 fi
82618 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
82619 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
82620 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82621 fi
82622 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
82623 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
82624 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82625 fi
82626 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
82627 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
82628 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82629 fi
82630 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
82631 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
82632 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82633 fi
82634 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
82635 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
82636 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82637 fi
82638 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
82639 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
82640 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82641 fi
82642 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
82643 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
82644 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82645 fi
82646 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
82647 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
82648 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82649 fi
82650 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
82651 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
82652 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82653 fi
82654 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
82655 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
82656 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82657 fi
82658 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
82659 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
82660 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82661 fi
82662 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
82663 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
82664 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82665 fi
82666 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
82667 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
82668 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82669 fi
82670 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
82671 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
82672 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82673 fi
82674 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
82675 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
82676 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82677 fi
82678 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
82679 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
82680 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82681 fi
82682 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
82683 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
82684 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82685 fi
82686 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
82687 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
82688 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82689 fi
82690 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
82691 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
82692 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82693 fi
82694 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
82695 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
82696 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82697 fi
82698 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
82699 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
82700 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82701 fi
82702 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
82703 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
82704 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82705 fi
82706 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
82707 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
82708 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82709 fi
82710 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
82711 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
82712 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82713 fi
82714 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
82715 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
82716 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82717 fi
82718 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
82719 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
82720 Usually this means the macro was only invoked conditionally." "$LINENO" 5
82721 fi
82722
82723 : "${CONFIG_STATUS=./config.status}"
82724 ac_write_fail=0
82725 ac_clean_files_save=$ac_clean_files
82726 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
82727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
82728 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
82729 as_write_fail=0
82730 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
82731 #! $SHELL
82732 # Generated by $as_me.
82733 # Run this file to recreate the current configuration.
82734 # Compiler output produced by configure, useful for debugging
82735 # configure, is in config.log if it exists.
82736
82737 debug=false
82738 ac_cs_recheck=false
82739 ac_cs_silent=false
82740
82741 SHELL=\${CONFIG_SHELL-$SHELL}
82742 export SHELL
82743 _ASEOF
82744 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
82745 ## -------------------- ##
82746 ## M4sh Initialization. ##
82747 ## -------------------- ##
82748
82749 # Be more Bourne compatible
82750 DUALCASE=1; export DUALCASE # for MKS sh
82751 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
82752 emulate sh
82753 NULLCMD=:
82754 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
82755 # is contrary to our usage. Disable this feature.
82756 alias -g '${1+"$@"}'='"$@"'
82757 setopt NO_GLOB_SUBST
82758 else
82759 case `(set -o) 2>/dev/null` in #(
82760 *posix*) :
82761 set -o posix ;; #(
82762 *) :
82763 ;;
82764 esac
82765 fi
82766
82767
82768 as_nl='
82769 '
82770 export as_nl
82771 # Printing a long string crashes Solaris 7 /usr/bin/printf.
82772 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
82773 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
82774 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
82775 # Prefer a ksh shell builtin over an external printf program on Solaris,
82776 # but without wasting forks for bash or zsh.
82777 if test -z "$BASH_VERSION$ZSH_VERSION" \
82778 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
82779 as_echo='print -r --'
82780 as_echo_n='print -rn --'
82781 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
82782 as_echo='printf %s\n'
82783 as_echo_n='printf %s'
82784 else
82785 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
82786 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
82787 as_echo_n='/usr/ucb/echo -n'
82788 else
82789 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
82790 as_echo_n_body='eval
82791 arg=$1;
82792 case $arg in #(
82793 *"$as_nl"*)
82794 expr "X$arg" : "X\\(.*\\)$as_nl";
82795 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
82796 esac;
82797 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
82798 '
82799 export as_echo_n_body
82800 as_echo_n='sh -c $as_echo_n_body as_echo'
82801 fi
82802 export as_echo_body
82803 as_echo='sh -c $as_echo_body as_echo'
82804 fi
82805
82806 # The user is always right.
82807 if test "${PATH_SEPARATOR+set}" != set; then
82808 PATH_SEPARATOR=:
82809 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
82810 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82811 PATH_SEPARATOR=';'
82812 }
82813 fi
82814
82815
82816 # IFS
82817 # We need space, tab and new line, in precisely that order. Quoting is
82818 # there to prevent editors from complaining about space-tab.
82819 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
82820 # splitting by setting IFS to empty value.)
82821 IFS=" "" $as_nl"
82822
82823 # Find who we are. Look in the path if we contain no directory separator.
82824 as_myself=
82825 case $0 in #((
82826 *[\\/]* ) as_myself=$0 ;;
82827 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
82828 for as_dir in $PATH
82829 do
82830 IFS=$as_save_IFS
82831 test -z "$as_dir" && as_dir=.
82832 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
82833 done
82834 IFS=$as_save_IFS
82835
82836 ;;
82837 esac
82838 # We did not find ourselves, most probably we were run as `sh COMMAND'
82839 # in which case we are not to be found in the path.
82840 if test "x$as_myself" = x; then
82841 as_myself=$0
82842 fi
82843 if test ! -f "$as_myself"; then
82844 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
82845 exit 1
82846 fi
82847
82848 # Unset variables that we do not need and which cause bugs (e.g. in
82849 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
82850 # suppresses any "Segmentation fault" message there. '((' could
82851 # trigger a bug in pdksh 5.2.14.
82852 for as_var in BASH_ENV ENV MAIL MAILPATH
82853 do eval test x\${$as_var+set} = xset \
82854 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
82855 done
82856 PS1='$ '
82857 PS2='> '
82858 PS4='+ '
82859
82860 # NLS nuisances.
82861 LC_ALL=C
82862 export LC_ALL
82863 LANGUAGE=C
82864 export LANGUAGE
82865
82866 # CDPATH.
82867 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
82868
82869
82870 # as_fn_error STATUS ERROR [LINENO LOG_FD]
82871 # ----------------------------------------
82872 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
82873 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
82874 # script with STATUS, using 1 if that was 0.
82875 as_fn_error ()
82876 {
82877 as_status=$1; test $as_status -eq 0 && as_status=1
82878 if test "$4"; then
82879 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
82880 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
82881 fi
82882 $as_echo "$as_me: error: $2" >&2
82883 as_fn_exit $as_status
82884 } # as_fn_error
82885
82886
82887 # as_fn_set_status STATUS
82888 # -----------------------
82889 # Set $? to STATUS, without forking.
82890 as_fn_set_status ()
82891 {
82892 return $1
82893 } # as_fn_set_status
82894
82895 # as_fn_exit STATUS
82896 # -----------------
82897 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
82898 as_fn_exit ()
82899 {
82900 set +e
82901 as_fn_set_status $1
82902 exit $1
82903 } # as_fn_exit
82904
82905 # as_fn_unset VAR
82906 # ---------------
82907 # Portably unset VAR.
82908 as_fn_unset ()
82909 {
82910 { eval $1=; unset $1;}
82911 }
82912 as_unset=as_fn_unset
82913 # as_fn_append VAR VALUE
82914 # ----------------------
82915 # Append the text in VALUE to the end of the definition contained in VAR. Take
82916 # advantage of any shell optimizations that allow amortized linear growth over
82917 # repeated appends, instead of the typical quadratic growth present in naive
82918 # implementations.
82919 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
82920 eval 'as_fn_append ()
82921 {
82922 eval $1+=\$2
82923 }'
82924 else
82925 as_fn_append ()
82926 {
82927 eval $1=\$$1\$2
82928 }
82929 fi # as_fn_append
82930
82931 # as_fn_arith ARG...
82932 # ------------------
82933 # Perform arithmetic evaluation on the ARGs, and store the result in the
82934 # global $as_val. Take advantage of shells that can avoid forks. The arguments
82935 # must be portable across $(()) and expr.
82936 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
82937 eval 'as_fn_arith ()
82938 {
82939 as_val=$(( $* ))
82940 }'
82941 else
82942 as_fn_arith ()
82943 {
82944 as_val=`expr "$@" || test $? -eq 1`
82945 }
82946 fi # as_fn_arith
82947
82948
82949 if expr a : '\(a\)' >/dev/null 2>&1 &&
82950 test "X`expr 00001 : '.*\(...\)'`" = X001; then
82951 as_expr=expr
82952 else
82953 as_expr=false
82954 fi
82955
82956 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
82957 as_basename=basename
82958 else
82959 as_basename=false
82960 fi
82961
82962 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
82963 as_dirname=dirname
82964 else
82965 as_dirname=false
82966 fi
82967
82968 as_me=`$as_basename -- "$0" ||
82969 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
82970 X"$0" : 'X\(//\)$' \| \
82971 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
82972 $as_echo X/"$0" |
82973 sed '/^.*\/\([^/][^/]*\)\/*$/{
82974 s//\1/
82975 q
82976 }
82977 /^X\/\(\/\/\)$/{
82978 s//\1/
82979 q
82980 }
82981 /^X\/\(\/\).*/{
82982 s//\1/
82983 q
82984 }
82985 s/.*/./; q'`
82986
82987 # Avoid depending upon Character Ranges.
82988 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
82989 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
82990 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
82991 as_cr_digits='0123456789'
82992 as_cr_alnum=$as_cr_Letters$as_cr_digits
82993
82994 ECHO_C= ECHO_N= ECHO_T=
82995 case `echo -n x` in #(((((
82996 -n*)
82997 case `echo 'xy\c'` in
82998 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
82999 xy) ECHO_C='\c';;
83000 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
83001 ECHO_T=' ';;
83002 esac;;
83003 *)
83004 ECHO_N='-n';;
83005 esac
83006
83007 rm -f conf$$ conf$$.exe conf$$.file
83008 if test -d conf$$.dir; then
83009 rm -f conf$$.dir/conf$$.file
83010 else
83011 rm -f conf$$.dir
83012 mkdir conf$$.dir 2>/dev/null
83013 fi
83014 if (echo >conf$$.file) 2>/dev/null; then
83015 if ln -s conf$$.file conf$$ 2>/dev/null; then
83016 as_ln_s='ln -s'
83017 # ... but there are two gotchas:
83018 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
83019 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
83020 # In both cases, we have to default to `cp -pR'.
83021 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
83022 as_ln_s='cp -pR'
83023 elif ln conf$$.file conf$$ 2>/dev/null; then
83024 as_ln_s=ln
83025 else
83026 as_ln_s='cp -pR'
83027 fi
83028 else
83029 as_ln_s='cp -pR'
83030 fi
83031 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
83032 rmdir conf$$.dir 2>/dev/null
83033
83034
83035 # as_fn_mkdir_p
83036 # -------------
83037 # Create "$as_dir" as a directory, including parents if necessary.
83038 as_fn_mkdir_p ()
83039 {
83040
83041 case $as_dir in #(
83042 -*) as_dir=./$as_dir;;
83043 esac
83044 test -d "$as_dir" || eval $as_mkdir_p || {
83045 as_dirs=
83046 while :; do
83047 case $as_dir in #(
83048 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
83049 *) as_qdir=$as_dir;;
83050 esac
83051 as_dirs="'$as_qdir' $as_dirs"
83052 as_dir=`$as_dirname -- "$as_dir" ||
83053 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
83054 X"$as_dir" : 'X\(//\)[^/]' \| \
83055 X"$as_dir" : 'X\(//\)$' \| \
83056 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
83057 $as_echo X"$as_dir" |
83058 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
83059 s//\1/
83060 q
83061 }
83062 /^X\(\/\/\)[^/].*/{
83063 s//\1/
83064 q
83065 }
83066 /^X\(\/\/\)$/{
83067 s//\1/
83068 q
83069 }
83070 /^X\(\/\).*/{
83071 s//\1/
83072 q
83073 }
83074 s/.*/./; q'`
83075 test -d "$as_dir" && break
83076 done
83077 test -z "$as_dirs" || eval "mkdir $as_dirs"
83078 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
83079
83080
83081 } # as_fn_mkdir_p
83082 if mkdir -p . 2>/dev/null; then
83083 as_mkdir_p='mkdir -p "$as_dir"'
83084 else
83085 test -d ./-p && rmdir ./-p
83086 as_mkdir_p=false
83087 fi
83088
83089
83090 # as_fn_executable_p FILE
83091 # -----------------------
83092 # Test if FILE is an executable regular file.
83093 as_fn_executable_p ()
83094 {
83095 test -f "$1" && test -x "$1"
83096 } # as_fn_executable_p
83097 as_test_x='test -x'
83098 as_executable_p=as_fn_executable_p
83099
83100 # Sed expression to map a string onto a valid CPP name.
83101 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
83102
83103 # Sed expression to map a string onto a valid variable name.
83104 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
83105
83106
83107 exec 6>&1
83108 ## ----------------------------------- ##
83109 ## Main body of $CONFIG_STATUS script. ##
83110 ## ----------------------------------- ##
83111 _ASEOF
83112 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
83113
83114 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83115 # Save the log message, to keep $0 and so on meaningful, and to
83116 # report actual input values of CONFIG_FILES etc. instead of their
83117 # values after options handling.
83118 ac_log="
83119 This file was extended by package-unused $as_me version-unused, which was
83120 generated by GNU Autoconf 2.69. Invocation command line was
83121
83122 CONFIG_FILES = $CONFIG_FILES
83123 CONFIG_HEADERS = $CONFIG_HEADERS
83124 CONFIG_LINKS = $CONFIG_LINKS
83125 CONFIG_COMMANDS = $CONFIG_COMMANDS
83126 $ $0 $@
83127
83128 on `(hostname || uname -n) 2>/dev/null | sed 1q`
83129 "
83130
83131 _ACEOF
83132
83133 case $ac_config_files in *"
83134 "*) set x $ac_config_files; shift; ac_config_files=$*;;
83135 esac
83136
83137 case $ac_config_headers in *"
83138 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
83139 esac
83140
83141
83142 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83143 # Files that config.status was made for.
83144 config_files="$ac_config_files"
83145 config_headers="$ac_config_headers"
83146 config_commands="$ac_config_commands"
83147
83148 _ACEOF
83149
83150 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83151 ac_cs_usage="\
83152 \`$as_me' instantiates files and other configuration actions
83153 from templates according to the current configuration. Unless the files
83154 and actions are specified as TAGs, all are instantiated by default.
83155
83156 Usage: $0 [OPTION]... [TAG]...
83157
83158 -h, --help print this help, then exit
83159 -V, --version print version number and configuration settings, then exit
83160 --config print configuration, then exit
83161 -q, --quiet, --silent
83162 do not print progress messages
83163 -d, --debug don't remove temporary files
83164 --recheck update $as_me by reconfiguring in the same conditions
83165 --file=FILE[:TEMPLATE]
83166 instantiate the configuration file FILE
83167 --header=FILE[:TEMPLATE]
83168 instantiate the configuration header FILE
83169
83170 Configuration files:
83171 $config_files
83172
83173 Configuration headers:
83174 $config_headers
83175
83176 Configuration commands:
83177 $config_commands
83178
83179 Report bugs to the package provider."
83180
83181 _ACEOF
83182 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83183 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
83184 ac_cs_version="\\
83185 package-unused config.status version-unused
83186 configured by $0, generated by GNU Autoconf 2.69,
83187 with options \\"\$ac_cs_config\\"
83188
83189 Copyright (C) 2012 Free Software Foundation, Inc.
83190 This config.status script is free software; the Free Software Foundation
83191 gives unlimited permission to copy, distribute and modify it."
83192
83193 ac_pwd='$ac_pwd'
83194 srcdir='$srcdir'
83195 INSTALL='$INSTALL'
83196 MKDIR_P='$MKDIR_P'
83197 AWK='$AWK'
83198 test -n "\$AWK" || AWK=awk
83199 _ACEOF
83200
83201 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83202 # The default lists apply if the user does not specify any file.
83203 ac_need_defaults=:
83204 while test $# != 0
83205 do
83206 case $1 in
83207 --*=?*)
83208 ac_option=`expr "X$1" : 'X\([^=]*\)='`
83209 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
83210 ac_shift=:
83211 ;;
83212 --*=)
83213 ac_option=`expr "X$1" : 'X\([^=]*\)='`
83214 ac_optarg=
83215 ac_shift=:
83216 ;;
83217 *)
83218 ac_option=$1
83219 ac_optarg=$2
83220 ac_shift=shift
83221 ;;
83222 esac
83223
83224 case $ac_option in
83225 # Handling of the options.
83226 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
83227 ac_cs_recheck=: ;;
83228 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
83229 $as_echo "$ac_cs_version"; exit ;;
83230 --config | --confi | --conf | --con | --co | --c )
83231 $as_echo "$ac_cs_config"; exit ;;
83232 --debug | --debu | --deb | --de | --d | -d )
83233 debug=: ;;
83234 --file | --fil | --fi | --f )
83235 $ac_shift
83236 case $ac_optarg in
83237 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
83238 '') as_fn_error $? "missing file argument" ;;
83239 esac
83240 as_fn_append CONFIG_FILES " '$ac_optarg'"
83241 ac_need_defaults=false;;
83242 --header | --heade | --head | --hea )
83243 $ac_shift
83244 case $ac_optarg in
83245 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
83246 esac
83247 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
83248 ac_need_defaults=false;;
83249 --he | --h)
83250 # Conflict between --help and --header
83251 as_fn_error $? "ambiguous option: \`$1'
83252 Try \`$0 --help' for more information.";;
83253 --help | --hel | -h )
83254 $as_echo "$ac_cs_usage"; exit ;;
83255 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
83256 | -silent | --silent | --silen | --sile | --sil | --si | --s)
83257 ac_cs_silent=: ;;
83258
83259 # This is an error.
83260 -*) as_fn_error $? "unrecognized option: \`$1'
83261 Try \`$0 --help' for more information." ;;
83262
83263 *) as_fn_append ac_config_targets " $1"
83264 ac_need_defaults=false ;;
83265
83266 esac
83267 shift
83268 done
83269
83270 ac_configure_extra_args=
83271
83272 if $ac_cs_silent; then
83273 exec 6>/dev/null
83274 ac_configure_extra_args="$ac_configure_extra_args --silent"
83275 fi
83276
83277 _ACEOF
83278 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83279 if \$ac_cs_recheck; then
83280 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
83281 shift
83282 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
83283 CONFIG_SHELL='$SHELL'
83284 export CONFIG_SHELL
83285 exec "\$@"
83286 fi
83287
83288 _ACEOF
83289 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83290 exec 5>>config.log
83291 {
83292 echo
83293 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
83294 ## Running $as_me. ##
83295 _ASBOX
83296 $as_echo "$ac_log"
83297 } >&5
83298
83299 _ACEOF
83300 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83301 #
83302 # INIT-COMMANDS
83303 #
83304
83305 srcdir="$srcdir"
83306 host="$host"
83307 target="$target"
83308 with_multisubdir="$with_multisubdir"
83309 with_multisrctop="$with_multisrctop"
83310 with_target_subdir="$with_target_subdir"
83311 ac_configure_args="${multilib_arg} ${ac_configure_args}"
83312 multi_basedir="$multi_basedir"
83313 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
83314 CC="$CC"
83315 CXX="$CXX"
83316 GFORTRAN="$GFORTRAN"
83317 GDC="$GDC"
83318
83319
83320 # The HP-UX ksh and POSIX shell print the target directory to stdout
83321 # if CDPATH is set.
83322 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
83323
83324 sed_quote_subst='$sed_quote_subst'
83325 double_quote_subst='$double_quote_subst'
83326 delay_variable_subst='$delay_variable_subst'
83327 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
83328 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
83329 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
83330 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
83331 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
83332 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
83333 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
83334 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
83335 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
83336 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
83337 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
83338 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
83339 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
83340 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
83341 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
83342 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
83343 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
83344 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
83345 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
83346 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
83347 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
83348 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
83349 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
83350 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
83351 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
83352 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
83353 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
83354 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
83355 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
83356 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
83357 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
83358 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
83359 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
83360 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
83361 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
83362 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
83363 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
83364 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
83365 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
83366 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
83367 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
83368 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
83369 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
83370 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
83371 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
83372 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
83373 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
83374 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
83375 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"`'
83376 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
83377 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
83378 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
83379 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
83380 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
83381 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
83382 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
83383 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
83384 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
83385 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
83386 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
83387 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
83388 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
83389 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
83390 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
83391 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
83392 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
83393 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
83394 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
83395 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
83396 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
83397 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
83398 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
83399 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
83400 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
83401 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
83402 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
83403 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
83404 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
83405 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
83406 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
83407 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
83408 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
83409 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
83410 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
83411 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
83412 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
83413 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
83414 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
83415 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
83416 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
83417 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
83418 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
83419 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
83420 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
83421 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
83422 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
83423 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
83424 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
83425 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
83426 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
83427 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
83428 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
83429 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
83430 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
83431 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
83432 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
83433 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
83434 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
83435 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
83436 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
83437 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
83438 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
83439 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
83440 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
83441 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
83442 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
83443 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
83444 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
83445 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
83446 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
83447 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
83448 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
83449 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
83450 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
83451 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
83452 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
83453 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
83454 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
83455 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83456 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83457 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
83458 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
83459 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
83460 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
83461 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
83462 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
83463 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
83464 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
83465 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
83466 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83467 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83468 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
83469 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83470 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83471 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83472 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83473 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83474 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83475 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
83476 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83477 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
83478 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
83479 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
83480 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
83481 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
83482 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
83483 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
83484 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
83485 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
83486 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
83487 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
83488 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
83489 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
83490 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83491 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83492 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
83493 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
83494 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
83495 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
83496 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
83497 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83498 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
83499 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
83500 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
83501 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
83502
83503 LTCC='$LTCC'
83504 LTCFLAGS='$LTCFLAGS'
83505 compiler='$compiler_DEFAULT'
83506
83507 # A function that is used when there is no print builtin or printf.
83508 func_fallback_echo ()
83509 {
83510 eval 'cat <<_LTECHO_EOF
83511 \$1
83512 _LTECHO_EOF'
83513 }
83514
83515 # Quote evaled strings.
83516 for var in SHELL \
83517 ECHO \
83518 SED \
83519 GREP \
83520 EGREP \
83521 FGREP \
83522 LD \
83523 NM \
83524 LN_S \
83525 lt_SP2NL \
83526 lt_NL2SP \
83527 reload_flag \
83528 OBJDUMP \
83529 deplibs_check_method \
83530 file_magic_cmd \
83531 AR \
83532 AR_FLAGS \
83533 STRIP \
83534 RANLIB \
83535 CC \
83536 CFLAGS \
83537 compiler \
83538 lt_cv_sys_global_symbol_pipe \
83539 lt_cv_sys_global_symbol_to_cdecl \
83540 lt_cv_sys_global_symbol_to_c_name_address \
83541 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
83542 lt_prog_compiler_no_builtin_flag \
83543 lt_prog_compiler_wl \
83544 lt_prog_compiler_pic \
83545 lt_prog_compiler_static \
83546 lt_cv_prog_compiler_c_o \
83547 need_locks \
83548 DSYMUTIL \
83549 NMEDIT \
83550 LIPO \
83551 OTOOL \
83552 OTOOL64 \
83553 shrext_cmds \
83554 export_dynamic_flag_spec \
83555 whole_archive_flag_spec \
83556 compiler_needs_object \
83557 with_gnu_ld \
83558 allow_undefined_flag \
83559 no_undefined_flag \
83560 hardcode_libdir_flag_spec \
83561 hardcode_libdir_flag_spec_ld \
83562 hardcode_libdir_separator \
83563 fix_srcfile_path \
83564 exclude_expsyms \
83565 include_expsyms \
83566 file_list_spec \
83567 variables_saved_for_relink \
83568 libname_spec \
83569 library_names_spec \
83570 soname_spec \
83571 install_override_mode \
83572 finish_eval \
83573 old_striplib \
83574 striplib \
83575 compiler_lib_search_dirs \
83576 predep_objects \
83577 postdep_objects \
83578 predeps \
83579 postdeps \
83580 compiler_lib_search_path \
83581 LD_CXX \
83582 reload_flag_CXX \
83583 compiler_CXX \
83584 lt_prog_compiler_no_builtin_flag_CXX \
83585 lt_prog_compiler_wl_CXX \
83586 lt_prog_compiler_pic_CXX \
83587 lt_prog_compiler_static_CXX \
83588 lt_cv_prog_compiler_c_o_CXX \
83589 export_dynamic_flag_spec_CXX \
83590 whole_archive_flag_spec_CXX \
83591 compiler_needs_object_CXX \
83592 with_gnu_ld_CXX \
83593 allow_undefined_flag_CXX \
83594 no_undefined_flag_CXX \
83595 hardcode_libdir_flag_spec_CXX \
83596 hardcode_libdir_flag_spec_ld_CXX \
83597 hardcode_libdir_separator_CXX \
83598 fix_srcfile_path_CXX \
83599 exclude_expsyms_CXX \
83600 include_expsyms_CXX \
83601 file_list_spec_CXX \
83602 compiler_lib_search_dirs_CXX \
83603 predep_objects_CXX \
83604 postdep_objects_CXX \
83605 predeps_CXX \
83606 postdeps_CXX \
83607 compiler_lib_search_path_CXX; do
83608 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83609 *[\\\\\\\`\\"\\\$]*)
83610 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
83611 ;;
83612 *)
83613 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83614 ;;
83615 esac
83616 done
83617
83618 # Double-quote double-evaled strings.
83619 for var in reload_cmds \
83620 old_postinstall_cmds \
83621 old_postuninstall_cmds \
83622 old_archive_cmds \
83623 extract_expsyms_cmds \
83624 old_archive_from_new_cmds \
83625 old_archive_from_expsyms_cmds \
83626 archive_cmds \
83627 archive_expsym_cmds \
83628 module_cmds \
83629 module_expsym_cmds \
83630 export_symbols_cmds \
83631 prelink_cmds \
83632 postinstall_cmds \
83633 postuninstall_cmds \
83634 finish_cmds \
83635 sys_lib_search_path_spec \
83636 sys_lib_dlsearch_path_spec \
83637 reload_cmds_CXX \
83638 old_archive_cmds_CXX \
83639 old_archive_from_new_cmds_CXX \
83640 old_archive_from_expsyms_cmds_CXX \
83641 archive_cmds_CXX \
83642 archive_expsym_cmds_CXX \
83643 module_cmds_CXX \
83644 module_expsym_cmds_CXX \
83645 export_symbols_cmds_CXX \
83646 prelink_cmds_CXX; do
83647 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
83648 *[\\\\\\\`\\"\\\$]*)
83649 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
83650 ;;
83651 *)
83652 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
83653 ;;
83654 esac
83655 done
83656
83657 ac_aux_dir='$ac_aux_dir'
83658 xsi_shell='$xsi_shell'
83659 lt_shell_append='$lt_shell_append'
83660
83661 # See if we are running on zsh, and set the options which allow our
83662 # commands through without removal of \ escapes INIT.
83663 if test -n "\${ZSH_VERSION+set}" ; then
83664 setopt NO_GLOB_SUBST
83665 fi
83666
83667
83668 PACKAGE='$PACKAGE'
83669 VERSION='$VERSION'
83670 TIMESTAMP='$TIMESTAMP'
83671 RM='$RM'
83672 ofile='$ofile'
83673
83674
83675
83676
83677
83678
83679 GCC="$GCC"
83680 CC="$CC"
83681 acx_cv_header_stdint="$acx_cv_header_stdint"
83682 acx_cv_type_int8_t="$acx_cv_type_int8_t"
83683 acx_cv_type_int16_t="$acx_cv_type_int16_t"
83684 acx_cv_type_int32_t="$acx_cv_type_int32_t"
83685 acx_cv_type_int64_t="$acx_cv_type_int64_t"
83686 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
83687 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
83688 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
83689 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
83690 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
83691 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
83692 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
83693 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
83694 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
83695
83696
83697 _ACEOF
83698
83699 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83700
83701 # Handling of arguments.
83702 for ac_config_target in $ac_config_targets
83703 do
83704 case $ac_config_target in
83705 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
83706 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
83707 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
83708 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
83709 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
83710 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
83711 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
83712 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
83713 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
83714 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
83715 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
83716 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
83717 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
83718 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
83719 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
83720 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
83721 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
83722 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
83723 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
83724 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
83725
83726 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
83727 esac
83728 done
83729
83730
83731 # If the user did not use the arguments to specify the items to instantiate,
83732 # then the envvar interface is used. Set only those that are not.
83733 # We use the long form for the default assignment because of an extremely
83734 # bizarre bug on SunOS 4.1.3.
83735 if $ac_need_defaults; then
83736 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
83737 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
83738 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
83739 fi
83740
83741 # Have a temporary directory for convenience. Make it in the build tree
83742 # simply because there is no reason against having it here, and in addition,
83743 # creating and moving files from /tmp can sometimes cause problems.
83744 # Hook for its removal unless debugging.
83745 # Note that there is a small window in which the directory will not be cleaned:
83746 # after its creation but before its name has been assigned to `$tmp'.
83747 $debug ||
83748 {
83749 tmp= ac_tmp=
83750 trap 'exit_status=$?
83751 : "${ac_tmp:=$tmp}"
83752 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
83753 ' 0
83754 trap 'as_fn_exit 1' 1 2 13 15
83755 }
83756 # Create a (secure) tmp directory for tmp files.
83757
83758 {
83759 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
83760 test -d "$tmp"
83761 } ||
83762 {
83763 tmp=./conf$$-$RANDOM
83764 (umask 077 && mkdir "$tmp")
83765 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
83766 ac_tmp=$tmp
83767
83768 # Set up the scripts for CONFIG_FILES section.
83769 # No need to generate them if there are no CONFIG_FILES.
83770 # This happens for instance with `./config.status config.h'.
83771 if test -n "$CONFIG_FILES"; then
83772
83773
83774 ac_cr=`echo X | tr X '\015'`
83775 # On cygwin, bash can eat \r inside `` if the user requested igncr.
83776 # But we know of no other shell where ac_cr would be empty at this
83777 # point, so we can use a bashism as a fallback.
83778 if test "x$ac_cr" = x; then
83779 eval ac_cr=\$\'\\r\'
83780 fi
83781 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
83782 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
83783 ac_cs_awk_cr='\\r'
83784 else
83785 ac_cs_awk_cr=$ac_cr
83786 fi
83787
83788 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
83789 _ACEOF
83790
83791
83792 {
83793 echo "cat >conf$$subs.awk <<_ACEOF" &&
83794 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
83795 echo "_ACEOF"
83796 } >conf$$subs.sh ||
83797 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83798 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
83799 ac_delim='%!_!# '
83800 for ac_last_try in false false false false false :; do
83801 . ./conf$$subs.sh ||
83802 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83803
83804 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
83805 if test $ac_delim_n = $ac_delim_num; then
83806 break
83807 elif $ac_last_try; then
83808 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
83809 else
83810 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83811 fi
83812 done
83813 rm -f conf$$subs.sh
83814
83815 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83816 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
83817 _ACEOF
83818 sed -n '
83819 h
83820 s/^/S["/; s/!.*/"]=/
83821 p
83822 g
83823 s/^[^!]*!//
83824 :repl
83825 t repl
83826 s/'"$ac_delim"'$//
83827 t delim
83828 :nl
83829 h
83830 s/\(.\{148\}\)..*/\1/
83831 t more1
83832 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
83833 p
83834 n
83835 b repl
83836 :more1
83837 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83838 p
83839 g
83840 s/.\{148\}//
83841 t nl
83842 :delim
83843 h
83844 s/\(.\{148\}\)..*/\1/
83845 t more2
83846 s/["\\]/\\&/g; s/^/"/; s/$/"/
83847 p
83848 b
83849 :more2
83850 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
83851 p
83852 g
83853 s/.\{148\}//
83854 t delim
83855 ' <conf$$subs.awk | sed '
83856 /^[^""]/{
83857 N
83858 s/\n//
83859 }
83860 ' >>$CONFIG_STATUS || ac_write_fail=1
83861 rm -f conf$$subs.awk
83862 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83863 _ACAWK
83864 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
83865 for (key in S) S_is_set[key] = 1
83866 FS = "\a"
83867
83868 }
83869 {
83870 line = $ 0
83871 nfields = split(line, field, "@")
83872 substed = 0
83873 len = length(field[1])
83874 for (i = 2; i < nfields; i++) {
83875 key = field[i]
83876 keylen = length(key)
83877 if (S_is_set[key]) {
83878 value = S[key]
83879 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
83880 len += length(value) + length(field[++i])
83881 substed = 1
83882 } else
83883 len += 1 + keylen
83884 }
83885
83886 print line
83887 }
83888
83889 _ACAWK
83890 _ACEOF
83891 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83892 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
83893 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
83894 else
83895 cat
83896 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
83897 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
83898 _ACEOF
83899
83900 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
83901 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
83902 # trailing colons and then remove the whole line if VPATH becomes empty
83903 # (actually we leave an empty line to preserve line numbers).
83904 if test "x$srcdir" = x.; then
83905 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
83906 h
83907 s///
83908 s/^/:/
83909 s/[ ]*$/:/
83910 s/:\$(srcdir):/:/g
83911 s/:\${srcdir}:/:/g
83912 s/:@srcdir@:/:/g
83913 s/^:*//
83914 s/:*$//
83915 x
83916 s/\(=[ ]*\).*/\1/
83917 G
83918 s/\n//
83919 s/^[^=]*=[ ]*$//
83920 }'
83921 fi
83922
83923 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
83924 fi # test -n "$CONFIG_FILES"
83925
83926 # Set up the scripts for CONFIG_HEADERS section.
83927 # No need to generate them if there are no CONFIG_HEADERS.
83928 # This happens for instance with `./config.status Makefile'.
83929 if test -n "$CONFIG_HEADERS"; then
83930 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
83931 BEGIN {
83932 _ACEOF
83933
83934 # Transform confdefs.h into an awk script `defines.awk', embedded as
83935 # here-document in config.status, that substitutes the proper values into
83936 # config.h.in to produce config.h.
83937
83938 # Create a delimiter string that does not exist in confdefs.h, to ease
83939 # handling of long lines.
83940 ac_delim='%!_!# '
83941 for ac_last_try in false false :; do
83942 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
83943 if test -z "$ac_tt"; then
83944 break
83945 elif $ac_last_try; then
83946 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
83947 else
83948 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
83949 fi
83950 done
83951
83952 # For the awk script, D is an array of macro values keyed by name,
83953 # likewise P contains macro parameters if any. Preserve backslash
83954 # newline sequences.
83955
83956 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
83957 sed -n '
83958 s/.\{148\}/&'"$ac_delim"'/g
83959 t rset
83960 :rset
83961 s/^[ ]*#[ ]*define[ ][ ]*/ /
83962 t def
83963 d
83964 :def
83965 s/\\$//
83966 t bsnl
83967 s/["\\]/\\&/g
83968 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83969 D["\1"]=" \3"/p
83970 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
83971 d
83972 :bsnl
83973 s/["\\]/\\&/g
83974 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
83975 D["\1"]=" \3\\\\\\n"\\/p
83976 t cont
83977 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
83978 t cont
83979 d
83980 :cont
83981 n
83982 s/.\{148\}/&'"$ac_delim"'/g
83983 t clear
83984 :clear
83985 s/\\$//
83986 t bsnlc
83987 s/["\\]/\\&/g; s/^/"/; s/$/"/p
83988 d
83989 :bsnlc
83990 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
83991 b cont
83992 ' <confdefs.h | sed '
83993 s/'"$ac_delim"'/"\\\
83994 "/g' >>$CONFIG_STATUS || ac_write_fail=1
83995
83996 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
83997 for (key in D) D_is_set[key] = 1
83998 FS = "\a"
83999 }
84000 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
84001 line = \$ 0
84002 split(line, arg, " ")
84003 if (arg[1] == "#") {
84004 defundef = arg[2]
84005 mac1 = arg[3]
84006 } else {
84007 defundef = substr(arg[1], 2)
84008 mac1 = arg[2]
84009 }
84010 split(mac1, mac2, "(") #)
84011 macro = mac2[1]
84012 prefix = substr(line, 1, index(line, defundef) - 1)
84013 if (D_is_set[macro]) {
84014 # Preserve the white space surrounding the "#".
84015 print prefix "define", macro P[macro] D[macro]
84016 next
84017 } else {
84018 # Replace #undef with comments. This is necessary, for example,
84019 # in the case of _POSIX_SOURCE, which is predefined and required
84020 # on some systems where configure will not decide to define it.
84021 if (defundef == "undef") {
84022 print "/*", prefix defundef, macro, "*/"
84023 next
84024 }
84025 }
84026 }
84027 { print }
84028 _ACAWK
84029 _ACEOF
84030 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84031 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
84032 fi # test -n "$CONFIG_HEADERS"
84033
84034
84035 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
84036 shift
84037 for ac_tag
84038 do
84039 case $ac_tag in
84040 :[FHLC]) ac_mode=$ac_tag; continue;;
84041 esac
84042 case $ac_mode$ac_tag in
84043 :[FHL]*:*);;
84044 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
84045 :[FH]-) ac_tag=-:-;;
84046 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
84047 esac
84048 ac_save_IFS=$IFS
84049 IFS=:
84050 set x $ac_tag
84051 IFS=$ac_save_IFS
84052 shift
84053 ac_file=$1
84054 shift
84055
84056 case $ac_mode in
84057 :L) ac_source=$1;;
84058 :[FH])
84059 ac_file_inputs=
84060 for ac_f
84061 do
84062 case $ac_f in
84063 -) ac_f="$ac_tmp/stdin";;
84064 *) # Look for the file first in the build tree, then in the source tree
84065 # (if the path is not absolute). The absolute path cannot be DOS-style,
84066 # because $ac_f cannot contain `:'.
84067 test -f "$ac_f" ||
84068 case $ac_f in
84069 [\\/$]*) false;;
84070 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
84071 esac ||
84072 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
84073 esac
84074 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
84075 as_fn_append ac_file_inputs " '$ac_f'"
84076 done
84077
84078 # Let's still pretend it is `configure' which instantiates (i.e., don't
84079 # use $as_me), people would be surprised to read:
84080 # /* config.h. Generated by config.status. */
84081 configure_input='Generated from '`
84082 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
84083 `' by configure.'
84084 if test x"$ac_file" != x-; then
84085 configure_input="$ac_file. $configure_input"
84086 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
84087 $as_echo "$as_me: creating $ac_file" >&6;}
84088 fi
84089 # Neutralize special characters interpreted by sed in replacement strings.
84090 case $configure_input in #(
84091 *\&* | *\|* | *\\* )
84092 ac_sed_conf_input=`$as_echo "$configure_input" |
84093 sed 's/[\\\\&|]/\\\\&/g'`;; #(
84094 *) ac_sed_conf_input=$configure_input;;
84095 esac
84096
84097 case $ac_tag in
84098 *:-:* | *:-) cat >"$ac_tmp/stdin" \
84099 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
84100 esac
84101 ;;
84102 esac
84103
84104 ac_dir=`$as_dirname -- "$ac_file" ||
84105 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84106 X"$ac_file" : 'X\(//\)[^/]' \| \
84107 X"$ac_file" : 'X\(//\)$' \| \
84108 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
84109 $as_echo X"$ac_file" |
84110 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
84111 s//\1/
84112 q
84113 }
84114 /^X\(\/\/\)[^/].*/{
84115 s//\1/
84116 q
84117 }
84118 /^X\(\/\/\)$/{
84119 s//\1/
84120 q
84121 }
84122 /^X\(\/\).*/{
84123 s//\1/
84124 q
84125 }
84126 s/.*/./; q'`
84127 as_dir="$ac_dir"; as_fn_mkdir_p
84128 ac_builddir=.
84129
84130 case "$ac_dir" in
84131 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
84132 *)
84133 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
84134 # A ".." for each directory in $ac_dir_suffix.
84135 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
84136 case $ac_top_builddir_sub in
84137 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
84138 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
84139 esac ;;
84140 esac
84141 ac_abs_top_builddir=$ac_pwd
84142 ac_abs_builddir=$ac_pwd$ac_dir_suffix
84143 # for backward compatibility:
84144 ac_top_builddir=$ac_top_build_prefix
84145
84146 case $srcdir in
84147 .) # We are building in place.
84148 ac_srcdir=.
84149 ac_top_srcdir=$ac_top_builddir_sub
84150 ac_abs_top_srcdir=$ac_pwd ;;
84151 [\\/]* | ?:[\\/]* ) # Absolute name.
84152 ac_srcdir=$srcdir$ac_dir_suffix;
84153 ac_top_srcdir=$srcdir
84154 ac_abs_top_srcdir=$srcdir ;;
84155 *) # Relative name.
84156 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
84157 ac_top_srcdir=$ac_top_build_prefix$srcdir
84158 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
84159 esac
84160 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
84161
84162
84163 case $ac_mode in
84164 :F)
84165 #
84166 # CONFIG_FILE
84167 #
84168
84169 case $INSTALL in
84170 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
84171 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
84172 esac
84173 ac_MKDIR_P=$MKDIR_P
84174 case $MKDIR_P in
84175 [\\/$]* | ?:[\\/]* ) ;;
84176 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
84177 esac
84178 _ACEOF
84179
84180 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84181 # If the template does not know about datarootdir, expand it.
84182 # FIXME: This hack should be removed a few years after 2.60.
84183 ac_datarootdir_hack=; ac_datarootdir_seen=
84184 ac_sed_dataroot='
84185 /datarootdir/ {
84186 p
84187 q
84188 }
84189 /@datadir@/p
84190 /@docdir@/p
84191 /@infodir@/p
84192 /@localedir@/p
84193 /@mandir@/p'
84194 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
84195 *datarootdir*) ac_datarootdir_seen=yes;;
84196 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
84197 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
84198 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
84199 _ACEOF
84200 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84201 ac_datarootdir_hack='
84202 s&@datadir@&$datadir&g
84203 s&@docdir@&$docdir&g
84204 s&@infodir@&$infodir&g
84205 s&@localedir@&$localedir&g
84206 s&@mandir@&$mandir&g
84207 s&\\\${datarootdir}&$datarootdir&g' ;;
84208 esac
84209 _ACEOF
84210
84211 # Neutralize VPATH when `$srcdir' = `.'.
84212 # Shell code in configure.ac might set extrasub.
84213 # FIXME: do we really want to maintain this feature?
84214 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
84215 ac_sed_extra="$ac_vpsub
84216 $extrasub
84217 _ACEOF
84218 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
84219 :t
84220 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
84221 s|@configure_input@|$ac_sed_conf_input|;t t
84222 s&@top_builddir@&$ac_top_builddir_sub&;t t
84223 s&@top_build_prefix@&$ac_top_build_prefix&;t t
84224 s&@srcdir@&$ac_srcdir&;t t
84225 s&@abs_srcdir@&$ac_abs_srcdir&;t t
84226 s&@top_srcdir@&$ac_top_srcdir&;t t
84227 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
84228 s&@builddir@&$ac_builddir&;t t
84229 s&@abs_builddir@&$ac_abs_builddir&;t t
84230 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
84231 s&@INSTALL@&$ac_INSTALL&;t t
84232 s&@MKDIR_P@&$ac_MKDIR_P&;t t
84233 $ac_datarootdir_hack
84234 "
84235 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
84236 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84237
84238 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
84239 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
84240 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
84241 "$ac_tmp/out"`; test -z "$ac_out"; } &&
84242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
84243 which seems to be undefined. Please make sure it is defined" >&5
84244 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
84245 which seems to be undefined. Please make sure it is defined" >&2;}
84246
84247 rm -f "$ac_tmp/stdin"
84248 case $ac_file in
84249 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
84250 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
84251 esac \
84252 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84253 ;;
84254 :H)
84255 #
84256 # CONFIG_HEADER
84257 #
84258 if test x"$ac_file" != x-; then
84259 {
84260 $as_echo "/* $configure_input */" \
84261 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
84262 } >"$ac_tmp/config.h" \
84263 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84264 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
84265 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
84266 $as_echo "$as_me: $ac_file is unchanged" >&6;}
84267 else
84268 rm -f "$ac_file"
84269 mv "$ac_tmp/config.h" "$ac_file" \
84270 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
84271 fi
84272 else
84273 $as_echo "/* $configure_input */" \
84274 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
84275 || as_fn_error $? "could not create -" "$LINENO" 5
84276 fi
84277 # Compute "$ac_file"'s index in $config_headers.
84278 _am_arg="$ac_file"
84279 _am_stamp_count=1
84280 for _am_header in $config_headers :; do
84281 case $_am_header in
84282 $_am_arg | $_am_arg:* )
84283 break ;;
84284 * )
84285 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
84286 esac
84287 done
84288 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
84289 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
84290 X"$_am_arg" : 'X\(//\)[^/]' \| \
84291 X"$_am_arg" : 'X\(//\)$' \| \
84292 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
84293 $as_echo X"$_am_arg" |
84294 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
84295 s//\1/
84296 q
84297 }
84298 /^X\(\/\/\)[^/].*/{
84299 s//\1/
84300 q
84301 }
84302 /^X\(\/\/\)$/{
84303 s//\1/
84304 q
84305 }
84306 /^X\(\/\).*/{
84307 s//\1/
84308 q
84309 }
84310 s/.*/./; q'`/stamp-h$_am_stamp_count
84311 ;;
84312
84313 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
84314 $as_echo "$as_me: executing $ac_file commands" >&6;}
84315 ;;
84316 esac
84317
84318
84319 case $ac_file$ac_mode in
84320 "default-1":C)
84321 # Only add multilib support code if we just rebuilt the top-level
84322 # Makefile.
84323 case " $CONFIG_FILES " in
84324 *" Makefile "*)
84325 ac_file=Makefile . ${multi_basedir}/config-ml.in
84326 ;;
84327 esac ;;
84328 "libtool":C)
84329
84330 # See if we are running on zsh, and set the options which allow our
84331 # commands through without removal of \ escapes.
84332 if test -n "${ZSH_VERSION+set}" ; then
84333 setopt NO_GLOB_SUBST
84334 fi
84335
84336 cfgfile="${ofile}T"
84337 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
84338 $RM "$cfgfile"
84339
84340 cat <<_LT_EOF >> "$cfgfile"
84341 #! $SHELL
84342
84343 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
84344 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
84345 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
84346 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
84347 #
84348 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
84349 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
84350 # Written by Gordon Matzigkeit, 1996
84351 #
84352 # This file is part of GNU Libtool.
84353 #
84354 # GNU Libtool is free software; you can redistribute it and/or
84355 # modify it under the terms of the GNU General Public License as
84356 # published by the Free Software Foundation; either version 2 of
84357 # the License, or (at your option) any later version.
84358 #
84359 # As a special exception to the GNU General Public License,
84360 # if you distribute this file as part of a program or library that
84361 # is built using GNU Libtool, you may include this file under the
84362 # same distribution terms that you use for the rest of that program.
84363 #
84364 # GNU Libtool is distributed in the hope that it will be useful,
84365 # but WITHOUT ANY WARRANTY; without even the implied warranty of
84366 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
84367 # GNU General Public License for more details.
84368 #
84369 # You should have received a copy of the GNU General Public License
84370 # along with GNU Libtool; see the file COPYING. If not, a copy
84371 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
84372 # obtained by writing to the Free Software Foundation, Inc.,
84373 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
84374
84375
84376 # The names of the tagged configurations supported by this script.
84377 available_tags="CXX "
84378
84379 # ### BEGIN LIBTOOL CONFIG
84380
84381 # Which release of libtool.m4 was used?
84382 macro_version=$macro_version
84383 macro_revision=$macro_revision
84384
84385 # Whether or not to build shared libraries.
84386 build_libtool_libs=$enable_shared
84387
84388 # Whether or not to build static libraries.
84389 build_old_libs=$enable_static
84390
84391 # What type of objects to build.
84392 pic_mode=$pic_mode
84393
84394 # Whether or not to optimize for fast installation.
84395 fast_install=$enable_fast_install
84396
84397 # Shell to use when invoking shell scripts.
84398 SHELL=$lt_SHELL
84399
84400 # An echo program that protects backslashes.
84401 ECHO=$lt_ECHO
84402
84403 # The host system.
84404 host_alias=$host_alias
84405 host=$host
84406 host_os=$host_os
84407
84408 # The build system.
84409 build_alias=$build_alias
84410 build=$build
84411 build_os=$build_os
84412
84413 # A sed program that does not truncate output.
84414 SED=$lt_SED
84415
84416 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
84417 Xsed="\$SED -e 1s/^X//"
84418
84419 # A grep program that handles long lines.
84420 GREP=$lt_GREP
84421
84422 # An ERE matcher.
84423 EGREP=$lt_EGREP
84424
84425 # A literal string matcher.
84426 FGREP=$lt_FGREP
84427
84428 # A BSD- or MS-compatible name lister.
84429 NM=$lt_NM
84430
84431 # Whether we need soft or hard links.
84432 LN_S=$lt_LN_S
84433
84434 # What is the maximum length of a command?
84435 max_cmd_len=$max_cmd_len
84436
84437 # Object file suffix (normally "o").
84438 objext=$ac_objext
84439
84440 # Executable file suffix (normally "").
84441 exeext=$exeext
84442
84443 # whether the shell understands "unset".
84444 lt_unset=$lt_unset
84445
84446 # turn spaces into newlines.
84447 SP2NL=$lt_lt_SP2NL
84448
84449 # turn newlines into spaces.
84450 NL2SP=$lt_lt_NL2SP
84451
84452 # An object symbol dumper.
84453 OBJDUMP=$lt_OBJDUMP
84454
84455 # Method to check whether dependent libraries are shared objects.
84456 deplibs_check_method=$lt_deplibs_check_method
84457
84458 # Command to use when deplibs_check_method == "file_magic".
84459 file_magic_cmd=$lt_file_magic_cmd
84460
84461 # The archiver.
84462 AR=$lt_AR
84463 AR_FLAGS=$lt_AR_FLAGS
84464
84465 # A symbol stripping program.
84466 STRIP=$lt_STRIP
84467
84468 # Commands used to install an old-style archive.
84469 RANLIB=$lt_RANLIB
84470 old_postinstall_cmds=$lt_old_postinstall_cmds
84471 old_postuninstall_cmds=$lt_old_postuninstall_cmds
84472
84473 # Whether to use a lock for old archive extraction.
84474 lock_old_archive_extraction=$lock_old_archive_extraction
84475
84476 # A C compiler.
84477 LTCC=$lt_CC
84478
84479 # LTCC compiler flags.
84480 LTCFLAGS=$lt_CFLAGS
84481
84482 # Take the output of nm and produce a listing of raw symbols and C names.
84483 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
84484
84485 # Transform the output of nm in a proper C declaration.
84486 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
84487
84488 # Transform the output of nm in a C name address pair.
84489 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
84490
84491 # Transform the output of nm in a C name address pair when lib prefix is needed.
84492 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
84493
84494 # The name of the directory that contains temporary libtool files.
84495 objdir=$objdir
84496
84497 # Used to examine libraries when file_magic_cmd begins with "file".
84498 MAGIC_CMD=$MAGIC_CMD
84499
84500 # Must we lock files when doing compilation?
84501 need_locks=$lt_need_locks
84502
84503 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
84504 DSYMUTIL=$lt_DSYMUTIL
84505
84506 # Tool to change global to local symbols on Mac OS X.
84507 NMEDIT=$lt_NMEDIT
84508
84509 # Tool to manipulate fat objects and archives on Mac OS X.
84510 LIPO=$lt_LIPO
84511
84512 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
84513 OTOOL=$lt_OTOOL
84514
84515 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
84516 OTOOL64=$lt_OTOOL64
84517
84518 # Old archive suffix (normally "a").
84519 libext=$libext
84520
84521 # Shared library suffix (normally ".so").
84522 shrext_cmds=$lt_shrext_cmds
84523
84524 # The commands to extract the exported symbol list from a shared archive.
84525 extract_expsyms_cmds=$lt_extract_expsyms_cmds
84526
84527 # Variables whose values should be saved in libtool wrapper scripts and
84528 # restored at link time.
84529 variables_saved_for_relink=$lt_variables_saved_for_relink
84530
84531 # Do we need the "lib" prefix for modules?
84532 need_lib_prefix=$need_lib_prefix
84533
84534 # Do we need a version for libraries?
84535 need_version=$need_version
84536
84537 # Library versioning type.
84538 version_type=$version_type
84539
84540 # Shared library runtime path variable.
84541 runpath_var=$runpath_var
84542
84543 # Shared library path variable.
84544 shlibpath_var=$shlibpath_var
84545
84546 # Is shlibpath searched before the hard-coded library search path?
84547 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
84548
84549 # Format of library name prefix.
84550 libname_spec=$lt_libname_spec
84551
84552 # List of archive names. First name is the real one, the rest are links.
84553 # The last name is the one that the linker finds with -lNAME
84554 library_names_spec=$lt_library_names_spec
84555
84556 # The coded name of the library, if different from the real name.
84557 soname_spec=$lt_soname_spec
84558
84559 # Permission mode override for installation of shared libraries.
84560 install_override_mode=$lt_install_override_mode
84561
84562 # Command to use after installation of a shared archive.
84563 postinstall_cmds=$lt_postinstall_cmds
84564
84565 # Command to use after uninstallation of a shared archive.
84566 postuninstall_cmds=$lt_postuninstall_cmds
84567
84568 # Commands used to finish a libtool library installation in a directory.
84569 finish_cmds=$lt_finish_cmds
84570
84571 # As "finish_cmds", except a single script fragment to be evaled but
84572 # not shown.
84573 finish_eval=$lt_finish_eval
84574
84575 # Whether we should hardcode library paths into libraries.
84576 hardcode_into_libs=$hardcode_into_libs
84577
84578 # Compile-time system search path for libraries.
84579 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
84580
84581 # Run-time system search path for libraries.
84582 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
84583
84584 # Whether dlopen is supported.
84585 dlopen_support=$enable_dlopen
84586
84587 # Whether dlopen of programs is supported.
84588 dlopen_self=$enable_dlopen_self
84589
84590 # Whether dlopen of statically linked programs is supported.
84591 dlopen_self_static=$enable_dlopen_self_static
84592
84593 # Commands to strip libraries.
84594 old_striplib=$lt_old_striplib
84595 striplib=$lt_striplib
84596
84597
84598 # The linker used to build libraries.
84599 LD=$lt_LD
84600
84601 # How to create reloadable object files.
84602 reload_flag=$lt_reload_flag
84603 reload_cmds=$lt_reload_cmds
84604
84605 # Commands used to build an old-style archive.
84606 old_archive_cmds=$lt_old_archive_cmds
84607
84608 # A language specific compiler.
84609 CC=$lt_compiler
84610
84611 # Is the compiler the GNU compiler?
84612 with_gcc=$GCC
84613
84614 # Compiler flag to turn off builtin functions.
84615 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
84616
84617 # How to pass a linker flag through the compiler.
84618 wl=$lt_lt_prog_compiler_wl
84619
84620 # Additional compiler flags for building library objects.
84621 pic_flag=$lt_lt_prog_compiler_pic
84622
84623 # Compiler flag to prevent dynamic linking.
84624 link_static_flag=$lt_lt_prog_compiler_static
84625
84626 # Does compiler simultaneously support -c and -o options?
84627 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
84628
84629 # Whether or not to add -lc for building shared libraries.
84630 build_libtool_need_lc=$archive_cmds_need_lc
84631
84632 # Whether or not to disallow shared libs when runtime libs are static.
84633 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
84634
84635 # Compiler flag to allow reflexive dlopens.
84636 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
84637
84638 # Compiler flag to generate shared objects directly from archives.
84639 whole_archive_flag_spec=$lt_whole_archive_flag_spec
84640
84641 # Whether the compiler copes with passing no objects directly.
84642 compiler_needs_object=$lt_compiler_needs_object
84643
84644 # Create an old-style archive from a shared archive.
84645 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
84646
84647 # Create a temporary old-style archive to link instead of a shared archive.
84648 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
84649
84650 # Commands used to build a shared archive.
84651 archive_cmds=$lt_archive_cmds
84652 archive_expsym_cmds=$lt_archive_expsym_cmds
84653
84654 # Commands used to build a loadable module if different from building
84655 # a shared archive.
84656 module_cmds=$lt_module_cmds
84657 module_expsym_cmds=$lt_module_expsym_cmds
84658
84659 # Whether we are building with GNU ld or not.
84660 with_gnu_ld=$lt_with_gnu_ld
84661
84662 # Flag that allows shared libraries with undefined symbols to be built.
84663 allow_undefined_flag=$lt_allow_undefined_flag
84664
84665 # Flag that enforces no undefined symbols.
84666 no_undefined_flag=$lt_no_undefined_flag
84667
84668 # Flag to hardcode \$libdir into a binary during linking.
84669 # This must work even if \$libdir does not exist
84670 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
84671
84672 # If ld is used when linking, flag to hardcode \$libdir into a binary
84673 # during linking. This must work even if \$libdir does not exist.
84674 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
84675
84676 # Whether we need a single "-rpath" flag with a separated argument.
84677 hardcode_libdir_separator=$lt_hardcode_libdir_separator
84678
84679 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84680 # DIR into the resulting binary.
84681 hardcode_direct=$hardcode_direct
84682
84683 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
84684 # DIR into the resulting binary and the resulting library dependency is
84685 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
84686 # library is relocated.
84687 hardcode_direct_absolute=$hardcode_direct_absolute
84688
84689 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
84690 # into the resulting binary.
84691 hardcode_minus_L=$hardcode_minus_L
84692
84693 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
84694 # into the resulting binary.
84695 hardcode_shlibpath_var=$hardcode_shlibpath_var
84696
84697 # Set to "yes" if building a shared library automatically hardcodes DIR
84698 # into the library and all subsequent libraries and executables linked
84699 # against it.
84700 hardcode_automatic=$hardcode_automatic
84701
84702 # Set to yes if linker adds runtime paths of dependent libraries
84703 # to runtime path list.
84704 inherit_rpath=$inherit_rpath
84705
84706 # Whether libtool must link a program against all its dependency libraries.
84707 link_all_deplibs=$link_all_deplibs
84708
84709 # Fix the shell variable \$srcfile for the compiler.
84710 fix_srcfile_path=$lt_fix_srcfile_path
84711
84712 # Set to "yes" if exported symbols are required.
84713 always_export_symbols=$always_export_symbols
84714
84715 # The commands to list exported symbols.
84716 export_symbols_cmds=$lt_export_symbols_cmds
84717
84718 # Symbols that should not be listed in the preloaded symbols.
84719 exclude_expsyms=$lt_exclude_expsyms
84720
84721 # Symbols that must always be exported.
84722 include_expsyms=$lt_include_expsyms
84723
84724 # Commands necessary for linking programs (against libraries) with templates.
84725 prelink_cmds=$lt_prelink_cmds
84726
84727 # Specify filename containing input files.
84728 file_list_spec=$lt_file_list_spec
84729
84730 # How to hardcode a shared library path into an executable.
84731 hardcode_action=$hardcode_action
84732
84733 # The directories searched by this compiler when creating a shared library.
84734 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
84735
84736 # Dependencies to place before and after the objects being linked to
84737 # create a shared library.
84738 predep_objects=$lt_predep_objects
84739 postdep_objects=$lt_postdep_objects
84740 predeps=$lt_predeps
84741 postdeps=$lt_postdeps
84742
84743 # The library search path used internally by the compiler when linking
84744 # a shared library.
84745 compiler_lib_search_path=$lt_compiler_lib_search_path
84746
84747 # ### END LIBTOOL CONFIG
84748
84749 _LT_EOF
84750
84751 case $host_os in
84752 aix3*)
84753 cat <<\_LT_EOF >> "$cfgfile"
84754 # AIX sometimes has problems with the GCC collect2 program. For some
84755 # reason, if we set the COLLECT_NAMES environment variable, the problems
84756 # vanish in a puff of smoke.
84757 if test "X${COLLECT_NAMES+set}" != Xset; then
84758 COLLECT_NAMES=
84759 export COLLECT_NAMES
84760 fi
84761 _LT_EOF
84762 ;;
84763 esac
84764
84765
84766 ltmain="$ac_aux_dir/ltmain.sh"
84767
84768
84769 # We use sed instead of cat because bash on DJGPP gets confused if
84770 # if finds mixed CR/LF and LF-only lines. Since sed operates in
84771 # text mode, it properly converts lines to CR/LF. This bash problem
84772 # is reportedly fixed, but why not run on old versions too?
84773 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
84774 || (rm -f "$cfgfile"; exit 1)
84775
84776 case $xsi_shell in
84777 yes)
84778 cat << \_LT_EOF >> "$cfgfile"
84779
84780 # func_dirname file append nondir_replacement
84781 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84782 # otherwise set result to NONDIR_REPLACEMENT.
84783 func_dirname ()
84784 {
84785 case ${1} in
84786 */*) func_dirname_result="${1%/*}${2}" ;;
84787 * ) func_dirname_result="${3}" ;;
84788 esac
84789 }
84790
84791 # func_basename file
84792 func_basename ()
84793 {
84794 func_basename_result="${1##*/}"
84795 }
84796
84797 # func_dirname_and_basename file append nondir_replacement
84798 # perform func_basename and func_dirname in a single function
84799 # call:
84800 # dirname: Compute the dirname of FILE. If nonempty,
84801 # add APPEND to the result, otherwise set result
84802 # to NONDIR_REPLACEMENT.
84803 # value returned in "$func_dirname_result"
84804 # basename: Compute filename of FILE.
84805 # value retuned in "$func_basename_result"
84806 # Implementation must be kept synchronized with func_dirname
84807 # and func_basename. For efficiency, we do not delegate to
84808 # those functions but instead duplicate the functionality here.
84809 func_dirname_and_basename ()
84810 {
84811 case ${1} in
84812 */*) func_dirname_result="${1%/*}${2}" ;;
84813 * ) func_dirname_result="${3}" ;;
84814 esac
84815 func_basename_result="${1##*/}"
84816 }
84817
84818 # func_stripname prefix suffix name
84819 # strip PREFIX and SUFFIX off of NAME.
84820 # PREFIX and SUFFIX must not contain globbing or regex special
84821 # characters, hashes, percent signs, but SUFFIX may contain a leading
84822 # dot (in which case that matches only a dot).
84823 func_stripname ()
84824 {
84825 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
84826 # positional parameters, so assign one to ordinary parameter first.
84827 func_stripname_result=${3}
84828 func_stripname_result=${func_stripname_result#"${1}"}
84829 func_stripname_result=${func_stripname_result%"${2}"}
84830 }
84831
84832 # func_opt_split
84833 func_opt_split ()
84834 {
84835 func_opt_split_opt=${1%%=*}
84836 func_opt_split_arg=${1#*=}
84837 }
84838
84839 # func_lo2o object
84840 func_lo2o ()
84841 {
84842 case ${1} in
84843 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
84844 *) func_lo2o_result=${1} ;;
84845 esac
84846 }
84847
84848 # func_xform libobj-or-source
84849 func_xform ()
84850 {
84851 func_xform_result=${1%.*}.lo
84852 }
84853
84854 # func_arith arithmetic-term...
84855 func_arith ()
84856 {
84857 func_arith_result=$(( $* ))
84858 }
84859
84860 # func_len string
84861 # STRING may not start with a hyphen.
84862 func_len ()
84863 {
84864 func_len_result=${#1}
84865 }
84866
84867 _LT_EOF
84868 ;;
84869 *) # Bourne compatible functions.
84870 cat << \_LT_EOF >> "$cfgfile"
84871
84872 # func_dirname file append nondir_replacement
84873 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
84874 # otherwise set result to NONDIR_REPLACEMENT.
84875 func_dirname ()
84876 {
84877 # Extract subdirectory from the argument.
84878 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
84879 if test "X$func_dirname_result" = "X${1}"; then
84880 func_dirname_result="${3}"
84881 else
84882 func_dirname_result="$func_dirname_result${2}"
84883 fi
84884 }
84885
84886 # func_basename file
84887 func_basename ()
84888 {
84889 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
84890 }
84891
84892
84893 # func_stripname prefix suffix name
84894 # strip PREFIX and SUFFIX off of NAME.
84895 # PREFIX and SUFFIX must not contain globbing or regex special
84896 # characters, hashes, percent signs, but SUFFIX may contain a leading
84897 # dot (in which case that matches only a dot).
84898 # func_strip_suffix prefix name
84899 func_stripname ()
84900 {
84901 case ${2} in
84902 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
84903 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
84904 esac
84905 }
84906
84907 # sed scripts:
84908 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
84909 my_sed_long_arg='1s/^-[^=]*=//'
84910
84911 # func_opt_split
84912 func_opt_split ()
84913 {
84914 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
84915 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
84916 }
84917
84918 # func_lo2o object
84919 func_lo2o ()
84920 {
84921 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
84922 }
84923
84924 # func_xform libobj-or-source
84925 func_xform ()
84926 {
84927 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
84928 }
84929
84930 # func_arith arithmetic-term...
84931 func_arith ()
84932 {
84933 func_arith_result=`expr "$@"`
84934 }
84935
84936 # func_len string
84937 # STRING may not start with a hyphen.
84938 func_len ()
84939 {
84940 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
84941 }
84942
84943 _LT_EOF
84944 esac
84945
84946 case $lt_shell_append in
84947 yes)
84948 cat << \_LT_EOF >> "$cfgfile"
84949
84950 # func_append var value
84951 # Append VALUE to the end of shell variable VAR.
84952 func_append ()
84953 {
84954 eval "$1+=\$2"
84955 }
84956 _LT_EOF
84957 ;;
84958 *)
84959 cat << \_LT_EOF >> "$cfgfile"
84960
84961 # func_append var value
84962 # Append VALUE to the end of shell variable VAR.
84963 func_append ()
84964 {
84965 eval "$1=\$$1\$2"
84966 }
84967
84968 _LT_EOF
84969 ;;
84970 esac
84971
84972
84973 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
84974 || (rm -f "$cfgfile"; exit 1)
84975
84976 mv -f "$cfgfile" "$ofile" ||
84977 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
84978 chmod +x "$ofile"
84979
84980
84981 cat <<_LT_EOF >> "$ofile"
84982
84983 # ### BEGIN LIBTOOL TAG CONFIG: CXX
84984
84985 # The linker used to build libraries.
84986 LD=$lt_LD_CXX
84987
84988 # How to create reloadable object files.
84989 reload_flag=$lt_reload_flag_CXX
84990 reload_cmds=$lt_reload_cmds_CXX
84991
84992 # Commands used to build an old-style archive.
84993 old_archive_cmds=$lt_old_archive_cmds_CXX
84994
84995 # A language specific compiler.
84996 CC=$lt_compiler_CXX
84997
84998 # Is the compiler the GNU compiler?
84999 with_gcc=$GCC_CXX
85000
85001 # Compiler flag to turn off builtin functions.
85002 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
85003
85004 # How to pass a linker flag through the compiler.
85005 wl=$lt_lt_prog_compiler_wl_CXX
85006
85007 # Additional compiler flags for building library objects.
85008 pic_flag=$lt_lt_prog_compiler_pic_CXX
85009
85010 # Compiler flag to prevent dynamic linking.
85011 link_static_flag=$lt_lt_prog_compiler_static_CXX
85012
85013 # Does compiler simultaneously support -c and -o options?
85014 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
85015
85016 # Whether or not to add -lc for building shared libraries.
85017 build_libtool_need_lc=$archive_cmds_need_lc_CXX
85018
85019 # Whether or not to disallow shared libs when runtime libs are static.
85020 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
85021
85022 # Compiler flag to allow reflexive dlopens.
85023 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
85024
85025 # Compiler flag to generate shared objects directly from archives.
85026 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
85027
85028 # Whether the compiler copes with passing no objects directly.
85029 compiler_needs_object=$lt_compiler_needs_object_CXX
85030
85031 # Create an old-style archive from a shared archive.
85032 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
85033
85034 # Create a temporary old-style archive to link instead of a shared archive.
85035 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
85036
85037 # Commands used to build a shared archive.
85038 archive_cmds=$lt_archive_cmds_CXX
85039 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
85040
85041 # Commands used to build a loadable module if different from building
85042 # a shared archive.
85043 module_cmds=$lt_module_cmds_CXX
85044 module_expsym_cmds=$lt_module_expsym_cmds_CXX
85045
85046 # Whether we are building with GNU ld or not.
85047 with_gnu_ld=$lt_with_gnu_ld_CXX
85048
85049 # Flag that allows shared libraries with undefined symbols to be built.
85050 allow_undefined_flag=$lt_allow_undefined_flag_CXX
85051
85052 # Flag that enforces no undefined symbols.
85053 no_undefined_flag=$lt_no_undefined_flag_CXX
85054
85055 # Flag to hardcode \$libdir into a binary during linking.
85056 # This must work even if \$libdir does not exist
85057 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
85058
85059 # If ld is used when linking, flag to hardcode \$libdir into a binary
85060 # during linking. This must work even if \$libdir does not exist.
85061 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
85062
85063 # Whether we need a single "-rpath" flag with a separated argument.
85064 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
85065
85066 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
85067 # DIR into the resulting binary.
85068 hardcode_direct=$hardcode_direct_CXX
85069
85070 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
85071 # DIR into the resulting binary and the resulting library dependency is
85072 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
85073 # library is relocated.
85074 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
85075
85076 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
85077 # into the resulting binary.
85078 hardcode_minus_L=$hardcode_minus_L_CXX
85079
85080 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
85081 # into the resulting binary.
85082 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
85083
85084 # Set to "yes" if building a shared library automatically hardcodes DIR
85085 # into the library and all subsequent libraries and executables linked
85086 # against it.
85087 hardcode_automatic=$hardcode_automatic_CXX
85088
85089 # Set to yes if linker adds runtime paths of dependent libraries
85090 # to runtime path list.
85091 inherit_rpath=$inherit_rpath_CXX
85092
85093 # Whether libtool must link a program against all its dependency libraries.
85094 link_all_deplibs=$link_all_deplibs_CXX
85095
85096 # Fix the shell variable \$srcfile for the compiler.
85097 fix_srcfile_path=$lt_fix_srcfile_path_CXX
85098
85099 # Set to "yes" if exported symbols are required.
85100 always_export_symbols=$always_export_symbols_CXX
85101
85102 # The commands to list exported symbols.
85103 export_symbols_cmds=$lt_export_symbols_cmds_CXX
85104
85105 # Symbols that should not be listed in the preloaded symbols.
85106 exclude_expsyms=$lt_exclude_expsyms_CXX
85107
85108 # Symbols that must always be exported.
85109 include_expsyms=$lt_include_expsyms_CXX
85110
85111 # Commands necessary for linking programs (against libraries) with templates.
85112 prelink_cmds=$lt_prelink_cmds_CXX
85113
85114 # Specify filename containing input files.
85115 file_list_spec=$lt_file_list_spec_CXX
85116
85117 # How to hardcode a shared library path into an executable.
85118 hardcode_action=$hardcode_action_CXX
85119
85120 # The directories searched by this compiler when creating a shared library.
85121 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
85122
85123 # Dependencies to place before and after the objects being linked to
85124 # create a shared library.
85125 predep_objects=$lt_predep_objects_CXX
85126 postdep_objects=$lt_postdep_objects_CXX
85127 predeps=$lt_predeps_CXX
85128 postdeps=$lt_postdeps_CXX
85129
85130 # The library search path used internally by the compiler when linking
85131 # a shared library.
85132 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
85133
85134 # ### END LIBTOOL TAG CONFIG: CXX
85135 _LT_EOF
85136
85137 ;;
85138 "include/gstdint.h":C)
85139 if test "$GCC" = yes; then
85140 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
85141 else
85142 echo "/* generated for $CC */" > tmp-stdint.h
85143 fi
85144
85145 sed 's/^ *//' >> tmp-stdint.h <<EOF
85146
85147 #ifndef GCC_GENERATED_STDINT_H
85148 #define GCC_GENERATED_STDINT_H 1
85149
85150 #include <sys/types.h>
85151 EOF
85152
85153 if test "$acx_cv_header_stdint" != stdint.h; then
85154 echo "#include <stddef.h>" >> tmp-stdint.h
85155 fi
85156 if test "$acx_cv_header_stdint" != stddef.h; then
85157 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
85158 fi
85159
85160 sed 's/^ *//' >> tmp-stdint.h <<EOF
85161 /* glibc uses these symbols as guards to prevent redefinitions. */
85162 #ifdef __int8_t_defined
85163 #define _INT8_T
85164 #define _INT16_T
85165 #define _INT32_T
85166 #endif
85167 #ifdef __uint32_t_defined
85168 #define _UINT32_T
85169 #endif
85170
85171 EOF
85172
85173 # ----------------- done header, emit basic int types -------------
85174 if test "$acx_cv_header_stdint" = stddef.h; then
85175 sed 's/^ *//' >> tmp-stdint.h <<EOF
85176
85177 #ifndef _UINT8_T
85178 #define _UINT8_T
85179 #ifndef __uint8_t_defined
85180 #define __uint8_t_defined
85181 #ifndef uint8_t
85182 typedef unsigned $acx_cv_type_int8_t uint8_t;
85183 #endif
85184 #endif
85185 #endif
85186
85187 #ifndef _UINT16_T
85188 #define _UINT16_T
85189 #ifndef __uint16_t_defined
85190 #define __uint16_t_defined
85191 #ifndef uint16_t
85192 typedef unsigned $acx_cv_type_int16_t uint16_t;
85193 #endif
85194 #endif
85195 #endif
85196
85197 #ifndef _UINT32_T
85198 #define _UINT32_T
85199 #ifndef __uint32_t_defined
85200 #define __uint32_t_defined
85201 #ifndef uint32_t
85202 typedef unsigned $acx_cv_type_int32_t uint32_t;
85203 #endif
85204 #endif
85205 #endif
85206
85207 #ifndef _INT8_T
85208 #define _INT8_T
85209 #ifndef __int8_t_defined
85210 #define __int8_t_defined
85211 #ifndef int8_t
85212 typedef $acx_cv_type_int8_t int8_t;
85213 #endif
85214 #endif
85215 #endif
85216
85217 #ifndef _INT16_T
85218 #define _INT16_T
85219 #ifndef __int16_t_defined
85220 #define __int16_t_defined
85221 #ifndef int16_t
85222 typedef $acx_cv_type_int16_t int16_t;
85223 #endif
85224 #endif
85225 #endif
85226
85227 #ifndef _INT32_T
85228 #define _INT32_T
85229 #ifndef __int32_t_defined
85230 #define __int32_t_defined
85231 #ifndef int32_t
85232 typedef $acx_cv_type_int32_t int32_t;
85233 #endif
85234 #endif
85235 #endif
85236 EOF
85237 elif test "$ac_cv_type_u_int32_t" = yes; then
85238 sed 's/^ *//' >> tmp-stdint.h <<EOF
85239
85240 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
85241 #ifndef _INT8_T
85242 #define _INT8_T
85243 #endif
85244 #ifndef _INT16_T
85245 #define _INT16_T
85246 #endif
85247 #ifndef _INT32_T
85248 #define _INT32_T
85249 #endif
85250
85251 #ifndef _UINT8_T
85252 #define _UINT8_T
85253 #ifndef __uint8_t_defined
85254 #define __uint8_t_defined
85255 #ifndef uint8_t
85256 typedef u_int8_t uint8_t;
85257 #endif
85258 #endif
85259 #endif
85260
85261 #ifndef _UINT16_T
85262 #define _UINT16_T
85263 #ifndef __uint16_t_defined
85264 #define __uint16_t_defined
85265 #ifndef uint16_t
85266 typedef u_int16_t uint16_t;
85267 #endif
85268 #endif
85269 #endif
85270
85271 #ifndef _UINT32_T
85272 #define _UINT32_T
85273 #ifndef __uint32_t_defined
85274 #define __uint32_t_defined
85275 #ifndef uint32_t
85276 typedef u_int32_t uint32_t;
85277 #endif
85278 #endif
85279 #endif
85280 EOF
85281 else
85282 sed 's/^ *//' >> tmp-stdint.h <<EOF
85283
85284 /* Some systems have guard macros to prevent redefinitions, define them. */
85285 #ifndef _INT8_T
85286 #define _INT8_T
85287 #endif
85288 #ifndef _INT16_T
85289 #define _INT16_T
85290 #endif
85291 #ifndef _INT32_T
85292 #define _INT32_T
85293 #endif
85294 #ifndef _UINT8_T
85295 #define _UINT8_T
85296 #endif
85297 #ifndef _UINT16_T
85298 #define _UINT16_T
85299 #endif
85300 #ifndef _UINT32_T
85301 #define _UINT32_T
85302 #endif
85303 EOF
85304 fi
85305
85306 # ------------- done basic int types, emit int64_t types ------------
85307 if test "$ac_cv_type_uint64_t" = yes; then
85308 sed 's/^ *//' >> tmp-stdint.h <<EOF
85309
85310 /* system headers have good uint64_t and int64_t */
85311 #ifndef _INT64_T
85312 #define _INT64_T
85313 #endif
85314 #ifndef _UINT64_T
85315 #define _UINT64_T
85316 #endif
85317 EOF
85318 elif test "$ac_cv_type_u_int64_t" = yes; then
85319 sed 's/^ *//' >> tmp-stdint.h <<EOF
85320
85321 /* system headers have an u_int64_t (and int64_t) */
85322 #ifndef _INT64_T
85323 #define _INT64_T
85324 #endif
85325 #ifndef _UINT64_T
85326 #define _UINT64_T
85327 #ifndef __uint64_t_defined
85328 #define __uint64_t_defined
85329 #ifndef uint64_t
85330 typedef u_int64_t uint64_t;
85331 #endif
85332 #endif
85333 #endif
85334 EOF
85335 elif test -n "$acx_cv_type_int64_t"; then
85336 sed 's/^ *//' >> tmp-stdint.h <<EOF
85337
85338 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
85339 #ifndef _INT64_T
85340 #define _INT64_T
85341 #ifndef int64_t
85342 typedef $acx_cv_type_int64_t int64_t;
85343 #endif
85344 #endif
85345 #ifndef _UINT64_T
85346 #define _UINT64_T
85347 #ifndef __uint64_t_defined
85348 #define __uint64_t_defined
85349 #ifndef uint64_t
85350 typedef unsigned $acx_cv_type_int64_t uint64_t;
85351 #endif
85352 #endif
85353 #endif
85354 EOF
85355 else
85356 sed 's/^ *//' >> tmp-stdint.h <<EOF
85357
85358 /* some common heuristics for int64_t, using compiler-specific tests */
85359 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
85360 #ifndef _INT64_T
85361 #define _INT64_T
85362 #ifndef __int64_t_defined
85363 #ifndef int64_t
85364 typedef long long int64_t;
85365 #endif
85366 #endif
85367 #endif
85368 #ifndef _UINT64_T
85369 #define _UINT64_T
85370 #ifndef uint64_t
85371 typedef unsigned long long uint64_t;
85372 #endif
85373 #endif
85374
85375 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
85376 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
85377 does not implement __extension__. But that compiler doesn't define
85378 __GNUC_MINOR__. */
85379 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
85380 # define __extension__
85381 # endif
85382
85383 # ifndef _INT64_T
85384 # define _INT64_T
85385 # ifndef int64_t
85386 __extension__ typedef long long int64_t;
85387 # endif
85388 # endif
85389 # ifndef _UINT64_T
85390 # define _UINT64_T
85391 # ifndef uint64_t
85392 __extension__ typedef unsigned long long uint64_t;
85393 # endif
85394 # endif
85395
85396 #elif !defined __STRICT_ANSI__
85397 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
85398
85399 # ifndef _INT64_T
85400 # define _INT64_T
85401 # ifndef int64_t
85402 typedef __int64 int64_t;
85403 # endif
85404 # endif
85405 # ifndef _UINT64_T
85406 # define _UINT64_T
85407 # ifndef uint64_t
85408 typedef unsigned __int64 uint64_t;
85409 # endif
85410 # endif
85411 # endif /* compiler */
85412
85413 #endif /* ANSI version */
85414 EOF
85415 fi
85416
85417 # ------------- done int64_t types, emit intptr types ------------
85418 if test "$ac_cv_type_uintptr_t" != yes; then
85419 sed 's/^ *//' >> tmp-stdint.h <<EOF
85420
85421 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
85422 #ifndef __uintptr_t_defined
85423 #ifndef uintptr_t
85424 typedef u$acx_cv_type_intptr_t uintptr_t;
85425 #endif
85426 #endif
85427 #ifndef __intptr_t_defined
85428 #ifndef intptr_t
85429 typedef $acx_cv_type_intptr_t intptr_t;
85430 #endif
85431 #endif
85432 EOF
85433 fi
85434
85435 # ------------- done intptr types, emit int_least types ------------
85436 if test "$ac_cv_type_int_least32_t" != yes; then
85437 sed 's/^ *//' >> tmp-stdint.h <<EOF
85438
85439 /* Define int_least types */
85440 typedef int8_t int_least8_t;
85441 typedef int16_t int_least16_t;
85442 typedef int32_t int_least32_t;
85443 #ifdef _INT64_T
85444 typedef int64_t int_least64_t;
85445 #endif
85446
85447 typedef uint8_t uint_least8_t;
85448 typedef uint16_t uint_least16_t;
85449 typedef uint32_t uint_least32_t;
85450 #ifdef _UINT64_T
85451 typedef uint64_t uint_least64_t;
85452 #endif
85453 EOF
85454 fi
85455
85456 # ------------- done intptr types, emit int_fast types ------------
85457 if test "$ac_cv_type_int_fast32_t" != yes; then
85458 sed 's/^ *//' >> tmp-stdint.h <<EOF
85459
85460 /* Define int_fast types. short is often slow */
85461 typedef int8_t int_fast8_t;
85462 typedef int int_fast16_t;
85463 typedef int32_t int_fast32_t;
85464 #ifdef _INT64_T
85465 typedef int64_t int_fast64_t;
85466 #endif
85467
85468 typedef uint8_t uint_fast8_t;
85469 typedef unsigned int uint_fast16_t;
85470 typedef uint32_t uint_fast32_t;
85471 #ifdef _UINT64_T
85472 typedef uint64_t uint_fast64_t;
85473 #endif
85474 EOF
85475 fi
85476
85477 if test "$ac_cv_type_uintmax_t" != yes; then
85478 sed 's/^ *//' >> tmp-stdint.h <<EOF
85479
85480 /* Define intmax based on what we found */
85481 #ifndef intmax_t
85482 #ifdef _INT64_T
85483 typedef int64_t intmax_t;
85484 #else
85485 typedef long intmax_t;
85486 #endif
85487 #endif
85488 #ifndef uintmax_t
85489 #ifdef _UINT64_T
85490 typedef uint64_t uintmax_t;
85491 #else
85492 typedef unsigned long uintmax_t;
85493 #endif
85494 #endif
85495 EOF
85496 fi
85497
85498 sed 's/^ *//' >> tmp-stdint.h <<EOF
85499
85500 #endif /* GCC_GENERATED_STDINT_H */
85501 EOF
85502
85503 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
85504 rm -f tmp-stdint.h
85505 else
85506 mv -f tmp-stdint.h include/gstdint.h
85507 fi
85508
85509 ;;
85510 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
85511 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
85512 "include/Makefile":F) cat > vpsed$$ << \_EOF
85513 s!`test -f '$<' || echo '$(srcdir)/'`!!
85514 _EOF
85515 sed -f vpsed$$ $ac_file > tmp$$
85516 mv tmp$$ $ac_file
85517 rm vpsed$$
85518 echo 'MULTISUBDIR =' >> $ac_file
85519 ml_norecursion=yes
85520 . ${multi_basedir}/config-ml.in
85521 { ml_norecursion=; unset ml_norecursion;}
85522 ;;
85523 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
85524 s!`test -f '$<' || echo '$(srcdir)/'`!!
85525 _EOF
85526 sed -f vpsed$$ $ac_file > tmp$$
85527 mv tmp$$ $ac_file
85528 rm vpsed$$
85529 echo 'MULTISUBDIR =' >> $ac_file
85530 ml_norecursion=yes
85531 . ${multi_basedir}/config-ml.in
85532 { ml_norecursion=; unset ml_norecursion;}
85533 ;;
85534 "src/Makefile":F) cat > vpsed$$ << \_EOF
85535 s!`test -f '$<' || echo '$(srcdir)/'`!!
85536 _EOF
85537 sed -f vpsed$$ $ac_file > tmp$$
85538 mv tmp$$ $ac_file
85539 rm vpsed$$
85540 echo 'MULTISUBDIR =' >> $ac_file
85541 ml_norecursion=yes
85542 . ${multi_basedir}/config-ml.in
85543 { ml_norecursion=; unset ml_norecursion;}
85544 ;;
85545 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
85546 s!`test -f '$<' || echo '$(srcdir)/'`!!
85547 _EOF
85548 sed -f vpsed$$ $ac_file > tmp$$
85549 mv tmp$$ $ac_file
85550 rm vpsed$$
85551 echo 'MULTISUBDIR =' >> $ac_file
85552 ml_norecursion=yes
85553 . ${multi_basedir}/config-ml.in
85554 { ml_norecursion=; unset ml_norecursion;}
85555 ;;
85556 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
85557 s!`test -f '$<' || echo '$(srcdir)/'`!!
85558 _EOF
85559 sed -f vpsed$$ $ac_file > tmp$$
85560 mv tmp$$ $ac_file
85561 rm vpsed$$
85562 echo 'MULTISUBDIR =' >> $ac_file
85563 ml_norecursion=yes
85564 . ${multi_basedir}/config-ml.in
85565 { ml_norecursion=; unset ml_norecursion;}
85566 ;;
85567 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
85568 s!`test -f '$<' || echo '$(srcdir)/'`!!
85569 _EOF
85570 sed -f vpsed$$ $ac_file > tmp$$
85571 mv tmp$$ $ac_file
85572 rm vpsed$$
85573 echo 'MULTISUBDIR =' >> $ac_file
85574 ml_norecursion=yes
85575 . ${multi_basedir}/config-ml.in
85576 { ml_norecursion=; unset ml_norecursion;}
85577 ;;
85578 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
85579 s!`test -f '$<' || echo '$(srcdir)/'`!!
85580 _EOF
85581 sed -f vpsed$$ $ac_file > tmp$$
85582 mv tmp$$ $ac_file
85583 rm vpsed$$
85584 echo 'MULTISUBDIR =' >> $ac_file
85585 ml_norecursion=yes
85586 . ${multi_basedir}/config-ml.in
85587 { ml_norecursion=; unset ml_norecursion;}
85588 ;;
85589 "doc/Makefile":F) cat > vpsed$$ << \_EOF
85590 s!`test -f '$<' || echo '$(srcdir)/'`!!
85591 _EOF
85592 sed -f vpsed$$ $ac_file > tmp$$
85593 mv tmp$$ $ac_file
85594 rm vpsed$$
85595 echo 'MULTISUBDIR =' >> $ac_file
85596 ml_norecursion=yes
85597 . ${multi_basedir}/config-ml.in
85598 { ml_norecursion=; unset ml_norecursion;}
85599 ;;
85600 "po/Makefile":F) cat > vpsed$$ << \_EOF
85601 s!`test -f '$<' || echo '$(srcdir)/'`!!
85602 _EOF
85603 sed -f vpsed$$ $ac_file > tmp$$
85604 mv tmp$$ $ac_file
85605 rm vpsed$$
85606 echo 'MULTISUBDIR =' >> $ac_file
85607 ml_norecursion=yes
85608 . ${multi_basedir}/config-ml.in
85609 { ml_norecursion=; unset ml_norecursion;}
85610 ;;
85611 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
85612 s!`test -f '$<' || echo '$(srcdir)/'`!!
85613 _EOF
85614 sed -f vpsed$$ $ac_file > tmp$$
85615 mv tmp$$ $ac_file
85616 rm vpsed$$
85617 echo 'MULTISUBDIR =' >> $ac_file
85618 ml_norecursion=yes
85619 . ${multi_basedir}/config-ml.in
85620 { ml_norecursion=; unset ml_norecursion;}
85621 ;;
85622 "python/Makefile":F) cat > vpsed$$ << \_EOF
85623 s!`test -f '$<' || echo '$(srcdir)/'`!!
85624 _EOF
85625 sed -f vpsed$$ $ac_file > tmp$$
85626 mv tmp$$ $ac_file
85627 rm vpsed$$
85628 echo 'MULTISUBDIR =' >> $ac_file
85629 ml_norecursion=yes
85630 . ${multi_basedir}/config-ml.in
85631 { ml_norecursion=; unset ml_norecursion;}
85632 ;;
85633 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
85634
85635 esac
85636 done # for ac_tag
85637
85638
85639 as_fn_exit 0
85640 _ACEOF
85641 ac_clean_files=$ac_clean_files_save
85642
85643 test $ac_write_fail = 0 ||
85644 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
85645
85646
85647 # configure is writing to config.log, and then calls config.status.
85648 # config.status does its own redirection, appending to config.log.
85649 # Unfortunately, on DOS this fails, as config.log is still kept open
85650 # by configure, so config.status won't be able to write to it; its
85651 # output is simply discarded. So we exec the FD to /dev/null,
85652 # effectively closing config.log, so it can be properly (re)opened and
85653 # appended to by config.status. When coming back to configure, we
85654 # need to make the FD available again.
85655 if test "$no_create" != yes; then
85656 ac_cs_success=:
85657 ac_config_status_args=
85658 test "$silent" = yes &&
85659 ac_config_status_args="$ac_config_status_args --quiet"
85660 exec 5>/dev/null
85661 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
85662 exec 5>>config.log
85663 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
85664 # would make configure fail if this is the last instruction.
85665 $ac_cs_success || as_fn_exit 1
85666 fi
85667 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
85668 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
85669 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
85670 fi
85671