]> gcc.gnu.org Git - gcc.git/blob - libstdc++-v3/configure
libstdc++: Remove GLIBCXX_CHECK_INT64_T checks
[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 tmake_file
647 CPU_OPT_BITS_RANDOM
648 CPU_OPT_EXT_RANDOM
649 ERROR_CONSTANTS_SRCDIR
650 OS_INC_SRCDIR
651 ABI_TWEAKS_SRCDIR
652 CPU_DEFINES_SRCDIR
653 ATOMIC_FLAGS
654 ATOMIC_WORD_SRCDIR
655 ATOMICITY_SRCDIR
656 INCLUDE_DIR_NOTPARALLEL_FALSE
657 INCLUDE_DIR_NOTPARALLEL_TRUE
658 BUILD_PDF_FALSE
659 BUILD_PDF_TRUE
660 PDFLATEX
661 DBLATEX
662 BUILD_MAN_FALSE
663 BUILD_MAN_TRUE
664 BUILD_HTML_FALSE
665 BUILD_HTML_TRUE
666 BUILD_XML_FALSE
667 BUILD_XML_TRUE
668 BUILD_EPUB_FALSE
669 BUILD_EPUB_TRUE
670 XSL_STYLE_DIR
671 XMLLINT
672 XSLTPROC
673 XMLCATALOG
674 DOT
675 DOXYGEN
676 BUILD_INFO_FALSE
677 BUILD_INFO_TRUE
678 ENABLE_FILESYSTEM_TS_FALSE
679 ENABLE_FILESYSTEM_TS_TRUE
680 baseline_subdir_switch
681 baseline_dir
682 HWCAP_CFLAGS
683 GLIBCXX_LDBL_ALT128_COMPAT_FALSE
684 GLIBCXX_LDBL_ALT128_COMPAT_TRUE
685 GLIBCXX_LDBL_COMPAT_FALSE
686 GLIBCXX_LDBL_COMPAT_TRUE
687 LONG_DOUBLE_ALT128_COMPAT_FLAGS
688 LONG_DOUBLE_128_FLAGS
689 LONG_DOUBLE_COMPAT_FLAGS
690 ENABLE_CXX11_ABI_FALSE
691 ENABLE_CXX11_ABI_TRUE
692 glibcxx_cxx98_abi
693 ENABLE_DUAL_ABI_FALSE
694 ENABLE_DUAL_ABI_TRUE
695 ENABLE_VISIBILITY_FALSE
696 ENABLE_VISIBILITY_TRUE
697 libtool_VERSION
698 ENABLE_SYMVERS_SUN_FALSE
699 ENABLE_SYMVERS_SUN_TRUE
700 ENABLE_SYMVERS_DARWIN_FALSE
701 ENABLE_SYMVERS_DARWIN_TRUE
702 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE
703 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE
704 ENABLE_SYMVERS_GNU_FALSE
705 ENABLE_SYMVERS_GNU_TRUE
706 ENABLE_SYMVERS_FALSE
707 ENABLE_SYMVERS_TRUE
708 port_specific_symbol_files
709 SYMVER_FILE
710 CXXFILT
711 LTLIBICONV
712 LIBICONV
713 OPT_LDFLAGS
714 SECTION_LDFLAGS
715 GLIBCXX_LIBS
716 ENABLE_VTABLE_VERIFY_FALSE
717 ENABLE_VTABLE_VERIFY_TRUE
718 VTV_CYGMIN_FALSE
719 VTV_CYGMIN_TRUE
720 VTV_CXXLINKFLAGS
721 VTV_PCH_CXXFLAGS
722 VTV_CXXFLAGS
723 ENABLE_WERROR_FALSE
724 ENABLE_WERROR_TRUE
725 ENABLE_PYTHONDIR_FALSE
726 ENABLE_PYTHONDIR_TRUE
727 python_mod_dir
728 ENABLE_EXTERN_TEMPLATE_FALSE
729 ENABLE_EXTERN_TEMPLATE_TRUE
730 EXTRA_CXX_FLAGS
731 GLIBCXX_BUILD_DEBUG_FALSE
732 GLIBCXX_BUILD_DEBUG_TRUE
733 DEBUG_FLAGS
734 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE
735 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE
736 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE
737 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE
738 GLIBCXX_C_HEADERS_C_STD_FALSE
739 GLIBCXX_C_HEADERS_C_STD_TRUE
740 GLIBCXX_C_HEADERS_C_FALSE
741 GLIBCXX_C_HEADERS_C_TRUE
742 C_INCLUDE_DIR
743 ALLOCATOR_NAME
744 ALLOCATOR_H
745 ENABLE_ALLOCATOR_NEW_FALSE
746 ENABLE_ALLOCATOR_NEW_TRUE
747 CLOCALE_INTERNAL_H
748 CLOCALE_CC
749 CTIME_CC
750 CTIME_H
751 CNUMERIC_CC
752 CMONEY_CC
753 CMESSAGES_CC
754 CCTYPE_CC
755 CCOLLATE_CC
756 CCODECVT_CC
757 CMESSAGES_H
758 CLOCALE_H
759 USE_NLS
760 glibcxx_localedir
761 glibcxx_POFILES
762 glibcxx_MOFILES
763 check_msgfmt
764 BASIC_FILE_CC
765 BASIC_FILE_H
766 CSTDIO_H
767 SECTION_FLAGS
768 ENABLE_FLOAT128_FALSE
769 ENABLE_FLOAT128_TRUE
770 thread_header
771 glibcxx_PCHFLAGS
772 GLIBCXX_BUILD_PCH_FALSE
773 GLIBCXX_BUILD_PCH_TRUE
774 GLIBCXX_HOSTED_FALSE
775 GLIBCXX_HOSTED_TRUE
776 glibcxx_compiler_shared_flag
777 glibcxx_compiler_pic_flag
778 glibcxx_lt_pic_flag
779 enable_static
780 enable_shared
781 lt_host_flags
782 CXXCPP
783 OTOOL64
784 OTOOL
785 LIPO
786 NMEDIT
787 DSYMUTIL
788 OBJDUMP
789 NM
790 ac_ct_DUMPBIN
791 DUMPBIN
792 LD
793 FGREP
794 SED
795 LIBTOOL
796 EGREP
797 GREP
798 CPP
799 MAINT
800 MAINTAINER_MODE_FALSE
801 MAINTAINER_MODE_TRUE
802 RANLIB
803 AR
804 AS
805 LN_S
806 toplevel_srcdir
807 toplevel_builddir
808 glibcxx_srcdir
809 glibcxx_builddir
810 ac_ct_CXX
811 CXXFLAGS
812 CXX
813 OBJEXT
814 EXEEXT
815 ac_ct_CC
816 CPPFLAGS
817 LDFLAGS
818 CFLAGS
819 CC
820 AM_BACKSLASH
821 AM_DEFAULT_VERBOSITY
822 AM_DEFAULT_V
823 AM_V
824 am__untar
825 am__tar
826 AMTAR
827 am__leading_dot
828 SET_MAKE
829 AWK
830 mkdir_p
831 MKDIR_P
832 INSTALL_STRIP_PROGRAM
833 STRIP
834 install_sh
835 MAKEINFO
836 AUTOHEADER
837 AUTOMAKE
838 AUTOCONF
839 ACLOCAL
840 VERSION
841 PACKAGE
842 CYGPATH_W
843 am__isrc
844 INSTALL_DATA
845 INSTALL_SCRIPT
846 INSTALL_PROGRAM
847 target_os
848 target_vendor
849 target_cpu
850 target
851 host_os
852 host_vendor
853 host_cpu
854 host
855 build_os
856 build_vendor
857 build_cpu
858 build
859 multi_basedir
860 target_alias
861 host_alias
862 build_alias
863 LIBS
864 ECHO_T
865 ECHO_N
866 ECHO_C
867 DEFS
868 mandir
869 localedir
870 libdir
871 psdir
872 pdfdir
873 dvidir
874 htmldir
875 infodir
876 docdir
877 oldincludedir
878 includedir
879 localstatedir
880 sharedstatedir
881 sysconfdir
882 datadir
883 datarootdir
884 libexecdir
885 sbindir
886 bindir
887 program_transform_name
888 prefix
889 exec_prefix
890 PACKAGE_URL
891 PACKAGE_BUGREPORT
892 PACKAGE_STRING
893 PACKAGE_VERSION
894 PACKAGE_TARNAME
895 PACKAGE_NAME
896 PATH_SEPARATOR
897 SHELL'
898 ac_subst_files=''
899 ac_user_opts='
900 enable_option_checking
901 enable_multilib
902 enable_silent_rules
903 enable_largefile
904 with_target_subdir
905 with_cross_host
906 with_newlib
907 enable_maintainer_mode
908 enable_shared
909 enable_static
910 with_pic
911 enable_fast_install
912 with_gnu_ld
913 enable_libtool_lock
914 enable_hosted_libstdcxx
915 enable_libstdcxx_verbose
916 enable_libstdcxx_pch
917 with_libstdcxx_lock_policy
918 enable_cstdio
919 enable_clocale
920 enable_nls
921 enable_libstdcxx_allocator
922 enable_cheaders_obsolete
923 enable_cheaders
924 enable_long_long
925 enable_wchar_t
926 enable_c99
927 enable_concept_checks
928 enable_libstdcxx_debug_flags
929 enable_libstdcxx_debug
930 enable_cxx_flags
931 enable_fully_dynamic_string
932 enable_extern_template
933 with_python_dir
934 enable_werror
935 enable_vtable_verify
936 enable_libstdcxx_time
937 enable_tls
938 enable_rpath
939 with_libiconv_prefix
940 with_libiconv_type
941 with_system_libunwind
942 enable_linux_futex
943 enable_symvers
944 enable_libstdcxx_visibility
945 enable_libstdcxx_dual_abi
946 with_default_libstdcxx_abi
947 enable_libstdcxx_threads
948 enable_libstdcxx_filesystem_ts
949 enable_cet
950 with_gxx_include_dir
951 enable_version_specific_runtime_libs
952 with_toolexeclibdir
953 with_gcc_major_version_only
954 '
955 ac_precious_vars='build_alias
956 host_alias
957 target_alias
958 CC
959 CFLAGS
960 LDFLAGS
961 LIBS
962 CPPFLAGS
963 CXX
964 CXXFLAGS
965 CCC
966 CPP
967 CXXCPP
968 CXXFILT'
969
970
971 # Initialize some variables set by options.
972 ac_init_help=
973 ac_init_version=false
974 ac_unrecognized_opts=
975 ac_unrecognized_sep=
976 # The variables have the same names as the options, with
977 # dashes changed to underlines.
978 cache_file=/dev/null
979 exec_prefix=NONE
980 no_create=
981 no_recursion=
982 prefix=NONE
983 program_prefix=NONE
984 program_suffix=NONE
985 program_transform_name=s,x,x,
986 silent=
987 site=
988 srcdir=
989 verbose=
990 x_includes=NONE
991 x_libraries=NONE
992
993 # Installation directory options.
994 # These are left unexpanded so users can "make install exec_prefix=/foo"
995 # and all the variables that are supposed to be based on exec_prefix
996 # by default will actually change.
997 # Use braces instead of parens because sh, perl, etc. also accept them.
998 # (The list follows the same order as the GNU Coding Standards.)
999 bindir='${exec_prefix}/bin'
1000 sbindir='${exec_prefix}/sbin'
1001 libexecdir='${exec_prefix}/libexec'
1002 datarootdir='${prefix}/share'
1003 datadir='${datarootdir}'
1004 sysconfdir='${prefix}/etc'
1005 sharedstatedir='${prefix}/com'
1006 localstatedir='${prefix}/var'
1007 includedir='${prefix}/include'
1008 oldincludedir='/usr/include'
1009 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1010 infodir='${datarootdir}/info'
1011 htmldir='${docdir}'
1012 dvidir='${docdir}'
1013 pdfdir='${docdir}'
1014 psdir='${docdir}'
1015 libdir='${exec_prefix}/lib'
1016 localedir='${datarootdir}/locale'
1017 mandir='${datarootdir}/man'
1018
1019 ac_prev=
1020 ac_dashdash=
1021 for ac_option
1022 do
1023 # If the previous option needs an argument, assign it.
1024 if test -n "$ac_prev"; then
1025 eval $ac_prev=\$ac_option
1026 ac_prev=
1027 continue
1028 fi
1029
1030 case $ac_option in
1031 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1032 *=) ac_optarg= ;;
1033 *) ac_optarg=yes ;;
1034 esac
1035
1036 # Accept the important Cygnus configure options, so we can diagnose typos.
1037
1038 case $ac_dashdash$ac_option in
1039 --)
1040 ac_dashdash=yes ;;
1041
1042 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1043 ac_prev=bindir ;;
1044 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1045 bindir=$ac_optarg ;;
1046
1047 -build | --build | --buil | --bui | --bu)
1048 ac_prev=build_alias ;;
1049 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1050 build_alias=$ac_optarg ;;
1051
1052 -cache-file | --cache-file | --cache-fil | --cache-fi \
1053 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1054 ac_prev=cache_file ;;
1055 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1056 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1057 cache_file=$ac_optarg ;;
1058
1059 --config-cache | -C)
1060 cache_file=config.cache ;;
1061
1062 -datadir | --datadir | --datadi | --datad)
1063 ac_prev=datadir ;;
1064 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1065 datadir=$ac_optarg ;;
1066
1067 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1068 | --dataroo | --dataro | --datar)
1069 ac_prev=datarootdir ;;
1070 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1071 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1072 datarootdir=$ac_optarg ;;
1073
1074 -disable-* | --disable-*)
1075 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1076 # Reject names that are not valid shell variable names.
1077 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1078 as_fn_error $? "invalid feature name: $ac_useropt"
1079 ac_useropt_orig=$ac_useropt
1080 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1081 case $ac_user_opts in
1082 *"
1083 "enable_$ac_useropt"
1084 "*) ;;
1085 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1086 ac_unrecognized_sep=', ';;
1087 esac
1088 eval enable_$ac_useropt=no ;;
1089
1090 -docdir | --docdir | --docdi | --doc | --do)
1091 ac_prev=docdir ;;
1092 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1093 docdir=$ac_optarg ;;
1094
1095 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1096 ac_prev=dvidir ;;
1097 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1098 dvidir=$ac_optarg ;;
1099
1100 -enable-* | --enable-*)
1101 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1102 # Reject names that are not valid shell variable names.
1103 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1104 as_fn_error $? "invalid feature name: $ac_useropt"
1105 ac_useropt_orig=$ac_useropt
1106 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1107 case $ac_user_opts in
1108 *"
1109 "enable_$ac_useropt"
1110 "*) ;;
1111 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1112 ac_unrecognized_sep=', ';;
1113 esac
1114 eval enable_$ac_useropt=\$ac_optarg ;;
1115
1116 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1117 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1118 | --exec | --exe | --ex)
1119 ac_prev=exec_prefix ;;
1120 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1121 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1122 | --exec=* | --exe=* | --ex=*)
1123 exec_prefix=$ac_optarg ;;
1124
1125 -gas | --gas | --ga | --g)
1126 # Obsolete; use --with-gas.
1127 with_gas=yes ;;
1128
1129 -help | --help | --hel | --he | -h)
1130 ac_init_help=long ;;
1131 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1132 ac_init_help=recursive ;;
1133 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1134 ac_init_help=short ;;
1135
1136 -host | --host | --hos | --ho)
1137 ac_prev=host_alias ;;
1138 -host=* | --host=* | --hos=* | --ho=*)
1139 host_alias=$ac_optarg ;;
1140
1141 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1142 ac_prev=htmldir ;;
1143 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1144 | --ht=*)
1145 htmldir=$ac_optarg ;;
1146
1147 -includedir | --includedir | --includedi | --included | --include \
1148 | --includ | --inclu | --incl | --inc)
1149 ac_prev=includedir ;;
1150 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1151 | --includ=* | --inclu=* | --incl=* | --inc=*)
1152 includedir=$ac_optarg ;;
1153
1154 -infodir | --infodir | --infodi | --infod | --info | --inf)
1155 ac_prev=infodir ;;
1156 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1157 infodir=$ac_optarg ;;
1158
1159 -libdir | --libdir | --libdi | --libd)
1160 ac_prev=libdir ;;
1161 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1162 libdir=$ac_optarg ;;
1163
1164 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1165 | --libexe | --libex | --libe)
1166 ac_prev=libexecdir ;;
1167 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1168 | --libexe=* | --libex=* | --libe=*)
1169 libexecdir=$ac_optarg ;;
1170
1171 -localedir | --localedir | --localedi | --localed | --locale)
1172 ac_prev=localedir ;;
1173 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1174 localedir=$ac_optarg ;;
1175
1176 -localstatedir | --localstatedir | --localstatedi | --localstated \
1177 | --localstate | --localstat | --localsta | --localst | --locals)
1178 ac_prev=localstatedir ;;
1179 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1180 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1181 localstatedir=$ac_optarg ;;
1182
1183 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1184 ac_prev=mandir ;;
1185 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1186 mandir=$ac_optarg ;;
1187
1188 -nfp | --nfp | --nf)
1189 # Obsolete; use --without-fp.
1190 with_fp=no ;;
1191
1192 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1193 | --no-cr | --no-c | -n)
1194 no_create=yes ;;
1195
1196 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1197 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1198 no_recursion=yes ;;
1199
1200 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1201 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1202 | --oldin | --oldi | --old | --ol | --o)
1203 ac_prev=oldincludedir ;;
1204 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1205 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1206 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1207 oldincludedir=$ac_optarg ;;
1208
1209 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1210 ac_prev=prefix ;;
1211 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1212 prefix=$ac_optarg ;;
1213
1214 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1215 | --program-pre | --program-pr | --program-p)
1216 ac_prev=program_prefix ;;
1217 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1218 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1219 program_prefix=$ac_optarg ;;
1220
1221 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1222 | --program-suf | --program-su | --program-s)
1223 ac_prev=program_suffix ;;
1224 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1225 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1226 program_suffix=$ac_optarg ;;
1227
1228 -program-transform-name | --program-transform-name \
1229 | --program-transform-nam | --program-transform-na \
1230 | --program-transform-n | --program-transform- \
1231 | --program-transform | --program-transfor \
1232 | --program-transfo | --program-transf \
1233 | --program-trans | --program-tran \
1234 | --progr-tra | --program-tr | --program-t)
1235 ac_prev=program_transform_name ;;
1236 -program-transform-name=* | --program-transform-name=* \
1237 | --program-transform-nam=* | --program-transform-na=* \
1238 | --program-transform-n=* | --program-transform-=* \
1239 | --program-transform=* | --program-transfor=* \
1240 | --program-transfo=* | --program-transf=* \
1241 | --program-trans=* | --program-tran=* \
1242 | --progr-tra=* | --program-tr=* | --program-t=*)
1243 program_transform_name=$ac_optarg ;;
1244
1245 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1246 ac_prev=pdfdir ;;
1247 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1248 pdfdir=$ac_optarg ;;
1249
1250 -psdir | --psdir | --psdi | --psd | --ps)
1251 ac_prev=psdir ;;
1252 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1253 psdir=$ac_optarg ;;
1254
1255 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1256 | -silent | --silent | --silen | --sile | --sil)
1257 silent=yes ;;
1258
1259 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1260 ac_prev=sbindir ;;
1261 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1262 | --sbi=* | --sb=*)
1263 sbindir=$ac_optarg ;;
1264
1265 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1266 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1267 | --sharedst | --shareds | --shared | --share | --shar \
1268 | --sha | --sh)
1269 ac_prev=sharedstatedir ;;
1270 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1271 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1272 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1273 | --sha=* | --sh=*)
1274 sharedstatedir=$ac_optarg ;;
1275
1276 -site | --site | --sit)
1277 ac_prev=site ;;
1278 -site=* | --site=* | --sit=*)
1279 site=$ac_optarg ;;
1280
1281 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1282 ac_prev=srcdir ;;
1283 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1284 srcdir=$ac_optarg ;;
1285
1286 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1287 | --syscon | --sysco | --sysc | --sys | --sy)
1288 ac_prev=sysconfdir ;;
1289 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1290 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1291 sysconfdir=$ac_optarg ;;
1292
1293 -target | --target | --targe | --targ | --tar | --ta | --t)
1294 ac_prev=target_alias ;;
1295 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1296 target_alias=$ac_optarg ;;
1297
1298 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1299 verbose=yes ;;
1300
1301 -version | --version | --versio | --versi | --vers | -V)
1302 ac_init_version=: ;;
1303
1304 -with-* | --with-*)
1305 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1306 # Reject names that are not valid shell variable names.
1307 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1308 as_fn_error $? "invalid package name: $ac_useropt"
1309 ac_useropt_orig=$ac_useropt
1310 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1311 case $ac_user_opts in
1312 *"
1313 "with_$ac_useropt"
1314 "*) ;;
1315 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
1316 ac_unrecognized_sep=', ';;
1317 esac
1318 eval with_$ac_useropt=\$ac_optarg ;;
1319
1320 -without-* | --without-*)
1321 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1322 # Reject names that are not valid shell variable names.
1323 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1324 as_fn_error $? "invalid package name: $ac_useropt"
1325 ac_useropt_orig=$ac_useropt
1326 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1327 case $ac_user_opts in
1328 *"
1329 "with_$ac_useropt"
1330 "*) ;;
1331 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
1332 ac_unrecognized_sep=', ';;
1333 esac
1334 eval with_$ac_useropt=no ;;
1335
1336 --x)
1337 # Obsolete; use --with-x.
1338 with_x=yes ;;
1339
1340 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1341 | --x-incl | --x-inc | --x-in | --x-i)
1342 ac_prev=x_includes ;;
1343 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1344 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1345 x_includes=$ac_optarg ;;
1346
1347 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1348 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1349 ac_prev=x_libraries ;;
1350 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1351 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1352 x_libraries=$ac_optarg ;;
1353
1354 -*) as_fn_error $? "unrecognized option: \`$ac_option'
1355 Try \`$0 --help' for more information"
1356 ;;
1357
1358 *=*)
1359 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1360 # Reject names that are not valid shell variable names.
1361 case $ac_envvar in #(
1362 '' | [0-9]* | *[!_$as_cr_alnum]* )
1363 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
1364 esac
1365 eval $ac_envvar=\$ac_optarg
1366 export $ac_envvar ;;
1367
1368 *)
1369 # FIXME: should be removed in autoconf 3.0.
1370 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1371 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1372 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1373 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
1374 ;;
1375
1376 esac
1377 done
1378
1379 if test -n "$ac_prev"; then
1380 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1381 as_fn_error $? "missing argument to $ac_option"
1382 fi
1383
1384 if test -n "$ac_unrecognized_opts"; then
1385 case $enable_option_checking in
1386 no) ;;
1387 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
1388 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
1389 esac
1390 fi
1391
1392 # Check all directory arguments for consistency.
1393 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1394 datadir sysconfdir sharedstatedir localstatedir includedir \
1395 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1396 libdir localedir mandir
1397 do
1398 eval ac_val=\$$ac_var
1399 # Remove trailing slashes.
1400 case $ac_val in
1401 */ )
1402 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
1403 eval $ac_var=\$ac_val;;
1404 esac
1405 # Be sure to have absolute directory names.
1406 case $ac_val in
1407 [\\/$]* | ?:[\\/]* ) continue;;
1408 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1409 esac
1410 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
1411 done
1412
1413 # There might be people who depend on the old broken behavior: `$host'
1414 # used to hold the argument of --host etc.
1415 # FIXME: To remove some day.
1416 build=$build_alias
1417 host=$host_alias
1418 target=$target_alias
1419
1420 # FIXME: To remove some day.
1421 if test "x$host_alias" != x; then
1422 if test "x$build_alias" = x; then
1423 cross_compiling=maybe
1424 elif test "x$build_alias" != "x$host_alias"; then
1425 cross_compiling=yes
1426 fi
1427 fi
1428
1429 ac_tool_prefix=
1430 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1431
1432 test "$silent" = yes && exec 6>/dev/null
1433
1434
1435 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1436 ac_ls_di=`ls -di .` &&
1437 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1438 as_fn_error $? "working directory cannot be determined"
1439 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1440 as_fn_error $? "pwd does not report name of working directory"
1441
1442
1443 # Find the source files, if location was not specified.
1444 if test -z "$srcdir"; then
1445 ac_srcdir_defaulted=yes
1446 # Try the directory containing this script, then the parent directory.
1447 ac_confdir=`$as_dirname -- "$as_myself" ||
1448 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1449 X"$as_myself" : 'X\(//\)[^/]' \| \
1450 X"$as_myself" : 'X\(//\)$' \| \
1451 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
1452 $as_echo X"$as_myself" |
1453 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1454 s//\1/
1455 q
1456 }
1457 /^X\(\/\/\)[^/].*/{
1458 s//\1/
1459 q
1460 }
1461 /^X\(\/\/\)$/{
1462 s//\1/
1463 q
1464 }
1465 /^X\(\/\).*/{
1466 s//\1/
1467 q
1468 }
1469 s/.*/./; q'`
1470 srcdir=$ac_confdir
1471 if test ! -r "$srcdir/$ac_unique_file"; then
1472 srcdir=..
1473 fi
1474 else
1475 ac_srcdir_defaulted=no
1476 fi
1477 if test ! -r "$srcdir/$ac_unique_file"; then
1478 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1479 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
1480 fi
1481 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1482 ac_abs_confdir=`(
1483 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
1484 pwd)`
1485 # When building in place, set srcdir=.
1486 if test "$ac_abs_confdir" = "$ac_pwd"; then
1487 srcdir=.
1488 fi
1489 # Remove unnecessary trailing slashes from srcdir.
1490 # Double slashes in file names in object file debugging info
1491 # mess up M-x gdb in Emacs.
1492 case $srcdir in
1493 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1494 esac
1495 for ac_var in $ac_precious_vars; do
1496 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1497 eval ac_env_${ac_var}_value=\$${ac_var}
1498 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1499 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1500 done
1501
1502 #
1503 # Report the --help message.
1504 #
1505 if test "$ac_init_help" = "long"; then
1506 # Omit some internal or obsolete options to make the list less imposing.
1507 # This message is too long to be a string in the A/UX 3.1 sh.
1508 cat <<_ACEOF
1509 \`configure' configures package-unused version-unused to adapt to many kinds of systems.
1510
1511 Usage: $0 [OPTION]... [VAR=VALUE]...
1512
1513 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1514 VAR=VALUE. See below for descriptions of some of the useful variables.
1515
1516 Defaults for the options are specified in brackets.
1517
1518 Configuration:
1519 -h, --help display this help and exit
1520 --help=short display options specific to this package
1521 --help=recursive display the short help of all the included packages
1522 -V, --version display version information and exit
1523 -q, --quiet, --silent do not print \`checking ...' messages
1524 --cache-file=FILE cache test results in FILE [disabled]
1525 -C, --config-cache alias for \`--cache-file=config.cache'
1526 -n, --no-create do not create output files
1527 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1528
1529 Installation directories:
1530 --prefix=PREFIX install architecture-independent files in PREFIX
1531 [$ac_default_prefix]
1532 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1533 [PREFIX]
1534
1535 By default, \`make install' will install all the files in
1536 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1537 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1538 for instance \`--prefix=\$HOME'.
1539
1540 For better control, use the options below.
1541
1542 Fine tuning of the installation directories:
1543 --bindir=DIR user executables [EPREFIX/bin]
1544 --sbindir=DIR system admin executables [EPREFIX/sbin]
1545 --libexecdir=DIR program executables [EPREFIX/libexec]
1546 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1547 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1548 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1549 --libdir=DIR object code libraries [EPREFIX/lib]
1550 --includedir=DIR C header files [PREFIX/include]
1551 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1552 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1553 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1554 --infodir=DIR info documentation [DATAROOTDIR/info]
1555 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1556 --mandir=DIR man documentation [DATAROOTDIR/man]
1557 --docdir=DIR documentation root [DATAROOTDIR/doc/libstdc++]
1558 --htmldir=DIR html documentation [DOCDIR]
1559 --dvidir=DIR dvi documentation [DOCDIR]
1560 --pdfdir=DIR pdf documentation [DOCDIR]
1561 --psdir=DIR ps documentation [DOCDIR]
1562 _ACEOF
1563
1564 cat <<\_ACEOF
1565
1566 Program names:
1567 --program-prefix=PREFIX prepend PREFIX to installed program names
1568 --program-suffix=SUFFIX append SUFFIX to installed program names
1569 --program-transform-name=PROGRAM run sed PROGRAM on installed program names
1570
1571 System types:
1572 --build=BUILD configure for building on BUILD [guessed]
1573 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1574 --target=TARGET configure for building compilers for TARGET [HOST]
1575 _ACEOF
1576 fi
1577
1578 if test -n "$ac_init_help"; then
1579 case $ac_init_help in
1580 short | recursive ) echo "Configuration of package-unused version-unused:";;
1581 esac
1582 cat <<\_ACEOF
1583
1584 Optional Features:
1585 --disable-option-checking ignore unrecognized --enable/--with options
1586 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1587 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1588 --enable-multilib build many library versions (default)
1589 --enable-silent-rules less verbose build output (undo: "make V=1")
1590 --disable-silent-rules verbose build output (undo: "make V=0")
1591 --disable-largefile omit support for large files
1592 --enable-maintainer-mode
1593 enable make rules and dependencies not useful (and
1594 sometimes confusing) to the casual installer
1595 --enable-shared[=PKGS] build shared libraries [default=yes]
1596 --enable-static[=PKGS] build static libraries [default=yes]
1597 --enable-fast-install[=PKGS]
1598 optimize for fast installation [default=yes]
1599 --disable-libtool-lock avoid locking (might break parallel builds)
1600 --disable-hosted-libstdcxx
1601 only build freestanding C++ runtime support
1602 --disable-libstdcxx-verbose
1603 disable termination messages to standard error
1604 --enable-libstdcxx-pch build pre-compiled libstdc++ headers
1605 [default=$is_hosted]
1606 --enable-cstdio[=PACKAGE]
1607 use target-specific I/O package [default=stdio]
1608 --enable-clocale[=MODEL]
1609 use MODEL for target locale package [default=auto]
1610 --enable-nls use Native Language Support (default)
1611 --enable-libstdcxx-allocator[=KIND]
1612 use KIND for target std::allocator base
1613 [default=auto]
1614 --enable-cheaders-obsolete
1615 allow use of obsolete "C" headers for g++
1616 [default=no]
1617 --enable-cheaders[=KIND]
1618 construct "C" headers for g++ [default=$c_model]
1619 --enable-long-long enable template specializations for 'long long'
1620 [default=yes]
1621 --enable-wchar_t enable template specializations for 'wchar_t'
1622 [default=yes]
1623 --enable-c99 turns on ISO/IEC 9899:1999 support [default=yes]
1624 --enable-concept-checks use Boost-derived template checks [default=no]
1625 --enable-libstdcxx-debug-flags=FLAGS
1626 pass compiler FLAGS when building debug library
1627 [default="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"]
1628 --enable-libstdcxx-debug
1629 build extra debug library [default=no]
1630 --enable-cxx-flags=FLAGS
1631 pass compiler FLAGS when building library [default=]
1632 --enable-fully-dynamic-string
1633 do not put empty strings in per-process static
1634 memory [default=no]
1635 --enable-extern-template
1636 enable extern template [default=yes]
1637 --enable-werror turns on -Werror [default=no]
1638 --enable-vtable-verify enable vtable verify [default=no]
1639 --enable-libstdcxx-time[=KIND]
1640 use KIND for check type [default=auto]
1641 --enable-tls Use thread-local storage [default=yes]
1642 --disable-rpath do not hardcode runtime library paths
1643 --enable-linux-futex use the Linux futex system call [default=default]
1644 --enable-symvers[=STYLE]
1645 enables symbol versioning of the shared library
1646 [default=yes]
1647 --enable-libstdcxx-visibility
1648 enables visibility safe usage [default=yes]
1649 --enable-libstdcxx-dual-abi
1650 support two versions of std::string [default=yes]
1651 --enable-libstdcxx-threads
1652 enable C++11 threads support [default=auto]
1653 --enable-libstdcxx-filesystem-ts
1654 turns on ISO/IEC TS 18822 support [default=auto]
1655 --enable-cet enable Intel CET in target libraries [default=auto]
1656 --enable-version-specific-runtime-libs
1657 Specify that runtime libraries should be installed
1658 in a compiler-specific directory
1659
1660 Optional Packages:
1661 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1662 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1663 --with-target-subdir=SUBDIR
1664 configuring in a subdirectory
1665 --with-cross-host=HOST configuring with a cross compiler
1666 --with-newlib assume newlib as a system C library
1667 --with-pic try to use only PIC/non-PIC objects [default=use
1668 both]
1669 --with-gnu-ld assume the C compiler uses GNU ld [default=no]
1670 --with-libstdcxx-lock-policy={atomic,mutex,auto}
1671 synchronization policy for shared_ptr reference
1672 counting [default=auto]
1673 --with-python-dir the location to install Python modules. This path is
1674 relative starting from the prefix.
1675 --with-gnu-ld assume the C compiler uses GNU ld default=no
1676 --with-libiconv-prefix[=DIR] search for libiconv in DIR/include and DIR/lib
1677 --without-libiconv-prefix don't search for libiconv in includedir and libdir
1678 --with-libiconv-type=TYPE type of library to search for (auto/static/shared)
1679 --with-system-libunwind use installed libunwind
1680 --with-default-libstdcxx-abi
1681 set the std::string ABI to use by default
1682 --with-gxx-include-dir=DIR
1683 installation directory for include files
1684 --with-toolexeclibdir=DIR
1685 install libraries built with a cross compiler within
1686 DIR
1687 --with-gcc-major-version-only
1688 use only GCC major number in filesystem paths
1689
1690 Some influential environment variables:
1691 CC C compiler command
1692 CFLAGS C compiler flags
1693 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1694 nonstandard directory <lib dir>
1695 LIBS libraries to pass to the linker, e.g. -l<library>
1696 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
1697 you have headers in a nonstandard directory <include dir>
1698 CXX C++ compiler command
1699 CXXFLAGS C++ compiler flags
1700 CPP C preprocessor
1701 CXXCPP C++ preprocessor
1702 CXXFILT Location of GNU c++filt. Defaults to the first GNU version of
1703 `c++filt', `gc++filt' on PATH.
1704
1705 Use these variables to override the choices made by `configure' or to help
1706 it to find libraries and programs with nonstandard names/locations.
1707
1708 Report bugs to the package provider.
1709 _ACEOF
1710 ac_status=$?
1711 fi
1712
1713 if test "$ac_init_help" = "recursive"; then
1714 # If there are subdirs, report their specific --help.
1715 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1716 test -d "$ac_dir" ||
1717 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
1718 continue
1719 ac_builddir=.
1720
1721 case "$ac_dir" in
1722 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1723 *)
1724 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
1725 # A ".." for each directory in $ac_dir_suffix.
1726 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
1727 case $ac_top_builddir_sub in
1728 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1729 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1730 esac ;;
1731 esac
1732 ac_abs_top_builddir=$ac_pwd
1733 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1734 # for backward compatibility:
1735 ac_top_builddir=$ac_top_build_prefix
1736
1737 case $srcdir in
1738 .) # We are building in place.
1739 ac_srcdir=.
1740 ac_top_srcdir=$ac_top_builddir_sub
1741 ac_abs_top_srcdir=$ac_pwd ;;
1742 [\\/]* | ?:[\\/]* ) # Absolute name.
1743 ac_srcdir=$srcdir$ac_dir_suffix;
1744 ac_top_srcdir=$srcdir
1745 ac_abs_top_srcdir=$srcdir ;;
1746 *) # Relative name.
1747 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1748 ac_top_srcdir=$ac_top_build_prefix$srcdir
1749 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1750 esac
1751 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1752
1753 cd "$ac_dir" || { ac_status=$?; continue; }
1754 # Check for guested configure.
1755 if test -f "$ac_srcdir/configure.gnu"; then
1756 echo &&
1757 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1758 elif test -f "$ac_srcdir/configure"; then
1759 echo &&
1760 $SHELL "$ac_srcdir/configure" --help=recursive
1761 else
1762 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1763 fi || ac_status=$?
1764 cd "$ac_pwd" || { ac_status=$?; break; }
1765 done
1766 fi
1767
1768 test -n "$ac_init_help" && exit $ac_status
1769 if $ac_init_version; then
1770 cat <<\_ACEOF
1771 package-unused configure version-unused
1772 generated by GNU Autoconf 2.69
1773
1774 Copyright (C) 2012 Free Software Foundation, Inc.
1775 This configure script is free software; the Free Software Foundation
1776 gives unlimited permission to copy, distribute and modify it.
1777 _ACEOF
1778 exit
1779 fi
1780
1781 ## ------------------------ ##
1782 ## Autoconf initialization. ##
1783 ## ------------------------ ##
1784
1785 # ac_fn_c_try_compile LINENO
1786 # --------------------------
1787 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1788 ac_fn_c_try_compile ()
1789 {
1790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1791 rm -f conftest.$ac_objext
1792 if { { ac_try="$ac_compile"
1793 case "(($ac_try" in
1794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1795 *) ac_try_echo=$ac_try;;
1796 esac
1797 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1798 $as_echo "$ac_try_echo"; } >&5
1799 (eval "$ac_compile") 2>conftest.err
1800 ac_status=$?
1801 if test -s conftest.err; then
1802 grep -v '^ *+' conftest.err >conftest.er1
1803 cat conftest.er1 >&5
1804 mv -f conftest.er1 conftest.err
1805 fi
1806 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1807 test $ac_status = 0; } && {
1808 test -z "$ac_c_werror_flag" ||
1809 test ! -s conftest.err
1810 } && test -s conftest.$ac_objext; then :
1811 ac_retval=0
1812 else
1813 $as_echo "$as_me: failed program was:" >&5
1814 sed 's/^/| /' conftest.$ac_ext >&5
1815
1816 ac_retval=1
1817 fi
1818 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1819 as_fn_set_status $ac_retval
1820
1821 } # ac_fn_c_try_compile
1822
1823 # ac_fn_cxx_try_compile LINENO
1824 # ----------------------------
1825 # Try to compile conftest.$ac_ext, and return whether this succeeded.
1826 ac_fn_cxx_try_compile ()
1827 {
1828 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1829 rm -f conftest.$ac_objext
1830 if { { ac_try="$ac_compile"
1831 case "(($ac_try" in
1832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1833 *) ac_try_echo=$ac_try;;
1834 esac
1835 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1836 $as_echo "$ac_try_echo"; } >&5
1837 (eval "$ac_compile") 2>conftest.err
1838 ac_status=$?
1839 if test -s conftest.err; then
1840 grep -v '^ *+' conftest.err >conftest.er1
1841 cat conftest.er1 >&5
1842 mv -f conftest.er1 conftest.err
1843 fi
1844 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1845 test $ac_status = 0; } && {
1846 test -z "$ac_cxx_werror_flag" ||
1847 test ! -s conftest.err
1848 } && test -s conftest.$ac_objext; then :
1849 ac_retval=0
1850 else
1851 $as_echo "$as_me: failed program was:" >&5
1852 sed 's/^/| /' conftest.$ac_ext >&5
1853
1854 ac_retval=1
1855 fi
1856 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1857 as_fn_set_status $ac_retval
1858
1859 } # ac_fn_cxx_try_compile
1860
1861 # ac_fn_c_try_cpp LINENO
1862 # ----------------------
1863 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
1864 ac_fn_c_try_cpp ()
1865 {
1866 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1867 if { { ac_try="$ac_cpp conftest.$ac_ext"
1868 case "(($ac_try" in
1869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1870 *) ac_try_echo=$ac_try;;
1871 esac
1872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1873 $as_echo "$ac_try_echo"; } >&5
1874 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
1875 ac_status=$?
1876 if test -s conftest.err; then
1877 grep -v '^ *+' conftest.err >conftest.er1
1878 cat conftest.er1 >&5
1879 mv -f conftest.er1 conftest.err
1880 fi
1881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1882 test $ac_status = 0; } > conftest.i && {
1883 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
1884 test ! -s conftest.err
1885 }; then :
1886 ac_retval=0
1887 else
1888 $as_echo "$as_me: failed program was:" >&5
1889 sed 's/^/| /' conftest.$ac_ext >&5
1890
1891 ac_retval=1
1892 fi
1893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1894 as_fn_set_status $ac_retval
1895
1896 } # ac_fn_c_try_cpp
1897
1898 # ac_fn_c_try_link LINENO
1899 # -----------------------
1900 # Try to link conftest.$ac_ext, and return whether this succeeded.
1901 ac_fn_c_try_link ()
1902 {
1903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1904 rm -f conftest.$ac_objext conftest$ac_exeext
1905 if { { ac_try="$ac_link"
1906 case "(($ac_try" in
1907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1908 *) ac_try_echo=$ac_try;;
1909 esac
1910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1911 $as_echo "$ac_try_echo"; } >&5
1912 (eval "$ac_link") 2>conftest.err
1913 ac_status=$?
1914 if test -s conftest.err; then
1915 grep -v '^ *+' conftest.err >conftest.er1
1916 cat conftest.er1 >&5
1917 mv -f conftest.er1 conftest.err
1918 fi
1919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1920 test $ac_status = 0; } && {
1921 test -z "$ac_c_werror_flag" ||
1922 test ! -s conftest.err
1923 } && test -s conftest$ac_exeext && {
1924 test "$cross_compiling" = yes ||
1925 test -x conftest$ac_exeext
1926 }; then :
1927 ac_retval=0
1928 else
1929 $as_echo "$as_me: failed program was:" >&5
1930 sed 's/^/| /' conftest.$ac_ext >&5
1931
1932 ac_retval=1
1933 fi
1934 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
1935 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
1936 # interfere with the next link command; also delete a directory that is
1937 # left behind by Apple's compiler. We do this before executing the actions.
1938 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
1939 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1940 as_fn_set_status $ac_retval
1941
1942 } # ac_fn_c_try_link
1943
1944 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
1945 # -------------------------------------------------------
1946 # Tests whether HEADER exists and can be compiled using the include files in
1947 # INCLUDES, setting the cache variable VAR accordingly.
1948 ac_fn_c_check_header_compile ()
1949 {
1950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
1952 $as_echo_n "checking for $2... " >&6; }
1953 if eval \${$3+:} false; then :
1954 $as_echo_n "(cached) " >&6
1955 else
1956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
1957 /* end confdefs.h. */
1958 $4
1959 #include <$2>
1960 _ACEOF
1961 if ac_fn_c_try_compile "$LINENO"; then :
1962 eval "$3=yes"
1963 else
1964 eval "$3=no"
1965 fi
1966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
1967 fi
1968 eval ac_res=\$$3
1969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
1970 $as_echo "$ac_res" >&6; }
1971 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
1972
1973 } # ac_fn_c_check_header_compile
1974
1975 # ac_fn_c_try_run LINENO
1976 # ----------------------
1977 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
1978 # that executables *can* be run.
1979 ac_fn_c_try_run ()
1980 {
1981 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
1982 if { { ac_try="$ac_link"
1983 case "(($ac_try" in
1984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1985 *) ac_try_echo=$ac_try;;
1986 esac
1987 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1988 $as_echo "$ac_try_echo"; } >&5
1989 (eval "$ac_link") 2>&5
1990 ac_status=$?
1991 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
1992 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
1993 { { case "(($ac_try" in
1994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
1995 *) ac_try_echo=$ac_try;;
1996 esac
1997 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
1998 $as_echo "$ac_try_echo"; } >&5
1999 (eval "$ac_try") 2>&5
2000 ac_status=$?
2001 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2002 test $ac_status = 0; }; }; then :
2003 ac_retval=0
2004 else
2005 $as_echo "$as_me: program exited with status $ac_status" >&5
2006 $as_echo "$as_me: failed program was:" >&5
2007 sed 's/^/| /' conftest.$ac_ext >&5
2008
2009 ac_retval=$ac_status
2010 fi
2011 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2012 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2013 as_fn_set_status $ac_retval
2014
2015 } # ac_fn_c_try_run
2016
2017 # ac_fn_c_check_func LINENO FUNC VAR
2018 # ----------------------------------
2019 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2020 ac_fn_c_check_func ()
2021 {
2022 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2024 $as_echo_n "checking for $2... " >&6; }
2025 if eval \${$3+:} false; then :
2026 $as_echo_n "(cached) " >&6
2027 else
2028 if test x$gcc_no_link = xyes; then
2029 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2030 fi
2031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2032 /* end confdefs.h. */
2033 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2034 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2035 #define $2 innocuous_$2
2036
2037 /* System header to define __stub macros and hopefully few prototypes,
2038 which can conflict with char $2 (); below.
2039 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2040 <limits.h> exists even on freestanding compilers. */
2041
2042 #ifdef __STDC__
2043 # include <limits.h>
2044 #else
2045 # include <assert.h>
2046 #endif
2047
2048 #undef $2
2049
2050 /* Override any GCC internal prototype to avoid an error.
2051 Use char because int might match the return type of a GCC
2052 builtin and then its argument prototype would still apply. */
2053 #ifdef __cplusplus
2054 extern "C"
2055 #endif
2056 char $2 ();
2057 /* The GNU C library defines this for functions which it implements
2058 to always fail with ENOSYS. Some functions are actually named
2059 something starting with __ and the normal name is an alias. */
2060 #if defined __stub_$2 || defined __stub___$2
2061 choke me
2062 #endif
2063
2064 int
2065 main ()
2066 {
2067 return $2 ();
2068 ;
2069 return 0;
2070 }
2071 _ACEOF
2072 if ac_fn_c_try_link "$LINENO"; then :
2073 eval "$3=yes"
2074 else
2075 eval "$3=no"
2076 fi
2077 rm -f core conftest.err conftest.$ac_objext \
2078 conftest$ac_exeext conftest.$ac_ext
2079 fi
2080 eval ac_res=\$$3
2081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2082 $as_echo "$ac_res" >&6; }
2083 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2084
2085 } # ac_fn_c_check_func
2086
2087 # ac_fn_cxx_try_cpp LINENO
2088 # ------------------------
2089 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2090 ac_fn_cxx_try_cpp ()
2091 {
2092 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2093 if { { ac_try="$ac_cpp conftest.$ac_ext"
2094 case "(($ac_try" in
2095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2096 *) ac_try_echo=$ac_try;;
2097 esac
2098 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2099 $as_echo "$ac_try_echo"; } >&5
2100 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2101 ac_status=$?
2102 if test -s conftest.err; then
2103 grep -v '^ *+' conftest.err >conftest.er1
2104 cat conftest.er1 >&5
2105 mv -f conftest.er1 conftest.err
2106 fi
2107 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2108 test $ac_status = 0; } > conftest.i && {
2109 test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
2110 test ! -s conftest.err
2111 }; then :
2112 ac_retval=0
2113 else
2114 $as_echo "$as_me: failed program was:" >&5
2115 sed 's/^/| /' conftest.$ac_ext >&5
2116
2117 ac_retval=1
2118 fi
2119 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2120 as_fn_set_status $ac_retval
2121
2122 } # ac_fn_cxx_try_cpp
2123
2124 # ac_fn_cxx_try_link LINENO
2125 # -------------------------
2126 # Try to link conftest.$ac_ext, and return whether this succeeded.
2127 ac_fn_cxx_try_link ()
2128 {
2129 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2130 rm -f conftest.$ac_objext conftest$ac_exeext
2131 if { { ac_try="$ac_link"
2132 case "(($ac_try" in
2133 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2134 *) ac_try_echo=$ac_try;;
2135 esac
2136 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2137 $as_echo "$ac_try_echo"; } >&5
2138 (eval "$ac_link") 2>conftest.err
2139 ac_status=$?
2140 if test -s conftest.err; then
2141 grep -v '^ *+' conftest.err >conftest.er1
2142 cat conftest.er1 >&5
2143 mv -f conftest.er1 conftest.err
2144 fi
2145 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2146 test $ac_status = 0; } && {
2147 test -z "$ac_cxx_werror_flag" ||
2148 test ! -s conftest.err
2149 } && test -s conftest$ac_exeext && {
2150 test "$cross_compiling" = yes ||
2151 test -x conftest$ac_exeext
2152 }; then :
2153 ac_retval=0
2154 else
2155 $as_echo "$as_me: failed program was:" >&5
2156 sed 's/^/| /' conftest.$ac_ext >&5
2157
2158 ac_retval=1
2159 fi
2160 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2161 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2162 # interfere with the next link command; also delete a directory that is
2163 # left behind by Apple's compiler. We do this before executing the actions.
2164 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2165 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2166 as_fn_set_status $ac_retval
2167
2168 } # ac_fn_cxx_try_link
2169
2170 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2171 # -------------------------------------------------------
2172 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2173 # the include files in INCLUDES and setting the cache variable VAR
2174 # accordingly.
2175 ac_fn_c_check_header_mongrel ()
2176 {
2177 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2178 if eval \${$3+:} false; then :
2179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2180 $as_echo_n "checking for $2... " >&6; }
2181 if eval \${$3+:} false; then :
2182 $as_echo_n "(cached) " >&6
2183 fi
2184 eval ac_res=\$$3
2185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2186 $as_echo "$ac_res" >&6; }
2187 else
2188 # Is the header compilable?
2189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2190 $as_echo_n "checking $2 usability... " >&6; }
2191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2192 /* end confdefs.h. */
2193 $4
2194 #include <$2>
2195 _ACEOF
2196 if ac_fn_c_try_compile "$LINENO"; then :
2197 ac_header_compiler=yes
2198 else
2199 ac_header_compiler=no
2200 fi
2201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2203 $as_echo "$ac_header_compiler" >&6; }
2204
2205 # Is the header present?
2206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2207 $as_echo_n "checking $2 presence... " >&6; }
2208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2209 /* end confdefs.h. */
2210 #include <$2>
2211 _ACEOF
2212 if ac_fn_c_try_cpp "$LINENO"; then :
2213 ac_header_preproc=yes
2214 else
2215 ac_header_preproc=no
2216 fi
2217 rm -f conftest.err conftest.i conftest.$ac_ext
2218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2219 $as_echo "$ac_header_preproc" >&6; }
2220
2221 # So? What about this header?
2222 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2223 yes:no: )
2224 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2225 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2227 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2228 ;;
2229 no:yes:* )
2230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2231 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2232 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2233 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2235 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2237 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2240 ;;
2241 esac
2242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2243 $as_echo_n "checking for $2... " >&6; }
2244 if eval \${$3+:} false; then :
2245 $as_echo_n "(cached) " >&6
2246 else
2247 eval "$3=\$ac_header_compiler"
2248 fi
2249 eval ac_res=\$$3
2250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2251 $as_echo "$ac_res" >&6; }
2252 fi
2253 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2254
2255 } # ac_fn_c_check_header_mongrel
2256
2257 # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
2258 # ---------------------------------------------------------
2259 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2260 # the include files in INCLUDES and setting the cache variable VAR
2261 # accordingly.
2262 ac_fn_cxx_check_header_mongrel ()
2263 {
2264 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2265 if eval \${$3+:} false; then :
2266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2267 $as_echo_n "checking for $2... " >&6; }
2268 if eval \${$3+:} false; then :
2269 $as_echo_n "(cached) " >&6
2270 fi
2271 eval ac_res=\$$3
2272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2273 $as_echo "$ac_res" >&6; }
2274 else
2275 # Is the header compilable?
2276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2277 $as_echo_n "checking $2 usability... " >&6; }
2278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2279 /* end confdefs.h. */
2280 $4
2281 #include <$2>
2282 _ACEOF
2283 if ac_fn_cxx_try_compile "$LINENO"; then :
2284 ac_header_compiler=yes
2285 else
2286 ac_header_compiler=no
2287 fi
2288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2290 $as_echo "$ac_header_compiler" >&6; }
2291
2292 # Is the header present?
2293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2294 $as_echo_n "checking $2 presence... " >&6; }
2295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2296 /* end confdefs.h. */
2297 #include <$2>
2298 _ACEOF
2299 if ac_fn_cxx_try_cpp "$LINENO"; then :
2300 ac_header_preproc=yes
2301 else
2302 ac_header_preproc=no
2303 fi
2304 rm -f conftest.err conftest.i conftest.$ac_ext
2305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2306 $as_echo "$ac_header_preproc" >&6; }
2307
2308 # So? What about this header?
2309 case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
2310 yes:no: )
2311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2312 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2313 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2314 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2315 ;;
2316 no:yes:* )
2317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2318 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2319 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2320 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2321 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2322 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2323 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2324 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2326 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2327 ;;
2328 esac
2329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2330 $as_echo_n "checking for $2... " >&6; }
2331 if eval \${$3+:} false; then :
2332 $as_echo_n "(cached) " >&6
2333 else
2334 eval "$3=\$ac_header_compiler"
2335 fi
2336 eval ac_res=\$$3
2337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2338 $as_echo "$ac_res" >&6; }
2339 fi
2340 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2341
2342 } # ac_fn_cxx_check_header_mongrel
2343
2344 # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
2345 # --------------------------------------------
2346 # Tries to find the compile-time value of EXPR in a program that includes
2347 # INCLUDES, setting VAR accordingly. Returns whether the value could be
2348 # computed
2349 ac_fn_c_compute_int ()
2350 {
2351 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2352 if test "$cross_compiling" = yes; then
2353 # Depending upon the size, compute the lo and hi bounds.
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) >= 0)];
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_lo=0 ac_mid=0
2370 while :; do
2371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2372 /* end confdefs.h. */
2373 $4
2374 int
2375 main ()
2376 {
2377 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2378 test_array [0] = 0;
2379 return test_array [0];
2380
2381 ;
2382 return 0;
2383 }
2384 _ACEOF
2385 if ac_fn_c_try_compile "$LINENO"; then :
2386 ac_hi=$ac_mid; break
2387 else
2388 as_fn_arith $ac_mid + 1 && ac_lo=$as_val
2389 if test $ac_lo -le $ac_mid; then
2390 ac_lo= ac_hi=
2391 break
2392 fi
2393 as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
2394 fi
2395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2396 done
2397 else
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) < 0)];
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_hi=-1 ac_mid=-1
2414 while :; do
2415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2416 /* end confdefs.h. */
2417 $4
2418 int
2419 main ()
2420 {
2421 static int test_array [1 - 2 * !(($2) >= $ac_mid)];
2422 test_array [0] = 0;
2423 return test_array [0];
2424
2425 ;
2426 return 0;
2427 }
2428 _ACEOF
2429 if ac_fn_c_try_compile "$LINENO"; then :
2430 ac_lo=$ac_mid; break
2431 else
2432 as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
2433 if test $ac_mid -le $ac_hi; then
2434 ac_lo= ac_hi=
2435 break
2436 fi
2437 as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
2438 fi
2439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2440 done
2441 else
2442 ac_lo= ac_hi=
2443 fi
2444 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2445 fi
2446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2447 # Binary search between lo and hi bounds.
2448 while test "x$ac_lo" != "x$ac_hi"; do
2449 as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
2450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2451 /* end confdefs.h. */
2452 $4
2453 int
2454 main ()
2455 {
2456 static int test_array [1 - 2 * !(($2) <= $ac_mid)];
2457 test_array [0] = 0;
2458 return test_array [0];
2459
2460 ;
2461 return 0;
2462 }
2463 _ACEOF
2464 if ac_fn_c_try_compile "$LINENO"; then :
2465 ac_hi=$ac_mid
2466 else
2467 as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
2468 fi
2469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2470 done
2471 case $ac_lo in #((
2472 ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
2473 '') ac_retval=1 ;;
2474 esac
2475 else
2476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2477 /* end confdefs.h. */
2478 $4
2479 static long int longval () { return $2; }
2480 static unsigned long int ulongval () { return $2; }
2481 #include <stdio.h>
2482 #include <stdlib.h>
2483 int
2484 main ()
2485 {
2486
2487 FILE *f = fopen ("conftest.val", "w");
2488 if (! f)
2489 return 1;
2490 if (($2) < 0)
2491 {
2492 long int i = longval ();
2493 if (i != ($2))
2494 return 1;
2495 fprintf (f, "%ld", i);
2496 }
2497 else
2498 {
2499 unsigned long int i = ulongval ();
2500 if (i != ($2))
2501 return 1;
2502 fprintf (f, "%lu", i);
2503 }
2504 /* Do not output a trailing newline, as this causes \r\n confusion
2505 on some platforms. */
2506 return ferror (f) || fclose (f) != 0;
2507
2508 ;
2509 return 0;
2510 }
2511 _ACEOF
2512 if ac_fn_c_try_run "$LINENO"; then :
2513 echo >>conftest.val; read $3 <conftest.val; ac_retval=0
2514 else
2515 ac_retval=1
2516 fi
2517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
2518 conftest.$ac_objext conftest.beam conftest.$ac_ext
2519 rm -f conftest.val
2520
2521 fi
2522 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2523 as_fn_set_status $ac_retval
2524
2525 } # ac_fn_c_compute_int
2526
2527 # ac_fn_cxx_check_func LINENO FUNC VAR
2528 # ------------------------------------
2529 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2530 ac_fn_cxx_check_func ()
2531 {
2532 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2534 $as_echo_n "checking for $2... " >&6; }
2535 if eval \${$3+:} false; then :
2536 $as_echo_n "(cached) " >&6
2537 else
2538 if test x$gcc_no_link = xyes; then
2539 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
2540 fi
2541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2542 /* end confdefs.h. */
2543 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2545 #define $2 innocuous_$2
2546
2547 /* System header to define __stub macros and hopefully few prototypes,
2548 which can conflict with char $2 (); below.
2549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
2550 <limits.h> exists even on freestanding compilers. */
2551
2552 #ifdef __STDC__
2553 # include <limits.h>
2554 #else
2555 # include <assert.h>
2556 #endif
2557
2558 #undef $2
2559
2560 /* Override any GCC internal prototype to avoid an error.
2561 Use char because int might match the return type of a GCC
2562 builtin and then its argument prototype would still apply. */
2563 #ifdef __cplusplus
2564 extern "C"
2565 #endif
2566 char $2 ();
2567 /* The GNU C library defines this for functions which it implements
2568 to always fail with ENOSYS. Some functions are actually named
2569 something starting with __ and the normal name is an alias. */
2570 #if defined __stub_$2 || defined __stub___$2
2571 choke me
2572 #endif
2573
2574 int
2575 main ()
2576 {
2577 return $2 ();
2578 ;
2579 return 0;
2580 }
2581 _ACEOF
2582 if ac_fn_cxx_try_link "$LINENO"; then :
2583 eval "$3=yes"
2584 else
2585 eval "$3=no"
2586 fi
2587 rm -f core conftest.err conftest.$ac_objext \
2588 conftest$ac_exeext conftest.$ac_ext
2589 fi
2590 eval ac_res=\$$3
2591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2592 $as_echo "$ac_res" >&6; }
2593 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2594
2595 } # ac_fn_cxx_check_func
2596
2597 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
2598 # -------------------------------------------
2599 # Tests whether TYPE exists after having included INCLUDES, setting cache
2600 # variable VAR accordingly.
2601 ac_fn_c_check_type ()
2602 {
2603 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2605 $as_echo_n "checking for $2... " >&6; }
2606 if eval \${$3+:} false; then :
2607 $as_echo_n "(cached) " >&6
2608 else
2609 eval "$3=no"
2610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2611 /* end confdefs.h. */
2612 $4
2613 int
2614 main ()
2615 {
2616 if (sizeof ($2))
2617 return 0;
2618 ;
2619 return 0;
2620 }
2621 _ACEOF
2622 if ac_fn_c_try_compile "$LINENO"; then :
2623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2624 /* end confdefs.h. */
2625 $4
2626 int
2627 main ()
2628 {
2629 if (sizeof (($2)))
2630 return 0;
2631 ;
2632 return 0;
2633 }
2634 _ACEOF
2635 if ac_fn_c_try_compile "$LINENO"; then :
2636
2637 else
2638 eval "$3=yes"
2639 fi
2640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2641 fi
2642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2643 fi
2644 eval ac_res=\$$3
2645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2646 $as_echo "$ac_res" >&6; }
2647 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2648
2649 } # ac_fn_c_check_type
2650
2651 # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
2652 # ---------------------------------------------
2653 # Tests whether TYPE exists after having included INCLUDES, setting cache
2654 # variable VAR accordingly.
2655 ac_fn_cxx_check_type ()
2656 {
2657 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2659 $as_echo_n "checking for $2... " >&6; }
2660 if eval \${$3+:} false; then :
2661 $as_echo_n "(cached) " >&6
2662 else
2663 eval "$3=no"
2664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2665 /* end confdefs.h. */
2666 $4
2667 int
2668 main ()
2669 {
2670 if (sizeof ($2))
2671 return 0;
2672 ;
2673 return 0;
2674 }
2675 _ACEOF
2676 if ac_fn_cxx_try_compile "$LINENO"; then :
2677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2678 /* end confdefs.h. */
2679 $4
2680 int
2681 main ()
2682 {
2683 if (sizeof (($2)))
2684 return 0;
2685 ;
2686 return 0;
2687 }
2688 _ACEOF
2689 if ac_fn_cxx_try_compile "$LINENO"; then :
2690
2691 else
2692 eval "$3=yes"
2693 fi
2694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2695 fi
2696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2697 fi
2698 eval ac_res=\$$3
2699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2700 $as_echo "$ac_res" >&6; }
2701 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2702
2703 } # ac_fn_cxx_check_type
2704 cat >config.log <<_ACEOF
2705 This file contains any messages produced by compilers while
2706 running configure, to aid debugging if configure makes a mistake.
2707
2708 It was created by package-unused $as_me version-unused, which was
2709 generated by GNU Autoconf 2.69. Invocation command line was
2710
2711 $ $0 $@
2712
2713 _ACEOF
2714 exec 5>>config.log
2715 {
2716 cat <<_ASUNAME
2717 ## --------- ##
2718 ## Platform. ##
2719 ## --------- ##
2720
2721 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2722 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2723 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2724 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2725 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2726
2727 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2728 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2729
2730 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2731 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2732 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2733 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2734 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2735 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2736 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2737
2738 _ASUNAME
2739
2740 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2741 for as_dir in $PATH
2742 do
2743 IFS=$as_save_IFS
2744 test -z "$as_dir" && as_dir=.
2745 $as_echo "PATH: $as_dir"
2746 done
2747 IFS=$as_save_IFS
2748
2749 } >&5
2750
2751 cat >&5 <<_ACEOF
2752
2753
2754 ## ----------- ##
2755 ## Core tests. ##
2756 ## ----------- ##
2757
2758 _ACEOF
2759
2760
2761 # Keep a trace of the command line.
2762 # Strip out --no-create and --no-recursion so they do not pile up.
2763 # Strip out --silent because we don't want to record it for future runs.
2764 # Also quote any args containing shell meta-characters.
2765 # Make two passes to allow for proper duplicate-argument suppression.
2766 ac_configure_args=
2767 ac_configure_args0=
2768 ac_configure_args1=
2769 ac_must_keep_next=false
2770 for ac_pass in 1 2
2771 do
2772 for ac_arg
2773 do
2774 case $ac_arg in
2775 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2776 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2777 | -silent | --silent | --silen | --sile | --sil)
2778 continue ;;
2779 *\'*)
2780 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2781 esac
2782 case $ac_pass in
2783 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
2784 2)
2785 as_fn_append ac_configure_args1 " '$ac_arg'"
2786 if test $ac_must_keep_next = true; then
2787 ac_must_keep_next=false # Got value, back to normal.
2788 else
2789 case $ac_arg in
2790 *=* | --config-cache | -C | -disable-* | --disable-* \
2791 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2792 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2793 | -with-* | --with-* | -without-* | --without-* | --x)
2794 case "$ac_configure_args0 " in
2795 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2796 esac
2797 ;;
2798 -* ) ac_must_keep_next=true ;;
2799 esac
2800 fi
2801 as_fn_append ac_configure_args " '$ac_arg'"
2802 ;;
2803 esac
2804 done
2805 done
2806 { ac_configure_args0=; unset ac_configure_args0;}
2807 { ac_configure_args1=; unset ac_configure_args1;}
2808
2809 # When interrupted or exit'd, cleanup temporary files, and complete
2810 # config.log. We remove comments because anyway the quotes in there
2811 # would cause problems or look ugly.
2812 # WARNING: Use '\'' to represent an apostrophe within the trap.
2813 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2814 trap 'exit_status=$?
2815 # Save into config.log some information that might help in debugging.
2816 {
2817 echo
2818
2819 $as_echo "## ---------------- ##
2820 ## Cache variables. ##
2821 ## ---------------- ##"
2822 echo
2823 # The following way of writing the cache mishandles newlines in values,
2824 (
2825 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2826 eval ac_val=\$$ac_var
2827 case $ac_val in #(
2828 *${as_nl}*)
2829 case $ac_var in #(
2830 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
2831 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
2832 esac
2833 case $ac_var in #(
2834 _ | IFS | as_nl) ;; #(
2835 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
2836 *) { eval $ac_var=; unset $ac_var;} ;;
2837 esac ;;
2838 esac
2839 done
2840 (set) 2>&1 |
2841 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2842 *${as_nl}ac_space=\ *)
2843 sed -n \
2844 "s/'\''/'\''\\\\'\'''\''/g;
2845 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2846 ;; #(
2847 *)
2848 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2849 ;;
2850 esac |
2851 sort
2852 )
2853 echo
2854
2855 $as_echo "## ----------------- ##
2856 ## Output variables. ##
2857 ## ----------------- ##"
2858 echo
2859 for ac_var in $ac_subst_vars
2860 do
2861 eval ac_val=\$$ac_var
2862 case $ac_val in
2863 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2864 esac
2865 $as_echo "$ac_var='\''$ac_val'\''"
2866 done | sort
2867 echo
2868
2869 if test -n "$ac_subst_files"; then
2870 $as_echo "## ------------------- ##
2871 ## File substitutions. ##
2872 ## ------------------- ##"
2873 echo
2874 for ac_var in $ac_subst_files
2875 do
2876 eval ac_val=\$$ac_var
2877 case $ac_val in
2878 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2879 esac
2880 $as_echo "$ac_var='\''$ac_val'\''"
2881 done | sort
2882 echo
2883 fi
2884
2885 if test -s confdefs.h; then
2886 $as_echo "## ----------- ##
2887 ## confdefs.h. ##
2888 ## ----------- ##"
2889 echo
2890 cat confdefs.h
2891 echo
2892 fi
2893 test "$ac_signal" != 0 &&
2894 $as_echo "$as_me: caught signal $ac_signal"
2895 $as_echo "$as_me: exit $exit_status"
2896 } >&5
2897 rm -f core *.core core.conftest.* &&
2898 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2899 exit $exit_status
2900 ' 0
2901 for ac_signal in 1 2 13 15; do
2902 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
2903 done
2904 ac_signal=0
2905
2906 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2907 rm -f -r conftest* confdefs.h
2908
2909 $as_echo "/* confdefs.h */" > confdefs.h
2910
2911 # Predefined preprocessor variables.
2912
2913 cat >>confdefs.h <<_ACEOF
2914 #define PACKAGE_NAME "$PACKAGE_NAME"
2915 _ACEOF
2916
2917 cat >>confdefs.h <<_ACEOF
2918 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2919 _ACEOF
2920
2921 cat >>confdefs.h <<_ACEOF
2922 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2923 _ACEOF
2924
2925 cat >>confdefs.h <<_ACEOF
2926 #define PACKAGE_STRING "$PACKAGE_STRING"
2927 _ACEOF
2928
2929 cat >>confdefs.h <<_ACEOF
2930 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2931 _ACEOF
2932
2933 cat >>confdefs.h <<_ACEOF
2934 #define PACKAGE_URL "$PACKAGE_URL"
2935 _ACEOF
2936
2937
2938 # Let the site file select an alternate cache file if it wants to.
2939 # Prefer an explicitly selected file to automatically selected ones.
2940 ac_site_file1=NONE
2941 ac_site_file2=NONE
2942 if test -n "$CONFIG_SITE"; then
2943 # We do not want a PATH search for config.site.
2944 case $CONFIG_SITE in #((
2945 -*) ac_site_file1=./$CONFIG_SITE;;
2946 */*) ac_site_file1=$CONFIG_SITE;;
2947 *) ac_site_file1=./$CONFIG_SITE;;
2948 esac
2949 elif test "x$prefix" != xNONE; then
2950 ac_site_file1=$prefix/share/config.site
2951 ac_site_file2=$prefix/etc/config.site
2952 else
2953 ac_site_file1=$ac_default_prefix/share/config.site
2954 ac_site_file2=$ac_default_prefix/etc/config.site
2955 fi
2956 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
2957 do
2958 test "x$ac_site_file" = xNONE && continue
2959 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
2961 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
2962 sed 's/^/| /' "$ac_site_file" >&5
2963 . "$ac_site_file" \
2964 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
2965 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
2966 as_fn_error $? "failed to load site script $ac_site_file
2967 See \`config.log' for more details" "$LINENO" 5; }
2968 fi
2969 done
2970
2971 if test -r "$cache_file"; then
2972 # Some versions of bash will fail to source /dev/null (special files
2973 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
2974 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
2976 $as_echo "$as_me: loading cache $cache_file" >&6;}
2977 case $cache_file in
2978 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2979 *) . "./$cache_file";;
2980 esac
2981 fi
2982 else
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
2984 $as_echo "$as_me: creating cache $cache_file" >&6;}
2985 >$cache_file
2986 fi
2987
2988 # Check that the precious variables saved in the cache have kept the same
2989 # value.
2990 ac_cache_corrupted=false
2991 for ac_var in $ac_precious_vars; do
2992 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2993 eval ac_new_set=\$ac_env_${ac_var}_set
2994 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2995 eval ac_new_val=\$ac_env_${ac_var}_value
2996 case $ac_old_set,$ac_new_set in
2997 set,)
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2999 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3000 ac_cache_corrupted=: ;;
3001 ,set)
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3003 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3004 ac_cache_corrupted=: ;;
3005 ,);;
3006 *)
3007 if test "x$ac_old_val" != "x$ac_new_val"; then
3008 # differences in whitespace do not lead to failure.
3009 ac_old_val_w=`echo x $ac_old_val`
3010 ac_new_val_w=`echo x $ac_new_val`
3011 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3013 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3014 ac_cache_corrupted=:
3015 else
3016 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3017 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3018 eval $ac_var=\$ac_old_val
3019 fi
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3021 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3023 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3024 fi;;
3025 esac
3026 # Pass precious variables to config.status.
3027 if test "$ac_new_set" = set; then
3028 case $ac_new_val in
3029 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3030 *) ac_arg=$ac_var=$ac_new_val ;;
3031 esac
3032 case " $ac_configure_args " in
3033 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3034 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3035 esac
3036 fi
3037 done
3038 if $ac_cache_corrupted; then
3039 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3040 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3041 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3042 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3043 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3044 fi
3045 ## -------------------- ##
3046 ## Main body of script. ##
3047 ## -------------------- ##
3048
3049 ac_ext=c
3050 ac_cpp='$CPP $CPPFLAGS'
3051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3054
3055
3056
3057
3058
3059
3060 ac_config_headers="$ac_config_headers config.h"
3061
3062
3063 # This works around the fact that libtool configuration may change LD
3064 # for this particular configuration, but some shells, instead of
3065 # keeping the changes in LD private, export them just because LD is
3066 # exported. Only used at the end of this file.
3067 ### am handles this now? ORIGINAL_LD_FOR_MULTILIBS=$LD
3068
3069 # Find the rest of the source tree framework.
3070 # Default to --enable-multilib
3071 # Check whether --enable-multilib was given.
3072 if test "${enable_multilib+set}" = set; then :
3073 enableval=$enable_multilib; case "$enableval" in
3074 yes) multilib=yes ;;
3075 no) multilib=no ;;
3076 *) as_fn_error $? "bad value $enableval for multilib option" "$LINENO" 5 ;;
3077 esac
3078 else
3079 multilib=yes
3080 fi
3081
3082
3083 # We may get other options which we leave undocumented:
3084 # --with-target-subdir, --with-multisrctop, --with-multisubdir
3085 # See config-ml.in if you want the gory details.
3086
3087 if test "$srcdir" = "."; then
3088 if test "$with_target_subdir" != "."; then
3089 multi_basedir="$srcdir/$with_multisrctop../.."
3090 else
3091 multi_basedir="$srcdir/$with_multisrctop.."
3092 fi
3093 else
3094 multi_basedir="$srcdir/.."
3095 fi
3096
3097
3098 # Even if the default multilib is not a cross compilation,
3099 # it may be that some of the other multilibs are.
3100 if test $cross_compiling = no && test $multilib = yes \
3101 && test "x${with_multisubdir}" != x ; then
3102 cross_compiling=maybe
3103 fi
3104
3105 ac_config_commands="$ac_config_commands default-1"
3106
3107
3108 # Gets build, host, target, *_vendor, *_cpu, *_os, etc.
3109 #
3110 # You will slowly go insane if you do not grok the following fact: when
3111 # building v3 as part of the compiler, the top-level /target/ becomes the
3112 # library's /host/. configure then causes --target to default to --host,
3113 # exactly like any other package using autoconf. Therefore, 'target' and
3114 # 'host' will always be the same. This makes sense both for native and
3115 # cross compilers, just think about it for a little while. :-)
3116 #
3117 # Also, if v3 is being configured as part of a cross compiler, the top-level
3118 # configure script will pass the "real" host as $with_cross_host.
3119 #
3120 # Do not delete or change the following two lines. For why, see
3121 # http://gcc.gnu.org/ml/libstdc++/2003-07/msg00451.html
3122 ac_aux_dir=
3123 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
3124 if test -f "$ac_dir/install-sh"; then
3125 ac_aux_dir=$ac_dir
3126 ac_install_sh="$ac_aux_dir/install-sh -c"
3127 break
3128 elif test -f "$ac_dir/install.sh"; then
3129 ac_aux_dir=$ac_dir
3130 ac_install_sh="$ac_aux_dir/install.sh -c"
3131 break
3132 elif test -f "$ac_dir/shtool"; then
3133 ac_aux_dir=$ac_dir
3134 ac_install_sh="$ac_aux_dir/shtool install -c"
3135 break
3136 fi
3137 done
3138 if test -z "$ac_aux_dir"; then
3139 as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
3140 fi
3141
3142 # These three variables are undocumented and unsupported,
3143 # and are intended to be withdrawn in a future Autoconf release.
3144 # They can cause serious problems if a builder's source tree is in a directory
3145 # whose full name contains unusual characters.
3146 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3147 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3148 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3149
3150
3151 # Make sure we can run config.sub.
3152 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3153 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3154
3155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3156 $as_echo_n "checking build system type... " >&6; }
3157 if ${ac_cv_build+:} false; then :
3158 $as_echo_n "(cached) " >&6
3159 else
3160 ac_build_alias=$build_alias
3161 test "x$ac_build_alias" = x &&
3162 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3163 test "x$ac_build_alias" = x &&
3164 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3165 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3166 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3167
3168 fi
3169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3170 $as_echo "$ac_cv_build" >&6; }
3171 case $ac_cv_build in
3172 *-*-*) ;;
3173 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3174 esac
3175 build=$ac_cv_build
3176 ac_save_IFS=$IFS; IFS='-'
3177 set x $ac_cv_build
3178 shift
3179 build_cpu=$1
3180 build_vendor=$2
3181 shift; shift
3182 # Remember, the first character of IFS is used to create $*,
3183 # except with old shells:
3184 build_os=$*
3185 IFS=$ac_save_IFS
3186 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3187
3188
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3190 $as_echo_n "checking host system type... " >&6; }
3191 if ${ac_cv_host+:} false; then :
3192 $as_echo_n "(cached) " >&6
3193 else
3194 if test "x$host_alias" = x; then
3195 ac_cv_host=$ac_cv_build
3196 else
3197 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3198 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3199 fi
3200
3201 fi
3202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3203 $as_echo "$ac_cv_host" >&6; }
3204 case $ac_cv_host in
3205 *-*-*) ;;
3206 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3207 esac
3208 host=$ac_cv_host
3209 ac_save_IFS=$IFS; IFS='-'
3210 set x $ac_cv_host
3211 shift
3212 host_cpu=$1
3213 host_vendor=$2
3214 shift; shift
3215 # Remember, the first character of IFS is used to create $*,
3216 # except with old shells:
3217 host_os=$*
3218 IFS=$ac_save_IFS
3219 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3220
3221
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking target system type" >&5
3223 $as_echo_n "checking target system type... " >&6; }
3224 if ${ac_cv_target+:} false; then :
3225 $as_echo_n "(cached) " >&6
3226 else
3227 if test "x$target_alias" = x; then
3228 ac_cv_target=$ac_cv_host
3229 else
3230 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
3231 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $target_alias failed" "$LINENO" 5
3232 fi
3233
3234 fi
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_target" >&5
3236 $as_echo "$ac_cv_target" >&6; }
3237 case $ac_cv_target in
3238 *-*-*) ;;
3239 *) as_fn_error $? "invalid value of canonical target" "$LINENO" 5;;
3240 esac
3241 target=$ac_cv_target
3242 ac_save_IFS=$IFS; IFS='-'
3243 set x $ac_cv_target
3244 shift
3245 target_cpu=$1
3246 target_vendor=$2
3247 shift; shift
3248 # Remember, the first character of IFS is used to create $*,
3249 # except with old shells:
3250 target_os=$*
3251 IFS=$ac_save_IFS
3252 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
3253
3254
3255 # The aliases save the names the user supplied, while $host etc.
3256 # will get canonicalized.
3257 test -n "$target_alias" &&
3258 test "$program_prefix$program_suffix$program_transform_name" = \
3259 NONENONEs,x,x, &&
3260 program_prefix=${target_alias}-
3261
3262 target_alias=${target_alias-$host_alias}
3263
3264 # Handy for debugging:
3265 #AC_MSG_NOTICE($build / $host / $target / $host_alias / $target_alias); sleep 5
3266
3267 if test "$build" != "$host"; then
3268 # We are being configured with some form of cross compiler.
3269 GLIBCXX_IS_NATIVE=false
3270 case "$host","$target" in
3271 # Darwin crosses can use the host system's libraries and headers,
3272 # because of the fat library support. Of course, it must be the
3273 # same version of Darwin on both sides. Allow the user to
3274 # just say --target=foo-darwin without a version number to mean
3275 # "the version on this system".
3276 *-*-darwin*,*-*-darwin*)
3277 hostos=`echo $host | sed 's/.*-darwin/darwin/'`
3278 targetos=`echo $target | sed 's/.*-darwin/darwin/'`
3279 if test $hostos = $targetos -o $targetos = darwin ; then
3280 GLIBCXX_IS_NATIVE=true
3281 fi
3282 ;;
3283
3284 *)
3285
3286 ;;
3287 esac
3288 else
3289 GLIBCXX_IS_NATIVE=true
3290 fi
3291
3292 # Sets up automake. Must come after AC_CANONICAL_SYSTEM. Each of the
3293 # following is magically included in AUTOMAKE_OPTIONS in each Makefile.am.
3294 # 1.x: minimum required version
3295 # no-define: PACKAGE and VERSION will not be #define'd in config.h (a bunch
3296 # of other PACKAGE_* variables will, however, and there's nothing
3297 # we can do about that; they come from AC_INIT).
3298 # foreign: we don't follow the normal rules for GNU packages (no COPYING
3299 # file in the top srcdir, etc, etc), so stop complaining.
3300 # no-dependencies: turns off auto dependency generation (just for now)
3301 # no-dist: we don't want 'dist' and related rules.
3302 # -Wall: turns on all automake warnings...
3303 # -Wno-portability: ...except this one, since GNU make is now required.
3304 am__api_version='1.15'
3305
3306 # Find a good install program. We prefer a C program (faster),
3307 # so one script is as good as another. But avoid the broken or
3308 # incompatible versions:
3309 # SysV /etc/install, /usr/sbin/install
3310 # SunOS /usr/etc/install
3311 # IRIX /sbin/install
3312 # AIX /bin/install
3313 # AmigaOS /C/install, which installs bootblocks on floppy discs
3314 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
3315 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
3316 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
3317 # OS/2's system install, which has a completely different semantic
3318 # ./install, which can be erroneously created by make from ./install.sh.
3319 # Reject install programs that cannot install multiple files.
3320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
3321 $as_echo_n "checking for a BSD-compatible install... " >&6; }
3322 if test -z "$INSTALL"; then
3323 if ${ac_cv_path_install+:} false; then :
3324 $as_echo_n "(cached) " >&6
3325 else
3326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3327 for as_dir in $PATH
3328 do
3329 IFS=$as_save_IFS
3330 test -z "$as_dir" && as_dir=.
3331 # Account for people who put trailing slashes in PATH elements.
3332 case $as_dir/ in #((
3333 ./ | .// | /[cC]/* | \
3334 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
3335 ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
3336 /usr/ucb/* ) ;;
3337 *)
3338 # OSF1 and SCO ODT 3.0 have their own names for install.
3339 # Don't use installbsd from OSF since it installs stuff as root
3340 # by default.
3341 for ac_prog in ginstall scoinst install; do
3342 for ac_exec_ext in '' $ac_executable_extensions; do
3343 if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
3344 if test $ac_prog = install &&
3345 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3346 # AIX install. It has an incompatible calling convention.
3347 :
3348 elif test $ac_prog = install &&
3349 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
3350 # program-specific install script used by HP pwplus--don't use.
3351 :
3352 else
3353 rm -rf conftest.one conftest.two conftest.dir
3354 echo one > conftest.one
3355 echo two > conftest.two
3356 mkdir conftest.dir
3357 if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
3358 test -s conftest.one && test -s conftest.two &&
3359 test -s conftest.dir/conftest.one &&
3360 test -s conftest.dir/conftest.two
3361 then
3362 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
3363 break 3
3364 fi
3365 fi
3366 fi
3367 done
3368 done
3369 ;;
3370 esac
3371
3372 done
3373 IFS=$as_save_IFS
3374
3375 rm -rf conftest.one conftest.two conftest.dir
3376
3377 fi
3378 if test "${ac_cv_path_install+set}" = set; then
3379 INSTALL=$ac_cv_path_install
3380 else
3381 # As a last resort, use the slow shell script. Don't cache a
3382 # value for INSTALL within a source directory, because that will
3383 # break other packages using the cache if that directory is
3384 # removed, or if the value is a relative name.
3385 INSTALL=$ac_install_sh
3386 fi
3387 fi
3388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
3389 $as_echo "$INSTALL" >&6; }
3390
3391 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
3392 # It thinks the first close brace ends the variable substitution.
3393 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
3394
3395 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
3396
3397 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
3398
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether build environment is sane" >&5
3400 $as_echo_n "checking whether build environment is sane... " >&6; }
3401 # Reject unsafe characters in $srcdir or the absolute working directory
3402 # name. Accept space and tab only in the latter.
3403 am_lf='
3404 '
3405 case `pwd` in
3406 *[\\\"\#\$\&\'\`$am_lf]*)
3407 as_fn_error $? "unsafe absolute working directory name" "$LINENO" 5;;
3408 esac
3409 case $srcdir in
3410 *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
3411 as_fn_error $? "unsafe srcdir value: '$srcdir'" "$LINENO" 5;;
3412 esac
3413
3414 # Do 'set' in a subshell so we don't clobber the current shell's
3415 # arguments. Must try -L first in case configure is actually a
3416 # symlink; some systems play weird games with the mod time of symlinks
3417 # (eg FreeBSD returns the mod time of the symlink's containing
3418 # directory).
3419 if (
3420 am_has_slept=no
3421 for am_try in 1 2; do
3422 echo "timestamp, slept: $am_has_slept" > conftest.file
3423 set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
3424 if test "$*" = "X"; then
3425 # -L didn't work.
3426 set X `ls -t "$srcdir/configure" conftest.file`
3427 fi
3428 if test "$*" != "X $srcdir/configure conftest.file" \
3429 && test "$*" != "X conftest.file $srcdir/configure"; then
3430
3431 # If neither matched, then we have a broken ls. This can happen
3432 # if, for instance, CONFIG_SHELL is bash and it inherits a
3433 # broken ls alias from the environment. This has actually
3434 # happened. Such a system could not be considered "sane".
3435 as_fn_error $? "ls -t appears to fail. Make sure there is not a broken
3436 alias in your environment" "$LINENO" 5
3437 fi
3438 if test "$2" = conftest.file || test $am_try -eq 2; then
3439 break
3440 fi
3441 # Just in case.
3442 sleep 1
3443 am_has_slept=yes
3444 done
3445 test "$2" = conftest.file
3446 )
3447 then
3448 # Ok.
3449 :
3450 else
3451 as_fn_error $? "newly created file is older than distributed files!
3452 Check your system clock" "$LINENO" 5
3453 fi
3454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3455 $as_echo "yes" >&6; }
3456 # If we didn't sleep, we still need to ensure time stamps of config.status and
3457 # generated files are strictly newer.
3458 am_sleep_pid=
3459 if grep 'slept: no' conftest.file >/dev/null 2>&1; then
3460 ( sleep 1 ) &
3461 am_sleep_pid=$!
3462 fi
3463
3464 rm -f conftest.file
3465
3466 test "$program_prefix" != NONE &&
3467 program_transform_name="s&^&$program_prefix&;$program_transform_name"
3468 # Use a double $ so make ignores it.
3469 test "$program_suffix" != NONE &&
3470 program_transform_name="s&\$&$program_suffix&;$program_transform_name"
3471 # Double any \ or $.
3472 # By default was `s,x,x', remove it if useless.
3473 ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
3474 program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
3475
3476 # Expand $ac_aux_dir to an absolute path.
3477 am_aux_dir=`cd "$ac_aux_dir" && pwd`
3478
3479 if test x"${MISSING+set}" != xset; then
3480 case $am_aux_dir in
3481 *\ * | *\ *)
3482 MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
3483 *)
3484 MISSING="\${SHELL} $am_aux_dir/missing" ;;
3485 esac
3486 fi
3487 # Use eval to expand $SHELL
3488 if eval "$MISSING --is-lightweight"; then
3489 am_missing_run="$MISSING "
3490 else
3491 am_missing_run=
3492 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: 'missing' script is too old or missing" >&5
3493 $as_echo "$as_me: WARNING: 'missing' script is too old or missing" >&2;}
3494 fi
3495
3496 if test x"${install_sh+set}" != xset; then
3497 case $am_aux_dir in
3498 *\ * | *\ *)
3499 install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
3500 *)
3501 install_sh="\${SHELL} $am_aux_dir/install-sh"
3502 esac
3503 fi
3504
3505 # Installed binaries are usually stripped using 'strip' when the user
3506 # run "make install-strip". However 'strip' might not be the right
3507 # tool to use in cross-compilation environments, therefore Automake
3508 # will honor the 'STRIP' environment variable to overrule this program.
3509 if test "$cross_compiling" != no; then
3510 if test -n "$ac_tool_prefix"; then
3511 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
3512 set dummy ${ac_tool_prefix}strip; ac_word=$2
3513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3514 $as_echo_n "checking for $ac_word... " >&6; }
3515 if ${ac_cv_prog_STRIP+:} false; then :
3516 $as_echo_n "(cached) " >&6
3517 else
3518 if test -n "$STRIP"; then
3519 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
3520 else
3521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3522 for as_dir in $PATH
3523 do
3524 IFS=$as_save_IFS
3525 test -z "$as_dir" && as_dir=.
3526 for ac_exec_ext in '' $ac_executable_extensions; do
3527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3528 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
3529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3530 break 2
3531 fi
3532 done
3533 done
3534 IFS=$as_save_IFS
3535
3536 fi
3537 fi
3538 STRIP=$ac_cv_prog_STRIP
3539 if test -n "$STRIP"; then
3540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
3541 $as_echo "$STRIP" >&6; }
3542 else
3543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3544 $as_echo "no" >&6; }
3545 fi
3546
3547
3548 fi
3549 if test -z "$ac_cv_prog_STRIP"; then
3550 ac_ct_STRIP=$STRIP
3551 # Extract the first word of "strip", so it can be a program name with args.
3552 set dummy strip; ac_word=$2
3553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3554 $as_echo_n "checking for $ac_word... " >&6; }
3555 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
3556 $as_echo_n "(cached) " >&6
3557 else
3558 if test -n "$ac_ct_STRIP"; then
3559 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
3560 else
3561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3562 for as_dir in $PATH
3563 do
3564 IFS=$as_save_IFS
3565 test -z "$as_dir" && as_dir=.
3566 for ac_exec_ext in '' $ac_executable_extensions; do
3567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3568 ac_cv_prog_ac_ct_STRIP="strip"
3569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3570 break 2
3571 fi
3572 done
3573 done
3574 IFS=$as_save_IFS
3575
3576 fi
3577 fi
3578 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
3579 if test -n "$ac_ct_STRIP"; then
3580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
3581 $as_echo "$ac_ct_STRIP" >&6; }
3582 else
3583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3584 $as_echo "no" >&6; }
3585 fi
3586
3587 if test "x$ac_ct_STRIP" = x; then
3588 STRIP=":"
3589 else
3590 case $cross_compiling:$ac_tool_warned in
3591 yes:)
3592 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3593 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3594 ac_tool_warned=yes ;;
3595 esac
3596 STRIP=$ac_ct_STRIP
3597 fi
3598 else
3599 STRIP="$ac_cv_prog_STRIP"
3600 fi
3601
3602 fi
3603 INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
3604
3605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a thread-safe mkdir -p" >&5
3606 $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
3607 if test -z "$MKDIR_P"; then
3608 if ${ac_cv_path_mkdir+:} false; then :
3609 $as_echo_n "(cached) " >&6
3610 else
3611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3612 for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
3613 do
3614 IFS=$as_save_IFS
3615 test -z "$as_dir" && as_dir=.
3616 for ac_prog in mkdir gmkdir; do
3617 for ac_exec_ext in '' $ac_executable_extensions; do
3618 as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext" || continue
3619 case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
3620 'mkdir (GNU coreutils) '* | \
3621 'mkdir (coreutils) '* | \
3622 'mkdir (fileutils) '4.1*)
3623 ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
3624 break 3;;
3625 esac
3626 done
3627 done
3628 done
3629 IFS=$as_save_IFS
3630
3631 fi
3632
3633 test -d ./--version && rmdir ./--version
3634 if test "${ac_cv_path_mkdir+set}" = set; then
3635 MKDIR_P="$ac_cv_path_mkdir -p"
3636 else
3637 # As a last resort, use the slow shell script. Don't cache a
3638 # value for MKDIR_P within a source directory, because that will
3639 # break other packages using the cache if that directory is
3640 # removed, or if the value is a relative name.
3641 MKDIR_P="$ac_install_sh -d"
3642 fi
3643 fi
3644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MKDIR_P" >&5
3645 $as_echo "$MKDIR_P" >&6; }
3646
3647 for ac_prog in gawk mawk nawk awk
3648 do
3649 # Extract the first word of "$ac_prog", so it can be a program name with args.
3650 set dummy $ac_prog; ac_word=$2
3651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3652 $as_echo_n "checking for $ac_word... " >&6; }
3653 if ${ac_cv_prog_AWK+:} false; then :
3654 $as_echo_n "(cached) " >&6
3655 else
3656 if test -n "$AWK"; then
3657 ac_cv_prog_AWK="$AWK" # Let the user override the test.
3658 else
3659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3660 for as_dir in $PATH
3661 do
3662 IFS=$as_save_IFS
3663 test -z "$as_dir" && as_dir=.
3664 for ac_exec_ext in '' $ac_executable_extensions; do
3665 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3666 ac_cv_prog_AWK="$ac_prog"
3667 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3668 break 2
3669 fi
3670 done
3671 done
3672 IFS=$as_save_IFS
3673
3674 fi
3675 fi
3676 AWK=$ac_cv_prog_AWK
3677 if test -n "$AWK"; then
3678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AWK" >&5
3679 $as_echo "$AWK" >&6; }
3680 else
3681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3682 $as_echo "no" >&6; }
3683 fi
3684
3685
3686 test -n "$AWK" && break
3687 done
3688
3689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3690 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3691 set x ${MAKE-make}
3692 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3693 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3694 $as_echo_n "(cached) " >&6
3695 else
3696 cat >conftest.make <<\_ACEOF
3697 SHELL = /bin/sh
3698 all:
3699 @echo '@@@%%%=$(MAKE)=@@@%%%'
3700 _ACEOF
3701 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3702 case `${MAKE-make} -f conftest.make 2>/dev/null` in
3703 *@@@%%%=?*=@@@%%%*)
3704 eval ac_cv_prog_make_${ac_make}_set=yes;;
3705 *)
3706 eval ac_cv_prog_make_${ac_make}_set=no;;
3707 esac
3708 rm -f conftest.make
3709 fi
3710 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
3711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
3712 $as_echo "yes" >&6; }
3713 SET_MAKE=
3714 else
3715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3716 $as_echo "no" >&6; }
3717 SET_MAKE="MAKE=${MAKE-make}"
3718 fi
3719
3720 rm -rf .tst 2>/dev/null
3721 mkdir .tst 2>/dev/null
3722 if test -d .tst; then
3723 am__leading_dot=.
3724 else
3725 am__leading_dot=_
3726 fi
3727 rmdir .tst 2>/dev/null
3728
3729 # Check whether --enable-silent-rules was given.
3730 if test "${enable_silent_rules+set}" = set; then :
3731 enableval=$enable_silent_rules;
3732 fi
3733
3734 case $enable_silent_rules in # (((
3735 yes) AM_DEFAULT_VERBOSITY=0;;
3736 no) AM_DEFAULT_VERBOSITY=1;;
3737 *) AM_DEFAULT_VERBOSITY=1;;
3738 esac
3739 am_make=${MAKE-make}
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $am_make supports nested variables" >&5
3741 $as_echo_n "checking whether $am_make supports nested variables... " >&6; }
3742 if ${am_cv_make_support_nested_variables+:} false; then :
3743 $as_echo_n "(cached) " >&6
3744 else
3745 if $as_echo 'TRUE=$(BAR$(V))
3746 BAR0=false
3747 BAR1=true
3748 V=1
3749 am__doit:
3750 @$(TRUE)
3751 .PHONY: am__doit' | $am_make -f - >/dev/null 2>&1; then
3752 am_cv_make_support_nested_variables=yes
3753 else
3754 am_cv_make_support_nested_variables=no
3755 fi
3756 fi
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_make_support_nested_variables" >&5
3758 $as_echo "$am_cv_make_support_nested_variables" >&6; }
3759 if test $am_cv_make_support_nested_variables = yes; then
3760 AM_V='$(V)'
3761 AM_DEFAULT_V='$(AM_DEFAULT_VERBOSITY)'
3762 else
3763 AM_V=$AM_DEFAULT_VERBOSITY
3764 AM_DEFAULT_V=$AM_DEFAULT_VERBOSITY
3765 fi
3766 AM_BACKSLASH='\'
3767
3768 if test "`cd $srcdir && pwd`" != "`pwd`"; then
3769 # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
3770 # is not polluted with repeated "-I."
3771 am__isrc=' -I$(srcdir)'
3772 # test to see if srcdir already configured
3773 if test -f $srcdir/config.status; then
3774 as_fn_error $? "source directory already configured; run \"make distclean\" there first" "$LINENO" 5
3775 fi
3776 fi
3777
3778 # test whether we have cygpath
3779 if test -z "$CYGPATH_W"; then
3780 if (cygpath --version) >/dev/null 2>/dev/null; then
3781 CYGPATH_W='cygpath -w'
3782 else
3783 CYGPATH_W=echo
3784 fi
3785 fi
3786
3787
3788 # Define the identity of the package.
3789 PACKAGE='libstdc++'
3790 VERSION='version-unused'
3791
3792
3793 # Some tools Automake needs.
3794
3795 ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
3796
3797
3798 AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
3799
3800
3801 AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
3802
3803
3804 AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
3805
3806
3807 MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
3808
3809 # For better backward compatibility. To be removed once Automake 1.9.x
3810 # dies out for good. For more background, see:
3811 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00001.html>
3812 # <http://lists.gnu.org/archive/html/automake/2012-07/msg00014.html>
3813 mkdir_p='$(MKDIR_P)'
3814
3815 # We need awk for the "check" target (and possibly the TAP driver). The
3816 # system "awk" is bad on some platforms.
3817 # Always define AMTAR for backward compatibility. Yes, it's still used
3818 # in the wild :-( We should find a proper way to deprecate it ...
3819 AMTAR='$${TAR-tar}'
3820
3821
3822 # We'll loop over all known methods to create a tar archive until one works.
3823 _am_tools='gnutar pax cpio none'
3824
3825 am__tar='$${TAR-tar} chof - "$$tardir"' am__untar='$${TAR-tar} xf -'
3826
3827
3828
3829
3830
3831
3832 # POSIX will say in a future version that running "rm -f" with no argument
3833 # is OK; and we want to be able to make that assumption in our Makefile
3834 # recipes. So use an aggressive probe to check that the usage we want is
3835 # actually supported "in the wild" to an acceptable degree.
3836 # See automake bug#10828.
3837 # To make any issue more visible, cause the running configure to be aborted
3838 # by default if the 'rm' program in use doesn't match our expectations; the
3839 # user can still override this though.
3840 if rm -f && rm -fr && rm -rf; then : OK; else
3841 cat >&2 <<'END'
3842 Oops!
3843
3844 Your 'rm' program seems unable to run without file operands specified
3845 on the command line, even when the '-f' option is present. This is contrary
3846 to the behaviour of most rm programs out there, and not conforming with
3847 the upcoming POSIX standard: <http://austingroupbugs.net/view.php?id=542>
3848
3849 Please tell bug-automake@gnu.org about your system, including the value
3850 of your $PATH and any error possibly output before this message. This
3851 can help us improve future automake versions.
3852
3853 END
3854 if test x"$ACCEPT_INFERIOR_RM_PROGRAM" = x"yes"; then
3855 echo 'Configuration will proceed anyway, since you have set the' >&2
3856 echo 'ACCEPT_INFERIOR_RM_PROGRAM variable to "yes"' >&2
3857 echo >&2
3858 else
3859 cat >&2 <<'END'
3860 Aborting the configuration process, to ensure you take notice of the issue.
3861
3862 You can download and install GNU coreutils to get an 'rm' implementation
3863 that behaves properly: <http://www.gnu.org/software/coreutils/>.
3864
3865 If you want to complete the configuration process using your problematic
3866 'rm' anyway, export the environment variable ACCEPT_INFERIOR_RM_PROGRAM
3867 to "yes", and re-run configure.
3868
3869 END
3870 as_fn_error $? "Your 'rm' program is bad, sorry." "$LINENO" 5
3871 fi
3872 fi
3873
3874
3875
3876
3877 # -fno-builtin must be present here so that a non-conflicting form of
3878 # std::exit can be guessed by AC_PROG_CXX, and used in later tests.
3879
3880 save_CXXFLAGS="$CXXFLAGS"
3881 CXXFLAGS="$CXXFLAGS -fno-builtin"
3882 ac_ext=c
3883 ac_cpp='$CPP $CPPFLAGS'
3884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3887 if test -n "$ac_tool_prefix"; then
3888 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
3889 set dummy ${ac_tool_prefix}gcc; ac_word=$2
3890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3891 $as_echo_n "checking for $ac_word... " >&6; }
3892 if ${ac_cv_prog_CC+:} false; then :
3893 $as_echo_n "(cached) " >&6
3894 else
3895 if test -n "$CC"; then
3896 ac_cv_prog_CC="$CC" # Let the user override the test.
3897 else
3898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3899 for as_dir in $PATH
3900 do
3901 IFS=$as_save_IFS
3902 test -z "$as_dir" && as_dir=.
3903 for ac_exec_ext in '' $ac_executable_extensions; do
3904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3905 ac_cv_prog_CC="${ac_tool_prefix}gcc"
3906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3907 break 2
3908 fi
3909 done
3910 done
3911 IFS=$as_save_IFS
3912
3913 fi
3914 fi
3915 CC=$ac_cv_prog_CC
3916 if test -n "$CC"; then
3917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
3918 $as_echo "$CC" >&6; }
3919 else
3920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3921 $as_echo "no" >&6; }
3922 fi
3923
3924
3925 fi
3926 if test -z "$ac_cv_prog_CC"; then
3927 ac_ct_CC=$CC
3928 # Extract the first word of "gcc", so it can be a program name with args.
3929 set dummy gcc; ac_word=$2
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3931 $as_echo_n "checking for $ac_word... " >&6; }
3932 if ${ac_cv_prog_ac_ct_CC+:} false; then :
3933 $as_echo_n "(cached) " >&6
3934 else
3935 if test -n "$ac_ct_CC"; then
3936 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
3937 else
3938 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3939 for as_dir in $PATH
3940 do
3941 IFS=$as_save_IFS
3942 test -z "$as_dir" && as_dir=.
3943 for ac_exec_ext in '' $ac_executable_extensions; do
3944 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3945 ac_cv_prog_ac_ct_CC="gcc"
3946 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
3947 break 2
3948 fi
3949 done
3950 done
3951 IFS=$as_save_IFS
3952
3953 fi
3954 fi
3955 ac_ct_CC=$ac_cv_prog_ac_ct_CC
3956 if test -n "$ac_ct_CC"; then
3957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
3958 $as_echo "$ac_ct_CC" >&6; }
3959 else
3960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
3961 $as_echo "no" >&6; }
3962 fi
3963
3964 if test "x$ac_ct_CC" = x; then
3965 CC=""
3966 else
3967 case $cross_compiling:$ac_tool_warned in
3968 yes:)
3969 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
3970 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
3971 ac_tool_warned=yes ;;
3972 esac
3973 CC=$ac_ct_CC
3974 fi
3975 else
3976 CC="$ac_cv_prog_CC"
3977 fi
3978
3979 if test -z "$CC"; then
3980 if test -n "$ac_tool_prefix"; then
3981 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
3982 set dummy ${ac_tool_prefix}cc; ac_word=$2
3983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
3984 $as_echo_n "checking for $ac_word... " >&6; }
3985 if ${ac_cv_prog_CC+:} false; then :
3986 $as_echo_n "(cached) " >&6
3987 else
3988 if test -n "$CC"; then
3989 ac_cv_prog_CC="$CC" # Let the user override the test.
3990 else
3991 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3992 for as_dir in $PATH
3993 do
3994 IFS=$as_save_IFS
3995 test -z "$as_dir" && as_dir=.
3996 for ac_exec_ext in '' $ac_executable_extensions; do
3997 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
3998 ac_cv_prog_CC="${ac_tool_prefix}cc"
3999 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4000 break 2
4001 fi
4002 done
4003 done
4004 IFS=$as_save_IFS
4005
4006 fi
4007 fi
4008 CC=$ac_cv_prog_CC
4009 if test -n "$CC"; then
4010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4011 $as_echo "$CC" >&6; }
4012 else
4013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4014 $as_echo "no" >&6; }
4015 fi
4016
4017
4018 fi
4019 fi
4020 if test -z "$CC"; then
4021 # Extract the first word of "cc", so it can be a program name with args.
4022 set dummy cc; ac_word=$2
4023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4024 $as_echo_n "checking for $ac_word... " >&6; }
4025 if ${ac_cv_prog_CC+:} false; then :
4026 $as_echo_n "(cached) " >&6
4027 else
4028 if test -n "$CC"; then
4029 ac_cv_prog_CC="$CC" # Let the user override the test.
4030 else
4031 ac_prog_rejected=no
4032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4033 for as_dir in $PATH
4034 do
4035 IFS=$as_save_IFS
4036 test -z "$as_dir" && as_dir=.
4037 for ac_exec_ext in '' $ac_executable_extensions; do
4038 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4039 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4040 ac_prog_rejected=yes
4041 continue
4042 fi
4043 ac_cv_prog_CC="cc"
4044 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4045 break 2
4046 fi
4047 done
4048 done
4049 IFS=$as_save_IFS
4050
4051 if test $ac_prog_rejected = yes; then
4052 # We found a bogon in the path, so make sure we never use it.
4053 set dummy $ac_cv_prog_CC
4054 shift
4055 if test $# != 0; then
4056 # We chose a different compiler from the bogus one.
4057 # However, it has the same basename, so the bogon will be chosen
4058 # first if we set CC to just the basename; use the full file name.
4059 shift
4060 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4061 fi
4062 fi
4063 fi
4064 fi
4065 CC=$ac_cv_prog_CC
4066 if test -n "$CC"; then
4067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4068 $as_echo "$CC" >&6; }
4069 else
4070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4071 $as_echo "no" >&6; }
4072 fi
4073
4074
4075 fi
4076 if test -z "$CC"; then
4077 if test -n "$ac_tool_prefix"; then
4078 for ac_prog in cl.exe
4079 do
4080 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4081 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4083 $as_echo_n "checking for $ac_word... " >&6; }
4084 if ${ac_cv_prog_CC+:} false; then :
4085 $as_echo_n "(cached) " >&6
4086 else
4087 if test -n "$CC"; then
4088 ac_cv_prog_CC="$CC" # Let the user override the test.
4089 else
4090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4091 for as_dir in $PATH
4092 do
4093 IFS=$as_save_IFS
4094 test -z "$as_dir" && as_dir=.
4095 for ac_exec_ext in '' $ac_executable_extensions; do
4096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4097 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4099 break 2
4100 fi
4101 done
4102 done
4103 IFS=$as_save_IFS
4104
4105 fi
4106 fi
4107 CC=$ac_cv_prog_CC
4108 if test -n "$CC"; then
4109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4110 $as_echo "$CC" >&6; }
4111 else
4112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4113 $as_echo "no" >&6; }
4114 fi
4115
4116
4117 test -n "$CC" && break
4118 done
4119 fi
4120 if test -z "$CC"; then
4121 ac_ct_CC=$CC
4122 for ac_prog in cl.exe
4123 do
4124 # Extract the first word of "$ac_prog", so it can be a program name with args.
4125 set dummy $ac_prog; ac_word=$2
4126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4127 $as_echo_n "checking for $ac_word... " >&6; }
4128 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4129 $as_echo_n "(cached) " >&6
4130 else
4131 if test -n "$ac_ct_CC"; then
4132 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4133 else
4134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4135 for as_dir in $PATH
4136 do
4137 IFS=$as_save_IFS
4138 test -z "$as_dir" && as_dir=.
4139 for ac_exec_ext in '' $ac_executable_extensions; do
4140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4141 ac_cv_prog_ac_ct_CC="$ac_prog"
4142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4143 break 2
4144 fi
4145 done
4146 done
4147 IFS=$as_save_IFS
4148
4149 fi
4150 fi
4151 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4152 if test -n "$ac_ct_CC"; then
4153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4154 $as_echo "$ac_ct_CC" >&6; }
4155 else
4156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4157 $as_echo "no" >&6; }
4158 fi
4159
4160
4161 test -n "$ac_ct_CC" && break
4162 done
4163
4164 if test "x$ac_ct_CC" = x; then
4165 CC=""
4166 else
4167 case $cross_compiling:$ac_tool_warned in
4168 yes:)
4169 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4170 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4171 ac_tool_warned=yes ;;
4172 esac
4173 CC=$ac_ct_CC
4174 fi
4175 fi
4176
4177 fi
4178
4179
4180 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4181 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4182 as_fn_error $? "no acceptable C compiler found in \$PATH
4183 See \`config.log' for more details" "$LINENO" 5; }
4184
4185 # Provide some information about the compiler.
4186 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4187 set X $ac_compile
4188 ac_compiler=$2
4189 for ac_option in --version -v -V -qversion; do
4190 { { ac_try="$ac_compiler $ac_option >&5"
4191 case "(($ac_try" in
4192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4193 *) ac_try_echo=$ac_try;;
4194 esac
4195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4196 $as_echo "$ac_try_echo"; } >&5
4197 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4198 ac_status=$?
4199 if test -s conftest.err; then
4200 sed '10a\
4201 ... rest of stderr output deleted ...
4202 10q' conftest.err >conftest.er1
4203 cat conftest.er1 >&5
4204 fi
4205 rm -f conftest.er1 conftest.err
4206 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4207 test $ac_status = 0; }
4208 done
4209
4210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4211 /* end confdefs.h. */
4212 #include <stdio.h>
4213 int
4214 main ()
4215 {
4216 printf ("hello world\n");
4217 ;
4218 return 0;
4219 }
4220 _ACEOF
4221 # FIXME: Cleanup?
4222 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
4223 (eval $ac_link) 2>&5
4224 ac_status=$?
4225 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4226 test $ac_status = 0; }; then :
4227 gcc_no_link=no
4228 else
4229 gcc_no_link=yes
4230 fi
4231 if test x$gcc_no_link = xyes; then
4232 # Setting cross_compile will disable run tests; it will
4233 # also disable AC_CHECK_FILE but that's generally
4234 # correct if we can't link.
4235 cross_compiling=yes
4236 EXEEXT=
4237 else
4238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4239 /* end confdefs.h. */
4240
4241 int
4242 main ()
4243 {
4244
4245 ;
4246 return 0;
4247 }
4248 _ACEOF
4249 ac_clean_files_save=$ac_clean_files
4250 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4251 # Try to create an executable without -o first, disregard a.out.
4252 # It will help us diagnose broken compilers, and finding out an intuition
4253 # of exeext.
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4255 $as_echo_n "checking whether the C compiler works... " >&6; }
4256 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4257
4258 # The possible output files:
4259 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4260
4261 ac_rmfiles=
4262 for ac_file in $ac_files
4263 do
4264 case $ac_file in
4265 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4266 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4267 esac
4268 done
4269 rm -f $ac_rmfiles
4270
4271 if { { ac_try="$ac_link_default"
4272 case "(($ac_try" in
4273 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4274 *) ac_try_echo=$ac_try;;
4275 esac
4276 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4277 $as_echo "$ac_try_echo"; } >&5
4278 (eval "$ac_link_default") 2>&5
4279 ac_status=$?
4280 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4281 test $ac_status = 0; }; then :
4282 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4283 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4284 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4285 # so that the user can short-circuit this test for compilers unknown to
4286 # Autoconf.
4287 for ac_file in $ac_files ''
4288 do
4289 test -f "$ac_file" || continue
4290 case $ac_file in
4291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4292 ;;
4293 [ab].out )
4294 # We found the default executable, but exeext='' is most
4295 # certainly right.
4296 break;;
4297 *.* )
4298 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4299 then :; else
4300 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4301 fi
4302 # We set ac_cv_exeext here because the later test for it is not
4303 # safe: cross compilers may not add the suffix if given an `-o'
4304 # argument, so we may need to know it at that point already.
4305 # Even if this section looks crufty: it has the advantage of
4306 # actually working.
4307 break;;
4308 * )
4309 break;;
4310 esac
4311 done
4312 test "$ac_cv_exeext" = no && ac_cv_exeext=
4313
4314 else
4315 ac_file=''
4316 fi
4317 if test -z "$ac_file"; then :
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4319 $as_echo "no" >&6; }
4320 $as_echo "$as_me: failed program was:" >&5
4321 sed 's/^/| /' conftest.$ac_ext >&5
4322
4323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4325 as_fn_error 77 "C compiler cannot create executables
4326 See \`config.log' for more details" "$LINENO" 5; }
4327 else
4328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4329 $as_echo "yes" >&6; }
4330 fi
4331 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4332 $as_echo_n "checking for C compiler default output file name... " >&6; }
4333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4334 $as_echo "$ac_file" >&6; }
4335 ac_exeext=$ac_cv_exeext
4336
4337 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4338 ac_clean_files=$ac_clean_files_save
4339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4340 $as_echo_n "checking for suffix of executables... " >&6; }
4341 if { { ac_try="$ac_link"
4342 case "(($ac_try" in
4343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4344 *) ac_try_echo=$ac_try;;
4345 esac
4346 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4347 $as_echo "$ac_try_echo"; } >&5
4348 (eval "$ac_link") 2>&5
4349 ac_status=$?
4350 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4351 test $ac_status = 0; }; then :
4352 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4353 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4354 # work properly (i.e., refer to `conftest.exe'), while it won't with
4355 # `rm'.
4356 for ac_file in conftest.exe conftest conftest.*; do
4357 test -f "$ac_file" || continue
4358 case $ac_file in
4359 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4360 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4361 break;;
4362 * ) break;;
4363 esac
4364 done
4365 else
4366 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4367 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4368 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4369 See \`config.log' for more details" "$LINENO" 5; }
4370 fi
4371 rm -f conftest conftest$ac_cv_exeext
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4373 $as_echo "$ac_cv_exeext" >&6; }
4374
4375 rm -f conftest.$ac_ext
4376 EXEEXT=$ac_cv_exeext
4377 ac_exeext=$EXEEXT
4378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4379 /* end confdefs.h. */
4380 #include <stdio.h>
4381 int
4382 main ()
4383 {
4384 FILE *f = fopen ("conftest.out", "w");
4385 return ferror (f) || fclose (f) != 0;
4386
4387 ;
4388 return 0;
4389 }
4390 _ACEOF
4391 ac_clean_files="$ac_clean_files conftest.out"
4392 # Check that the compiler produces executables we can run. If not, either
4393 # the compiler is broken, or we cross compile.
4394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4395 $as_echo_n "checking whether we are cross compiling... " >&6; }
4396 if test "$cross_compiling" != yes; then
4397 { { ac_try="$ac_link"
4398 case "(($ac_try" in
4399 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4400 *) ac_try_echo=$ac_try;;
4401 esac
4402 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4403 $as_echo "$ac_try_echo"; } >&5
4404 (eval "$ac_link") 2>&5
4405 ac_status=$?
4406 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4407 test $ac_status = 0; }
4408 if { ac_try='./conftest$ac_cv_exeext'
4409 { { case "(($ac_try" in
4410 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4411 *) ac_try_echo=$ac_try;;
4412 esac
4413 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4414 $as_echo "$ac_try_echo"; } >&5
4415 (eval "$ac_try") 2>&5
4416 ac_status=$?
4417 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4418 test $ac_status = 0; }; }; then
4419 cross_compiling=no
4420 else
4421 if test "$cross_compiling" = maybe; then
4422 cross_compiling=yes
4423 else
4424 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4425 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4426 as_fn_error $? "cannot run C compiled programs.
4427 If you meant to cross compile, use \`--host'.
4428 See \`config.log' for more details" "$LINENO" 5; }
4429 fi
4430 fi
4431 fi
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4433 $as_echo "$cross_compiling" >&6; }
4434
4435 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4436 ac_clean_files=$ac_clean_files_save
4437 fi
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4439 $as_echo_n "checking for suffix of object files... " >&6; }
4440 if ${ac_cv_objext+:} false; then :
4441 $as_echo_n "(cached) " >&6
4442 else
4443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4444 /* end confdefs.h. */
4445
4446 int
4447 main ()
4448 {
4449
4450 ;
4451 return 0;
4452 }
4453 _ACEOF
4454 rm -f conftest.o conftest.obj
4455 if { { ac_try="$ac_compile"
4456 case "(($ac_try" in
4457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4459 esac
4460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4461 $as_echo "$ac_try_echo"; } >&5
4462 (eval "$ac_compile") 2>&5
4463 ac_status=$?
4464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4465 test $ac_status = 0; }; then :
4466 for ac_file in conftest.o conftest.obj conftest.*; do
4467 test -f "$ac_file" || continue;
4468 case $ac_file in
4469 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4470 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4471 break;;
4472 esac
4473 done
4474 else
4475 $as_echo "$as_me: failed program was:" >&5
4476 sed 's/^/| /' conftest.$ac_ext >&5
4477
4478 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4479 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4480 as_fn_error $? "cannot compute suffix of object files: cannot compile
4481 See \`config.log' for more details" "$LINENO" 5; }
4482 fi
4483 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4484 fi
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4486 $as_echo "$ac_cv_objext" >&6; }
4487 OBJEXT=$ac_cv_objext
4488 ac_objext=$OBJEXT
4489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4490 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4491 if ${ac_cv_c_compiler_gnu+:} false; then :
4492 $as_echo_n "(cached) " >&6
4493 else
4494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4495 /* end confdefs.h. */
4496
4497 int
4498 main ()
4499 {
4500 #ifndef __GNUC__
4501 choke me
4502 #endif
4503
4504 ;
4505 return 0;
4506 }
4507 _ACEOF
4508 if ac_fn_c_try_compile "$LINENO"; then :
4509 ac_compiler_gnu=yes
4510 else
4511 ac_compiler_gnu=no
4512 fi
4513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4514 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4515
4516 fi
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4518 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4519 if test $ac_compiler_gnu = yes; then
4520 GCC=yes
4521 else
4522 GCC=
4523 fi
4524 ac_test_CFLAGS=${CFLAGS+set}
4525 ac_save_CFLAGS=$CFLAGS
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4527 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4528 if ${ac_cv_prog_cc_g+:} false; then :
4529 $as_echo_n "(cached) " >&6
4530 else
4531 ac_save_c_werror_flag=$ac_c_werror_flag
4532 ac_c_werror_flag=yes
4533 ac_cv_prog_cc_g=no
4534 CFLAGS="-g"
4535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4536 /* end confdefs.h. */
4537
4538 int
4539 main ()
4540 {
4541
4542 ;
4543 return 0;
4544 }
4545 _ACEOF
4546 if ac_fn_c_try_compile "$LINENO"; then :
4547 ac_cv_prog_cc_g=yes
4548 else
4549 CFLAGS=""
4550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4551 /* end confdefs.h. */
4552
4553 int
4554 main ()
4555 {
4556
4557 ;
4558 return 0;
4559 }
4560 _ACEOF
4561 if ac_fn_c_try_compile "$LINENO"; then :
4562
4563 else
4564 ac_c_werror_flag=$ac_save_c_werror_flag
4565 CFLAGS="-g"
4566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4567 /* end confdefs.h. */
4568
4569 int
4570 main ()
4571 {
4572
4573 ;
4574 return 0;
4575 }
4576 _ACEOF
4577 if ac_fn_c_try_compile "$LINENO"; then :
4578 ac_cv_prog_cc_g=yes
4579 fi
4580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4581 fi
4582 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4583 fi
4584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4585 ac_c_werror_flag=$ac_save_c_werror_flag
4586 fi
4587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4588 $as_echo "$ac_cv_prog_cc_g" >&6; }
4589 if test "$ac_test_CFLAGS" = set; then
4590 CFLAGS=$ac_save_CFLAGS
4591 elif test $ac_cv_prog_cc_g = yes; then
4592 if test "$GCC" = yes; then
4593 CFLAGS="-g -O2"
4594 else
4595 CFLAGS="-g"
4596 fi
4597 else
4598 if test "$GCC" = yes; then
4599 CFLAGS="-O2"
4600 else
4601 CFLAGS=
4602 fi
4603 fi
4604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4605 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4606 if ${ac_cv_prog_cc_c89+:} false; then :
4607 $as_echo_n "(cached) " >&6
4608 else
4609 ac_cv_prog_cc_c89=no
4610 ac_save_CC=$CC
4611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4612 /* end confdefs.h. */
4613 #include <stdarg.h>
4614 #include <stdio.h>
4615 struct stat;
4616 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4617 struct buf { int x; };
4618 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4619 static char *e (p, i)
4620 char **p;
4621 int i;
4622 {
4623 return p[i];
4624 }
4625 static char *f (char * (*g) (char **, int), char **p, ...)
4626 {
4627 char *s;
4628 va_list v;
4629 va_start (v,p);
4630 s = g (p, va_arg (v,int));
4631 va_end (v);
4632 return s;
4633 }
4634
4635 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4636 function prototypes and stuff, but not '\xHH' hex character constants.
4637 These don't provoke an error unfortunately, instead are silently treated
4638 as 'x'. The following induces an error, until -std is added to get
4639 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4640 array size at least. It's necessary to write '\x00'==0 to get something
4641 that's true only with -std. */
4642 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4643
4644 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4645 inside strings and character constants. */
4646 #define FOO(x) 'x'
4647 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4648
4649 int test (int i, double x);
4650 struct s1 {int (*f) (int a);};
4651 struct s2 {int (*f) (double a);};
4652 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4653 int argc;
4654 char **argv;
4655 int
4656 main ()
4657 {
4658 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4659 ;
4660 return 0;
4661 }
4662 _ACEOF
4663 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4664 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4665 do
4666 CC="$ac_save_CC $ac_arg"
4667 if ac_fn_c_try_compile "$LINENO"; then :
4668 ac_cv_prog_cc_c89=$ac_arg
4669 fi
4670 rm -f core conftest.err conftest.$ac_objext
4671 test "x$ac_cv_prog_cc_c89" != "xno" && break
4672 done
4673 rm -f conftest.$ac_ext
4674 CC=$ac_save_CC
4675
4676 fi
4677 # AC_CACHE_VAL
4678 case "x$ac_cv_prog_cc_c89" in
4679 x)
4680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4681 $as_echo "none needed" >&6; } ;;
4682 xno)
4683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4684 $as_echo "unsupported" >&6; } ;;
4685 *)
4686 CC="$CC $ac_cv_prog_cc_c89"
4687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4688 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4689 esac
4690 if test "x$ac_cv_prog_cc_c89" != xno; then :
4691
4692 fi
4693
4694 ac_ext=c
4695 ac_cpp='$CPP $CPPFLAGS'
4696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4699
4700 ac_ext=c
4701 ac_cpp='$CPP $CPPFLAGS'
4702 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4703 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4704 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC understands -c and -o together" >&5
4706 $as_echo_n "checking whether $CC understands -c and -o together... " >&6; }
4707 if ${am_cv_prog_cc_c_o+:} false; then :
4708 $as_echo_n "(cached) " >&6
4709 else
4710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4711 /* end confdefs.h. */
4712
4713 int
4714 main ()
4715 {
4716
4717 ;
4718 return 0;
4719 }
4720 _ACEOF
4721 # Make sure it works both with $CC and with simple cc.
4722 # Following AC_PROG_CC_C_O, we do the test twice because some
4723 # compilers refuse to overwrite an existing .o file with -o,
4724 # though they will create one.
4725 am_cv_prog_cc_c_o=yes
4726 for am_i in 1 2; do
4727 if { echo "$as_me:$LINENO: $CC -c conftest.$ac_ext -o conftest2.$ac_objext" >&5
4728 ($CC -c conftest.$ac_ext -o conftest2.$ac_objext) >&5 2>&5
4729 ac_status=$?
4730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
4731 (exit $ac_status); } \
4732 && test -f conftest2.$ac_objext; then
4733 : OK
4734 else
4735 am_cv_prog_cc_c_o=no
4736 break
4737 fi
4738 done
4739 rm -f core conftest*
4740 unset am_i
4741 fi
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_prog_cc_c_o" >&5
4743 $as_echo "$am_cv_prog_cc_c_o" >&6; }
4744 if test "$am_cv_prog_cc_c_o" != yes; then
4745 # Losing compiler, so override with the script.
4746 # FIXME: It is wrong to rewrite CC.
4747 # But if we don't then we get into trouble of one sort or another.
4748 # A longer-term fix would be to have automake use am__CC in this case,
4749 # and then we could set am__CC="\$(top_srcdir)/compile \$(CC)"
4750 CC="$am_aux_dir/compile $CC"
4751 fi
4752 ac_ext=c
4753 ac_cpp='$CPP $CPPFLAGS'
4754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4757
4758
4759 ac_ext=cpp
4760 ac_cpp='$CXXCPP $CPPFLAGS'
4761 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4762 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4764 if test -z "$CXX"; then
4765 if test -n "$CCC"; then
4766 CXX=$CCC
4767 else
4768 if test -n "$ac_tool_prefix"; then
4769 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4770 do
4771 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4772 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4774 $as_echo_n "checking for $ac_word... " >&6; }
4775 if ${ac_cv_prog_CXX+:} false; then :
4776 $as_echo_n "(cached) " >&6
4777 else
4778 if test -n "$CXX"; then
4779 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4780 else
4781 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4782 for as_dir in $PATH
4783 do
4784 IFS=$as_save_IFS
4785 test -z "$as_dir" && as_dir=.
4786 for ac_exec_ext in '' $ac_executable_extensions; do
4787 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4788 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4789 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4790 break 2
4791 fi
4792 done
4793 done
4794 IFS=$as_save_IFS
4795
4796 fi
4797 fi
4798 CXX=$ac_cv_prog_CXX
4799 if test -n "$CXX"; then
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4801 $as_echo "$CXX" >&6; }
4802 else
4803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4804 $as_echo "no" >&6; }
4805 fi
4806
4807
4808 test -n "$CXX" && break
4809 done
4810 fi
4811 if test -z "$CXX"; then
4812 ac_ct_CXX=$CXX
4813 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4814 do
4815 # Extract the first word of "$ac_prog", so it can be a program name with args.
4816 set dummy $ac_prog; ac_word=$2
4817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4818 $as_echo_n "checking for $ac_word... " >&6; }
4819 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4820 $as_echo_n "(cached) " >&6
4821 else
4822 if test -n "$ac_ct_CXX"; then
4823 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4824 else
4825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4826 for as_dir in $PATH
4827 do
4828 IFS=$as_save_IFS
4829 test -z "$as_dir" && as_dir=.
4830 for ac_exec_ext in '' $ac_executable_extensions; do
4831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4832 ac_cv_prog_ac_ct_CXX="$ac_prog"
4833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4834 break 2
4835 fi
4836 done
4837 done
4838 IFS=$as_save_IFS
4839
4840 fi
4841 fi
4842 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4843 if test -n "$ac_ct_CXX"; then
4844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4845 $as_echo "$ac_ct_CXX" >&6; }
4846 else
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4848 $as_echo "no" >&6; }
4849 fi
4850
4851
4852 test -n "$ac_ct_CXX" && break
4853 done
4854
4855 if test "x$ac_ct_CXX" = x; then
4856 CXX="g++"
4857 else
4858 case $cross_compiling:$ac_tool_warned in
4859 yes:)
4860 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4861 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4862 ac_tool_warned=yes ;;
4863 esac
4864 CXX=$ac_ct_CXX
4865 fi
4866 fi
4867
4868 fi
4869 fi
4870 # Provide some information about the compiler.
4871 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4872 set X $ac_compile
4873 ac_compiler=$2
4874 for ac_option in --version -v -V -qversion; do
4875 { { ac_try="$ac_compiler $ac_option >&5"
4876 case "(($ac_try" in
4877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4878 *) ac_try_echo=$ac_try;;
4879 esac
4880 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4881 $as_echo "$ac_try_echo"; } >&5
4882 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4883 ac_status=$?
4884 if test -s conftest.err; then
4885 sed '10a\
4886 ... rest of stderr output deleted ...
4887 10q' conftest.err >conftest.er1
4888 cat conftest.er1 >&5
4889 fi
4890 rm -f conftest.er1 conftest.err
4891 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4892 test $ac_status = 0; }
4893 done
4894
4895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4896 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4897 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4898 $as_echo_n "(cached) " >&6
4899 else
4900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4901 /* end confdefs.h. */
4902
4903 int
4904 main ()
4905 {
4906 #ifndef __GNUC__
4907 choke me
4908 #endif
4909
4910 ;
4911 return 0;
4912 }
4913 _ACEOF
4914 if ac_fn_cxx_try_compile "$LINENO"; then :
4915 ac_compiler_gnu=yes
4916 else
4917 ac_compiler_gnu=no
4918 fi
4919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4920 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4921
4922 fi
4923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4924 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4925 if test $ac_compiler_gnu = yes; then
4926 GXX=yes
4927 else
4928 GXX=
4929 fi
4930 ac_test_CXXFLAGS=${CXXFLAGS+set}
4931 ac_save_CXXFLAGS=$CXXFLAGS
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4933 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4934 if ${ac_cv_prog_cxx_g+:} false; then :
4935 $as_echo_n "(cached) " >&6
4936 else
4937 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4938 ac_cxx_werror_flag=yes
4939 ac_cv_prog_cxx_g=no
4940 CXXFLAGS="-g"
4941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4942 /* end confdefs.h. */
4943
4944 int
4945 main ()
4946 {
4947
4948 ;
4949 return 0;
4950 }
4951 _ACEOF
4952 if ac_fn_cxx_try_compile "$LINENO"; then :
4953 ac_cv_prog_cxx_g=yes
4954 else
4955 CXXFLAGS=""
4956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4957 /* end confdefs.h. */
4958
4959 int
4960 main ()
4961 {
4962
4963 ;
4964 return 0;
4965 }
4966 _ACEOF
4967 if ac_fn_cxx_try_compile "$LINENO"; then :
4968
4969 else
4970 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4971 CXXFLAGS="-g"
4972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4973 /* end confdefs.h. */
4974
4975 int
4976 main ()
4977 {
4978
4979 ;
4980 return 0;
4981 }
4982 _ACEOF
4983 if ac_fn_cxx_try_compile "$LINENO"; then :
4984 ac_cv_prog_cxx_g=yes
4985 fi
4986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4987 fi
4988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4989 fi
4990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4991 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
4992 fi
4993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
4994 $as_echo "$ac_cv_prog_cxx_g" >&6; }
4995 if test "$ac_test_CXXFLAGS" = set; then
4996 CXXFLAGS=$ac_save_CXXFLAGS
4997 elif test $ac_cv_prog_cxx_g = yes; then
4998 if test "$GXX" = yes; then
4999 CXXFLAGS="-g -O2"
5000 else
5001 CXXFLAGS="-g"
5002 fi
5003 else
5004 if test "$GXX" = yes; then
5005 CXXFLAGS="-O2"
5006 else
5007 CXXFLAGS=
5008 fi
5009 fi
5010 ac_ext=c
5011 ac_cpp='$CPP $CPPFLAGS'
5012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5015
5016 CXXFLAGS="$save_CXXFLAGS"
5017
5018
5019 # Check whether --enable-largefile was given.
5020 if test "${enable_largefile+set}" = set; then :
5021 enableval=$enable_largefile;
5022 fi
5023
5024 if test "$enable_largefile" != no; then
5025
5026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
5027 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
5028 if ${ac_cv_sys_largefile_CC+:} false; then :
5029 $as_echo_n "(cached) " >&6
5030 else
5031 ac_cv_sys_largefile_CC=no
5032 if test "$GCC" != yes; then
5033 ac_save_CC=$CC
5034 while :; do
5035 # IRIX 6.2 and later do not support large files by default,
5036 # so use the C compiler's -n32 option if that helps.
5037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5038 /* end confdefs.h. */
5039 #include <sys/types.h>
5040 /* Check that off_t can represent 2**63 - 1 correctly.
5041 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5042 since some C++ compilers masquerading as C compilers
5043 incorrectly reject 9223372036854775807. */
5044 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5045 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5046 && LARGE_OFF_T % 2147483647 == 1)
5047 ? 1 : -1];
5048 int
5049 main ()
5050 {
5051
5052 ;
5053 return 0;
5054 }
5055 _ACEOF
5056 if ac_fn_c_try_compile "$LINENO"; then :
5057 break
5058 fi
5059 rm -f core conftest.err conftest.$ac_objext
5060 CC="$CC -n32"
5061 if ac_fn_c_try_compile "$LINENO"; then :
5062 ac_cv_sys_largefile_CC=' -n32'; break
5063 fi
5064 rm -f core conftest.err conftest.$ac_objext
5065 break
5066 done
5067 CC=$ac_save_CC
5068 rm -f conftest.$ac_ext
5069 fi
5070 fi
5071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
5072 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
5073 if test "$ac_cv_sys_largefile_CC" != no; then
5074 CC=$CC$ac_cv_sys_largefile_CC
5075 fi
5076
5077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
5078 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
5079 if ${ac_cv_sys_file_offset_bits+:} false; then :
5080 $as_echo_n "(cached) " >&6
5081 else
5082 while :; do
5083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5084 /* end confdefs.h. */
5085 #include <sys/types.h>
5086 /* Check that off_t can represent 2**63 - 1 correctly.
5087 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5088 since some C++ compilers masquerading as C compilers
5089 incorrectly reject 9223372036854775807. */
5090 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5091 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5092 && LARGE_OFF_T % 2147483647 == 1)
5093 ? 1 : -1];
5094 int
5095 main ()
5096 {
5097
5098 ;
5099 return 0;
5100 }
5101 _ACEOF
5102 if ac_fn_c_try_compile "$LINENO"; then :
5103 ac_cv_sys_file_offset_bits=no; break
5104 fi
5105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5107 /* end confdefs.h. */
5108 #define _FILE_OFFSET_BITS 64
5109 #include <sys/types.h>
5110 /* Check that off_t can represent 2**63 - 1 correctly.
5111 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5112 since some C++ compilers masquerading as C compilers
5113 incorrectly reject 9223372036854775807. */
5114 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5115 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5116 && LARGE_OFF_T % 2147483647 == 1)
5117 ? 1 : -1];
5118 int
5119 main ()
5120 {
5121
5122 ;
5123 return 0;
5124 }
5125 _ACEOF
5126 if ac_fn_c_try_compile "$LINENO"; then :
5127 ac_cv_sys_file_offset_bits=64; break
5128 fi
5129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5130 ac_cv_sys_file_offset_bits=unknown
5131 break
5132 done
5133 fi
5134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
5135 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
5136 case $ac_cv_sys_file_offset_bits in #(
5137 no | unknown) ;;
5138 *)
5139 cat >>confdefs.h <<_ACEOF
5140 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
5141 _ACEOF
5142 ;;
5143 esac
5144 rm -rf conftest*
5145 if test $ac_cv_sys_file_offset_bits = unknown; then
5146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
5147 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
5148 if ${ac_cv_sys_large_files+:} false; then :
5149 $as_echo_n "(cached) " >&6
5150 else
5151 while :; do
5152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5153 /* end confdefs.h. */
5154 #include <sys/types.h>
5155 /* Check that off_t can represent 2**63 - 1 correctly.
5156 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5157 since some C++ compilers masquerading as C compilers
5158 incorrectly reject 9223372036854775807. */
5159 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5160 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5161 && LARGE_OFF_T % 2147483647 == 1)
5162 ? 1 : -1];
5163 int
5164 main ()
5165 {
5166
5167 ;
5168 return 0;
5169 }
5170 _ACEOF
5171 if ac_fn_c_try_compile "$LINENO"; then :
5172 ac_cv_sys_large_files=no; break
5173 fi
5174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5175 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5176 /* end confdefs.h. */
5177 #define _LARGE_FILES 1
5178 #include <sys/types.h>
5179 /* Check that off_t can represent 2**63 - 1 correctly.
5180 We can't simply define LARGE_OFF_T to be 9223372036854775807,
5181 since some C++ compilers masquerading as C compilers
5182 incorrectly reject 9223372036854775807. */
5183 #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
5184 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
5185 && LARGE_OFF_T % 2147483647 == 1)
5186 ? 1 : -1];
5187 int
5188 main ()
5189 {
5190
5191 ;
5192 return 0;
5193 }
5194 _ACEOF
5195 if ac_fn_c_try_compile "$LINENO"; then :
5196 ac_cv_sys_large_files=1; break
5197 fi
5198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5199 ac_cv_sys_large_files=unknown
5200 break
5201 done
5202 fi
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
5204 $as_echo "$ac_cv_sys_large_files" >&6; }
5205 case $ac_cv_sys_large_files in #(
5206 no | unknown) ;;
5207 *)
5208 cat >>confdefs.h <<_ACEOF
5209 #define _LARGE_FILES $ac_cv_sys_large_files
5210 _ACEOF
5211 ;;
5212 esac
5213 rm -rf conftest*
5214 fi
5215
5216
5217 fi
5218
5219
5220 # Runs configure.host, and assorted other critical bits. Sets
5221 # up critical shell variables.
5222 ac_ext=c
5223 ac_cpp='$CPP $CPPFLAGS'
5224 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5225 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5226 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
5228 $as_echo_n "checking how to run the C preprocessor... " >&6; }
5229 # On Suns, sometimes $CPP names a directory.
5230 if test -n "$CPP" && test -d "$CPP"; then
5231 CPP=
5232 fi
5233 if test -z "$CPP"; then
5234 if ${ac_cv_prog_CPP+:} false; then :
5235 $as_echo_n "(cached) " >&6
5236 else
5237 # Double quotes because CPP needs to be expanded
5238 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
5239 do
5240 ac_preproc_ok=false
5241 for ac_c_preproc_warn_flag in '' yes
5242 do
5243 # Use a header file that comes with gcc, so configuring glibc
5244 # with a fresh cross-compiler works.
5245 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5246 # <limits.h> exists even on freestanding compilers.
5247 # On the NeXT, cc -E runs the code through the compiler's parser,
5248 # not just through cpp. "Syntax error" is here to catch this case.
5249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5250 /* end confdefs.h. */
5251 #ifdef __STDC__
5252 # include <limits.h>
5253 #else
5254 # include <assert.h>
5255 #endif
5256 Syntax error
5257 _ACEOF
5258 if ac_fn_c_try_cpp "$LINENO"; then :
5259
5260 else
5261 # Broken: fails on valid input.
5262 continue
5263 fi
5264 rm -f conftest.err conftest.i conftest.$ac_ext
5265
5266 # OK, works on sane cases. Now check whether nonexistent headers
5267 # can be detected and how.
5268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5269 /* end confdefs.h. */
5270 #include <ac_nonexistent.h>
5271 _ACEOF
5272 if ac_fn_c_try_cpp "$LINENO"; then :
5273 # Broken: success on invalid input.
5274 continue
5275 else
5276 # Passes both tests.
5277 ac_preproc_ok=:
5278 break
5279 fi
5280 rm -f conftest.err conftest.i conftest.$ac_ext
5281
5282 done
5283 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5284 rm -f conftest.i conftest.err conftest.$ac_ext
5285 if $ac_preproc_ok; then :
5286 break
5287 fi
5288
5289 done
5290 ac_cv_prog_CPP=$CPP
5291
5292 fi
5293 CPP=$ac_cv_prog_CPP
5294 else
5295 ac_cv_prog_CPP=$CPP
5296 fi
5297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
5298 $as_echo "$CPP" >&6; }
5299 ac_preproc_ok=false
5300 for ac_c_preproc_warn_flag in '' yes
5301 do
5302 # Use a header file that comes with gcc, so configuring glibc
5303 # with a fresh cross-compiler works.
5304 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5305 # <limits.h> exists even on freestanding compilers.
5306 # On the NeXT, cc -E runs the code through the compiler's parser,
5307 # not just through cpp. "Syntax error" is here to catch this case.
5308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5309 /* end confdefs.h. */
5310 #ifdef __STDC__
5311 # include <limits.h>
5312 #else
5313 # include <assert.h>
5314 #endif
5315 Syntax error
5316 _ACEOF
5317 if ac_fn_c_try_cpp "$LINENO"; then :
5318
5319 else
5320 # Broken: fails on valid input.
5321 continue
5322 fi
5323 rm -f conftest.err conftest.i conftest.$ac_ext
5324
5325 # OK, works on sane cases. Now check whether nonexistent headers
5326 # can be detected and how.
5327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5328 /* end confdefs.h. */
5329 #include <ac_nonexistent.h>
5330 _ACEOF
5331 if ac_fn_c_try_cpp "$LINENO"; then :
5332 # Broken: success on invalid input.
5333 continue
5334 else
5335 # Passes both tests.
5336 ac_preproc_ok=:
5337 break
5338 fi
5339 rm -f conftest.err conftest.i conftest.$ac_ext
5340
5341 done
5342 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
5343 rm -f conftest.i conftest.err conftest.$ac_ext
5344 if $ac_preproc_ok; then :
5345
5346 else
5347 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5348 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
5349 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
5350 See \`config.log' for more details" "$LINENO" 5; }
5351 fi
5352
5353 ac_ext=c
5354 ac_cpp='$CPP $CPPFLAGS'
5355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5358
5359
5360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5361 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5362 if ${ac_cv_path_GREP+:} false; then :
5363 $as_echo_n "(cached) " >&6
5364 else
5365 if test -z "$GREP"; then
5366 ac_path_GREP_found=false
5367 # Loop through the user's path and test for each of PROGNAME-LIST
5368 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5369 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5370 do
5371 IFS=$as_save_IFS
5372 test -z "$as_dir" && as_dir=.
5373 for ac_prog in grep ggrep; do
5374 for ac_exec_ext in '' $ac_executable_extensions; do
5375 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5376 as_fn_executable_p "$ac_path_GREP" || continue
5377 # Check for GNU ac_path_GREP and select it if it is found.
5378 # Check for GNU $ac_path_GREP
5379 case `"$ac_path_GREP" --version 2>&1` in
5380 *GNU*)
5381 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5382 *)
5383 ac_count=0
5384 $as_echo_n 0123456789 >"conftest.in"
5385 while :
5386 do
5387 cat "conftest.in" "conftest.in" >"conftest.tmp"
5388 mv "conftest.tmp" "conftest.in"
5389 cp "conftest.in" "conftest.nl"
5390 $as_echo 'GREP' >> "conftest.nl"
5391 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5392 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5393 as_fn_arith $ac_count + 1 && ac_count=$as_val
5394 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5395 # Best one so far, save it but keep looking for a better one
5396 ac_cv_path_GREP="$ac_path_GREP"
5397 ac_path_GREP_max=$ac_count
5398 fi
5399 # 10*(2^10) chars as input seems more than enough
5400 test $ac_count -gt 10 && break
5401 done
5402 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5403 esac
5404
5405 $ac_path_GREP_found && break 3
5406 done
5407 done
5408 done
5409 IFS=$as_save_IFS
5410 if test -z "$ac_cv_path_GREP"; then
5411 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5412 fi
5413 else
5414 ac_cv_path_GREP=$GREP
5415 fi
5416
5417 fi
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5419 $as_echo "$ac_cv_path_GREP" >&6; }
5420 GREP="$ac_cv_path_GREP"
5421
5422
5423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5424 $as_echo_n "checking for egrep... " >&6; }
5425 if ${ac_cv_path_EGREP+:} false; then :
5426 $as_echo_n "(cached) " >&6
5427 else
5428 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5429 then ac_cv_path_EGREP="$GREP -E"
5430 else
5431 if test -z "$EGREP"; then
5432 ac_path_EGREP_found=false
5433 # Loop through the user's path and test for each of PROGNAME-LIST
5434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5435 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5436 do
5437 IFS=$as_save_IFS
5438 test -z "$as_dir" && as_dir=.
5439 for ac_prog in egrep; do
5440 for ac_exec_ext in '' $ac_executable_extensions; do
5441 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5442 as_fn_executable_p "$ac_path_EGREP" || continue
5443 # Check for GNU ac_path_EGREP and select it if it is found.
5444 # Check for GNU $ac_path_EGREP
5445 case `"$ac_path_EGREP" --version 2>&1` in
5446 *GNU*)
5447 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5448 *)
5449 ac_count=0
5450 $as_echo_n 0123456789 >"conftest.in"
5451 while :
5452 do
5453 cat "conftest.in" "conftest.in" >"conftest.tmp"
5454 mv "conftest.tmp" "conftest.in"
5455 cp "conftest.in" "conftest.nl"
5456 $as_echo 'EGREP' >> "conftest.nl"
5457 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5458 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5459 as_fn_arith $ac_count + 1 && ac_count=$as_val
5460 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5461 # Best one so far, save it but keep looking for a better one
5462 ac_cv_path_EGREP="$ac_path_EGREP"
5463 ac_path_EGREP_max=$ac_count
5464 fi
5465 # 10*(2^10) chars as input seems more than enough
5466 test $ac_count -gt 10 && break
5467 done
5468 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5469 esac
5470
5471 $ac_path_EGREP_found && break 3
5472 done
5473 done
5474 done
5475 IFS=$as_save_IFS
5476 if test -z "$ac_cv_path_EGREP"; then
5477 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5478 fi
5479 else
5480 ac_cv_path_EGREP=$EGREP
5481 fi
5482
5483 fi
5484 fi
5485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
5486 $as_echo "$ac_cv_path_EGREP" >&6; }
5487 EGREP="$ac_cv_path_EGREP"
5488
5489
5490
5491 # Keep these sync'd with the list in Makefile.am. The first provides an
5492 # expandable list at autoconf time; the second provides an expandable list
5493 # (i.e., shell variable) at configure time.
5494
5495 SUBDIRS='include libsupc++ src src/c++98 src/c++11 src/c++17 src/c++20 src/filesystem doc po testsuite python'
5496
5497 # These need to be absolute paths, yet at the same time need to
5498 # canonicalize only relative paths, because then amd will not unmount
5499 # drives. Thus the use of PWDCMD: set it to 'pawd' or 'amq -w' if using amd.
5500 glibcxx_builddir=`${PWDCMD-pwd}`
5501 case $srcdir in
5502 \\/$* | ?:\\/*) glibcxx_srcdir=${srcdir} ;;
5503 *) glibcxx_srcdir=`cd "$srcdir" && ${PWDCMD-pwd} || echo "$srcdir"` ;;
5504 esac
5505 toplevel_builddir=${glibcxx_builddir}/..
5506 toplevel_srcdir=${glibcxx_srcdir}/..
5507
5508
5509
5510
5511
5512 # We use these options to decide which functions to include. They are
5513 # set from the top level.
5514
5515 # Check whether --with-target-subdir was given.
5516 if test "${with_target_subdir+set}" = set; then :
5517 withval=$with_target_subdir;
5518 fi
5519
5520
5521
5522 # Check whether --with-cross-host was given.
5523 if test "${with_cross_host+set}" = set; then :
5524 withval=$with_cross_host;
5525 fi
5526
5527
5528
5529 # Check whether --with-newlib was given.
5530 if test "${with_newlib+set}" = set; then :
5531 withval=$with_newlib;
5532 fi
5533
5534
5535 # Will set LN_S to either 'ln -s', 'ln', or 'cp -p' (if linking isn't
5536 # available). Uncomment the next line to force a particular method.
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5538 $as_echo_n "checking whether ln -s works... " >&6; }
5539 LN_S=$as_ln_s
5540 if test "$LN_S" = "ln -s"; then
5541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5542 $as_echo "yes" >&6; }
5543 else
5544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5545 $as_echo "no, using $LN_S" >&6; }
5546 fi
5547
5548 #LN_S='cp -p'
5549
5550 if test -n "$ac_tool_prefix"; then
5551 # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
5552 set dummy ${ac_tool_prefix}as; ac_word=$2
5553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5554 $as_echo_n "checking for $ac_word... " >&6; }
5555 if ${ac_cv_prog_AS+:} false; then :
5556 $as_echo_n "(cached) " >&6
5557 else
5558 if test -n "$AS"; then
5559 ac_cv_prog_AS="$AS" # Let the user override the test.
5560 else
5561 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5562 for as_dir in $PATH
5563 do
5564 IFS=$as_save_IFS
5565 test -z "$as_dir" && as_dir=.
5566 for ac_exec_ext in '' $ac_executable_extensions; do
5567 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5568 ac_cv_prog_AS="${ac_tool_prefix}as"
5569 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5570 break 2
5571 fi
5572 done
5573 done
5574 IFS=$as_save_IFS
5575
5576 fi
5577 fi
5578 AS=$ac_cv_prog_AS
5579 if test -n "$AS"; then
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AS" >&5
5581 $as_echo "$AS" >&6; }
5582 else
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5584 $as_echo "no" >&6; }
5585 fi
5586
5587
5588 fi
5589 if test -z "$ac_cv_prog_AS"; then
5590 ac_ct_AS=$AS
5591 # Extract the first word of "as", so it can be a program name with args.
5592 set dummy as; ac_word=$2
5593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5594 $as_echo_n "checking for $ac_word... " >&6; }
5595 if ${ac_cv_prog_ac_ct_AS+:} false; then :
5596 $as_echo_n "(cached) " >&6
5597 else
5598 if test -n "$ac_ct_AS"; then
5599 ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
5600 else
5601 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5602 for as_dir in $PATH
5603 do
5604 IFS=$as_save_IFS
5605 test -z "$as_dir" && as_dir=.
5606 for ac_exec_ext in '' $ac_executable_extensions; do
5607 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5608 ac_cv_prog_ac_ct_AS="as"
5609 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5610 break 2
5611 fi
5612 done
5613 done
5614 IFS=$as_save_IFS
5615
5616 fi
5617 fi
5618 ac_ct_AS=$ac_cv_prog_ac_ct_AS
5619 if test -n "$ac_ct_AS"; then
5620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AS" >&5
5621 $as_echo "$ac_ct_AS" >&6; }
5622 else
5623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5624 $as_echo "no" >&6; }
5625 fi
5626
5627 if test "x$ac_ct_AS" = x; then
5628 AS=""
5629 else
5630 case $cross_compiling:$ac_tool_warned in
5631 yes:)
5632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5633 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5634 ac_tool_warned=yes ;;
5635 esac
5636 AS=$ac_ct_AS
5637 fi
5638 else
5639 AS="$ac_cv_prog_AS"
5640 fi
5641
5642 if test -n "$ac_tool_prefix"; then
5643 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
5644 set dummy ${ac_tool_prefix}ar; ac_word=$2
5645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5646 $as_echo_n "checking for $ac_word... " >&6; }
5647 if ${ac_cv_prog_AR+:} false; then :
5648 $as_echo_n "(cached) " >&6
5649 else
5650 if test -n "$AR"; then
5651 ac_cv_prog_AR="$AR" # Let the user override the test.
5652 else
5653 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5654 for as_dir in $PATH
5655 do
5656 IFS=$as_save_IFS
5657 test -z "$as_dir" && as_dir=.
5658 for ac_exec_ext in '' $ac_executable_extensions; do
5659 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5660 ac_cv_prog_AR="${ac_tool_prefix}ar"
5661 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5662 break 2
5663 fi
5664 done
5665 done
5666 IFS=$as_save_IFS
5667
5668 fi
5669 fi
5670 AR=$ac_cv_prog_AR
5671 if test -n "$AR"; then
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5673 $as_echo "$AR" >&6; }
5674 else
5675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5676 $as_echo "no" >&6; }
5677 fi
5678
5679
5680 fi
5681 if test -z "$ac_cv_prog_AR"; then
5682 ac_ct_AR=$AR
5683 # Extract the first word of "ar", so it can be a program name with args.
5684 set dummy ar; ac_word=$2
5685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5686 $as_echo_n "checking for $ac_word... " >&6; }
5687 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5688 $as_echo_n "(cached) " >&6
5689 else
5690 if test -n "$ac_ct_AR"; then
5691 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5692 else
5693 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5694 for as_dir in $PATH
5695 do
5696 IFS=$as_save_IFS
5697 test -z "$as_dir" && as_dir=.
5698 for ac_exec_ext in '' $ac_executable_extensions; do
5699 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5700 ac_cv_prog_ac_ct_AR="ar"
5701 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5702 break 2
5703 fi
5704 done
5705 done
5706 IFS=$as_save_IFS
5707
5708 fi
5709 fi
5710 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5711 if test -n "$ac_ct_AR"; then
5712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5713 $as_echo "$ac_ct_AR" >&6; }
5714 else
5715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5716 $as_echo "no" >&6; }
5717 fi
5718
5719 if test "x$ac_ct_AR" = x; then
5720 AR=""
5721 else
5722 case $cross_compiling:$ac_tool_warned in
5723 yes:)
5724 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5725 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5726 ac_tool_warned=yes ;;
5727 esac
5728 AR=$ac_ct_AR
5729 fi
5730 else
5731 AR="$ac_cv_prog_AR"
5732 fi
5733
5734 if test -n "$ac_tool_prefix"; then
5735 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5736 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5738 $as_echo_n "checking for $ac_word... " >&6; }
5739 if ${ac_cv_prog_RANLIB+:} false; then :
5740 $as_echo_n "(cached) " >&6
5741 else
5742 if test -n "$RANLIB"; then
5743 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5744 else
5745 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5746 for as_dir in $PATH
5747 do
5748 IFS=$as_save_IFS
5749 test -z "$as_dir" && as_dir=.
5750 for ac_exec_ext in '' $ac_executable_extensions; do
5751 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5752 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5753 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5754 break 2
5755 fi
5756 done
5757 done
5758 IFS=$as_save_IFS
5759
5760 fi
5761 fi
5762 RANLIB=$ac_cv_prog_RANLIB
5763 if test -n "$RANLIB"; then
5764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5765 $as_echo "$RANLIB" >&6; }
5766 else
5767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5768 $as_echo "no" >&6; }
5769 fi
5770
5771
5772 fi
5773 if test -z "$ac_cv_prog_RANLIB"; then
5774 ac_ct_RANLIB=$RANLIB
5775 # Extract the first word of "ranlib", so it can be a program name with args.
5776 set dummy ranlib; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 if test -n "$ac_ct_RANLIB"; then
5783 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5784 else
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 for as_dir in $PATH
5787 do
5788 IFS=$as_save_IFS
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5792 ac_cv_prog_ac_ct_RANLIB="ranlib"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 break 2
5795 fi
5796 done
5797 done
5798 IFS=$as_save_IFS
5799
5800 fi
5801 fi
5802 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5803 if test -n "$ac_ct_RANLIB"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5805 $as_echo "$ac_ct_RANLIB" >&6; }
5806 else
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5809 fi
5810
5811 if test "x$ac_ct_RANLIB" = x; then
5812 RANLIB="ranlib-not-found-in-path-error"
5813 else
5814 case $cross_compiling:$ac_tool_warned in
5815 yes:)
5816 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5817 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5818 ac_tool_warned=yes ;;
5819 esac
5820 RANLIB=$ac_ct_RANLIB
5821 fi
5822 else
5823 RANLIB="$ac_cv_prog_RANLIB"
5824 fi
5825
5826
5827
5828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to enable maintainer-specific portions of Makefiles" >&5
5829 $as_echo_n "checking whether to enable maintainer-specific portions of Makefiles... " >&6; }
5830 # Check whether --enable-maintainer-mode was given.
5831 if test "${enable_maintainer_mode+set}" = set; then :
5832 enableval=$enable_maintainer_mode; USE_MAINTAINER_MODE=$enableval
5833 else
5834 USE_MAINTAINER_MODE=no
5835 fi
5836
5837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $USE_MAINTAINER_MODE" >&5
5838 $as_echo "$USE_MAINTAINER_MODE" >&6; }
5839 if test $USE_MAINTAINER_MODE = yes; then
5840 MAINTAINER_MODE_TRUE=
5841 MAINTAINER_MODE_FALSE='#'
5842 else
5843 MAINTAINER_MODE_TRUE='#'
5844 MAINTAINER_MODE_FALSE=
5845 fi
5846
5847 MAINT=$MAINTAINER_MODE_TRUE
5848
5849
5850
5851 # Set up safe default values for all subsequent AM_CONDITIONAL tests
5852 # which are themselves conditionally expanded.
5853 ## (Right now, this only matters for enable_wchar_t, but nothing prevents
5854 ## other macros from doing the same. This should be automated.) -pme
5855
5856 # Check for C library flavor since GNU/Linux platforms use different
5857 # configuration directories depending on the C library in use.
5858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5859 /* end confdefs.h. */
5860
5861 #include <stdio.h>
5862 #if __UCLIBC__
5863 _using_uclibc
5864 #endif
5865
5866 _ACEOF
5867 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5868 $EGREP "_using_uclibc" >/dev/null 2>&1; then :
5869 uclibc=yes
5870 else
5871 uclibc=no
5872 fi
5873 rm -f conftest*
5874
5875
5876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5877 /* end confdefs.h. */
5878
5879 #include <stdio.h>
5880 #if __BIONIC__
5881 _using_bionic
5882 #endif
5883
5884 _ACEOF
5885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
5886 $EGREP "_using_bionic" >/dev/null 2>&1; then :
5887 bionic=yes
5888 else
5889 bionic=no
5890 fi
5891 rm -f conftest*
5892
5893
5894 # Find platform-specific directories containing configuration info.
5895 # Also possibly modify flags used elsewhere, as needed by the platform.
5896
5897 . $glibcxx_srcdir/configure.host
5898 { $as_echo "$as_me:${as_lineno-$LINENO}: CPU config directory is $cpu_include_dir" >&5
5899 $as_echo "$as_me: CPU config directory is $cpu_include_dir" >&6;}
5900 { $as_echo "$as_me:${as_lineno-$LINENO}: OS config directory is $os_include_dir" >&5
5901 $as_echo "$as_me: OS config directory is $os_include_dir" >&6;}
5902
5903
5904
5905 # Libtool setup.
5906 if test "x${with_newlib}" != "xyes" && test "x${with_avrlibc}" != "xyes"; then
5907 enable_dlopen=yes
5908
5909
5910
5911 fi
5912 case `pwd` in
5913 *\ * | *\ *)
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
5915 $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
5916 esac
5917
5918
5919
5920 macro_version='2.2.7a'
5921 macro_revision='1.3134'
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935 ltmain="$ac_aux_dir/ltmain.sh"
5936
5937 # Backslashify metacharacters that are still active within
5938 # double-quoted strings.
5939 sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
5940
5941 # Same as above, but do not quote variable references.
5942 double_quote_subst='s/\(["`\\]\)/\\\1/g'
5943
5944 # Sed substitution to delay expansion of an escaped shell variable in a
5945 # double_quote_subst'ed string.
5946 delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
5947
5948 # Sed substitution to delay expansion of an escaped single quote.
5949 delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
5950
5951 # Sed substitution to avoid accidental globbing in evaled expressions
5952 no_glob_subst='s/\*/\\\*/g'
5953
5954 ECHO='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
5955 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO
5956 ECHO=$ECHO$ECHO$ECHO$ECHO$ECHO$ECHO
5957
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to print strings" >&5
5959 $as_echo_n "checking how to print strings... " >&6; }
5960 # Test print first, because it will be a builtin if present.
5961 if test "X`print -r -- -n 2>/dev/null`" = X-n && \
5962 test "X`print -r -- $ECHO 2>/dev/null`" = "X$ECHO"; then
5963 ECHO='print -r --'
5964 elif test "X`printf %s $ECHO 2>/dev/null`" = "X$ECHO"; then
5965 ECHO='printf %s\n'
5966 else
5967 # Use this function as a fallback that always works.
5968 func_fallback_echo ()
5969 {
5970 eval 'cat <<_LTECHO_EOF
5971 $1
5972 _LTECHO_EOF'
5973 }
5974 ECHO='func_fallback_echo'
5975 fi
5976
5977 # func_echo_all arg...
5978 # Invoke $ECHO with all args, space-separated.
5979 func_echo_all ()
5980 {
5981 $ECHO ""
5982 }
5983
5984 case "$ECHO" in
5985 printf*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: printf" >&5
5986 $as_echo "printf" >&6; } ;;
5987 print*) { $as_echo "$as_me:${as_lineno-$LINENO}: result: print -r" >&5
5988 $as_echo "print -r" >&6; } ;;
5989 *) { $as_echo "$as_me:${as_lineno-$LINENO}: result: cat" >&5
5990 $as_echo "cat" >&6; } ;;
5991 esac
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a sed that does not truncate output" >&5
6007 $as_echo_n "checking for a sed that does not truncate output... " >&6; }
6008 if ${ac_cv_path_SED+:} false; then :
6009 $as_echo_n "(cached) " >&6
6010 else
6011 ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
6012 for ac_i in 1 2 3 4 5 6 7; do
6013 ac_script="$ac_script$as_nl$ac_script"
6014 done
6015 echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
6016 { ac_script=; unset ac_script;}
6017 if test -z "$SED"; then
6018 ac_path_SED_found=false
6019 # Loop through the user's path and test for each of PROGNAME-LIST
6020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6021 for as_dir in $PATH
6022 do
6023 IFS=$as_save_IFS
6024 test -z "$as_dir" && as_dir=.
6025 for ac_prog in sed gsed; do
6026 for ac_exec_ext in '' $ac_executable_extensions; do
6027 ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
6028 as_fn_executable_p "$ac_path_SED" || continue
6029 # Check for GNU ac_path_SED and select it if it is found.
6030 # Check for GNU $ac_path_SED
6031 case `"$ac_path_SED" --version 2>&1` in
6032 *GNU*)
6033 ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
6034 *)
6035 ac_count=0
6036 $as_echo_n 0123456789 >"conftest.in"
6037 while :
6038 do
6039 cat "conftest.in" "conftest.in" >"conftest.tmp"
6040 mv "conftest.tmp" "conftest.in"
6041 cp "conftest.in" "conftest.nl"
6042 $as_echo '' >> "conftest.nl"
6043 "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
6044 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6045 as_fn_arith $ac_count + 1 && ac_count=$as_val
6046 if test $ac_count -gt ${ac_path_SED_max-0}; then
6047 # Best one so far, save it but keep looking for a better one
6048 ac_cv_path_SED="$ac_path_SED"
6049 ac_path_SED_max=$ac_count
6050 fi
6051 # 10*(2^10) chars as input seems more than enough
6052 test $ac_count -gt 10 && break
6053 done
6054 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6055 esac
6056
6057 $ac_path_SED_found && break 3
6058 done
6059 done
6060 done
6061 IFS=$as_save_IFS
6062 if test -z "$ac_cv_path_SED"; then
6063 as_fn_error $? "no acceptable sed could be found in \$PATH" "$LINENO" 5
6064 fi
6065 else
6066 ac_cv_path_SED=$SED
6067 fi
6068
6069 fi
6070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_SED" >&5
6071 $as_echo "$ac_cv_path_SED" >&6; }
6072 SED="$ac_cv_path_SED"
6073 rm -f conftest.sed
6074
6075 test -z "$SED" && SED=sed
6076 Xsed="$SED -e 1s/^X//"
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fgrep" >&5
6089 $as_echo_n "checking for fgrep... " >&6; }
6090 if ${ac_cv_path_FGREP+:} false; then :
6091 $as_echo_n "(cached) " >&6
6092 else
6093 if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
6094 then ac_cv_path_FGREP="$GREP -F"
6095 else
6096 if test -z "$FGREP"; then
6097 ac_path_FGREP_found=false
6098 # Loop through the user's path and test for each of PROGNAME-LIST
6099 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6100 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6101 do
6102 IFS=$as_save_IFS
6103 test -z "$as_dir" && as_dir=.
6104 for ac_prog in fgrep; do
6105 for ac_exec_ext in '' $ac_executable_extensions; do
6106 ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
6107 as_fn_executable_p "$ac_path_FGREP" || continue
6108 # Check for GNU ac_path_FGREP and select it if it is found.
6109 # Check for GNU $ac_path_FGREP
6110 case `"$ac_path_FGREP" --version 2>&1` in
6111 *GNU*)
6112 ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
6113 *)
6114 ac_count=0
6115 $as_echo_n 0123456789 >"conftest.in"
6116 while :
6117 do
6118 cat "conftest.in" "conftest.in" >"conftest.tmp"
6119 mv "conftest.tmp" "conftest.in"
6120 cp "conftest.in" "conftest.nl"
6121 $as_echo 'FGREP' >> "conftest.nl"
6122 "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
6123 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6124 as_fn_arith $ac_count + 1 && ac_count=$as_val
6125 if test $ac_count -gt ${ac_path_FGREP_max-0}; then
6126 # Best one so far, save it but keep looking for a better one
6127 ac_cv_path_FGREP="$ac_path_FGREP"
6128 ac_path_FGREP_max=$ac_count
6129 fi
6130 # 10*(2^10) chars as input seems more than enough
6131 test $ac_count -gt 10 && break
6132 done
6133 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6134 esac
6135
6136 $ac_path_FGREP_found && break 3
6137 done
6138 done
6139 done
6140 IFS=$as_save_IFS
6141 if test -z "$ac_cv_path_FGREP"; then
6142 as_fn_error $? "no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6143 fi
6144 else
6145 ac_cv_path_FGREP=$FGREP
6146 fi
6147
6148 fi
6149 fi
6150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_FGREP" >&5
6151 $as_echo "$ac_cv_path_FGREP" >&6; }
6152 FGREP="$ac_cv_path_FGREP"
6153
6154
6155 test -z "$GREP" && GREP=grep
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175 # Check whether --with-gnu-ld was given.
6176 if test "${with_gnu_ld+set}" = set; then :
6177 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
6178 else
6179 with_gnu_ld=no
6180 fi
6181
6182 ac_prog=ld
6183 if test "$GCC" = yes; then
6184 # Check if gcc -print-prog-name=ld gives a path.
6185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
6186 $as_echo_n "checking for ld used by $CC... " >&6; }
6187 case $host in
6188 *-*-mingw*)
6189 # gcc leaves a trailing carriage return which upsets mingw
6190 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
6191 *)
6192 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
6193 esac
6194 case $ac_prog in
6195 # Accept absolute paths.
6196 [\\/]* | ?:[\\/]*)
6197 re_direlt='/[^/][^/]*/\.\./'
6198 # Canonicalize the pathname of ld
6199 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
6200 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
6201 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
6202 done
6203 test -z "$LD" && LD="$ac_prog"
6204 ;;
6205 "")
6206 # If it fails, then pretend we aren't using GCC.
6207 ac_prog=ld
6208 ;;
6209 *)
6210 # If it is relative, then search for the first ld in PATH.
6211 with_gnu_ld=unknown
6212 ;;
6213 esac
6214 elif test "$with_gnu_ld" = yes; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
6216 $as_echo_n "checking for GNU ld... " >&6; }
6217 else
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
6219 $as_echo_n "checking for non-GNU ld... " >&6; }
6220 fi
6221 if ${lt_cv_path_LD+:} false; then :
6222 $as_echo_n "(cached) " >&6
6223 else
6224 if test -z "$LD"; then
6225 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6226 for ac_dir in $PATH; do
6227 IFS="$lt_save_ifs"
6228 test -z "$ac_dir" && ac_dir=.
6229 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
6230 lt_cv_path_LD="$ac_dir/$ac_prog"
6231 # Check to see if the program is GNU ld. I'd rather use --version,
6232 # but apparently some variants of GNU ld only accept -v.
6233 # Break only if it was the GNU/non-GNU ld that we prefer.
6234 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
6235 *GNU* | *'with BFD'*)
6236 test "$with_gnu_ld" != no && break
6237 ;;
6238 *)
6239 test "$with_gnu_ld" != yes && break
6240 ;;
6241 esac
6242 fi
6243 done
6244 IFS="$lt_save_ifs"
6245 else
6246 lt_cv_path_LD="$LD" # Let the user override the test with a path.
6247 fi
6248 fi
6249
6250 LD="$lt_cv_path_LD"
6251 if test -n "$LD"; then
6252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6253 $as_echo "$LD" >&6; }
6254 else
6255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6256 $as_echo "no" >&6; }
6257 fi
6258 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
6260 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
6261 if ${lt_cv_prog_gnu_ld+:} false; then :
6262 $as_echo_n "(cached) " >&6
6263 else
6264 # I'd rather use --version here, but apparently some GNU lds only accept -v.
6265 case `$LD -v 2>&1 </dev/null` in
6266 *GNU* | *'with BFD'*)
6267 lt_cv_prog_gnu_ld=yes
6268 ;;
6269 *)
6270 lt_cv_prog_gnu_ld=no
6271 ;;
6272 esac
6273 fi
6274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
6275 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
6276 with_gnu_ld=$lt_cv_prog_gnu_ld
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for BSD- or MS-compatible name lister (nm)" >&5
6287 $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
6288 if ${lt_cv_path_NM+:} false; then :
6289 $as_echo_n "(cached) " >&6
6290 else
6291 if test -n "$NM"; then
6292 # Let the user override the test.
6293 lt_cv_path_NM="$NM"
6294 else
6295 lt_nm_to_check="${ac_tool_prefix}nm"
6296 if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
6297 lt_nm_to_check="$lt_nm_to_check nm"
6298 fi
6299 for lt_tmp_nm in $lt_nm_to_check; do
6300 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
6301 for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
6302 IFS="$lt_save_ifs"
6303 test -z "$ac_dir" && ac_dir=.
6304 tmp_nm="$ac_dir/$lt_tmp_nm"
6305 if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
6306 # Check to see if the nm accepts a BSD-compat flag.
6307 # Adding the `sed 1q' prevents false positives on HP-UX, which says:
6308 # nm: unknown option "B" ignored
6309 # Tru64's nm complains that /dev/null is an invalid object file
6310 case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
6311 */dev/null* | *'Invalid file or object type'*)
6312 lt_cv_path_NM="$tmp_nm -B"
6313 break
6314 ;;
6315 *)
6316 case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
6317 */dev/null*)
6318 lt_cv_path_NM="$tmp_nm -p"
6319 break
6320 ;;
6321 *)
6322 lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
6323 continue # so that we can try to find one that supports BSD flags
6324 ;;
6325 esac
6326 ;;
6327 esac
6328 fi
6329 done
6330 IFS="$lt_save_ifs"
6331 done
6332 : ${lt_cv_path_NM=no}
6333 fi
6334 fi
6335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_path_NM" >&5
6336 $as_echo "$lt_cv_path_NM" >&6; }
6337 if test "$lt_cv_path_NM" != "no"; then
6338 NM="$lt_cv_path_NM"
6339 else
6340 # Didn't find any BSD compatible name lister, look for dumpbin.
6341 if test -n "$DUMPBIN"; then :
6342 # Let the user override the test.
6343 else
6344 if test -n "$ac_tool_prefix"; then
6345 for ac_prog in dumpbin "link -dump"
6346 do
6347 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6348 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6350 $as_echo_n "checking for $ac_word... " >&6; }
6351 if ${ac_cv_prog_DUMPBIN+:} false; then :
6352 $as_echo_n "(cached) " >&6
6353 else
6354 if test -n "$DUMPBIN"; then
6355 ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
6356 else
6357 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6358 for as_dir in $PATH
6359 do
6360 IFS=$as_save_IFS
6361 test -z "$as_dir" && as_dir=.
6362 for ac_exec_ext in '' $ac_executable_extensions; do
6363 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6364 ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
6365 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6366 break 2
6367 fi
6368 done
6369 done
6370 IFS=$as_save_IFS
6371
6372 fi
6373 fi
6374 DUMPBIN=$ac_cv_prog_DUMPBIN
6375 if test -n "$DUMPBIN"; then
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DUMPBIN" >&5
6377 $as_echo "$DUMPBIN" >&6; }
6378 else
6379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6380 $as_echo "no" >&6; }
6381 fi
6382
6383
6384 test -n "$DUMPBIN" && break
6385 done
6386 fi
6387 if test -z "$DUMPBIN"; then
6388 ac_ct_DUMPBIN=$DUMPBIN
6389 for ac_prog in dumpbin "link -dump"
6390 do
6391 # Extract the first word of "$ac_prog", so it can be a program name with args.
6392 set dummy $ac_prog; ac_word=$2
6393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6394 $as_echo_n "checking for $ac_word... " >&6; }
6395 if ${ac_cv_prog_ac_ct_DUMPBIN+:} false; then :
6396 $as_echo_n "(cached) " >&6
6397 else
6398 if test -n "$ac_ct_DUMPBIN"; then
6399 ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
6400 else
6401 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6402 for as_dir in $PATH
6403 do
6404 IFS=$as_save_IFS
6405 test -z "$as_dir" && as_dir=.
6406 for ac_exec_ext in '' $ac_executable_extensions; do
6407 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6408 ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
6409 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6410 break 2
6411 fi
6412 done
6413 done
6414 IFS=$as_save_IFS
6415
6416 fi
6417 fi
6418 ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
6419 if test -n "$ac_ct_DUMPBIN"; then
6420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DUMPBIN" >&5
6421 $as_echo "$ac_ct_DUMPBIN" >&6; }
6422 else
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6424 $as_echo "no" >&6; }
6425 fi
6426
6427
6428 test -n "$ac_ct_DUMPBIN" && break
6429 done
6430
6431 if test "x$ac_ct_DUMPBIN" = x; then
6432 DUMPBIN=":"
6433 else
6434 case $cross_compiling:$ac_tool_warned in
6435 yes:)
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6437 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6438 ac_tool_warned=yes ;;
6439 esac
6440 DUMPBIN=$ac_ct_DUMPBIN
6441 fi
6442 fi
6443
6444 case `$DUMPBIN -symbols /dev/null 2>&1 | sed '1q'` in
6445 *COFF*)
6446 DUMPBIN="$DUMPBIN -symbols"
6447 ;;
6448 *)
6449 DUMPBIN=:
6450 ;;
6451 esac
6452 fi
6453
6454 if test "$DUMPBIN" != ":"; then
6455 NM="$DUMPBIN"
6456 fi
6457 fi
6458 test -z "$NM" && NM=nm
6459
6460
6461
6462
6463
6464
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the name lister ($NM) interface" >&5
6466 $as_echo_n "checking the name lister ($NM) interface... " >&6; }
6467 if ${lt_cv_nm_interface+:} false; then :
6468 $as_echo_n "(cached) " >&6
6469 else
6470 lt_cv_nm_interface="BSD nm"
6471 echo "int some_variable = 0;" > conftest.$ac_ext
6472 (eval echo "\"\$as_me:$LINENO: $ac_compile\"" >&5)
6473 (eval "$ac_compile" 2>conftest.err)
6474 cat conftest.err >&5
6475 (eval echo "\"\$as_me:$LINENO: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
6476 (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
6477 cat conftest.err >&5
6478 (eval echo "\"\$as_me:$LINENO: output\"" >&5)
6479 cat conftest.out >&5
6480 if $GREP 'External.*some_variable' conftest.out > /dev/null; then
6481 lt_cv_nm_interface="MS dumpbin"
6482 fi
6483 rm -f conftest*
6484 fi
6485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_nm_interface" >&5
6486 $as_echo "$lt_cv_nm_interface" >&6; }
6487
6488 # find the maximum length of command line arguments
6489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking the maximum length of command line arguments" >&5
6490 $as_echo_n "checking the maximum length of command line arguments... " >&6; }
6491 if ${lt_cv_sys_max_cmd_len+:} false; then :
6492 $as_echo_n "(cached) " >&6
6493 else
6494 i=0
6495 teststring="ABCD"
6496
6497 case $build_os in
6498 msdosdjgpp*)
6499 # On DJGPP, this test can blow up pretty badly due to problems in libc
6500 # (any single argument exceeding 2000 bytes causes a buffer overrun
6501 # during glob expansion). Even if it were fixed, the result of this
6502 # check would be larger than it should be.
6503 lt_cv_sys_max_cmd_len=12288; # 12K is about right
6504 ;;
6505
6506 gnu*)
6507 # Under GNU Hurd, this test is not required because there is
6508 # no limit to the length of command line arguments.
6509 # Libtool will interpret -1 as no limit whatsoever
6510 lt_cv_sys_max_cmd_len=-1;
6511 ;;
6512
6513 cygwin* | mingw* | cegcc*)
6514 # On Win9x/ME, this test blows up -- it succeeds, but takes
6515 # about 5 minutes as the teststring grows exponentially.
6516 # Worse, since 9x/ME are not pre-emptively multitasking,
6517 # you end up with a "frozen" computer, even though with patience
6518 # the test eventually succeeds (with a max line length of 256k).
6519 # Instead, let's just punt: use the minimum linelength reported by
6520 # all of the supported platforms: 8192 (on NT/2K/XP).
6521 lt_cv_sys_max_cmd_len=8192;
6522 ;;
6523
6524 mint*)
6525 # On MiNT this can take a long time and run out of memory.
6526 lt_cv_sys_max_cmd_len=8192;
6527 ;;
6528
6529 amigaos*)
6530 # On AmigaOS with pdksh, this test takes hours, literally.
6531 # So we just punt and use a minimum line length of 8192.
6532 lt_cv_sys_max_cmd_len=8192;
6533 ;;
6534
6535 netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
6536 # This has been around since 386BSD, at least. Likely further.
6537 if test -x /sbin/sysctl; then
6538 lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
6539 elif test -x /usr/sbin/sysctl; then
6540 lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
6541 else
6542 lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
6543 fi
6544 # And add a safety zone
6545 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6546 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6547 ;;
6548
6549 interix*)
6550 # We know the value 262144 and hardcode it with a safety zone (like BSD)
6551 lt_cv_sys_max_cmd_len=196608
6552 ;;
6553
6554 osf*)
6555 # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
6556 # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
6557 # nice to cause kernel panics so lets avoid the loop below.
6558 # First set a reasonable default.
6559 lt_cv_sys_max_cmd_len=16384
6560 #
6561 if test -x /sbin/sysconfig; then
6562 case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
6563 *1*) lt_cv_sys_max_cmd_len=-1 ;;
6564 esac
6565 fi
6566 ;;
6567 sco3.2v5*)
6568 lt_cv_sys_max_cmd_len=102400
6569 ;;
6570 sysv5* | sco5v6* | sysv4.2uw2*)
6571 kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
6572 if test -n "$kargmax"; then
6573 lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
6574 else
6575 lt_cv_sys_max_cmd_len=32768
6576 fi
6577 ;;
6578 *)
6579 lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
6580 if test -n "$lt_cv_sys_max_cmd_len"; then
6581 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
6582 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
6583 else
6584 # Make teststring a little bigger before we do anything with it.
6585 # a 1K string should be a reasonable start.
6586 for i in 1 2 3 4 5 6 7 8 ; do
6587 teststring=$teststring$teststring
6588 done
6589 SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
6590 # If test is not a shell built-in, we'll probably end up computing a
6591 # maximum length that is only half of the actual maximum length, but
6592 # we can't tell.
6593 while { test "X"`func_fallback_echo "$teststring$teststring" 2>/dev/null` \
6594 = "X$teststring$teststring"; } >/dev/null 2>&1 &&
6595 test $i != 17 # 1/2 MB should be enough
6596 do
6597 i=`expr $i + 1`
6598 teststring=$teststring$teststring
6599 done
6600 # Only check the string length outside the loop.
6601 lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
6602 teststring=
6603 # Add a significant safety factor because C++ compilers can tack on
6604 # massive amounts of additional arguments before passing them to the
6605 # linker. It appears as though 1/2 is a usable value.
6606 lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
6607 fi
6608 ;;
6609 esac
6610
6611 fi
6612
6613 if test -n $lt_cv_sys_max_cmd_len ; then
6614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_sys_max_cmd_len" >&5
6615 $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
6616 else
6617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
6618 $as_echo "none" >&6; }
6619 fi
6620 max_cmd_len=$lt_cv_sys_max_cmd_len
6621
6622
6623
6624
6625
6626
6627 : ${CP="cp -f"}
6628 : ${MV="mv -f"}
6629 : ${RM="rm -f"}
6630
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands some XSI constructs" >&5
6632 $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
6633 # Try some XSI features
6634 xsi_shell=no
6635 ( _lt_dummy="a/b/c"
6636 test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
6637 = c,a/b,, \
6638 && eval 'test $(( 1 + 1 )) -eq 2 \
6639 && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
6640 && xsi_shell=yes
6641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $xsi_shell" >&5
6642 $as_echo "$xsi_shell" >&6; }
6643
6644
6645 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the shell understands \"+=\"" >&5
6646 $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
6647 lt_shell_append=no
6648 ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
6649 >/dev/null 2>&1 \
6650 && lt_shell_append=yes
6651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_shell_append" >&5
6652 $as_echo "$lt_shell_append" >&6; }
6653
6654
6655 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
6656 lt_unset=unset
6657 else
6658 lt_unset=false
6659 fi
6660
6661
6662
6663
6664
6665 # test EBCDIC or ASCII
6666 case `echo X|tr X '\101'` in
6667 A) # ASCII based system
6668 # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
6669 lt_SP2NL='tr \040 \012'
6670 lt_NL2SP='tr \015\012 \040\040'
6671 ;;
6672 *) # EBCDIC based system
6673 lt_SP2NL='tr \100 \n'
6674 lt_NL2SP='tr \r\n \100\100'
6675 ;;
6676 esac
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $LD option to reload object files" >&5
6687 $as_echo_n "checking for $LD option to reload object files... " >&6; }
6688 if ${lt_cv_ld_reload_flag+:} false; then :
6689 $as_echo_n "(cached) " >&6
6690 else
6691 lt_cv_ld_reload_flag='-r'
6692 fi
6693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_reload_flag" >&5
6694 $as_echo "$lt_cv_ld_reload_flag" >&6; }
6695 reload_flag=$lt_cv_ld_reload_flag
6696 case $reload_flag in
6697 "" | " "*) ;;
6698 *) reload_flag=" $reload_flag" ;;
6699 esac
6700 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6701 case $host_os in
6702 darwin*)
6703 if test "$GCC" = yes; then
6704 reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
6705 else
6706 reload_cmds='$LD$reload_flag -o $output$reload_objs'
6707 fi
6708 ;;
6709 esac
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719 if test -n "$ac_tool_prefix"; then
6720 # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
6721 set dummy ${ac_tool_prefix}objdump; ac_word=$2
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6723 $as_echo_n "checking for $ac_word... " >&6; }
6724 if ${ac_cv_prog_OBJDUMP+:} false; then :
6725 $as_echo_n "(cached) " >&6
6726 else
6727 if test -n "$OBJDUMP"; then
6728 ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
6729 else
6730 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6731 for as_dir in $PATH
6732 do
6733 IFS=$as_save_IFS
6734 test -z "$as_dir" && as_dir=.
6735 for ac_exec_ext in '' $ac_executable_extensions; do
6736 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6737 ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
6738 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6739 break 2
6740 fi
6741 done
6742 done
6743 IFS=$as_save_IFS
6744
6745 fi
6746 fi
6747 OBJDUMP=$ac_cv_prog_OBJDUMP
6748 if test -n "$OBJDUMP"; then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJDUMP" >&5
6750 $as_echo "$OBJDUMP" >&6; }
6751 else
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6753 $as_echo "no" >&6; }
6754 fi
6755
6756
6757 fi
6758 if test -z "$ac_cv_prog_OBJDUMP"; then
6759 ac_ct_OBJDUMP=$OBJDUMP
6760 # Extract the first word of "objdump", so it can be a program name with args.
6761 set dummy objdump; ac_word=$2
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6763 $as_echo_n "checking for $ac_word... " >&6; }
6764 if ${ac_cv_prog_ac_ct_OBJDUMP+:} false; then :
6765 $as_echo_n "(cached) " >&6
6766 else
6767 if test -n "$ac_ct_OBJDUMP"; then
6768 ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
6769 else
6770 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6771 for as_dir in $PATH
6772 do
6773 IFS=$as_save_IFS
6774 test -z "$as_dir" && as_dir=.
6775 for ac_exec_ext in '' $ac_executable_extensions; do
6776 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6777 ac_cv_prog_ac_ct_OBJDUMP="objdump"
6778 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6779 break 2
6780 fi
6781 done
6782 done
6783 IFS=$as_save_IFS
6784
6785 fi
6786 fi
6787 ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
6788 if test -n "$ac_ct_OBJDUMP"; then
6789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJDUMP" >&5
6790 $as_echo "$ac_ct_OBJDUMP" >&6; }
6791 else
6792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6793 $as_echo "no" >&6; }
6794 fi
6795
6796 if test "x$ac_ct_OBJDUMP" = x; then
6797 OBJDUMP="false"
6798 else
6799 case $cross_compiling:$ac_tool_warned in
6800 yes:)
6801 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6802 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6803 ac_tool_warned=yes ;;
6804 esac
6805 OBJDUMP=$ac_ct_OBJDUMP
6806 fi
6807 else
6808 OBJDUMP="$ac_cv_prog_OBJDUMP"
6809 fi
6810
6811 test -z "$OBJDUMP" && OBJDUMP=objdump
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to recognize dependent libraries" >&5
6822 $as_echo_n "checking how to recognize dependent libraries... " >&6; }
6823 if ${lt_cv_deplibs_check_method+:} false; then :
6824 $as_echo_n "(cached) " >&6
6825 else
6826 lt_cv_file_magic_cmd='$MAGIC_CMD'
6827 lt_cv_file_magic_test_file=
6828 lt_cv_deplibs_check_method='unknown'
6829 # Need to set the preceding variable on all platforms that support
6830 # interlibrary dependencies.
6831 # 'none' -- dependencies not supported.
6832 # `unknown' -- same as none, but documents that we really don't know.
6833 # 'pass_all' -- all dependencies passed with no checks.
6834 # 'test_compile' -- check by making test program.
6835 # 'file_magic [[regex]]' -- check by looking for files in library path
6836 # which responds to the $file_magic_cmd with a given extended regex.
6837 # If you have `file' or equivalent on your system and you're not sure
6838 # whether `pass_all' will *always* work, you probably want this one.
6839
6840 case $host_os in
6841 aix[4-9]*)
6842 lt_cv_deplibs_check_method=pass_all
6843 ;;
6844
6845 beos*)
6846 lt_cv_deplibs_check_method=pass_all
6847 ;;
6848
6849 bsdi[45]*)
6850 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
6851 lt_cv_file_magic_cmd='/usr/bin/file -L'
6852 lt_cv_file_magic_test_file=/shlib/libc.so
6853 ;;
6854
6855 cygwin*)
6856 # func_win32_libid is a shell function defined in ltmain.sh
6857 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6858 lt_cv_file_magic_cmd='func_win32_libid'
6859 ;;
6860
6861 mingw* | pw32*)
6862 # Base MSYS/MinGW do not provide the 'file' command needed by
6863 # func_win32_libid shell function, so use a weaker test based on 'objdump',
6864 # unless we find 'file', for example because we are cross-compiling.
6865 # func_win32_libid assumes BSD nm, so disallow it if using MS dumpbin.
6866 if ( test "$lt_cv_nm_interface" = "BSD nm" && file / ) >/dev/null 2>&1; then
6867 lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
6868 lt_cv_file_magic_cmd='func_win32_libid'
6869 else
6870 lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
6871 lt_cv_file_magic_cmd='$OBJDUMP -f'
6872 fi
6873 ;;
6874
6875 cegcc*)
6876 # use the weaker test based on 'objdump'. See mingw*.
6877 lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
6878 lt_cv_file_magic_cmd='$OBJDUMP -f'
6879 ;;
6880
6881 darwin* | rhapsody*)
6882 lt_cv_deplibs_check_method=pass_all
6883 ;;
6884
6885 freebsd* | dragonfly*)
6886 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6887 case $host_cpu in
6888 i*86 )
6889 # Not sure whether the presence of OpenBSD here was a mistake.
6890 # Let's accept both of them until this is cleared up.
6891 lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
6892 lt_cv_file_magic_cmd=/usr/bin/file
6893 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
6894 ;;
6895 esac
6896 else
6897 lt_cv_deplibs_check_method=pass_all
6898 fi
6899 ;;
6900
6901 gnu*)
6902 lt_cv_deplibs_check_method=pass_all
6903 ;;
6904
6905 haiku*)
6906 lt_cv_deplibs_check_method=pass_all
6907 ;;
6908
6909 hpux10.20* | hpux11*)
6910 lt_cv_file_magic_cmd=/usr/bin/file
6911 case $host_cpu in
6912 ia64*)
6913 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
6914 lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
6915 ;;
6916 hppa*64*)
6917 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]'
6918 lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
6919 ;;
6920 *)
6921 lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9]\.[0-9]) shared library'
6922 lt_cv_file_magic_test_file=/usr/lib/libc.sl
6923 ;;
6924 esac
6925 ;;
6926
6927 interix[3-9]*)
6928 # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
6929 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
6930 ;;
6931
6932 irix5* | irix6* | nonstopux*)
6933 case $LD in
6934 *-32|*"-32 ") libmagic=32-bit;;
6935 *-n32|*"-n32 ") libmagic=N32;;
6936 *-64|*"-64 ") libmagic=64-bit;;
6937 *) libmagic=never-match;;
6938 esac
6939 lt_cv_deplibs_check_method=pass_all
6940 ;;
6941
6942 # This must be Linux ELF.
6943 linux* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
6944 lt_cv_deplibs_check_method=pass_all
6945 ;;
6946
6947 netbsd*)
6948 if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
6949 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6950 else
6951 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
6952 fi
6953 ;;
6954
6955 newos6*)
6956 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
6957 lt_cv_file_magic_cmd=/usr/bin/file
6958 lt_cv_file_magic_test_file=/usr/lib/libnls.so
6959 ;;
6960
6961 *nto* | *qnx*)
6962 lt_cv_deplibs_check_method=pass_all
6963 ;;
6964
6965 openbsd*)
6966 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
6967 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
6968 else
6969 lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
6970 fi
6971 ;;
6972
6973 osf3* | osf4* | osf5*)
6974 lt_cv_deplibs_check_method=pass_all
6975 ;;
6976
6977 rdos*)
6978 lt_cv_deplibs_check_method=pass_all
6979 ;;
6980
6981 solaris*)
6982 lt_cv_deplibs_check_method=pass_all
6983 ;;
6984
6985 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
6986 lt_cv_deplibs_check_method=pass_all
6987 ;;
6988
6989 sysv4 | sysv4.3*)
6990 case $host_vendor in
6991 motorola)
6992 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]'
6993 lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
6994 ;;
6995 ncr)
6996 lt_cv_deplibs_check_method=pass_all
6997 ;;
6998 sequent)
6999 lt_cv_file_magic_cmd='/bin/file'
7000 lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
7001 ;;
7002 sni)
7003 lt_cv_file_magic_cmd='/bin/file'
7004 lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
7005 lt_cv_file_magic_test_file=/lib/libc.so
7006 ;;
7007 siemens)
7008 lt_cv_deplibs_check_method=pass_all
7009 ;;
7010 pc)
7011 lt_cv_deplibs_check_method=pass_all
7012 ;;
7013 esac
7014 ;;
7015
7016 tpf*)
7017 lt_cv_deplibs_check_method=pass_all
7018 ;;
7019 esac
7020
7021 fi
7022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_deplibs_check_method" >&5
7023 $as_echo "$lt_cv_deplibs_check_method" >&6; }
7024 file_magic_cmd=$lt_cv_file_magic_cmd
7025 deplibs_check_method=$lt_cv_deplibs_check_method
7026 test -z "$deplibs_check_method" && deplibs_check_method=unknown
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039 if test -n "$ac_tool_prefix"; then
7040 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
7041 set dummy ${ac_tool_prefix}ar; ac_word=$2
7042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7043 $as_echo_n "checking for $ac_word... " >&6; }
7044 if ${ac_cv_prog_AR+:} false; then :
7045 $as_echo_n "(cached) " >&6
7046 else
7047 if test -n "$AR"; then
7048 ac_cv_prog_AR="$AR" # Let the user override the test.
7049 else
7050 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7051 for as_dir in $PATH
7052 do
7053 IFS=$as_save_IFS
7054 test -z "$as_dir" && as_dir=.
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7057 ac_cv_prog_AR="${ac_tool_prefix}ar"
7058 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7059 break 2
7060 fi
7061 done
7062 done
7063 IFS=$as_save_IFS
7064
7065 fi
7066 fi
7067 AR=$ac_cv_prog_AR
7068 if test -n "$AR"; then
7069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
7070 $as_echo "$AR" >&6; }
7071 else
7072 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7073 $as_echo "no" >&6; }
7074 fi
7075
7076
7077 fi
7078 if test -z "$ac_cv_prog_AR"; then
7079 ac_ct_AR=$AR
7080 # Extract the first word of "ar", so it can be a program name with args.
7081 set dummy ar; ac_word=$2
7082 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7083 $as_echo_n "checking for $ac_word... " >&6; }
7084 if ${ac_cv_prog_ac_ct_AR+:} false; then :
7085 $as_echo_n "(cached) " >&6
7086 else
7087 if test -n "$ac_ct_AR"; then
7088 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
7089 else
7090 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7091 for as_dir in $PATH
7092 do
7093 IFS=$as_save_IFS
7094 test -z "$as_dir" && as_dir=.
7095 for ac_exec_ext in '' $ac_executable_extensions; do
7096 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7097 ac_cv_prog_ac_ct_AR="ar"
7098 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7099 break 2
7100 fi
7101 done
7102 done
7103 IFS=$as_save_IFS
7104
7105 fi
7106 fi
7107 ac_ct_AR=$ac_cv_prog_ac_ct_AR
7108 if test -n "$ac_ct_AR"; then
7109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
7110 $as_echo "$ac_ct_AR" >&6; }
7111 else
7112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7113 $as_echo "no" >&6; }
7114 fi
7115
7116 if test "x$ac_ct_AR" = x; then
7117 AR="false"
7118 else
7119 case $cross_compiling:$ac_tool_warned in
7120 yes:)
7121 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7122 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7123 ac_tool_warned=yes ;;
7124 esac
7125 AR=$ac_ct_AR
7126 fi
7127 else
7128 AR="$ac_cv_prog_AR"
7129 fi
7130
7131 test -z "$AR" && AR=ar
7132 test -z "$AR_FLAGS" && AR_FLAGS=cru
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144 if test -n "$ac_tool_prefix"; then
7145 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
7146 set dummy ${ac_tool_prefix}strip; ac_word=$2
7147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7148 $as_echo_n "checking for $ac_word... " >&6; }
7149 if ${ac_cv_prog_STRIP+:} false; then :
7150 $as_echo_n "(cached) " >&6
7151 else
7152 if test -n "$STRIP"; then
7153 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
7154 else
7155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7156 for as_dir in $PATH
7157 do
7158 IFS=$as_save_IFS
7159 test -z "$as_dir" && as_dir=.
7160 for ac_exec_ext in '' $ac_executable_extensions; do
7161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7162 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
7163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7164 break 2
7165 fi
7166 done
7167 done
7168 IFS=$as_save_IFS
7169
7170 fi
7171 fi
7172 STRIP=$ac_cv_prog_STRIP
7173 if test -n "$STRIP"; then
7174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
7175 $as_echo "$STRIP" >&6; }
7176 else
7177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7178 $as_echo "no" >&6; }
7179 fi
7180
7181
7182 fi
7183 if test -z "$ac_cv_prog_STRIP"; then
7184 ac_ct_STRIP=$STRIP
7185 # Extract the first word of "strip", so it can be a program name with args.
7186 set dummy strip; ac_word=$2
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7188 $as_echo_n "checking for $ac_word... " >&6; }
7189 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
7190 $as_echo_n "(cached) " >&6
7191 else
7192 if test -n "$ac_ct_STRIP"; then
7193 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
7194 else
7195 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7196 for as_dir in $PATH
7197 do
7198 IFS=$as_save_IFS
7199 test -z "$as_dir" && as_dir=.
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_ac_ct_STRIP="strip"
7203 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7204 break 2
7205 fi
7206 done
7207 done
7208 IFS=$as_save_IFS
7209
7210 fi
7211 fi
7212 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
7213 if test -n "$ac_ct_STRIP"; then
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
7215 $as_echo "$ac_ct_STRIP" >&6; }
7216 else
7217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 $as_echo "no" >&6; }
7219 fi
7220
7221 if test "x$ac_ct_STRIP" = x; then
7222 STRIP=":"
7223 else
7224 case $cross_compiling:$ac_tool_warned in
7225 yes:)
7226 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7227 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7228 ac_tool_warned=yes ;;
7229 esac
7230 STRIP=$ac_ct_STRIP
7231 fi
7232 else
7233 STRIP="$ac_cv_prog_STRIP"
7234 fi
7235
7236 test -z "$STRIP" && STRIP=:
7237
7238
7239
7240
7241
7242
7243 if test -n "$ac_tool_prefix"; then
7244 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
7245 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
7246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7247 $as_echo_n "checking for $ac_word... " >&6; }
7248 if ${ac_cv_prog_RANLIB+:} false; then :
7249 $as_echo_n "(cached) " >&6
7250 else
7251 if test -n "$RANLIB"; then
7252 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
7253 else
7254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7255 for as_dir in $PATH
7256 do
7257 IFS=$as_save_IFS
7258 test -z "$as_dir" && as_dir=.
7259 for ac_exec_ext in '' $ac_executable_extensions; do
7260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7261 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
7262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7263 break 2
7264 fi
7265 done
7266 done
7267 IFS=$as_save_IFS
7268
7269 fi
7270 fi
7271 RANLIB=$ac_cv_prog_RANLIB
7272 if test -n "$RANLIB"; then
7273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
7274 $as_echo "$RANLIB" >&6; }
7275 else
7276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7277 $as_echo "no" >&6; }
7278 fi
7279
7280
7281 fi
7282 if test -z "$ac_cv_prog_RANLIB"; then
7283 ac_ct_RANLIB=$RANLIB
7284 # Extract the first word of "ranlib", so it can be a program name with args.
7285 set dummy ranlib; ac_word=$2
7286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7287 $as_echo_n "checking for $ac_word... " >&6; }
7288 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
7289 $as_echo_n "(cached) " >&6
7290 else
7291 if test -n "$ac_ct_RANLIB"; then
7292 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
7293 else
7294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7295 for as_dir in $PATH
7296 do
7297 IFS=$as_save_IFS
7298 test -z "$as_dir" && as_dir=.
7299 for ac_exec_ext in '' $ac_executable_extensions; do
7300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7301 ac_cv_prog_ac_ct_RANLIB="ranlib"
7302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7303 break 2
7304 fi
7305 done
7306 done
7307 IFS=$as_save_IFS
7308
7309 fi
7310 fi
7311 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
7312 if test -n "$ac_ct_RANLIB"; then
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
7314 $as_echo "$ac_ct_RANLIB" >&6; }
7315 else
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7317 $as_echo "no" >&6; }
7318 fi
7319
7320 if test "x$ac_ct_RANLIB" = x; then
7321 RANLIB=":"
7322 else
7323 case $cross_compiling:$ac_tool_warned in
7324 yes:)
7325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7327 ac_tool_warned=yes ;;
7328 esac
7329 RANLIB=$ac_ct_RANLIB
7330 fi
7331 else
7332 RANLIB="$ac_cv_prog_RANLIB"
7333 fi
7334
7335 test -z "$RANLIB" && RANLIB=:
7336
7337
7338
7339
7340
7341
7342 # Determine commands to create old-style static archives.
7343 old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
7344 old_postinstall_cmds='chmod 644 $oldlib'
7345 old_postuninstall_cmds=
7346
7347 if test -n "$RANLIB"; then
7348 case $host_os in
7349 openbsd*)
7350 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
7351 ;;
7352 *)
7353 old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
7354 ;;
7355 esac
7356 old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
7357 fi
7358
7359 case $host_os in
7360 darwin*)
7361 lock_old_archive_extraction=yes ;;
7362 *)
7363 lock_old_archive_extraction=no ;;
7364 esac
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404 # If no C compiler was specified, use CC.
7405 LTCC=${LTCC-"$CC"}
7406
7407 # If no C compiler flags were specified, use CFLAGS.
7408 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
7409
7410 # Allow CC to be a program name with arguments.
7411 compiler=$CC
7412
7413
7414 # Check for command to grab the raw symbol name followed by C symbol from nm.
7415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking command to parse $NM output from $compiler object" >&5
7416 $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
7417 if ${lt_cv_sys_global_symbol_pipe+:} false; then :
7418 $as_echo_n "(cached) " >&6
7419 else
7420
7421 # These are sane defaults that work on at least a few old systems.
7422 # [They come from Ultrix. What could be older than Ultrix?!! ;)]
7423
7424 # Character class describing NM global symbol codes.
7425 symcode='[BCDEGRST]'
7426
7427 # Regexp to match symbols that can be accessed directly from C.
7428 sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
7429
7430 # Define system-specific variables.
7431 case $host_os in
7432 aix*)
7433 symcode='[BCDT]'
7434 ;;
7435 cygwin* | mingw* | pw32* | cegcc*)
7436 symcode='[ABCDGISTW]'
7437 ;;
7438 hpux*)
7439 if test "$host_cpu" = ia64; then
7440 symcode='[ABCDEGRST]'
7441 fi
7442 ;;
7443 irix* | nonstopux*)
7444 symcode='[BCDEGRST]'
7445 ;;
7446 osf*)
7447 symcode='[BCDEGQRST]'
7448 ;;
7449 solaris*)
7450 symcode='[BDRT]'
7451 ;;
7452 sco3.2v5*)
7453 symcode='[DT]'
7454 ;;
7455 sysv4.2uw2*)
7456 symcode='[DT]'
7457 ;;
7458 sysv5* | sco5v6* | unixware* | OpenUNIX*)
7459 symcode='[ABDT]'
7460 ;;
7461 sysv4)
7462 symcode='[DFNSTU]'
7463 ;;
7464 esac
7465
7466 # If we're using GNU nm, then use its standard symbol codes.
7467 case `$NM -V 2>&1` in
7468 *GNU* | *'with BFD'*)
7469 symcode='[ABCDGIRSTW]' ;;
7470 esac
7471
7472 # Transform an extracted symbol line into a proper C declaration.
7473 # Some systems (esp. on ia64) link data and code symbols differently,
7474 # so use this general approach.
7475 lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
7476
7477 # Transform an extracted symbol line into symbol name and symbol address
7478 lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
7479 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'"
7480
7481 # Handle CRLF in mingw tool chain
7482 opt_cr=
7483 case $build_os in
7484 mingw*)
7485 opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
7486 ;;
7487 esac
7488
7489 # Try without a prefix underscore, then with it.
7490 for ac_symprfx in "" "_"; do
7491
7492 # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
7493 symxfrm="\\1 $ac_symprfx\\2 \\2"
7494
7495 # Write the raw and C identifiers.
7496 if test "$lt_cv_nm_interface" = "MS dumpbin"; then
7497 # Fake it for dumpbin and say T for any non-static function
7498 # and D for any global variable.
7499 # Also find C++ and __fastcall symbols from MSVC++,
7500 # which start with @ or ?.
7501 lt_cv_sys_global_symbol_pipe="$AWK '"\
7502 " {last_section=section; section=\$ 3};"\
7503 " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
7504 " \$ 0!~/External *\|/{next};"\
7505 " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
7506 " {if(hide[section]) next};"\
7507 " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
7508 " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
7509 " s[1]~/^[@?]/{print s[1], s[1]; next};"\
7510 " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
7511 " ' prfx=^$ac_symprfx"
7512 else
7513 lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
7514 fi
7515
7516 # Check to see that the pipe works correctly.
7517 pipe_works=no
7518
7519 rm -f conftest*
7520 cat > conftest.$ac_ext <<_LT_EOF
7521 #ifdef __cplusplus
7522 extern "C" {
7523 #endif
7524 char nm_test_var;
7525 void nm_test_func(void);
7526 void nm_test_func(void){}
7527 #ifdef __cplusplus
7528 }
7529 #endif
7530 int main(){nm_test_var='a';nm_test_func();return(0);}
7531 _LT_EOF
7532
7533 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7534 (eval $ac_compile) 2>&5
7535 ac_status=$?
7536 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7537 test $ac_status = 0; }; then
7538 # Now try to grab the symbols.
7539 nlist=conftest.nm
7540 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist\""; } >&5
7541 (eval $NM conftest.$ac_objext \| "$lt_cv_sys_global_symbol_pipe" \> $nlist) 2>&5
7542 ac_status=$?
7543 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7544 test $ac_status = 0; } && test -s "$nlist"; then
7545 # Try sorting and uniquifying the output.
7546 if sort "$nlist" | uniq > "$nlist"T; then
7547 mv -f "$nlist"T "$nlist"
7548 else
7549 rm -f "$nlist"T
7550 fi
7551
7552 # Make sure that we snagged all the symbols we need.
7553 if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
7554 if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
7555 cat <<_LT_EOF > conftest.$ac_ext
7556 #ifdef __cplusplus
7557 extern "C" {
7558 #endif
7559
7560 _LT_EOF
7561 # Now generate the symbol file.
7562 eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
7563
7564 cat <<_LT_EOF >> conftest.$ac_ext
7565
7566 /* The mapping between symbol names and symbols. */
7567 const struct {
7568 const char *name;
7569 void *address;
7570 }
7571 lt__PROGRAM__LTX_preloaded_symbols[] =
7572 {
7573 { "@PROGRAM@", (void *) 0 },
7574 _LT_EOF
7575 $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
7576 cat <<\_LT_EOF >> conftest.$ac_ext
7577 {0, (void *) 0}
7578 };
7579
7580 /* This works around a problem in FreeBSD linker */
7581 #ifdef FREEBSD_WORKAROUND
7582 static const void *lt_preloaded_setup() {
7583 return lt__PROGRAM__LTX_preloaded_symbols;
7584 }
7585 #endif
7586
7587 #ifdef __cplusplus
7588 }
7589 #endif
7590 _LT_EOF
7591 # Now try linking the two files.
7592 mv conftest.$ac_objext conftstm.$ac_objext
7593 lt_save_LIBS="$LIBS"
7594 lt_save_CFLAGS="$CFLAGS"
7595 LIBS="conftstm.$ac_objext"
7596 CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
7597 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
7598 (eval $ac_link) 2>&5
7599 ac_status=$?
7600 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7601 test $ac_status = 0; } && test -s conftest${ac_exeext}; then
7602 pipe_works=yes
7603 fi
7604 LIBS="$lt_save_LIBS"
7605 CFLAGS="$lt_save_CFLAGS"
7606 else
7607 echo "cannot find nm_test_func in $nlist" >&5
7608 fi
7609 else
7610 echo "cannot find nm_test_var in $nlist" >&5
7611 fi
7612 else
7613 echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
7614 fi
7615 else
7616 echo "$progname: failed program was:" >&5
7617 cat conftest.$ac_ext >&5
7618 fi
7619 rm -rf conftest* conftst*
7620
7621 # Do not use the global_symbol_pipe unless it works.
7622 if test "$pipe_works" = yes; then
7623 break
7624 else
7625 lt_cv_sys_global_symbol_pipe=
7626 fi
7627 done
7628
7629 fi
7630
7631 if test -z "$lt_cv_sys_global_symbol_pipe"; then
7632 lt_cv_sys_global_symbol_to_cdecl=
7633 fi
7634 if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
7635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: failed" >&5
7636 $as_echo "failed" >&6; }
7637 else
7638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ok" >&5
7639 $as_echo "ok" >&6; }
7640 fi
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663 # Check whether --enable-libtool-lock was given.
7664 if test "${enable_libtool_lock+set}" = set; then :
7665 enableval=$enable_libtool_lock;
7666 fi
7667
7668 test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
7669
7670 # Some flags need to be propagated to the compiler or linker for good
7671 # libtool support.
7672 case $host in
7673 ia64-*-hpux*)
7674 # Find out which ABI we are using.
7675 echo 'int i;' > conftest.$ac_ext
7676 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7677 (eval $ac_compile) 2>&5
7678 ac_status=$?
7679 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7680 test $ac_status = 0; }; then
7681 case `/usr/bin/file conftest.$ac_objext` in
7682 *ELF-32*)
7683 HPUX_IA64_MODE="32"
7684 ;;
7685 *ELF-64*)
7686 HPUX_IA64_MODE="64"
7687 ;;
7688 esac
7689 fi
7690 rm -rf conftest*
7691 ;;
7692 *-*-irix6*)
7693 # Find out which ABI we are using.
7694 echo '#line '$LINENO' "configure"' > conftest.$ac_ext
7695 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7696 (eval $ac_compile) 2>&5
7697 ac_status=$?
7698 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7699 test $ac_status = 0; }; then
7700 if test "$lt_cv_prog_gnu_ld" = yes; then
7701 case `/usr/bin/file conftest.$ac_objext` in
7702 *32-bit*)
7703 LD="${LD-ld} -melf32bsmip"
7704 ;;
7705 *N32*)
7706 LD="${LD-ld} -melf32bmipn32"
7707 ;;
7708 *64-bit*)
7709 LD="${LD-ld} -melf64bmip"
7710 ;;
7711 esac
7712 else
7713 case `/usr/bin/file conftest.$ac_objext` in
7714 *32-bit*)
7715 LD="${LD-ld} -32"
7716 ;;
7717 *N32*)
7718 LD="${LD-ld} -n32"
7719 ;;
7720 *64-bit*)
7721 LD="${LD-ld} -64"
7722 ;;
7723 esac
7724 fi
7725 fi
7726 rm -rf conftest*
7727 ;;
7728
7729 x86_64-*kfreebsd*-gnu|x86_64-*linux*|powerpc*-*linux*| \
7730 s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
7731 # Find out which ABI we are using.
7732 echo 'int i;' > conftest.$ac_ext
7733 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7734 (eval $ac_compile) 2>&5
7735 ac_status=$?
7736 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7737 test $ac_status = 0; }; then
7738 case `/usr/bin/file conftest.o` in
7739 *32-bit*)
7740 case $host in
7741 x86_64-*kfreebsd*-gnu)
7742 LD="${LD-ld} -m elf_i386_fbsd"
7743 ;;
7744 x86_64-*linux*)
7745 case `/usr/bin/file conftest.o` in
7746 *x86-64*)
7747 LD="${LD-ld} -m elf32_x86_64"
7748 ;;
7749 *)
7750 LD="${LD-ld} -m elf_i386"
7751 ;;
7752 esac
7753 ;;
7754 powerpc64le-*linux*)
7755 LD="${LD-ld} -m elf32lppclinux"
7756 ;;
7757 powerpc64-*linux*)
7758 LD="${LD-ld} -m elf32ppclinux"
7759 ;;
7760 s390x-*linux*)
7761 LD="${LD-ld} -m elf_s390"
7762 ;;
7763 sparc64-*linux*)
7764 LD="${LD-ld} -m elf32_sparc"
7765 ;;
7766 esac
7767 ;;
7768 *64-bit*)
7769 case $host in
7770 x86_64-*kfreebsd*-gnu)
7771 LD="${LD-ld} -m elf_x86_64_fbsd"
7772 ;;
7773 x86_64-*linux*)
7774 LD="${LD-ld} -m elf_x86_64"
7775 ;;
7776 powerpcle-*linux*)
7777 LD="${LD-ld} -m elf64lppc"
7778 ;;
7779 powerpc-*linux*)
7780 LD="${LD-ld} -m elf64ppc"
7781 ;;
7782 s390*-*linux*|s390*-*tpf*)
7783 LD="${LD-ld} -m elf64_s390"
7784 ;;
7785 sparc*-*linux*)
7786 LD="${LD-ld} -m elf64_sparc"
7787 ;;
7788 esac
7789 ;;
7790 esac
7791 fi
7792 rm -rf conftest*
7793 ;;
7794
7795 *-*-sco3.2v5*)
7796 # On SCO OpenServer 5, we need -belf to get full-featured binaries.
7797 SAVE_CFLAGS="$CFLAGS"
7798 CFLAGS="$CFLAGS -belf"
7799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler needs -belf" >&5
7800 $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
7801 if ${lt_cv_cc_needs_belf+:} false; then :
7802 $as_echo_n "(cached) " >&6
7803 else
7804 ac_ext=c
7805 ac_cpp='$CPP $CPPFLAGS'
7806 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7807 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7808 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7809
7810 if test x$gcc_no_link = xyes; then
7811 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
7812 fi
7813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7814 /* end confdefs.h. */
7815
7816 int
7817 main ()
7818 {
7819
7820 ;
7821 return 0;
7822 }
7823 _ACEOF
7824 if ac_fn_c_try_link "$LINENO"; then :
7825 lt_cv_cc_needs_belf=yes
7826 else
7827 lt_cv_cc_needs_belf=no
7828 fi
7829 rm -f core conftest.err conftest.$ac_objext \
7830 conftest$ac_exeext conftest.$ac_ext
7831 ac_ext=c
7832 ac_cpp='$CPP $CPPFLAGS'
7833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7836
7837 fi
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_cc_needs_belf" >&5
7839 $as_echo "$lt_cv_cc_needs_belf" >&6; }
7840 if test x"$lt_cv_cc_needs_belf" != x"yes"; then
7841 # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
7842 CFLAGS="$SAVE_CFLAGS"
7843 fi
7844 ;;
7845 sparc*-*solaris*)
7846 # Find out which ABI we are using.
7847 echo 'int i;' > conftest.$ac_ext
7848 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
7849 (eval $ac_compile) 2>&5
7850 ac_status=$?
7851 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
7852 test $ac_status = 0; }; then
7853 case `/usr/bin/file conftest.o` in
7854 *64-bit*)
7855 case $lt_cv_prog_gnu_ld in
7856 yes*) LD="${LD-ld} -m elf64_sparc" ;;
7857 *)
7858 if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
7859 LD="${LD-ld} -64"
7860 fi
7861 ;;
7862 esac
7863 ;;
7864 esac
7865 fi
7866 rm -rf conftest*
7867 ;;
7868 esac
7869
7870 need_locks="$enable_libtool_lock"
7871
7872
7873 case $host_os in
7874 rhapsody* | darwin*)
7875 if test -n "$ac_tool_prefix"; then
7876 # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
7877 set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7879 $as_echo_n "checking for $ac_word... " >&6; }
7880 if ${ac_cv_prog_DSYMUTIL+:} false; then :
7881 $as_echo_n "(cached) " >&6
7882 else
7883 if test -n "$DSYMUTIL"; then
7884 ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
7885 else
7886 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7887 for as_dir in $PATH
7888 do
7889 IFS=$as_save_IFS
7890 test -z "$as_dir" && as_dir=.
7891 for ac_exec_ext in '' $ac_executable_extensions; do
7892 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7893 ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
7894 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7895 break 2
7896 fi
7897 done
7898 done
7899 IFS=$as_save_IFS
7900
7901 fi
7902 fi
7903 DSYMUTIL=$ac_cv_prog_DSYMUTIL
7904 if test -n "$DSYMUTIL"; then
7905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DSYMUTIL" >&5
7906 $as_echo "$DSYMUTIL" >&6; }
7907 else
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7909 $as_echo "no" >&6; }
7910 fi
7911
7912
7913 fi
7914 if test -z "$ac_cv_prog_DSYMUTIL"; then
7915 ac_ct_DSYMUTIL=$DSYMUTIL
7916 # Extract the first word of "dsymutil", so it can be a program name with args.
7917 set dummy dsymutil; ac_word=$2
7918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7919 $as_echo_n "checking for $ac_word... " >&6; }
7920 if ${ac_cv_prog_ac_ct_DSYMUTIL+:} false; then :
7921 $as_echo_n "(cached) " >&6
7922 else
7923 if test -n "$ac_ct_DSYMUTIL"; then
7924 ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
7925 else
7926 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7927 for as_dir in $PATH
7928 do
7929 IFS=$as_save_IFS
7930 test -z "$as_dir" && as_dir=.
7931 for ac_exec_ext in '' $ac_executable_extensions; do
7932 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7933 ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
7934 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7935 break 2
7936 fi
7937 done
7938 done
7939 IFS=$as_save_IFS
7940
7941 fi
7942 fi
7943 ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
7944 if test -n "$ac_ct_DSYMUTIL"; then
7945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DSYMUTIL" >&5
7946 $as_echo "$ac_ct_DSYMUTIL" >&6; }
7947 else
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7949 $as_echo "no" >&6; }
7950 fi
7951
7952 if test "x$ac_ct_DSYMUTIL" = x; then
7953 DSYMUTIL=":"
7954 else
7955 case $cross_compiling:$ac_tool_warned in
7956 yes:)
7957 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7958 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7959 ac_tool_warned=yes ;;
7960 esac
7961 DSYMUTIL=$ac_ct_DSYMUTIL
7962 fi
7963 else
7964 DSYMUTIL="$ac_cv_prog_DSYMUTIL"
7965 fi
7966
7967 if test -n "$ac_tool_prefix"; then
7968 # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
7969 set dummy ${ac_tool_prefix}nmedit; ac_word=$2
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7971 $as_echo_n "checking for $ac_word... " >&6; }
7972 if ${ac_cv_prog_NMEDIT+:} false; then :
7973 $as_echo_n "(cached) " >&6
7974 else
7975 if test -n "$NMEDIT"; then
7976 ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
7977 else
7978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7979 for as_dir in $PATH
7980 do
7981 IFS=$as_save_IFS
7982 test -z "$as_dir" && as_dir=.
7983 for ac_exec_ext in '' $ac_executable_extensions; do
7984 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7985 ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
7986 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7987 break 2
7988 fi
7989 done
7990 done
7991 IFS=$as_save_IFS
7992
7993 fi
7994 fi
7995 NMEDIT=$ac_cv_prog_NMEDIT
7996 if test -n "$NMEDIT"; then
7997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NMEDIT" >&5
7998 $as_echo "$NMEDIT" >&6; }
7999 else
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8001 $as_echo "no" >&6; }
8002 fi
8003
8004
8005 fi
8006 if test -z "$ac_cv_prog_NMEDIT"; then
8007 ac_ct_NMEDIT=$NMEDIT
8008 # Extract the first word of "nmedit", so it can be a program name with args.
8009 set dummy nmedit; ac_word=$2
8010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8011 $as_echo_n "checking for $ac_word... " >&6; }
8012 if ${ac_cv_prog_ac_ct_NMEDIT+:} false; then :
8013 $as_echo_n "(cached) " >&6
8014 else
8015 if test -n "$ac_ct_NMEDIT"; then
8016 ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
8017 else
8018 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8019 for as_dir in $PATH
8020 do
8021 IFS=$as_save_IFS
8022 test -z "$as_dir" && as_dir=.
8023 for ac_exec_ext in '' $ac_executable_extensions; do
8024 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8025 ac_cv_prog_ac_ct_NMEDIT="nmedit"
8026 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8027 break 2
8028 fi
8029 done
8030 done
8031 IFS=$as_save_IFS
8032
8033 fi
8034 fi
8035 ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
8036 if test -n "$ac_ct_NMEDIT"; then
8037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NMEDIT" >&5
8038 $as_echo "$ac_ct_NMEDIT" >&6; }
8039 else
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8041 $as_echo "no" >&6; }
8042 fi
8043
8044 if test "x$ac_ct_NMEDIT" = x; then
8045 NMEDIT=":"
8046 else
8047 case $cross_compiling:$ac_tool_warned in
8048 yes:)
8049 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8050 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8051 ac_tool_warned=yes ;;
8052 esac
8053 NMEDIT=$ac_ct_NMEDIT
8054 fi
8055 else
8056 NMEDIT="$ac_cv_prog_NMEDIT"
8057 fi
8058
8059 if test -n "$ac_tool_prefix"; then
8060 # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
8061 set dummy ${ac_tool_prefix}lipo; ac_word=$2
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8063 $as_echo_n "checking for $ac_word... " >&6; }
8064 if ${ac_cv_prog_LIPO+:} false; then :
8065 $as_echo_n "(cached) " >&6
8066 else
8067 if test -n "$LIPO"; then
8068 ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
8069 else
8070 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8071 for as_dir in $PATH
8072 do
8073 IFS=$as_save_IFS
8074 test -z "$as_dir" && as_dir=.
8075 for ac_exec_ext in '' $ac_executable_extensions; do
8076 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8077 ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
8078 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8079 break 2
8080 fi
8081 done
8082 done
8083 IFS=$as_save_IFS
8084
8085 fi
8086 fi
8087 LIPO=$ac_cv_prog_LIPO
8088 if test -n "$LIPO"; then
8089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIPO" >&5
8090 $as_echo "$LIPO" >&6; }
8091 else
8092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8093 $as_echo "no" >&6; }
8094 fi
8095
8096
8097 fi
8098 if test -z "$ac_cv_prog_LIPO"; then
8099 ac_ct_LIPO=$LIPO
8100 # Extract the first word of "lipo", so it can be a program name with args.
8101 set dummy lipo; ac_word=$2
8102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8103 $as_echo_n "checking for $ac_word... " >&6; }
8104 if ${ac_cv_prog_ac_ct_LIPO+:} false; then :
8105 $as_echo_n "(cached) " >&6
8106 else
8107 if test -n "$ac_ct_LIPO"; then
8108 ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
8109 else
8110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8111 for as_dir in $PATH
8112 do
8113 IFS=$as_save_IFS
8114 test -z "$as_dir" && as_dir=.
8115 for ac_exec_ext in '' $ac_executable_extensions; do
8116 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8117 ac_cv_prog_ac_ct_LIPO="lipo"
8118 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8119 break 2
8120 fi
8121 done
8122 done
8123 IFS=$as_save_IFS
8124
8125 fi
8126 fi
8127 ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
8128 if test -n "$ac_ct_LIPO"; then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LIPO" >&5
8130 $as_echo "$ac_ct_LIPO" >&6; }
8131 else
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8133 $as_echo "no" >&6; }
8134 fi
8135
8136 if test "x$ac_ct_LIPO" = x; then
8137 LIPO=":"
8138 else
8139 case $cross_compiling:$ac_tool_warned in
8140 yes:)
8141 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8142 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8143 ac_tool_warned=yes ;;
8144 esac
8145 LIPO=$ac_ct_LIPO
8146 fi
8147 else
8148 LIPO="$ac_cv_prog_LIPO"
8149 fi
8150
8151 if test -n "$ac_tool_prefix"; then
8152 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
8153 set dummy ${ac_tool_prefix}otool; ac_word=$2
8154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8155 $as_echo_n "checking for $ac_word... " >&6; }
8156 if ${ac_cv_prog_OTOOL+:} false; then :
8157 $as_echo_n "(cached) " >&6
8158 else
8159 if test -n "$OTOOL"; then
8160 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
8161 else
8162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8163 for as_dir in $PATH
8164 do
8165 IFS=$as_save_IFS
8166 test -z "$as_dir" && as_dir=.
8167 for ac_exec_ext in '' $ac_executable_extensions; do
8168 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8169 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
8170 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8171 break 2
8172 fi
8173 done
8174 done
8175 IFS=$as_save_IFS
8176
8177 fi
8178 fi
8179 OTOOL=$ac_cv_prog_OTOOL
8180 if test -n "$OTOOL"; then
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
8182 $as_echo "$OTOOL" >&6; }
8183 else
8184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8185 $as_echo "no" >&6; }
8186 fi
8187
8188
8189 fi
8190 if test -z "$ac_cv_prog_OTOOL"; then
8191 ac_ct_OTOOL=$OTOOL
8192 # Extract the first word of "otool", so it can be a program name with args.
8193 set dummy otool; ac_word=$2
8194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8195 $as_echo_n "checking for $ac_word... " >&6; }
8196 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
8197 $as_echo_n "(cached) " >&6
8198 else
8199 if test -n "$ac_ct_OTOOL"; then
8200 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
8201 else
8202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8203 for as_dir in $PATH
8204 do
8205 IFS=$as_save_IFS
8206 test -z "$as_dir" && as_dir=.
8207 for ac_exec_ext in '' $ac_executable_extensions; do
8208 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8209 ac_cv_prog_ac_ct_OTOOL="otool"
8210 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8211 break 2
8212 fi
8213 done
8214 done
8215 IFS=$as_save_IFS
8216
8217 fi
8218 fi
8219 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
8220 if test -n "$ac_ct_OTOOL"; then
8221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
8222 $as_echo "$ac_ct_OTOOL" >&6; }
8223 else
8224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8225 $as_echo "no" >&6; }
8226 fi
8227
8228 if test "x$ac_ct_OTOOL" = x; then
8229 OTOOL=":"
8230 else
8231 case $cross_compiling:$ac_tool_warned in
8232 yes:)
8233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8234 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8235 ac_tool_warned=yes ;;
8236 esac
8237 OTOOL=$ac_ct_OTOOL
8238 fi
8239 else
8240 OTOOL="$ac_cv_prog_OTOOL"
8241 fi
8242
8243 if test -n "$ac_tool_prefix"; then
8244 # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
8245 set dummy ${ac_tool_prefix}otool64; ac_word=$2
8246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8247 $as_echo_n "checking for $ac_word... " >&6; }
8248 if ${ac_cv_prog_OTOOL64+:} false; then :
8249 $as_echo_n "(cached) " >&6
8250 else
8251 if test -n "$OTOOL64"; then
8252 ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
8253 else
8254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8255 for as_dir in $PATH
8256 do
8257 IFS=$as_save_IFS
8258 test -z "$as_dir" && as_dir=.
8259 for ac_exec_ext in '' $ac_executable_extensions; do
8260 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8261 ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
8262 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8263 break 2
8264 fi
8265 done
8266 done
8267 IFS=$as_save_IFS
8268
8269 fi
8270 fi
8271 OTOOL64=$ac_cv_prog_OTOOL64
8272 if test -n "$OTOOL64"; then
8273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL64" >&5
8274 $as_echo "$OTOOL64" >&6; }
8275 else
8276 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8277 $as_echo "no" >&6; }
8278 fi
8279
8280
8281 fi
8282 if test -z "$ac_cv_prog_OTOOL64"; then
8283 ac_ct_OTOOL64=$OTOOL64
8284 # Extract the first word of "otool64", so it can be a program name with args.
8285 set dummy otool64; ac_word=$2
8286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8287 $as_echo_n "checking for $ac_word... " >&6; }
8288 if ${ac_cv_prog_ac_ct_OTOOL64+:} false; then :
8289 $as_echo_n "(cached) " >&6
8290 else
8291 if test -n "$ac_ct_OTOOL64"; then
8292 ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
8293 else
8294 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8295 for as_dir in $PATH
8296 do
8297 IFS=$as_save_IFS
8298 test -z "$as_dir" && as_dir=.
8299 for ac_exec_ext in '' $ac_executable_extensions; do
8300 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8301 ac_cv_prog_ac_ct_OTOOL64="otool64"
8302 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8303 break 2
8304 fi
8305 done
8306 done
8307 IFS=$as_save_IFS
8308
8309 fi
8310 fi
8311 ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
8312 if test -n "$ac_ct_OTOOL64"; then
8313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL64" >&5
8314 $as_echo "$ac_ct_OTOOL64" >&6; }
8315 else
8316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8317 $as_echo "no" >&6; }
8318 fi
8319
8320 if test "x$ac_ct_OTOOL64" = x; then
8321 OTOOL64=":"
8322 else
8323 case $cross_compiling:$ac_tool_warned in
8324 yes:)
8325 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8326 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8327 ac_tool_warned=yes ;;
8328 esac
8329 OTOOL64=$ac_ct_OTOOL64
8330 fi
8331 else
8332 OTOOL64="$ac_cv_prog_OTOOL64"
8333 fi
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -single_module linker flag" >&5
8362 $as_echo_n "checking for -single_module linker flag... " >&6; }
8363 if ${lt_cv_apple_cc_single_mod+:} false; then :
8364 $as_echo_n "(cached) " >&6
8365 else
8366 lt_cv_apple_cc_single_mod=no
8367 if test -z "${LT_MULTI_MODULE}"; then
8368 # By default we will add the -single_module flag. You can override
8369 # by either setting the environment variable LT_MULTI_MODULE
8370 # non-empty at configure time, or by adding -multi_module to the
8371 # link flags.
8372 rm -rf libconftest.dylib*
8373 echo "int foo(void){return 1;}" > conftest.c
8374 echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8375 -dynamiclib -Wl,-single_module conftest.c" >&5
8376 $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
8377 -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
8378 _lt_result=$?
8379 if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
8380 lt_cv_apple_cc_single_mod=yes
8381 else
8382 cat conftest.err >&5
8383 fi
8384 rm -rf libconftest.dylib*
8385 rm -f conftest.*
8386 fi
8387 fi
8388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_apple_cc_single_mod" >&5
8389 $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -exported_symbols_list linker flag" >&5
8391 $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
8392 if ${lt_cv_ld_exported_symbols_list+:} false; then :
8393 $as_echo_n "(cached) " >&6
8394 else
8395 lt_cv_ld_exported_symbols_list=no
8396 save_LDFLAGS=$LDFLAGS
8397 echo "_main" > conftest.sym
8398 LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
8399 if test x$gcc_no_link = xyes; then
8400 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
8401 fi
8402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8403 /* end confdefs.h. */
8404
8405 int
8406 main ()
8407 {
8408
8409 ;
8410 return 0;
8411 }
8412 _ACEOF
8413 if ac_fn_c_try_link "$LINENO"; then :
8414 lt_cv_ld_exported_symbols_list=yes
8415 else
8416 lt_cv_ld_exported_symbols_list=no
8417 fi
8418 rm -f core conftest.err conftest.$ac_objext \
8419 conftest$ac_exeext conftest.$ac_ext
8420 LDFLAGS="$save_LDFLAGS"
8421
8422 fi
8423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_exported_symbols_list" >&5
8424 $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
8425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -force_load linker flag" >&5
8426 $as_echo_n "checking for -force_load linker flag... " >&6; }
8427 if ${lt_cv_ld_force_load+:} false; then :
8428 $as_echo_n "(cached) " >&6
8429 else
8430 lt_cv_ld_force_load=no
8431 cat > conftest.c << _LT_EOF
8432 int forced_loaded() { return 2;}
8433 _LT_EOF
8434 echo "$LTCC $LTCFLAGS -c -o conftest.o conftest.c" >&5
8435 $LTCC $LTCFLAGS -c -o conftest.o conftest.c 2>&5
8436 echo "$AR cru libconftest.a conftest.o" >&5
8437 $AR cru libconftest.a conftest.o 2>&5
8438 cat > conftest.c << _LT_EOF
8439 int main() { return 0;}
8440 _LT_EOF
8441 echo "$LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a" >&5
8442 $LTCC $LTCFLAGS $LDFLAGS -o conftest conftest.c -Wl,-force_load,./libconftest.a 2>conftest.err
8443 _lt_result=$?
8444 if test -f conftest && test ! -s conftest.err && test $_lt_result = 0 && $GREP forced_load conftest 2>&1 >/dev/null; then
8445 lt_cv_ld_force_load=yes
8446 else
8447 cat conftest.err >&5
8448 fi
8449 rm -f conftest.err libconftest.a conftest conftest.c
8450 rm -rf conftest.dSYM
8451
8452 fi
8453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_ld_force_load" >&5
8454 $as_echo "$lt_cv_ld_force_load" >&6; }
8455 # Allow for Darwin 4-7 (macOS 10.0-10.3) although these are not expect to
8456 # build without first building modern cctools / linker.
8457 case $host_cpu-$host_os in
8458 *-rhapsody* | *-darwin1.[012])
8459 _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
8460 *-darwin1.*)
8461 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
8462 *-darwin*)
8463 # darwin 5.x (macOS 10.1) onwards we only need to adjust when the
8464 # deployment target is forced to an earlier version.
8465 case ${MACOSX_DEPLOYMENT_TARGET-UNSET},$host in
8466 UNSET,*-darwin[89]*|UNSET,*-darwin[12][0123456789]*)
8467 ;;
8468 10.[012][,.]*)
8469 _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
8470 ;;
8471 *)
8472 ;;
8473 esac
8474 ;;
8475 esac
8476 if test "$lt_cv_apple_cc_single_mod" = "yes"; then
8477 _lt_dar_single_mod='$single_module'
8478 fi
8479 if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
8480 _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
8481 else
8482 _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
8483 fi
8484 if test "$DSYMUTIL" != ":" && test "$lt_cv_ld_force_load" = "no"; then
8485 _lt_dsymutil='~$DSYMUTIL $lib || :'
8486 else
8487 _lt_dsymutil=
8488 fi
8489 ;;
8490 esac
8491
8492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
8493 $as_echo_n "checking for ANSI C header files... " >&6; }
8494 if ${ac_cv_header_stdc+:} false; then :
8495 $as_echo_n "(cached) " >&6
8496 else
8497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8498 /* end confdefs.h. */
8499 #include <stdlib.h>
8500 #include <stdarg.h>
8501 #include <string.h>
8502 #include <float.h>
8503
8504 int
8505 main ()
8506 {
8507
8508 ;
8509 return 0;
8510 }
8511 _ACEOF
8512 if ac_fn_c_try_compile "$LINENO"; then :
8513 ac_cv_header_stdc=yes
8514 else
8515 ac_cv_header_stdc=no
8516 fi
8517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8518
8519 if test $ac_cv_header_stdc = yes; then
8520 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
8521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8522 /* end confdefs.h. */
8523 #include <string.h>
8524
8525 _ACEOF
8526 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8527 $EGREP "memchr" >/dev/null 2>&1; then :
8528
8529 else
8530 ac_cv_header_stdc=no
8531 fi
8532 rm -f conftest*
8533
8534 fi
8535
8536 if test $ac_cv_header_stdc = yes; then
8537 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
8538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8539 /* end confdefs.h. */
8540 #include <stdlib.h>
8541
8542 _ACEOF
8543 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
8544 $EGREP "free" >/dev/null 2>&1; then :
8545
8546 else
8547 ac_cv_header_stdc=no
8548 fi
8549 rm -f conftest*
8550
8551 fi
8552
8553 if test $ac_cv_header_stdc = yes; then
8554 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
8555 if test "$cross_compiling" = yes; then :
8556 :
8557 else
8558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8559 /* end confdefs.h. */
8560 #include <ctype.h>
8561 #include <stdlib.h>
8562 #if ((' ' & 0x0FF) == 0x020)
8563 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
8564 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
8565 #else
8566 # define ISLOWER(c) \
8567 (('a' <= (c) && (c) <= 'i') \
8568 || ('j' <= (c) && (c) <= 'r') \
8569 || ('s' <= (c) && (c) <= 'z'))
8570 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
8571 #endif
8572
8573 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
8574 int
8575 main ()
8576 {
8577 int i;
8578 for (i = 0; i < 256; i++)
8579 if (XOR (islower (i), ISLOWER (i))
8580 || toupper (i) != TOUPPER (i))
8581 return 2;
8582 return 0;
8583 }
8584 _ACEOF
8585 if ac_fn_c_try_run "$LINENO"; then :
8586
8587 else
8588 ac_cv_header_stdc=no
8589 fi
8590 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8591 conftest.$ac_objext conftest.beam conftest.$ac_ext
8592 fi
8593
8594 fi
8595 fi
8596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
8597 $as_echo "$ac_cv_header_stdc" >&6; }
8598 if test $ac_cv_header_stdc = yes; then
8599
8600 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
8601
8602 fi
8603
8604 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
8605 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
8606 inttypes.h stdint.h unistd.h
8607 do :
8608 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
8609 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
8610 "
8611 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
8612 cat >>confdefs.h <<_ACEOF
8613 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
8614 _ACEOF
8615
8616 fi
8617
8618 done
8619
8620
8621 for ac_header in dlfcn.h
8622 do :
8623 ac_fn_c_check_header_compile "$LINENO" "dlfcn.h" "ac_cv_header_dlfcn_h" "$ac_includes_default
8624 "
8625 if test "x$ac_cv_header_dlfcn_h" = xyes; then :
8626 cat >>confdefs.h <<_ACEOF
8627 #define HAVE_DLFCN_H 1
8628 _ACEOF
8629
8630 fi
8631
8632 done
8633
8634
8635
8636
8637
8638
8639 # Set options
8640
8641
8642
8643
8644 enable_win32_dll=no
8645
8646
8647 # Check whether --enable-shared was given.
8648 if test "${enable_shared+set}" = set; then :
8649 enableval=$enable_shared; p=${PACKAGE-default}
8650 case $enableval in
8651 yes) enable_shared=yes ;;
8652 no) enable_shared=no ;;
8653 *)
8654 enable_shared=no
8655 # Look at the argument we got. We use all the common list separators.
8656 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8657 for pkg in $enableval; do
8658 IFS="$lt_save_ifs"
8659 if test "X$pkg" = "X$p"; then
8660 enable_shared=yes
8661 fi
8662 done
8663 IFS="$lt_save_ifs"
8664 ;;
8665 esac
8666 else
8667 enable_shared=yes
8668 fi
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678 # Check whether --enable-static was given.
8679 if test "${enable_static+set}" = set; then :
8680 enableval=$enable_static; p=${PACKAGE-default}
8681 case $enableval in
8682 yes) enable_static=yes ;;
8683 no) enable_static=no ;;
8684 *)
8685 enable_static=no
8686 # Look at the argument we got. We use all the common list separators.
8687 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8688 for pkg in $enableval; do
8689 IFS="$lt_save_ifs"
8690 if test "X$pkg" = "X$p"; then
8691 enable_static=yes
8692 fi
8693 done
8694 IFS="$lt_save_ifs"
8695 ;;
8696 esac
8697 else
8698 enable_static=yes
8699 fi
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710 # Check whether --with-pic was given.
8711 if test "${with_pic+set}" = set; then :
8712 withval=$with_pic; pic_mode="$withval"
8713 else
8714 pic_mode=default
8715 fi
8716
8717
8718 test -z "$pic_mode" && pic_mode=default
8719
8720
8721
8722
8723
8724
8725
8726 # Check whether --enable-fast-install was given.
8727 if test "${enable_fast_install+set}" = set; then :
8728 enableval=$enable_fast_install; p=${PACKAGE-default}
8729 case $enableval in
8730 yes) enable_fast_install=yes ;;
8731 no) enable_fast_install=no ;;
8732 *)
8733 enable_fast_install=no
8734 # Look at the argument we got. We use all the common list separators.
8735 lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
8736 for pkg in $enableval; do
8737 IFS="$lt_save_ifs"
8738 if test "X$pkg" = "X$p"; then
8739 enable_fast_install=yes
8740 fi
8741 done
8742 IFS="$lt_save_ifs"
8743 ;;
8744 esac
8745 else
8746 enable_fast_install=yes
8747 fi
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759 # This can be used to rebuild libtool when needed
8760 LIBTOOL_DEPS="$ltmain"
8761
8762 # Always use our own libtool.
8763 LIBTOOL='$(SHELL) $(top_builddir)/libtool'
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790 test -z "$LN_S" && LN_S="ln -s"
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805 if test -n "${ZSH_VERSION+set}" ; then
8806 setopt NO_GLOB_SUBST
8807 fi
8808
8809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for objdir" >&5
8810 $as_echo_n "checking for objdir... " >&6; }
8811 if ${lt_cv_objdir+:} false; then :
8812 $as_echo_n "(cached) " >&6
8813 else
8814 rm -f .libs 2>/dev/null
8815 mkdir .libs 2>/dev/null
8816 if test -d .libs; then
8817 lt_cv_objdir=.libs
8818 else
8819 # MS-DOS does not allow filenames that begin with a dot.
8820 lt_cv_objdir=_libs
8821 fi
8822 rmdir .libs 2>/dev/null
8823 fi
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_objdir" >&5
8825 $as_echo "$lt_cv_objdir" >&6; }
8826 objdir=$lt_cv_objdir
8827
8828
8829
8830
8831
8832 cat >>confdefs.h <<_ACEOF
8833 #define LT_OBJDIR "$lt_cv_objdir/"
8834 _ACEOF
8835
8836
8837
8838
8839 case $host_os in
8840 aix3*)
8841 # AIX sometimes has problems with the GCC collect2 program. For some
8842 # reason, if we set the COLLECT_NAMES environment variable, the problems
8843 # vanish in a puff of smoke.
8844 if test "X${COLLECT_NAMES+set}" != Xset; then
8845 COLLECT_NAMES=
8846 export COLLECT_NAMES
8847 fi
8848 ;;
8849 esac
8850
8851 # Global variables:
8852 ofile=libtool
8853 can_build_shared=yes
8854
8855 # All known linkers require a `.a' archive for static linking (except MSVC,
8856 # which needs '.lib').
8857 libext=a
8858
8859 with_gnu_ld="$lt_cv_prog_gnu_ld"
8860
8861 old_CC="$CC"
8862 old_CFLAGS="$CFLAGS"
8863
8864 # Set sane defaults for various variables
8865 test -z "$CC" && CC=cc
8866 test -z "$LTCC" && LTCC=$CC
8867 test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
8868 test -z "$LD" && LD=ld
8869 test -z "$ac_objext" && ac_objext=o
8870
8871 for cc_temp in $compiler""; do
8872 case $cc_temp in
8873 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
8874 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
8875 \-*) ;;
8876 *) break;;
8877 esac
8878 done
8879 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
8880
8881
8882 # Only perform the check for file, if the check method requires it
8883 test -z "$MAGIC_CMD" && MAGIC_CMD=file
8884 case $deplibs_check_method in
8885 file_magic*)
8886 if test "$file_magic_cmd" = '$MAGIC_CMD'; then
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ${ac_tool_prefix}file" >&5
8888 $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
8889 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8890 $as_echo_n "(cached) " >&6
8891 else
8892 case $MAGIC_CMD in
8893 [\\/*] | ?:[\\/]*)
8894 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8895 ;;
8896 *)
8897 lt_save_MAGIC_CMD="$MAGIC_CMD"
8898 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8899 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8900 for ac_dir in $ac_dummy; do
8901 IFS="$lt_save_ifs"
8902 test -z "$ac_dir" && ac_dir=.
8903 if test -f $ac_dir/${ac_tool_prefix}file; then
8904 lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
8905 if test -n "$file_magic_test_file"; then
8906 case $deplibs_check_method in
8907 "file_magic "*)
8908 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8909 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8910 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8911 $EGREP "$file_magic_regex" > /dev/null; then
8912 :
8913 else
8914 cat <<_LT_EOF 1>&2
8915
8916 *** Warning: the command libtool uses to detect shared libraries,
8917 *** $file_magic_cmd, produces output that libtool cannot recognize.
8918 *** The result is that libtool may fail to recognize shared libraries
8919 *** as such. This will affect the creation of libtool libraries that
8920 *** depend on shared libraries, but programs linked with such libtool
8921 *** libraries will work regardless of this problem. Nevertheless, you
8922 *** may want to report the problem to your system manager and/or to
8923 *** bug-libtool@gnu.org
8924
8925 _LT_EOF
8926 fi ;;
8927 esac
8928 fi
8929 break
8930 fi
8931 done
8932 IFS="$lt_save_ifs"
8933 MAGIC_CMD="$lt_save_MAGIC_CMD"
8934 ;;
8935 esac
8936 fi
8937
8938 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8939 if test -n "$MAGIC_CMD"; then
8940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
8941 $as_echo "$MAGIC_CMD" >&6; }
8942 else
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8944 $as_echo "no" >&6; }
8945 fi
8946
8947
8948
8949
8950
8951 if test -z "$lt_cv_path_MAGIC_CMD"; then
8952 if test -n "$ac_tool_prefix"; then
8953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for file" >&5
8954 $as_echo_n "checking for file... " >&6; }
8955 if ${lt_cv_path_MAGIC_CMD+:} false; then :
8956 $as_echo_n "(cached) " >&6
8957 else
8958 case $MAGIC_CMD in
8959 [\\/*] | ?:[\\/]*)
8960 lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
8961 ;;
8962 *)
8963 lt_save_MAGIC_CMD="$MAGIC_CMD"
8964 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
8965 ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
8966 for ac_dir in $ac_dummy; do
8967 IFS="$lt_save_ifs"
8968 test -z "$ac_dir" && ac_dir=.
8969 if test -f $ac_dir/file; then
8970 lt_cv_path_MAGIC_CMD="$ac_dir/file"
8971 if test -n "$file_magic_test_file"; then
8972 case $deplibs_check_method in
8973 "file_magic "*)
8974 file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
8975 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
8976 if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
8977 $EGREP "$file_magic_regex" > /dev/null; then
8978 :
8979 else
8980 cat <<_LT_EOF 1>&2
8981
8982 *** Warning: the command libtool uses to detect shared libraries,
8983 *** $file_magic_cmd, produces output that libtool cannot recognize.
8984 *** The result is that libtool may fail to recognize shared libraries
8985 *** as such. This will affect the creation of libtool libraries that
8986 *** depend on shared libraries, but programs linked with such libtool
8987 *** libraries will work regardless of this problem. Nevertheless, you
8988 *** may want to report the problem to your system manager and/or to
8989 *** bug-libtool@gnu.org
8990
8991 _LT_EOF
8992 fi ;;
8993 esac
8994 fi
8995 break
8996 fi
8997 done
8998 IFS="$lt_save_ifs"
8999 MAGIC_CMD="$lt_save_MAGIC_CMD"
9000 ;;
9001 esac
9002 fi
9003
9004 MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
9005 if test -n "$MAGIC_CMD"; then
9006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAGIC_CMD" >&5
9007 $as_echo "$MAGIC_CMD" >&6; }
9008 else
9009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9010 $as_echo "no" >&6; }
9011 fi
9012
9013
9014 else
9015 MAGIC_CMD=:
9016 fi
9017 fi
9018
9019 fi
9020 ;;
9021 esac
9022
9023 # Use C for the default configuration in the libtool script
9024
9025 lt_save_CC="$CC"
9026 ac_ext=c
9027 ac_cpp='$CPP $CPPFLAGS'
9028 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9029 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9030 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9031
9032
9033 # Source file extension for C test sources.
9034 ac_ext=c
9035
9036 # Object file extension for compiled C test sources.
9037 objext=o
9038 objext=$objext
9039
9040 # Code to be used in simple compile tests
9041 lt_simple_compile_test_code="int some_variable = 0;"
9042
9043 # Code to be used in simple link tests
9044 lt_simple_link_test_code='int main(){return(0);}'
9045
9046
9047
9048
9049
9050
9051
9052 # If no C compiler was specified, use CC.
9053 LTCC=${LTCC-"$CC"}
9054
9055 # If no C compiler flags were specified, use CFLAGS.
9056 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
9057
9058 # Allow CC to be a program name with arguments.
9059 compiler=$CC
9060
9061 # Save the default compiler, since it gets overwritten when the other
9062 # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
9063 compiler_DEFAULT=$CC
9064
9065 # save warnings/boilerplate of simple test code
9066 ac_outfile=conftest.$ac_objext
9067 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
9068 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9069 _lt_compiler_boilerplate=`cat conftest.err`
9070 $RM conftest*
9071
9072 ac_outfile=conftest.$ac_objext
9073 echo "$lt_simple_link_test_code" >conftest.$ac_ext
9074 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
9075 _lt_linker_boilerplate=`cat conftest.err`
9076 $RM -r conftest*
9077
9078
9079 ## CAVEAT EMPTOR:
9080 ## There is no encapsulation within the following macros, do not change
9081 ## the running order or otherwise move them around unless you know exactly
9082 ## what you are doing...
9083 if test -n "$compiler"; then
9084
9085 lt_prog_compiler_no_builtin_flag=
9086
9087 if test "$GCC" = yes; then
9088 case $cc_basename in
9089 nvcc*)
9090 lt_prog_compiler_no_builtin_flag=' -Xcompiler -fno-builtin' ;;
9091 *)
9092 lt_prog_compiler_no_builtin_flag=' -fno-builtin' ;;
9093 esac
9094
9095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
9096 $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
9097 if ${lt_cv_prog_compiler_rtti_exceptions+:} false; then :
9098 $as_echo_n "(cached) " >&6
9099 else
9100 lt_cv_prog_compiler_rtti_exceptions=no
9101 ac_outfile=conftest.$ac_objext
9102 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9103 lt_compiler_flag="-fno-rtti -fno-exceptions"
9104 # Insert the option either (1) after the last *FLAGS variable, or
9105 # (2) before a word containing "conftest.", or (3) at the end.
9106 # Note that $ac_compile itself does not contain backslashes and begins
9107 # with a dollar sign (not a hyphen), so the echo should work correctly.
9108 # The option is referenced via a variable to avoid confusing sed.
9109 lt_compile=`echo "$ac_compile" | $SED \
9110 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9111 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9112 -e 's:$: $lt_compiler_flag:'`
9113 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9114 (eval "$lt_compile" 2>conftest.err)
9115 ac_status=$?
9116 cat conftest.err >&5
9117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9118 if (exit $ac_status) && test -s "$ac_outfile"; then
9119 # The compiler can only warn and ignore the option if not recognized
9120 # So say no if there are warnings other than the usual output.
9121 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9122 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9123 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9124 lt_cv_prog_compiler_rtti_exceptions=yes
9125 fi
9126 fi
9127 $RM conftest*
9128
9129 fi
9130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
9131 $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
9132
9133 if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
9134 lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
9135 else
9136 :
9137 fi
9138
9139 fi
9140
9141
9142
9143
9144
9145
9146 lt_prog_compiler_wl=
9147 lt_prog_compiler_pic=
9148 lt_prog_compiler_static=
9149
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
9151 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
9152
9153 if test "$GCC" = yes; then
9154 lt_prog_compiler_wl='-Wl,'
9155 lt_prog_compiler_static='-static'
9156
9157 case $host_os in
9158 aix*)
9159 # All AIX code is PIC.
9160 if test "$host_cpu" = ia64; then
9161 # AIX 5 now supports IA64 processor
9162 lt_prog_compiler_static='-Bstatic'
9163 fi
9164 lt_prog_compiler_pic='-fPIC'
9165 ;;
9166
9167 amigaos*)
9168 case $host_cpu in
9169 powerpc)
9170 # see comment about AmigaOS4 .so support
9171 lt_prog_compiler_pic='-fPIC'
9172 ;;
9173 m68k)
9174 # FIXME: we need at least 68020 code to build shared libraries, but
9175 # adding the `-m68020' flag to GCC prevents building anything better,
9176 # like `-m68040'.
9177 lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
9178 ;;
9179 esac
9180 ;;
9181
9182 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
9183 # PIC is the default for these OSes.
9184 ;;
9185
9186 mingw* | cygwin* | pw32* | os2* | cegcc*)
9187 # This hack is so that the source file can tell whether it is being
9188 # built for inclusion in a dll (and should export symbols for example).
9189 # Although the cygwin gcc ignores -fPIC, still need this for old-style
9190 # (--disable-auto-import) libraries
9191 lt_prog_compiler_pic='-DDLL_EXPORT'
9192 ;;
9193
9194 darwin* | rhapsody*)
9195 # PIC is the default on this platform
9196 # Common symbols not allowed in MH_DYLIB files
9197 lt_prog_compiler_pic='-fno-common'
9198 ;;
9199
9200 haiku*)
9201 # PIC is the default for Haiku.
9202 # The "-static" flag exists, but is broken.
9203 lt_prog_compiler_static=
9204 ;;
9205
9206 hpux*)
9207 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
9208 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
9209 # sets the default TLS model and affects inlining.
9210 case $host_cpu in
9211 hppa*64*)
9212 # +Z the default
9213 ;;
9214 *)
9215 lt_prog_compiler_pic='-fPIC'
9216 ;;
9217 esac
9218 ;;
9219
9220 interix[3-9]*)
9221 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
9222 # Instead, we relocate shared libraries at runtime.
9223 ;;
9224
9225 msdosdjgpp*)
9226 # Just because we use GCC doesn't mean we suddenly get shared libraries
9227 # on systems that don't support them.
9228 lt_prog_compiler_can_build_shared=no
9229 enable_shared=no
9230 ;;
9231
9232 *nto* | *qnx*)
9233 # QNX uses GNU C++, but need to define -shared option too, otherwise
9234 # it will coredump.
9235 lt_prog_compiler_pic='-fPIC -shared'
9236 ;;
9237
9238 sysv4*MP*)
9239 if test -d /usr/nec; then
9240 lt_prog_compiler_pic=-Kconform_pic
9241 fi
9242 ;;
9243
9244 *)
9245 lt_prog_compiler_pic='-fPIC'
9246 ;;
9247 esac
9248
9249 case $cc_basename in
9250 nvcc*) # Cuda Compiler Driver 2.2
9251 lt_prog_compiler_wl='-Xlinker '
9252 lt_prog_compiler_pic='-Xcompiler -fPIC'
9253 ;;
9254 esac
9255 else
9256 # PORTME Check for flag to pass linker flags through the system compiler.
9257 case $host_os in
9258 aix*)
9259 lt_prog_compiler_wl='-Wl,'
9260 if test "$host_cpu" = ia64; then
9261 # AIX 5 now supports IA64 processor
9262 lt_prog_compiler_static='-Bstatic'
9263 else
9264 lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
9265 fi
9266 ;;
9267
9268 mingw* | cygwin* | pw32* | os2* | cegcc*)
9269 # This hack is so that the source file can tell whether it is being
9270 # built for inclusion in a dll (and should export symbols for example).
9271 lt_prog_compiler_pic='-DDLL_EXPORT'
9272 ;;
9273
9274 hpux9* | hpux10* | hpux11*)
9275 lt_prog_compiler_wl='-Wl,'
9276 # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
9277 # not for PA HP-UX.
9278 case $host_cpu in
9279 hppa*64*|ia64*)
9280 # +Z the default
9281 ;;
9282 *)
9283 lt_prog_compiler_pic='+Z'
9284 ;;
9285 esac
9286 # Is there a better lt_prog_compiler_static that works with the bundled CC?
9287 lt_prog_compiler_static='${wl}-a ${wl}archive'
9288 ;;
9289
9290 irix5* | irix6* | nonstopux*)
9291 lt_prog_compiler_wl='-Wl,'
9292 # PIC (with -KPIC) is the default.
9293 lt_prog_compiler_static='-non_shared'
9294 ;;
9295
9296 linux* | k*bsd*-gnu | kopensolaris*-gnu)
9297 case $cc_basename in
9298 # old Intel for x86_64 which still supported -KPIC.
9299 ecc*)
9300 lt_prog_compiler_wl='-Wl,'
9301 lt_prog_compiler_pic='-KPIC'
9302 lt_prog_compiler_static='-static'
9303 ;;
9304 # icc used to be incompatible with GCC.
9305 # ICC 10 doesn't accept -KPIC any more.
9306 icc* | ifort*)
9307 lt_prog_compiler_wl='-Wl,'
9308 lt_prog_compiler_pic='-fPIC'
9309 lt_prog_compiler_static='-static'
9310 ;;
9311 # Lahey Fortran 8.1.
9312 lf95*)
9313 lt_prog_compiler_wl='-Wl,'
9314 lt_prog_compiler_pic='--shared'
9315 lt_prog_compiler_static='--static'
9316 ;;
9317 pgcc* | pgf77* | pgf90* | pgf95* | pgfortran*)
9318 # Portland Group compilers (*not* the Pentium gcc compiler,
9319 # which looks to be a dead project)
9320 lt_prog_compiler_wl='-Wl,'
9321 lt_prog_compiler_pic='-fpic'
9322 lt_prog_compiler_static='-Bstatic'
9323 ;;
9324 ccc*)
9325 lt_prog_compiler_wl='-Wl,'
9326 # All Alpha code is PIC.
9327 lt_prog_compiler_static='-non_shared'
9328 ;;
9329 xl* | bgxl* | bgf* | mpixl*)
9330 # IBM XL C 8.0/Fortran 10.1, 11.1 on PPC and BlueGene
9331 lt_prog_compiler_wl='-Wl,'
9332 lt_prog_compiler_pic='-qpic'
9333 lt_prog_compiler_static='-qstaticlink'
9334 ;;
9335 *)
9336 case `$CC -V 2>&1 | sed 5q` in
9337 *Sun\ F* | *Sun*Fortran*)
9338 # Sun Fortran 8.3 passes all unrecognized flags to the linker
9339 lt_prog_compiler_pic='-KPIC'
9340 lt_prog_compiler_static='-Bstatic'
9341 lt_prog_compiler_wl=''
9342 ;;
9343 *Sun\ C*)
9344 # Sun C 5.9
9345 lt_prog_compiler_pic='-KPIC'
9346 lt_prog_compiler_static='-Bstatic'
9347 lt_prog_compiler_wl='-Wl,'
9348 ;;
9349 esac
9350 ;;
9351 esac
9352 ;;
9353
9354 newsos6)
9355 lt_prog_compiler_pic='-KPIC'
9356 lt_prog_compiler_static='-Bstatic'
9357 ;;
9358
9359 *nto* | *qnx*)
9360 # QNX uses GNU C++, but need to define -shared option too, otherwise
9361 # it will coredump.
9362 lt_prog_compiler_pic='-fPIC -shared'
9363 ;;
9364
9365 osf3* | osf4* | osf5*)
9366 lt_prog_compiler_wl='-Wl,'
9367 # All OSF/1 code is PIC.
9368 lt_prog_compiler_static='-non_shared'
9369 ;;
9370
9371 rdos*)
9372 lt_prog_compiler_static='-non_shared'
9373 ;;
9374
9375 solaris*)
9376 lt_prog_compiler_pic='-KPIC'
9377 lt_prog_compiler_static='-Bstatic'
9378 case $cc_basename in
9379 f77* | f90* | f95*)
9380 lt_prog_compiler_wl='-Qoption ld ';;
9381 *)
9382 lt_prog_compiler_wl='-Wl,';;
9383 esac
9384 ;;
9385
9386 sunos4*)
9387 lt_prog_compiler_wl='-Qoption ld '
9388 lt_prog_compiler_pic='-PIC'
9389 lt_prog_compiler_static='-Bstatic'
9390 ;;
9391
9392 sysv4 | sysv4.2uw2* | sysv4.3*)
9393 lt_prog_compiler_wl='-Wl,'
9394 lt_prog_compiler_pic='-KPIC'
9395 lt_prog_compiler_static='-Bstatic'
9396 ;;
9397
9398 sysv4*MP*)
9399 if test -d /usr/nec ;then
9400 lt_prog_compiler_pic='-Kconform_pic'
9401 lt_prog_compiler_static='-Bstatic'
9402 fi
9403 ;;
9404
9405 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
9406 lt_prog_compiler_wl='-Wl,'
9407 lt_prog_compiler_pic='-KPIC'
9408 lt_prog_compiler_static='-Bstatic'
9409 ;;
9410
9411 unicos*)
9412 lt_prog_compiler_wl='-Wl,'
9413 lt_prog_compiler_can_build_shared=no
9414 ;;
9415
9416 uts4*)
9417 lt_prog_compiler_pic='-pic'
9418 lt_prog_compiler_static='-Bstatic'
9419 ;;
9420
9421 *)
9422 lt_prog_compiler_can_build_shared=no
9423 ;;
9424 esac
9425 fi
9426
9427 case $host_os in
9428 # For platforms which do not support PIC, -DPIC is meaningless:
9429 *djgpp*)
9430 lt_prog_compiler_pic=
9431 ;;
9432 *)
9433 lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
9434 ;;
9435 esac
9436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic" >&5
9437 $as_echo "$lt_prog_compiler_pic" >&6; }
9438
9439
9440
9441
9442
9443
9444 #
9445 # Check to make sure the PIC flag actually works.
9446 #
9447 if test -n "$lt_prog_compiler_pic"; then
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
9449 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
9450 if ${lt_cv_prog_compiler_pic_works+:} false; then :
9451 $as_echo_n "(cached) " >&6
9452 else
9453 lt_cv_prog_compiler_pic_works=no
9454 ac_outfile=conftest.$ac_objext
9455 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9456 lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
9457 # Insert the option either (1) after the last *FLAGS variable, or
9458 # (2) before a word containing "conftest.", or (3) at the end.
9459 # Note that $ac_compile itself does not contain backslashes and begins
9460 # with a dollar sign (not a hyphen), so the echo should work correctly.
9461 # The option is referenced via a variable to avoid confusing sed.
9462 lt_compile=`echo "$ac_compile" | $SED \
9463 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9464 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9465 -e 's:$: $lt_compiler_flag:'`
9466 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9467 (eval "$lt_compile" 2>conftest.err)
9468 ac_status=$?
9469 cat conftest.err >&5
9470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9471 if (exit $ac_status) && test -s "$ac_outfile"; then
9472 # The compiler can only warn and ignore the option if not recognized
9473 # So say no if there are warnings other than the usual output.
9474 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
9475 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9476 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
9477 lt_cv_prog_compiler_pic_works=yes
9478 fi
9479 fi
9480 $RM conftest*
9481
9482 fi
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works" >&5
9484 $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
9485
9486 if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
9487 case $lt_prog_compiler_pic in
9488 "" | " "*) ;;
9489 *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
9490 esac
9491 else
9492 lt_prog_compiler_pic=
9493 lt_prog_compiler_can_build_shared=no
9494 fi
9495
9496 fi
9497
9498
9499
9500
9501
9502
9503 #
9504 # Check to make sure the static flag actually works.
9505 #
9506 wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
9507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
9508 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
9509 if ${lt_cv_prog_compiler_static_works+:} false; then :
9510 $as_echo_n "(cached) " >&6
9511 else
9512 lt_cv_prog_compiler_static_works=no
9513 save_LDFLAGS="$LDFLAGS"
9514 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
9515 echo "$lt_simple_link_test_code" > conftest.$ac_ext
9516 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
9517 # The linker can only warn and ignore the option if not recognized
9518 # So say no if there are warnings
9519 if test -s conftest.err; then
9520 # Append any errors to the config.log.
9521 cat conftest.err 1>&5
9522 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
9523 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
9524 if diff conftest.exp conftest.er2 >/dev/null; then
9525 lt_cv_prog_compiler_static_works=yes
9526 fi
9527 else
9528 lt_cv_prog_compiler_static_works=yes
9529 fi
9530 fi
9531 $RM -r conftest*
9532 LDFLAGS="$save_LDFLAGS"
9533
9534 fi
9535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works" >&5
9536 $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
9537
9538 if test x"$lt_cv_prog_compiler_static_works" = xyes; then
9539 :
9540 else
9541 lt_prog_compiler_static=
9542 fi
9543
9544
9545
9546
9547
9548
9549
9550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9551 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9552 if ${lt_cv_prog_compiler_c_o+:} false; then :
9553 $as_echo_n "(cached) " >&6
9554 else
9555 lt_cv_prog_compiler_c_o=no
9556 $RM -r conftest 2>/dev/null
9557 mkdir conftest
9558 cd conftest
9559 mkdir out
9560 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9561
9562 lt_compiler_flag="-o out/conftest2.$ac_objext"
9563 # Insert the option either (1) after the last *FLAGS variable, or
9564 # (2) before a word containing "conftest.", or (3) at the end.
9565 # Note that $ac_compile itself does not contain backslashes and begins
9566 # with a dollar sign (not a hyphen), so the echo should work correctly.
9567 lt_compile=`echo "$ac_compile" | $SED \
9568 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9569 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9570 -e 's:$: $lt_compiler_flag:'`
9571 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9572 (eval "$lt_compile" 2>out/conftest.err)
9573 ac_status=$?
9574 cat out/conftest.err >&5
9575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9576 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9577 then
9578 # The compiler can only warn and ignore the option if not recognized
9579 # So say no if there are warnings
9580 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9581 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9582 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9583 lt_cv_prog_compiler_c_o=yes
9584 fi
9585 fi
9586 chmod u+w . 2>&5
9587 $RM conftest*
9588 # SGI C++ compiler will create directory out/ii_files/ for
9589 # template instantiation
9590 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9591 $RM out/* && rmdir out
9592 cd ..
9593 $RM -r conftest
9594 $RM conftest*
9595
9596 fi
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9598 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9599
9600
9601
9602
9603
9604
9605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
9606 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
9607 if ${lt_cv_prog_compiler_c_o+:} false; then :
9608 $as_echo_n "(cached) " >&6
9609 else
9610 lt_cv_prog_compiler_c_o=no
9611 $RM -r conftest 2>/dev/null
9612 mkdir conftest
9613 cd conftest
9614 mkdir out
9615 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
9616
9617 lt_compiler_flag="-o out/conftest2.$ac_objext"
9618 # Insert the option either (1) after the last *FLAGS variable, or
9619 # (2) before a word containing "conftest.", or (3) at the end.
9620 # Note that $ac_compile itself does not contain backslashes and begins
9621 # with a dollar sign (not a hyphen), so the echo should work correctly.
9622 lt_compile=`echo "$ac_compile" | $SED \
9623 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
9624 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
9625 -e 's:$: $lt_compiler_flag:'`
9626 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
9627 (eval "$lt_compile" 2>out/conftest.err)
9628 ac_status=$?
9629 cat out/conftest.err >&5
9630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
9631 if (exit $ac_status) && test -s out/conftest2.$ac_objext
9632 then
9633 # The compiler can only warn and ignore the option if not recognized
9634 # So say no if there are warnings
9635 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
9636 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
9637 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
9638 lt_cv_prog_compiler_c_o=yes
9639 fi
9640 fi
9641 chmod u+w . 2>&5
9642 $RM conftest*
9643 # SGI C++ compiler will create directory out/ii_files/ for
9644 # template instantiation
9645 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
9646 $RM out/* && rmdir out
9647 cd ..
9648 $RM -r conftest
9649 $RM conftest*
9650
9651 fi
9652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o" >&5
9653 $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
9654
9655
9656
9657
9658 hard_links="nottested"
9659 if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
9660 # do not overwrite the value of need_locks provided by the user
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
9662 $as_echo_n "checking if we can lock with hard links... " >&6; }
9663 hard_links=yes
9664 $RM conftest*
9665 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9666 touch conftest.a
9667 ln conftest.a conftest.b 2>&5 || hard_links=no
9668 ln conftest.a conftest.b 2>/dev/null && hard_links=no
9669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
9670 $as_echo "$hard_links" >&6; }
9671 if test "$hard_links" = no; then
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
9673 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
9674 need_locks=warn
9675 fi
9676 else
9677 need_locks=no
9678 fi
9679
9680
9681
9682
9683
9684
9685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
9686 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
9687
9688 runpath_var=
9689 allow_undefined_flag=
9690 always_export_symbols=no
9691 archive_cmds=
9692 archive_expsym_cmds=
9693 compiler_needs_object=no
9694 enable_shared_with_static_runtimes=no
9695 export_dynamic_flag_spec=
9696 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
9697 hardcode_automatic=no
9698 hardcode_direct=no
9699 hardcode_direct_absolute=no
9700 hardcode_libdir_flag_spec=
9701 hardcode_libdir_flag_spec_ld=
9702 hardcode_libdir_separator=
9703 hardcode_minus_L=no
9704 hardcode_shlibpath_var=unsupported
9705 inherit_rpath=no
9706 link_all_deplibs=unknown
9707 module_cmds=
9708 module_expsym_cmds=
9709 old_archive_from_new_cmds=
9710 old_archive_from_expsyms_cmds=
9711 thread_safe_flag_spec=
9712 whole_archive_flag_spec=
9713 # include_expsyms should be a list of space-separated symbols to be *always*
9714 # included in the symbol list
9715 include_expsyms=
9716 # exclude_expsyms can be an extended regexp of symbols to exclude
9717 # it will be wrapped by ` (' and `)$', so one must not match beginning or
9718 # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
9719 # as well as any symbol that contains `d'.
9720 exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
9721 # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
9722 # platforms (ab)use it in PIC code, but their linkers get confused if
9723 # the symbol is explicitly referenced. Since portable code cannot
9724 # rely on this symbol name, it's probably fine to never include it in
9725 # preloaded symbol tables.
9726 # Exclude shared library initialization/finalization symbols.
9727 extract_expsyms_cmds=
9728
9729 case $host_os in
9730 cygwin* | mingw* | pw32* | cegcc*)
9731 # FIXME: the MSVC++ port hasn't been tested in a loooong time
9732 # When not using gcc, we currently assume that we are using
9733 # Microsoft Visual C++.
9734 if test "$GCC" != yes; then
9735 with_gnu_ld=no
9736 fi
9737 ;;
9738 interix*)
9739 # we just hope/assume this is gcc and not c89 (= MSVC++)
9740 with_gnu_ld=yes
9741 ;;
9742 openbsd*)
9743 with_gnu_ld=no
9744 ;;
9745 esac
9746
9747 ld_shlibs=yes
9748
9749 # On some targets, GNU ld is compatible enough with the native linker
9750 # that we're better off using the native interface for both.
9751 lt_use_gnu_ld_interface=no
9752 if test "$with_gnu_ld" = yes; then
9753 case $host_os in
9754 aix*)
9755 # The AIX port of GNU ld has always aspired to compatibility
9756 # with the native linker. However, as the warning in the GNU ld
9757 # block says, versions before 2.19.5* couldn't really create working
9758 # shared libraries, regardless of the interface used.
9759 case `$LD -v 2>&1` in
9760 *\ \(GNU\ Binutils\)\ 2.19.5*) ;;
9761 *\ \(GNU\ Binutils\)\ 2.[2-9]*) ;;
9762 *\ \(GNU\ Binutils\)\ [3-9]*) ;;
9763 *)
9764 lt_use_gnu_ld_interface=yes
9765 ;;
9766 esac
9767 ;;
9768 *)
9769 lt_use_gnu_ld_interface=yes
9770 ;;
9771 esac
9772 fi
9773
9774 if test "$lt_use_gnu_ld_interface" = yes; then
9775 # If archive_cmds runs LD, not CC, wlarc should be empty
9776 wlarc='${wl}'
9777
9778 # Set some defaults for GNU ld with shared library support. These
9779 # are reset later if shared libraries are not supported. Putting them
9780 # here allows them to be overridden if necessary.
9781 runpath_var=LD_RUN_PATH
9782 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
9783 export_dynamic_flag_spec='${wl}--export-dynamic'
9784 # ancient GNU ld didn't support --whole-archive et. al.
9785 if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
9786 whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
9787 else
9788 whole_archive_flag_spec=
9789 fi
9790 supports_anon_versioning=no
9791 case `$LD -v 2>&1` in
9792 *GNU\ gold*) supports_anon_versioning=yes ;;
9793 *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
9794 *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
9795 *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
9796 *\ 2.11.*) ;; # other 2.11 versions
9797 *) supports_anon_versioning=yes ;;
9798 esac
9799
9800 # See if GNU ld supports shared libraries.
9801 case $host_os in
9802 aix[3-9]*)
9803 # On AIX/PPC, the GNU linker is very broken
9804 if test "$host_cpu" != ia64; then
9805 ld_shlibs=no
9806 cat <<_LT_EOF 1>&2
9807
9808 *** Warning: the GNU linker, at least up to release 2.19, is reported
9809 *** to be unable to reliably create shared libraries on AIX.
9810 *** Therefore, libtool is disabling shared libraries support. If you
9811 *** really care for shared libraries, you may want to install binutils
9812 *** 2.20 or above, or modify your PATH so that a non-GNU linker is found.
9813 *** You will then need to restart the configuration process.
9814
9815 _LT_EOF
9816 fi
9817 ;;
9818
9819 amigaos*)
9820 case $host_cpu in
9821 powerpc)
9822 # see comment about AmigaOS4 .so support
9823 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9824 archive_expsym_cmds=''
9825 ;;
9826 m68k)
9827 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)'
9828 hardcode_libdir_flag_spec='-L$libdir'
9829 hardcode_minus_L=yes
9830 ;;
9831 esac
9832 ;;
9833
9834 beos*)
9835 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9836 allow_undefined_flag=unsupported
9837 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
9838 # support --undefined. This deserves some investigation. FIXME
9839 archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9840 else
9841 ld_shlibs=no
9842 fi
9843 ;;
9844
9845 cygwin* | mingw* | pw32* | cegcc*)
9846 # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
9847 # as there is no search path for DLLs.
9848 hardcode_libdir_flag_spec='-L$libdir'
9849 export_dynamic_flag_spec='${wl}--export-all-symbols'
9850 allow_undefined_flag=unsupported
9851 always_export_symbols=no
9852 enable_shared_with_static_runtimes=yes
9853 export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
9854
9855 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
9856 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9857 # If the export-symbols file already is a .def file (1st line
9858 # is EXPORTS), use it as is; otherwise, prepend...
9859 archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
9860 cp $export_symbols $output_objdir/$soname.def;
9861 else
9862 echo EXPORTS > $output_objdir/$soname.def;
9863 cat $export_symbols >> $output_objdir/$soname.def;
9864 fi~
9865 $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
9866 else
9867 ld_shlibs=no
9868 fi
9869 ;;
9870
9871 haiku*)
9872 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9873 link_all_deplibs=yes
9874 ;;
9875
9876 interix[3-9]*)
9877 hardcode_direct=no
9878 hardcode_shlibpath_var=no
9879 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
9880 export_dynamic_flag_spec='${wl}-E'
9881 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
9882 # Instead, shared libraries are loaded at an image base (0x10000000 by
9883 # default) and relocated if they conflict, which is a slow very memory
9884 # consuming and fragmenting process. To avoid this, we pick a random,
9885 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
9886 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
9887 archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
9888 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'
9889 ;;
9890
9891 gnu* | linux* | tpf* | k*bsd*-gnu | kopensolaris*-gnu | uclinuxfdpiceabi)
9892 tmp_diet=no
9893 if test "$host_os" = linux-dietlibc; then
9894 case $cc_basename in
9895 diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
9896 esac
9897 fi
9898 if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
9899 && test "$tmp_diet" = no
9900 then
9901 tmp_addflag=' $pic_flag'
9902 tmp_sharedflag='-shared'
9903 case $cc_basename,$host_cpu in
9904 pgcc*) # Portland Group C compiler
9905 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'
9906 tmp_addflag=' $pic_flag'
9907 ;;
9908 pgf77* | pgf90* | pgf95* | pgfortran*)
9909 # Portland Group f77 and f90 compilers
9910 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'
9911 tmp_addflag=' $pic_flag -Mnomain' ;;
9912 ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
9913 tmp_addflag=' -i_dynamic' ;;
9914 efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
9915 tmp_addflag=' -i_dynamic -nofor_main' ;;
9916 ifc* | ifort*) # Intel Fortran compiler
9917 tmp_addflag=' -nofor_main' ;;
9918 lf95*) # Lahey Fortran 8.1
9919 whole_archive_flag_spec=
9920 tmp_sharedflag='--shared' ;;
9921 xl[cC]* | bgxl[cC]* | mpixl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
9922 tmp_sharedflag='-qmkshrobj'
9923 tmp_addflag= ;;
9924 nvcc*) # Cuda Compiler Driver 2.2
9925 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'
9926 compiler_needs_object=yes
9927 ;;
9928 esac
9929 case `$CC -V 2>&1 | sed 5q` in
9930 *Sun\ C*) # Sun C 5.9
9931 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'
9932 compiler_needs_object=yes
9933 tmp_sharedflag='-G' ;;
9934 *Sun\ F*) # Sun Fortran 8.3
9935 tmp_sharedflag='-G' ;;
9936 esac
9937 archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9938
9939 if test "x$supports_anon_versioning" = xyes; then
9940 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9941 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9942 echo "local: *; };" >> $output_objdir/$libname.ver~
9943 $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
9944 fi
9945
9946 case $cc_basename in
9947 xlf* | bgf* | bgxlf* | mpixlf*)
9948 # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
9949 whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
9950 hardcode_libdir_flag_spec=
9951 hardcode_libdir_flag_spec_ld='-rpath $libdir'
9952 archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
9953 if test "x$supports_anon_versioning" = xyes; then
9954 archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
9955 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
9956 echo "local: *; };" >> $output_objdir/$libname.ver~
9957 $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
9958 fi
9959 ;;
9960 esac
9961 else
9962 ld_shlibs=no
9963 fi
9964 ;;
9965
9966 netbsd*)
9967 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
9968 archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
9969 wlarc=
9970 else
9971 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9972 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9973 fi
9974 ;;
9975
9976 solaris*)
9977 if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
9978 ld_shlibs=no
9979 cat <<_LT_EOF 1>&2
9980
9981 *** Warning: The releases 2.8.* of the GNU linker cannot reliably
9982 *** create shared libraries on Solaris systems. Therefore, libtool
9983 *** is disabling shared libraries support. We urge you to upgrade GNU
9984 *** binutils to release 2.9.1 or newer. Another option is to modify
9985 *** your PATH or compiler configuration so that the native linker is
9986 *** used, and then restart.
9987
9988 _LT_EOF
9989 elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
9990 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
9991 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
9992 else
9993 ld_shlibs=no
9994 fi
9995 ;;
9996
9997 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
9998 case `$LD -v 2>&1` in
9999 *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
10000 ld_shlibs=no
10001 cat <<_LT_EOF 1>&2
10002
10003 *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
10004 *** reliably create shared libraries on SCO systems. Therefore, libtool
10005 *** is disabling shared libraries support. We urge you to upgrade GNU
10006 *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
10007 *** your PATH or compiler configuration so that the native linker is
10008 *** used, and then restart.
10009
10010 _LT_EOF
10011 ;;
10012 *)
10013 # For security reasons, it is highly recommended that you always
10014 # use absolute paths for naming shared libraries, and exclude the
10015 # DT_RUNPATH tag from executables and libraries. But doing so
10016 # requires that you compile everything twice, which is a pain.
10017 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10018 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10019 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10020 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10021 else
10022 ld_shlibs=no
10023 fi
10024 ;;
10025 esac
10026 ;;
10027
10028 sunos4*)
10029 archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10030 wlarc=
10031 hardcode_direct=yes
10032 hardcode_shlibpath_var=no
10033 ;;
10034
10035 *)
10036 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
10037 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10038 archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
10039 else
10040 ld_shlibs=no
10041 fi
10042 ;;
10043 esac
10044
10045 if test "$ld_shlibs" = no; then
10046 runpath_var=
10047 hardcode_libdir_flag_spec=
10048 export_dynamic_flag_spec=
10049 whole_archive_flag_spec=
10050 fi
10051 else
10052 # PORTME fill in a description of your system's linker (not GNU ld)
10053 case $host_os in
10054 aix3*)
10055 allow_undefined_flag=unsupported
10056 always_export_symbols=yes
10057 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'
10058 # Note: this linker hardcodes the directories in LIBPATH if there
10059 # are no directories specified by -L.
10060 hardcode_minus_L=yes
10061 if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
10062 # Neither direct hardcoding nor static linking is supported with a
10063 # broken collect2.
10064 hardcode_direct=unsupported
10065 fi
10066 ;;
10067
10068 aix[4-9]*)
10069 if test "$host_cpu" = ia64; then
10070 # On IA64, the linker does run time linking by default, so we don't
10071 # have to do anything special.
10072 aix_use_runtimelinking=no
10073 exp_sym_flag='-Bexport'
10074 no_entry_flag=""
10075 else
10076 # If we're using GNU nm, then we don't want the "-C" option.
10077 # -C means demangle to AIX nm, but means don't demangle with GNU nm
10078 # Also, AIX nm treats weak defined symbols like other global
10079 # defined symbols, whereas GNU nm marks them as "W".
10080 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
10081 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'
10082 else
10083 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'
10084 fi
10085 aix_use_runtimelinking=no
10086
10087 # Test if we are trying to use run time linking or normal
10088 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
10089 # need to do runtime linking.
10090 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
10091 for ld_flag in $LDFLAGS; do
10092 if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
10093 aix_use_runtimelinking=yes
10094 break
10095 fi
10096 done
10097 ;;
10098 esac
10099
10100 exp_sym_flag='-bexport'
10101 no_entry_flag='-bnoentry'
10102 fi
10103
10104 # When large executables or shared objects are built, AIX ld can
10105 # have problems creating the table of contents. If linking a library
10106 # or program results in "error TOC overflow" add -mminimal-toc to
10107 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
10108 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
10109
10110 archive_cmds=''
10111 hardcode_direct=yes
10112 hardcode_direct_absolute=yes
10113 hardcode_libdir_separator=':'
10114 link_all_deplibs=yes
10115 file_list_spec='${wl}-f,'
10116
10117 if test "$GCC" = yes; then
10118 case $host_os in aix4.[012]|aix4.[012].*)
10119 # We only want to do this on AIX 4.2 and lower, the check
10120 # below for broken collect2 doesn't work under 4.3+
10121 collect2name=`${CC} -print-prog-name=collect2`
10122 if test -f "$collect2name" &&
10123 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
10124 then
10125 # We have reworked collect2
10126 :
10127 else
10128 # We have old collect2
10129 hardcode_direct=unsupported
10130 # It fails to find uninstalled libraries when the uninstalled
10131 # path is not listed in the libpath. Setting hardcode_minus_L
10132 # to unsupported forces relinking
10133 hardcode_minus_L=yes
10134 hardcode_libdir_flag_spec='-L$libdir'
10135 hardcode_libdir_separator=
10136 fi
10137 ;;
10138 esac
10139 shared_flag='-shared'
10140 if test "$aix_use_runtimelinking" = yes; then
10141 shared_flag="$shared_flag "'${wl}-G'
10142 fi
10143 else
10144 # not using gcc
10145 if test "$host_cpu" = ia64; then
10146 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
10147 # chokes on -Wl,-G. The following line is correct:
10148 shared_flag='-G'
10149 else
10150 if test "$aix_use_runtimelinking" = yes; then
10151 shared_flag='${wl}-G'
10152 else
10153 shared_flag='${wl}-bM:SRE'
10154 fi
10155 fi
10156 fi
10157
10158 export_dynamic_flag_spec='${wl}-bexpall'
10159 # It seems that -bexpall does not export symbols beginning with
10160 # underscore (_), so it is better to generate a list of symbols to export.
10161 always_export_symbols=yes
10162 if test "$aix_use_runtimelinking" = yes; then
10163 # Warning - without using the other runtime loading flags (-brtl),
10164 # -berok will link without error, but may produce a broken library.
10165 allow_undefined_flag='-berok'
10166 # Determine the default libpath from the value encoded in an
10167 # empty executable.
10168 if test x$gcc_no_link = xyes; then
10169 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10170 fi
10171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10172 /* end confdefs.h. */
10173
10174 int
10175 main ()
10176 {
10177
10178 ;
10179 return 0;
10180 }
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"; then :
10183
10184 lt_aix_libpath_sed='
10185 /Import File Strings/,/^$/ {
10186 /^0/ {
10187 s/^0 *\(.*\)$/\1/
10188 p
10189 }
10190 }'
10191 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10192 # Check for a 64-bit object if we didn't find anything.
10193 if test -z "$aix_libpath"; then
10194 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10195 fi
10196 fi
10197 rm -f core conftest.err conftest.$ac_objext \
10198 conftest$ac_exeext conftest.$ac_ext
10199 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10200
10201 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10202 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"
10203 else
10204 if test "$host_cpu" = ia64; then
10205 hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
10206 allow_undefined_flag="-z nodefs"
10207 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"
10208 else
10209 # Determine the default libpath from the value encoded in an
10210 # empty executable.
10211 if test x$gcc_no_link = xyes; then
10212 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10213 fi
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216
10217 int
10218 main ()
10219 {
10220
10221 ;
10222 return 0;
10223 }
10224 _ACEOF
10225 if ac_fn_c_try_link "$LINENO"; then :
10226
10227 lt_aix_libpath_sed='
10228 /Import File Strings/,/^$/ {
10229 /^0/ {
10230 s/^0 *\(.*\)$/\1/
10231 p
10232 }
10233 }'
10234 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10235 # Check for a 64-bit object if we didn't find anything.
10236 if test -z "$aix_libpath"; then
10237 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
10238 fi
10239 fi
10240 rm -f core conftest.err conftest.$ac_objext \
10241 conftest$ac_exeext conftest.$ac_ext
10242 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
10243
10244 hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
10245 # Warning - without using the other run time loading flags,
10246 # -berok will link without error, but may produce a broken library.
10247 no_undefined_flag=' ${wl}-bernotok'
10248 allow_undefined_flag=' ${wl}-berok'
10249 if test "$with_gnu_ld" = yes; then
10250 # We only use this code for GNU lds that support --whole-archive.
10251 whole_archive_flag_spec='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
10252 else
10253 # Exported symbols can be pulled into shared objects from archives
10254 whole_archive_flag_spec='$convenience'
10255 fi
10256 archive_cmds_need_lc=yes
10257 # This is similar to how AIX traditionally builds its shared libraries.
10258 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'
10259 fi
10260 fi
10261 ;;
10262
10263 amigaos*)
10264 case $host_cpu in
10265 powerpc)
10266 # see comment about AmigaOS4 .so support
10267 archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
10268 archive_expsym_cmds=''
10269 ;;
10270 m68k)
10271 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)'
10272 hardcode_libdir_flag_spec='-L$libdir'
10273 hardcode_minus_L=yes
10274 ;;
10275 esac
10276 ;;
10277
10278 bsdi[45]*)
10279 export_dynamic_flag_spec=-rdynamic
10280 ;;
10281
10282 cygwin* | mingw* | pw32* | cegcc*)
10283 # When not using gcc, we currently assume that we are using
10284 # Microsoft Visual C++.
10285 # hardcode_libdir_flag_spec is actually meaningless, as there is
10286 # no search path for DLLs.
10287 hardcode_libdir_flag_spec=' '
10288 allow_undefined_flag=unsupported
10289 # Tell ltmain to make .lib files, not .a files.
10290 libext=lib
10291 # Tell ltmain to make .dll files, not .so files.
10292 shrext_cmds=".dll"
10293 # FIXME: Setting linknames here is a bad hack.
10294 archive_cmds='$CC -o $lib $libobjs $compiler_flags `func_echo_all "$deplibs" | $SED '\''s/ -lc$//'\''` -link -dll~linknames='
10295 # The linker will automatically build a .lib file if we build a DLL.
10296 old_archive_from_new_cmds='true'
10297 # FIXME: Should let the user specify the lib program.
10298 old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
10299 fix_srcfile_path='`cygpath -w "$srcfile"`'
10300 enable_shared_with_static_runtimes=yes
10301 ;;
10302
10303 darwin* | rhapsody*)
10304
10305
10306 archive_cmds_need_lc=no
10307 hardcode_direct=no
10308 hardcode_automatic=yes
10309 hardcode_shlibpath_var=unsupported
10310 if test "$lt_cv_ld_force_load" = "yes"; then
10311 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\"`'
10312 else
10313 whole_archive_flag_spec=''
10314 fi
10315 link_all_deplibs=yes
10316 allow_undefined_flag="$_lt_dar_allow_undefined"
10317 case $cc_basename in
10318 ifort*) _lt_dar_can_shared=yes ;;
10319 *) _lt_dar_can_shared=$GCC ;;
10320 esac
10321 if test "$_lt_dar_can_shared" = "yes"; then
10322 output_verbose_link_cmd=func_echo_all
10323 archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
10324 module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
10325 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}"
10326 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}"
10327
10328 else
10329 ld_shlibs=no
10330 fi
10331
10332 ;;
10333
10334 dgux*)
10335 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10336 hardcode_libdir_flag_spec='-L$libdir'
10337 hardcode_shlibpath_var=no
10338 ;;
10339
10340 # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
10341 # support. Future versions do this automatically, but an explicit c++rt0.o
10342 # does not break anything, and helps significantly (at the cost of a little
10343 # extra space).
10344 freebsd2.2*)
10345 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
10346 hardcode_libdir_flag_spec='-R$libdir'
10347 hardcode_direct=yes
10348 hardcode_shlibpath_var=no
10349 ;;
10350
10351 # Unfortunately, older versions of FreeBSD 2 do not have this feature.
10352 freebsd2.*)
10353 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10354 hardcode_direct=yes
10355 hardcode_minus_L=yes
10356 hardcode_shlibpath_var=no
10357 ;;
10358
10359 # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
10360 freebsd* | dragonfly*)
10361 archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
10362 hardcode_libdir_flag_spec='-R$libdir'
10363 hardcode_direct=yes
10364 hardcode_shlibpath_var=no
10365 ;;
10366
10367 hpux9*)
10368 if test "$GCC" = yes; then
10369 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'
10370 else
10371 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'
10372 fi
10373 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10374 hardcode_libdir_separator=:
10375 hardcode_direct=yes
10376
10377 # hardcode_minus_L: Not really in the search PATH,
10378 # but as the default location of the library.
10379 hardcode_minus_L=yes
10380 export_dynamic_flag_spec='${wl}-E'
10381 ;;
10382
10383 hpux10*)
10384 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10385 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10386 else
10387 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10388 fi
10389 if test "$with_gnu_ld" = no; then
10390 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10391 hardcode_libdir_flag_spec_ld='+b $libdir'
10392 hardcode_libdir_separator=:
10393 hardcode_direct=yes
10394 hardcode_direct_absolute=yes
10395 export_dynamic_flag_spec='${wl}-E'
10396 # hardcode_minus_L: Not really in the search PATH,
10397 # but as the default location of the library.
10398 hardcode_minus_L=yes
10399 fi
10400 ;;
10401
10402 hpux11*)
10403 if test "$GCC" = yes && test "$with_gnu_ld" = no; then
10404 case $host_cpu in
10405 hppa*64*)
10406 archive_cmds='$CC -shared ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10407 ;;
10408 ia64*)
10409 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10410 ;;
10411 *)
10412 archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10413 ;;
10414 esac
10415 else
10416 case $host_cpu in
10417 hppa*64*)
10418 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10419 ;;
10420 ia64*)
10421 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
10422 ;;
10423 *)
10424
10425 # Older versions of the 11.00 compiler do not understand -b yet
10426 # (HP92453-01 A.11.01.20 doesn't, HP92453-01 B.11.X.35175-35176.GP does)
10427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $CC understands -b" >&5
10428 $as_echo_n "checking if $CC understands -b... " >&6; }
10429 if ${lt_cv_prog_compiler__b+:} false; then :
10430 $as_echo_n "(cached) " >&6
10431 else
10432 lt_cv_prog_compiler__b=no
10433 save_LDFLAGS="$LDFLAGS"
10434 LDFLAGS="$LDFLAGS -b"
10435 echo "$lt_simple_link_test_code" > conftest.$ac_ext
10436 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
10437 # The linker can only warn and ignore the option if not recognized
10438 # So say no if there are warnings
10439 if test -s conftest.err; then
10440 # Append any errors to the config.log.
10441 cat conftest.err 1>&5
10442 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
10443 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
10444 if diff conftest.exp conftest.er2 >/dev/null; then
10445 lt_cv_prog_compiler__b=yes
10446 fi
10447 else
10448 lt_cv_prog_compiler__b=yes
10449 fi
10450 fi
10451 $RM -r conftest*
10452 LDFLAGS="$save_LDFLAGS"
10453
10454 fi
10455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler__b" >&5
10456 $as_echo "$lt_cv_prog_compiler__b" >&6; }
10457
10458 if test x"$lt_cv_prog_compiler__b" = xyes; then
10459 archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
10460 else
10461 archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
10462 fi
10463
10464 ;;
10465 esac
10466 fi
10467 if test "$with_gnu_ld" = no; then
10468 hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
10469 hardcode_libdir_separator=:
10470
10471 case $host_cpu in
10472 hppa*64*|ia64*)
10473 hardcode_direct=no
10474 hardcode_shlibpath_var=no
10475 ;;
10476 *)
10477 hardcode_direct=yes
10478 hardcode_direct_absolute=yes
10479 export_dynamic_flag_spec='${wl}-E'
10480
10481 # hardcode_minus_L: Not really in the search PATH,
10482 # but as the default location of the library.
10483 hardcode_minus_L=yes
10484 ;;
10485 esac
10486 fi
10487 ;;
10488
10489 irix5* | irix6* | nonstopux*)
10490 if test "$GCC" = yes; then
10491 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'
10492 # Try to use the -exported_symbol ld option, if it does not
10493 # work, assume that -exports_file does not work either and
10494 # implicitly export all symbols.
10495 save_LDFLAGS="$LDFLAGS"
10496 LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
10497 if test x$gcc_no_link = xyes; then
10498 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
10499 fi
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10502 int foo(void) {}
10503 _ACEOF
10504 if ac_fn_c_try_link "$LINENO"; then :
10505 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'
10506
10507 fi
10508 rm -f core conftest.err conftest.$ac_objext \
10509 conftest$ac_exeext conftest.$ac_ext
10510 LDFLAGS="$save_LDFLAGS"
10511 else
10512 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'
10513 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'
10514 fi
10515 archive_cmds_need_lc='no'
10516 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10517 hardcode_libdir_separator=:
10518 inherit_rpath=yes
10519 link_all_deplibs=yes
10520 ;;
10521
10522 netbsd*)
10523 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
10524 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
10525 else
10526 archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
10527 fi
10528 hardcode_libdir_flag_spec='-R$libdir'
10529 hardcode_direct=yes
10530 hardcode_shlibpath_var=no
10531 ;;
10532
10533 newsos6)
10534 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10535 hardcode_direct=yes
10536 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10537 hardcode_libdir_separator=:
10538 hardcode_shlibpath_var=no
10539 ;;
10540
10541 *nto* | *qnx*)
10542 ;;
10543
10544 openbsd*)
10545 if test -f /usr/libexec/ld.so; then
10546 hardcode_direct=yes
10547 hardcode_shlibpath_var=no
10548 hardcode_direct_absolute=yes
10549 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
10550 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10551 archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
10552 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10553 export_dynamic_flag_spec='${wl}-E'
10554 else
10555 case $host_os in
10556 openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
10557 archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
10558 hardcode_libdir_flag_spec='-R$libdir'
10559 ;;
10560 *)
10561 archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
10562 hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
10563 ;;
10564 esac
10565 fi
10566 else
10567 ld_shlibs=no
10568 fi
10569 ;;
10570
10571 os2*)
10572 hardcode_libdir_flag_spec='-L$libdir'
10573 hardcode_minus_L=yes
10574 allow_undefined_flag=unsupported
10575 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'
10576 old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
10577 ;;
10578
10579 osf3*)
10580 if test "$GCC" = yes; then
10581 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10582 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'
10583 else
10584 allow_undefined_flag=' -expect_unresolved \*'
10585 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'
10586 fi
10587 archive_cmds_need_lc='no'
10588 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10589 hardcode_libdir_separator=:
10590 ;;
10591
10592 osf4* | osf5*) # as osf3* with the addition of -msym flag
10593 if test "$GCC" = yes; then
10594 allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
10595 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'
10596 hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
10597 else
10598 allow_undefined_flag=' -expect_unresolved \*'
10599 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'
10600 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~
10601 $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'
10602
10603 # Both c and cxx compiler support -rpath directly
10604 hardcode_libdir_flag_spec='-rpath $libdir'
10605 fi
10606 archive_cmds_need_lc='no'
10607 hardcode_libdir_separator=:
10608 ;;
10609
10610 solaris*)
10611 no_undefined_flag=' -z defs'
10612 if test "$GCC" = yes; then
10613 wlarc='${wl}'
10614 archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
10615 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10616 $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10617 else
10618 case `$CC -V 2>&1` in
10619 *"Compilers 5.0"*)
10620 wlarc=''
10621 archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
10622 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10623 $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
10624 ;;
10625 *)
10626 wlarc='${wl}'
10627 archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
10628 archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
10629 $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
10630 ;;
10631 esac
10632 fi
10633 hardcode_libdir_flag_spec='-R$libdir'
10634 hardcode_shlibpath_var=no
10635 case $host_os in
10636 solaris2.[0-5] | solaris2.[0-5].*) ;;
10637 *)
10638 # The compiler driver will combine and reorder linker options,
10639 # but understands `-z linker_flag'. GCC discards it without `$wl',
10640 # but is careful enough not to reorder.
10641 # Supported since Solaris 2.6 (maybe 2.5.1?)
10642 if test "$GCC" = yes; then
10643 whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
10644 else
10645 whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
10646 fi
10647 ;;
10648 esac
10649 link_all_deplibs=yes
10650 ;;
10651
10652 sunos4*)
10653 if test "x$host_vendor" = xsequent; then
10654 # Use $CC to link under sequent, because it throws in some extra .o
10655 # files that make .init and .fini sections work.
10656 archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
10657 else
10658 archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
10659 fi
10660 hardcode_libdir_flag_spec='-L$libdir'
10661 hardcode_direct=yes
10662 hardcode_minus_L=yes
10663 hardcode_shlibpath_var=no
10664 ;;
10665
10666 sysv4)
10667 case $host_vendor in
10668 sni)
10669 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10670 hardcode_direct=yes # is this really true???
10671 ;;
10672 siemens)
10673 ## LD is ld it makes a PLAMLIB
10674 ## CC just makes a GrossModule.
10675 archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
10676 reload_cmds='$CC -r -o $output$reload_objs'
10677 hardcode_direct=no
10678 ;;
10679 motorola)
10680 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10681 hardcode_direct=no #Motorola manual says yes, but my tests say they lie
10682 ;;
10683 esac
10684 runpath_var='LD_RUN_PATH'
10685 hardcode_shlibpath_var=no
10686 ;;
10687
10688 sysv4.3*)
10689 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10690 hardcode_shlibpath_var=no
10691 export_dynamic_flag_spec='-Bexport'
10692 ;;
10693
10694 sysv4*MP*)
10695 if test -d /usr/nec; then
10696 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10697 hardcode_shlibpath_var=no
10698 runpath_var=LD_RUN_PATH
10699 hardcode_runpath_var=yes
10700 ld_shlibs=yes
10701 fi
10702 ;;
10703
10704 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
10705 no_undefined_flag='${wl}-z,text'
10706 archive_cmds_need_lc=no
10707 hardcode_shlibpath_var=no
10708 runpath_var='LD_RUN_PATH'
10709
10710 if test "$GCC" = yes; then
10711 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10712 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10713 else
10714 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10715 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10716 fi
10717 ;;
10718
10719 sysv5* | sco3.2v5* | sco5v6*)
10720 # Note: We can NOT use -z defs as we might desire, because we do not
10721 # link with -lc, and that would cause any symbols used from libc to
10722 # always be unresolved, which means just about no library would
10723 # ever link correctly. If we're not using GNU ld we use -z text
10724 # though, which does catch some bad symbols but isn't as heavy-handed
10725 # as -z defs.
10726 no_undefined_flag='${wl}-z,text'
10727 allow_undefined_flag='${wl}-z,nodefs'
10728 archive_cmds_need_lc=no
10729 hardcode_shlibpath_var=no
10730 hardcode_libdir_flag_spec='${wl}-R,$libdir'
10731 hardcode_libdir_separator=':'
10732 link_all_deplibs=yes
10733 export_dynamic_flag_spec='${wl}-Bexport'
10734 runpath_var='LD_RUN_PATH'
10735
10736 if test "$GCC" = yes; then
10737 archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10738 archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10739 else
10740 archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10741 archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
10742 fi
10743 ;;
10744
10745 uts4*)
10746 archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
10747 hardcode_libdir_flag_spec='-L$libdir'
10748 hardcode_shlibpath_var=no
10749 ;;
10750
10751 *)
10752 ld_shlibs=no
10753 ;;
10754 esac
10755
10756 if test x$host_vendor = xsni; then
10757 case $host in
10758 sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
10759 export_dynamic_flag_spec='${wl}-Blargedynsym'
10760 ;;
10761 esac
10762 fi
10763 fi
10764
10765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs" >&5
10766 $as_echo "$ld_shlibs" >&6; }
10767 test "$ld_shlibs" = no && can_build_shared=no
10768
10769 with_gnu_ld=$with_gnu_ld
10770
10771
10772
10773
10774
10775
10776
10777
10778
10779
10780
10781
10782
10783
10784
10785 #
10786 # Do we need to explicitly link libc?
10787 #
10788 case "x$archive_cmds_need_lc" in
10789 x|xyes)
10790 # Assume -lc should be added
10791 archive_cmds_need_lc=yes
10792
10793 if test "$enable_shared" = yes && test "$GCC" = yes; then
10794 case $archive_cmds in
10795 *'~'*)
10796 # FIXME: we may have to deal with multi-command sequences.
10797 ;;
10798 '$CC '*)
10799 # Test whether the compiler implicitly links with -lc since on some
10800 # systems, -lgcc has to come before -lc. If gcc already passes -lc
10801 # to ld, don't add -lc before -lgcc.
10802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
10803 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
10804 if ${lt_cv_archive_cmds_need_lc+:} false; then :
10805 $as_echo_n "(cached) " >&6
10806 else
10807 $RM conftest*
10808 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
10809
10810 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
10811 (eval $ac_compile) 2>&5
10812 ac_status=$?
10813 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10814 test $ac_status = 0; } 2>conftest.err; then
10815 soname=conftest
10816 lib=conftest
10817 libobjs=conftest.$ac_objext
10818 deplibs=
10819 wl=$lt_prog_compiler_wl
10820 pic_flag=$lt_prog_compiler_pic
10821 compiler_flags=-v
10822 linker_flags=-v
10823 verstring=
10824 output_objdir=.
10825 libname=conftest
10826 lt_save_allow_undefined_flag=$allow_undefined_flag
10827 allow_undefined_flag=
10828 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
10829 (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
10830 ac_status=$?
10831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
10832 test $ac_status = 0; }
10833 then
10834 lt_cv_archive_cmds_need_lc=no
10835 else
10836 lt_cv_archive_cmds_need_lc=yes
10837 fi
10838 allow_undefined_flag=$lt_save_allow_undefined_flag
10839 else
10840 cat conftest.err 1>&5
10841 fi
10842 $RM conftest*
10843
10844 fi
10845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc" >&5
10846 $as_echo "$lt_cv_archive_cmds_need_lc" >&6; }
10847 archive_cmds_need_lc=$lt_cv_archive_cmds_need_lc
10848 ;;
10849 esac
10850 fi
10851 ;;
10852 esac
10853
10854
10855
10856
10857
10858
10859
10860
10861
10862
10863
10864
10865
10866
10867
10868
10869
10870
10871
10872
10873
10874
10875
10876
10877
10878
10879
10880
10881
10882
10883
10884
10885
10886
10887
10888
10889
10890
10891
10892
10893
10894
10895
10896
10897
10898
10899
10900
10901
10902
10903
10904
10905
10906
10907
10908
10909
10910
10911
10912
10913
10914
10915
10916
10917
10918
10919
10920
10921
10922
10923
10924
10925
10926
10927
10928
10929
10930
10931
10932
10933
10934
10935
10936
10937
10938
10939
10940
10941
10942
10943
10944
10945
10946
10947
10948
10949
10950
10951
10952
10953
10954
10955
10956
10957
10958
10959
10960
10961
10962
10963
10964
10965
10966
10967
10968
10969
10970
10971
10972
10973
10974
10975
10976
10977
10978
10979
10980
10981
10982
10983
10984
10985
10986
10987
10988
10989
10990
10991
10992
10993
10994
10995
10996
10997
10998
10999
11000
11001
11002
11003
11004
11005
11006
11007
11008
11009
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
11011 $as_echo_n "checking dynamic linker characteristics... " >&6; }
11012
11013 if test "$GCC" = yes; then
11014 case $host_os in
11015 darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
11016 *) lt_awk_arg="/^libraries:/" ;;
11017 esac
11018 case $host_os in
11019 mingw* | cegcc*) lt_sed_strip_eq="s,=\([A-Za-z]:\),\1,g" ;;
11020 *) lt_sed_strip_eq="s,=/,/,g" ;;
11021 esac
11022 lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e $lt_sed_strip_eq`
11023 case $lt_search_path_spec in
11024 *\;*)
11025 # if the path contains ";" then we assume it to be the separator
11026 # otherwise default to the standard path separator (i.e. ":") - it is
11027 # assumed that no part of a normal pathname contains ";" but that should
11028 # okay in the real world where ";" in dirpaths is itself problematic.
11029 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED 's/;/ /g'`
11030 ;;
11031 *)
11032 lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED "s/$PATH_SEPARATOR/ /g"`
11033 ;;
11034 esac
11035 # Ok, now we have the path, separated by spaces, we can step through it
11036 # and add multilib dir if necessary.
11037 lt_tmp_lt_search_path_spec=
11038 lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
11039 for lt_sys_path in $lt_search_path_spec; do
11040 if test -d "$lt_sys_path/$lt_multi_os_dir"; then
11041 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
11042 else
11043 test -d "$lt_sys_path" && \
11044 lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
11045 fi
11046 done
11047 lt_search_path_spec=`$ECHO "$lt_tmp_lt_search_path_spec" | awk '
11048 BEGIN {RS=" "; FS="/|\n";} {
11049 lt_foo="";
11050 lt_count=0;
11051 for (lt_i = NF; lt_i > 0; lt_i--) {
11052 if ($lt_i != "" && $lt_i != ".") {
11053 if ($lt_i == "..") {
11054 lt_count++;
11055 } else {
11056 if (lt_count == 0) {
11057 lt_foo="/" $lt_i lt_foo;
11058 } else {
11059 lt_count--;
11060 }
11061 }
11062 }
11063 }
11064 if (lt_foo != "") { lt_freq[lt_foo]++; }
11065 if (lt_freq[lt_foo] == 1) { print lt_foo; }
11066 }'`
11067 # AWK program above erroneously prepends '/' to C:/dos/paths
11068 # for these hosts.
11069 case $host_os in
11070 mingw* | cegcc*) lt_search_path_spec=`$ECHO "$lt_search_path_spec" |\
11071 $SED 's,/\([A-Za-z]:\),\1,g'` ;;
11072 esac
11073 sys_lib_search_path_spec=`$ECHO "$lt_search_path_spec" | $lt_NL2SP`
11074 else
11075 sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
11076 fi
11077 library_names_spec=
11078 libname_spec='lib$name'
11079 soname_spec=
11080 shrext_cmds=".so"
11081 postinstall_cmds=
11082 postuninstall_cmds=
11083 finish_cmds=
11084 finish_eval=
11085 shlibpath_var=
11086 shlibpath_overrides_runpath=unknown
11087 version_type=none
11088 dynamic_linker="$host_os ld.so"
11089 sys_lib_dlsearch_path_spec="/lib /usr/lib"
11090 need_lib_prefix=unknown
11091 hardcode_into_libs=no
11092
11093 # when you set need_version to no, make sure it does not cause -set_version
11094 # flags to be left without arguments
11095 need_version=unknown
11096
11097 case $host_os in
11098 aix3*)
11099 version_type=linux
11100 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
11101 shlibpath_var=LIBPATH
11102
11103 # AIX 3 has no versioning support, so we append a major version to the name.
11104 soname_spec='${libname}${release}${shared_ext}$major'
11105 ;;
11106
11107 aix[4-9]*)
11108 version_type=linux
11109 need_lib_prefix=no
11110 need_version=no
11111 hardcode_into_libs=yes
11112 if test "$host_cpu" = ia64; then
11113 # AIX 5 supports IA64
11114 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
11115 shlibpath_var=LD_LIBRARY_PATH
11116 else
11117 # With GCC up to 2.95.x, collect2 would create an import file
11118 # for dependence libraries. The import file would start with
11119 # the line `#! .'. This would cause the generated library to
11120 # depend on `.', always an invalid library. This was fixed in
11121 # development snapshots of GCC prior to 3.0.
11122 case $host_os in
11123 aix4 | aix4.[01] | aix4.[01].*)
11124 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
11125 echo ' yes '
11126 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
11127 :
11128 else
11129 can_build_shared=no
11130 fi
11131 ;;
11132 esac
11133 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
11134 # soname into executable. Probably we can add versioning support to
11135 # collect2, so additional links can be useful in future.
11136 if test "$aix_use_runtimelinking" = yes; then
11137 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
11138 # instead of lib<name>.a to let people know that these are not
11139 # typical AIX shared libraries.
11140 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11141 else
11142 # We preserve .a as extension for shared libraries through AIX4.2
11143 # and later when we are not doing run time linking.
11144 library_names_spec='${libname}${release}.a $libname.a'
11145 soname_spec='${libname}${release}${shared_ext}$major'
11146 fi
11147 shlibpath_var=LIBPATH
11148 fi
11149 ;;
11150
11151 amigaos*)
11152 case $host_cpu in
11153 powerpc)
11154 # Since July 2007 AmigaOS4 officially supports .so libraries.
11155 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
11156 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11157 ;;
11158 m68k)
11159 library_names_spec='$libname.ixlibrary $libname.a'
11160 # Create ${libname}_ixlibrary.a entries in /sys/libs.
11161 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'
11162 ;;
11163 esac
11164 ;;
11165
11166 beos*)
11167 library_names_spec='${libname}${shared_ext}'
11168 dynamic_linker="$host_os ld.so"
11169 shlibpath_var=LIBRARY_PATH
11170 ;;
11171
11172 bsdi[45]*)
11173 version_type=linux
11174 need_version=no
11175 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11176 soname_spec='${libname}${release}${shared_ext}$major'
11177 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
11178 shlibpath_var=LD_LIBRARY_PATH
11179 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
11180 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
11181 # the default ld.so.conf also contains /usr/contrib/lib and
11182 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
11183 # libtool to hard-code these into programs
11184 ;;
11185
11186 cygwin* | mingw* | pw32* | cegcc*)
11187 version_type=windows
11188 shrext_cmds=".dll"
11189 need_version=no
11190 need_lib_prefix=no
11191
11192 case $GCC,$host_os in
11193 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
11194 library_names_spec='$libname.dll.a'
11195 # DLL is installed to $(libdir)/../bin by postinstall_cmds
11196 postinstall_cmds='base_file=`basename \${file}`~
11197 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
11198 dldir=$destdir/`dirname \$dlpath`~
11199 test -d \$dldir || mkdir -p \$dldir~
11200 $install_prog $dir/$dlname \$dldir/$dlname~
11201 chmod a+x \$dldir/$dlname~
11202 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
11203 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
11204 fi'
11205 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
11206 dlpath=$dir/\$dldll~
11207 $RM \$dlpath'
11208 shlibpath_overrides_runpath=yes
11209
11210 case $host_os in
11211 cygwin*)
11212 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
11213 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11214
11215 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/lib/w32api"
11216 ;;
11217 mingw* | cegcc*)
11218 # MinGW DLLs use traditional 'lib' prefix
11219 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11220 ;;
11221 pw32*)
11222 # pw32 DLLs use 'pw' prefix rather than 'lib'
11223 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
11224 ;;
11225 esac
11226 ;;
11227
11228 *)
11229 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
11230 ;;
11231 esac
11232 dynamic_linker='Win32 ld.exe'
11233 # FIXME: first we should search . and the directory the executable is in
11234 shlibpath_var=PATH
11235 ;;
11236
11237 darwin* | rhapsody*)
11238 dynamic_linker="$host_os dyld"
11239 version_type=darwin
11240 need_lib_prefix=no
11241 need_version=no
11242 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
11243 soname_spec='${libname}${release}${major}$shared_ext'
11244 shlibpath_overrides_runpath=yes
11245 shlibpath_var=DYLD_LIBRARY_PATH
11246 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
11247
11248 sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
11249 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
11250 ;;
11251
11252 dgux*)
11253 version_type=linux
11254 need_lib_prefix=no
11255 need_version=no
11256 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
11257 soname_spec='${libname}${release}${shared_ext}$major'
11258 shlibpath_var=LD_LIBRARY_PATH
11259 ;;
11260
11261 freebsd* | dragonfly*)
11262 # DragonFly does not have aout. When/if they implement a new
11263 # versioning mechanism, adjust this.
11264 if test -x /usr/bin/objformat; then
11265 objformat=`/usr/bin/objformat`
11266 else
11267 case $host_os in
11268 freebsd[23].*) objformat=aout ;;
11269 *) objformat=elf ;;
11270 esac
11271 fi
11272 version_type=freebsd-$objformat
11273 case $version_type in
11274 freebsd-elf*)
11275 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11276 need_version=no
11277 need_lib_prefix=no
11278 ;;
11279 freebsd-*)
11280 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
11281 need_version=yes
11282 ;;
11283 esac
11284 shlibpath_var=LD_LIBRARY_PATH
11285 case $host_os in
11286 freebsd2.*)
11287 shlibpath_overrides_runpath=yes
11288 ;;
11289 freebsd3.[01]* | freebsdelf3.[01]*)
11290 shlibpath_overrides_runpath=yes
11291 hardcode_into_libs=yes
11292 ;;
11293 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
11294 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
11295 shlibpath_overrides_runpath=no
11296 hardcode_into_libs=yes
11297 ;;
11298 *) # from 4.6 on, and DragonFly
11299 shlibpath_overrides_runpath=yes
11300 hardcode_into_libs=yes
11301 ;;
11302 esac
11303 ;;
11304
11305 haiku*)
11306 version_type=linux
11307 need_lib_prefix=no
11308 need_version=no
11309 dynamic_linker="$host_os runtime_loader"
11310 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
11311 soname_spec='${libname}${release}${shared_ext}$major'
11312 shlibpath_var=LIBRARY_PATH
11313 shlibpath_overrides_runpath=yes
11314 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
11315 hardcode_into_libs=yes
11316 ;;
11317
11318 hpux9* | hpux10* | hpux11*)
11319 # Give a soname corresponding to the major version so that dld.sl refuses to
11320 # link against other versions.
11321 version_type=sunos
11322 need_lib_prefix=no
11323 need_version=no
11324 case $host_cpu in
11325 ia64*)
11326 shrext_cmds='.so'
11327 hardcode_into_libs=yes
11328 dynamic_linker="$host_os dld.so"
11329 shlibpath_var=LD_LIBRARY_PATH
11330 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11331 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11332 soname_spec='${libname}${release}${shared_ext}$major'
11333 if test "X$HPUX_IA64_MODE" = X32; then
11334 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
11335 else
11336 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
11337 fi
11338 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11339 ;;
11340 hppa*64*)
11341 shrext_cmds='.sl'
11342 hardcode_into_libs=yes
11343 dynamic_linker="$host_os dld.sl"
11344 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
11345 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
11346 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11347 soname_spec='${libname}${release}${shared_ext}$major'
11348 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
11349 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
11350 ;;
11351 *)
11352 shrext_cmds='.sl'
11353 dynamic_linker="$host_os dld.sl"
11354 shlibpath_var=SHLIB_PATH
11355 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
11356 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11357 soname_spec='${libname}${release}${shared_ext}$major'
11358 ;;
11359 esac
11360 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
11361 postinstall_cmds='chmod 555 $lib'
11362 # or fails outright, so override atomically:
11363 install_override_mode=555
11364 ;;
11365
11366 interix[3-9]*)
11367 version_type=linux
11368 need_lib_prefix=no
11369 need_version=no
11370 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11371 soname_spec='${libname}${release}${shared_ext}$major'
11372 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
11373 shlibpath_var=LD_LIBRARY_PATH
11374 shlibpath_overrides_runpath=no
11375 hardcode_into_libs=yes
11376 ;;
11377
11378 irix5* | irix6* | nonstopux*)
11379 case $host_os in
11380 nonstopux*) version_type=nonstopux ;;
11381 *)
11382 if test "$lt_cv_prog_gnu_ld" = yes; then
11383 version_type=linux
11384 else
11385 version_type=irix
11386 fi ;;
11387 esac
11388 need_lib_prefix=no
11389 need_version=no
11390 soname_spec='${libname}${release}${shared_ext}$major'
11391 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
11392 case $host_os in
11393 irix5* | nonstopux*)
11394 libsuff= shlibsuff=
11395 ;;
11396 *)
11397 case $LD in # libtool.m4 will add one of these switches to LD
11398 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
11399 libsuff= shlibsuff= libmagic=32-bit;;
11400 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
11401 libsuff=32 shlibsuff=N32 libmagic=N32;;
11402 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
11403 libsuff=64 shlibsuff=64 libmagic=64-bit;;
11404 *) libsuff= shlibsuff= libmagic=never-match;;
11405 esac
11406 ;;
11407 esac
11408 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
11409 shlibpath_overrides_runpath=no
11410 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
11411 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
11412 hardcode_into_libs=yes
11413 ;;
11414
11415 # No shared lib support for Linux oldld, aout, or coff.
11416 linux*oldld* | linux*aout* | linux*coff*)
11417 dynamic_linker=no
11418 ;;
11419
11420 # This must be Linux ELF.
11421
11422 # uclinux* changes (here and below) have been submitted to the libtool
11423 # project, but have not yet been accepted: they are GCC-local changes
11424 # for the time being. (See
11425 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
11426 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
11427 version_type=linux
11428 need_lib_prefix=no
11429 need_version=no
11430 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11431 soname_spec='${libname}${release}${shared_ext}$major'
11432 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
11433 shlibpath_var=LD_LIBRARY_PATH
11434 shlibpath_overrides_runpath=no
11435
11436 # Some binutils ld are patched to set DT_RUNPATH
11437 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
11438 $as_echo_n "(cached) " >&6
11439 else
11440 lt_cv_shlibpath_overrides_runpath=no
11441 save_LDFLAGS=$LDFLAGS
11442 save_libdir=$libdir
11443 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
11444 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
11445 if test x$gcc_no_link = xyes; then
11446 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11447 fi
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11450
11451 int
11452 main ()
11453 {
11454
11455 ;
11456 return 0;
11457 }
11458 _ACEOF
11459 if ac_fn_c_try_link "$LINENO"; then :
11460 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
11461 lt_cv_shlibpath_overrides_runpath=yes
11462 fi
11463 fi
11464 rm -f core conftest.err conftest.$ac_objext \
11465 conftest$ac_exeext conftest.$ac_ext
11466 LDFLAGS=$save_LDFLAGS
11467 libdir=$save_libdir
11468
11469 fi
11470
11471 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
11472
11473 # This implies no fast_install, which is unacceptable.
11474 # Some rework will be needed to allow for fast_install
11475 # before this can be enabled.
11476 hardcode_into_libs=yes
11477
11478 # Append ld.so.conf contents to the search path
11479 if test -f /etc/ld.so.conf; then
11480 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' ' '`
11481 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
11482 fi
11483
11484 # We used to test for /lib/ld.so.1 and disable shared libraries on
11485 # powerpc, because MkLinux only supported shared libraries with the
11486 # GNU dynamic linker. Since this was broken with cross compilers,
11487 # most powerpc-linux boxes support dynamic linking these days and
11488 # people can always --disable-shared, the test was removed, and we
11489 # assume the GNU/Linux dynamic linker is in use.
11490 dynamic_linker='GNU/Linux ld.so'
11491 ;;
11492
11493 netbsd*)
11494 version_type=sunos
11495 need_lib_prefix=no
11496 need_version=no
11497 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
11498 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11499 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11500 dynamic_linker='NetBSD (a.out) ld.so'
11501 else
11502 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
11503 soname_spec='${libname}${release}${shared_ext}$major'
11504 dynamic_linker='NetBSD ld.elf_so'
11505 fi
11506 shlibpath_var=LD_LIBRARY_PATH
11507 shlibpath_overrides_runpath=yes
11508 hardcode_into_libs=yes
11509 ;;
11510
11511 newsos6)
11512 version_type=linux
11513 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11514 shlibpath_var=LD_LIBRARY_PATH
11515 shlibpath_overrides_runpath=yes
11516 ;;
11517
11518 *nto* | *qnx*)
11519 version_type=qnx
11520 need_lib_prefix=no
11521 need_version=no
11522 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11523 soname_spec='${libname}${release}${shared_ext}$major'
11524 shlibpath_var=LD_LIBRARY_PATH
11525 shlibpath_overrides_runpath=no
11526 hardcode_into_libs=yes
11527 dynamic_linker='ldqnx.so'
11528 ;;
11529
11530 openbsd*)
11531 version_type=sunos
11532 sys_lib_dlsearch_path_spec="/usr/lib"
11533 need_lib_prefix=no
11534 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
11535 case $host_os in
11536 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
11537 *) need_version=no ;;
11538 esac
11539 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11540 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
11541 shlibpath_var=LD_LIBRARY_PATH
11542 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
11543 case $host_os in
11544 openbsd2.[89] | openbsd2.[89].*)
11545 shlibpath_overrides_runpath=no
11546 ;;
11547 *)
11548 shlibpath_overrides_runpath=yes
11549 ;;
11550 esac
11551 else
11552 shlibpath_overrides_runpath=yes
11553 fi
11554 ;;
11555
11556 os2*)
11557 libname_spec='$name'
11558 shrext_cmds=".dll"
11559 need_lib_prefix=no
11560 library_names_spec='$libname${shared_ext} $libname.a'
11561 dynamic_linker='OS/2 ld.exe'
11562 shlibpath_var=LIBPATH
11563 ;;
11564
11565 osf3* | osf4* | osf5*)
11566 version_type=osf
11567 need_lib_prefix=no
11568 need_version=no
11569 soname_spec='${libname}${release}${shared_ext}$major'
11570 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11571 shlibpath_var=LD_LIBRARY_PATH
11572 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
11573 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
11574 ;;
11575
11576 rdos*)
11577 dynamic_linker=no
11578 ;;
11579
11580 solaris*)
11581 version_type=linux
11582 need_lib_prefix=no
11583 need_version=no
11584 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11585 soname_spec='${libname}${release}${shared_ext}$major'
11586 shlibpath_var=LD_LIBRARY_PATH
11587 shlibpath_overrides_runpath=yes
11588 hardcode_into_libs=yes
11589 # ldd complains unless libraries are executable
11590 postinstall_cmds='chmod +x $lib'
11591 ;;
11592
11593 sunos4*)
11594 version_type=sunos
11595 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
11596 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
11597 shlibpath_var=LD_LIBRARY_PATH
11598 shlibpath_overrides_runpath=yes
11599 if test "$with_gnu_ld" = yes; then
11600 need_lib_prefix=no
11601 fi
11602 need_version=yes
11603 ;;
11604
11605 sysv4 | sysv4.3*)
11606 version_type=linux
11607 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11608 soname_spec='${libname}${release}${shared_ext}$major'
11609 shlibpath_var=LD_LIBRARY_PATH
11610 case $host_vendor in
11611 sni)
11612 shlibpath_overrides_runpath=no
11613 need_lib_prefix=no
11614 runpath_var=LD_RUN_PATH
11615 ;;
11616 siemens)
11617 need_lib_prefix=no
11618 ;;
11619 motorola)
11620 need_lib_prefix=no
11621 need_version=no
11622 shlibpath_overrides_runpath=no
11623 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
11624 ;;
11625 esac
11626 ;;
11627
11628 sysv4*MP*)
11629 if test -d /usr/nec ;then
11630 version_type=linux
11631 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
11632 soname_spec='$libname${shared_ext}.$major'
11633 shlibpath_var=LD_LIBRARY_PATH
11634 fi
11635 ;;
11636
11637 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
11638 version_type=freebsd-elf
11639 need_lib_prefix=no
11640 need_version=no
11641 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
11642 soname_spec='${libname}${release}${shared_ext}$major'
11643 shlibpath_var=LD_LIBRARY_PATH
11644 shlibpath_overrides_runpath=yes
11645 hardcode_into_libs=yes
11646 if test "$with_gnu_ld" = yes; then
11647 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
11648 else
11649 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
11650 case $host_os in
11651 sco3.2v5*)
11652 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
11653 ;;
11654 esac
11655 fi
11656 sys_lib_dlsearch_path_spec='/usr/lib'
11657 ;;
11658
11659 tpf*)
11660 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
11661 version_type=linux
11662 need_lib_prefix=no
11663 need_version=no
11664 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11665 shlibpath_var=LD_LIBRARY_PATH
11666 shlibpath_overrides_runpath=no
11667 hardcode_into_libs=yes
11668 ;;
11669
11670 uts4*)
11671 version_type=linux
11672 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
11673 soname_spec='${libname}${release}${shared_ext}$major'
11674 shlibpath_var=LD_LIBRARY_PATH
11675 ;;
11676
11677 *)
11678 dynamic_linker=no
11679 ;;
11680 esac
11681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
11682 $as_echo "$dynamic_linker" >&6; }
11683 test "$dynamic_linker" = no && can_build_shared=no
11684
11685 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
11686 if test "$GCC" = yes; then
11687 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
11688 fi
11689
11690 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
11691 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
11692 fi
11693 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
11694 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
11695 fi
11696
11697
11698
11699
11700
11701
11702
11703
11704
11705
11706
11707
11708
11709
11710
11711
11712
11713
11714
11715
11716
11717
11718
11719
11720
11721
11722
11723
11724
11725
11726
11727
11728
11729
11730
11731
11732
11733
11734
11735
11736
11737
11738
11739
11740
11741
11742
11743
11744
11745
11746
11747
11748
11749
11750
11751
11752
11753
11754
11755
11756
11757
11758
11759
11760
11761
11762
11763
11764
11765
11766
11767
11768
11769
11770
11771
11772
11773
11774
11775
11776
11777
11778
11779
11780
11781
11782
11783
11784
11785
11786
11787
11788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
11789 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
11790 hardcode_action=
11791 if test -n "$hardcode_libdir_flag_spec" ||
11792 test -n "$runpath_var" ||
11793 test "X$hardcode_automatic" = "Xyes" ; then
11794
11795 # We can hardcode non-existent directories.
11796 if test "$hardcode_direct" != no &&
11797 # If the only mechanism to avoid hardcoding is shlibpath_var, we
11798 # have to relink, otherwise we might link with an installed library
11799 # when we should be linking with a yet-to-be-installed one
11800 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
11801 test "$hardcode_minus_L" != no; then
11802 # Linking always hardcodes the temporary library directory.
11803 hardcode_action=relink
11804 else
11805 # We can link without hardcoding, and we can hardcode nonexisting dirs.
11806 hardcode_action=immediate
11807 fi
11808 else
11809 # We cannot hardcode anything, or else we can only hardcode existing
11810 # directories.
11811 hardcode_action=unsupported
11812 fi
11813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action" >&5
11814 $as_echo "$hardcode_action" >&6; }
11815
11816 if test "$hardcode_action" = relink ||
11817 test "$inherit_rpath" = yes; then
11818 # Fast installation is not supported
11819 enable_fast_install=no
11820 elif test "$shlibpath_overrides_runpath" = yes ||
11821 test "$enable_shared" = no; then
11822 # Fast installation is not necessary
11823 enable_fast_install=needless
11824 fi
11825
11826
11827
11828
11829
11830
11831 if test "x$enable_dlopen" != xyes; then
11832 enable_dlopen=unknown
11833 enable_dlopen_self=unknown
11834 enable_dlopen_self_static=unknown
11835 else
11836 lt_cv_dlopen=no
11837 lt_cv_dlopen_libs=
11838
11839 case $host_os in
11840 beos*)
11841 lt_cv_dlopen="load_add_on"
11842 lt_cv_dlopen_libs=
11843 lt_cv_dlopen_self=yes
11844 ;;
11845
11846 mingw* | pw32* | cegcc*)
11847 lt_cv_dlopen="LoadLibrary"
11848 lt_cv_dlopen_libs=
11849 ;;
11850
11851 cygwin*)
11852 lt_cv_dlopen="dlopen"
11853 lt_cv_dlopen_libs=
11854 ;;
11855
11856 darwin*)
11857 # if libdl is installed we need to link against it
11858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11859 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11860 if ${ac_cv_lib_dl_dlopen+:} false; then :
11861 $as_echo_n "(cached) " >&6
11862 else
11863 ac_check_lib_save_LIBS=$LIBS
11864 LIBS="-ldl $LIBS"
11865 if test x$gcc_no_link = xyes; then
11866 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11867 fi
11868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11869 /* end confdefs.h. */
11870
11871 /* Override any GCC internal prototype to avoid an error.
11872 Use char because int might match the return type of a GCC
11873 builtin and then its argument prototype would still apply. */
11874 #ifdef __cplusplus
11875 extern "C"
11876 #endif
11877 char dlopen ();
11878 int
11879 main ()
11880 {
11881 return dlopen ();
11882 ;
11883 return 0;
11884 }
11885 _ACEOF
11886 if ac_fn_c_try_link "$LINENO"; then :
11887 ac_cv_lib_dl_dlopen=yes
11888 else
11889 ac_cv_lib_dl_dlopen=no
11890 fi
11891 rm -f core conftest.err conftest.$ac_objext \
11892 conftest$ac_exeext conftest.$ac_ext
11893 LIBS=$ac_check_lib_save_LIBS
11894 fi
11895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11896 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11897 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
11898 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
11899 else
11900
11901 lt_cv_dlopen="dyld"
11902 lt_cv_dlopen_libs=
11903 lt_cv_dlopen_self=yes
11904
11905 fi
11906
11907 ;;
11908
11909 *)
11910 ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
11911 if test "x$ac_cv_func_shl_load" = xyes; then :
11912 lt_cv_dlopen="shl_load"
11913 else
11914 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shl_load in -ldld" >&5
11915 $as_echo_n "checking for shl_load in -ldld... " >&6; }
11916 if ${ac_cv_lib_dld_shl_load+:} false; then :
11917 $as_echo_n "(cached) " >&6
11918 else
11919 ac_check_lib_save_LIBS=$LIBS
11920 LIBS="-ldld $LIBS"
11921 if test x$gcc_no_link = xyes; then
11922 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11923 fi
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926
11927 /* Override any GCC internal prototype to avoid an error.
11928 Use char because int might match the return type of a GCC
11929 builtin and then its argument prototype would still apply. */
11930 #ifdef __cplusplus
11931 extern "C"
11932 #endif
11933 char shl_load ();
11934 int
11935 main ()
11936 {
11937 return shl_load ();
11938 ;
11939 return 0;
11940 }
11941 _ACEOF
11942 if ac_fn_c_try_link "$LINENO"; then :
11943 ac_cv_lib_dld_shl_load=yes
11944 else
11945 ac_cv_lib_dld_shl_load=no
11946 fi
11947 rm -f core conftest.err conftest.$ac_objext \
11948 conftest$ac_exeext conftest.$ac_ext
11949 LIBS=$ac_check_lib_save_LIBS
11950 fi
11951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_shl_load" >&5
11952 $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
11953 if test "x$ac_cv_lib_dld_shl_load" = xyes; then :
11954 lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
11955 else
11956 ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
11957 if test "x$ac_cv_func_dlopen" = xyes; then :
11958 lt_cv_dlopen="dlopen"
11959 else
11960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
11961 $as_echo_n "checking for dlopen in -ldl... " >&6; }
11962 if ${ac_cv_lib_dl_dlopen+:} false; then :
11963 $as_echo_n "(cached) " >&6
11964 else
11965 ac_check_lib_save_LIBS=$LIBS
11966 LIBS="-ldl $LIBS"
11967 if test x$gcc_no_link = xyes; then
11968 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
11969 fi
11970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11971 /* end confdefs.h. */
11972
11973 /* Override any GCC internal prototype to avoid an error.
11974 Use char because int might match the return type of a GCC
11975 builtin and then its argument prototype would still apply. */
11976 #ifdef __cplusplus
11977 extern "C"
11978 #endif
11979 char dlopen ();
11980 int
11981 main ()
11982 {
11983 return dlopen ();
11984 ;
11985 return 0;
11986 }
11987 _ACEOF
11988 if ac_fn_c_try_link "$LINENO"; then :
11989 ac_cv_lib_dl_dlopen=yes
11990 else
11991 ac_cv_lib_dl_dlopen=no
11992 fi
11993 rm -f core conftest.err conftest.$ac_objext \
11994 conftest$ac_exeext conftest.$ac_ext
11995 LIBS=$ac_check_lib_save_LIBS
11996 fi
11997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
11998 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
11999 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
12000 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
12001 else
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -lsvld" >&5
12003 $as_echo_n "checking for dlopen in -lsvld... " >&6; }
12004 if ${ac_cv_lib_svld_dlopen+:} false; then :
12005 $as_echo_n "(cached) " >&6
12006 else
12007 ac_check_lib_save_LIBS=$LIBS
12008 LIBS="-lsvld $LIBS"
12009 if test x$gcc_no_link = xyes; then
12010 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12011 fi
12012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12013 /* end confdefs.h. */
12014
12015 /* Override any GCC internal prototype to avoid an error.
12016 Use char because int might match the return type of a GCC
12017 builtin and then its argument prototype would still apply. */
12018 #ifdef __cplusplus
12019 extern "C"
12020 #endif
12021 char dlopen ();
12022 int
12023 main ()
12024 {
12025 return dlopen ();
12026 ;
12027 return 0;
12028 }
12029 _ACEOF
12030 if ac_fn_c_try_link "$LINENO"; then :
12031 ac_cv_lib_svld_dlopen=yes
12032 else
12033 ac_cv_lib_svld_dlopen=no
12034 fi
12035 rm -f core conftest.err conftest.$ac_objext \
12036 conftest$ac_exeext conftest.$ac_ext
12037 LIBS=$ac_check_lib_save_LIBS
12038 fi
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_svld_dlopen" >&5
12040 $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
12041 if test "x$ac_cv_lib_svld_dlopen" = xyes; then :
12042 lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
12043 else
12044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld_link in -ldld" >&5
12045 $as_echo_n "checking for dld_link in -ldld... " >&6; }
12046 if ${ac_cv_lib_dld_dld_link+:} false; then :
12047 $as_echo_n "(cached) " >&6
12048 else
12049 ac_check_lib_save_LIBS=$LIBS
12050 LIBS="-ldld $LIBS"
12051 if test x$gcc_no_link = xyes; then
12052 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12053 fi
12054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12055 /* end confdefs.h. */
12056
12057 /* Override any GCC internal prototype to avoid an error.
12058 Use char because int might match the return type of a GCC
12059 builtin and then its argument prototype would still apply. */
12060 #ifdef __cplusplus
12061 extern "C"
12062 #endif
12063 char dld_link ();
12064 int
12065 main ()
12066 {
12067 return dld_link ();
12068 ;
12069 return 0;
12070 }
12071 _ACEOF
12072 if ac_fn_c_try_link "$LINENO"; then :
12073 ac_cv_lib_dld_dld_link=yes
12074 else
12075 ac_cv_lib_dld_dld_link=no
12076 fi
12077 rm -f core conftest.err conftest.$ac_objext \
12078 conftest$ac_exeext conftest.$ac_ext
12079 LIBS=$ac_check_lib_save_LIBS
12080 fi
12081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dld_dld_link" >&5
12082 $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
12083 if test "x$ac_cv_lib_dld_dld_link" = xyes; then :
12084 lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
12085 fi
12086
12087
12088 fi
12089
12090
12091 fi
12092
12093
12094 fi
12095
12096
12097 fi
12098
12099
12100 fi
12101
12102 ;;
12103 esac
12104
12105 if test "x$lt_cv_dlopen" != xno; then
12106 enable_dlopen=yes
12107 else
12108 enable_dlopen=no
12109 fi
12110
12111 case $lt_cv_dlopen in
12112 dlopen)
12113 save_CPPFLAGS="$CPPFLAGS"
12114 test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
12115
12116 save_LDFLAGS="$LDFLAGS"
12117 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
12118
12119 save_LIBS="$LIBS"
12120 LIBS="$lt_cv_dlopen_libs $LIBS"
12121
12122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a program can dlopen itself" >&5
12123 $as_echo_n "checking whether a program can dlopen itself... " >&6; }
12124 if ${lt_cv_dlopen_self+:} false; then :
12125 $as_echo_n "(cached) " >&6
12126 else
12127 if test "$cross_compiling" = yes; then :
12128 lt_cv_dlopen_self=cross
12129 else
12130 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12131 lt_status=$lt_dlunknown
12132 cat > conftest.$ac_ext <<_LT_EOF
12133 #line 12133 "configure"
12134 #include "confdefs.h"
12135
12136 #if HAVE_DLFCN_H
12137 #include <dlfcn.h>
12138 #endif
12139
12140 #include <stdio.h>
12141
12142 #ifdef RTLD_GLOBAL
12143 # define LT_DLGLOBAL RTLD_GLOBAL
12144 #else
12145 # ifdef DL_GLOBAL
12146 # define LT_DLGLOBAL DL_GLOBAL
12147 # else
12148 # define LT_DLGLOBAL 0
12149 # endif
12150 #endif
12151
12152 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12153 find out it does not work in some platform. */
12154 #ifndef LT_DLLAZY_OR_NOW
12155 # ifdef RTLD_LAZY
12156 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12157 # else
12158 # ifdef DL_LAZY
12159 # define LT_DLLAZY_OR_NOW DL_LAZY
12160 # else
12161 # ifdef RTLD_NOW
12162 # define LT_DLLAZY_OR_NOW RTLD_NOW
12163 # else
12164 # ifdef DL_NOW
12165 # define LT_DLLAZY_OR_NOW DL_NOW
12166 # else
12167 # define LT_DLLAZY_OR_NOW 0
12168 # endif
12169 # endif
12170 # endif
12171 # endif
12172 #endif
12173
12174 /* When -fvisbility=hidden is used, assume the code has been annotated
12175 correspondingly for the symbols needed. */
12176 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12177 void fnord () __attribute__((visibility("default")));
12178 #endif
12179
12180 void fnord () { int i=42; }
12181 int main ()
12182 {
12183 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12184 int status = $lt_dlunknown;
12185
12186 if (self)
12187 {
12188 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12189 else
12190 {
12191 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12192 else puts (dlerror ());
12193 }
12194 /* dlclose (self); */
12195 }
12196 else
12197 puts (dlerror ());
12198
12199 return status;
12200 }
12201 _LT_EOF
12202 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12203 (eval $ac_link) 2>&5
12204 ac_status=$?
12205 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12206 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12207 (./conftest; exit; ) >&5 2>/dev/null
12208 lt_status=$?
12209 case x$lt_status in
12210 x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
12211 x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
12212 x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
12213 esac
12214 else :
12215 # compilation failed
12216 lt_cv_dlopen_self=no
12217 fi
12218 fi
12219 rm -fr conftest*
12220
12221
12222 fi
12223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self" >&5
12224 $as_echo "$lt_cv_dlopen_self" >&6; }
12225
12226 if test "x$lt_cv_dlopen_self" = xyes; then
12227 wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
12228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether a statically linked program can dlopen itself" >&5
12229 $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
12230 if ${lt_cv_dlopen_self_static+:} false; then :
12231 $as_echo_n "(cached) " >&6
12232 else
12233 if test "$cross_compiling" = yes; then :
12234 lt_cv_dlopen_self_static=cross
12235 else
12236 lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
12237 lt_status=$lt_dlunknown
12238 cat > conftest.$ac_ext <<_LT_EOF
12239 #line 12239 "configure"
12240 #include "confdefs.h"
12241
12242 #if HAVE_DLFCN_H
12243 #include <dlfcn.h>
12244 #endif
12245
12246 #include <stdio.h>
12247
12248 #ifdef RTLD_GLOBAL
12249 # define LT_DLGLOBAL RTLD_GLOBAL
12250 #else
12251 # ifdef DL_GLOBAL
12252 # define LT_DLGLOBAL DL_GLOBAL
12253 # else
12254 # define LT_DLGLOBAL 0
12255 # endif
12256 #endif
12257
12258 /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
12259 find out it does not work in some platform. */
12260 #ifndef LT_DLLAZY_OR_NOW
12261 # ifdef RTLD_LAZY
12262 # define LT_DLLAZY_OR_NOW RTLD_LAZY
12263 # else
12264 # ifdef DL_LAZY
12265 # define LT_DLLAZY_OR_NOW DL_LAZY
12266 # else
12267 # ifdef RTLD_NOW
12268 # define LT_DLLAZY_OR_NOW RTLD_NOW
12269 # else
12270 # ifdef DL_NOW
12271 # define LT_DLLAZY_OR_NOW DL_NOW
12272 # else
12273 # define LT_DLLAZY_OR_NOW 0
12274 # endif
12275 # endif
12276 # endif
12277 # endif
12278 #endif
12279
12280 /* When -fvisbility=hidden is used, assume the code has been annotated
12281 correspondingly for the symbols needed. */
12282 #if defined(__GNUC__) && (((__GNUC__ == 3) && (__GNUC_MINOR__ >= 3)) || (__GNUC__ > 3))
12283 void fnord () __attribute__((visibility("default")));
12284 #endif
12285
12286 void fnord () { int i=42; }
12287 int main ()
12288 {
12289 void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
12290 int status = $lt_dlunknown;
12291
12292 if (self)
12293 {
12294 if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
12295 else
12296 {
12297 if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
12298 else puts (dlerror ());
12299 }
12300 /* dlclose (self); */
12301 }
12302 else
12303 puts (dlerror ());
12304
12305 return status;
12306 }
12307 _LT_EOF
12308 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_link\""; } >&5
12309 (eval $ac_link) 2>&5
12310 ac_status=$?
12311 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
12312 test $ac_status = 0; } && test -s conftest${ac_exeext} 2>/dev/null; then
12313 (./conftest; exit; ) >&5 2>/dev/null
12314 lt_status=$?
12315 case x$lt_status in
12316 x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
12317 x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
12318 x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
12319 esac
12320 else :
12321 # compilation failed
12322 lt_cv_dlopen_self_static=no
12323 fi
12324 fi
12325 rm -fr conftest*
12326
12327
12328 fi
12329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_dlopen_self_static" >&5
12330 $as_echo "$lt_cv_dlopen_self_static" >&6; }
12331 fi
12332
12333 CPPFLAGS="$save_CPPFLAGS"
12334 LDFLAGS="$save_LDFLAGS"
12335 LIBS="$save_LIBS"
12336 ;;
12337 esac
12338
12339 case $lt_cv_dlopen_self in
12340 yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
12341 *) enable_dlopen_self=unknown ;;
12342 esac
12343
12344 case $lt_cv_dlopen_self_static in
12345 yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
12346 *) enable_dlopen_self_static=unknown ;;
12347 esac
12348 fi
12349
12350
12351
12352
12353
12354
12355
12356
12357
12358
12359
12360
12361
12362
12363
12364
12365
12366 striplib=
12367 old_striplib=
12368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stripping libraries is possible" >&5
12369 $as_echo_n "checking whether stripping libraries is possible... " >&6; }
12370 if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
12371 test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
12372 test -z "$striplib" && striplib="$STRIP --strip-unneeded"
12373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12374 $as_echo "yes" >&6; }
12375 else
12376 # FIXME - insert some real tests, host_os isn't really good enough
12377 case $host_os in
12378 darwin*)
12379 if test -n "$STRIP" ; then
12380 striplib="$STRIP -x"
12381 old_striplib="$STRIP -S"
12382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12383 $as_echo "yes" >&6; }
12384 else
12385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12386 $as_echo "no" >&6; }
12387 fi
12388 ;;
12389 *)
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12391 $as_echo "no" >&6; }
12392 ;;
12393 esac
12394 fi
12395
12396
12397
12398
12399
12400
12401
12402
12403
12404
12405
12406
12407 # Report which library types will actually be built
12408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if libtool supports shared libraries" >&5
12409 $as_echo_n "checking if libtool supports shared libraries... " >&6; }
12410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $can_build_shared" >&5
12411 $as_echo "$can_build_shared" >&6; }
12412
12413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build shared libraries" >&5
12414 $as_echo_n "checking whether to build shared libraries... " >&6; }
12415 test "$can_build_shared" = "no" && enable_shared=no
12416
12417 # On AIX, shared libraries and static libraries use the same namespace, and
12418 # are all built from PIC.
12419 case $host_os in
12420 aix3*)
12421 test "$enable_shared" = yes && enable_static=no
12422 if test -n "$RANLIB"; then
12423 archive_cmds="$archive_cmds~\$RANLIB \$lib"
12424 postinstall_cmds='$RANLIB $lib'
12425 fi
12426 ;;
12427
12428 aix[4-9]*)
12429 if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
12430 test "$enable_shared" = yes && enable_static=no
12431 fi
12432 ;;
12433 esac
12434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_shared" >&5
12435 $as_echo "$enable_shared" >&6; }
12436
12437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build static libraries" >&5
12438 $as_echo_n "checking whether to build static libraries... " >&6; }
12439 # Make sure either enable_shared or enable_static is yes.
12440 test "$enable_shared" = yes || enable_static=yes
12441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_static" >&5
12442 $as_echo "$enable_static" >&6; }
12443
12444
12445
12446
12447 fi
12448 ac_ext=c
12449 ac_cpp='$CPP $CPPFLAGS'
12450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12453
12454 CC="$lt_save_CC"
12455
12456 if test -n "$CXX" && ( test "X$CXX" != "Xno" &&
12457 ( (test "X$CXX" = "Xg++" && `g++ -v >/dev/null 2>&1` ) ||
12458 (test "X$CXX" != "Xg++"))) ; then
12459 ac_ext=cpp
12460 ac_cpp='$CXXCPP $CPPFLAGS'
12461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
12465 $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
12466 if test -z "$CXXCPP"; then
12467 if ${ac_cv_prog_CXXCPP+:} false; then :
12468 $as_echo_n "(cached) " >&6
12469 else
12470 # Double quotes because CXXCPP needs to be expanded
12471 for CXXCPP in "$CXX -E" "/lib/cpp"
12472 do
12473 ac_preproc_ok=false
12474 for ac_cxx_preproc_warn_flag in '' yes
12475 do
12476 # Use a header file that comes with gcc, so configuring glibc
12477 # with a fresh cross-compiler works.
12478 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12479 # <limits.h> exists even on freestanding compilers.
12480 # On the NeXT, cc -E runs the code through the compiler's parser,
12481 # not just through cpp. "Syntax error" is here to catch this case.
12482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12483 /* end confdefs.h. */
12484 #ifdef __STDC__
12485 # include <limits.h>
12486 #else
12487 # include <assert.h>
12488 #endif
12489 Syntax error
12490 _ACEOF
12491 if ac_fn_cxx_try_cpp "$LINENO"; then :
12492
12493 else
12494 # Broken: fails on valid input.
12495 continue
12496 fi
12497 rm -f conftest.err conftest.i conftest.$ac_ext
12498
12499 # OK, works on sane cases. Now check whether nonexistent headers
12500 # can be detected and how.
12501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12502 /* end confdefs.h. */
12503 #include <ac_nonexistent.h>
12504 _ACEOF
12505 if ac_fn_cxx_try_cpp "$LINENO"; then :
12506 # Broken: success on invalid input.
12507 continue
12508 else
12509 # Passes both tests.
12510 ac_preproc_ok=:
12511 break
12512 fi
12513 rm -f conftest.err conftest.i conftest.$ac_ext
12514
12515 done
12516 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12517 rm -f conftest.i conftest.err conftest.$ac_ext
12518 if $ac_preproc_ok; then :
12519 break
12520 fi
12521
12522 done
12523 ac_cv_prog_CXXCPP=$CXXCPP
12524
12525 fi
12526 CXXCPP=$ac_cv_prog_CXXCPP
12527 else
12528 ac_cv_prog_CXXCPP=$CXXCPP
12529 fi
12530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
12531 $as_echo "$CXXCPP" >&6; }
12532 ac_preproc_ok=false
12533 for ac_cxx_preproc_warn_flag in '' yes
12534 do
12535 # Use a header file that comes with gcc, so configuring glibc
12536 # with a fresh cross-compiler works.
12537 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
12538 # <limits.h> exists even on freestanding compilers.
12539 # On the NeXT, cc -E runs the code through the compiler's parser,
12540 # not just through cpp. "Syntax error" is here to catch this case.
12541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12542 /* end confdefs.h. */
12543 #ifdef __STDC__
12544 # include <limits.h>
12545 #else
12546 # include <assert.h>
12547 #endif
12548 Syntax error
12549 _ACEOF
12550 if ac_fn_cxx_try_cpp "$LINENO"; then :
12551
12552 else
12553 # Broken: fails on valid input.
12554 continue
12555 fi
12556 rm -f conftest.err conftest.i conftest.$ac_ext
12557
12558 # OK, works on sane cases. Now check whether nonexistent headers
12559 # can be detected and how.
12560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12561 /* end confdefs.h. */
12562 #include <ac_nonexistent.h>
12563 _ACEOF
12564 if ac_fn_cxx_try_cpp "$LINENO"; then :
12565 # Broken: success on invalid input.
12566 continue
12567 else
12568 # Passes both tests.
12569 ac_preproc_ok=:
12570 break
12571 fi
12572 rm -f conftest.err conftest.i conftest.$ac_ext
12573
12574 done
12575 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
12576 rm -f conftest.i conftest.err conftest.$ac_ext
12577 if $ac_preproc_ok; then :
12578
12579 else
12580 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
12581 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
12582 as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
12583 See \`config.log' for more details" "$LINENO" 5; }
12584 fi
12585
12586 ac_ext=c
12587 ac_cpp='$CPP $CPPFLAGS'
12588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12591
12592 else
12593 _lt_caught_CXX_error=yes
12594 fi
12595
12596 ac_ext=cpp
12597 ac_cpp='$CXXCPP $CPPFLAGS'
12598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
12601
12602 archive_cmds_need_lc_CXX=no
12603 allow_undefined_flag_CXX=
12604 always_export_symbols_CXX=no
12605 archive_expsym_cmds_CXX=
12606 compiler_needs_object_CXX=no
12607 export_dynamic_flag_spec_CXX=
12608 hardcode_direct_CXX=no
12609 hardcode_direct_absolute_CXX=no
12610 hardcode_libdir_flag_spec_CXX=
12611 hardcode_libdir_flag_spec_ld_CXX=
12612 hardcode_libdir_separator_CXX=
12613 hardcode_minus_L_CXX=no
12614 hardcode_shlibpath_var_CXX=unsupported
12615 hardcode_automatic_CXX=no
12616 inherit_rpath_CXX=no
12617 module_cmds_CXX=
12618 module_expsym_cmds_CXX=
12619 link_all_deplibs_CXX=unknown
12620 old_archive_cmds_CXX=$old_archive_cmds
12621 reload_flag_CXX=$reload_flag
12622 reload_cmds_CXX=$reload_cmds
12623 no_undefined_flag_CXX=
12624 whole_archive_flag_spec_CXX=
12625 enable_shared_with_static_runtimes_CXX=no
12626
12627 # Source file extension for C++ test sources.
12628 ac_ext=cpp
12629
12630 # Object file extension for compiled C++ test sources.
12631 objext=o
12632 objext_CXX=$objext
12633
12634 # No sense in running all these tests if we already determined that
12635 # the CXX compiler isn't working. Some variables (like enable_shared)
12636 # are currently assumed to apply to all compilers on this platform,
12637 # and will be corrupted by setting them based on a non-working compiler.
12638 if test "$_lt_caught_CXX_error" != yes; then
12639 # Code to be used in simple compile tests
12640 lt_simple_compile_test_code="int some_variable = 0;"
12641
12642 # Code to be used in simple link tests
12643 lt_simple_link_test_code='int main(int, char *[]) { return(0); }'
12644
12645 # ltmain only uses $CC for tagged configurations so make sure $CC is set.
12646
12647
12648
12649
12650
12651
12652 # If no C compiler was specified, use CC.
12653 LTCC=${LTCC-"$CC"}
12654
12655 # If no C compiler flags were specified, use CFLAGS.
12656 LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
12657
12658 # Allow CC to be a program name with arguments.
12659 compiler=$CC
12660
12661
12662 # save warnings/boilerplate of simple test code
12663 ac_outfile=conftest.$ac_objext
12664 echo "$lt_simple_compile_test_code" >conftest.$ac_ext
12665 eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12666 _lt_compiler_boilerplate=`cat conftest.err`
12667 $RM conftest*
12668
12669 ac_outfile=conftest.$ac_objext
12670 echo "$lt_simple_link_test_code" >conftest.$ac_ext
12671 eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
12672 _lt_linker_boilerplate=`cat conftest.err`
12673 $RM -r conftest*
12674
12675
12676 # Allow CC to be a program name with arguments.
12677 lt_save_CC=$CC
12678 lt_save_LD=$LD
12679 lt_save_GCC=$GCC
12680 GCC=$GXX
12681 lt_save_with_gnu_ld=$with_gnu_ld
12682 lt_save_path_LD=$lt_cv_path_LD
12683 if test -n "${lt_cv_prog_gnu_ldcxx+set}"; then
12684 lt_cv_prog_gnu_ld=$lt_cv_prog_gnu_ldcxx
12685 else
12686 $as_unset lt_cv_prog_gnu_ld
12687 fi
12688 if test -n "${lt_cv_path_LDCXX+set}"; then
12689 lt_cv_path_LD=$lt_cv_path_LDCXX
12690 else
12691 $as_unset lt_cv_path_LD
12692 fi
12693 test -z "${LDCXX+set}" || LD=$LDCXX
12694 CC=${CXX-"c++"}
12695 compiler=$CC
12696 compiler_CXX=$CC
12697 for cc_temp in $compiler""; do
12698 case $cc_temp in
12699 compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
12700 distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
12701 \-*) ;;
12702 *) break;;
12703 esac
12704 done
12705 cc_basename=`$ECHO "$cc_temp" | $SED "s%.*/%%; s%^$host_alias-%%"`
12706
12707
12708 if test -n "$compiler"; then
12709 # We don't want -fno-exception when compiling C++ code, so set the
12710 # no_builtin_flag separately
12711 if test "$GXX" = yes; then
12712 lt_prog_compiler_no_builtin_flag_CXX=' -fno-builtin'
12713 else
12714 lt_prog_compiler_no_builtin_flag_CXX=
12715 fi
12716
12717 if test "$GXX" = yes; then
12718 # Set up default GNU C++ configuration
12719
12720
12721
12722 # Check whether --with-gnu-ld was given.
12723 if test "${with_gnu_ld+set}" = set; then :
12724 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
12725 else
12726 with_gnu_ld=no
12727 fi
12728
12729 ac_prog=ld
12730 if test "$GCC" = yes; then
12731 # Check if gcc -print-prog-name=ld gives a path.
12732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
12733 $as_echo_n "checking for ld used by $CC... " >&6; }
12734 case $host in
12735 *-*-mingw*)
12736 # gcc leaves a trailing carriage return which upsets mingw
12737 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
12738 *)
12739 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
12740 esac
12741 case $ac_prog in
12742 # Accept absolute paths.
12743 [\\/]* | ?:[\\/]*)
12744 re_direlt='/[^/][^/]*/\.\./'
12745 # Canonicalize the pathname of ld
12746 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
12747 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
12748 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
12749 done
12750 test -z "$LD" && LD="$ac_prog"
12751 ;;
12752 "")
12753 # If it fails, then pretend we aren't using GCC.
12754 ac_prog=ld
12755 ;;
12756 *)
12757 # If it is relative, then search for the first ld in PATH.
12758 with_gnu_ld=unknown
12759 ;;
12760 esac
12761 elif test "$with_gnu_ld" = yes; then
12762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
12763 $as_echo_n "checking for GNU ld... " >&6; }
12764 else
12765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
12766 $as_echo_n "checking for non-GNU ld... " >&6; }
12767 fi
12768 if ${lt_cv_path_LD+:} false; then :
12769 $as_echo_n "(cached) " >&6
12770 else
12771 if test -z "$LD"; then
12772 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
12773 for ac_dir in $PATH; do
12774 IFS="$lt_save_ifs"
12775 test -z "$ac_dir" && ac_dir=.
12776 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
12777 lt_cv_path_LD="$ac_dir/$ac_prog"
12778 # Check to see if the program is GNU ld. I'd rather use --version,
12779 # but apparently some variants of GNU ld only accept -v.
12780 # Break only if it was the GNU/non-GNU ld that we prefer.
12781 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
12782 *GNU* | *'with BFD'*)
12783 test "$with_gnu_ld" != no && break
12784 ;;
12785 *)
12786 test "$with_gnu_ld" != yes && break
12787 ;;
12788 esac
12789 fi
12790 done
12791 IFS="$lt_save_ifs"
12792 else
12793 lt_cv_path_LD="$LD" # Let the user override the test with a path.
12794 fi
12795 fi
12796
12797 LD="$lt_cv_path_LD"
12798 if test -n "$LD"; then
12799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
12800 $as_echo "$LD" >&6; }
12801 else
12802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12803 $as_echo "no" >&6; }
12804 fi
12805 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
12806 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
12807 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
12808 if ${lt_cv_prog_gnu_ld+:} false; then :
12809 $as_echo_n "(cached) " >&6
12810 else
12811 # I'd rather use --version here, but apparently some GNU lds only accept -v.
12812 case `$LD -v 2>&1 </dev/null` in
12813 *GNU* | *'with BFD'*)
12814 lt_cv_prog_gnu_ld=yes
12815 ;;
12816 *)
12817 lt_cv_prog_gnu_ld=no
12818 ;;
12819 esac
12820 fi
12821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
12822 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
12823 with_gnu_ld=$lt_cv_prog_gnu_ld
12824
12825
12826
12827
12828
12829
12830
12831 # Check if GNU C++ uses GNU ld as the underlying linker, since the
12832 # archiving commands below assume that GNU ld is being used.
12833 if test "$with_gnu_ld" = yes; then
12834 archive_cmds_CXX='$CC $pic_flag -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
12835 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'
12836
12837 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
12838 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
12839
12840 # If archive_cmds runs LD, not CC, wlarc should be empty
12841 # XXX I think wlarc can be eliminated in ltcf-cxx, but I need to
12842 # investigate it a little bit more. (MM)
12843 wlarc='${wl}'
12844
12845 # ancient GNU ld didn't support --whole-archive et. al.
12846 if eval "`$CC -print-prog-name=ld` --help 2>&1" |
12847 $GREP 'no-whole-archive' > /dev/null; then
12848 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
12849 else
12850 whole_archive_flag_spec_CXX=
12851 fi
12852 else
12853 with_gnu_ld=no
12854 wlarc=
12855
12856 # A generic and very simple default shared library creation
12857 # command for GNU C++ for the case where it uses the native
12858 # linker, instead of GNU ld. If possible, this setting should
12859 # overridden to take advantage of the native linker features on
12860 # the platform it is being used on.
12861 archive_cmds_CXX='$CC -shared -nostdlib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
12862 fi
12863
12864 # Commands to make compiler produce verbose output that lists
12865 # what "hidden" libraries, object files and flags are used when
12866 # linking a shared library.
12867 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
12868
12869 else
12870 GXX=no
12871 with_gnu_ld=no
12872 wlarc=
12873 fi
12874
12875 # PORTME: fill in a description of your system's C++ link characteristics
12876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
12877 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
12878 ld_shlibs_CXX=yes
12879 case $host_os in
12880 aix3*)
12881 # FIXME: insert proper C++ library support
12882 ld_shlibs_CXX=no
12883 ;;
12884 aix[4-9]*)
12885 if test "$host_cpu" = ia64; then
12886 # On IA64, the linker does run time linking by default, so we don't
12887 # have to do anything special.
12888 aix_use_runtimelinking=no
12889 exp_sym_flag='-Bexport'
12890 no_entry_flag=""
12891 else
12892 aix_use_runtimelinking=no
12893
12894 # Test if we are trying to use run time linking or normal
12895 # AIX style linking. If -brtl is somewhere in LDFLAGS, we
12896 # need to do runtime linking.
12897 case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
12898 for ld_flag in $LDFLAGS; do
12899 case $ld_flag in
12900 *-brtl*)
12901 aix_use_runtimelinking=yes
12902 break
12903 ;;
12904 esac
12905 done
12906 ;;
12907 esac
12908
12909 exp_sym_flag='-bexport'
12910 no_entry_flag='-bnoentry'
12911 fi
12912
12913 # When large executables or shared objects are built, AIX ld can
12914 # have problems creating the table of contents. If linking a library
12915 # or program results in "error TOC overflow" add -mminimal-toc to
12916 # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
12917 # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
12918
12919 archive_cmds_CXX=''
12920 hardcode_direct_CXX=yes
12921 hardcode_direct_absolute_CXX=yes
12922 hardcode_libdir_separator_CXX=':'
12923 link_all_deplibs_CXX=yes
12924 file_list_spec_CXX='${wl}-f,'
12925
12926 if test "$GXX" = yes; then
12927 case $host_os in aix4.[012]|aix4.[012].*)
12928 # We only want to do this on AIX 4.2 and lower, the check
12929 # below for broken collect2 doesn't work under 4.3+
12930 collect2name=`${CC} -print-prog-name=collect2`
12931 if test -f "$collect2name" &&
12932 strings "$collect2name" | $GREP resolve_lib_name >/dev/null
12933 then
12934 # We have reworked collect2
12935 :
12936 else
12937 # We have old collect2
12938 hardcode_direct_CXX=unsupported
12939 # It fails to find uninstalled libraries when the uninstalled
12940 # path is not listed in the libpath. Setting hardcode_minus_L
12941 # to unsupported forces relinking
12942 hardcode_minus_L_CXX=yes
12943 hardcode_libdir_flag_spec_CXX='-L$libdir'
12944 hardcode_libdir_separator_CXX=
12945 fi
12946 esac
12947 shared_flag='-shared'
12948 if test "$aix_use_runtimelinking" = yes; then
12949 shared_flag="$shared_flag "'${wl}-G'
12950 fi
12951 else
12952 # not using gcc
12953 if test "$host_cpu" = ia64; then
12954 # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
12955 # chokes on -Wl,-G. The following line is correct:
12956 shared_flag='-G'
12957 else
12958 if test "$aix_use_runtimelinking" = yes; then
12959 shared_flag='${wl}-G'
12960 else
12961 shared_flag='${wl}-bM:SRE'
12962 fi
12963 fi
12964 fi
12965
12966 export_dynamic_flag_spec_CXX='${wl}-bexpall'
12967 # It seems that -bexpall does not export symbols beginning with
12968 # underscore (_), so it is better to generate a list of symbols to
12969 # export.
12970 always_export_symbols_CXX=yes
12971 if test "$aix_use_runtimelinking" = yes; then
12972 # Warning - without using the other runtime loading flags (-brtl),
12973 # -berok will link without error, but may produce a broken library.
12974 allow_undefined_flag_CXX='-berok'
12975 # Determine the default libpath from the value encoded in an empty
12976 # executable.
12977 if test x$gcc_no_link = xyes; then
12978 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
12979 fi
12980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12981 /* end confdefs.h. */
12982
12983 int
12984 main ()
12985 {
12986
12987 ;
12988 return 0;
12989 }
12990 _ACEOF
12991 if ac_fn_cxx_try_link "$LINENO"; then :
12992
12993 lt_aix_libpath_sed='
12994 /Import File Strings/,/^$/ {
12995 /^0/ {
12996 s/^0 *\(.*\)$/\1/
12997 p
12998 }
12999 }'
13000 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13001 # Check for a 64-bit object if we didn't find anything.
13002 if test -z "$aix_libpath"; then
13003 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13004 fi
13005 fi
13006 rm -f core conftest.err conftest.$ac_objext \
13007 conftest$ac_exeext conftest.$ac_ext
13008 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13009
13010 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13011
13012 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"
13013 else
13014 if test "$host_cpu" = ia64; then
13015 hardcode_libdir_flag_spec_CXX='${wl}-R $libdir:/usr/lib:/lib'
13016 allow_undefined_flag_CXX="-z nodefs"
13017 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"
13018 else
13019 # Determine the default libpath from the value encoded in an
13020 # empty executable.
13021 if test x$gcc_no_link = xyes; then
13022 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
13023 fi
13024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13025 /* end confdefs.h. */
13026
13027 int
13028 main ()
13029 {
13030
13031 ;
13032 return 0;
13033 }
13034 _ACEOF
13035 if ac_fn_cxx_try_link "$LINENO"; then :
13036
13037 lt_aix_libpath_sed='
13038 /Import File Strings/,/^$/ {
13039 /^0/ {
13040 s/^0 *\(.*\)$/\1/
13041 p
13042 }
13043 }'
13044 aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13045 # Check for a 64-bit object if we didn't find anything.
13046 if test -z "$aix_libpath"; then
13047 aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
13048 fi
13049 fi
13050 rm -f core conftest.err conftest.$ac_objext \
13051 conftest$ac_exeext conftest.$ac_ext
13052 if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
13053
13054 hardcode_libdir_flag_spec_CXX='${wl}-blibpath:$libdir:'"$aix_libpath"
13055 # Warning - without using the other run time loading flags,
13056 # -berok will link without error, but may produce a broken library.
13057 no_undefined_flag_CXX=' ${wl}-bernotok'
13058 allow_undefined_flag_CXX=' ${wl}-berok'
13059 if test "$with_gnu_ld" = yes; then
13060 # We only use this code for GNU lds that support --whole-archive.
13061 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13062 else
13063 # Exported symbols can be pulled into shared objects from archives
13064 whole_archive_flag_spec_CXX='$convenience'
13065 fi
13066 archive_cmds_need_lc_CXX=yes
13067 # This is similar to how AIX traditionally builds its shared
13068 # libraries.
13069 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'
13070 fi
13071 fi
13072 ;;
13073
13074 beos*)
13075 if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
13076 allow_undefined_flag_CXX=unsupported
13077 # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
13078 # support --undefined. This deserves some investigation. FIXME
13079 archive_cmds_CXX='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13080 else
13081 ld_shlibs_CXX=no
13082 fi
13083 ;;
13084
13085 chorus*)
13086 case $cc_basename in
13087 *)
13088 # FIXME: insert proper C++ library support
13089 ld_shlibs_CXX=no
13090 ;;
13091 esac
13092 ;;
13093
13094 cygwin* | mingw* | pw32* | cegcc*)
13095 # _LT_TAGVAR(hardcode_libdir_flag_spec, CXX) is actually meaningless,
13096 # as there is no search path for DLLs.
13097 hardcode_libdir_flag_spec_CXX='-L$libdir'
13098 export_dynamic_flag_spec_CXX='${wl}--export-all-symbols'
13099 allow_undefined_flag_CXX=unsupported
13100 always_export_symbols_CXX=no
13101 enable_shared_with_static_runtimes_CXX=yes
13102
13103 if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
13104 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'
13105 # If the export-symbols file already is a .def file (1st line
13106 # is EXPORTS), use it as is; otherwise, prepend...
13107 archive_expsym_cmds_CXX='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
13108 cp $export_symbols $output_objdir/$soname.def;
13109 else
13110 echo EXPORTS > $output_objdir/$soname.def;
13111 cat $export_symbols >> $output_objdir/$soname.def;
13112 fi~
13113 $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'
13114 else
13115 ld_shlibs_CXX=no
13116 fi
13117 ;;
13118 darwin* | rhapsody*)
13119
13120
13121 archive_cmds_need_lc_CXX=no
13122 hardcode_direct_CXX=no
13123 hardcode_automatic_CXX=yes
13124 hardcode_shlibpath_var_CXX=unsupported
13125 if test "$lt_cv_ld_force_load" = "yes"; then
13126 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\"`'
13127 else
13128 whole_archive_flag_spec_CXX=''
13129 fi
13130 link_all_deplibs_CXX=yes
13131 allow_undefined_flag_CXX="$_lt_dar_allow_undefined"
13132 case $cc_basename in
13133 ifort*) _lt_dar_can_shared=yes ;;
13134 *) _lt_dar_can_shared=$GCC ;;
13135 esac
13136 if test "$_lt_dar_can_shared" = "yes"; then
13137 output_verbose_link_cmd=func_echo_all
13138 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}"
13139 module_cmds_CXX="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
13140 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}"
13141 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}"
13142 if test "$lt_cv_apple_cc_single_mod" != "yes"; then
13143 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}"
13144 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}"
13145 fi
13146
13147 else
13148 ld_shlibs_CXX=no
13149 fi
13150
13151 ;;
13152
13153 dgux*)
13154 case $cc_basename in
13155 ec++*)
13156 # FIXME: insert proper C++ library support
13157 ld_shlibs_CXX=no
13158 ;;
13159 ghcx*)
13160 # Green Hills C++ Compiler
13161 # FIXME: insert proper C++ library support
13162 ld_shlibs_CXX=no
13163 ;;
13164 *)
13165 # FIXME: insert proper C++ library support
13166 ld_shlibs_CXX=no
13167 ;;
13168 esac
13169 ;;
13170
13171 freebsd2.*)
13172 # C++ shared libraries reported to be fairly broken before
13173 # switch to ELF
13174 ld_shlibs_CXX=no
13175 ;;
13176
13177 freebsd-elf*)
13178 archive_cmds_need_lc_CXX=no
13179 ;;
13180
13181 freebsd* | dragonfly*)
13182 # FreeBSD 3 and later use GNU C++ and GNU ld with standard ELF
13183 # conventions
13184 ld_shlibs_CXX=yes
13185 ;;
13186
13187 gnu*)
13188 ;;
13189
13190 haiku*)
13191 archive_cmds_CXX='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13192 link_all_deplibs_CXX=yes
13193 ;;
13194
13195 hpux9*)
13196 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13197 hardcode_libdir_separator_CXX=:
13198 export_dynamic_flag_spec_CXX='${wl}-E'
13199 hardcode_direct_CXX=yes
13200 hardcode_minus_L_CXX=yes # Not in the search PATH,
13201 # but as the default
13202 # location of the library.
13203
13204 case $cc_basename in
13205 CC*)
13206 # FIXME: insert proper C++ library support
13207 ld_shlibs_CXX=no
13208 ;;
13209 aCC*)
13210 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'
13211 # Commands to make compiler produce verbose output that lists
13212 # what "hidden" libraries, object files and flags are used when
13213 # linking a shared library.
13214 #
13215 # There doesn't appear to be a way to prevent this compiler from
13216 # explicitly linking system object files so we need to strip them
13217 # from the output so that they don't get included in the library
13218 # dependencies.
13219 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"'
13220 ;;
13221 *)
13222 if test "$GXX" = yes; then
13223 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'
13224 else
13225 # FIXME: insert proper C++ library support
13226 ld_shlibs_CXX=no
13227 fi
13228 ;;
13229 esac
13230 ;;
13231
13232 hpux10*|hpux11*)
13233 if test $with_gnu_ld = no; then
13234 hardcode_libdir_flag_spec_CXX='${wl}+b ${wl}$libdir'
13235 hardcode_libdir_separator_CXX=:
13236
13237 case $host_cpu in
13238 hppa*64*|ia64*)
13239 ;;
13240 *)
13241 export_dynamic_flag_spec_CXX='${wl}-E'
13242 ;;
13243 esac
13244 fi
13245 case $host_cpu in
13246 hppa*64*|ia64*)
13247 hardcode_direct_CXX=no
13248 hardcode_shlibpath_var_CXX=no
13249 ;;
13250 *)
13251 hardcode_direct_CXX=yes
13252 hardcode_direct_absolute_CXX=yes
13253 hardcode_minus_L_CXX=yes # Not in the search PATH,
13254 # but as the default
13255 # location of the library.
13256 ;;
13257 esac
13258
13259 case $cc_basename in
13260 CC*)
13261 # FIXME: insert proper C++ library support
13262 ld_shlibs_CXX=no
13263 ;;
13264 aCC*)
13265 case $host_cpu in
13266 hppa*64*)
13267 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13268 ;;
13269 ia64*)
13270 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13271 ;;
13272 *)
13273 archive_cmds_CXX='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13274 ;;
13275 esac
13276 # Commands to make compiler produce verbose output that lists
13277 # what "hidden" libraries, object files and flags are used when
13278 # linking a shared library.
13279 #
13280 # There doesn't appear to be a way to prevent this compiler from
13281 # explicitly linking system object files so we need to strip them
13282 # from the output so that they don't get included in the library
13283 # dependencies.
13284 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"'
13285 ;;
13286 *)
13287 if test "$GXX" = yes; then
13288 if test $with_gnu_ld = no; then
13289 case $host_cpu in
13290 hppa*64*)
13291 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13292 ;;
13293 ia64*)
13294 archive_cmds_CXX='$CC -shared -nostdlib -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13295 ;;
13296 *)
13297 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'
13298 ;;
13299 esac
13300 fi
13301 else
13302 # FIXME: insert proper C++ library support
13303 ld_shlibs_CXX=no
13304 fi
13305 ;;
13306 esac
13307 ;;
13308
13309 interix[3-9]*)
13310 hardcode_direct_CXX=no
13311 hardcode_shlibpath_var_CXX=no
13312 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13313 export_dynamic_flag_spec_CXX='${wl}-E'
13314 # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
13315 # Instead, shared libraries are loaded at an image base (0x10000000 by
13316 # default) and relocated if they conflict, which is a slow very memory
13317 # consuming and fragmenting process. To avoid this, we pick a random,
13318 # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
13319 # time. Moving up from 0x10000000 also allows more sbrk(2) space.
13320 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'
13321 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'
13322 ;;
13323 irix5* | irix6*)
13324 case $cc_basename in
13325 CC*)
13326 # SGI C++
13327 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'
13328
13329 # Archives containing C++ object files must be created using
13330 # "CC -ar", where "CC" is the IRIX C++ compiler. This is
13331 # necessary to make sure instantiated templates are included
13332 # in the archive.
13333 old_archive_cmds_CXX='$CC -ar -WR,-u -o $oldlib $oldobjs'
13334 ;;
13335 *)
13336 if test "$GXX" = yes; then
13337 if test "$with_gnu_ld" = no; then
13338 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'
13339 else
13340 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'
13341 fi
13342 fi
13343 link_all_deplibs_CXX=yes
13344 ;;
13345 esac
13346 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13347 hardcode_libdir_separator_CXX=:
13348 inherit_rpath_CXX=yes
13349 ;;
13350
13351 linux* | k*bsd*-gnu | kopensolaris*-gnu)
13352 case $cc_basename in
13353 KCC*)
13354 # Kuck and Associates, Inc. (KAI) C++ Compiler
13355
13356 # KCC will only create a shared library if the output file
13357 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13358 # to its proper name (with version) after linking.
13359 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'
13360 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'
13361 # Commands to make compiler produce verbose output that lists
13362 # what "hidden" libraries, object files and flags are used when
13363 # linking a shared library.
13364 #
13365 # There doesn't appear to be a way to prevent this compiler from
13366 # explicitly linking system object files so we need to strip them
13367 # from the output so that they don't get included in the library
13368 # dependencies.
13369 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"'
13370
13371 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13372 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13373
13374 # Archives containing C++ object files must be created using
13375 # "CC -Bstatic", where "CC" is the KAI C++ compiler.
13376 old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs'
13377 ;;
13378 icpc* | ecpc* )
13379 # Intel C++
13380 with_gnu_ld=yes
13381 # version 8.0 and above of icpc choke on multiply defined symbols
13382 # if we add $predep_objects and $postdep_objects, however 7.1 and
13383 # earlier do not add the objects themselves.
13384 case `$CC -V 2>&1` in
13385 *"Version 7."*)
13386 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13387 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'
13388 ;;
13389 *) # Version 8.0 or newer
13390 tmp_idyn=
13391 case $host_cpu in
13392 ia64*) tmp_idyn=' -i_dynamic';;
13393 esac
13394 archive_cmds_CXX='$CC -shared'"$tmp_idyn"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13395 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'
13396 ;;
13397 esac
13398 archive_cmds_need_lc_CXX=no
13399 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13400 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13401 whole_archive_flag_spec_CXX='${wl}--whole-archive$convenience ${wl}--no-whole-archive'
13402 ;;
13403 pgCC* | pgcpp*)
13404 # Portland Group C++ compiler
13405 case `$CC -V` in
13406 *pgCC\ [1-5].* | *pgcpp\ [1-5].*)
13407 prelink_cmds_CXX='tpldir=Template.dir~
13408 rm -rf $tpldir~
13409 $CC --prelink_objects --instantiation_dir $tpldir $objs $libobjs $compile_deplibs~
13410 compile_command="$compile_command `find $tpldir -name \*.o | sort | $NL2SP`"'
13411 old_archive_cmds_CXX='tpldir=Template.dir~
13412 rm -rf $tpldir~
13413 $CC --prelink_objects --instantiation_dir $tpldir $oldobjs$old_deplibs~
13414 $AR $AR_FLAGS $oldlib$oldobjs$old_deplibs `find $tpldir -name \*.o | sort | $NL2SP`~
13415 $RANLIB $oldlib'
13416 archive_cmds_CXX='tpldir=Template.dir~
13417 rm -rf $tpldir~
13418 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13419 $CC -shared $pic_flag $predep_objects $libobjs $deplibs `find $tpldir -name \*.o | sort | $NL2SP` $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13420 archive_expsym_cmds_CXX='tpldir=Template.dir~
13421 rm -rf $tpldir~
13422 $CC --prelink_objects --instantiation_dir $tpldir $predep_objects $libobjs $deplibs $convenience $postdep_objects~
13423 $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'
13424 ;;
13425 *) # Version 6 and above use weak symbols
13426 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname ${wl}$soname -o $lib'
13427 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'
13428 ;;
13429 esac
13430
13431 hardcode_libdir_flag_spec_CXX='${wl}--rpath ${wl}$libdir'
13432 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13433 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'
13434 ;;
13435 cxx*)
13436 # Compaq C++
13437 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-soname $wl$soname -o $lib'
13438 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'
13439
13440 runpath_var=LD_RUN_PATH
13441 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13442 hardcode_libdir_separator_CXX=:
13443
13444 # Commands to make compiler produce verbose output that lists
13445 # what "hidden" libraries, object files and flags are used when
13446 # linking a shared library.
13447 #
13448 # There doesn't appear to be a way to prevent this compiler from
13449 # explicitly linking system object files so we need to strip them
13450 # from the output so that they don't get included in the library
13451 # dependencies.
13452 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'
13453 ;;
13454 xl* | mpixl* | bgxl*)
13455 # IBM XL 8.0 on PPC, with GNU ld
13456 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13457 export_dynamic_flag_spec_CXX='${wl}--export-dynamic'
13458 archive_cmds_CXX='$CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
13459 if test "x$supports_anon_versioning" = xyes; then
13460 archive_expsym_cmds_CXX='echo "{ global:" > $output_objdir/$libname.ver~
13461 cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
13462 echo "local: *; };" >> $output_objdir/$libname.ver~
13463 $CC -qmkshrobj $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
13464 fi
13465 ;;
13466 *)
13467 case `$CC -V 2>&1 | sed 5q` in
13468 *Sun\ C*)
13469 # Sun C++ 5.9
13470 no_undefined_flag_CXX=' -zdefs'
13471 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13472 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'
13473 hardcode_libdir_flag_spec_CXX='-R$libdir'
13474 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'
13475 compiler_needs_object_CXX=yes
13476
13477 # Not sure whether something based on
13478 # $CC $CFLAGS -v conftest.$objext -o libconftest$shared_ext 2>&1
13479 # would be better.
13480 output_verbose_link_cmd='func_echo_all'
13481
13482 # Archives containing C++ object files must be created using
13483 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13484 # necessary to make sure instantiated templates are included
13485 # in the archive.
13486 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13487 ;;
13488 esac
13489 ;;
13490 esac
13491 ;;
13492
13493 lynxos*)
13494 # FIXME: insert proper C++ library support
13495 ld_shlibs_CXX=no
13496 ;;
13497
13498 m88k*)
13499 # FIXME: insert proper C++ library support
13500 ld_shlibs_CXX=no
13501 ;;
13502
13503 mvs*)
13504 case $cc_basename in
13505 cxx*)
13506 # FIXME: insert proper C++ library support
13507 ld_shlibs_CXX=no
13508 ;;
13509 *)
13510 # FIXME: insert proper C++ library support
13511 ld_shlibs_CXX=no
13512 ;;
13513 esac
13514 ;;
13515
13516 netbsd*)
13517 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
13518 archive_cmds_CXX='$LD -Bshareable -o $lib $predep_objects $libobjs $deplibs $postdep_objects $linker_flags'
13519 wlarc=
13520 hardcode_libdir_flag_spec_CXX='-R$libdir'
13521 hardcode_direct_CXX=yes
13522 hardcode_shlibpath_var_CXX=no
13523 fi
13524 # Workaround some broken pre-1.5 toolchains
13525 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP conftest.$objext | $SED -e "s:-lgcc -lc -lgcc::"'
13526 ;;
13527
13528 *nto* | *qnx*)
13529 ld_shlibs_CXX=yes
13530 ;;
13531
13532 openbsd2*)
13533 # C++ shared libraries are fairly broken
13534 ld_shlibs_CXX=no
13535 ;;
13536
13537 openbsd*)
13538 if test -f /usr/libexec/ld.so; then
13539 hardcode_direct_CXX=yes
13540 hardcode_shlibpath_var_CXX=no
13541 hardcode_direct_absolute_CXX=yes
13542 archive_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags -o $lib'
13543 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13544 if test -z "`echo __ELF__ | $CC -E - | grep __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
13545 archive_expsym_cmds_CXX='$CC -shared $pic_flag $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-retain-symbols-file,$export_symbols -o $lib'
13546 export_dynamic_flag_spec_CXX='${wl}-E'
13547 whole_archive_flag_spec_CXX="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
13548 fi
13549 output_verbose_link_cmd=func_echo_all
13550 else
13551 ld_shlibs_CXX=no
13552 fi
13553 ;;
13554
13555 osf3* | osf4* | osf5*)
13556 case $cc_basename in
13557 KCC*)
13558 # Kuck and Associates, Inc. (KAI) C++ Compiler
13559
13560 # KCC will only create a shared library if the output file
13561 # ends with ".so" (or ".sl" for HP-UX), so rename the library
13562 # to its proper name (with version) after linking.
13563 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'
13564
13565 hardcode_libdir_flag_spec_CXX='${wl}-rpath,$libdir'
13566 hardcode_libdir_separator_CXX=:
13567
13568 # Archives containing C++ object files must be created using
13569 # the KAI C++ compiler.
13570 case $host in
13571 osf3*) old_archive_cmds_CXX='$CC -Bstatic -o $oldlib $oldobjs' ;;
13572 *) old_archive_cmds_CXX='$CC -o $oldlib $oldobjs' ;;
13573 esac
13574 ;;
13575 RCC*)
13576 # Rational C++ 2.4.1
13577 # FIXME: insert proper C++ library support
13578 ld_shlibs_CXX=no
13579 ;;
13580 cxx*)
13581 case $host in
13582 osf3*)
13583 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13584 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'
13585 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13586 ;;
13587 *)
13588 allow_undefined_flag_CXX=' -expect_unresolved \*'
13589 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'
13590 archive_expsym_cmds_CXX='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done~
13591 echo "-hidden">> $lib.exp~
13592 $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~
13593 $RM $lib.exp'
13594 hardcode_libdir_flag_spec_CXX='-rpath $libdir'
13595 ;;
13596 esac
13597
13598 hardcode_libdir_separator_CXX=:
13599
13600 # Commands to make compiler produce verbose output that lists
13601 # what "hidden" libraries, object files and flags are used when
13602 # linking a shared library.
13603 #
13604 # There doesn't appear to be a way to prevent this compiler from
13605 # explicitly linking system object files so we need to strip them
13606 # from the output so that they don't get included in the library
13607 # dependencies.
13608 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"'
13609 ;;
13610 *)
13611 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13612 allow_undefined_flag_CXX=' ${wl}-expect_unresolved ${wl}\*'
13613 case $host in
13614 osf3*)
13615 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'
13616 ;;
13617 *)
13618 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'
13619 ;;
13620 esac
13621
13622 hardcode_libdir_flag_spec_CXX='${wl}-rpath ${wl}$libdir'
13623 hardcode_libdir_separator_CXX=:
13624
13625 # Commands to make compiler produce verbose output that lists
13626 # what "hidden" libraries, object files and flags are used when
13627 # linking a shared library.
13628 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13629
13630 else
13631 # FIXME: insert proper C++ library support
13632 ld_shlibs_CXX=no
13633 fi
13634 ;;
13635 esac
13636 ;;
13637
13638 psos*)
13639 # FIXME: insert proper C++ library support
13640 ld_shlibs_CXX=no
13641 ;;
13642
13643 sunos4*)
13644 case $cc_basename in
13645 CC*)
13646 # Sun C++ 4.x
13647 # FIXME: insert proper C++ library support
13648 ld_shlibs_CXX=no
13649 ;;
13650 lcc*)
13651 # Lucid
13652 # FIXME: insert proper C++ library support
13653 ld_shlibs_CXX=no
13654 ;;
13655 *)
13656 # FIXME: insert proper C++ library support
13657 ld_shlibs_CXX=no
13658 ;;
13659 esac
13660 ;;
13661
13662 solaris*)
13663 case $cc_basename in
13664 CC*)
13665 # Sun C++ 4.2, 5.x and Centerline C++
13666 archive_cmds_need_lc_CXX=yes
13667 no_undefined_flag_CXX=' -zdefs'
13668 archive_cmds_CXX='$CC -G${allow_undefined_flag} -h$soname -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags'
13669 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13670 $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'
13671
13672 hardcode_libdir_flag_spec_CXX='-R$libdir'
13673 hardcode_shlibpath_var_CXX=no
13674 case $host_os in
13675 solaris2.[0-5] | solaris2.[0-5].*) ;;
13676 *)
13677 # The compiler driver will combine and reorder linker options,
13678 # but understands `-z linker_flag'.
13679 # Supported since Solaris 2.6 (maybe 2.5.1?)
13680 whole_archive_flag_spec_CXX='-z allextract$convenience -z defaultextract'
13681 ;;
13682 esac
13683 link_all_deplibs_CXX=yes
13684
13685 output_verbose_link_cmd='func_echo_all'
13686
13687 # Archives containing C++ object files must be created using
13688 # "CC -xar", where "CC" is the Sun C++ compiler. This is
13689 # necessary to make sure instantiated templates are included
13690 # in the archive.
13691 old_archive_cmds_CXX='$CC -xar -o $oldlib $oldobjs'
13692 ;;
13693 gcx*)
13694 # Green Hills C++ Compiler
13695 archive_cmds_CXX='$CC -shared $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13696
13697 # The C++ compiler must be used to create the archive.
13698 old_archive_cmds_CXX='$CC $LDFLAGS -archive -o $oldlib $oldobjs'
13699 ;;
13700 *)
13701 # GNU C++ compiler with Solaris linker
13702 if test "$GXX" = yes && test "$with_gnu_ld" = no; then
13703 no_undefined_flag_CXX=' ${wl}-z ${wl}defs'
13704 if $CC --version | $GREP -v '^2\.7' > /dev/null; then
13705 archive_cmds_CXX='$CC -shared -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13706 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13707 $CC -shared -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13708
13709 # Commands to make compiler produce verbose output that lists
13710 # what "hidden" libraries, object files and flags are used when
13711 # linking a shared library.
13712 output_verbose_link_cmd='$CC -shared $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13713 else
13714 # g++ 2.7 appears to require `-G' NOT `-shared' on this
13715 # platform.
13716 archive_cmds_CXX='$CC -G -nostdlib $LDFLAGS $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags ${wl}-h $wl$soname -o $lib'
13717 archive_expsym_cmds_CXX='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
13718 $CC -G -nostdlib ${wl}-M $wl$lib.exp -o $lib $predep_objects $libobjs $deplibs $postdep_objects $compiler_flags~$RM $lib.exp'
13719
13720 # Commands to make compiler produce verbose output that lists
13721 # what "hidden" libraries, object files and flags are used when
13722 # linking a shared library.
13723 output_verbose_link_cmd='$CC -G $CFLAGS -v conftest.$objext 2>&1 | $GREP -v "^Configured with:" | $GREP "\-L"'
13724 fi
13725
13726 hardcode_libdir_flag_spec_CXX='${wl}-R $wl$libdir'
13727 case $host_os in
13728 solaris2.[0-5] | solaris2.[0-5].*) ;;
13729 *)
13730 whole_archive_flag_spec_CXX='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
13731 ;;
13732 esac
13733 fi
13734 ;;
13735 esac
13736 ;;
13737
13738 sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
13739 no_undefined_flag_CXX='${wl}-z,text'
13740 archive_cmds_need_lc_CXX=no
13741 hardcode_shlibpath_var_CXX=no
13742 runpath_var='LD_RUN_PATH'
13743
13744 case $cc_basename in
13745 CC*)
13746 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13747 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13748 ;;
13749 *)
13750 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13751 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13752 ;;
13753 esac
13754 ;;
13755
13756 sysv5* | sco3.2v5* | sco5v6*)
13757 # Note: We can NOT use -z defs as we might desire, because we do not
13758 # link with -lc, and that would cause any symbols used from libc to
13759 # always be unresolved, which means just about no library would
13760 # ever link correctly. If we're not using GNU ld we use -z text
13761 # though, which does catch some bad symbols but isn't as heavy-handed
13762 # as -z defs.
13763 no_undefined_flag_CXX='${wl}-z,text'
13764 allow_undefined_flag_CXX='${wl}-z,nodefs'
13765 archive_cmds_need_lc_CXX=no
13766 hardcode_shlibpath_var_CXX=no
13767 hardcode_libdir_flag_spec_CXX='${wl}-R,$libdir'
13768 hardcode_libdir_separator_CXX=':'
13769 link_all_deplibs_CXX=yes
13770 export_dynamic_flag_spec_CXX='${wl}-Bexport'
13771 runpath_var='LD_RUN_PATH'
13772
13773 case $cc_basename in
13774 CC*)
13775 archive_cmds_CXX='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13776 archive_expsym_cmds_CXX='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13777 old_archive_cmds_CXX='$CC -Tprelink_objects $oldobjs~
13778 '"$old_archive_cmds_CXX"
13779 reload_cmds_CXX='$CC -Tprelink_objects $reload_objs~
13780 '"$reload_cmds_CXX"
13781 ;;
13782 *)
13783 archive_cmds_CXX='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13784 archive_expsym_cmds_CXX='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
13785 ;;
13786 esac
13787 ;;
13788
13789 tandem*)
13790 case $cc_basename in
13791 NCC*)
13792 # NonStop-UX NCC 3.20
13793 # FIXME: insert proper C++ library support
13794 ld_shlibs_CXX=no
13795 ;;
13796 *)
13797 # FIXME: insert proper C++ library support
13798 ld_shlibs_CXX=no
13799 ;;
13800 esac
13801 ;;
13802
13803 vxworks*)
13804 # FIXME: insert proper C++ library support
13805 ld_shlibs_CXX=no
13806 ;;
13807
13808 *)
13809 # FIXME: insert proper C++ library support
13810 ld_shlibs_CXX=no
13811 ;;
13812 esac
13813
13814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
13815 $as_echo "$ld_shlibs_CXX" >&6; }
13816 test "$ld_shlibs_CXX" = no && can_build_shared=no
13817
13818 GCC_CXX="$GXX"
13819 LD_CXX="$LD"
13820
13821 ## CAVEAT EMPTOR:
13822 ## There is no encapsulation within the following macros, do not change
13823 ## the running order or otherwise move them around unless you know exactly
13824 ## what you are doing...
13825 # Dependencies to place before and after the object being linked:
13826 predep_objects_CXX=
13827 postdep_objects_CXX=
13828 predeps_CXX=
13829 postdeps_CXX=
13830 compiler_lib_search_path_CXX=
13831
13832 cat > conftest.$ac_ext <<_LT_EOF
13833 class Foo
13834 {
13835 public:
13836 Foo (void) { a = 0; }
13837 private:
13838 int a;
13839 };
13840 _LT_EOF
13841
13842 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
13843 (eval $ac_compile) 2>&5
13844 ac_status=$?
13845 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
13846 test $ac_status = 0; }; then
13847 # Parse the compiler output and extract the necessary
13848 # objects, libraries and library flags.
13849
13850 # Sentinel used to keep track of whether or not we are before
13851 # the conftest object file.
13852 pre_test_object_deps_done=no
13853
13854 for p in `eval "$output_verbose_link_cmd"`; do
13855 case $p in
13856
13857 -L* | -R* | -l*)
13858 # Some compilers place space between "-{L,R}" and the path.
13859 # Remove the space.
13860 if test $p = "-L" ||
13861 test $p = "-R"; then
13862 prev=$p
13863 continue
13864 else
13865 prev=
13866 fi
13867
13868 if test "$pre_test_object_deps_done" = no; then
13869 case $p in
13870 -L* | -R*)
13871 # Internal compiler library paths should come after those
13872 # provided the user. The postdeps already come after the
13873 # user supplied libs so there is no need to process them.
13874 if test -z "$compiler_lib_search_path_CXX"; then
13875 compiler_lib_search_path_CXX="${prev}${p}"
13876 else
13877 compiler_lib_search_path_CXX="${compiler_lib_search_path_CXX} ${prev}${p}"
13878 fi
13879 ;;
13880 # The "-l" case would never come before the object being
13881 # linked, so don't bother handling this case.
13882 esac
13883 else
13884 if test -z "$postdeps_CXX"; then
13885 postdeps_CXX="${prev}${p}"
13886 else
13887 postdeps_CXX="${postdeps_CXX} ${prev}${p}"
13888 fi
13889 fi
13890 ;;
13891
13892 *.$objext)
13893 # This assumes that the test object file only shows up
13894 # once in the compiler output.
13895 if test "$p" = "conftest.$objext"; then
13896 pre_test_object_deps_done=yes
13897 continue
13898 fi
13899
13900 if test "$pre_test_object_deps_done" = no; then
13901 if test -z "$predep_objects_CXX"; then
13902 predep_objects_CXX="$p"
13903 else
13904 predep_objects_CXX="$predep_objects_CXX $p"
13905 fi
13906 else
13907 if test -z "$postdep_objects_CXX"; then
13908 postdep_objects_CXX="$p"
13909 else
13910 postdep_objects_CXX="$postdep_objects_CXX $p"
13911 fi
13912 fi
13913 ;;
13914
13915 *) ;; # Ignore the rest.
13916
13917 esac
13918 done
13919
13920 # Clean up.
13921 rm -f a.out a.exe
13922 else
13923 echo "libtool.m4: error: problem compiling CXX test program"
13924 fi
13925
13926 $RM -f confest.$objext
13927
13928 # PORTME: override above test on systems where it is broken
13929 case $host_os in
13930 interix[3-9]*)
13931 # Interix 3.5 installs completely hosed .la files for C++, so rather than
13932 # hack all around it, let's just trust "g++" to DTRT.
13933 predep_objects_CXX=
13934 postdep_objects_CXX=
13935 postdeps_CXX=
13936 ;;
13937
13938 linux*)
13939 case `$CC -V 2>&1 | sed 5q` in
13940 *Sun\ C*)
13941 # Sun C++ 5.9
13942
13943 # The more standards-conforming stlport4 library is
13944 # incompatible with the Cstd library. Avoid specifying
13945 # it if it's in CXXFLAGS. Ignore libCrun as
13946 # -library=stlport4 depends on it.
13947 case " $CXX $CXXFLAGS " in
13948 *" -library=stlport4 "*)
13949 solaris_use_stlport4=yes
13950 ;;
13951 esac
13952
13953 if test "$solaris_use_stlport4" != yes; then
13954 postdeps_CXX='-library=Cstd -library=Crun'
13955 fi
13956 ;;
13957 esac
13958 ;;
13959
13960 solaris*)
13961 case $cc_basename in
13962 CC*)
13963 # The more standards-conforming stlport4 library is
13964 # incompatible with the Cstd library. Avoid specifying
13965 # it if it's in CXXFLAGS. Ignore libCrun as
13966 # -library=stlport4 depends on it.
13967 case " $CXX $CXXFLAGS " in
13968 *" -library=stlport4 "*)
13969 solaris_use_stlport4=yes
13970 ;;
13971 esac
13972
13973 # Adding this requires a known-good setup of shared libraries for
13974 # Sun compiler versions before 5.6, else PIC objects from an old
13975 # archive will be linked into the output, leading to subtle bugs.
13976 if test "$solaris_use_stlport4" != yes; then
13977 postdeps_CXX='-library=Cstd -library=Crun'
13978 fi
13979 ;;
13980 esac
13981 ;;
13982 esac
13983
13984
13985 case " $postdeps_CXX " in
13986 *" -lc "*) archive_cmds_need_lc_CXX=no ;;
13987 esac
13988 compiler_lib_search_dirs_CXX=
13989 if test -n "${compiler_lib_search_path_CXX}"; then
13990 compiler_lib_search_dirs_CXX=`echo " ${compiler_lib_search_path_CXX}" | ${SED} -e 's! -L! !g' -e 's!^ !!'`
13991 fi
13992
13993
13994
13995
13996
13997
13998
13999
14000
14001
14002
14003
14004
14005
14006
14007
14008
14009
14010
14011
14012
14013
14014
14015
14016
14017
14018
14019
14020
14021
14022
14023 lt_prog_compiler_wl_CXX=
14024 lt_prog_compiler_pic_CXX=
14025 lt_prog_compiler_static_CXX=
14026
14027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $compiler option to produce PIC" >&5
14028 $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
14029
14030 # C++ specific cases for pic, static, wl, etc.
14031 if test "$GXX" = yes; then
14032 lt_prog_compiler_wl_CXX='-Wl,'
14033 lt_prog_compiler_static_CXX='-static'
14034
14035 case $host_os in
14036 aix*)
14037 # All AIX code is PIC.
14038 if test "$host_cpu" = ia64; then
14039 # AIX 5 now supports IA64 processor
14040 lt_prog_compiler_static_CXX='-Bstatic'
14041 fi
14042 lt_prog_compiler_pic_CXX='-fPIC'
14043 ;;
14044
14045 amigaos*)
14046 case $host_cpu in
14047 powerpc)
14048 # see comment about AmigaOS4 .so support
14049 lt_prog_compiler_pic_CXX='-fPIC'
14050 ;;
14051 m68k)
14052 # FIXME: we need at least 68020 code to build shared libraries, but
14053 # adding the `-m68020' flag to GCC prevents building anything better,
14054 # like `-m68040'.
14055 lt_prog_compiler_pic_CXX='-m68020 -resident32 -malways-restore-a4'
14056 ;;
14057 esac
14058 ;;
14059
14060 beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
14061 # PIC is the default for these OSes.
14062 ;;
14063 mingw* | cygwin* | os2* | pw32* | cegcc*)
14064 # This hack is so that the source file can tell whether it is being
14065 # built for inclusion in a dll (and should export symbols for example).
14066 # Although the cygwin gcc ignores -fPIC, still need this for old-style
14067 # (--disable-auto-import) libraries
14068 lt_prog_compiler_pic_CXX='-DDLL_EXPORT'
14069 ;;
14070 darwin* | rhapsody*)
14071 # PIC is the default on this platform
14072 # Common symbols not allowed in MH_DYLIB files
14073 lt_prog_compiler_pic_CXX='-fno-common'
14074 ;;
14075 *djgpp*)
14076 # DJGPP does not support shared libraries at all
14077 lt_prog_compiler_pic_CXX=
14078 ;;
14079 haiku*)
14080 # PIC is the default for Haiku.
14081 # The "-static" flag exists, but is broken.
14082 lt_prog_compiler_static_CXX=
14083 ;;
14084 interix[3-9]*)
14085 # Interix 3.x gcc -fpic/-fPIC options generate broken code.
14086 # Instead, we relocate shared libraries at runtime.
14087 ;;
14088 sysv4*MP*)
14089 if test -d /usr/nec; then
14090 lt_prog_compiler_pic_CXX=-Kconform_pic
14091 fi
14092 ;;
14093 hpux*)
14094 # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
14095 # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
14096 # sets the default TLS model and affects inlining.
14097 case $host_cpu in
14098 hppa*64*)
14099 ;;
14100 *)
14101 lt_prog_compiler_pic_CXX='-fPIC'
14102 ;;
14103 esac
14104 ;;
14105 *qnx* | *nto*)
14106 # QNX uses GNU C++, but need to define -shared option too, otherwise
14107 # it will coredump.
14108 lt_prog_compiler_pic_CXX='-fPIC -shared'
14109 ;;
14110 *)
14111 lt_prog_compiler_pic_CXX='-fPIC'
14112 ;;
14113 esac
14114 else
14115 case $host_os in
14116 aix[4-9]*)
14117 # All AIX code is PIC.
14118 if test "$host_cpu" = ia64; then
14119 # AIX 5 now supports IA64 processor
14120 lt_prog_compiler_static_CXX='-Bstatic'
14121 else
14122 lt_prog_compiler_static_CXX='-bnso -bI:/lib/syscalls.exp'
14123 fi
14124 ;;
14125 chorus*)
14126 case $cc_basename in
14127 cxch68*)
14128 # Green Hills C++ Compiler
14129 # _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"
14130 ;;
14131 esac
14132 ;;
14133 dgux*)
14134 case $cc_basename in
14135 ec++*)
14136 lt_prog_compiler_pic_CXX='-KPIC'
14137 ;;
14138 ghcx*)
14139 # Green Hills C++ Compiler
14140 lt_prog_compiler_pic_CXX='-pic'
14141 ;;
14142 *)
14143 ;;
14144 esac
14145 ;;
14146 freebsd* | dragonfly*)
14147 # FreeBSD uses GNU C++
14148 ;;
14149 hpux9* | hpux10* | hpux11*)
14150 case $cc_basename in
14151 CC*)
14152 lt_prog_compiler_wl_CXX='-Wl,'
14153 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14154 if test "$host_cpu" != ia64; then
14155 lt_prog_compiler_pic_CXX='+Z'
14156 fi
14157 ;;
14158 aCC*)
14159 lt_prog_compiler_wl_CXX='-Wl,'
14160 lt_prog_compiler_static_CXX='${wl}-a ${wl}archive'
14161 case $host_cpu in
14162 hppa*64*|ia64*)
14163 # +Z the default
14164 ;;
14165 *)
14166 lt_prog_compiler_pic_CXX='+Z'
14167 ;;
14168 esac
14169 ;;
14170 *)
14171 ;;
14172 esac
14173 ;;
14174 interix*)
14175 # This is c89, which is MS Visual C++ (no shared libs)
14176 # Anyone wants to do a port?
14177 ;;
14178 irix5* | irix6* | nonstopux*)
14179 case $cc_basename in
14180 CC*)
14181 lt_prog_compiler_wl_CXX='-Wl,'
14182 lt_prog_compiler_static_CXX='-non_shared'
14183 # CC pic flag -KPIC is the default.
14184 ;;
14185 *)
14186 ;;
14187 esac
14188 ;;
14189 linux* | k*bsd*-gnu | kopensolaris*-gnu)
14190 case $cc_basename in
14191 KCC*)
14192 # KAI C++ Compiler
14193 lt_prog_compiler_wl_CXX='--backend -Wl,'
14194 lt_prog_compiler_pic_CXX='-fPIC'
14195 ;;
14196 ecpc* )
14197 # old Intel C++ for x86_64 which still supported -KPIC.
14198 lt_prog_compiler_wl_CXX='-Wl,'
14199 lt_prog_compiler_pic_CXX='-KPIC'
14200 lt_prog_compiler_static_CXX='-static'
14201 ;;
14202 icpc* )
14203 # Intel C++, used to be incompatible with GCC.
14204 # ICC 10 doesn't accept -KPIC any more.
14205 lt_prog_compiler_wl_CXX='-Wl,'
14206 lt_prog_compiler_pic_CXX='-fPIC'
14207 lt_prog_compiler_static_CXX='-static'
14208 ;;
14209 pgCC* | pgcpp*)
14210 # Portland Group C++ compiler
14211 lt_prog_compiler_wl_CXX='-Wl,'
14212 lt_prog_compiler_pic_CXX='-fpic'
14213 lt_prog_compiler_static_CXX='-Bstatic'
14214 ;;
14215 cxx*)
14216 # Compaq C++
14217 # Make sure the PIC flag is empty. It appears that all Alpha
14218 # Linux and Compaq Tru64 Unix objects are PIC.
14219 lt_prog_compiler_pic_CXX=
14220 lt_prog_compiler_static_CXX='-non_shared'
14221 ;;
14222 xlc* | xlC* | bgxl[cC]* | mpixl[cC]*)
14223 # IBM XL 8.0, 9.0 on PPC and BlueGene
14224 lt_prog_compiler_wl_CXX='-Wl,'
14225 lt_prog_compiler_pic_CXX='-qpic'
14226 lt_prog_compiler_static_CXX='-qstaticlink'
14227 ;;
14228 *)
14229 case `$CC -V 2>&1 | sed 5q` in
14230 *Sun\ C*)
14231 # Sun C++ 5.9
14232 lt_prog_compiler_pic_CXX='-KPIC'
14233 lt_prog_compiler_static_CXX='-Bstatic'
14234 lt_prog_compiler_wl_CXX='-Qoption ld '
14235 ;;
14236 esac
14237 ;;
14238 esac
14239 ;;
14240 lynxos*)
14241 ;;
14242 m88k*)
14243 ;;
14244 mvs*)
14245 case $cc_basename in
14246 cxx*)
14247 lt_prog_compiler_pic_CXX='-W c,exportall'
14248 ;;
14249 *)
14250 ;;
14251 esac
14252 ;;
14253 netbsd*)
14254 ;;
14255 *qnx* | *nto*)
14256 # QNX uses GNU C++, but need to define -shared option too, otherwise
14257 # it will coredump.
14258 lt_prog_compiler_pic_CXX='-fPIC -shared'
14259 ;;
14260 osf3* | osf4* | osf5*)
14261 case $cc_basename in
14262 KCC*)
14263 lt_prog_compiler_wl_CXX='--backend -Wl,'
14264 ;;
14265 RCC*)
14266 # Rational C++ 2.4.1
14267 lt_prog_compiler_pic_CXX='-pic'
14268 ;;
14269 cxx*)
14270 # Digital/Compaq C++
14271 lt_prog_compiler_wl_CXX='-Wl,'
14272 # Make sure the PIC flag is empty. It appears that all Alpha
14273 # Linux and Compaq Tru64 Unix objects are PIC.
14274 lt_prog_compiler_pic_CXX=
14275 lt_prog_compiler_static_CXX='-non_shared'
14276 ;;
14277 *)
14278 ;;
14279 esac
14280 ;;
14281 psos*)
14282 ;;
14283 solaris*)
14284 case $cc_basename in
14285 CC*)
14286 # Sun C++ 4.2, 5.x and Centerline C++
14287 lt_prog_compiler_pic_CXX='-KPIC'
14288 lt_prog_compiler_static_CXX='-Bstatic'
14289 lt_prog_compiler_wl_CXX='-Qoption ld '
14290 ;;
14291 gcx*)
14292 # Green Hills C++ Compiler
14293 lt_prog_compiler_pic_CXX='-PIC'
14294 ;;
14295 *)
14296 ;;
14297 esac
14298 ;;
14299 sunos4*)
14300 case $cc_basename in
14301 CC*)
14302 # Sun C++ 4.x
14303 lt_prog_compiler_pic_CXX='-pic'
14304 lt_prog_compiler_static_CXX='-Bstatic'
14305 ;;
14306 lcc*)
14307 # Lucid
14308 lt_prog_compiler_pic_CXX='-pic'
14309 ;;
14310 *)
14311 ;;
14312 esac
14313 ;;
14314 sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
14315 case $cc_basename in
14316 CC*)
14317 lt_prog_compiler_wl_CXX='-Wl,'
14318 lt_prog_compiler_pic_CXX='-KPIC'
14319 lt_prog_compiler_static_CXX='-Bstatic'
14320 ;;
14321 esac
14322 ;;
14323 tandem*)
14324 case $cc_basename in
14325 NCC*)
14326 # NonStop-UX NCC 3.20
14327 lt_prog_compiler_pic_CXX='-KPIC'
14328 ;;
14329 *)
14330 ;;
14331 esac
14332 ;;
14333 vxworks*)
14334 ;;
14335 *)
14336 lt_prog_compiler_can_build_shared_CXX=no
14337 ;;
14338 esac
14339 fi
14340
14341 case $host_os in
14342 # For platforms which do not support PIC, -DPIC is meaningless:
14343 *djgpp*)
14344 lt_prog_compiler_pic_CXX=
14345 ;;
14346 *)
14347 lt_prog_compiler_pic_CXX="$lt_prog_compiler_pic_CXX -DPIC"
14348 ;;
14349 esac
14350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_prog_compiler_pic_CXX" >&5
14351 $as_echo "$lt_prog_compiler_pic_CXX" >&6; }
14352
14353
14354
14355 #
14356 # Check to make sure the PIC flag actually works.
14357 #
14358 if test -n "$lt_prog_compiler_pic_CXX"; then
14359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works" >&5
14360 $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic_CXX works... " >&6; }
14361 if ${lt_cv_prog_compiler_pic_works_CXX+:} false; then :
14362 $as_echo_n "(cached) " >&6
14363 else
14364 lt_cv_prog_compiler_pic_works_CXX=no
14365 ac_outfile=conftest.$ac_objext
14366 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14367 lt_compiler_flag="$lt_prog_compiler_pic_CXX -DPIC"
14368 # Insert the option either (1) after the last *FLAGS variable, or
14369 # (2) before a word containing "conftest.", or (3) at the end.
14370 # Note that $ac_compile itself does not contain backslashes and begins
14371 # with a dollar sign (not a hyphen), so the echo should work correctly.
14372 # The option is referenced via a variable to avoid confusing sed.
14373 lt_compile=`echo "$ac_compile" | $SED \
14374 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14375 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14376 -e 's:$: $lt_compiler_flag:'`
14377 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14378 (eval "$lt_compile" 2>conftest.err)
14379 ac_status=$?
14380 cat conftest.err >&5
14381 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14382 if (exit $ac_status) && test -s "$ac_outfile"; then
14383 # The compiler can only warn and ignore the option if not recognized
14384 # So say no if there are warnings other than the usual output.
14385 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' >conftest.exp
14386 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14387 if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
14388 lt_cv_prog_compiler_pic_works_CXX=yes
14389 fi
14390 fi
14391 $RM conftest*
14392
14393 fi
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_pic_works_CXX" >&5
14395 $as_echo "$lt_cv_prog_compiler_pic_works_CXX" >&6; }
14396
14397 if test x"$lt_cv_prog_compiler_pic_works_CXX" = xyes; then
14398 case $lt_prog_compiler_pic_CXX in
14399 "" | " "*) ;;
14400 *) lt_prog_compiler_pic_CXX=" $lt_prog_compiler_pic_CXX" ;;
14401 esac
14402 else
14403 lt_prog_compiler_pic_CXX=
14404 lt_prog_compiler_can_build_shared_CXX=no
14405 fi
14406
14407 fi
14408
14409
14410
14411 #
14412 # Check to make sure the static flag actually works.
14413 #
14414 wl=$lt_prog_compiler_wl_CXX eval lt_tmp_static_flag=\"$lt_prog_compiler_static_CXX\"
14415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler static flag $lt_tmp_static_flag works" >&5
14416 $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
14417 if ${lt_cv_prog_compiler_static_works_CXX+:} false; then :
14418 $as_echo_n "(cached) " >&6
14419 else
14420 lt_cv_prog_compiler_static_works_CXX=no
14421 save_LDFLAGS="$LDFLAGS"
14422 LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
14423 echo "$lt_simple_link_test_code" > conftest.$ac_ext
14424 if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
14425 # The linker can only warn and ignore the option if not recognized
14426 # So say no if there are warnings
14427 if test -s conftest.err; then
14428 # Append any errors to the config.log.
14429 cat conftest.err 1>&5
14430 $ECHO "$_lt_linker_boilerplate" | $SED '/^$/d' > conftest.exp
14431 $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
14432 if diff conftest.exp conftest.er2 >/dev/null; then
14433 lt_cv_prog_compiler_static_works_CXX=yes
14434 fi
14435 else
14436 lt_cv_prog_compiler_static_works_CXX=yes
14437 fi
14438 fi
14439 $RM -r conftest*
14440 LDFLAGS="$save_LDFLAGS"
14441
14442 fi
14443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_static_works_CXX" >&5
14444 $as_echo "$lt_cv_prog_compiler_static_works_CXX" >&6; }
14445
14446 if test x"$lt_cv_prog_compiler_static_works_CXX" = xyes; then
14447 :
14448 else
14449 lt_prog_compiler_static_CXX=
14450 fi
14451
14452
14453
14454
14455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14456 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14457 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14458 $as_echo_n "(cached) " >&6
14459 else
14460 lt_cv_prog_compiler_c_o_CXX=no
14461 $RM -r conftest 2>/dev/null
14462 mkdir conftest
14463 cd conftest
14464 mkdir out
14465 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14466
14467 lt_compiler_flag="-o out/conftest2.$ac_objext"
14468 # Insert the option either (1) after the last *FLAGS variable, or
14469 # (2) before a word containing "conftest.", or (3) at the end.
14470 # Note that $ac_compile itself does not contain backslashes and begins
14471 # with a dollar sign (not a hyphen), so the echo should work correctly.
14472 lt_compile=`echo "$ac_compile" | $SED \
14473 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14474 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14475 -e 's:$: $lt_compiler_flag:'`
14476 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14477 (eval "$lt_compile" 2>out/conftest.err)
14478 ac_status=$?
14479 cat out/conftest.err >&5
14480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14481 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14482 then
14483 # The compiler can only warn and ignore the option if not recognized
14484 # So say no if there are warnings
14485 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14486 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14487 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14488 lt_cv_prog_compiler_c_o_CXX=yes
14489 fi
14490 fi
14491 chmod u+w . 2>&5
14492 $RM conftest*
14493 # SGI C++ compiler will create directory out/ii_files/ for
14494 # template instantiation
14495 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14496 $RM out/* && rmdir out
14497 cd ..
14498 $RM -r conftest
14499 $RM conftest*
14500
14501 fi
14502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14503 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14504
14505
14506
14507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if $compiler supports -c -o file.$ac_objext" >&5
14508 $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
14509 if ${lt_cv_prog_compiler_c_o_CXX+:} false; then :
14510 $as_echo_n "(cached) " >&6
14511 else
14512 lt_cv_prog_compiler_c_o_CXX=no
14513 $RM -r conftest 2>/dev/null
14514 mkdir conftest
14515 cd conftest
14516 mkdir out
14517 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14518
14519 lt_compiler_flag="-o out/conftest2.$ac_objext"
14520 # Insert the option either (1) after the last *FLAGS variable, or
14521 # (2) before a word containing "conftest.", or (3) at the end.
14522 # Note that $ac_compile itself does not contain backslashes and begins
14523 # with a dollar sign (not a hyphen), so the echo should work correctly.
14524 lt_compile=`echo "$ac_compile" | $SED \
14525 -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
14526 -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
14527 -e 's:$: $lt_compiler_flag:'`
14528 (eval echo "\"\$as_me:$LINENO: $lt_compile\"" >&5)
14529 (eval "$lt_compile" 2>out/conftest.err)
14530 ac_status=$?
14531 cat out/conftest.err >&5
14532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14533 if (exit $ac_status) && test -s out/conftest2.$ac_objext
14534 then
14535 # The compiler can only warn and ignore the option if not recognized
14536 # So say no if there are warnings
14537 $ECHO "$_lt_compiler_boilerplate" | $SED '/^$/d' > out/conftest.exp
14538 $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
14539 if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
14540 lt_cv_prog_compiler_c_o_CXX=yes
14541 fi
14542 fi
14543 chmod u+w . 2>&5
14544 $RM conftest*
14545 # SGI C++ compiler will create directory out/ii_files/ for
14546 # template instantiation
14547 test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
14548 $RM out/* && rmdir out
14549 cd ..
14550 $RM -r conftest
14551 $RM conftest*
14552
14553 fi
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_compiler_c_o_CXX" >&5
14555 $as_echo "$lt_cv_prog_compiler_c_o_CXX" >&6; }
14556
14557
14558
14559
14560 hard_links="nottested"
14561 if test "$lt_cv_prog_compiler_c_o_CXX" = no && test "$need_locks" != no; then
14562 # do not overwrite the value of need_locks provided by the user
14563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we can lock with hard links" >&5
14564 $as_echo_n "checking if we can lock with hard links... " >&6; }
14565 hard_links=yes
14566 $RM conftest*
14567 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14568 touch conftest.a
14569 ln conftest.a conftest.b 2>&5 || hard_links=no
14570 ln conftest.a conftest.b 2>/dev/null && hard_links=no
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hard_links" >&5
14572 $as_echo "$hard_links" >&6; }
14573 if test "$hard_links" = no; then
14574 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
14575 $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
14576 need_locks=warn
14577 fi
14578 else
14579 need_locks=no
14580 fi
14581
14582
14583
14584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the $compiler linker ($LD) supports shared libraries" >&5
14585 $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
14586
14587 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14588 case $host_os in
14589 aix[4-9]*)
14590 # If we're using GNU nm, then we don't want the "-C" option.
14591 # -C means demangle to AIX nm, but means don't demangle with GNU nm
14592 # Also, AIX nm treats weak defined symbols like other global defined
14593 # symbols, whereas GNU nm marks them as "W".
14594 if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
14595 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'
14596 else
14597 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'
14598 fi
14599 ;;
14600 pw32*)
14601 export_symbols_cmds_CXX="$ltdll_cmds"
14602 ;;
14603 cygwin* | mingw* | cegcc*)
14604 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'
14605 ;;
14606 *)
14607 export_symbols_cmds_CXX='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
14608 ;;
14609 esac
14610 exclude_expsyms_CXX='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
14611
14612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ld_shlibs_CXX" >&5
14613 $as_echo "$ld_shlibs_CXX" >&6; }
14614 test "$ld_shlibs_CXX" = no && can_build_shared=no
14615
14616 with_gnu_ld_CXX=$with_gnu_ld
14617
14618
14619
14620
14621
14622
14623 #
14624 # Do we need to explicitly link libc?
14625 #
14626 case "x$archive_cmds_need_lc_CXX" in
14627 x|xyes)
14628 # Assume -lc should be added
14629 archive_cmds_need_lc_CXX=yes
14630
14631 if test "$enable_shared" = yes && test "$GCC" = yes; then
14632 case $archive_cmds_CXX in
14633 *'~'*)
14634 # FIXME: we may have to deal with multi-command sequences.
14635 ;;
14636 '$CC '*)
14637 # Test whether the compiler implicitly links with -lc since on some
14638 # systems, -lgcc has to come before -lc. If gcc already passes -lc
14639 # to ld, don't add -lc before -lgcc.
14640 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -lc should be explicitly linked in" >&5
14641 $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
14642 if ${lt_cv_archive_cmds_need_lc_CXX+:} false; then :
14643 $as_echo_n "(cached) " >&6
14644 else
14645 $RM conftest*
14646 echo "$lt_simple_compile_test_code" > conftest.$ac_ext
14647
14648 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
14649 (eval $ac_compile) 2>&5
14650 ac_status=$?
14651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14652 test $ac_status = 0; } 2>conftest.err; then
14653 soname=conftest
14654 lib=conftest
14655 libobjs=conftest.$ac_objext
14656 deplibs=
14657 wl=$lt_prog_compiler_wl_CXX
14658 pic_flag=$lt_prog_compiler_pic_CXX
14659 compiler_flags=-v
14660 linker_flags=-v
14661 verstring=
14662 output_objdir=.
14663 libname=conftest
14664 lt_save_allow_undefined_flag=$allow_undefined_flag_CXX
14665 allow_undefined_flag_CXX=
14666 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\""; } >&5
14667 (eval $archive_cmds_CXX 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
14668 ac_status=$?
14669 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
14670 test $ac_status = 0; }
14671 then
14672 lt_cv_archive_cmds_need_lc_CXX=no
14673 else
14674 lt_cv_archive_cmds_need_lc_CXX=yes
14675 fi
14676 allow_undefined_flag_CXX=$lt_save_allow_undefined_flag
14677 else
14678 cat conftest.err 1>&5
14679 fi
14680 $RM conftest*
14681
14682 fi
14683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_archive_cmds_need_lc_CXX" >&5
14684 $as_echo "$lt_cv_archive_cmds_need_lc_CXX" >&6; }
14685 archive_cmds_need_lc_CXX=$lt_cv_archive_cmds_need_lc_CXX
14686 ;;
14687 esac
14688 fi
14689 ;;
14690 esac
14691
14692
14693
14694
14695
14696
14697
14698
14699
14700
14701
14702
14703
14704
14705
14706
14707
14708
14709
14710
14711
14712
14713
14714
14715
14716
14717
14718
14719
14720
14721
14722
14723
14724
14725
14726
14727
14728
14729
14730
14731
14732
14733
14734
14735
14736
14737
14738
14739
14740
14741
14742
14743
14744
14745
14746
14747
14748
14749
14750
14751
14752
14753
14754
14755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking dynamic linker characteristics" >&5
14756 $as_echo_n "checking dynamic linker characteristics... " >&6; }
14757
14758 library_names_spec=
14759 libname_spec='lib$name'
14760 soname_spec=
14761 shrext_cmds=".so"
14762 postinstall_cmds=
14763 postuninstall_cmds=
14764 finish_cmds=
14765 finish_eval=
14766 shlibpath_var=
14767 shlibpath_overrides_runpath=unknown
14768 version_type=none
14769 dynamic_linker="$host_os ld.so"
14770 sys_lib_dlsearch_path_spec="/lib /usr/lib"
14771 need_lib_prefix=unknown
14772 hardcode_into_libs=no
14773
14774 # when you set need_version to no, make sure it does not cause -set_version
14775 # flags to be left without arguments
14776 need_version=unknown
14777
14778 case $host_os in
14779 aix3*)
14780 version_type=linux
14781 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
14782 shlibpath_var=LIBPATH
14783
14784 # AIX 3 has no versioning support, so we append a major version to the name.
14785 soname_spec='${libname}${release}${shared_ext}$major'
14786 ;;
14787
14788 aix[4-9]*)
14789 version_type=linux
14790 need_lib_prefix=no
14791 need_version=no
14792 hardcode_into_libs=yes
14793 if test "$host_cpu" = ia64; then
14794 # AIX 5 supports IA64
14795 library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
14796 shlibpath_var=LD_LIBRARY_PATH
14797 else
14798 # With GCC up to 2.95.x, collect2 would create an import file
14799 # for dependence libraries. The import file would start with
14800 # the line `#! .'. This would cause the generated library to
14801 # depend on `.', always an invalid library. This was fixed in
14802 # development snapshots of GCC prior to 3.0.
14803 case $host_os in
14804 aix4 | aix4.[01] | aix4.[01].*)
14805 if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
14806 echo ' yes '
14807 echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
14808 :
14809 else
14810 can_build_shared=no
14811 fi
14812 ;;
14813 esac
14814 # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
14815 # soname into executable. Probably we can add versioning support to
14816 # collect2, so additional links can be useful in future.
14817 if test "$aix_use_runtimelinking" = yes; then
14818 # If using run time linking (on AIX 4.2 or later) use lib<name>.so
14819 # instead of lib<name>.a to let people know that these are not
14820 # typical AIX shared libraries.
14821 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14822 else
14823 # We preserve .a as extension for shared libraries through AIX4.2
14824 # and later when we are not doing run time linking.
14825 library_names_spec='${libname}${release}.a $libname.a'
14826 soname_spec='${libname}${release}${shared_ext}$major'
14827 fi
14828 shlibpath_var=LIBPATH
14829 fi
14830 ;;
14831
14832 amigaos*)
14833 case $host_cpu in
14834 powerpc)
14835 # Since July 2007 AmigaOS4 officially supports .so libraries.
14836 # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
14837 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14838 ;;
14839 m68k)
14840 library_names_spec='$libname.ixlibrary $libname.a'
14841 # Create ${libname}_ixlibrary.a entries in /sys/libs.
14842 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'
14843 ;;
14844 esac
14845 ;;
14846
14847 beos*)
14848 library_names_spec='${libname}${shared_ext}'
14849 dynamic_linker="$host_os ld.so"
14850 shlibpath_var=LIBRARY_PATH
14851 ;;
14852
14853 bsdi[45]*)
14854 version_type=linux
14855 need_version=no
14856 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
14857 soname_spec='${libname}${release}${shared_ext}$major'
14858 finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
14859 shlibpath_var=LD_LIBRARY_PATH
14860 sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
14861 sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
14862 # the default ld.so.conf also contains /usr/contrib/lib and
14863 # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
14864 # libtool to hard-code these into programs
14865 ;;
14866
14867 cygwin* | mingw* | pw32* | cegcc*)
14868 version_type=windows
14869 shrext_cmds=".dll"
14870 need_version=no
14871 need_lib_prefix=no
14872
14873 case $GCC,$host_os in
14874 yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
14875 library_names_spec='$libname.dll.a'
14876 # DLL is installed to $(libdir)/../bin by postinstall_cmds
14877 postinstall_cmds='base_file=`basename \${file}`~
14878 dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
14879 dldir=$destdir/`dirname \$dlpath`~
14880 test -d \$dldir || mkdir -p \$dldir~
14881 $install_prog $dir/$dlname \$dldir/$dlname~
14882 chmod a+x \$dldir/$dlname~
14883 if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
14884 eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
14885 fi'
14886 postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
14887 dlpath=$dir/\$dldll~
14888 $RM \$dlpath'
14889 shlibpath_overrides_runpath=yes
14890
14891 case $host_os in
14892 cygwin*)
14893 # Cygwin DLLs use 'cyg' prefix rather than 'lib'
14894 soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14895
14896 ;;
14897 mingw* | cegcc*)
14898 # MinGW DLLs use traditional 'lib' prefix
14899 soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14900 ;;
14901 pw32*)
14902 # pw32 DLLs use 'pw' prefix rather than 'lib'
14903 library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
14904 ;;
14905 esac
14906 ;;
14907
14908 *)
14909 library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
14910 ;;
14911 esac
14912 dynamic_linker='Win32 ld.exe'
14913 # FIXME: first we should search . and the directory the executable is in
14914 shlibpath_var=PATH
14915 ;;
14916
14917 darwin* | rhapsody*)
14918 dynamic_linker="$host_os dyld"
14919 version_type=darwin
14920 need_lib_prefix=no
14921 need_version=no
14922 library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
14923 soname_spec='${libname}${release}${major}$shared_ext'
14924 shlibpath_overrides_runpath=yes
14925 shlibpath_var=DYLD_LIBRARY_PATH
14926 shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
14927
14928 sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
14929 ;;
14930
14931 dgux*)
14932 version_type=linux
14933 need_lib_prefix=no
14934 need_version=no
14935 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
14936 soname_spec='${libname}${release}${shared_ext}$major'
14937 shlibpath_var=LD_LIBRARY_PATH
14938 ;;
14939
14940 freebsd* | dragonfly*)
14941 # DragonFly does not have aout. When/if they implement a new
14942 # versioning mechanism, adjust this.
14943 if test -x /usr/bin/objformat; then
14944 objformat=`/usr/bin/objformat`
14945 else
14946 case $host_os in
14947 freebsd[23].*) objformat=aout ;;
14948 *) objformat=elf ;;
14949 esac
14950 fi
14951 version_type=freebsd-$objformat
14952 case $version_type in
14953 freebsd-elf*)
14954 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
14955 need_version=no
14956 need_lib_prefix=no
14957 ;;
14958 freebsd-*)
14959 library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
14960 need_version=yes
14961 ;;
14962 esac
14963 shlibpath_var=LD_LIBRARY_PATH
14964 case $host_os in
14965 freebsd2.*)
14966 shlibpath_overrides_runpath=yes
14967 ;;
14968 freebsd3.[01]* | freebsdelf3.[01]*)
14969 shlibpath_overrides_runpath=yes
14970 hardcode_into_libs=yes
14971 ;;
14972 freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
14973 freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
14974 shlibpath_overrides_runpath=no
14975 hardcode_into_libs=yes
14976 ;;
14977 *) # from 4.6 on, and DragonFly
14978 shlibpath_overrides_runpath=yes
14979 hardcode_into_libs=yes
14980 ;;
14981 esac
14982 ;;
14983
14984 haiku*)
14985 version_type=linux
14986 need_lib_prefix=no
14987 need_version=no
14988 dynamic_linker="$host_os runtime_loader"
14989 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
14990 soname_spec='${libname}${release}${shared_ext}$major'
14991 shlibpath_var=LIBRARY_PATH
14992 shlibpath_overrides_runpath=yes
14993 sys_lib_dlsearch_path_spec='/boot/home/config/lib /boot/common/lib /boot/beos/system/lib'
14994 hardcode_into_libs=yes
14995 ;;
14996
14997 hpux9* | hpux10* | hpux11*)
14998 # Give a soname corresponding to the major version so that dld.sl refuses to
14999 # link against other versions.
15000 version_type=sunos
15001 need_lib_prefix=no
15002 need_version=no
15003 case $host_cpu in
15004 ia64*)
15005 shrext_cmds='.so'
15006 hardcode_into_libs=yes
15007 dynamic_linker="$host_os dld.so"
15008 shlibpath_var=LD_LIBRARY_PATH
15009 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15010 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15011 soname_spec='${libname}${release}${shared_ext}$major'
15012 if test "X$HPUX_IA64_MODE" = X32; then
15013 sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
15014 else
15015 sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
15016 fi
15017 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15018 ;;
15019 hppa*64*)
15020 shrext_cmds='.sl'
15021 hardcode_into_libs=yes
15022 dynamic_linker="$host_os dld.sl"
15023 shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
15024 shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
15025 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15026 soname_spec='${libname}${release}${shared_ext}$major'
15027 sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
15028 sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
15029 ;;
15030 *)
15031 shrext_cmds='.sl'
15032 dynamic_linker="$host_os dld.sl"
15033 shlibpath_var=SHLIB_PATH
15034 shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
15035 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15036 soname_spec='${libname}${release}${shared_ext}$major'
15037 ;;
15038 esac
15039 # HP-UX runs *really* slowly unless shared libraries are mode 555, ...
15040 postinstall_cmds='chmod 555 $lib'
15041 # or fails outright, so override atomically:
15042 install_override_mode=555
15043 ;;
15044
15045 interix[3-9]*)
15046 version_type=linux
15047 need_lib_prefix=no
15048 need_version=no
15049 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15050 soname_spec='${libname}${release}${shared_ext}$major'
15051 dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
15052 shlibpath_var=LD_LIBRARY_PATH
15053 shlibpath_overrides_runpath=no
15054 hardcode_into_libs=yes
15055 ;;
15056
15057 irix5* | irix6* | nonstopux*)
15058 case $host_os in
15059 nonstopux*) version_type=nonstopux ;;
15060 *)
15061 if test "$lt_cv_prog_gnu_ld" = yes; then
15062 version_type=linux
15063 else
15064 version_type=irix
15065 fi ;;
15066 esac
15067 need_lib_prefix=no
15068 need_version=no
15069 soname_spec='${libname}${release}${shared_ext}$major'
15070 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
15071 case $host_os in
15072 irix5* | nonstopux*)
15073 libsuff= shlibsuff=
15074 ;;
15075 *)
15076 case $LD in # libtool.m4 will add one of these switches to LD
15077 *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
15078 libsuff= shlibsuff= libmagic=32-bit;;
15079 *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
15080 libsuff=32 shlibsuff=N32 libmagic=N32;;
15081 *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
15082 libsuff=64 shlibsuff=64 libmagic=64-bit;;
15083 *) libsuff= shlibsuff= libmagic=never-match;;
15084 esac
15085 ;;
15086 esac
15087 shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
15088 shlibpath_overrides_runpath=no
15089 sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
15090 sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
15091 hardcode_into_libs=yes
15092 ;;
15093
15094 # No shared lib support for Linux oldld, aout, or coff.
15095 linux*oldld* | linux*aout* | linux*coff*)
15096 dynamic_linker=no
15097 ;;
15098
15099 # This must be Linux ELF.
15100
15101 # uclinux* changes (here and below) have been submitted to the libtool
15102 # project, but have not yet been accepted: they are GCC-local changes
15103 # for the time being. (See
15104 # https://lists.gnu.org/archive/html/libtool-patches/2018-05/msg00000.html)
15105 linux* | k*bsd*-gnu | kopensolaris*-gnu | gnu* | uclinuxfdpiceabi)
15106 version_type=linux
15107 need_lib_prefix=no
15108 need_version=no
15109 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15110 soname_spec='${libname}${release}${shared_ext}$major'
15111 finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
15112 shlibpath_var=LD_LIBRARY_PATH
15113 shlibpath_overrides_runpath=no
15114
15115 # Some binutils ld are patched to set DT_RUNPATH
15116 if ${lt_cv_shlibpath_overrides_runpath+:} false; then :
15117 $as_echo_n "(cached) " >&6
15118 else
15119 lt_cv_shlibpath_overrides_runpath=no
15120 save_LDFLAGS=$LDFLAGS
15121 save_libdir=$libdir
15122 eval "libdir=/foo; wl=\"$lt_prog_compiler_wl_CXX\"; \
15123 LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec_CXX\""
15124 if test x$gcc_no_link = xyes; then
15125 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15126 fi
15127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15128 /* end confdefs.h. */
15129
15130 int
15131 main ()
15132 {
15133
15134 ;
15135 return 0;
15136 }
15137 _ACEOF
15138 if ac_fn_cxx_try_link "$LINENO"; then :
15139 if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then :
15140 lt_cv_shlibpath_overrides_runpath=yes
15141 fi
15142 fi
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15145 LDFLAGS=$save_LDFLAGS
15146 libdir=$save_libdir
15147
15148 fi
15149
15150 shlibpath_overrides_runpath=$lt_cv_shlibpath_overrides_runpath
15151
15152 # This implies no fast_install, which is unacceptable.
15153 # Some rework will be needed to allow for fast_install
15154 # before this can be enabled.
15155 hardcode_into_libs=yes
15156
15157 # Append ld.so.conf contents to the search path
15158 if test -f /etc/ld.so.conf; then
15159 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' ' '`
15160 sys_lib_dlsearch_path_spec="/lib /usr/lib $lt_ld_extra"
15161 fi
15162
15163 # We used to test for /lib/ld.so.1 and disable shared libraries on
15164 # powerpc, because MkLinux only supported shared libraries with the
15165 # GNU dynamic linker. Since this was broken with cross compilers,
15166 # most powerpc-linux boxes support dynamic linking these days and
15167 # people can always --disable-shared, the test was removed, and we
15168 # assume the GNU/Linux dynamic linker is in use.
15169 dynamic_linker='GNU/Linux ld.so'
15170 ;;
15171
15172 netbsd*)
15173 version_type=sunos
15174 need_lib_prefix=no
15175 need_version=no
15176 if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
15177 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15178 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15179 dynamic_linker='NetBSD (a.out) ld.so'
15180 else
15181 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
15182 soname_spec='${libname}${release}${shared_ext}$major'
15183 dynamic_linker='NetBSD ld.elf_so'
15184 fi
15185 shlibpath_var=LD_LIBRARY_PATH
15186 shlibpath_overrides_runpath=yes
15187 hardcode_into_libs=yes
15188 ;;
15189
15190 newsos6)
15191 version_type=linux
15192 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15193 shlibpath_var=LD_LIBRARY_PATH
15194 shlibpath_overrides_runpath=yes
15195 ;;
15196
15197 *nto* | *qnx*)
15198 version_type=qnx
15199 need_lib_prefix=no
15200 need_version=no
15201 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15202 soname_spec='${libname}${release}${shared_ext}$major'
15203 shlibpath_var=LD_LIBRARY_PATH
15204 shlibpath_overrides_runpath=no
15205 hardcode_into_libs=yes
15206 dynamic_linker='ldqnx.so'
15207 ;;
15208
15209 openbsd*)
15210 version_type=sunos
15211 sys_lib_dlsearch_path_spec="/usr/lib"
15212 need_lib_prefix=no
15213 # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
15214 case $host_os in
15215 openbsd3.3 | openbsd3.3.*) need_version=yes ;;
15216 *) need_version=no ;;
15217 esac
15218 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15219 finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
15220 shlibpath_var=LD_LIBRARY_PATH
15221 if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
15222 case $host_os in
15223 openbsd2.[89] | openbsd2.[89].*)
15224 shlibpath_overrides_runpath=no
15225 ;;
15226 *)
15227 shlibpath_overrides_runpath=yes
15228 ;;
15229 esac
15230 else
15231 shlibpath_overrides_runpath=yes
15232 fi
15233 ;;
15234
15235 os2*)
15236 libname_spec='$name'
15237 shrext_cmds=".dll"
15238 need_lib_prefix=no
15239 library_names_spec='$libname${shared_ext} $libname.a'
15240 dynamic_linker='OS/2 ld.exe'
15241 shlibpath_var=LIBPATH
15242 ;;
15243
15244 osf3* | osf4* | osf5*)
15245 version_type=osf
15246 need_lib_prefix=no
15247 need_version=no
15248 soname_spec='${libname}${release}${shared_ext}$major'
15249 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15250 shlibpath_var=LD_LIBRARY_PATH
15251 sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
15252 sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
15253 ;;
15254
15255 rdos*)
15256 dynamic_linker=no
15257 ;;
15258
15259 solaris*)
15260 version_type=linux
15261 need_lib_prefix=no
15262 need_version=no
15263 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15264 soname_spec='${libname}${release}${shared_ext}$major'
15265 shlibpath_var=LD_LIBRARY_PATH
15266 shlibpath_overrides_runpath=yes
15267 hardcode_into_libs=yes
15268 # ldd complains unless libraries are executable
15269 postinstall_cmds='chmod +x $lib'
15270 ;;
15271
15272 sunos4*)
15273 version_type=sunos
15274 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
15275 finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
15276 shlibpath_var=LD_LIBRARY_PATH
15277 shlibpath_overrides_runpath=yes
15278 if test "$with_gnu_ld" = yes; then
15279 need_lib_prefix=no
15280 fi
15281 need_version=yes
15282 ;;
15283
15284 sysv4 | sysv4.3*)
15285 version_type=linux
15286 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15287 soname_spec='${libname}${release}${shared_ext}$major'
15288 shlibpath_var=LD_LIBRARY_PATH
15289 case $host_vendor in
15290 sni)
15291 shlibpath_overrides_runpath=no
15292 need_lib_prefix=no
15293 runpath_var=LD_RUN_PATH
15294 ;;
15295 siemens)
15296 need_lib_prefix=no
15297 ;;
15298 motorola)
15299 need_lib_prefix=no
15300 need_version=no
15301 shlibpath_overrides_runpath=no
15302 sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
15303 ;;
15304 esac
15305 ;;
15306
15307 sysv4*MP*)
15308 if test -d /usr/nec ;then
15309 version_type=linux
15310 library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
15311 soname_spec='$libname${shared_ext}.$major'
15312 shlibpath_var=LD_LIBRARY_PATH
15313 fi
15314 ;;
15315
15316 sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
15317 version_type=freebsd-elf
15318 need_lib_prefix=no
15319 need_version=no
15320 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
15321 soname_spec='${libname}${release}${shared_ext}$major'
15322 shlibpath_var=LD_LIBRARY_PATH
15323 shlibpath_overrides_runpath=yes
15324 hardcode_into_libs=yes
15325 if test "$with_gnu_ld" = yes; then
15326 sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
15327 else
15328 sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
15329 case $host_os in
15330 sco3.2v5*)
15331 sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
15332 ;;
15333 esac
15334 fi
15335 sys_lib_dlsearch_path_spec='/usr/lib'
15336 ;;
15337
15338 tpf*)
15339 # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
15340 version_type=linux
15341 need_lib_prefix=no
15342 need_version=no
15343 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15344 shlibpath_var=LD_LIBRARY_PATH
15345 shlibpath_overrides_runpath=no
15346 hardcode_into_libs=yes
15347 ;;
15348
15349 uts4*)
15350 version_type=linux
15351 library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
15352 soname_spec='${libname}${release}${shared_ext}$major'
15353 shlibpath_var=LD_LIBRARY_PATH
15354 ;;
15355
15356 *)
15357 dynamic_linker=no
15358 ;;
15359 esac
15360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $dynamic_linker" >&5
15361 $as_echo "$dynamic_linker" >&6; }
15362 test "$dynamic_linker" = no && can_build_shared=no
15363
15364 variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
15365 if test "$GCC" = yes; then
15366 variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
15367 fi
15368
15369 if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
15370 sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
15371 fi
15372 if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
15373 sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
15374 fi
15375
15376
15377
15378
15379
15380
15381
15382
15383
15384
15385
15386
15387
15388
15389
15390
15391
15392
15393
15394
15395
15396
15397
15398
15399
15400
15401
15402
15403
15404
15405
15406
15407
15408
15409
15410
15411
15412
15413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to hardcode library paths into programs" >&5
15414 $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
15415 hardcode_action_CXX=
15416 if test -n "$hardcode_libdir_flag_spec_CXX" ||
15417 test -n "$runpath_var_CXX" ||
15418 test "X$hardcode_automatic_CXX" = "Xyes" ; then
15419
15420 # We can hardcode non-existent directories.
15421 if test "$hardcode_direct_CXX" != no &&
15422 # If the only mechanism to avoid hardcoding is shlibpath_var, we
15423 # have to relink, otherwise we might link with an installed library
15424 # when we should be linking with a yet-to-be-installed one
15425 ## test "$_LT_TAGVAR(hardcode_shlibpath_var, CXX)" != no &&
15426 test "$hardcode_minus_L_CXX" != no; then
15427 # Linking always hardcodes the temporary library directory.
15428 hardcode_action_CXX=relink
15429 else
15430 # We can link without hardcoding, and we can hardcode nonexisting dirs.
15431 hardcode_action_CXX=immediate
15432 fi
15433 else
15434 # We cannot hardcode anything, or else we can only hardcode existing
15435 # directories.
15436 hardcode_action_CXX=unsupported
15437 fi
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $hardcode_action_CXX" >&5
15439 $as_echo "$hardcode_action_CXX" >&6; }
15440
15441 if test "$hardcode_action_CXX" = relink ||
15442 test "$inherit_rpath_CXX" = yes; then
15443 # Fast installation is not supported
15444 enable_fast_install=no
15445 elif test "$shlibpath_overrides_runpath" = yes ||
15446 test "$enable_shared" = no; then
15447 # Fast installation is not necessary
15448 enable_fast_install=needless
15449 fi
15450
15451
15452
15453
15454
15455
15456
15457 fi # test -n "$compiler"
15458
15459 CC=$lt_save_CC
15460 LDCXX=$LD
15461 LD=$lt_save_LD
15462 GCC=$lt_save_GCC
15463 with_gnu_ld=$lt_save_with_gnu_ld
15464 lt_cv_path_LDCXX=$lt_cv_path_LD
15465 lt_cv_path_LD=$lt_save_path_LD
15466 lt_cv_prog_gnu_ldcxx=$lt_cv_prog_gnu_ld
15467 lt_cv_prog_gnu_ld=$lt_save_with_gnu_ld
15468 fi # test "$_lt_caught_CXX_error" != yes
15469
15470 ac_ext=c
15471 ac_cpp='$CPP $CPPFLAGS'
15472 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15473 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15474 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15475
15476
15477
15478
15479
15480
15481
15482
15483
15484
15485
15486
15487
15488 ac_config_commands="$ac_config_commands libtool"
15489
15490
15491
15492
15493 # Only expand once:
15494
15495
15496
15497
15498
15499 case $host in
15500 *-cygwin* | *-mingw*)
15501 # 'host' will be top-level target in the case of a target lib,
15502 # we must compare to with_cross_host to decide if this is a native
15503 # or cross-compiler and select where to install dlls appropriately.
15504 if test -n "$with_cross_host" &&
15505 test x"$with_cross_host" != x"no"; then
15506 lt_host_flags='-no-undefined -bindir "$(toolexeclibdir)"';
15507 else
15508 lt_host_flags='-no-undefined -bindir "$(bindir)"';
15509 fi
15510 ;;
15511 *)
15512 lt_host_flags=
15513 ;;
15514 esac
15515
15516
15517
15518
15519
15520
15521 if test "$enable_vtable_verify" = yes; then
15522 predep_objects_CXX="${predep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_start.o"
15523 postdep_objects_CXX="${postdep_objects_CXX} ${glibcxx_builddir}/../libgcc/vtv_end.o"
15524 fi
15525
15526
15527 # libtool variables for C++ shared and position-independent compiles.
15528 #
15529 # Use glibcxx_lt_pic_flag to designate the automake variable
15530 # used to encapsulate the default libtool approach to creating objects
15531 # with position-independent code. Default: -prefer-pic.
15532 #
15533 # Use glibcxx_compiler_shared_flag to designate a compile-time flags for
15534 # creating shared objects. Default: -D_GLIBCXX_SHARED.
15535 #
15536 # Use glibcxx_compiler_pic_flag to designate a compile-time flags for
15537 # creating position-independent objects. This varies with the target
15538 # hardware and operating system, but is often: -DPIC -fPIC.
15539 if test "$enable_shared" = yes; then
15540 glibcxx_lt_pic_flag="-prefer-pic"
15541 glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
15542 glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
15543
15544 else
15545 glibcxx_lt_pic_flag=
15546 glibcxx_compiler_pic_flag=
15547 glibcxx_compiler_shared_flag=
15548 fi
15549
15550
15551
15552
15553 # Override the libtool's pic_flag and pic_mode.
15554 # Do this step after AM_PROG_LIBTOOL, but before AC_OUTPUT.
15555 # NB: this impacts --with-pic and --without-pic.
15556 lt_prog_compiler_pic_CXX="$glibcxx_compiler_pic_flag $glibcxx_compiler_shared_flag"
15557 pic_mode='default'
15558
15559 # Eliminate -lstdc++ addition to postdeps for cross compiles.
15560 postdeps_CXX=`echo " $postdeps_CXX " | sed 's, -lstdc++ ,,g'`
15561
15562 # Possibly disable most of the library.
15563 ## TODO: Consider skipping unncessary tests altogether in this case, rather
15564 ## than just ignoring the results. Faster /and/ more correct, win win.
15565
15566 # Check whether --enable-hosted-libstdcxx was given.
15567 if test "${enable_hosted_libstdcxx+set}" = set; then :
15568 enableval=$enable_hosted_libstdcxx;
15569 else
15570 case "$host" in
15571 arm*-*-symbianelf*)
15572 enable_hosted_libstdcxx=no
15573 ;;
15574 *)
15575 enable_hosted_libstdcxx=yes
15576 ;;
15577 esac
15578 fi
15579
15580 if test "$enable_hosted_libstdcxx" = no; then
15581 { $as_echo "$as_me:${as_lineno-$LINENO}: Only freestanding libraries will be built" >&5
15582 $as_echo "$as_me: Only freestanding libraries will be built" >&6;}
15583 is_hosted=no
15584 hosted_define=0
15585 enable_abi_check=no
15586 enable_libstdcxx_pch=no
15587 else
15588 is_hosted=yes
15589 hosted_define=1
15590 fi
15591
15592
15593 cat >>confdefs.h <<_ACEOF
15594 #define _GLIBCXX_HOSTED $hosted_define
15595 _ACEOF
15596
15597
15598
15599 # Enable descriptive messages to standard output on termination.
15600
15601 # Check whether --enable-libstdcxx-verbose was given.
15602 if test "${enable_libstdcxx_verbose+set}" = set; then :
15603 enableval=$enable_libstdcxx_verbose;
15604 else
15605 enable_libstdcxx_verbose=yes
15606 fi
15607
15608 if test x"$enable_libstdcxx_verbose" = xyes; then
15609 verbose_define=1
15610 else
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: verbose termination messages are disabled" >&5
15612 $as_echo "$as_me: verbose termination messages are disabled" >&6;}
15613 verbose_define=0
15614 fi
15615
15616 cat >>confdefs.h <<_ACEOF
15617 #define _GLIBCXX_VERBOSE $verbose_define
15618 _ACEOF
15619
15620
15621
15622 # Enable compiler support that doesn't require linking.
15623
15624 # Check whether --enable-libstdcxx-pch was given.
15625 if test "${enable_libstdcxx_pch+set}" = set; then :
15626 enableval=$enable_libstdcxx_pch;
15627 case "$enableval" in
15628 yes|no) ;;
15629 *) as_fn_error $? "Argument to enable/disable libstdcxx-pch must be yes or no" "$LINENO" 5 ;;
15630 esac
15631
15632 else
15633 enable_libstdcxx_pch=$is_hosted
15634 fi
15635
15636
15637 if test $enable_libstdcxx_pch = yes; then
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler with PCH support" >&5
15639 $as_echo_n "checking for compiler with PCH support... " >&6; }
15640 if ${glibcxx_cv_prog_CXX_pch+:} false; then :
15641 $as_echo_n "(cached) " >&6
15642 else
15643 ac_save_CXXFLAGS="$CXXFLAGS"
15644 CXXFLAGS="$CXXFLAGS -Werror -Winvalid-pch -Wno-deprecated"
15645
15646 ac_ext=cpp
15647 ac_cpp='$CXXCPP $CPPFLAGS'
15648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15651
15652 echo '#include <math.h>' > conftest.h
15653 if $CXX $CXXFLAGS $CPPFLAGS -x c++-header conftest.h \
15654 -o conftest.h.gch 1>&5 2>&1 &&
15655 echo '#error "pch failed"' > conftest.h &&
15656 echo '#include "conftest.h"' > conftest.cc &&
15657 $CXX -c $CXXFLAGS $CPPFLAGS conftest.cc 1>&5 2>&1 ;
15658 then
15659 glibcxx_cv_prog_CXX_pch=yes
15660 else
15661 glibcxx_cv_prog_CXX_pch=no
15662 fi
15663 rm -f conftest*
15664 CXXFLAGS=$ac_save_CXXFLAGS
15665 ac_ext=c
15666 ac_cpp='$CPP $CPPFLAGS'
15667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15670
15671
15672 fi
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_prog_CXX_pch" >&5
15674 $as_echo "$glibcxx_cv_prog_CXX_pch" >&6; }
15675 enable_libstdcxx_pch=$glibcxx_cv_prog_CXX_pch
15676 fi
15677
15678 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled PCH" >&5
15679 $as_echo_n "checking for enabled PCH... " >&6; }
15680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_pch" >&5
15681 $as_echo "$enable_libstdcxx_pch" >&6; }
15682
15683
15684 if test $enable_libstdcxx_pch = yes; then
15685 glibcxx_PCHFLAGS="-include bits/stdc++.h"
15686 else
15687 glibcxx_PCHFLAGS=""
15688 fi
15689
15690
15691
15692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for thread model used by GCC" >&5
15693 $as_echo_n "checking for thread model used by GCC... " >&6; }
15694 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
15695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $target_thread_file" >&5
15696 $as_echo "$target_thread_file" >&6; }
15697
15698 case $target_thread_file in
15699 aix) thread_header=config/rs6000/gthr-aix.h ;;
15700 dce) thread_header=config/pa/gthr-dce.h ;;
15701 gcn) thread_header=config/gcn/gthr-gcn.h ;;
15702 lynx) thread_header=config/gthr-lynx.h ;;
15703 mipssde) thread_header=config/mips/gthr-mipssde.h ;;
15704 posix) thread_header=gthr-posix.h ;;
15705 rtems) thread_header=config/gthr-rtems.h ;;
15706 single) thread_header=gthr-single.h ;;
15707 tpf) thread_header=config/s390/gthr-tpf.h ;;
15708 vxworks) thread_header=config/gthr-vxworks.h ;;
15709 win32) thread_header=config/i386/gthr-win32.h ;;
15710 esac
15711
15712
15713
15714
15715
15716 ac_ext=cpp
15717 ac_cpp='$CXXCPP $CPPFLAGS'
15718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15721
15722 old_CXXFLAGS="$CXXFLAGS"
15723
15724 # Do link tests if possible, instead asm tests, limited to some platforms
15725 # see discussion in PR target/40134, PR libstdc++/40133 and the thread
15726 # starting at http://gcc.gnu.org/ml/gcc-patches/2009-07/msg00322.html
15727 atomic_builtins_link_tests=no
15728 if test x$gcc_no_link != xyes; then
15729 # Can do link tests. Limit to some tested platforms
15730 case "$host" in
15731 *-*-linux* | *-*-uclinux* | *-*-kfreebsd*-gnu | *-*-gnu*)
15732 atomic_builtins_link_tests=yes
15733 ;;
15734 esac
15735 fi
15736
15737 if test x$atomic_builtins_link_tests = xyes; then
15738
15739 # Do link tests.
15740
15741 CXXFLAGS="$CXXFLAGS -fno-exceptions"
15742
15743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15744 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15745 if ${glibcxx_cv_atomic_bool+:} false; then :
15746 $as_echo_n "(cached) " >&6
15747 else
15748
15749 if test x$gcc_no_link = xyes; then
15750 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15751 fi
15752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15753 /* end confdefs.h. */
15754
15755 int
15756 main ()
15757 {
15758 typedef bool atomic_type;
15759 atomic_type c1;
15760 atomic_type c2;
15761 atomic_type c3(0);
15762 // N.B. __atomic_fetch_add is not supported for bool.
15763 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15764 __ATOMIC_RELAXED);
15765 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15766 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15767
15768 ;
15769 return 0;
15770 }
15771 _ACEOF
15772 if ac_fn_cxx_try_link "$LINENO"; then :
15773 glibcxx_cv_atomic_bool=yes
15774 else
15775 glibcxx_cv_atomic_bool=no
15776 fi
15777 rm -f core conftest.err conftest.$ac_objext \
15778 conftest$ac_exeext conftest.$ac_ext
15779
15780 fi
15781
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15783 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15784
15785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15786 $as_echo_n "checking for atomic builtins for short... " >&6; }
15787 if ${glibcxx_cv_atomic_short+:} false; then :
15788 $as_echo_n "(cached) " >&6
15789 else
15790
15791 if test x$gcc_no_link = xyes; then
15792 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15793 fi
15794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15795 /* end confdefs.h. */
15796
15797 int
15798 main ()
15799 {
15800 typedef short atomic_type;
15801 atomic_type c1;
15802 atomic_type c2;
15803 atomic_type c3(0);
15804 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15805 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15806 __ATOMIC_RELAXED);
15807 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15808 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15809
15810 ;
15811 return 0;
15812 }
15813 _ACEOF
15814 if ac_fn_cxx_try_link "$LINENO"; then :
15815 glibcxx_cv_atomic_short=yes
15816 else
15817 glibcxx_cv_atomic_short=no
15818 fi
15819 rm -f core conftest.err conftest.$ac_objext \
15820 conftest$ac_exeext conftest.$ac_ext
15821
15822 fi
15823
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15825 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15826
15827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
15828 $as_echo_n "checking for atomic builtins for int... " >&6; }
15829 if ${glibcxx_cv_atomic_int+:} false; then :
15830 $as_echo_n "(cached) " >&6
15831 else
15832
15833 if test x$gcc_no_link = xyes; then
15834 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15835 fi
15836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15837 /* end confdefs.h. */
15838
15839 int
15840 main ()
15841 {
15842 typedef int atomic_type;
15843 atomic_type c1;
15844 atomic_type c2;
15845 atomic_type c3(0);
15846 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15847 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15848 __ATOMIC_RELAXED);
15849 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15850 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15851
15852 ;
15853 return 0;
15854 }
15855 _ACEOF
15856 if ac_fn_cxx_try_link "$LINENO"; then :
15857 glibcxx_cv_atomic_int=yes
15858 else
15859 glibcxx_cv_atomic_int=no
15860 fi
15861 rm -f core conftest.err conftest.$ac_objext \
15862 conftest$ac_exeext conftest.$ac_ext
15863
15864 fi
15865
15866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
15867 $as_echo "$glibcxx_cv_atomic_int" >&6; }
15868
15869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
15870 $as_echo_n "checking for atomic builtins for long long... " >&6; }
15871 if ${glibcxx_cv_atomic_long_long+:} false; then :
15872 $as_echo_n "(cached) " >&6
15873 else
15874
15875 if test x$gcc_no_link = xyes; then
15876 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
15877 fi
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15880
15881 int
15882 main ()
15883 {
15884 typedef long long atomic_type;
15885 atomic_type c1;
15886 atomic_type c2;
15887 atomic_type c3(0);
15888 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15889 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15890 __ATOMIC_RELAXED);
15891 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15892 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15893
15894 ;
15895 return 0;
15896 }
15897 _ACEOF
15898 if ac_fn_cxx_try_link "$LINENO"; then :
15899 glibcxx_cv_atomic_long_long=yes
15900 else
15901 glibcxx_cv_atomic_long_long=no
15902 fi
15903 rm -f core conftest.err conftest.$ac_objext \
15904 conftest$ac_exeext conftest.$ac_ext
15905
15906 fi
15907
15908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
15909 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
15910
15911 else
15912
15913 # Do asm tests.
15914
15915 # Compile unoptimized.
15916 CXXFLAGS='-O0 -S'
15917
15918 # Fake what AC_TRY_COMPILE does.
15919
15920 cat > conftest.$ac_ext << EOF
15921 #line 15921 "configure"
15922 int main()
15923 {
15924 typedef bool atomic_type;
15925 atomic_type c1;
15926 atomic_type c2;
15927 atomic_type c3(0);
15928 // N.B. __atomic_fetch_add is not supported for bool.
15929 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15930 __ATOMIC_RELAXED);
15931 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15932 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15933
15934 return 0;
15935 }
15936 EOF
15937
15938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for bool" >&5
15939 $as_echo_n "checking for atomic builtins for bool... " >&6; }
15940 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15941 (eval $ac_compile) 2>&5
15942 ac_status=$?
15943 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15944 test $ac_status = 0; }; then
15945 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15946 glibcxx_cv_atomic_bool=no
15947 else
15948 glibcxx_cv_atomic_bool=yes
15949 fi
15950 fi
15951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_bool" >&5
15952 $as_echo "$glibcxx_cv_atomic_bool" >&6; }
15953 rm -f conftest*
15954
15955 cat > conftest.$ac_ext << EOF
15956 #line 15956 "configure"
15957 int main()
15958 {
15959 typedef short atomic_type;
15960 atomic_type c1;
15961 atomic_type c2;
15962 atomic_type c3(0);
15963 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
15964 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
15965 __ATOMIC_RELAXED);
15966 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
15967 __atomic_load_n(&c1, __ATOMIC_RELAXED);
15968
15969 return 0;
15970 }
15971 EOF
15972
15973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for short" >&5
15974 $as_echo_n "checking for atomic builtins for short... " >&6; }
15975 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
15976 (eval $ac_compile) 2>&5
15977 ac_status=$?
15978 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
15979 test $ac_status = 0; }; then
15980 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
15981 glibcxx_cv_atomic_short=no
15982 else
15983 glibcxx_cv_atomic_short=yes
15984 fi
15985 fi
15986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_short" >&5
15987 $as_echo "$glibcxx_cv_atomic_short" >&6; }
15988 rm -f conftest*
15989
15990 cat > conftest.$ac_ext << EOF
15991 #line 15991 "configure"
15992 int main()
15993 {
15994 // NB: _Atomic_word not necessarily int.
15995 typedef int atomic_type;
15996 atomic_type c1;
15997 atomic_type c2;
15998 atomic_type c3(0);
15999 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16000 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16001 __ATOMIC_RELAXED);
16002 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16003 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16004
16005 return 0;
16006 }
16007 EOF
16008
16009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for int" >&5
16010 $as_echo_n "checking for atomic builtins for int... " >&6; }
16011 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16012 (eval $ac_compile) 2>&5
16013 ac_status=$?
16014 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16015 test $ac_status = 0; }; then
16016 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16017 glibcxx_cv_atomic_int=no
16018 else
16019 glibcxx_cv_atomic_int=yes
16020 fi
16021 fi
16022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_int" >&5
16023 $as_echo "$glibcxx_cv_atomic_int" >&6; }
16024 rm -f conftest*
16025
16026 cat > conftest.$ac_ext << EOF
16027 #line 16027 "configure"
16028 int main()
16029 {
16030 typedef long long atomic_type;
16031 atomic_type c1;
16032 atomic_type c2;
16033 atomic_type c3(0);
16034 __atomic_fetch_add(&c1, c2, __ATOMIC_RELAXED);
16035 __atomic_compare_exchange_n(&c1, &c2, c3, true, __ATOMIC_ACQ_REL,
16036 __ATOMIC_RELAXED);
16037 __atomic_test_and_set(&c1, __ATOMIC_RELAXED);
16038 __atomic_load_n(&c1, __ATOMIC_RELAXED);
16039
16040 return 0;
16041 }
16042 EOF
16043
16044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atomic builtins for long long" >&5
16045 $as_echo_n "checking for atomic builtins for long long... " >&6; }
16046 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16047 (eval $ac_compile) 2>&5
16048 ac_status=$?
16049 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16050 test $ac_status = 0; }; then
16051 if grep __atomic_ conftest.s >/dev/null 2>&1 ; then
16052 glibcxx_cv_atomic_long_long=no
16053 else
16054 glibcxx_cv_atomic_long_long=yes
16055 fi
16056 fi
16057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_atomic_long_long" >&5
16058 $as_echo "$glibcxx_cv_atomic_long_long" >&6; }
16059 rm -f conftest*
16060
16061 fi
16062
16063 CXXFLAGS="$old_CXXFLAGS"
16064 ac_ext=c
16065 ac_cpp='$CPP $CPPFLAGS'
16066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16069
16070
16071 # Set atomicity_dir to builtins if all but the long long test above passes,
16072 # or if the builtins were already chosen (e.g. by configure.host).
16073 if { test "$glibcxx_cv_atomic_bool" = yes \
16074 && test "$glibcxx_cv_atomic_short" = yes \
16075 && test "$glibcxx_cv_atomic_int" = yes; } \
16076 || test "$atomicity_dir" = "cpu/generic/atomicity_builtins"; then
16077
16078 $as_echo "#define _GLIBCXX_ATOMIC_BUILTINS 1" >>confdefs.h
16079
16080 atomicity_dir=cpu/generic/atomicity_builtins
16081 fi
16082
16083 # If still generic, set to mutex.
16084 if test $atomicity_dir = "cpu/generic" ; then
16085 atomicity_dir=cpu/generic/atomicity_mutex
16086 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No native atomic operations are provided for this platform." >&5
16087 $as_echo "$as_me: WARNING: No native atomic operations are provided for this platform." >&2;}
16088 if test "x$target_thread_file" = xsingle; then
16089 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They cannot be faked when thread support is disabled." >&5
16090 $as_echo "$as_me: WARNING: They cannot be faked when thread support is disabled." >&2;}
16091 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Thread-safety of certain classes is not guaranteed." >&5
16092 $as_echo "$as_me: WARNING: Thread-safety of certain classes is not guaranteed." >&2;}
16093 else
16094 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: They will be faked using a mutex." >&5
16095 $as_echo "$as_me: WARNING: They will be faked using a mutex." >&2;}
16096 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Performance of certain classes will degrade as a result." >&5
16097 $as_echo "$as_me: WARNING: Performance of certain classes will degrade as a result." >&2;}
16098 fi
16099 fi
16100
16101
16102
16103
16104
16105 # Check whether --with-libstdcxx-lock-policy was given.
16106 if test "${with_libstdcxx_lock_policy+set}" = set; then :
16107 withval=$with_libstdcxx_lock_policy; libstdcxx_atomic_lock_policy=$withval
16108 else
16109 libstdcxx_atomic_lock_policy=auto
16110 fi
16111
16112
16113 case "$libstdcxx_atomic_lock_policy" in
16114 atomic|mutex|auto) ;;
16115 *) as_fn_error $? "Invalid argument for --with-libstdcxx-lock-policy" "$LINENO" 5 ;;
16116 esac
16117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lock policy for shared_ptr reference counts" >&5
16118 $as_echo_n "checking for lock policy for shared_ptr reference counts... " >&6; }
16119
16120 if test x"$libstdcxx_atomic_lock_policy" = x"auto"; then
16121
16122 ac_ext=cpp
16123 ac_cpp='$CXXCPP $CPPFLAGS'
16124 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16125 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16126 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16127
16128 ac_save_CXXFLAGS="$CXXFLAGS"
16129
16130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16131 /* end confdefs.h. */
16132
16133 #if ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2
16134 # error "No 2-byte compare-and-swap"
16135 #elif ! defined __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4
16136 # error "No 4-byte compare-and-swap"
16137 #endif
16138
16139 int
16140 main ()
16141 {
16142
16143 ;
16144 return 0;
16145 }
16146 _ACEOF
16147 if ac_fn_cxx_try_compile "$LINENO"; then :
16148 libstdcxx_atomic_lock_policy=atomic
16149 else
16150 libstdcxx_atomic_lock_policy=mutex
16151 fi
16152 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16153 ac_ext=c
16154 ac_cpp='$CPP $CPPFLAGS'
16155 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16156 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16157 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16158
16159 CXXFLAGS="$ac_save_CXXFLAGS"
16160 fi
16161
16162 if test x"$libstdcxx_atomic_lock_policy" = x"atomic"; then
16163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: atomic" >&5
16164 $as_echo "atomic" >&6; }
16165
16166 $as_echo "#define HAVE_ATOMIC_LOCK_POLICY 1" >>confdefs.h
16167
16168 else
16169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: mutex" >&5
16170 $as_echo "mutex" >&6; }
16171 fi
16172
16173
16174
16175
16176 # Fake what AC_TRY_COMPILE does, without linking as this is
16177 # unnecessary for this test.
16178
16179 cat > conftest.$ac_ext << EOF
16180 #line 16180 "configure"
16181 int main()
16182 {
16183 _Decimal32 d1;
16184 _Decimal64 d2;
16185 _Decimal128 d3;
16186 return 0;
16187 }
16188 EOF
16189
16190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO/IEC TR 24733 " >&5
16191 $as_echo_n "checking for ISO/IEC TR 24733 ... " >&6; }
16192 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16193 (eval $ac_compile) 2>&5
16194 ac_status=$?
16195 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16196 test $ac_status = 0; }; then
16197
16198 $as_echo "#define _GLIBCXX_USE_DECIMAL_FLOAT 1" >>confdefs.h
16199
16200 enable_dfp=yes
16201 else
16202 enable_dfp=no
16203 fi
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_dfp" >&5
16205 $as_echo "$enable_dfp" >&6; }
16206 rm -f conftest*
16207
16208
16209
16210
16211 ac_ext=cpp
16212 ac_cpp='$CXXCPP $CPPFLAGS'
16213 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16214 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16215 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16216
16217
16218 # Fake what AC_TRY_COMPILE does, without linking as this is
16219 # unnecessary for this test.
16220
16221 cat > conftest.$ac_ext << EOF
16222 #line 16222 "configure"
16223 template<typename T1, typename T2>
16224 struct same
16225 { typedef T2 type; };
16226
16227 template<typename T>
16228 struct same<T, T>;
16229
16230 int main()
16231 {
16232 typename same<long, __int128>::type i1;
16233 typename same<long long, __int128>::type i2;
16234 }
16235 EOF
16236
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __int128" >&5
16238 $as_echo_n "checking for __int128... " >&6; }
16239 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16240 (eval $ac_compile) 2>&5
16241 ac_status=$?
16242 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16243 test $ac_status = 0; }; then
16244
16245 $as_echo "#define _GLIBCXX_USE_INT128 1" >>confdefs.h
16246
16247 enable_int128=yes
16248 else
16249 enable_int128=no
16250 fi
16251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_int128" >&5
16252 $as_echo "$enable_int128" >&6; }
16253 rm -f conftest*
16254
16255 cat > conftest.$ac_ext << EOF
16256 #line 16256 "configure"
16257 template<typename T1, typename T2>
16258 struct same
16259 { typedef T2 type; };
16260
16261 template<typename T>
16262 struct same<T, T>;
16263
16264 int main()
16265 {
16266 typename same<double, __float128>::type f1;
16267 typename same<long double, __float128>::type f2;
16268 }
16269 EOF
16270
16271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __float128" >&5
16272 $as_echo_n "checking for __float128... " >&6; }
16273 if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
16274 (eval $ac_compile) 2>&5
16275 ac_status=$?
16276 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
16277 test $ac_status = 0; }; then
16278 enable_float128=yes
16279 else
16280 enable_float128=no
16281 fi
16282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_float128" >&5
16283 $as_echo "$enable_float128" >&6; }
16284
16285 rm -f conftest*
16286
16287 ac_ext=c
16288 ac_cpp='$CPP $CPPFLAGS'
16289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16292
16293
16294 if test "$enable_float128" = yes; then
16295 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/abi/pre/float128.ver"
16296 fi
16297
16298 # Checks for compiler support that doesn't require linking.
16299
16300 # All these tests are for C++; save the language and the compiler flags.
16301 # The CXXFLAGS thing is suspicious, but based on similar bits previously
16302 # found in GLIBCXX_CONFIGURE.
16303
16304 ac_ext=cpp
16305 ac_cpp='$CXXCPP $CPPFLAGS'
16306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16309
16310 ac_test_CXXFLAGS="${CXXFLAGS+set}"
16311 ac_save_CXXFLAGS="$CXXFLAGS"
16312
16313 # Check for -ffunction-sections -fdata-sections
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
16315 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
16316 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
16317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16318 /* end confdefs.h. */
16319 int foo; void bar() { };
16320 int
16321 main ()
16322 {
16323
16324 ;
16325 return 0;
16326 }
16327 _ACEOF
16328 if ac_fn_cxx_try_compile "$LINENO"; then :
16329 ac_fdsections=yes
16330 else
16331 ac_fdsections=no
16332 fi
16333 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16334 if test "$ac_test_CXXFLAGS" = set; then
16335 CXXFLAGS="$ac_save_CXXFLAGS"
16336 else
16337 # this is the suspicious part
16338 CXXFLAGS=''
16339 fi
16340 if test x"$ac_fdsections" = x"yes"; then
16341 SECTION_FLAGS='-ffunction-sections -fdata-sections'
16342 fi
16343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
16344 $as_echo "$ac_fdsections" >&6; }
16345
16346 ac_ext=c
16347 ac_cpp='$CPP $CPPFLAGS'
16348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16351
16352
16353
16354
16355 # Enable all the variable C++ runtime options that don't require linking.
16356
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for underlying I/O to use" >&5
16358 $as_echo_n "checking for underlying I/O to use... " >&6; }
16359 # Check whether --enable-cstdio was given.
16360 if test "${enable_cstdio+set}" = set; then :
16361 enableval=$enable_cstdio;
16362 case "$enableval" in
16363 stdio|stdio_posix|stdio_pure) ;;
16364 *) as_fn_error $? "Unknown argument to enable/disable cstdio" "$LINENO" 5 ;;
16365 esac
16366
16367 else
16368 enable_cstdio=stdio
16369 fi
16370
16371
16372
16373 # The only available I/O model is based on stdio, via basic_file_stdio.
16374 # The default "stdio" is actually "stdio + POSIX" because it uses fdopen(3)
16375 # to get a file descriptor and then uses read(3) and write(3) with it.
16376 # The "stdio_pure" model doesn't use fdopen and only uses FILE* for I/O.
16377 case ${enable_cstdio} in
16378 stdio*)
16379 CSTDIO_H=config/io/c_io_stdio.h
16380 BASIC_FILE_H=config/io/basic_file_stdio.h
16381 BASIC_FILE_CC=config/io/basic_file_stdio.cc
16382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: stdio" >&5
16383 $as_echo "stdio" >&6; }
16384
16385 if test "x$enable_cstdio" = "xstdio_pure" ; then
16386
16387 $as_echo "#define _GLIBCXX_USE_STDIO_PURE 1" >>confdefs.h
16388
16389 fi
16390 ;;
16391 esac
16392
16393
16394
16395
16396
16397
16398 # Check whether --enable-clocale was given.
16399 if test "${enable_clocale+set}" = set; then :
16400 enableval=$enable_clocale;
16401 case "$enableval" in
16402 generic|gnu|ieee_1003.1-2001|newlib|yes|no|auto) ;;
16403 *) as_fn_error $? "Unknown argument to enable/disable clocale" "$LINENO" 5 ;;
16404 esac
16405
16406 else
16407 enable_clocale=auto
16408 fi
16409
16410
16411
16412 # Deal with gettext issues. Default to not using it (=no) until we detect
16413 # support for it later. Let the user turn it off via --e/d, but let that
16414 # default to on for easier handling.
16415 USE_NLS=no
16416 # Check whether --enable-nls was given.
16417 if test "${enable_nls+set}" = set; then :
16418 enableval=$enable_nls;
16419 else
16420 enable_nls=yes
16421 fi
16422
16423
16424 # Either a known package, or "auto"
16425 if test $enable_clocale = no || test $enable_clocale = yes; then
16426 enable_clocale=auto
16427 fi
16428 enable_clocale_flag=$enable_clocale
16429
16430 # Probe for locale model to use if none specified.
16431 # Default to "generic".
16432 if test $enable_clocale_flag = auto; then
16433 case ${target_os} in
16434 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16435 enable_clocale_flag=gnu
16436 ;;
16437 darwin*)
16438 enable_clocale_flag=darwin
16439 ;;
16440 dragonfly* | freebsd*)
16441 enable_clocale_flag=dragonfly
16442 ;;
16443 openbsd*)
16444 enable_clocale_flag=newlib
16445 ;;
16446 *)
16447 if test x"$with_newlib" = x"yes"; then
16448 enable_clocale_flag=newlib
16449 else
16450 enable_clocale_flag=generic
16451 fi
16452 ;;
16453 esac
16454 fi
16455
16456 # Sanity check model, and test for special functionality.
16457 if test $enable_clocale_flag = gnu; then
16458 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16459 /* end confdefs.h. */
16460
16461 #include <features.h>
16462 #if (__GLIBC__ > 2 || (__GLIBC__ == 2 && __GLIBC_MINOR__ >= 3)) && !defined(__UCLIBC__)
16463 _GLIBCXX_ok
16464 #endif
16465
16466 _ACEOF
16467 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16468 $EGREP "_GLIBCXX_ok" >/dev/null 2>&1; then :
16469 enable_clocale_flag=gnu
16470 else
16471 enable_clocale_flag=generic
16472 fi
16473 rm -f conftest*
16474
16475
16476 # Set it to scream when it hurts.
16477 ac_save_CFLAGS="$CFLAGS"
16478 CFLAGS="-Wimplicit-function-declaration -Werror"
16479
16480 # Use strxfrm_l if available.
16481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16482 /* end confdefs.h. */
16483 #define _GNU_SOURCE 1
16484 #include <string.h>
16485 #include <locale.h>
16486 int
16487 main ()
16488 {
16489 char s[128]; __locale_t loc; strxfrm_l(s, "C", 5, loc);
16490 ;
16491 return 0;
16492 }
16493 _ACEOF
16494 if ac_fn_c_try_compile "$LINENO"; then :
16495
16496 $as_echo "#define HAVE_STRXFRM_L 1" >>confdefs.h
16497
16498 fi
16499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16500
16501 # Use strerror_l if available.
16502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16503 /* end confdefs.h. */
16504 #define _GNU_SOURCE 1
16505 #include <string.h>
16506 #include <locale.h>
16507 int
16508 main ()
16509 {
16510 __locale_t loc; strerror_l(5, loc);
16511 ;
16512 return 0;
16513 }
16514 _ACEOF
16515 if ac_fn_c_try_compile "$LINENO"; then :
16516
16517 $as_echo "#define HAVE_STRERROR_L 1" >>confdefs.h
16518
16519 fi
16520 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16521
16522 CFLAGS="$ac_save_CFLAGS"
16523 fi
16524
16525 # Perhaps use strerror_r if available, and strerror_l isn't.
16526 ac_save_CFLAGS="$CFLAGS"
16527 CFLAGS="-Wimplicit-function-declaration -Werror"
16528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16529 /* end confdefs.h. */
16530 #define _GNU_SOURCE 1
16531 #include <string.h>
16532 #include <locale.h>
16533 int
16534 main ()
16535 {
16536 char s[128]; strerror_r(5, s, 128);
16537 ;
16538 return 0;
16539 }
16540 _ACEOF
16541 if ac_fn_c_try_compile "$LINENO"; then :
16542
16543 $as_echo "#define HAVE_STRERROR_R 1" >>confdefs.h
16544
16545 fi
16546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16547 CFLAGS="$ac_save_CFLAGS"
16548
16549 # Set configure bits for specified locale package
16550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C locale to use" >&5
16551 $as_echo_n "checking for C locale to use... " >&6; }
16552 case ${enable_clocale_flag} in
16553 generic)
16554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: generic" >&5
16555 $as_echo "generic" >&6; }
16556
16557 CLOCALE_H=config/locale/generic/c_locale.h
16558 CLOCALE_CC=config/locale/generic/c_locale.cc
16559 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16560 CCOLLATE_CC=config/locale/generic/collate_members.cc
16561 CCTYPE_CC=config/locale/generic/ctype_members.cc
16562 CMESSAGES_H=config/locale/generic/messages_members.h
16563 CMESSAGES_CC=config/locale/generic/messages_members.cc
16564 CMONEY_CC=config/locale/generic/monetary_members.cc
16565 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16566 CTIME_H=config/locale/generic/time_members.h
16567 CTIME_CC=config/locale/generic/time_members.cc
16568 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16569 ;;
16570 darwin)
16571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: darwin" >&5
16572 $as_echo "darwin" >&6; }
16573
16574 CLOCALE_H=config/locale/generic/c_locale.h
16575 CLOCALE_CC=config/locale/generic/c_locale.cc
16576 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16577 CCOLLATE_CC=config/locale/generic/collate_members.cc
16578 CCTYPE_CC=config/locale/darwin/ctype_members.cc
16579 CMESSAGES_H=config/locale/generic/messages_members.h
16580 CMESSAGES_CC=config/locale/generic/messages_members.cc
16581 CMONEY_CC=config/locale/generic/monetary_members.cc
16582 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16583 CTIME_H=config/locale/generic/time_members.h
16584 CTIME_CC=config/locale/generic/time_members.cc
16585 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16586 ;;
16587
16588 dragonfly)
16589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: dragonfly or freebsd" >&5
16590 $as_echo "dragonfly or freebsd" >&6; }
16591
16592 CLOCALE_H=config/locale/dragonfly/c_locale.h
16593 CLOCALE_CC=config/locale/dragonfly/c_locale.cc
16594 CCODECVT_CC=config/locale/dragonfly/codecvt_members.cc
16595 CCOLLATE_CC=config/locale/dragonfly/collate_members.cc
16596 CCTYPE_CC=config/locale/dragonfly/ctype_members.cc
16597 CMESSAGES_H=config/locale/generic/messages_members.h
16598 CMESSAGES_CC=config/locale/generic/messages_members.cc
16599 CMONEY_CC=config/locale/dragonfly/monetary_members.cc
16600 CNUMERIC_CC=config/locale/dragonfly/numeric_members.cc
16601 CTIME_H=config/locale/dragonfly/time_members.h
16602 CTIME_CC=config/locale/dragonfly/time_members.cc
16603 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16604 ;;
16605
16606 gnu)
16607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: gnu" >&5
16608 $as_echo "gnu" >&6; }
16609
16610 # Declare intention to use gettext, and add support for specific
16611 # languages.
16612 # For some reason, ALL_LINGUAS has to be before AM-GNU-GETTEXT
16613 ALL_LINGUAS="de fr"
16614
16615 # Don't call AM-GNU-GETTEXT here. Instead, assume glibc.
16616 # Extract the first word of "msgfmt", so it can be a program name with args.
16617 set dummy msgfmt; ac_word=$2
16618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
16619 $as_echo_n "checking for $ac_word... " >&6; }
16620 if ${ac_cv_prog_check_msgfmt+:} false; then :
16621 $as_echo_n "(cached) " >&6
16622 else
16623 if test -n "$check_msgfmt"; then
16624 ac_cv_prog_check_msgfmt="$check_msgfmt" # Let the user override the test.
16625 else
16626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16627 for as_dir in $PATH
16628 do
16629 IFS=$as_save_IFS
16630 test -z "$as_dir" && as_dir=.
16631 for ac_exec_ext in '' $ac_executable_extensions; do
16632 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
16633 ac_cv_prog_check_msgfmt="yes"
16634 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
16635 break 2
16636 fi
16637 done
16638 done
16639 IFS=$as_save_IFS
16640
16641 test -z "$ac_cv_prog_check_msgfmt" && ac_cv_prog_check_msgfmt="no"
16642 fi
16643 fi
16644 check_msgfmt=$ac_cv_prog_check_msgfmt
16645 if test -n "$check_msgfmt"; then
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $check_msgfmt" >&5
16647 $as_echo "$check_msgfmt" >&6; }
16648 else
16649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
16650 $as_echo "no" >&6; }
16651 fi
16652
16653
16654 if test x"$check_msgfmt" = x"yes" && test x"$enable_nls" = x"yes"; then
16655 USE_NLS=yes
16656 fi
16657 # Export the build objects.
16658 for ling in $ALL_LINGUAS; do \
16659 glibcxx_MOFILES="$glibcxx_MOFILES $ling.mo"; \
16660 glibcxx_POFILES="$glibcxx_POFILES $ling.po"; \
16661 done
16662
16663
16664
16665 CLOCALE_H=config/locale/gnu/c_locale.h
16666 CLOCALE_CC=config/locale/gnu/c_locale.cc
16667 CCODECVT_CC=config/locale/gnu/codecvt_members.cc
16668 CCOLLATE_CC=config/locale/gnu/collate_members.cc
16669 CCTYPE_CC=config/locale/gnu/ctype_members.cc
16670 CMESSAGES_H=config/locale/gnu/messages_members.h
16671 CMESSAGES_CC=config/locale/gnu/messages_members.cc
16672 CMONEY_CC=config/locale/gnu/monetary_members.cc
16673 CNUMERIC_CC=config/locale/gnu/numeric_members.cc
16674 CTIME_H=config/locale/gnu/time_members.h
16675 CTIME_CC=config/locale/gnu/time_members.cc
16676 CLOCALE_INTERNAL_H=config/locale/gnu/c++locale_internal.h
16677 ;;
16678 ieee_1003.1-2001)
16679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: IEEE 1003.1" >&5
16680 $as_echo "IEEE 1003.1" >&6; }
16681
16682 CLOCALE_H=config/locale/ieee_1003.1-2001/c_locale.h
16683 CLOCALE_CC=config/locale/ieee_1003.1-2001/c_locale.cc
16684 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16685 CCOLLATE_CC=config/locale/generic/collate_members.cc
16686 CCTYPE_CC=config/locale/generic/ctype_members.cc
16687 CMESSAGES_H=config/locale/ieee_1003.1-2001/messages_members.h
16688 CMESSAGES_CC=config/locale/ieee_1003.1-2001/messages_members.cc
16689 CMONEY_CC=config/locale/generic/monetary_members.cc
16690 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16691 CTIME_H=config/locale/generic/time_members.h
16692 CTIME_CC=config/locale/generic/time_members.cc
16693 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16694 ;;
16695 newlib)
16696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: newlib" >&5
16697 $as_echo "newlib" >&6; }
16698
16699 CLOCALE_H=config/locale/generic/c_locale.h
16700 CLOCALE_CC=config/locale/generic/c_locale.cc
16701 CCODECVT_CC=config/locale/generic/codecvt_members.cc
16702 CCOLLATE_CC=config/locale/generic/collate_members.cc
16703 CCTYPE_CC=config/locale/newlib/ctype_members.cc
16704 CMESSAGES_H=config/locale/generic/messages_members.h
16705 CMESSAGES_CC=config/locale/generic/messages_members.cc
16706 CMONEY_CC=config/locale/generic/monetary_members.cc
16707 CNUMERIC_CC=config/locale/generic/numeric_members.cc
16708 CTIME_H=config/locale/generic/time_members.h
16709 CTIME_CC=config/locale/generic/time_members.cc
16710 CLOCALE_INTERNAL_H=config/locale/generic/c++locale_internal.h
16711 ;;
16712 esac
16713
16714 # This is where the testsuite looks for locale catalogs, using the
16715 # -DLOCALEDIR define during testsuite compilation.
16716 glibcxx_localedir=${glibcxx_builddir}/po/share/locale
16717
16718
16719 # A standalone libintl (e.g., GNU libintl) may be in use.
16720 if test $USE_NLS = yes; then
16721 for ac_header in libintl.h
16722 do :
16723 ac_fn_c_check_header_mongrel "$LINENO" "libintl.h" "ac_cv_header_libintl_h" "$ac_includes_default"
16724 if test "x$ac_cv_header_libintl_h" = xyes; then :
16725 cat >>confdefs.h <<_ACEOF
16726 #define HAVE_LIBINTL_H 1
16727 _ACEOF
16728
16729 else
16730 USE_NLS=no
16731 fi
16732
16733 done
16734
16735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gettext" >&5
16736 $as_echo_n "checking for library containing gettext... " >&6; }
16737 if ${ac_cv_search_gettext+:} false; then :
16738 $as_echo_n "(cached) " >&6
16739 else
16740 ac_func_search_save_LIBS=$LIBS
16741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16742 /* end confdefs.h. */
16743
16744 /* Override any GCC internal prototype to avoid an error.
16745 Use char because int might match the return type of a GCC
16746 builtin and then its argument prototype would still apply. */
16747 #ifdef __cplusplus
16748 extern "C"
16749 #endif
16750 char gettext ();
16751 int
16752 main ()
16753 {
16754 return gettext ();
16755 ;
16756 return 0;
16757 }
16758 _ACEOF
16759 for ac_lib in '' intl; do
16760 if test -z "$ac_lib"; then
16761 ac_res="none required"
16762 else
16763 ac_res=-l$ac_lib
16764 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16765 fi
16766 if test x$gcc_no_link = xyes; then
16767 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
16768 fi
16769 if ac_fn_c_try_link "$LINENO"; then :
16770 ac_cv_search_gettext=$ac_res
16771 fi
16772 rm -f core conftest.err conftest.$ac_objext \
16773 conftest$ac_exeext
16774 if ${ac_cv_search_gettext+:} false; then :
16775 break
16776 fi
16777 done
16778 if ${ac_cv_search_gettext+:} false; then :
16779
16780 else
16781 ac_cv_search_gettext=no
16782 fi
16783 rm conftest.$ac_ext
16784 LIBS=$ac_func_search_save_LIBS
16785 fi
16786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gettext" >&5
16787 $as_echo "$ac_cv_search_gettext" >&6; }
16788 ac_res=$ac_cv_search_gettext
16789 if test "$ac_res" != no; then :
16790 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16791
16792 else
16793 USE_NLS=no
16794 fi
16795
16796 fi
16797 if test $USE_NLS = yes; then
16798
16799 $as_echo "#define _GLIBCXX_USE_NLS 1" >>confdefs.h
16800
16801 fi
16802
16803
16804
16805
16806
16807
16808
16809
16810
16811
16812
16813
16814
16815
16816
16817
16818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::allocator base class" >&5
16819 $as_echo_n "checking for std::allocator base class... " >&6; }
16820 # Check whether --enable-libstdcxx-allocator was given.
16821 if test "${enable_libstdcxx_allocator+set}" = set; then :
16822 enableval=$enable_libstdcxx_allocator;
16823 case "$enableval" in
16824 new|malloc|mt|bitmap|pool|yes|no|auto) ;;
16825 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-allocator" "$LINENO" 5 ;;
16826 esac
16827
16828 else
16829 enable_libstdcxx_allocator=auto
16830 fi
16831
16832
16833
16834 # If they didn't use this option switch, or if they specified --enable
16835 # with no specific model, we'll have to look for one. If they
16836 # specified --disable (???), do likewise.
16837 if test $enable_libstdcxx_allocator = no ||
16838 test $enable_libstdcxx_allocator = yes;
16839 then
16840 enable_libstdcxx_allocator=auto
16841 fi
16842
16843 # Either a known package, or "auto". Auto implies the default choice
16844 # for a particular platform.
16845 enable_libstdcxx_allocator_flag=$enable_libstdcxx_allocator
16846
16847 # Probe for host-specific support if no specific model is specified.
16848 # Default to "new".
16849 if test $enable_libstdcxx_allocator_flag = auto; then
16850 case ${target_os} in
16851 linux* | gnu* | kfreebsd*-gnu | knetbsd*-gnu)
16852 enable_libstdcxx_allocator_flag=new
16853 ;;
16854 *)
16855 enable_libstdcxx_allocator_flag=new
16856 ;;
16857 esac
16858 fi
16859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_allocator_flag" >&5
16860 $as_echo "$enable_libstdcxx_allocator_flag" >&6; }
16861
16862
16863 # Set configure bits for specified locale package
16864 case ${enable_libstdcxx_allocator_flag} in
16865 bitmap)
16866 ALLOCATOR_H=config/allocator/bitmap_allocator_base.h
16867 ALLOCATOR_NAME=__gnu_cxx::bitmap_allocator
16868 ;;
16869 malloc)
16870 ALLOCATOR_H=config/allocator/malloc_allocator_base.h
16871 ALLOCATOR_NAME=__gnu_cxx::malloc_allocator
16872 ;;
16873 mt)
16874 ALLOCATOR_H=config/allocator/mt_allocator_base.h
16875 ALLOCATOR_NAME=__gnu_cxx::__mt_alloc
16876 ;;
16877 new)
16878 ALLOCATOR_H=config/allocator/new_allocator_base.h
16879 ALLOCATOR_NAME=__gnu_cxx::new_allocator
16880 ;;
16881 pool)
16882 ALLOCATOR_H=config/allocator/pool_allocator_base.h
16883 ALLOCATOR_NAME=__gnu_cxx::__pool_alloc
16884 ;;
16885 esac
16886
16887
16888
16889
16890
16891
16892 # Check whether --enable-cheaders-obsolete was given.
16893 if test "${enable_cheaders_obsolete+set}" = set; then :
16894 enableval=$enable_cheaders_obsolete;
16895 case "$enableval" in
16896 yes|no) ;;
16897 *) as_fn_error $? "Argument to enable/disable cheaders-obsolete must be yes or no" "$LINENO" 5 ;;
16898 esac
16899
16900 else
16901 enable_cheaders_obsolete=no
16902 fi
16903
16904
16905 # Check whether --enable-cheaders was given.
16906 if test "${enable_cheaders+set}" = set; then :
16907 enableval=$enable_cheaders;
16908 case "$enableval" in
16909 c|c_global|c_std) ;;
16910 *) as_fn_error $? "Unknown argument to enable/disable cheaders" "$LINENO" 5 ;;
16911 esac
16912
16913 else
16914 enable_cheaders=$c_model
16915 fi
16916
16917
16918 { $as_echo "$as_me:${as_lineno-$LINENO}: \"C\" header strategy set to $enable_cheaders" >&5
16919 $as_echo "$as_me: \"C\" header strategy set to $enable_cheaders" >&6;}
16920 if test $enable_cheaders = c_std ; then
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&5
16922 $as_echo "$as_me: WARNING: the --enable-cheaders=c_std configuration is obsolete, c_global should be used instead" >&2;}
16923 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&5
16924 $as_echo "$as_me: WARNING: if you are unable to use c_global please report a bug or inform libstdc++@gcc.gnu.org" >&2;}
16925 if test $enable_cheaders_obsolete != yes ; then
16926 as_fn_error $? "use --enable-cheaders-obsolete to use c_std \"C\" headers" "$LINENO" 5
16927 fi
16928 fi
16929
16930 C_INCLUDE_DIR='${glibcxx_srcdir}/include/'$enable_cheaders
16931
16932 # Allow overrides to configure.host here.
16933 if test $enable_cheaders = c_global; then
16934 c_compatibility=yes
16935 fi
16936
16937
16938
16939
16940
16941
16942
16943 # Check whether --enable-long-long was given.
16944 if test "${enable_long_long+set}" = set; then :
16945 enableval=$enable_long_long;
16946 case "$enableval" in
16947 yes|no) ;;
16948 *) as_fn_error $? "Argument to enable/disable long-long must be yes or no" "$LINENO" 5 ;;
16949 esac
16950
16951 else
16952 enable_long_long=yes
16953 fi
16954
16955
16956 if test $enable_long_long = yes; then
16957
16958 $as_echo "#define _GLIBCXX_USE_LONG_LONG 1" >>confdefs.h
16959
16960 fi
16961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled long long specializations" >&5
16962 $as_echo_n "checking for enabled long long specializations... " >&6; }
16963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_long_long" >&5
16964 $as_echo "$enable_long_long" >&6; }
16965
16966
16967 # Check whether --enable-wchar_t was given.
16968 if test "${enable_wchar_t+set}" = set; then :
16969 enableval=$enable_wchar_t;
16970 case "$enableval" in
16971 yes|no) ;;
16972 *) as_fn_error $? "Argument to enable/disable wchar_t must be yes or no" "$LINENO" 5 ;;
16973 esac
16974
16975 else
16976 enable_wchar_t=yes
16977 fi
16978
16979
16980
16981 # Test wchar.h for mbstate_t, which is needed for char_traits and fpos.
16982 for ac_header in wchar.h
16983 do :
16984 ac_fn_c_check_header_mongrel "$LINENO" "wchar.h" "ac_cv_header_wchar_h" "$ac_includes_default"
16985 if test "x$ac_cv_header_wchar_h" = xyes; then :
16986 cat >>confdefs.h <<_ACEOF
16987 #define HAVE_WCHAR_H 1
16988 _ACEOF
16989 ac_has_wchar_h=yes
16990 else
16991 ac_has_wchar_h=no
16992 fi
16993
16994 done
16995
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mbstate_t" >&5
16997 $as_echo_n "checking for mbstate_t... " >&6; }
16998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16999 /* end confdefs.h. */
17000 #include <wchar.h>
17001 int
17002 main ()
17003 {
17004 mbstate_t teststate;
17005 ;
17006 return 0;
17007 }
17008 _ACEOF
17009 if ac_fn_c_try_compile "$LINENO"; then :
17010 have_mbstate_t=yes
17011 else
17012 have_mbstate_t=no
17013 fi
17014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_mbstate_t" >&5
17016 $as_echo "$have_mbstate_t" >&6; }
17017 if test x"$have_mbstate_t" = xyes; then
17018
17019 $as_echo "#define HAVE_MBSTATE_T 1" >>confdefs.h
17020
17021 fi
17022
17023 # Test it always, for use in GLIBCXX_ENABLE_C99, together with
17024 # ac_has_wchar_h.
17025 for ac_header in wctype.h
17026 do :
17027 ac_fn_c_check_header_mongrel "$LINENO" "wctype.h" "ac_cv_header_wctype_h" "$ac_includes_default"
17028 if test "x$ac_cv_header_wctype_h" = xyes; then :
17029 cat >>confdefs.h <<_ACEOF
17030 #define HAVE_WCTYPE_H 1
17031 _ACEOF
17032 ac_has_wctype_h=yes
17033 else
17034 ac_has_wctype_h=no
17035 fi
17036
17037 done
17038
17039
17040 if test x"$enable_wchar_t" = x"yes"; then
17041
17042
17043 ac_ext=cpp
17044 ac_cpp='$CXXCPP $CPPFLAGS'
17045 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17046 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17047 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17048
17049
17050 if test x"$ac_has_wchar_h" = xyes &&
17051 test x"$ac_has_wctype_h" = xyes; then
17052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17053 /* end confdefs.h. */
17054 #include <wchar.h>
17055 #include <stddef.h>
17056 wint_t i;
17057 long l = WEOF;
17058 long j = WCHAR_MIN;
17059 long k = WCHAR_MAX;
17060 namespace test
17061 {
17062 using ::btowc;
17063 using ::fgetwc;
17064 using ::fgetws;
17065 using ::fputwc;
17066 using ::fputws;
17067 using ::fwide;
17068 using ::fwprintf;
17069 using ::fwscanf;
17070 using ::getwc;
17071 using ::getwchar;
17072 using ::mbrlen;
17073 using ::mbrtowc;
17074 using ::mbsinit;
17075 using ::mbsrtowcs;
17076 using ::putwc;
17077 using ::putwchar;
17078 using ::swprintf;
17079 using ::swscanf;
17080 using ::ungetwc;
17081 using ::vfwprintf;
17082 using ::vswprintf;
17083 using ::vwprintf;
17084 using ::wcrtomb;
17085 using ::wcscat;
17086 using ::wcschr;
17087 using ::wcscmp;
17088 using ::wcscoll;
17089 using ::wcscpy;
17090 using ::wcscspn;
17091 using ::wcsftime;
17092 using ::wcslen;
17093 using ::wcsncat;
17094 using ::wcsncmp;
17095 using ::wcsncpy;
17096 using ::wcspbrk;
17097 using ::wcsrchr;
17098 using ::wcsrtombs;
17099 using ::wcsspn;
17100 using ::wcsstr;
17101 using ::wcstod;
17102 using ::wcstok;
17103 using ::wcstol;
17104 using ::wcstoul;
17105 using ::wcsxfrm;
17106 using ::wctob;
17107 using ::wmemchr;
17108 using ::wmemcmp;
17109 using ::wmemcpy;
17110 using ::wmemmove;
17111 using ::wmemset;
17112 using ::wprintf;
17113 using ::wscanf;
17114 }
17115
17116 int
17117 main ()
17118 {
17119
17120 ;
17121 return 0;
17122 }
17123 _ACEOF
17124 if ac_fn_cxx_try_compile "$LINENO"; then :
17125
17126 else
17127 enable_wchar_t=no
17128 fi
17129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17130 else
17131 enable_wchar_t=no
17132 fi
17133
17134 ac_ext=c
17135 ac_cpp='$CPP $CPPFLAGS'
17136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17139
17140 fi
17141
17142 if test x"$enable_wchar_t" = x"yes"; then
17143
17144 $as_echo "#define _GLIBCXX_USE_WCHAR_T 1" >>confdefs.h
17145
17146 fi
17147
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for enabled wchar_t specializations" >&5
17149 $as_echo_n "checking for enabled wchar_t specializations... " >&6; }
17150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_wchar_t" >&5
17151 $as_echo "$enable_wchar_t" >&6; }
17152
17153
17154
17155 # Check whether --enable-c99 was given.
17156 if test "${enable_c99+set}" = set; then :
17157 enableval=$enable_c99;
17158 case "$enableval" in
17159 yes|no) ;;
17160 *) as_fn_error $? "Argument to enable/disable c99 must be yes or no" "$LINENO" 5 ;;
17161 esac
17162
17163 else
17164 enable_c99=yes
17165 fi
17166
17167
17168
17169 if test x"$enable_c99" = x"yes"; then
17170
17171 ac_ext=cpp
17172 ac_cpp='$CXXCPP $CPPFLAGS'
17173 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17174 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17175 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17176
17177
17178 # Use -std=c++98 (instead of -std=gnu++98) because leaving __STRICT_ANSI__
17179 # undefined may cause fake C99 facilities, like pre-standard snprintf,
17180 # to be spuriously enabled.
17181 ac_save_CXXFLAGS="$CXXFLAGS"
17182 CXXFLAGS="$CXXFLAGS -std=c++98"
17183 ac_save_LIBS="$LIBS"
17184 ac_save_gcc_no_link="$gcc_no_link"
17185
17186 if test x$gcc_no_link != xyes; then
17187 # Use -fno-exceptions to that the C driver can link these tests without
17188 # hitting undefined references to personality routines.
17189 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17191 $as_echo_n "checking for sin in -lm... " >&6; }
17192 if ${ac_cv_lib_m_sin+:} false; then :
17193 $as_echo_n "(cached) " >&6
17194 else
17195 ac_check_lib_save_LIBS=$LIBS
17196 LIBS="-lm $LIBS"
17197 if test x$gcc_no_link = xyes; then
17198 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17199 fi
17200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17201 /* end confdefs.h. */
17202
17203 /* Override any GCC internal prototype to avoid an error.
17204 Use char because int might match the return type of a GCC
17205 builtin and then its argument prototype would still apply. */
17206 #ifdef __cplusplus
17207 extern "C"
17208 #endif
17209 char sin ();
17210 int
17211 main ()
17212 {
17213 return sin ();
17214 ;
17215 return 0;
17216 }
17217 _ACEOF
17218 if ac_fn_cxx_try_link "$LINENO"; then :
17219 ac_cv_lib_m_sin=yes
17220 else
17221 ac_cv_lib_m_sin=no
17222 fi
17223 rm -f core conftest.err conftest.$ac_objext \
17224 conftest$ac_exeext conftest.$ac_ext
17225 LIBS=$ac_check_lib_save_LIBS
17226 fi
17227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17228 $as_echo "$ac_cv_lib_m_sin" >&6; }
17229 if test "x$ac_cv_lib_m_sin" = xyes; then :
17230 LIBS="$LIBS -lm"
17231 else
17232
17233 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17234 gcc_no_link=yes
17235
17236 fi
17237
17238 fi
17239
17240 # Check for the existence of <math.h> functions used if C99 is enabled.
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++98" >&5
17242 $as_echo_n "checking for ISO C99 support in <math.h> for C++98... " >&6; }
17243 if ${glibcxx_cv_c99_math_cxx98+:} false; then :
17244 $as_echo_n "(cached) " >&6
17245 else
17246
17247 if test x$gcc_no_link = xyes; then
17248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17249 /* end confdefs.h. */
17250 #include <math.h>
17251 volatile double d1, d2;
17252 volatile int i;
17253 int
17254 main ()
17255 {
17256 i = fpclassify(d1);
17257 i = isfinite(d1);
17258 i = isinf(d1);
17259 i = isnan(d1);
17260 i = isnormal(d1);
17261 i = signbit(d1);
17262 i = isgreater(d1, d2);
17263 i = isgreaterequal(d1, d2);
17264 i = isless(d1, d2);
17265 i = islessequal(d1, d2);
17266 i = islessgreater(d1, d2);
17267 i = islessgreater(d1, d2);
17268 i = isunordered(d1, d2);
17269
17270 ;
17271 return 0;
17272 }
17273 _ACEOF
17274 if ac_fn_cxx_try_compile "$LINENO"; then :
17275 glibcxx_cv_c99_math_cxx98=yes
17276 else
17277 glibcxx_cv_c99_math_cxx98=no
17278 fi
17279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17280 else
17281 if test x$gcc_no_link = xyes; then
17282 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17283 fi
17284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17285 /* end confdefs.h. */
17286 #include <math.h>
17287 volatile double d1, d2;
17288 volatile int i;
17289 int
17290 main ()
17291 {
17292 i = fpclassify(d1);
17293 i = isfinite(d1);
17294 i = isinf(d1);
17295 i = isnan(d1);
17296 i = isnormal(d1);
17297 i = signbit(d1);
17298 i = isgreater(d1, d2);
17299 i = isgreaterequal(d1, d2);
17300 i = isless(d1, d2);
17301 i = islessequal(d1, d2);
17302 i = islessgreater(d1, d2);
17303 i = islessgreater(d1, d2);
17304 i = isunordered(d1, d2);
17305
17306 ;
17307 return 0;
17308 }
17309 _ACEOF
17310 if ac_fn_cxx_try_link "$LINENO"; then :
17311 glibcxx_cv_c99_math_cxx98=yes
17312 else
17313 glibcxx_cv_c99_math_cxx98=no
17314 fi
17315 rm -f core conftest.err conftest.$ac_objext \
17316 conftest$ac_exeext conftest.$ac_ext
17317 fi
17318
17319 fi
17320
17321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx98" >&5
17322 $as_echo "$glibcxx_cv_c99_math_cxx98" >&6; }
17323 if test x"$glibcxx_cv_c99_math_cxx98" = x"yes"; then
17324
17325 $as_echo "#define _GLIBCXX98_USE_C99_MATH 1" >>confdefs.h
17326
17327 fi
17328
17329 # Check for the existence of <complex.h> complex math functions.
17330 # This is necessary even though libstdc++ uses the builtin versions
17331 # of these functions, because if the builtin cannot be used, a reference
17332 # to the library function is emitted.
17333 for ac_header in tgmath.h
17334 do :
17335 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
17336 if test "x$ac_cv_header_tgmath_h" = xyes; then :
17337 cat >>confdefs.h <<_ACEOF
17338 #define HAVE_TGMATH_H 1
17339 _ACEOF
17340 ac_has_tgmath_h=yes
17341 else
17342 ac_has_tgmath_h=no
17343 fi
17344
17345 done
17346
17347 for ac_header in complex.h
17348 do :
17349 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
17350 if test "x$ac_cv_header_complex_h" = xyes; then :
17351 cat >>confdefs.h <<_ACEOF
17352 #define HAVE_COMPLEX_H 1
17353 _ACEOF
17354 ac_has_complex_h=yes
17355 else
17356 ac_has_complex_h=no
17357 fi
17358
17359 done
17360
17361 if test x"$ac_has_complex_h" = x"yes"; then
17362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++98" >&5
17363 $as_echo_n "checking for ISO C99 support in <complex.h> for C++98... " >&6; }
17364 if ${glibcxx_cv_c99_complex_cxx98+:} false; then :
17365 $as_echo_n "(cached) " >&6
17366 else
17367
17368 if test x$gcc_no_link = xyes; then
17369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17370 /* end confdefs.h. */
17371 #include <complex.h>
17372 typedef __complex__ float float_type;
17373 typedef __complex__ double double_type;
17374 typedef __complex__ long double ld_type;
17375 volatile float_type tmpf;
17376 volatile double_type tmpd;
17377 volatile ld_type tmpld;
17378 volatile float f;
17379 volatile double d;
17380 volatile long double ld;
17381 int
17382 main ()
17383 {
17384 f = cabsf(tmpf);
17385 f = cargf(tmpf);
17386 tmpf = ccosf(tmpf);
17387 tmpf = ccoshf(tmpf);
17388 tmpf = cexpf(tmpf);
17389 tmpf = clogf(tmpf);
17390 tmpf = csinf(tmpf);
17391 tmpf = csinhf(tmpf);
17392 tmpf = csqrtf(tmpf);
17393 tmpf = ctanf(tmpf);
17394 tmpf = ctanhf(tmpf);
17395 tmpf = cpowf(tmpf, tmpf);
17396 tmpf = cprojf(tmpf);
17397 d = cabs(tmpd);
17398 d = carg(tmpd);
17399 tmpd = ccos(tmpd);
17400 tmpd = ccosh(tmpd);
17401 tmpd = cexp(tmpd);
17402 tmpd = clog(tmpd);
17403 tmpd = csin(tmpd);
17404 tmpd = csinh(tmpd);
17405 tmpd = csqrt(tmpd);
17406 tmpd = ctan(tmpd);
17407 tmpd = ctanh(tmpd);
17408 tmpd = cpow(tmpd, tmpd);
17409 tmpd = cproj(tmpd);
17410 ld = cabsl(tmpld);
17411 ld = cargl(tmpld);
17412 tmpld = ccosl(tmpld);
17413 tmpld = ccoshl(tmpld);
17414 tmpld = cexpl(tmpld);
17415 tmpld = clogl(tmpld);
17416 tmpld = csinl(tmpld);
17417 tmpld = csinhl(tmpld);
17418 tmpld = csqrtl(tmpld);
17419 tmpld = ctanl(tmpld);
17420 tmpld = ctanhl(tmpld);
17421 tmpld = cpowl(tmpld, tmpld);
17422 tmpld = cprojl(tmpld);
17423
17424 ;
17425 return 0;
17426 }
17427 _ACEOF
17428 if ac_fn_cxx_try_compile "$LINENO"; then :
17429 glibcxx_cv_c99_complex_cxx98=yes
17430 else
17431 glibcxx_cv_c99_complex_cxx98=no
17432 fi
17433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17434 else
17435 if test x$gcc_no_link = xyes; then
17436 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17437 fi
17438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17439 /* end confdefs.h. */
17440 #include <complex.h>
17441 typedef __complex__ float float_type;
17442 typedef __complex__ double double_type;
17443 typedef __complex__ long double ld_type;
17444 volatile float_type tmpf;
17445 volatile double_type tmpd;
17446 volatile ld_type tmpld;
17447 volatile float f;
17448 volatile double d;
17449 volatile long double ld;
17450 int
17451 main ()
17452 {
17453 f = cabsf(tmpf);
17454 f = cargf(tmpf);
17455 tmpf = ccosf(tmpf);
17456 tmpf = ccoshf(tmpf);
17457 tmpf = cexpf(tmpf);
17458 tmpf = clogf(tmpf);
17459 tmpf = csinf(tmpf);
17460 tmpf = csinhf(tmpf);
17461 tmpf = csqrtf(tmpf);
17462 tmpf = ctanf(tmpf);
17463 tmpf = ctanhf(tmpf);
17464 tmpf = cpowf(tmpf, tmpf);
17465 tmpf = cprojf(tmpf);
17466 d = cabs(tmpd);
17467 d = carg(tmpd);
17468 tmpd = ccos(tmpd);
17469 tmpd = ccosh(tmpd);
17470 tmpd = cexp(tmpd);
17471 tmpd = clog(tmpd);
17472 tmpd = csin(tmpd);
17473 tmpd = csinh(tmpd);
17474 tmpd = csqrt(tmpd);
17475 tmpd = ctan(tmpd);
17476 tmpd = ctanh(tmpd);
17477 tmpd = cpow(tmpd, tmpd);
17478 tmpd = cproj(tmpd);
17479 ld = cabsl(tmpld);
17480 ld = cargl(tmpld);
17481 tmpld = ccosl(tmpld);
17482 tmpld = ccoshl(tmpld);
17483 tmpld = cexpl(tmpld);
17484 tmpld = clogl(tmpld);
17485 tmpld = csinl(tmpld);
17486 tmpld = csinhl(tmpld);
17487 tmpld = csqrtl(tmpld);
17488 tmpld = ctanl(tmpld);
17489 tmpld = ctanhl(tmpld);
17490 tmpld = cpowl(tmpld, tmpld);
17491 tmpld = cprojl(tmpld);
17492
17493 ;
17494 return 0;
17495 }
17496 _ACEOF
17497 if ac_fn_cxx_try_link "$LINENO"; then :
17498 glibcxx_cv_c99_complex_cxx98=yes
17499 else
17500 glibcxx_cv_c99_complex_cxx98=no
17501 fi
17502 rm -f core conftest.err conftest.$ac_objext \
17503 conftest$ac_exeext conftest.$ac_ext
17504 fi
17505
17506 fi
17507
17508 fi
17509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx98" >&5
17510 $as_echo "$glibcxx_cv_c99_complex_cxx98" >&6; }
17511 if test x"$glibcxx_cv_c99_complex_cxx98" = x"yes"; then
17512
17513 $as_echo "#define _GLIBCXX98_USE_C99_COMPLEX 1" >>confdefs.h
17514
17515 fi
17516
17517 # Check for the existence in <stdio.h> of vscanf, et. al.
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++98" >&5
17519 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++98... " >&6; }
17520 if ${glibcxx_cv_c99_stdio_cxx98+:} false; then :
17521 $as_echo_n "(cached) " >&6
17522 else
17523
17524 if test x$gcc_no_link = xyes; then
17525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17526 /* end confdefs.h. */
17527 #include <stdio.h>
17528 #include <stdarg.h>
17529 void foo(char* fmt, ...)
17530 {
17531 va_list args; va_start(args, fmt);
17532 vfscanf(stderr, "%i", args);
17533 vscanf("%i", args);
17534 vsnprintf(fmt, 0, "%i", args);
17535 vsscanf(fmt, "%i", args);
17536 snprintf(fmt, 0, "%i");
17537 }
17538 int
17539 main ()
17540 {
17541
17542 ;
17543 return 0;
17544 }
17545 _ACEOF
17546 if ac_fn_cxx_try_compile "$LINENO"; then :
17547 glibcxx_cv_c99_stdio_cxx98=yes
17548 else
17549 glibcxx_cv_c99_stdio_cxx98=no
17550 fi
17551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17552 else
17553 if test x$gcc_no_link = xyes; then
17554 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17555 fi
17556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17557 /* end confdefs.h. */
17558 #include <stdio.h>
17559 #include <stdarg.h>
17560 void foo(char* fmt, ...)
17561 {
17562 va_list args; va_start(args, fmt);
17563 vfscanf(stderr, "%i", args);
17564 vscanf("%i", args);
17565 vsnprintf(fmt, 0, "%i", args);
17566 vsscanf(fmt, "%i", args);
17567 snprintf(fmt, 0, "%i");
17568 }
17569 int
17570 main ()
17571 {
17572
17573 ;
17574 return 0;
17575 }
17576 _ACEOF
17577 if ac_fn_cxx_try_link "$LINENO"; then :
17578 glibcxx_cv_c99_stdio_cxx98=yes
17579 else
17580 glibcxx_cv_c99_stdio_cxx98=no
17581 fi
17582 rm -f core conftest.err conftest.$ac_objext \
17583 conftest$ac_exeext conftest.$ac_ext
17584 fi
17585
17586 fi
17587
17588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx98" >&5
17589 $as_echo "$glibcxx_cv_c99_stdio_cxx98" >&6; }
17590 if test x"$glibcxx_cv_c99_stdio_cxx98" = x"yes"; then
17591
17592 $as_echo "#define _GLIBCXX98_USE_C99_STDIO 1" >>confdefs.h
17593
17594 fi
17595
17596 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++98" >&5
17598 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++98... " >&6; }
17599 if ${glibcxx_cv_c99_stdlib_cxx98+:} false; then :
17600 $as_echo_n "(cached) " >&6
17601 else
17602
17603 if test x$gcc_no_link = xyes; then
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606 #include <stdlib.h>
17607 volatile float f;
17608 volatile long double ld;
17609 volatile unsigned long long ll;
17610 lldiv_t mydivt;
17611 int
17612 main ()
17613 {
17614 char* tmp;
17615 f = strtof("gnu", &tmp);
17616 ld = strtold("gnu", &tmp);
17617 ll = strtoll("gnu", &tmp, 10);
17618 ll = strtoull("gnu", &tmp, 10);
17619 ll = llabs(10);
17620 mydivt = lldiv(10,1);
17621 ll = mydivt.quot;
17622 ll = mydivt.rem;
17623 ll = atoll("10");
17624 _Exit(0);
17625
17626 ;
17627 return 0;
17628 }
17629 _ACEOF
17630 if ac_fn_cxx_try_compile "$LINENO"; then :
17631 glibcxx_cv_c99_stdlib_cxx98=yes
17632 else
17633 glibcxx_cv_c99_stdlib_cxx98=no
17634 fi
17635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17636 else
17637 if test x$gcc_no_link = xyes; then
17638 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17639 fi
17640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17641 /* end confdefs.h. */
17642 #include <stdlib.h>
17643 volatile float f;
17644 volatile long double ld;
17645 volatile unsigned long long ll;
17646 lldiv_t mydivt;
17647 int
17648 main ()
17649 {
17650 char* tmp;
17651 f = strtof("gnu", &tmp);
17652 ld = strtold("gnu", &tmp);
17653 ll = strtoll("gnu", &tmp, 10);
17654 ll = strtoull("gnu", &tmp, 10);
17655 ll = llabs(10);
17656 mydivt = lldiv(10,1);
17657 ll = mydivt.quot;
17658 ll = mydivt.rem;
17659 ll = atoll("10");
17660 _Exit(0);
17661
17662 ;
17663 return 0;
17664 }
17665 _ACEOF
17666 if ac_fn_cxx_try_link "$LINENO"; then :
17667 glibcxx_cv_c99_stdlib_cxx98=yes
17668 else
17669 glibcxx_cv_c99_stdlib_cxx98=no
17670 fi
17671 rm -f core conftest.err conftest.$ac_objext \
17672 conftest$ac_exeext conftest.$ac_ext
17673 fi
17674
17675 fi
17676
17677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx98" >&5
17678 $as_echo "$glibcxx_cv_c99_stdlib_cxx98" >&6; }
17679 if test x"$glibcxx_cv_c99_stdlib_cxx98" = x"yes"; then
17680
17681 $as_echo "#define _GLIBCXX98_USE_C99_STDLIB 1" >>confdefs.h
17682
17683 fi
17684
17685 # Check for the existence in <wchar.h> of wcstold, etc.
17686 if test x"$ac_has_wchar_h" = xyes &&
17687 test x"$ac_has_wctype_h" = xyes; then
17688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++98" >&5
17689 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++98... " >&6; }
17690 if ${glibcxx_cv_c99_wchar_cxx98+:} false; then :
17691 $as_echo_n "(cached) " >&6
17692 else
17693
17694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17695 /* end confdefs.h. */
17696 #include <wchar.h>
17697 namespace test
17698 {
17699 using ::wcstold;
17700 using ::wcstoll;
17701 using ::wcstoull;
17702 }
17703
17704 int
17705 main ()
17706 {
17707
17708 ;
17709 return 0;
17710 }
17711 _ACEOF
17712 if ac_fn_cxx_try_compile "$LINENO"; then :
17713 glibcxx_cv_c99_wchar_cxx98=yes
17714 else
17715 glibcxx_cv_c99_wchar_cxx98=no
17716 fi
17717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17718
17719 fi
17720
17721
17722 # Checks for wide character functions that may not be present.
17723 # Injection of these is wrapped with guard macros.
17724 # NB: only put functions here, instead of immediately above, if
17725 # absolutely necessary.
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17728 #include <wchar.h>
17729 namespace test { using ::vfwscanf; }
17730 int
17731 main ()
17732 {
17733
17734 ;
17735 return 0;
17736 }
17737 _ACEOF
17738 if ac_fn_cxx_try_compile "$LINENO"; then :
17739
17740 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
17741
17742 fi
17743 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17744
17745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17746 /* end confdefs.h. */
17747 #include <wchar.h>
17748 namespace test { using ::vswscanf; }
17749 int
17750 main ()
17751 {
17752
17753 ;
17754 return 0;
17755 }
17756 _ACEOF
17757 if ac_fn_cxx_try_compile "$LINENO"; then :
17758
17759 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
17760
17761 fi
17762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17763
17764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17765 /* end confdefs.h. */
17766 #include <wchar.h>
17767 namespace test { using ::vwscanf; }
17768 int
17769 main ()
17770 {
17771
17772 ;
17773 return 0;
17774 }
17775 _ACEOF
17776 if ac_fn_cxx_try_compile "$LINENO"; then :
17777
17778 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
17779
17780 fi
17781 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17782
17783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17784 /* end confdefs.h. */
17785 #include <wchar.h>
17786 namespace test { using ::wcstof; }
17787 int
17788 main ()
17789 {
17790
17791 ;
17792 return 0;
17793 }
17794 _ACEOF
17795 if ac_fn_cxx_try_compile "$LINENO"; then :
17796
17797 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
17798
17799 fi
17800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17801
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17804 #include <wctype.h>
17805 int
17806 main ()
17807 {
17808 wint_t t; int i = iswblank(t);
17809 ;
17810 return 0;
17811 }
17812 _ACEOF
17813 if ac_fn_cxx_try_compile "$LINENO"; then :
17814
17815 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
17816
17817 fi
17818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17819
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx98" >&5
17821 $as_echo "$glibcxx_cv_c99_wchar_cxx98" >&6; }
17822 if test x"$glibcxx_cv_c99_wchar_cxx98" = x"yes"; then
17823
17824 $as_echo "#define _GLIBCXX98_USE_C99_WCHAR 1" >>confdefs.h
17825
17826 fi
17827 fi
17828
17829 # Option parsed, now set things appropriately.
17830 if test x"$glibcxx_cv_c99_math_cxx98" = x"no" ||
17831 test x"$glibcxx_cv_c99_complex_cxx98" = x"no" ||
17832 test x"$glibcxx_cv_c99_stdio_cxx98" = x"no" ||
17833 test x"$glibcxx_cv_c99_stdlib_cxx98" = x"no" ||
17834 test x"$glibcxx_cv_c99_wchar_cxx98" = x"no"; then
17835 enable_c99=no;
17836 else
17837
17838 $as_echo "#define _GLIBCXX_USE_C99 1" >>confdefs.h
17839
17840 fi
17841
17842 gcc_no_link="$ac_save_gcc_no_link"
17843 LIBS="$ac_save_LIBS"
17844 CXXFLAGS="$ac_save_CXXFLAGS"
17845 ac_ext=c
17846 ac_cpp='$CPP $CPPFLAGS'
17847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17850
17851
17852
17853 ac_ext=cpp
17854 ac_cpp='$CXXCPP $CPPFLAGS'
17855 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17856 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17857 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17858
17859
17860 # Use -std=c++11 and test again for C99 library feature in C++11 mode.
17861 # For the reasons given above we use -std=c++11 not -std=gnu++11.
17862 ac_save_CXXFLAGS="$CXXFLAGS"
17863 CXXFLAGS="$CXXFLAGS -std=c++11"
17864 ac_save_LIBS="$LIBS"
17865 ac_save_gcc_no_link="$gcc_no_link"
17866
17867 if test x$gcc_no_link != xyes; then
17868 # Use -fno-exceptions to that the C driver can link these tests without
17869 # hitting undefined references to personality routines.
17870 CXXFLAGS="$CXXFLAGS -fno-exceptions"
17871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
17872 $as_echo_n "checking for sin in -lm... " >&6; }
17873 if ${ac_cv_lib_m_sin+:} false; then :
17874 $as_echo_n "(cached) " >&6
17875 else
17876 ac_check_lib_save_LIBS=$LIBS
17877 LIBS="-lm $LIBS"
17878 if test x$gcc_no_link = xyes; then
17879 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17880 fi
17881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17882 /* end confdefs.h. */
17883
17884 /* Override any GCC internal prototype to avoid an error.
17885 Use char because int might match the return type of a GCC
17886 builtin and then its argument prototype would still apply. */
17887 #ifdef __cplusplus
17888 extern "C"
17889 #endif
17890 char sin ();
17891 int
17892 main ()
17893 {
17894 return sin ();
17895 ;
17896 return 0;
17897 }
17898 _ACEOF
17899 if ac_fn_cxx_try_link "$LINENO"; then :
17900 ac_cv_lib_m_sin=yes
17901 else
17902 ac_cv_lib_m_sin=no
17903 fi
17904 rm -f core conftest.err conftest.$ac_objext \
17905 conftest$ac_exeext conftest.$ac_ext
17906 LIBS=$ac_check_lib_save_LIBS
17907 fi
17908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
17909 $as_echo "$ac_cv_lib_m_sin" >&6; }
17910 if test "x$ac_cv_lib_m_sin" = xyes; then :
17911 LIBS="$LIBS -lm"
17912 else
17913
17914 # Use the default compile-only tests in GCC_TRY_COMPILE_OR_LINK
17915 gcc_no_link=yes
17916
17917 fi
17918
17919 fi
17920
17921 # Check for the existence of <math.h> functions used if C99 is enabled.
17922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <math.h> for C++11" >&5
17923 $as_echo_n "checking for ISO C99 support in <math.h> for C++11... " >&6; }
17924 if ${glibcxx_cv_c99_math_cxx11+:} false; then :
17925 $as_echo_n "(cached) " >&6
17926 else
17927
17928 if test x$gcc_no_link = xyes; then
17929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17930 /* end confdefs.h. */
17931 #include <math.h>
17932 volatile double d1, d2;
17933 volatile int i;
17934 int
17935 main ()
17936 {
17937 i = fpclassify(d1);
17938 i = isfinite(d1);
17939 i = isinf(d1);
17940 i = isnan(d1);
17941 i = isnormal(d1);
17942 i = signbit(d1);
17943 i = isgreater(d1, d2);
17944 i = isgreaterequal(d1, d2);
17945 i = isless(d1, d2);
17946 i = islessequal(d1, d2);
17947 i = islessgreater(d1, d2);
17948 i = islessgreater(d1, d2);
17949 i = isunordered(d1, d2);
17950
17951 ;
17952 return 0;
17953 }
17954 _ACEOF
17955 if ac_fn_cxx_try_compile "$LINENO"; then :
17956 glibcxx_cv_c99_math_cxx11=yes
17957 else
17958 glibcxx_cv_c99_math_cxx11=no
17959 fi
17960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17961 else
17962 if test x$gcc_no_link = xyes; then
17963 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
17964 fi
17965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17966 /* end confdefs.h. */
17967 #include <math.h>
17968 volatile double d1, d2;
17969 volatile int i;
17970 int
17971 main ()
17972 {
17973 i = fpclassify(d1);
17974 i = isfinite(d1);
17975 i = isinf(d1);
17976 i = isnan(d1);
17977 i = isnormal(d1);
17978 i = signbit(d1);
17979 i = isgreater(d1, d2);
17980 i = isgreaterequal(d1, d2);
17981 i = isless(d1, d2);
17982 i = islessequal(d1, d2);
17983 i = islessgreater(d1, d2);
17984 i = islessgreater(d1, d2);
17985 i = isunordered(d1, d2);
17986
17987 ;
17988 return 0;
17989 }
17990 _ACEOF
17991 if ac_fn_cxx_try_link "$LINENO"; then :
17992 glibcxx_cv_c99_math_cxx11=yes
17993 else
17994 glibcxx_cv_c99_math_cxx11=no
17995 fi
17996 rm -f core conftest.err conftest.$ac_objext \
17997 conftest$ac_exeext conftest.$ac_ext
17998 fi
17999
18000 fi
18001
18002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_cxx11" >&5
18003 $as_echo "$glibcxx_cv_c99_math_cxx11" >&6; }
18004 if test x"$glibcxx_cv_c99_math_cxx11" = x"yes"; then
18005
18006 $as_echo "#define _GLIBCXX11_USE_C99_MATH 1" >>confdefs.h
18007
18008 fi
18009
18010 # Check for the existence of <complex.h> complex math functions.
18011 # This is necessary even though libstdc++ uses the builtin versions
18012 # of these functions, because if the builtin cannot be used, a reference
18013 # to the library function is emitted.
18014 for ac_header in tgmath.h
18015 do :
18016 ac_fn_cxx_check_header_mongrel "$LINENO" "tgmath.h" "ac_cv_header_tgmath_h" "$ac_includes_default"
18017 if test "x$ac_cv_header_tgmath_h" = xyes; then :
18018 cat >>confdefs.h <<_ACEOF
18019 #define HAVE_TGMATH_H 1
18020 _ACEOF
18021 ac_has_tgmath_h=yes
18022 else
18023 ac_has_tgmath_h=no
18024 fi
18025
18026 done
18027
18028 for ac_header in complex.h
18029 do :
18030 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
18031 if test "x$ac_cv_header_complex_h" = xyes; then :
18032 cat >>confdefs.h <<_ACEOF
18033 #define HAVE_COMPLEX_H 1
18034 _ACEOF
18035 ac_has_complex_h=yes
18036 else
18037 ac_has_complex_h=no
18038 fi
18039
18040 done
18041
18042 if test x"$ac_has_complex_h" = x"yes"; then
18043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <complex.h> for C++11" >&5
18044 $as_echo_n "checking for ISO C99 support in <complex.h> for C++11... " >&6; }
18045 if ${glibcxx_cv_c99_complex_cxx11+:} false; then :
18046 $as_echo_n "(cached) " >&6
18047 else
18048
18049 if test x$gcc_no_link = xyes; then
18050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18051 /* end confdefs.h. */
18052 #include <complex.h>
18053 typedef __complex__ float float_type;
18054 typedef __complex__ double double_type;
18055 typedef __complex__ long double ld_type;
18056 volatile float_type tmpf;
18057 volatile double_type tmpd;
18058 volatile ld_type tmpld;
18059 volatile float f;
18060 volatile double d;
18061 volatile long double ld;
18062 int
18063 main ()
18064 {
18065 f = cabsf(tmpf);
18066 f = cargf(tmpf);
18067 tmpf = ccosf(tmpf);
18068 tmpf = ccoshf(tmpf);
18069 tmpf = cexpf(tmpf);
18070 tmpf = clogf(tmpf);
18071 tmpf = csinf(tmpf);
18072 tmpf = csinhf(tmpf);
18073 tmpf = csqrtf(tmpf);
18074 tmpf = ctanf(tmpf);
18075 tmpf = ctanhf(tmpf);
18076 tmpf = cpowf(tmpf, tmpf);
18077 tmpf = cprojf(tmpf);
18078 d = cabs(tmpd);
18079 d = carg(tmpd);
18080 tmpd = ccos(tmpd);
18081 tmpd = ccosh(tmpd);
18082 tmpd = cexp(tmpd);
18083 tmpd = clog(tmpd);
18084 tmpd = csin(tmpd);
18085 tmpd = csinh(tmpd);
18086 tmpd = csqrt(tmpd);
18087 tmpd = ctan(tmpd);
18088 tmpd = ctanh(tmpd);
18089 tmpd = cpow(tmpd, tmpd);
18090 tmpd = cproj(tmpd);
18091 ld = cabsl(tmpld);
18092 ld = cargl(tmpld);
18093 tmpld = ccosl(tmpld);
18094 tmpld = ccoshl(tmpld);
18095 tmpld = cexpl(tmpld);
18096 tmpld = clogl(tmpld);
18097 tmpld = csinl(tmpld);
18098 tmpld = csinhl(tmpld);
18099 tmpld = csqrtl(tmpld);
18100 tmpld = ctanl(tmpld);
18101 tmpld = ctanhl(tmpld);
18102 tmpld = cpowl(tmpld, tmpld);
18103 tmpld = cprojl(tmpld);
18104
18105 ;
18106 return 0;
18107 }
18108 _ACEOF
18109 if ac_fn_cxx_try_compile "$LINENO"; then :
18110 glibcxx_cv_c99_complex_cxx11=yes
18111 else
18112 glibcxx_cv_c99_complex_cxx11=no
18113 fi
18114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18115 else
18116 if test x$gcc_no_link = xyes; then
18117 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18118 fi
18119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18120 /* end confdefs.h. */
18121 #include <complex.h>
18122 typedef __complex__ float float_type;
18123 typedef __complex__ double double_type;
18124 typedef __complex__ long double ld_type;
18125 volatile float_type tmpf;
18126 volatile double_type tmpd;
18127 volatile ld_type tmpld;
18128 volatile float f;
18129 volatile double d;
18130 volatile long double ld;
18131 int
18132 main ()
18133 {
18134 f = cabsf(tmpf);
18135 f = cargf(tmpf);
18136 tmpf = ccosf(tmpf);
18137 tmpf = ccoshf(tmpf);
18138 tmpf = cexpf(tmpf);
18139 tmpf = clogf(tmpf);
18140 tmpf = csinf(tmpf);
18141 tmpf = csinhf(tmpf);
18142 tmpf = csqrtf(tmpf);
18143 tmpf = ctanf(tmpf);
18144 tmpf = ctanhf(tmpf);
18145 tmpf = cpowf(tmpf, tmpf);
18146 tmpf = cprojf(tmpf);
18147 d = cabs(tmpd);
18148 d = carg(tmpd);
18149 tmpd = ccos(tmpd);
18150 tmpd = ccosh(tmpd);
18151 tmpd = cexp(tmpd);
18152 tmpd = clog(tmpd);
18153 tmpd = csin(tmpd);
18154 tmpd = csinh(tmpd);
18155 tmpd = csqrt(tmpd);
18156 tmpd = ctan(tmpd);
18157 tmpd = ctanh(tmpd);
18158 tmpd = cpow(tmpd, tmpd);
18159 tmpd = cproj(tmpd);
18160 ld = cabsl(tmpld);
18161 ld = cargl(tmpld);
18162 tmpld = ccosl(tmpld);
18163 tmpld = ccoshl(tmpld);
18164 tmpld = cexpl(tmpld);
18165 tmpld = clogl(tmpld);
18166 tmpld = csinl(tmpld);
18167 tmpld = csinhl(tmpld);
18168 tmpld = csqrtl(tmpld);
18169 tmpld = ctanl(tmpld);
18170 tmpld = ctanhl(tmpld);
18171 tmpld = cpowl(tmpld, tmpld);
18172 tmpld = cprojl(tmpld);
18173
18174 ;
18175 return 0;
18176 }
18177 _ACEOF
18178 if ac_fn_cxx_try_link "$LINENO"; then :
18179 glibcxx_cv_c99_complex_cxx11=yes
18180 else
18181 glibcxx_cv_c99_complex_cxx11=no
18182 fi
18183 rm -f core conftest.err conftest.$ac_objext \
18184 conftest$ac_exeext conftest.$ac_ext
18185 fi
18186
18187 fi
18188
18189 fi
18190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_complex_cxx11" >&5
18191 $as_echo "$glibcxx_cv_c99_complex_cxx11" >&6; }
18192 if test x"$glibcxx_cv_c99_complex_cxx11" = x"yes"; then
18193
18194 $as_echo "#define _GLIBCXX11_USE_C99_COMPLEX 1" >>confdefs.h
18195
18196 fi
18197
18198 # Check for the existence in <stdio.h> of vscanf, et. al.
18199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdio.h> for C++11" >&5
18200 $as_echo_n "checking for ISO C99 support in <stdio.h> for C++11... " >&6; }
18201 if ${glibcxx_cv_c99_stdio_cxx11+:} false; then :
18202 $as_echo_n "(cached) " >&6
18203 else
18204
18205 if test x$gcc_no_link = xyes; then
18206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18207 /* end confdefs.h. */
18208 #include <stdio.h>
18209 #include <stdarg.h>
18210 void foo(char* fmt, ...)
18211 {
18212 va_list args; va_start(args, fmt);
18213 vfscanf(stderr, "%i", args);
18214 vscanf("%i", args);
18215 vsnprintf(fmt, 0, "%i", args);
18216 vsscanf(fmt, "%i", args);
18217 snprintf(fmt, 0, "%i");
18218 }
18219 int
18220 main ()
18221 {
18222
18223 ;
18224 return 0;
18225 }
18226 _ACEOF
18227 if ac_fn_cxx_try_compile "$LINENO"; then :
18228 glibcxx_cv_c99_stdio_cxx11=yes
18229 else
18230 glibcxx_cv_c99_stdio_cxx11=no
18231 fi
18232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18233 else
18234 if test x$gcc_no_link = xyes; then
18235 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18236 fi
18237 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18238 /* end confdefs.h. */
18239 #include <stdio.h>
18240 #include <stdarg.h>
18241 void foo(char* fmt, ...)
18242 {
18243 va_list args; va_start(args, fmt);
18244 vfscanf(stderr, "%i", args);
18245 vscanf("%i", args);
18246 vsnprintf(fmt, 0, "%i", args);
18247 vsscanf(fmt, "%i", args);
18248 snprintf(fmt, 0, "%i");
18249 }
18250 int
18251 main ()
18252 {
18253
18254 ;
18255 return 0;
18256 }
18257 _ACEOF
18258 if ac_fn_cxx_try_link "$LINENO"; then :
18259 glibcxx_cv_c99_stdio_cxx11=yes
18260 else
18261 glibcxx_cv_c99_stdio_cxx11=no
18262 fi
18263 rm -f core conftest.err conftest.$ac_objext \
18264 conftest$ac_exeext conftest.$ac_ext
18265 fi
18266
18267 fi
18268
18269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdio_cxx11" >&5
18270 $as_echo "$glibcxx_cv_c99_stdio_cxx11" >&6; }
18271 if test x"$glibcxx_cv_c99_stdio_cxx11" = x"yes"; then
18272
18273 $as_echo "#define _GLIBCXX11_USE_C99_STDIO 1" >>confdefs.h
18274
18275 fi
18276
18277 # Check for the existence in <stdlib.h> of lldiv_t, et. al.
18278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <stdlib.h> for C++11" >&5
18279 $as_echo_n "checking for ISO C99 support in <stdlib.h> for C++11... " >&6; }
18280 if ${glibcxx_cv_c99_stdlib_cxx11+:} false; then :
18281 $as_echo_n "(cached) " >&6
18282 else
18283
18284 if test x$gcc_no_link = xyes; then
18285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18286 /* end confdefs.h. */
18287 #include <stdlib.h>
18288 volatile float f;
18289 volatile long double ld;
18290 volatile unsigned long long ll;
18291 lldiv_t mydivt;
18292 int
18293 main ()
18294 {
18295 char* tmp;
18296 f = strtof("gnu", &tmp);
18297 ld = strtold("gnu", &tmp);
18298 ll = strtoll("gnu", &tmp, 10);
18299 ll = strtoull("gnu", &tmp, 10);
18300 ll = llabs(10);
18301 mydivt = lldiv(10,1);
18302 ll = mydivt.quot;
18303 ll = mydivt.rem;
18304 ll = atoll("10");
18305 _Exit(0);
18306
18307 ;
18308 return 0;
18309 }
18310 _ACEOF
18311 if ac_fn_cxx_try_compile "$LINENO"; then :
18312 glibcxx_cv_c99_stdlib_cxx11=yes
18313 else
18314 glibcxx_cv_c99_stdlib_cxx11=no
18315 fi
18316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18317 else
18318 if test x$gcc_no_link = xyes; then
18319 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
18320 fi
18321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18322 /* end confdefs.h. */
18323 #include <stdlib.h>
18324 volatile float f;
18325 volatile long double ld;
18326 volatile unsigned long long ll;
18327 lldiv_t mydivt;
18328 int
18329 main ()
18330 {
18331 char* tmp;
18332 f = strtof("gnu", &tmp);
18333 ld = strtold("gnu", &tmp);
18334 ll = strtoll("gnu", &tmp, 10);
18335 ll = strtoull("gnu", &tmp, 10);
18336 ll = llabs(10);
18337 mydivt = lldiv(10,1);
18338 ll = mydivt.quot;
18339 ll = mydivt.rem;
18340 ll = atoll("10");
18341 _Exit(0);
18342
18343 ;
18344 return 0;
18345 }
18346 _ACEOF
18347 if ac_fn_cxx_try_link "$LINENO"; then :
18348 glibcxx_cv_c99_stdlib_cxx11=yes
18349 else
18350 glibcxx_cv_c99_stdlib_cxx11=no
18351 fi
18352 rm -f core conftest.err conftest.$ac_objext \
18353 conftest$ac_exeext conftest.$ac_ext
18354 fi
18355
18356 fi
18357
18358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdlib_cxx11" >&5
18359 $as_echo "$glibcxx_cv_c99_stdlib_cxx11" >&6; }
18360 if test x"$glibcxx_cv_c99_stdlib_cxx11" = x"yes"; then
18361
18362 $as_echo "#define _GLIBCXX11_USE_C99_STDLIB 1" >>confdefs.h
18363
18364 fi
18365
18366 # Check for the existence in <wchar.h> of wcstold, etc.
18367 if test x"$ac_has_wchar_h" = xyes &&
18368 test x"$ac_has_wctype_h" = xyes; then
18369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support in <wchar.h> for C++11" >&5
18370 $as_echo_n "checking for ISO C99 support in <wchar.h> for C++11... " >&6; }
18371 if ${glibcxx_cv_c99_wchar_cxx11+:} false; then :
18372 $as_echo_n "(cached) " >&6
18373 else
18374
18375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18376 /* end confdefs.h. */
18377 #include <wchar.h>
18378 namespace test
18379 {
18380 using ::wcstold;
18381 using ::wcstoll;
18382 using ::wcstoull;
18383 }
18384
18385 int
18386 main ()
18387 {
18388
18389 ;
18390 return 0;
18391 }
18392 _ACEOF
18393 if ac_fn_cxx_try_compile "$LINENO"; then :
18394 glibcxx_cv_c99_wchar_cxx11=yes
18395 else
18396 glibcxx_cv_c99_wchar_cxx11=no
18397 fi
18398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18399
18400 fi
18401
18402
18403 # Checks for wide character functions that may not be present.
18404 # Injection of these is wrapped with guard macros.
18405 # NB: only put functions here, instead of immediately above, if
18406 # absolutely necessary.
18407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18408 /* end confdefs.h. */
18409 #include <wchar.h>
18410 namespace test { using ::vfwscanf; }
18411 int
18412 main ()
18413 {
18414
18415 ;
18416 return 0;
18417 }
18418 _ACEOF
18419 if ac_fn_cxx_try_compile "$LINENO"; then :
18420
18421 $as_echo "#define HAVE_VFWSCANF 1" >>confdefs.h
18422
18423 fi
18424 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18425
18426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18427 /* end confdefs.h. */
18428 #include <wchar.h>
18429 namespace test { using ::vswscanf; }
18430 int
18431 main ()
18432 {
18433
18434 ;
18435 return 0;
18436 }
18437 _ACEOF
18438 if ac_fn_cxx_try_compile "$LINENO"; then :
18439
18440 $as_echo "#define HAVE_VSWSCANF 1" >>confdefs.h
18441
18442 fi
18443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18444
18445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18446 /* end confdefs.h. */
18447 #include <wchar.h>
18448 namespace test { using ::vwscanf; }
18449 int
18450 main ()
18451 {
18452
18453 ;
18454 return 0;
18455 }
18456 _ACEOF
18457 if ac_fn_cxx_try_compile "$LINENO"; then :
18458
18459 $as_echo "#define HAVE_VWSCANF 1" >>confdefs.h
18460
18461 fi
18462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18463
18464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18465 /* end confdefs.h. */
18466 #include <wchar.h>
18467 namespace test { using ::wcstof; }
18468 int
18469 main ()
18470 {
18471
18472 ;
18473 return 0;
18474 }
18475 _ACEOF
18476 if ac_fn_cxx_try_compile "$LINENO"; then :
18477
18478 $as_echo "#define HAVE_WCSTOF 1" >>confdefs.h
18479
18480 fi
18481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18482
18483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18484 /* end confdefs.h. */
18485 #include <wctype.h>
18486 int
18487 main ()
18488 {
18489 wint_t t; int i = iswblank(t);
18490 ;
18491 return 0;
18492 }
18493 _ACEOF
18494 if ac_fn_cxx_try_compile "$LINENO"; then :
18495
18496 $as_echo "#define HAVE_ISWBLANK 1" >>confdefs.h
18497
18498 fi
18499 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18500
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_wchar_cxx11" >&5
18502 $as_echo "$glibcxx_cv_c99_wchar_cxx11" >&6; }
18503 if test x"$glibcxx_cv_c99_wchar_cxx11" = x"yes"; then
18504
18505 $as_echo "#define _GLIBCXX11_USE_C99_WCHAR 1" >>confdefs.h
18506
18507 fi
18508 fi
18509
18510 gcc_no_link="$ac_save_gcc_no_link"
18511 LIBS="$ac_save_LIBS"
18512 CXXFLAGS="$ac_save_CXXFLAGS"
18513 ac_ext=c
18514 ac_cpp='$CPP $CPPFLAGS'
18515 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18516 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18517 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18518
18519 fi
18520
18521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fully enabled ISO C99 support" >&5
18522 $as_echo_n "checking for fully enabled ISO C99 support... " >&6; }
18523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_c99" >&5
18524 $as_echo "$enable_c99" >&6; }
18525
18526
18527 # Check whether --enable-concept-checks was given.
18528 if test "${enable_concept_checks+set}" = set; then :
18529 enableval=$enable_concept_checks;
18530 case "$enableval" in
18531 yes|no) ;;
18532 *) as_fn_error $? "Argument to enable/disable concept-checks must be yes or no" "$LINENO" 5 ;;
18533 esac
18534
18535 else
18536 enable_concept_checks=no
18537 fi
18538
18539
18540 if test $enable_concept_checks = yes; then
18541
18542 $as_echo "#define _GLIBCXX_CONCEPT_CHECKS 1" >>confdefs.h
18543
18544 fi
18545
18546
18547 # Check whether --enable-libstdcxx-debug-flags was given.
18548 if test "${enable_libstdcxx_debug_flags+set}" = set; then :
18549 enableval=$enable_libstdcxx_debug_flags; case "x$enable_libstdcxx_debug_flags" in
18550 xno | x) enable_libstdcxx_debug_flags= ;;
18551 x-*) ;;
18552 *) as_fn_error $? "--enable-libstdcxx-debug-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18553 esac
18554 else
18555 enable_libstdcxx_debug_flags="-gdwarf-4 -g3 -O0 -D_GLIBCXX_ASSERTIONS"
18556 fi
18557
18558
18559
18560 # Option parsed, now set things appropriately
18561 DEBUG_FLAGS="$enable_libstdcxx_debug_flags"
18562
18563
18564 { $as_echo "$as_me:${as_lineno-$LINENO}: Debug build flags set to $DEBUG_FLAGS" >&5
18565 $as_echo "$as_me: Debug build flags set to $DEBUG_FLAGS" >&6;}
18566
18567
18568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for additional debug build" >&5
18569 $as_echo_n "checking for additional debug build... " >&6; }
18570 skip_debug_build=
18571 # Check whether --enable-libstdcxx-debug was given.
18572 if test "${enable_libstdcxx_debug+set}" = set; then :
18573 enableval=$enable_libstdcxx_debug;
18574 case "$enableval" in
18575 yes|no) ;;
18576 *) as_fn_error $? "Argument to enable/disable libstdcxx-debug must be yes or no" "$LINENO" 5 ;;
18577 esac
18578
18579 else
18580 enable_libstdcxx_debug=no
18581 fi
18582
18583
18584 if test x$enable_libstdcxx_debug = xyes; then
18585 if test -f $toplevel_builddir/../stage_final \
18586 && test -f $toplevel_builddir/../stage_current; then
18587 stage_final=`cat $toplevel_builddir/../stage_final`
18588 stage_current=`cat $toplevel_builddir/../stage_current`
18589 if test x$stage_current != x$stage_final ; then
18590 skip_debug_build=" (skipped for bootstrap stage $stage_current)"
18591 enable_libstdcxx_debug=no
18592 fi
18593 fi
18594 fi
18595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_debug$skip_debug_build" >&5
18596 $as_echo "$enable_libstdcxx_debug$skip_debug_build" >&6; }
18597
18598
18599
18600
18601 enable_parallel=no;
18602
18603 # See if configured libgomp/omp.h exists. (libgomp may be in
18604 # noconfigdirs but not explicitly disabled.)
18605 if echo " ${TARGET_CONFIGDIRS} " | grep " libgomp " > /dev/null 2>&1 ; then
18606 enable_parallel=yes;
18607 else
18608 { $as_echo "$as_me:${as_lineno-$LINENO}: target-libgomp not built" >&5
18609 $as_echo "$as_me: target-libgomp not built" >&6;}
18610 fi
18611
18612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parallel mode support" >&5
18613 $as_echo_n "checking for parallel mode support... " >&6; }
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_parallel" >&5
18615 $as_echo "$enable_parallel" >&6; }
18616
18617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extra compiler flags for building" >&5
18618 $as_echo_n "checking for extra compiler flags for building... " >&6; }
18619 # Check whether --enable-cxx-flags was given.
18620 if test "${enable_cxx_flags+set}" = set; then :
18621 enableval=$enable_cxx_flags; case "x$enable_cxx_flags" in
18622 xno | x) enable_cxx_flags= ;;
18623 x-*) ;;
18624 *) as_fn_error $? "--enable-cxx-flags needs compiler flags as arguments" "$LINENO" 5 ;;
18625 esac
18626 else
18627 enable_cxx_flags=
18628 fi
18629
18630
18631
18632 # Run through flags (either default or command-line) and set anything
18633 # extra (e.g., #defines) that must accompany particular g++ options.
18634 if test -n "$enable_cxx_flags"; then
18635 for f in $enable_cxx_flags; do
18636 case "$f" in
18637 -fhonor-std) ;;
18638 -*) ;;
18639 *) # and we're trying to pass /what/ exactly?
18640 as_fn_error $? "compiler flags start with a -" "$LINENO" 5 ;;
18641 esac
18642 done
18643 fi
18644
18645 EXTRA_CXX_FLAGS="$enable_cxx_flags"
18646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $EXTRA_CXX_FLAGS" >&5
18647 $as_echo "$EXTRA_CXX_FLAGS" >&6; }
18648
18649
18650
18651 # Check whether --enable-fully-dynamic-string was given.
18652 if test "${enable_fully_dynamic_string+set}" = set; then :
18653 enableval=$enable_fully_dynamic_string;
18654 case "$enableval" in
18655 yes|no) ;;
18656 *) as_fn_error $? "Argument to enable/disable fully-dynamic-string must be yes or no" "$LINENO" 5 ;;
18657 esac
18658
18659 else
18660 enable_fully_dynamic_string=no
18661 fi
18662
18663
18664 if test $enable_fully_dynamic_string = yes; then
18665 enable_fully_dynamic_string_def=1
18666 else
18667 enable_fully_dynamic_string_def=0
18668 fi
18669
18670 cat >>confdefs.h <<_ACEOF
18671 #define _GLIBCXX_FULLY_DYNAMIC_STRING ${enable_fully_dynamic_string_def}
18672 _ACEOF
18673
18674
18675
18676
18677 # Check whether --enable-extern-template was given.
18678 if test "${enable_extern_template+set}" = set; then :
18679 enableval=$enable_extern_template;
18680 case "$enableval" in
18681 yes|no) ;;
18682 *) as_fn_error $? "Argument to enable/disable extern-template must be yes or no" "$LINENO" 5 ;;
18683 esac
18684
18685 else
18686 enable_extern_template=yes
18687 fi
18688
18689
18690
18691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for extern template support" >&5
18692 $as_echo_n "checking for extern template support... " >&6; }
18693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_extern_template" >&5
18694 $as_echo "$enable_extern_template" >&6; }
18695
18696
18697
18698
18699
18700 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for custom python install directory" >&5
18701 $as_echo_n "checking for custom python install directory... " >&6; }
18702
18703 # Check whether --with-python-dir was given.
18704 if test "${with_python_dir+set}" = set; then :
18705 withval=$with_python_dir; with_python_dir=$withval
18706 else
18707 with_python_dir="no"
18708 fi
18709
18710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${with_python_dir}" >&5
18711 $as_echo "${with_python_dir}" >&6; }
18712
18713 # Needed for installing Python modules during make install.
18714 python_mod_dir="${with_python_dir}"
18715
18716
18717
18718
18719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -Werror" >&5
18720 $as_echo_n "checking for -Werror... " >&6; }
18721 # Check whether --enable-werror was given.
18722 if test "${enable_werror+set}" = set; then :
18723 enableval=$enable_werror;
18724 case "$enableval" in
18725 yes|no) ;;
18726 *) as_fn_error $? "Argument to enable/disable werror must be yes or no" "$LINENO" 5 ;;
18727 esac
18728
18729 else
18730 enable_werror=no
18731 fi
18732
18733
18734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_werror" >&5
18735 $as_echo "$enable_werror" >&6; }
18736
18737
18738
18739
18740 # Check whether --enable-vtable-verify was given.
18741 if test "${enable_vtable_verify+set}" = set; then :
18742 enableval=$enable_vtable_verify;
18743 case "$enableval" in
18744 yes|no) ;;
18745 *) as_fn_error $? "Argument to enable/disable vtable-verify must be yes or no" "$LINENO" 5 ;;
18746 esac
18747
18748 else
18749 enable_vtable_verify=no
18750 fi
18751
18752
18753
18754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vtable verify support" >&5
18755 $as_echo_n "checking for vtable verify support... " >&6; }
18756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_vtable_verify" >&5
18757 $as_echo "$enable_vtable_verify" >&6; }
18758
18759 vtv_cygmin=no
18760 if test $enable_vtable_verify = yes; then
18761 case ${target_os} in
18762 cygwin*|mingw32*)
18763 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-lvtv,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18764 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18765 vtv_cygmin=yes
18766 ;;
18767 darwin*)
18768 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u,_vtable_map_vars_start -Wl,-u,_vtable_map_vars_end"
18769 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-rpath,${toplevel_builddir}/libvtv/.libs"
18770 ;;
18771 solaris2*)
18772 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18773 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,-R -Wl,${toplevel_builddir}/libvtv/.libs"
18774 ;;
18775 *)
18776 VTV_CXXFLAGS="-fvtable-verify=std -Wl,-u_vtable_map_vars_start,-u_vtable_map_vars_end"
18777 VTV_CXXLINKFLAGS="-L${toplevel_builddir}/libvtv/.libs -Wl,--rpath -Wl,${toplevel_builddir}/libvtv/.libs"
18778 ;;
18779 esac
18780 VTV_PCH_CXXFLAGS="-fvtable-verify=std"
18781 else
18782 VTV_CXXFLAGS=
18783 VTV_PCH_CXXFLAGS=
18784 VTV_CXXLINKFLAGS=
18785 fi
18786
18787
18788
18789
18790 if test x$vtv_cygmin = xyes; then
18791 VTV_CYGMIN_TRUE=
18792 VTV_CYGMIN_FALSE='#'
18793 else
18794 VTV_CYGMIN_TRUE='#'
18795 VTV_CYGMIN_FALSE=
18796 fi
18797
18798
18799
18800
18801 # Checks for operating systems support that doesn't require linking.
18802
18803
18804
18805 ac_ext=cpp
18806 ac_cpp='$CXXCPP $CPPFLAGS'
18807 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18808 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18809 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18810
18811 # Use C++11 because a conforming <stdio.h> won't define gets for C++14,
18812 # and we don't need a declaration for C++14 anyway.
18813 ac_save_CXXFLAGS="$CXXFLAGS"
18814 CXXFLAGS="$CXXFLAGS -std=gnu++11"
18815
18816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gets declaration" >&5
18817 $as_echo_n "checking for gets declaration... " >&6; }
18818 if ${glibcxx_cv_gets+:} false; then :
18819 $as_echo_n "(cached) " >&6
18820 else
18821
18822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18823 /* end confdefs.h. */
18824 #include <stdio.h>
18825 namespace test
18826 {
18827 using ::gets;
18828 }
18829
18830 _ACEOF
18831 if ac_fn_cxx_try_compile "$LINENO"; then :
18832 glibcxx_cv_gets=yes
18833 else
18834 glibcxx_cv_gets=no
18835
18836 fi
18837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18838 fi
18839
18840
18841 if test $glibcxx_cv_gets = yes; then
18842
18843 $as_echo "#define HAVE_GETS 1" >>confdefs.h
18844
18845 fi
18846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_gets" >&5
18847 $as_echo "$glibcxx_cv_gets" >&6; }
18848
18849 CXXFLAGS="$ac_save_CXXFLAGS"
18850 ac_ext=c
18851 ac_cpp='$CPP $CPPFLAGS'
18852 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18853 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18854 ac_compiler_gnu=$ac_cv_c_compiler_gnu
18855
18856
18857
18858
18859
18860 ac_ext=cpp
18861 ac_cpp='$CXXCPP $CPPFLAGS'
18862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
18863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
18864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
18865
18866 ac_save_CXXFLAGS="$CXXFLAGS"
18867 CXXFLAGS="$CXXFLAGS -std=c++11"
18868
18869 case "$host" in
18870 *-*-solaris2.*)
18871 # Solaris 12 Build 86, Solaris 11.3 SRU 3.6, and Solaris 10 Patch
18872 # 11996[67]-02 introduced the C++11 <math.h> floating point overloads.
18873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> floating point overloads" >&5
18874 $as_echo_n "checking for C++11 <math.h> floating point overloads... " >&6; }
18875 if ${glibcxx_cv_math11_fp_overload+:} false; then :
18876 $as_echo_n "(cached) " >&6
18877 else
18878
18879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18880 /* end confdefs.h. */
18881 #include <math.h>
18882 #undef isfinite
18883 namespace std {
18884 inline bool isfinite(float __x)
18885 { return __builtin_isfinite(__x); }
18886 }
18887
18888 _ACEOF
18889 if ac_fn_cxx_try_compile "$LINENO"; then :
18890 glibcxx_cv_math11_fp_overload=no
18891 else
18892 glibcxx_cv_math11_fp_overload=yes
18893
18894 fi
18895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18896 fi
18897
18898
18899 # autoheader cannot handle indented templates.
18900
18901
18902 if test $glibcxx_cv_math11_fp_overload = yes; then
18903 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_FP 1" >>confdefs.h
18904
18905 fi
18906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_fp_overload" >&5
18907 $as_echo "$glibcxx_cv_math11_fp_overload" >&6; }
18908
18909 # Solaris 12 Build 90, Solaris 11.3 SRU 5.6, and Solaris 10 Patch
18910 # 11996[67]-02 introduced the C++11 <math.h> integral type overloads.
18911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++11 <math.h> integral type overloads" >&5
18912 $as_echo_n "checking for C++11 <math.h> integral type overloads... " >&6; }
18913 if ${glibcxx_cv_math11_int_overload+:} false; then :
18914 $as_echo_n "(cached) " >&6
18915 else
18916
18917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18918 /* end confdefs.h. */
18919 #include <math.h>
18920 namespace std {
18921 template<typename _Tp>
18922 struct __is_integer;
18923 template<>
18924 struct __is_integer<int>
18925 {
18926 enum { __value = 1 };
18927 };
18928 }
18929 namespace __gnu_cxx {
18930 template<bool, typename>
18931 struct __enable_if;
18932 template<typename _Tp>
18933 struct __enable_if<true, _Tp>
18934 { typedef _Tp __type; };
18935 }
18936 namespace std {
18937 template<typename _Tp>
18938 constexpr typename __gnu_cxx::__enable_if
18939 <__is_integer<_Tp>::__value, double>::__type
18940 log2(_Tp __x)
18941 { return __builtin_log2(__x); }
18942 }
18943 int
18944 main (void)
18945 {
18946 int i = 1000;
18947 return std::log2(i);
18948 }
18949
18950 _ACEOF
18951 if ac_fn_cxx_try_compile "$LINENO"; then :
18952 glibcxx_cv_math11_int_overload=no
18953 else
18954 glibcxx_cv_math11_int_overload=yes
18955
18956 fi
18957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18958 fi
18959
18960
18961 # autoheader cannot handle indented templates.
18962
18963
18964 if test $glibcxx_cv_math11_int_overload = yes; then
18965 $as_echo "#define __CORRECT_ISO_CPP11_MATH_H_PROTO_INT 1" >>confdefs.h
18966
18967 fi
18968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_math11_int_overload" >&5
18969 $as_echo "$glibcxx_cv_math11_int_overload" >&6; }
18970 ;;
18971 *)
18972 # If <math.h> defines the obsolete isinf(double) and isnan(double)
18973 # functions (instead of or as well as the C99 generic macros) then we
18974 # can't define std::isinf(double) and std::isnan(double) in <cmath>
18975 # and must use the ones from <math.h> instead.
18976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isinf function in <math.h>" >&5
18977 $as_echo_n "checking for obsolete isinf function in <math.h>... " >&6; }
18978 if ${glibcxx_cv_obsolete_isinf+:} false; then :
18979 $as_echo_n "(cached) " >&6
18980 else
18981
18982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18983 /* end confdefs.h. */
18984 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
18985 #include <math.h>
18986 #undef isinf
18987 namespace std {
18988 using ::isinf;
18989 bool isinf(float);
18990 bool isinf(long double);
18991 }
18992 using std::isinf;
18993 bool b = isinf(0.0);
18994
18995 _ACEOF
18996 if ac_fn_cxx_try_compile "$LINENO"; then :
18997 glibcxx_cv_obsolete_isinf=yes
18998 else
18999 glibcxx_cv_obsolete_isinf=no
19000
19001 fi
19002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19003 fi
19004
19005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isinf" >&5
19006 $as_echo "$glibcxx_cv_obsolete_isinf" >&6; }
19007 if test $glibcxx_cv_obsolete_isinf = yes; then
19008
19009 $as_echo "#define HAVE_OBSOLETE_ISINF 1" >>confdefs.h
19010
19011 fi
19012
19013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for obsolete isnan function in <math.h>" >&5
19014 $as_echo_n "checking for obsolete isnan function in <math.h>... " >&6; }
19015 if ${glibcxx_cv_obsolete_isnan+:} false; then :
19016 $as_echo_n "(cached) " >&6
19017 else
19018
19019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19020 /* end confdefs.h. */
19021 #define _GLIBCXX_INCLUDE_NEXT_C_HEADERS
19022 #include <math.h>
19023 #undef isnan
19024 namespace std {
19025 using ::isnan;
19026 bool isnan(float);
19027 bool isnan(long double);
19028 }
19029 using std::isnan;
19030 bool b = isnan(0.0);
19031
19032 _ACEOF
19033 if ac_fn_cxx_try_compile "$LINENO"; then :
19034 glibcxx_cv_obsolete_isnan=yes
19035 else
19036 glibcxx_cv_obsolete_isnan=no
19037
19038 fi
19039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19040 fi
19041
19042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_obsolete_isnan" >&5
19043 $as_echo "$glibcxx_cv_obsolete_isnan" >&6; }
19044 if test $glibcxx_cv_obsolete_isnan = yes; then
19045
19046 $as_echo "#define HAVE_OBSOLETE_ISNAN 1" >>confdefs.h
19047
19048 fi
19049 ;;
19050 esac
19051
19052 CXXFLAGS="$ac_save_CXXFLAGS"
19053 ac_ext=c
19054 ac_cpp='$CPP $CPPFLAGS'
19055 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19056 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19057 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19058
19059
19060
19061
19062 # Test uchar.h.
19063 for ac_header in uchar.h
19064 do :
19065 ac_fn_c_check_header_mongrel "$LINENO" "uchar.h" "ac_cv_header_uchar_h" "$ac_includes_default"
19066 if test "x$ac_cv_header_uchar_h" = xyes; then :
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_UCHAR_H 1
19069 _ACEOF
19070 ac_has_uchar_h=yes
19071 else
19072 ac_has_uchar_h=no
19073 fi
19074
19075 done
19076
19077
19078
19079 ac_ext=cpp
19080 ac_cpp='$CXXCPP $CPPFLAGS'
19081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19084
19085 ac_save_CXXFLAGS="$CXXFLAGS"
19086 CXXFLAGS="$CXXFLAGS -std=c++11"
19087
19088 if test x"$ac_has_uchar_h" = x"yes"; then
19089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C11 support for <uchar.h>" >&5
19090 $as_echo_n "checking for ISO C11 support for <uchar.h>... " >&6; }
19091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19092 /* end confdefs.h. */
19093 #include <uchar.h>
19094 #ifdef __STDC_UTF_16__
19095 long i = __STDC_UTF_16__;
19096 #endif
19097 #ifdef __STDC_UTF_32__
19098 long j = __STDC_UTF_32__;
19099 #endif
19100 namespace test
19101 {
19102 using ::c16rtomb;
19103 using ::c32rtomb;
19104 using ::mbrtoc16;
19105 using ::mbrtoc32;
19106 }
19107
19108 int
19109 main ()
19110 {
19111
19112 ;
19113 return 0;
19114 }
19115 _ACEOF
19116 if ac_fn_cxx_try_compile "$LINENO"; then :
19117 ac_c11_uchar_cxx11=yes
19118 else
19119 ac_c11_uchar_cxx11=no
19120 fi
19121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19122 else
19123 ac_c11_uchar_cxx11=no
19124 fi
19125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c11_uchar_cxx11" >&5
19126 $as_echo "$ac_c11_uchar_cxx11" >&6; }
19127 if test x"$ac_c11_uchar_cxx11" = x"yes"; then
19128
19129 $as_echo "#define _GLIBCXX_USE_C11_UCHAR_CXX11 1" >>confdefs.h
19130
19131 fi
19132
19133 CXXFLAGS="$ac_save_CXXFLAGS"
19134 ac_ext=c
19135 ac_cpp='$CPP $CPPFLAGS'
19136 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19137 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19138 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19139
19140
19141
19142 # For LFS support.
19143
19144
19145 ac_ext=cpp
19146 ac_cpp='$CXXCPP $CPPFLAGS'
19147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19150
19151 ac_save_CXXFLAGS="$CXXFLAGS"
19152 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LFS support" >&5
19154 $as_echo_n "checking for LFS support... " >&6; }
19155 if ${glibcxx_cv_LFS+:} false; then :
19156 $as_echo_n "(cached) " >&6
19157 else
19158
19159 if test x$gcc_no_link = xyes; then
19160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19161 /* end confdefs.h. */
19162 #include <unistd.h>
19163 #include <stdio.h>
19164 #include <sys/stat.h>
19165
19166 int
19167 main ()
19168 {
19169 FILE* fp;
19170 fopen64("t", "w");
19171 fseeko64(fp, 0, SEEK_CUR);
19172 ftello64(fp);
19173 lseek64(1, 0, SEEK_CUR);
19174 struct stat64 buf;
19175 fstat64(1, &buf);
19176 ;
19177 return 0;
19178 }
19179 _ACEOF
19180 if ac_fn_cxx_try_compile "$LINENO"; then :
19181 glibcxx_cv_LFS=yes
19182 else
19183 glibcxx_cv_LFS=no
19184 fi
19185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19186 else
19187 if test x$gcc_no_link = xyes; then
19188 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19189 fi
19190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19191 /* end confdefs.h. */
19192 #include <unistd.h>
19193 #include <stdio.h>
19194 #include <sys/stat.h>
19195
19196 int
19197 main ()
19198 {
19199 FILE* fp;
19200 fopen64("t", "w");
19201 fseeko64(fp, 0, SEEK_CUR);
19202 ftello64(fp);
19203 lseek64(1, 0, SEEK_CUR);
19204 struct stat64 buf;
19205 fstat64(1, &buf);
19206 ;
19207 return 0;
19208 }
19209 _ACEOF
19210 if ac_fn_cxx_try_link "$LINENO"; then :
19211 glibcxx_cv_LFS=yes
19212 else
19213 glibcxx_cv_LFS=no
19214 fi
19215 rm -f core conftest.err conftest.$ac_objext \
19216 conftest$ac_exeext conftest.$ac_ext
19217 fi
19218
19219 fi
19220
19221 if test $glibcxx_cv_LFS = yes; then
19222
19223 $as_echo "#define _GLIBCXX_USE_LFS 1" >>confdefs.h
19224
19225 fi
19226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_LFS" >&5
19227 $as_echo "$glibcxx_cv_LFS" >&6; }
19228 CXXFLAGS="$ac_save_CXXFLAGS"
19229 ac_ext=c
19230 ac_cpp='$CPP $CPPFLAGS'
19231 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19232 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19233 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19234
19235
19236
19237 # For showmanyc_helper().
19238 for ac_header in sys/ioctl.h sys/filio.h
19239 do :
19240 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19241 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19242 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19243 cat >>confdefs.h <<_ACEOF
19244 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19245 _ACEOF
19246
19247 fi
19248
19249 done
19250
19251
19252
19253
19254 ac_ext=cpp
19255 ac_cpp='$CXXCPP $CPPFLAGS'
19256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19259
19260 ac_save_CXXFLAGS="$CXXFLAGS"
19261 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19262
19263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll" >&5
19264 $as_echo_n "checking for poll... " >&6; }
19265 if ${glibcxx_cv_POLL+:} false; then :
19266 $as_echo_n "(cached) " >&6
19267 else
19268
19269 if test x$gcc_no_link = xyes; then
19270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19271 /* end confdefs.h. */
19272 #include <poll.h>
19273 int
19274 main ()
19275 {
19276 struct pollfd pfd[1];
19277 pfd[0].events = POLLIN;
19278 poll(pfd, 1, 0);
19279 ;
19280 return 0;
19281 }
19282 _ACEOF
19283 if ac_fn_cxx_try_compile "$LINENO"; then :
19284 glibcxx_cv_POLL=yes
19285 else
19286 glibcxx_cv_POLL=no
19287 fi
19288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19289 else
19290 if test x$gcc_no_link = xyes; then
19291 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19292 fi
19293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19294 /* end confdefs.h. */
19295 #include <poll.h>
19296 int
19297 main ()
19298 {
19299 struct pollfd pfd[1];
19300 pfd[0].events = POLLIN;
19301 poll(pfd, 1, 0);
19302 ;
19303 return 0;
19304 }
19305 _ACEOF
19306 if ac_fn_cxx_try_link "$LINENO"; then :
19307 glibcxx_cv_POLL=yes
19308 else
19309 glibcxx_cv_POLL=no
19310 fi
19311 rm -f core conftest.err conftest.$ac_objext \
19312 conftest$ac_exeext conftest.$ac_ext
19313 fi
19314
19315 fi
19316
19317 if test $glibcxx_cv_POLL = yes; then
19318
19319 $as_echo "#define HAVE_POLL 1" >>confdefs.h
19320
19321 fi
19322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_POLL" >&5
19323 $as_echo "$glibcxx_cv_POLL" >&6; }
19324
19325 CXXFLAGS="$ac_save_CXXFLAGS"
19326 ac_ext=c
19327 ac_cpp='$CPP $CPPFLAGS'
19328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19331
19332
19333
19334
19335
19336 ac_ext=cpp
19337 ac_cpp='$CXXCPP $CPPFLAGS'
19338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19341
19342 ac_save_CXXFLAGS="$CXXFLAGS"
19343 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19344
19345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for S_ISREG or S_IFREG" >&5
19346 $as_echo_n "checking for S_ISREG or S_IFREG... " >&6; }
19347 if ${glibcxx_cv_S_ISREG+:} false; then :
19348 $as_echo_n "(cached) " >&6
19349 else
19350
19351 if test x$gcc_no_link = xyes; then
19352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19353 /* end confdefs.h. */
19354 #include <sys/stat.h>
19355 int
19356 main ()
19357 {
19358 struct stat buffer;
19359 fstat(0, &buffer);
19360 S_ISREG(buffer.st_mode);
19361 ;
19362 return 0;
19363 }
19364 _ACEOF
19365 if ac_fn_cxx_try_compile "$LINENO"; then :
19366 glibcxx_cv_S_ISREG=yes
19367 else
19368 glibcxx_cv_S_ISREG=no
19369 fi
19370 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19371 else
19372 if test x$gcc_no_link = xyes; then
19373 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19374 fi
19375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19376 /* end confdefs.h. */
19377 #include <sys/stat.h>
19378 int
19379 main ()
19380 {
19381 struct stat buffer;
19382 fstat(0, &buffer);
19383 S_ISREG(buffer.st_mode);
19384 ;
19385 return 0;
19386 }
19387 _ACEOF
19388 if ac_fn_cxx_try_link "$LINENO"; then :
19389 glibcxx_cv_S_ISREG=yes
19390 else
19391 glibcxx_cv_S_ISREG=no
19392 fi
19393 rm -f core conftest.err conftest.$ac_objext \
19394 conftest$ac_exeext conftest.$ac_ext
19395 fi
19396
19397 fi
19398
19399 if ${glibcxx_cv_S_IFREG+:} false; then :
19400 $as_echo_n "(cached) " >&6
19401 else
19402
19403 if test x$gcc_no_link = xyes; then
19404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19405 /* end confdefs.h. */
19406 #include <sys/stat.h>
19407 int
19408 main ()
19409 {
19410 struct stat buffer;
19411 fstat(0, &buffer);
19412 S_IFREG & buffer.st_mode;
19413 ;
19414 return 0;
19415 }
19416 _ACEOF
19417 if ac_fn_cxx_try_compile "$LINENO"; then :
19418 glibcxx_cv_S_IFREG=yes
19419 else
19420 glibcxx_cv_S_IFREG=no
19421 fi
19422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19423 else
19424 if test x$gcc_no_link = xyes; then
19425 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19426 fi
19427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19428 /* end confdefs.h. */
19429 #include <sys/stat.h>
19430 int
19431 main ()
19432 {
19433 struct stat buffer;
19434 fstat(0, &buffer);
19435 S_IFREG & buffer.st_mode;
19436 ;
19437 return 0;
19438 }
19439 _ACEOF
19440 if ac_fn_cxx_try_link "$LINENO"; then :
19441 glibcxx_cv_S_IFREG=yes
19442 else
19443 glibcxx_cv_S_IFREG=no
19444 fi
19445 rm -f core conftest.err conftest.$ac_objext \
19446 conftest$ac_exeext conftest.$ac_ext
19447 fi
19448
19449 fi
19450
19451 res=no
19452 if test $glibcxx_cv_S_ISREG = yes; then
19453
19454 $as_echo "#define HAVE_S_ISREG 1" >>confdefs.h
19455
19456 res=S_ISREG
19457 elif test $glibcxx_cv_S_IFREG = yes; then
19458
19459 $as_echo "#define HAVE_S_IFREG 1" >>confdefs.h
19460
19461 res=S_IFREG
19462 fi
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
19464 $as_echo "$res" >&6; }
19465
19466 CXXFLAGS="$ac_save_CXXFLAGS"
19467 ac_ext=c
19468 ac_cpp='$CPP $CPPFLAGS'
19469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19472
19473
19474
19475 # For xsputn_2().
19476 for ac_header in sys/uio.h
19477 do :
19478 ac_fn_c_check_header_mongrel "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
19479 if test "x$ac_cv_header_sys_uio_h" = xyes; then :
19480 cat >>confdefs.h <<_ACEOF
19481 #define HAVE_SYS_UIO_H 1
19482 _ACEOF
19483
19484 fi
19485
19486 done
19487
19488
19489
19490
19491 ac_ext=cpp
19492 ac_cpp='$CXXCPP $CPPFLAGS'
19493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19496
19497 ac_save_CXXFLAGS="$CXXFLAGS"
19498 CXXFLAGS="$CXXFLAGS -fno-exceptions"
19499
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for writev" >&5
19501 $as_echo_n "checking for writev... " >&6; }
19502 if ${glibcxx_cv_WRITEV+:} false; then :
19503 $as_echo_n "(cached) " >&6
19504 else
19505
19506 if test x$gcc_no_link = xyes; then
19507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19508 /* end confdefs.h. */
19509 #include <sys/uio.h>
19510 int
19511 main ()
19512 {
19513 struct iovec iov[2];
19514 writev(0, iov, 0);
19515 ;
19516 return 0;
19517 }
19518 _ACEOF
19519 if ac_fn_cxx_try_compile "$LINENO"; then :
19520 glibcxx_cv_WRITEV=yes
19521 else
19522 glibcxx_cv_WRITEV=no
19523 fi
19524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19525 else
19526 if test x$gcc_no_link = xyes; then
19527 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
19528 fi
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 #include <sys/uio.h>
19532 int
19533 main ()
19534 {
19535 struct iovec iov[2];
19536 writev(0, iov, 0);
19537 ;
19538 return 0;
19539 }
19540 _ACEOF
19541 if ac_fn_cxx_try_link "$LINENO"; then :
19542 glibcxx_cv_WRITEV=yes
19543 else
19544 glibcxx_cv_WRITEV=no
19545 fi
19546 rm -f core conftest.err conftest.$ac_objext \
19547 conftest$ac_exeext conftest.$ac_ext
19548 fi
19549
19550 fi
19551
19552 if test $glibcxx_cv_WRITEV = yes; then
19553
19554 $as_echo "#define HAVE_WRITEV 1" >>confdefs.h
19555
19556 fi
19557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_WRITEV" >&5
19558 $as_echo "$glibcxx_cv_WRITEV" >&6; }
19559
19560 CXXFLAGS="$ac_save_CXXFLAGS"
19561 ac_ext=c
19562 ac_cpp='$CPP $CPPFLAGS'
19563 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19564 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19565 ac_compiler_gnu=$ac_cv_c_compiler_gnu
19566
19567
19568
19569 # Check for fenv.h and complex.h before GLIBCXX_CHECK_C99_TR1
19570 # so that the check is done with the C compiler (not C++).
19571 # Checking with C++ can break a canadian cross build if either
19572 # file does not exist in C but does in C++.
19573 for ac_header in fenv.h complex.h
19574 do :
19575 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
19576 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
19577 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
19578 cat >>confdefs.h <<_ACEOF
19579 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
19580 _ACEOF
19581
19582 fi
19583
19584 done
19585
19586
19587 # For C99 support to TR1.
19588
19589
19590
19591 ac_ext=cpp
19592 ac_cpp='$CXXCPP $CPPFLAGS'
19593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
19594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
19595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
19596
19597
19598 # Use -std=c++98 because the default (-std=gnu++98) leaves __STRICT_ANSI__
19599 # undefined and fake C99 facilities may be spuriously enabled.
19600 ac_save_CXXFLAGS="$CXXFLAGS"
19601 CXXFLAGS="$CXXFLAGS -std=c++98"
19602
19603 # Check for the existence of <complex.h> complex math functions used
19604 # by tr1/complex.
19605 for ac_header in complex.h
19606 do :
19607 ac_fn_cxx_check_header_mongrel "$LINENO" "complex.h" "ac_cv_header_complex_h" "$ac_includes_default"
19608 if test "x$ac_cv_header_complex_h" = xyes; then :
19609 cat >>confdefs.h <<_ACEOF
19610 #define HAVE_COMPLEX_H 1
19611 _ACEOF
19612 ac_has_complex_h=yes
19613 else
19614 ac_has_complex_h=no
19615 fi
19616
19617 done
19618
19619 ac_c99_complex_tr1=no;
19620 if test x"$ac_has_complex_h" = x"yes"; then
19621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <complex.h>" >&5
19622 $as_echo_n "checking for ISO C99 support to TR1 in <complex.h>... " >&6; }
19623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19624 /* end confdefs.h. */
19625 #include <complex.h>
19626 int
19627 main ()
19628 {
19629 typedef __complex__ float float_type; float_type tmpf;
19630 cacosf(tmpf);
19631 casinf(tmpf);
19632 catanf(tmpf);
19633 cacoshf(tmpf);
19634 casinhf(tmpf);
19635 catanhf(tmpf);
19636 typedef __complex__ double double_type; double_type tmpd;
19637 cacos(tmpd);
19638 casin(tmpd);
19639 catan(tmpd);
19640 cacosh(tmpd);
19641 casinh(tmpd);
19642 catanh(tmpd);
19643 typedef __complex__ long double ld_type; ld_type tmpld;
19644 cacosl(tmpld);
19645 casinl(tmpld);
19646 catanl(tmpld);
19647 cacoshl(tmpld);
19648 casinhl(tmpld);
19649 catanhl(tmpld);
19650
19651 ;
19652 return 0;
19653 }
19654 _ACEOF
19655 if ac_fn_cxx_try_compile "$LINENO"; then :
19656 ac_c99_complex_tr1=yes
19657 else
19658 ac_c99_complex_tr1=no
19659 fi
19660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19661 fi
19662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_complex_tr1" >&5
19663 $as_echo "$ac_c99_complex_tr1" >&6; }
19664 if test x"$ac_c99_complex_tr1" = x"yes"; then
19665
19666 $as_echo "#define _GLIBCXX_USE_C99_COMPLEX_TR1 1" >>confdefs.h
19667
19668 fi
19669
19670 # Check for the existence of <ctype.h> functions.
19671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <ctype.h>" >&5
19672 $as_echo_n "checking for ISO C99 support to TR1 in <ctype.h>... " >&6; }
19673 if ${glibcxx_cv_c99_ctype_tr1+:} false; then :
19674 $as_echo_n "(cached) " >&6
19675 else
19676
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19679 #include <ctype.h>
19680 int
19681 main ()
19682 {
19683 int ch;
19684 int ret;
19685 ret = isblank(ch);
19686
19687 ;
19688 return 0;
19689 }
19690 _ACEOF
19691 if ac_fn_cxx_try_compile "$LINENO"; then :
19692 glibcxx_cv_c99_ctype_tr1=yes
19693 else
19694 glibcxx_cv_c99_ctype_tr1=no
19695 fi
19696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19697
19698 fi
19699
19700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_ctype_tr1" >&5
19701 $as_echo "$glibcxx_cv_c99_ctype_tr1" >&6; }
19702 if test x"$glibcxx_cv_c99_ctype_tr1" = x"yes"; then
19703
19704 $as_echo "#define _GLIBCXX_USE_C99_CTYPE_TR1 1" >>confdefs.h
19705
19706 fi
19707
19708 # Check for the existence of <fenv.h> functions.
19709 for ac_header in fenv.h
19710 do :
19711 ac_fn_cxx_check_header_mongrel "$LINENO" "fenv.h" "ac_cv_header_fenv_h" "$ac_includes_default"
19712 if test "x$ac_cv_header_fenv_h" = xyes; then :
19713 cat >>confdefs.h <<_ACEOF
19714 #define HAVE_FENV_H 1
19715 _ACEOF
19716 ac_has_fenv_h=yes
19717 else
19718 ac_has_fenv_h=no
19719 fi
19720
19721 done
19722
19723 ac_c99_fenv_tr1=no;
19724 if test x"$ac_has_fenv_h" = x"yes"; then
19725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <fenv.h>" >&5
19726 $as_echo_n "checking for ISO C99 support to TR1 in <fenv.h>... " >&6; }
19727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19728 /* end confdefs.h. */
19729 #include <fenv.h>
19730 int
19731 main ()
19732 {
19733 int except, mode;
19734 fexcept_t* pflag;
19735 fenv_t* penv;
19736 int ret;
19737 ret = feclearexcept(except);
19738 ret = fegetexceptflag(pflag, except);
19739 ret = feraiseexcept(except);
19740 ret = fesetexceptflag(pflag, except);
19741 ret = fetestexcept(except);
19742 ret = fegetround();
19743 ret = fesetround(mode);
19744 ret = fegetenv(penv);
19745 ret = feholdexcept(penv);
19746 ret = fesetenv(penv);
19747 ret = feupdateenv(penv);
19748
19749 ;
19750 return 0;
19751 }
19752 _ACEOF
19753 if ac_fn_cxx_try_compile "$LINENO"; then :
19754 ac_c99_fenv_tr1=yes
19755 else
19756 ac_c99_fenv_tr1=no
19757 fi
19758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19759 fi
19760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_fenv_tr1" >&5
19761 $as_echo "$ac_c99_fenv_tr1" >&6; }
19762 if test x"$ac_c99_fenv_tr1" = x"yes"; then
19763
19764 $as_echo "#define _GLIBCXX_USE_C99_FENV_TR1 1" >>confdefs.h
19765
19766 fi
19767
19768 # Check for the existence of <stdint.h> types.
19769 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <stdint.h>" >&5
19770 $as_echo_n "checking for ISO C99 support to TR1 in <stdint.h>... " >&6; }
19771 if ${glibcxx_cv_c99_stdint_tr1+:} false; then :
19772 $as_echo_n "(cached) " >&6
19773 else
19774
19775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h. */
19777 #define __STDC_LIMIT_MACROS
19778 #define __STDC_CONSTANT_MACROS
19779 #include <stdint.h>
19780 int
19781 main ()
19782 {
19783 typedef int8_t my_int8_t;
19784 my_int8_t i8 = INT8_MIN;
19785 i8 = INT8_MAX;
19786 typedef int16_t my_int16_t;
19787 my_int16_t i16 = INT16_MIN;
19788 i16 = INT16_MAX;
19789 typedef int32_t my_int32_t;
19790 my_int32_t i32 = INT32_MIN;
19791 i32 = INT32_MAX;
19792 typedef int64_t my_int64_t;
19793 my_int64_t i64 = INT64_MIN;
19794 i64 = INT64_MAX;
19795 typedef int_fast8_t my_int_fast8_t;
19796 my_int_fast8_t if8 = INT_FAST8_MIN;
19797 if8 = INT_FAST8_MAX;
19798 typedef int_fast16_t my_int_fast16_t;
19799 my_int_fast16_t if16 = INT_FAST16_MIN;
19800 if16 = INT_FAST16_MAX;
19801 typedef int_fast32_t my_int_fast32_t;
19802 my_int_fast32_t if32 = INT_FAST32_MIN;
19803 if32 = INT_FAST32_MAX;
19804 typedef int_fast64_t my_int_fast64_t;
19805 my_int_fast64_t if64 = INT_FAST64_MIN;
19806 if64 = INT_FAST64_MAX;
19807 typedef int_least8_t my_int_least8_t;
19808 my_int_least8_t il8 = INT_LEAST8_MIN;
19809 il8 = INT_LEAST8_MAX;
19810 typedef int_least16_t my_int_least16_t;
19811 my_int_least16_t il16 = INT_LEAST16_MIN;
19812 il16 = INT_LEAST16_MAX;
19813 typedef int_least32_t my_int_least32_t;
19814 my_int_least32_t il32 = INT_LEAST32_MIN;
19815 il32 = INT_LEAST32_MAX;
19816 typedef int_least64_t my_int_least64_t;
19817 my_int_least64_t il64 = INT_LEAST64_MIN;
19818 il64 = INT_LEAST64_MAX;
19819 typedef intmax_t my_intmax_t;
19820 my_intmax_t im = INTMAX_MAX;
19821 im = INTMAX_MIN;
19822 typedef intptr_t my_intptr_t;
19823 my_intptr_t ip = INTPTR_MAX;
19824 ip = INTPTR_MIN;
19825 typedef uint8_t my_uint8_t;
19826 my_uint8_t ui8 = UINT8_MAX;
19827 ui8 = UINT8_MAX;
19828 typedef uint16_t my_uint16_t;
19829 my_uint16_t ui16 = UINT16_MAX;
19830 ui16 = UINT16_MAX;
19831 typedef uint32_t my_uint32_t;
19832 my_uint32_t ui32 = UINT32_MAX;
19833 ui32 = UINT32_MAX;
19834 typedef uint64_t my_uint64_t;
19835 my_uint64_t ui64 = UINT64_MAX;
19836 ui64 = UINT64_MAX;
19837 typedef uint_fast8_t my_uint_fast8_t;
19838 my_uint_fast8_t uif8 = UINT_FAST8_MAX;
19839 uif8 = UINT_FAST8_MAX;
19840 typedef uint_fast16_t my_uint_fast16_t;
19841 my_uint_fast16_t uif16 = UINT_FAST16_MAX;
19842 uif16 = UINT_FAST16_MAX;
19843 typedef uint_fast32_t my_uint_fast32_t;
19844 my_uint_fast32_t uif32 = UINT_FAST32_MAX;
19845 uif32 = UINT_FAST32_MAX;
19846 typedef uint_fast64_t my_uint_fast64_t;
19847 my_uint_fast64_t uif64 = UINT_FAST64_MAX;
19848 uif64 = UINT_FAST64_MAX;
19849 typedef uint_least8_t my_uint_least8_t;
19850 my_uint_least8_t uil8 = UINT_LEAST8_MAX;
19851 uil8 = UINT_LEAST8_MAX;
19852 typedef uint_least16_t my_uint_least16_t;
19853 my_uint_least16_t uil16 = UINT_LEAST16_MAX;
19854 uil16 = UINT_LEAST16_MAX;
19855 typedef uint_least32_t my_uint_least32_t;
19856 my_uint_least32_t uil32 = UINT_LEAST32_MAX;
19857 uil32 = UINT_LEAST32_MAX;
19858 typedef uint_least64_t my_uint_least64_t;
19859 my_uint_least64_t uil64 = UINT_LEAST64_MAX;
19860 uil64 = UINT_LEAST64_MAX;
19861 typedef uintmax_t my_uintmax_t;
19862 my_uintmax_t uim = UINTMAX_MAX;
19863 uim = UINTMAX_MAX;
19864 typedef uintptr_t my_uintptr_t;
19865 my_uintptr_t uip = UINTPTR_MAX;
19866 uip = UINTPTR_MAX;
19867
19868 ;
19869 return 0;
19870 }
19871 _ACEOF
19872 if ac_fn_cxx_try_compile "$LINENO"; then :
19873 glibcxx_cv_c99_stdint_tr1=yes
19874 else
19875 glibcxx_cv_c99_stdint_tr1=no
19876 fi
19877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19878
19879 fi
19880
19881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_stdint_tr1" >&5
19882 $as_echo "$glibcxx_cv_c99_stdint_tr1" >&6; }
19883 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
19884
19885 $as_echo "#define _GLIBCXX_USE_C99_STDINT_TR1 1" >>confdefs.h
19886
19887 fi
19888
19889 # Check for the existence of <math.h> functions.
19890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <math.h>" >&5
19891 $as_echo_n "checking for ISO C99 support to TR1 in <math.h>... " >&6; }
19892 if ${glibcxx_cv_c99_math_tr1+:} false; then :
19893 $as_echo_n "(cached) " >&6
19894 else
19895
19896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19897 /* end confdefs.h. */
19898 #include <math.h>
19899 int
19900 main ()
19901 {
19902 typedef double_t my_double_t;
19903 typedef float_t my_float_t;
19904 acosh(0.0);
19905 acoshf(0.0f);
19906 acoshl(0.0l);
19907 asinh(0.0);
19908 asinhf(0.0f);
19909 asinhl(0.0l);
19910 atanh(0.0);
19911 atanhf(0.0f);
19912 atanhl(0.0l);
19913 cbrt(0.0);
19914 cbrtf(0.0f);
19915 cbrtl(0.0l);
19916 copysign(0.0, 0.0);
19917 copysignf(0.0f, 0.0f);
19918 copysignl(0.0l, 0.0l);
19919 erf(0.0);
19920 erff(0.0f);
19921 erfl(0.0l);
19922 erfc(0.0);
19923 erfcf(0.0f);
19924 erfcl(0.0l);
19925 exp2(0.0);
19926 exp2f(0.0f);
19927 exp2l(0.0l);
19928 expm1(0.0);
19929 expm1f(0.0f);
19930 expm1l(0.0l);
19931 fdim(0.0, 0.0);
19932 fdimf(0.0f, 0.0f);
19933 fdiml(0.0l, 0.0l);
19934 fma(0.0, 0.0, 0.0);
19935 fmaf(0.0f, 0.0f, 0.0f);
19936 fmal(0.0l, 0.0l, 0.0l);
19937 fmax(0.0, 0.0);
19938 fmaxf(0.0f, 0.0f);
19939 fmaxl(0.0l, 0.0l);
19940 fmin(0.0, 0.0);
19941 fminf(0.0f, 0.0f);
19942 fminl(0.0l, 0.0l);
19943 hypot(0.0, 0.0);
19944 hypotf(0.0f, 0.0f);
19945 hypotl(0.0l, 0.0l);
19946 ilogb(0.0);
19947 ilogbf(0.0f);
19948 ilogbl(0.0l);
19949 lgamma(0.0);
19950 lgammaf(0.0f);
19951 lgammal(0.0l);
19952 #ifndef __APPLE__ /* see below */
19953 llrint(0.0);
19954 llrintf(0.0f);
19955 llrintl(0.0l);
19956 llround(0.0);
19957 llroundf(0.0f);
19958 llroundl(0.0l);
19959 #endif
19960 log1p(0.0);
19961 log1pf(0.0f);
19962 log1pl(0.0l);
19963 log2(0.0);
19964 log2f(0.0f);
19965 log2l(0.0l);
19966 logb(0.0);
19967 logbf(0.0f);
19968 logbl(0.0l);
19969 lrint(0.0);
19970 lrintf(0.0f);
19971 lrintl(0.0l);
19972 lround(0.0);
19973 lroundf(0.0f);
19974 lroundl(0.0l);
19975 nan(0);
19976 nanf(0);
19977 nanl(0);
19978 nearbyint(0.0);
19979 nearbyintf(0.0f);
19980 nearbyintl(0.0l);
19981 nextafter(0.0, 0.0);
19982 nextafterf(0.0f, 0.0f);
19983 nextafterl(0.0l, 0.0l);
19984 nexttoward(0.0, 0.0);
19985 nexttowardf(0.0f, 0.0f);
19986 nexttowardl(0.0l, 0.0l);
19987 remainder(0.0, 0.0);
19988 remainderf(0.0f, 0.0f);
19989 remainderl(0.0l, 0.0l);
19990 remquo(0.0, 0.0, 0);
19991 remquof(0.0f, 0.0f, 0);
19992 remquol(0.0l, 0.0l, 0);
19993 rint(0.0);
19994 rintf(0.0f);
19995 rintl(0.0l);
19996 round(0.0);
19997 roundf(0.0f);
19998 roundl(0.0l);
19999 scalbln(0.0, 0l);
20000 scalblnf(0.0f, 0l);
20001 scalblnl(0.0l, 0l);
20002 scalbn(0.0, 0);
20003 scalbnf(0.0f, 0);
20004 scalbnl(0.0l, 0);
20005 tgamma(0.0);
20006 tgammaf(0.0f);
20007 tgammal(0.0l);
20008 trunc(0.0);
20009 truncf(0.0f);
20010 truncl(0.0l);
20011
20012 ;
20013 return 0;
20014 }
20015 _ACEOF
20016 if ac_fn_cxx_try_compile "$LINENO"; then :
20017 glibcxx_cv_c99_math_tr1=yes
20018 else
20019 glibcxx_cv_c99_math_tr1=no
20020 fi
20021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20022
20023 fi
20024
20025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_tr1" >&5
20026 $as_echo "$glibcxx_cv_c99_math_tr1" >&6; }
20027 if test x"$glibcxx_cv_c99_math_tr1" = x"yes"; then
20028
20029 $as_echo "#define _GLIBCXX_USE_C99_MATH_TR1 1" >>confdefs.h
20030
20031
20032 case "${target_os}" in
20033 darwin*)
20034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 rounding functions in <math.h>" >&5
20035 $as_echo_n "checking for ISO C99 rounding functions in <math.h>... " >&6; }
20036 if ${glibcxx_cv_c99_math_llround+:} false; then :
20037 $as_echo_n "(cached) " >&6
20038 else
20039
20040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20041 /* end confdefs.h. */
20042 #include <math.h>
20043 int
20044 main ()
20045 {
20046 llrint(0.0);
20047 llrintf(0.0f);
20048 llrintl(0.0l);
20049 llround(0.0);
20050 llroundf(0.0f);
20051 llroundl(0.0l);
20052
20053 ;
20054 return 0;
20055 }
20056 _ACEOF
20057 if ac_fn_cxx_try_compile "$LINENO"; then :
20058 glibcxx_cv_c99_math_llround=yes
20059 else
20060 glibcxx_cv_c99_math_llround=no
20061 fi
20062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20063
20064 fi
20065
20066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_c99_math_llround" >&5
20067 $as_echo "$glibcxx_cv_c99_math_llround" >&6; }
20068 ;;
20069 esac
20070 if test x"$glibcxx_cv_c99_math_llround" = x"no"; then
20071
20072 $as_echo "#define _GLIBCXX_NO_C99_ROUNDING_FUNCS 1" >>confdefs.h
20073
20074 fi
20075 fi
20076
20077 # Check for the existence of <inttypes.h> functions (NB: doesn't make
20078 # sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20079 ac_c99_inttypes_tr1=no;
20080 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ISO C99 support to TR1 in <inttypes.h>" >&5
20082 $as_echo_n "checking for ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20084 /* end confdefs.h. */
20085 #include <inttypes.h>
20086 int
20087 main ()
20088 {
20089 intmax_t i, numer, denom, base;
20090 const char* s;
20091 char** endptr;
20092 intmax_t ret = imaxabs(i);
20093 imaxdiv_t dret = imaxdiv(numer, denom);
20094 ret = strtoimax(s, endptr, base);
20095 uintmax_t uret = strtoumax(s, endptr, base);
20096
20097 ;
20098 return 0;
20099 }
20100 _ACEOF
20101 if ac_fn_cxx_try_compile "$LINENO"; then :
20102 ac_c99_inttypes_tr1=yes
20103 else
20104 ac_c99_inttypes_tr1=no
20105 fi
20106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20107 fi
20108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_tr1" >&5
20109 $as_echo "$ac_c99_inttypes_tr1" >&6; }
20110 if test x"$ac_c99_inttypes_tr1" = x"yes"; then
20111
20112 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_TR1 1" >>confdefs.h
20113
20114 fi
20115
20116 # Check for the existence of wchar_t <inttypes.h> functions (NB: doesn't
20117 # make sense if the glibcxx_cv_c99_stdint_tr1 check fails, per C99, 7.8/1).
20118 ac_c99_inttypes_wchar_t_tr1=no;
20119 if test x"$glibcxx_cv_c99_stdint_tr1" = x"yes"; then
20120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wchar_t ISO C99 support to TR1 in <inttypes.h>" >&5
20121 $as_echo_n "checking for wchar_t ISO C99 support to TR1 in <inttypes.h>... " >&6; }
20122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20123 /* end confdefs.h. */
20124 #include <inttypes.h>
20125 int
20126 main ()
20127 {
20128 intmax_t base;
20129 const wchar_t* s;
20130 wchar_t** endptr;
20131 intmax_t ret = wcstoimax(s, endptr, base);
20132 uintmax_t uret = wcstoumax(s, endptr, base);
20133
20134 ;
20135 return 0;
20136 }
20137 _ACEOF
20138 if ac_fn_cxx_try_compile "$LINENO"; then :
20139 ac_c99_inttypes_wchar_t_tr1=yes
20140 else
20141 ac_c99_inttypes_wchar_t_tr1=no
20142 fi
20143 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20144 fi
20145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_c99_inttypes_wchar_t_tr1" >&5
20146 $as_echo "$ac_c99_inttypes_wchar_t_tr1" >&6; }
20147 if test x"$ac_c99_inttypes_wchar_t_tr1" = x"yes"; then
20148
20149 $as_echo "#define _GLIBCXX_USE_C99_INTTYPES_WCHAR_T_TR1 1" >>confdefs.h
20150
20151 fi
20152
20153 # Check for the existence of the <stdbool.h> header.
20154 for ac_header in stdbool.h
20155 do :
20156 ac_fn_cxx_check_header_mongrel "$LINENO" "stdbool.h" "ac_cv_header_stdbool_h" "$ac_includes_default"
20157 if test "x$ac_cv_header_stdbool_h" = xyes; then :
20158 cat >>confdefs.h <<_ACEOF
20159 #define HAVE_STDBOOL_H 1
20160 _ACEOF
20161
20162 fi
20163
20164 done
20165
20166
20167 # Check for the existence of the <stdalign.h> header.
20168 for ac_header in stdalign.h
20169 do :
20170 ac_fn_cxx_check_header_mongrel "$LINENO" "stdalign.h" "ac_cv_header_stdalign_h" "$ac_includes_default"
20171 if test "x$ac_cv_header_stdalign_h" = xyes; then :
20172 cat >>confdefs.h <<_ACEOF
20173 #define HAVE_STDALIGN_H 1
20174 _ACEOF
20175
20176 fi
20177
20178 done
20179
20180
20181 CXXFLAGS="$ac_save_CXXFLAGS"
20182 ac_ext=c
20183 ac_cpp='$CPP $CPPFLAGS'
20184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20187
20188
20189
20190 # For the EOF, SEEK_CUR, and SEEK_END integer constants.
20191
20192
20193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of EOF" >&5
20194 $as_echo_n "checking for the value of EOF... " >&6; }
20195 if ${glibcxx_cv_stdio_eof+:} false; then :
20196 $as_echo_n "(cached) " >&6
20197 else
20198
20199 if ac_fn_c_compute_int "$LINENO" "EOF" "glibcxx_cv_stdio_eof" "#include <stdio.h>"; then :
20200
20201 else
20202 as_fn_error $? "computing EOF failed" "$LINENO" 5
20203 fi
20204
20205
20206 fi
20207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_eof" >&5
20208 $as_echo "$glibcxx_cv_stdio_eof" >&6; }
20209
20210 cat >>confdefs.h <<_ACEOF
20211 #define _GLIBCXX_STDIO_EOF $glibcxx_cv_stdio_eof
20212 _ACEOF
20213
20214
20215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_CUR" >&5
20216 $as_echo_n "checking for the value of SEEK_CUR... " >&6; }
20217 if ${glibcxx_cv_stdio_seek_cur+:} false; then :
20218 $as_echo_n "(cached) " >&6
20219 else
20220
20221 if ac_fn_c_compute_int "$LINENO" "SEEK_CUR" "glibcxx_cv_stdio_seek_cur" "#include <stdio.h>"; then :
20222
20223 else
20224 as_fn_error $? "computing SEEK_CUR failed" "$LINENO" 5
20225 fi
20226
20227
20228 fi
20229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_cur" >&5
20230 $as_echo "$glibcxx_cv_stdio_seek_cur" >&6; }
20231
20232 cat >>confdefs.h <<_ACEOF
20233 #define _GLIBCXX_STDIO_SEEK_CUR $glibcxx_cv_stdio_seek_cur
20234 _ACEOF
20235
20236
20237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the value of SEEK_END" >&5
20238 $as_echo_n "checking for the value of SEEK_END... " >&6; }
20239 if ${glibcxx_cv_stdio_seek_end+:} false; then :
20240 $as_echo_n "(cached) " >&6
20241 else
20242
20243 if ac_fn_c_compute_int "$LINENO" "SEEK_END" "glibcxx_cv_stdio_seek_end" "#include <stdio.h>"; then :
20244
20245 else
20246 as_fn_error $? "computing SEEK_END failed" "$LINENO" 5
20247 fi
20248
20249
20250 fi
20251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_stdio_seek_end" >&5
20252 $as_echo "$glibcxx_cv_stdio_seek_end" >&6; }
20253
20254 cat >>confdefs.h <<_ACEOF
20255 #define _GLIBCXX_STDIO_SEEK_END $glibcxx_cv_stdio_seek_end
20256 _ACEOF
20257
20258
20259
20260 # For gettimeofday support.
20261
20262
20263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20264 $as_echo_n "checking for gettimeofday... " >&6; }
20265
20266
20267 ac_ext=cpp
20268 ac_cpp='$CXXCPP $CPPFLAGS'
20269 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20270 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20271 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20272
20273 ac_save_CXXFLAGS="$CXXFLAGS"
20274 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20275
20276 ac_has_gettimeofday=no;
20277 for ac_header in sys/time.h
20278 do :
20279 ac_fn_cxx_check_header_mongrel "$LINENO" "sys/time.h" "ac_cv_header_sys_time_h" "$ac_includes_default"
20280 if test "x$ac_cv_header_sys_time_h" = xyes; then :
20281 cat >>confdefs.h <<_ACEOF
20282 #define HAVE_SYS_TIME_H 1
20283 _ACEOF
20284 ac_has_sys_time_h=yes
20285 else
20286 ac_has_sys_time_h=no
20287 fi
20288
20289 done
20290
20291 if test x"$ac_has_sys_time_h" = x"yes"; then
20292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gettimeofday" >&5
20293 $as_echo_n "checking for gettimeofday... " >&6; }
20294 if test x$gcc_no_link = xyes; then
20295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20296 /* end confdefs.h. */
20297 #include <sys/time.h>
20298 int
20299 main ()
20300 {
20301 timeval tv; gettimeofday(&tv, 0);
20302 ;
20303 return 0;
20304 }
20305 _ACEOF
20306 if ac_fn_cxx_try_compile "$LINENO"; then :
20307 ac_has_gettimeofday=yes
20308 else
20309 ac_has_gettimeofday=no
20310 fi
20311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20312 else
20313 if test x$gcc_no_link = xyes; then
20314 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20315 fi
20316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20317 /* end confdefs.h. */
20318 #include <sys/time.h>
20319 int
20320 main ()
20321 {
20322 timeval tv; gettimeofday(&tv, 0);
20323 ;
20324 return 0;
20325 }
20326 _ACEOF
20327 if ac_fn_cxx_try_link "$LINENO"; then :
20328 ac_has_gettimeofday=yes
20329 else
20330 ac_has_gettimeofday=no
20331 fi
20332 rm -f core conftest.err conftest.$ac_objext \
20333 conftest$ac_exeext conftest.$ac_ext
20334 fi
20335
20336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gettimeofday" >&5
20337 $as_echo "$ac_has_gettimeofday" >&6; }
20338 fi
20339
20340 if test x"$ac_has_gettimeofday" = x"yes"; then
20341
20342 $as_echo "#define _GLIBCXX_USE_GETTIMEOFDAY 1" >>confdefs.h
20343
20344 fi
20345
20346 CXXFLAGS="$ac_save_CXXFLAGS"
20347 ac_ext=c
20348 ac_cpp='$CPP $CPPFLAGS'
20349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
20352
20353
20354
20355 # For clock_gettime, nanosleep and sched_yield support.
20356
20357
20358 # Check whether --enable-libstdcxx-time was given.
20359 if test "${enable_libstdcxx_time+set}" = set; then :
20360 enableval=$enable_libstdcxx_time;
20361 case "$enableval" in
20362 yes|no|rt) ;;
20363 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-time" "$LINENO" 5 ;;
20364 esac
20365
20366 else
20367 enable_libstdcxx_time=auto
20368 fi
20369
20370
20371
20372
20373 ac_ext=cpp
20374 ac_cpp='$CXXCPP $CPPFLAGS'
20375 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
20376 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
20377 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
20378
20379 ac_save_CXXFLAGS="$CXXFLAGS"
20380 CXXFLAGS="$CXXFLAGS -fno-exceptions"
20381 ac_save_LIBS="$LIBS"
20382
20383 ac_has_clock_monotonic=no
20384 ac_has_clock_realtime=no
20385 ac_has_nanosleep=no
20386 ac_has_sched_yield=no
20387
20388 if test x"$enable_libstdcxx_time" = x"auto"; then
20389
20390 case "${target_os}" in
20391 cygwin*)
20392 ac_has_nanosleep=yes
20393 ;;
20394 darwin*)
20395 ac_has_nanosleep=yes
20396 ac_has_sched_yield=yes
20397 ;;
20398 # VxWorks has nanosleep as soon as the kernel is configured with
20399 # INCLUDE_POSIX_TIMERS, which is normally/most-often the case.
20400 vxworks*)
20401 ac_has_nanosleep=yes
20402 ;;
20403 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu)
20404 # Don't use link test for freestanding library, in case gcc_no_link=yes
20405 if test x"$is_hosted" = xyes; then
20406 # Versions of glibc before 2.17 needed -lrt for clock_gettime.
20407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20408 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20409 if ${ac_cv_search_clock_gettime+:} false; then :
20410 $as_echo_n "(cached) " >&6
20411 else
20412 ac_func_search_save_LIBS=$LIBS
20413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20414 /* end confdefs.h. */
20415
20416 /* Override any GCC internal prototype to avoid an error.
20417 Use char because int might match the return type of a GCC
20418 builtin and then its argument prototype would still apply. */
20419 #ifdef __cplusplus
20420 extern "C"
20421 #endif
20422 char clock_gettime ();
20423 int
20424 main ()
20425 {
20426 return clock_gettime ();
20427 ;
20428 return 0;
20429 }
20430 _ACEOF
20431 for ac_lib in '' rt; do
20432 if test -z "$ac_lib"; then
20433 ac_res="none required"
20434 else
20435 ac_res=-l$ac_lib
20436 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20437 fi
20438 if test x$gcc_no_link = xyes; then
20439 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20440 fi
20441 if ac_fn_cxx_try_link "$LINENO"; then :
20442 ac_cv_search_clock_gettime=$ac_res
20443 fi
20444 rm -f core conftest.err conftest.$ac_objext \
20445 conftest$ac_exeext
20446 if ${ac_cv_search_clock_gettime+:} false; then :
20447 break
20448 fi
20449 done
20450 if ${ac_cv_search_clock_gettime+:} false; then :
20451
20452 else
20453 ac_cv_search_clock_gettime=no
20454 fi
20455 rm conftest.$ac_ext
20456 LIBS=$ac_func_search_save_LIBS
20457 fi
20458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20459 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20460 ac_res=$ac_cv_search_clock_gettime
20461 if test "$ac_res" != no; then :
20462 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20463
20464 fi
20465
20466 if test x"$ac_cv_search_clock_gettime" = x"none required"; then
20467 ac_has_clock_monotonic=yes
20468 ac_has_clock_realtime=yes
20469 fi
20470 fi
20471 ac_has_nanosleep=yes
20472 ac_has_sched_yield=yes
20473 ;;
20474 freebsd*|netbsd*|dragonfly*|rtems*)
20475 ac_has_clock_monotonic=yes
20476 ac_has_clock_realtime=yes
20477 ac_has_nanosleep=yes
20478 ac_has_sched_yield=yes
20479 ;;
20480 openbsd*)
20481 ac_has_clock_monotonic=yes
20482 ac_has_clock_realtime=yes
20483 ac_has_nanosleep=yes
20484 ;;
20485 solaris*)
20486 ac_has_clock_monotonic=yes
20487 ac_has_clock_realtime=yes
20488 ac_has_nanosleep=yes
20489 ac_has_sched_yield=yes
20490 ;;
20491 uclinux*)
20492 ac_has_nanosleep=yes
20493 ac_has_sched_yield=yes
20494 esac
20495
20496 elif test x"$enable_libstdcxx_time" != x"no"; then
20497
20498 if test x"$enable_libstdcxx_time" = x"rt"; then
20499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20500 $as_echo_n "checking for library containing clock_gettime... " >&6; }
20501 if ${ac_cv_search_clock_gettime+:} false; then :
20502 $as_echo_n "(cached) " >&6
20503 else
20504 ac_func_search_save_LIBS=$LIBS
20505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20506 /* end confdefs.h. */
20507
20508 /* Override any GCC internal prototype to avoid an error.
20509 Use char because int might match the return type of a GCC
20510 builtin and then its argument prototype would still apply. */
20511 #ifdef __cplusplus
20512 extern "C"
20513 #endif
20514 char clock_gettime ();
20515 int
20516 main ()
20517 {
20518 return clock_gettime ();
20519 ;
20520 return 0;
20521 }
20522 _ACEOF
20523 for ac_lib in '' rt; do
20524 if test -z "$ac_lib"; then
20525 ac_res="none required"
20526 else
20527 ac_res=-l$ac_lib
20528 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20529 fi
20530 if test x$gcc_no_link = xyes; then
20531 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20532 fi
20533 if ac_fn_cxx_try_link "$LINENO"; then :
20534 ac_cv_search_clock_gettime=$ac_res
20535 fi
20536 rm -f core conftest.err conftest.$ac_objext \
20537 conftest$ac_exeext
20538 if ${ac_cv_search_clock_gettime+:} false; then :
20539 break
20540 fi
20541 done
20542 if ${ac_cv_search_clock_gettime+:} false; then :
20543
20544 else
20545 ac_cv_search_clock_gettime=no
20546 fi
20547 rm conftest.$ac_ext
20548 LIBS=$ac_func_search_save_LIBS
20549 fi
20550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20551 $as_echo "$ac_cv_search_clock_gettime" >&6; }
20552 ac_res=$ac_cv_search_clock_gettime
20553 if test "$ac_res" != no; then :
20554 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20555
20556 fi
20557
20558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing nanosleep" >&5
20559 $as_echo_n "checking for library containing nanosleep... " >&6; }
20560 if ${ac_cv_search_nanosleep+:} false; then :
20561 $as_echo_n "(cached) " >&6
20562 else
20563 ac_func_search_save_LIBS=$LIBS
20564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20565 /* end confdefs.h. */
20566
20567 /* Override any GCC internal prototype to avoid an error.
20568 Use char because int might match the return type of a GCC
20569 builtin and then its argument prototype would still apply. */
20570 #ifdef __cplusplus
20571 extern "C"
20572 #endif
20573 char nanosleep ();
20574 int
20575 main ()
20576 {
20577 return nanosleep ();
20578 ;
20579 return 0;
20580 }
20581 _ACEOF
20582 for ac_lib in '' rt; do
20583 if test -z "$ac_lib"; then
20584 ac_res="none required"
20585 else
20586 ac_res=-l$ac_lib
20587 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20588 fi
20589 if test x$gcc_no_link = xyes; then
20590 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20591 fi
20592 if ac_fn_cxx_try_link "$LINENO"; then :
20593 ac_cv_search_nanosleep=$ac_res
20594 fi
20595 rm -f core conftest.err conftest.$ac_objext \
20596 conftest$ac_exeext
20597 if ${ac_cv_search_nanosleep+:} false; then :
20598 break
20599 fi
20600 done
20601 if ${ac_cv_search_nanosleep+:} false; then :
20602
20603 else
20604 ac_cv_search_nanosleep=no
20605 fi
20606 rm conftest.$ac_ext
20607 LIBS=$ac_func_search_save_LIBS
20608 fi
20609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_nanosleep" >&5
20610 $as_echo "$ac_cv_search_nanosleep" >&6; }
20611 ac_res=$ac_cv_search_nanosleep
20612 if test "$ac_res" != no; then :
20613 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20614
20615 fi
20616
20617 else
20618 ac_fn_cxx_check_func "$LINENO" "clock_gettime" "ac_cv_func_clock_gettime"
20619 if test "x$ac_cv_func_clock_gettime" = xyes; then :
20620
20621 fi
20622
20623 ac_fn_cxx_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
20624 if test "x$ac_cv_func_nanosleep" = xyes; then :
20625
20626 fi
20627
20628 fi
20629
20630 case "$ac_cv_search_clock_gettime" in
20631 -l*) GLIBCXX_LIBS=$ac_cv_search_clock_gettime
20632 ;;
20633 esac
20634 case "$ac_cv_search_nanosleep" in
20635 -l*) GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_nanosleep"
20636 ;;
20637 esac
20638
20639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing sched_yield" >&5
20640 $as_echo_n "checking for library containing sched_yield... " >&6; }
20641 if ${ac_cv_search_sched_yield+:} false; then :
20642 $as_echo_n "(cached) " >&6
20643 else
20644 ac_func_search_save_LIBS=$LIBS
20645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20646 /* end confdefs.h. */
20647
20648 /* Override any GCC internal prototype to avoid an error.
20649 Use char because int might match the return type of a GCC
20650 builtin and then its argument prototype would still apply. */
20651 #ifdef __cplusplus
20652 extern "C"
20653 #endif
20654 char sched_yield ();
20655 int
20656 main ()
20657 {
20658 return sched_yield ();
20659 ;
20660 return 0;
20661 }
20662 _ACEOF
20663 for ac_lib in '' rt; do
20664 if test -z "$ac_lib"; then
20665 ac_res="none required"
20666 else
20667 ac_res=-l$ac_lib
20668 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20669 fi
20670 if test x$gcc_no_link = xyes; then
20671 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20672 fi
20673 if ac_fn_cxx_try_link "$LINENO"; then :
20674 ac_cv_search_sched_yield=$ac_res
20675 fi
20676 rm -f core conftest.err conftest.$ac_objext \
20677 conftest$ac_exeext
20678 if ${ac_cv_search_sched_yield+:} false; then :
20679 break
20680 fi
20681 done
20682 if ${ac_cv_search_sched_yield+:} false; then :
20683
20684 else
20685 ac_cv_search_sched_yield=no
20686 fi
20687 rm conftest.$ac_ext
20688 LIBS=$ac_func_search_save_LIBS
20689 fi
20690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_sched_yield" >&5
20691 $as_echo "$ac_cv_search_sched_yield" >&6; }
20692 ac_res=$ac_cv_search_sched_yield
20693 if test "$ac_res" != no; then :
20694 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20695
20696 fi
20697
20698
20699 case "$ac_cv_search_sched_yield" in
20700 -lrt*)
20701 if test x"$enable_libstdcxx_time" = x"rt"; then
20702 GLIBCXX_LIBS="$GLIBCXX_LIBS $ac_cv_search_sched_yield"
20703 ac_has_sched_yield=yes
20704 fi
20705 ;;
20706 *)
20707 ac_has_sched_yield=yes
20708 ;;
20709 esac
20710
20711 for ac_header in unistd.h
20712 do :
20713 ac_fn_cxx_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
20714 if test "x$ac_cv_header_unistd_h" = xyes; then :
20715 cat >>confdefs.h <<_ACEOF
20716 #define HAVE_UNISTD_H 1
20717 _ACEOF
20718 ac_has_unistd_h=yes
20719 else
20720 ac_has_unistd_h=no
20721 fi
20722
20723 done
20724
20725
20726 if test x"$ac_has_unistd_h" = x"yes"; then
20727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for monotonic clock" >&5
20728 $as_echo_n "checking for monotonic clock... " >&6; }
20729 if test x$gcc_no_link = xyes; then
20730 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20731 fi
20732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20733 /* end confdefs.h. */
20734 #include <unistd.h>
20735 #include <time.h>
20736
20737 int
20738 main ()
20739 {
20740 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20741 timespec tp;
20742 #endif
20743 clock_gettime(CLOCK_MONOTONIC, &tp);
20744
20745 ;
20746 return 0;
20747 }
20748 _ACEOF
20749 if ac_fn_cxx_try_link "$LINENO"; then :
20750 ac_has_clock_monotonic=yes
20751 else
20752 ac_has_clock_monotonic=no
20753 fi
20754 rm -f core conftest.err conftest.$ac_objext \
20755 conftest$ac_exeext conftest.$ac_ext
20756
20757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_monotonic" >&5
20758 $as_echo "$ac_has_clock_monotonic" >&6; }
20759
20760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realtime clock" >&5
20761 $as_echo_n "checking for realtime clock... " >&6; }
20762 if test x$gcc_no_link = xyes; then
20763 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20764 fi
20765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20766 /* end confdefs.h. */
20767 #include <unistd.h>
20768 #include <time.h>
20769
20770 int
20771 main ()
20772 {
20773 #if _POSIX_TIMERS > 0
20774 timespec tp;
20775 #endif
20776 clock_gettime(CLOCK_REALTIME, &tp);
20777
20778 ;
20779 return 0;
20780 }
20781 _ACEOF
20782 if ac_fn_cxx_try_link "$LINENO"; then :
20783 ac_has_clock_realtime=yes
20784 else
20785 ac_has_clock_realtime=no
20786 fi
20787 rm -f core conftest.err conftest.$ac_objext \
20788 conftest$ac_exeext conftest.$ac_ext
20789
20790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_realtime" >&5
20791 $as_echo "$ac_has_clock_realtime" >&6; }
20792
20793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep" >&5
20794 $as_echo_n "checking for nanosleep... " >&6; }
20795 if test x$gcc_no_link = xyes; then
20796 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
20797 fi
20798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20799 /* end confdefs.h. */
20800 #include <unistd.h>
20801 #include <time.h>
20802
20803 int
20804 main ()
20805 {
20806 #if _POSIX_TIMERS > 0
20807 timespec tp;
20808 #endif
20809 nanosleep(&tp, 0);
20810
20811 ;
20812 return 0;
20813 }
20814 _ACEOF
20815 if ac_fn_cxx_try_link "$LINENO"; then :
20816 ac_has_nanosleep=yes
20817 else
20818 ac_has_nanosleep=no
20819 fi
20820 rm -f core conftest.err conftest.$ac_objext \
20821 conftest$ac_exeext conftest.$ac_ext
20822
20823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_nanosleep" >&5
20824 $as_echo "$ac_has_nanosleep" >&6; }
20825 fi
20826 fi
20827
20828 if test x"$ac_has_clock_monotonic" != x"yes"; then
20829 case ${target_os} in
20830 linux* | uclinux*)
20831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clock_gettime syscall" >&5
20832 $as_echo_n "checking for clock_gettime syscall... " >&6; }
20833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20834 /* end confdefs.h. */
20835 #include <unistd.h>
20836 #include <time.h>
20837 #include <sys/syscall.h>
20838
20839 int
20840 main ()
20841 {
20842 #if _POSIX_TIMERS > 0 && defined(_POSIX_MONOTONIC_CLOCK)
20843 timespec tp;
20844 #endif
20845 syscall(SYS_clock_gettime, CLOCK_MONOTONIC, &tp);
20846 syscall(SYS_clock_gettime, CLOCK_REALTIME, &tp);
20847
20848 ;
20849 return 0;
20850 }
20851 _ACEOF
20852 if ac_fn_cxx_try_compile "$LINENO"; then :
20853 ac_has_clock_gettime_syscall=yes
20854 else
20855 ac_has_clock_gettime_syscall=no
20856 fi
20857 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_clock_gettime_syscall" >&5
20859 $as_echo "$ac_has_clock_gettime_syscall" >&6; }
20860 if test x"$ac_has_clock_gettime_syscall" = x"yes"; then
20861
20862 $as_echo "#define _GLIBCXX_USE_CLOCK_GETTIME_SYSCALL 1" >>confdefs.h
20863
20864 ac_has_clock_monotonic=yes
20865 ac_has_clock_realtime=yes
20866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct timespec that matches syscall" >&5
20867 $as_echo_n "checking for struct timespec that matches syscall... " >&6; }
20868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20869 /* end confdefs.h. */
20870 #include <time.h>
20871 #include <sys/syscall.h>
20872
20873 int
20874 main ()
20875 {
20876 #ifdef SYS_clock_gettime64
20877 #if SYS_clock_gettime64 != SYS_clock_gettime
20878 // We need to use SYS_clock_gettime and libc appears to
20879 // also know about the SYS_clock_gettime64 syscall.
20880 // Check that userspace doesn't use time64 version of timespec.
20881 static_assert(sizeof(timespec::tv_sec) == sizeof(long),
20882 "struct timespec must be compatible with SYS_clock_gettime");
20883 #endif
20884 #endif
20885
20886 ;
20887 return 0;
20888 }
20889 _ACEOF
20890 if ac_fn_cxx_try_compile "$LINENO"; then :
20891 ac_timespec_matches_syscall=yes
20892 else
20893 ac_timespec_matches_syscall=no
20894 fi
20895 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_timespec_matches_syscall" >&5
20897 $as_echo "$ac_timespec_matches_syscall" >&6; }
20898 if test x"$ac_timespec_matches_syscall" = no; then
20899 as_fn_error $? "struct timespec is not compatible with SYS_clock_gettime, please report a bug to http://gcc.gnu.org/bugzilla" "$LINENO" 5
20900 fi
20901 fi;;
20902 esac
20903 fi
20904
20905 if test x"$ac_has_clock_monotonic" = x"yes"; then
20906
20907 $as_echo "#define _GLIBCXX_USE_CLOCK_MONOTONIC 1" >>confdefs.h
20908
20909 fi
20910
20911 if test x"$ac_has_clock_realtime" = x"yes"; then
20912
20913 $as_echo "#define _GLIBCXX_USE_CLOCK_REALTIME 1" >>confdefs.h
20914
20915 fi
20916
20917 if test x"$ac_has_sched_yield" = x"yes"; then
20918
20919 $as_echo "#define _GLIBCXX_USE_SCHED_YIELD 1" >>confdefs.h
20920
20921 fi
20922
20923 if test x"$ac_has_nanosleep" = x"yes"; then
20924
20925 $as_echo "#define _GLIBCXX_USE_NANOSLEEP 1" >>confdefs.h
20926
20927 else
20928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sleep" >&5
20929 $as_echo_n "checking for sleep... " >&6; }
20930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20931 /* end confdefs.h. */
20932 #include <unistd.h>
20933 int
20934 main ()
20935 {
20936 sleep(1)
20937 ;
20938 return 0;
20939 }
20940 _ACEOF
20941 if ac_fn_cxx_try_compile "$LINENO"; then :
20942 ac_has_sleep=yes
20943 else
20944 ac_has_sleep=no
20945 fi
20946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20947 if test x"$ac_has_sleep" = x"yes"; then
20948
20949 $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
20950
20951 fi
20952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_sleep" >&5
20953 $as_echo "$ac_has_sleep" >&6; }
20954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for usleep" >&5
20955 $as_echo_n "checking for usleep... " >&6; }
20956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20957 /* end confdefs.h. */
20958 #include <unistd.h>
20959 int
20960 main ()
20961 {
20962 sleep(1);
20963 usleep(100);
20964 ;
20965 return 0;
20966 }
20967 _ACEOF
20968 if ac_fn_cxx_try_compile "$LINENO"; then :
20969 ac_has_usleep=yes
20970 else
20971 ac_has_usleep=no
20972 fi
20973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20974 if test x"$ac_has_usleep" = x"yes"; then
20975
20976 $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
20977
20978 fi
20979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_usleep" >&5
20980 $as_echo "$ac_has_usleep" >&6; }
20981 fi
20982
20983 if test x"$ac_has_nanosleep$ac_has_sleep" = x"nono"; then
20984 ac_no_sleep=yes
20985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Sleep" >&5
20986 $as_echo_n "checking for Sleep... " >&6; }
20987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20988 /* end confdefs.h. */
20989 #include <windows.h>
20990 int
20991 main ()
20992 {
20993 Sleep(1)
20994 ;
20995 return 0;
20996 }
20997 _ACEOF
20998 if ac_fn_cxx_try_compile "$LINENO"; then :
20999 ac_has_win32_sleep=yes
21000 else
21001 ac_has_win32_sleep=no
21002 fi
21003 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21004 if test x"$ac_has_win32_sleep" = x"yes"; then
21005
21006 $as_echo "#define HAVE_WIN32_SLEEP 1" >>confdefs.h
21007
21008 ac_no_sleep=no
21009 fi
21010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_win32_sleep" >&5
21011 $as_echo "$ac_has_win32_sleep" >&6; }
21012 fi
21013
21014 if test x"$ac_no_sleep" = x"yes"; then
21015
21016 $as_echo "#define NO_SLEEP 1" >>confdefs.h
21017
21018 fi
21019
21020
21021
21022 CXXFLAGS="$ac_save_CXXFLAGS"
21023 LIBS="$ac_save_LIBS"
21024 ac_ext=c
21025 ac_cpp='$CPP $CPPFLAGS'
21026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21029
21030
21031
21032 # Check for tmpnam which is obsolescent in POSIX.1-2008
21033
21034 ac_ext=cpp
21035 ac_cpp='$CXXCPP $CPPFLAGS'
21036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21039
21040 ac_save_CXXFLAGS="$CXXFLAGS"
21041 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tmpnam" >&5
21043 $as_echo_n "checking for tmpnam... " >&6; }
21044 if ${glibcxx_cv_TMPNAM+:} false; then :
21045 $as_echo_n "(cached) " >&6
21046 else
21047 if test x$gcc_no_link = xyes; then
21048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21049 /* end confdefs.h. */
21050 #include <stdio.h>
21051 int
21052 main ()
21053 {
21054 char *tmp = tmpnam(NULL);
21055 ;
21056 return 0;
21057 }
21058 _ACEOF
21059 if ac_fn_cxx_try_compile "$LINENO"; then :
21060 glibcxx_cv_TMPNAM=yes
21061 else
21062 glibcxx_cv_TMPNAM=no
21063 fi
21064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21065 else
21066 if test x$gcc_no_link = xyes; then
21067 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21068 fi
21069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21070 /* end confdefs.h. */
21071 #include <stdio.h>
21072 int
21073 main ()
21074 {
21075 char *tmp = tmpnam(NULL);
21076 ;
21077 return 0;
21078 }
21079 _ACEOF
21080 if ac_fn_cxx_try_link "$LINENO"; then :
21081 glibcxx_cv_TMPNAM=yes
21082 else
21083 glibcxx_cv_TMPNAM=no
21084 fi
21085 rm -f core conftest.err conftest.$ac_objext \
21086 conftest$ac_exeext conftest.$ac_ext
21087 fi
21088
21089 fi
21090
21091 if test $glibcxx_cv_TMPNAM = yes; then
21092
21093 $as_echo "#define _GLIBCXX_USE_TMPNAM 1" >>confdefs.h
21094
21095 fi
21096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_TMPNAM" >&5
21097 $as_echo "$glibcxx_cv_TMPNAM" >&6; }
21098 CXXFLAGS="$ac_save_CXXFLAGS"
21099 ac_ext=c
21100 ac_cpp='$CPP $CPPFLAGS'
21101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21104
21105
21106
21107 # For pthread_cond_clockwait
21108
21109
21110
21111 ac_ext=cpp
21112 ac_cpp='$CXXCPP $CPPFLAGS'
21113 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21114 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21115 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21116
21117 ac_save_CXXFLAGS="$CXXFLAGS"
21118 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21119 ac_save_LIBS="$LIBS"
21120 LIBS="$LIBS -lpthread"
21121
21122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cond_clockwait" >&5
21123 $as_echo_n "checking for pthread_cond_clockwait... " >&6; }
21124 if ${glibcxx_cv_PTHREAD_COND_CLOCKWAIT+:} false; then :
21125 $as_echo_n "(cached) " >&6
21126 else
21127
21128 if test x$gcc_no_link = xyes; then
21129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21130 /* end confdefs.h. */
21131 #include <pthread.h>
21132 int
21133 main ()
21134 {
21135 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21136 ;
21137 return 0;
21138 }
21139 _ACEOF
21140 if ac_fn_cxx_try_compile "$LINENO"; then :
21141 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21142 else
21143 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21144 fi
21145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21146 else
21147 if test x$gcc_no_link = xyes; then
21148 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21149 fi
21150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21151 /* end confdefs.h. */
21152 #include <pthread.h>
21153 int
21154 main ()
21155 {
21156 pthread_mutex_t mutex; pthread_cond_t cond; struct timespec ts; int n = pthread_cond_clockwait(&cond, &mutex, 0, &ts);
21157 ;
21158 return 0;
21159 }
21160 _ACEOF
21161 if ac_fn_cxx_try_link "$LINENO"; then :
21162 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=yes
21163 else
21164 glibcxx_cv_PTHREAD_COND_CLOCKWAIT=no
21165 fi
21166 rm -f core conftest.err conftest.$ac_objext \
21167 conftest$ac_exeext conftest.$ac_ext
21168 fi
21169
21170 fi
21171
21172 if test $glibcxx_cv_PTHREAD_COND_CLOCKWAIT = yes; then
21173
21174 $as_echo "#define _GLIBCXX_USE_PTHREAD_COND_CLOCKWAIT 1" >>confdefs.h
21175
21176 fi
21177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&5
21178 $as_echo "$glibcxx_cv_PTHREAD_COND_CLOCKWAIT" >&6; }
21179
21180 CXXFLAGS="$ac_save_CXXFLAGS"
21181 LIBS="$ac_save_LIBS"
21182 ac_ext=c
21183 ac_cpp='$CPP $CPPFLAGS'
21184 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21185 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21186 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21187
21188
21189
21190 # For pthread_mutex_clocklock
21191
21192
21193
21194 ac_ext=cpp
21195 ac_cpp='$CXXCPP $CPPFLAGS'
21196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21199
21200 ac_save_CXXFLAGS="$CXXFLAGS"
21201 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21202 ac_save_LIBS="$LIBS"
21203 LIBS="$LIBS -lpthread"
21204
21205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutex_clocklock" >&5
21206 $as_echo_n "checking for pthread_mutex_clocklock... " >&6; }
21207 if ${glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK+:} false; then :
21208 $as_echo_n "(cached) " >&6
21209 else
21210
21211 if test x$gcc_no_link = xyes; then
21212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21213 /* end confdefs.h. */
21214 #include <pthread.h>
21215 int
21216 main ()
21217 {
21218 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21219 ;
21220 return 0;
21221 }
21222 _ACEOF
21223 if ac_fn_cxx_try_compile "$LINENO"; then :
21224 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21225 else
21226 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21227 fi
21228 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21229 else
21230 if test x$gcc_no_link = xyes; then
21231 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21232 fi
21233 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21234 /* end confdefs.h. */
21235 #include <pthread.h>
21236 int
21237 main ()
21238 {
21239 pthread_mutex_t mutex; struct timespec ts; int n = pthread_mutex_clocklock(&mutex, CLOCK_REALTIME, &ts);
21240 ;
21241 return 0;
21242 }
21243 _ACEOF
21244 if ac_fn_cxx_try_link "$LINENO"; then :
21245 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=yes
21246 else
21247 glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK=no
21248 fi
21249 rm -f core conftest.err conftest.$ac_objext \
21250 conftest$ac_exeext conftest.$ac_ext
21251 fi
21252
21253 fi
21254
21255 if test $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK = yes; then
21256
21257 $as_echo "#define _GLIBCXX_USE_PTHREAD_MUTEX_CLOCKLOCK 1" >>confdefs.h
21258
21259 fi
21260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&5
21261 $as_echo "$glibcxx_cv_PTHREAD_MUTEX_CLOCKLOCK" >&6; }
21262
21263 CXXFLAGS="$ac_save_CXXFLAGS"
21264 LIBS="$ac_save_LIBS"
21265 ac_ext=c
21266 ac_cpp='$CPP $CPPFLAGS'
21267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21270
21271
21272
21273 # For pthread_rwlock_clockrdlock and pthread_rwlock_clockwrlock
21274
21275
21276
21277 ac_ext=cpp
21278 ac_cpp='$CXXCPP $CPPFLAGS'
21279 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21280 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21281 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21282
21283 ac_save_CXXFLAGS="$CXXFLAGS"
21284 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21285 ac_save_LIBS="$LIBS"
21286 LIBS="$LIBS -lpthread"
21287
21288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock" >&5
21289 $as_echo_n "checking for pthread_rwlock_clockrdlock, pthread_wlock_clockwrlock... " >&6; }
21290 if ${glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK+:} false; then :
21291 $as_echo_n "(cached) " >&6
21292 else
21293
21294 if test x$gcc_no_link = xyes; then
21295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21296 /* end confdefs.h. */
21297 #include <pthread.h>
21298 int
21299 main ()
21300 {
21301 pthread_rwlock_t rwl; struct timespec ts;
21302 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21303 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21304 ;
21305 return 0;
21306 }
21307 _ACEOF
21308 if ac_fn_cxx_try_compile "$LINENO"; then :
21309 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21310 else
21311 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21312 fi
21313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21314 else
21315 if test x$gcc_no_link = xyes; then
21316 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21317 fi
21318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21319 /* end confdefs.h. */
21320 #include <pthread.h>
21321 int
21322 main ()
21323 {
21324 pthread_rwlock_t rwl; struct timespec ts;
21325 int n = pthread_rwlock_clockrdlock(&rwl, CLOCK_REALTIME, &ts);
21326 int m = pthread_rwlock_clockwrlock(&rwl, CLOCK_REALTIME, &ts);
21327 ;
21328 return 0;
21329 }
21330 _ACEOF
21331 if ac_fn_cxx_try_link "$LINENO"; then :
21332 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=yes
21333 else
21334 glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK=no
21335 fi
21336 rm -f core conftest.err conftest.$ac_objext \
21337 conftest$ac_exeext conftest.$ac_ext
21338 fi
21339
21340 fi
21341
21342 if test $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK = yes; then
21343
21344 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_CLOCKLOCK 1" >>confdefs.h
21345
21346 fi
21347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&5
21348 $as_echo "$glibcxx_cv_PTHREAD_RWLOCK_CLOCKLOCK" >&6; }
21349
21350 CXXFLAGS="$ac_save_CXXFLAGS"
21351 LIBS="$ac_save_LIBS"
21352 ac_ext=c
21353 ac_cpp='$CPP $CPPFLAGS'
21354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21357
21358
21359
21360
21361 ac_fn_c_check_header_mongrel "$LINENO" "locale.h" "ac_cv_header_locale_h" "$ac_includes_default"
21362 if test "x$ac_cv_header_locale_h" = xyes; then :
21363
21364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LC_MESSAGES" >&5
21365 $as_echo_n "checking for LC_MESSAGES... " >&6; }
21366 if ${ac_cv_val_LC_MESSAGES+:} false; then :
21367 $as_echo_n "(cached) " >&6
21368 else
21369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21370 /* end confdefs.h. */
21371 #include <locale.h>
21372 int
21373 main ()
21374 {
21375 return LC_MESSAGES
21376 ;
21377 return 0;
21378 }
21379 _ACEOF
21380 if ac_fn_c_try_compile "$LINENO"; then :
21381 ac_cv_val_LC_MESSAGES=yes
21382 else
21383 ac_cv_val_LC_MESSAGES=no
21384 fi
21385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21386 fi
21387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_val_LC_MESSAGES" >&5
21388 $as_echo "$ac_cv_val_LC_MESSAGES" >&6; }
21389 if test $ac_cv_val_LC_MESSAGES = yes; then
21390
21391 $as_echo "#define HAVE_LC_MESSAGES 1" >>confdefs.h
21392
21393 fi
21394
21395 fi
21396
21397
21398
21399
21400 # For hardware_concurrency
21401 for ac_header in sys/sysinfo.h
21402 do :
21403 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
21404 if test "x$ac_cv_header_sys_sysinfo_h" = xyes; then :
21405 cat >>confdefs.h <<_ACEOF
21406 #define HAVE_SYS_SYSINFO_H 1
21407 _ACEOF
21408
21409 fi
21410
21411 done
21412
21413
21414
21415
21416 ac_ext=cpp
21417 ac_cpp='$CXXCPP $CPPFLAGS'
21418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21421
21422 ac_save_CXXFLAGS="$CXXFLAGS"
21423 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21424
21425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for get_nprocs" >&5
21426 $as_echo_n "checking for get_nprocs... " >&6; }
21427 if ${glibcxx_cv_GET_NPROCS+:} false; then :
21428 $as_echo_n "(cached) " >&6
21429 else
21430
21431 if test x$gcc_no_link = xyes; then
21432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21433 /* end confdefs.h. */
21434 #include <sys/sysinfo.h>
21435 int
21436 main ()
21437 {
21438 int n = get_nprocs();
21439 ;
21440 return 0;
21441 }
21442 _ACEOF
21443 if ac_fn_cxx_try_compile "$LINENO"; then :
21444 glibcxx_cv_GET_NPROCS=yes
21445 else
21446 glibcxx_cv_GET_NPROCS=no
21447 fi
21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21449 else
21450 if test x$gcc_no_link = xyes; then
21451 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21452 fi
21453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21454 /* end confdefs.h. */
21455 #include <sys/sysinfo.h>
21456 int
21457 main ()
21458 {
21459 int n = get_nprocs();
21460 ;
21461 return 0;
21462 }
21463 _ACEOF
21464 if ac_fn_cxx_try_link "$LINENO"; then :
21465 glibcxx_cv_GET_NPROCS=yes
21466 else
21467 glibcxx_cv_GET_NPROCS=no
21468 fi
21469 rm -f core conftest.err conftest.$ac_objext \
21470 conftest$ac_exeext conftest.$ac_ext
21471 fi
21472
21473 fi
21474
21475 if test $glibcxx_cv_GET_NPROCS = yes; then
21476
21477 $as_echo "#define _GLIBCXX_USE_GET_NPROCS 1" >>confdefs.h
21478
21479 fi
21480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_GET_NPROCS" >&5
21481 $as_echo "$glibcxx_cv_GET_NPROCS" >&6; }
21482
21483 CXXFLAGS="$ac_save_CXXFLAGS"
21484 ac_ext=c
21485 ac_cpp='$CPP $CPPFLAGS'
21486 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21487 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21488 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21489
21490
21491 for ac_header in unistd.h
21492 do :
21493 ac_fn_c_check_header_mongrel "$LINENO" "unistd.h" "ac_cv_header_unistd_h" "$ac_includes_default"
21494 if test "x$ac_cv_header_unistd_h" = xyes; then :
21495 cat >>confdefs.h <<_ACEOF
21496 #define HAVE_UNISTD_H 1
21497 _ACEOF
21498
21499 fi
21500
21501 done
21502
21503
21504
21505
21506 ac_ext=cpp
21507 ac_cpp='$CXXCPP $CPPFLAGS'
21508 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21509 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21510 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21511
21512 ac_save_CXXFLAGS="$CXXFLAGS"
21513 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21514
21515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROCESSORS_ONLN" >&5
21516 $as_echo_n "checking for _SC_NPROCESSORS_ONLN... " >&6; }
21517 if ${glibcxx_cv_SC_NPROCESSORS_ONLN+:} false; then :
21518 $as_echo_n "(cached) " >&6
21519 else
21520
21521 if test x$gcc_no_link = xyes; then
21522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21523 /* end confdefs.h. */
21524 #include <unistd.h>
21525 int
21526 main ()
21527 {
21528 int n = sysconf(_SC_NPROCESSORS_ONLN);
21529 ;
21530 return 0;
21531 }
21532 _ACEOF
21533 if ac_fn_cxx_try_compile "$LINENO"; then :
21534 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21535 else
21536 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21537 fi
21538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21539 else
21540 if test x$gcc_no_link = xyes; then
21541 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21542 fi
21543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21544 /* end confdefs.h. */
21545 #include <unistd.h>
21546 int
21547 main ()
21548 {
21549 int n = sysconf(_SC_NPROCESSORS_ONLN);
21550 ;
21551 return 0;
21552 }
21553 _ACEOF
21554 if ac_fn_cxx_try_link "$LINENO"; then :
21555 glibcxx_cv_SC_NPROCESSORS_ONLN=yes
21556 else
21557 glibcxx_cv_SC_NPROCESSORS_ONLN=no
21558 fi
21559 rm -f core conftest.err conftest.$ac_objext \
21560 conftest$ac_exeext conftest.$ac_ext
21561 fi
21562
21563 fi
21564
21565 if test $glibcxx_cv_SC_NPROCESSORS_ONLN = yes; then
21566
21567 $as_echo "#define _GLIBCXX_USE_SC_NPROCESSORS_ONLN 1" >>confdefs.h
21568
21569 fi
21570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROCESSORS_ONLN" >&5
21571 $as_echo "$glibcxx_cv_SC_NPROCESSORS_ONLN" >&6; }
21572
21573 CXXFLAGS="$ac_save_CXXFLAGS"
21574 ac_ext=c
21575 ac_cpp='$CPP $CPPFLAGS'
21576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21579
21580
21581
21582
21583
21584 ac_ext=cpp
21585 ac_cpp='$CXXCPP $CPPFLAGS'
21586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21589
21590 ac_save_CXXFLAGS="$CXXFLAGS"
21591 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21592
21593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _SC_NPROC_ONLN" >&5
21594 $as_echo_n "checking for _SC_NPROC_ONLN... " >&6; }
21595 if ${glibcxx_cv_SC_NPROC_ONLN+:} false; then :
21596 $as_echo_n "(cached) " >&6
21597 else
21598
21599 if test x$gcc_no_link = xyes; then
21600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21601 /* end confdefs.h. */
21602 #include <unistd.h>
21603 int
21604 main ()
21605 {
21606 int n = sysconf(_SC_NPROC_ONLN);
21607 ;
21608 return 0;
21609 }
21610 _ACEOF
21611 if ac_fn_cxx_try_compile "$LINENO"; then :
21612 glibcxx_cv_SC_NPROC_ONLN=yes
21613 else
21614 glibcxx_cv_SC_NPROC_ONLN=no
21615 fi
21616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21617 else
21618 if test x$gcc_no_link = xyes; then
21619 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21620 fi
21621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21622 /* end confdefs.h. */
21623 #include <unistd.h>
21624 int
21625 main ()
21626 {
21627 int n = sysconf(_SC_NPROC_ONLN);
21628 ;
21629 return 0;
21630 }
21631 _ACEOF
21632 if ac_fn_cxx_try_link "$LINENO"; then :
21633 glibcxx_cv_SC_NPROC_ONLN=yes
21634 else
21635 glibcxx_cv_SC_NPROC_ONLN=no
21636 fi
21637 rm -f core conftest.err conftest.$ac_objext \
21638 conftest$ac_exeext conftest.$ac_ext
21639 fi
21640
21641 fi
21642
21643 if test $glibcxx_cv_SC_NPROC_ONLN = yes; then
21644
21645 $as_echo "#define _GLIBCXX_USE_SC_NPROC_ONLN 1" >>confdefs.h
21646
21647 fi
21648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SC_NPROC_ONLN" >&5
21649 $as_echo "$glibcxx_cv_SC_NPROC_ONLN" >&6; }
21650
21651 CXXFLAGS="$ac_save_CXXFLAGS"
21652 ac_ext=c
21653 ac_cpp='$CPP $CPPFLAGS'
21654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21657
21658
21659
21660
21661
21662 ac_ext=cpp
21663 ac_cpp='$CXXCPP $CPPFLAGS'
21664 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21665 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21666 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21667
21668 ac_save_CXXFLAGS="$CXXFLAGS"
21669 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21670
21671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthreads_num_processors_np" >&5
21672 $as_echo_n "checking for pthreads_num_processors_np... " >&6; }
21673 if ${glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP+:} false; then :
21674 $as_echo_n "(cached) " >&6
21675 else
21676
21677 if test x$gcc_no_link = xyes; then
21678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21679 /* end confdefs.h. */
21680 #include <pthread.h>
21681 int
21682 main ()
21683 {
21684 int n = pthread_num_processors_np();
21685 ;
21686 return 0;
21687 }
21688 _ACEOF
21689 if ac_fn_cxx_try_compile "$LINENO"; then :
21690 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21691 else
21692 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21693 fi
21694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21695 else
21696 if test x$gcc_no_link = xyes; then
21697 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21698 fi
21699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21700 /* end confdefs.h. */
21701 #include <pthread.h>
21702 int
21703 main ()
21704 {
21705 int n = pthread_num_processors_np();
21706 ;
21707 return 0;
21708 }
21709 _ACEOF
21710 if ac_fn_cxx_try_link "$LINENO"; then :
21711 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=yes
21712 else
21713 glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP=no
21714 fi
21715 rm -f core conftest.err conftest.$ac_objext \
21716 conftest$ac_exeext conftest.$ac_ext
21717 fi
21718
21719 fi
21720
21721 if test $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP = yes; then
21722
21723 $as_echo "#define _GLIBCXX_USE_PTHREADS_NUM_PROCESSORS_NP 1" >>confdefs.h
21724
21725 fi
21726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&5
21727 $as_echo "$glibcxx_cv_PTHREADS_NUM_PROCESSORS_NP" >&6; }
21728
21729 CXXFLAGS="$ac_save_CXXFLAGS"
21730 ac_ext=c
21731 ac_cpp='$CPP $CPPFLAGS'
21732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21735
21736
21737
21738
21739
21740 ac_ext=cpp
21741 ac_cpp='$CXXCPP $CPPFLAGS'
21742 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21743 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21744 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
21745
21746 ac_save_CXXFLAGS="$CXXFLAGS"
21747 CXXFLAGS="$CXXFLAGS -fno-exceptions"
21748
21749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hw.ncpu sysctl" >&5
21750 $as_echo_n "checking for hw.ncpu sysctl... " >&6; }
21751 if ${glibcxx_cv_SYSCTL_HW_NCPU+:} false; then :
21752 $as_echo_n "(cached) " >&6
21753 else
21754
21755 if test x$gcc_no_link = xyes; then
21756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21757 /* end confdefs.h. */
21758
21759 #include <stddef.h>
21760 #include <sys/sysctl.h>
21761
21762 int
21763 main ()
21764 {
21765
21766 int count;
21767 size_t size = sizeof(count);
21768 int mib[] = { CTL_HW, HW_NCPU };
21769 sysctl(mib, 2, &count, &size, NULL, 0);
21770
21771 ;
21772 return 0;
21773 }
21774 _ACEOF
21775 if ac_fn_cxx_try_compile "$LINENO"; then :
21776 glibcxx_cv_SYSCTL_HW_NCPU=yes
21777 else
21778 glibcxx_cv_SYSCTL_HW_NCPU=no
21779 fi
21780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21781 else
21782 if test x$gcc_no_link = xyes; then
21783 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
21784 fi
21785 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21786 /* end confdefs.h. */
21787
21788 #include <stddef.h>
21789 #include <sys/sysctl.h>
21790
21791 int
21792 main ()
21793 {
21794
21795 int count;
21796 size_t size = sizeof(count);
21797 int mib[] = { CTL_HW, HW_NCPU };
21798 sysctl(mib, 2, &count, &size, NULL, 0);
21799
21800 ;
21801 return 0;
21802 }
21803 _ACEOF
21804 if ac_fn_cxx_try_link "$LINENO"; then :
21805 glibcxx_cv_SYSCTL_HW_NCPU=yes
21806 else
21807 glibcxx_cv_SYSCTL_HW_NCPU=no
21808 fi
21809 rm -f core conftest.err conftest.$ac_objext \
21810 conftest$ac_exeext conftest.$ac_ext
21811 fi
21812
21813 fi
21814
21815 if test $glibcxx_cv_SYSCTL_HW_NCPU = yes; then
21816
21817 $as_echo "#define _GLIBCXX_USE_SYSCTL_HW_NCPU 1" >>confdefs.h
21818
21819 fi
21820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_SYSCTL_HW_NCPU" >&5
21821 $as_echo "$glibcxx_cv_SYSCTL_HW_NCPU" >&6; }
21822
21823 CXXFLAGS="$ac_save_CXXFLAGS"
21824 ac_ext=c
21825 ac_cpp='$CPP $CPPFLAGS'
21826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21829
21830
21831
21832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suitable sys/sdt.h" >&5
21833 $as_echo_n "checking for suitable sys/sdt.h... " >&6; }
21834 # Note that this test has to be run with the C language.
21835 # Otherwise, sdt.h will try to include some headers from
21836 # libstdc++ itself.
21837
21838 ac_ext=c
21839 ac_cpp='$CPP $CPPFLAGS'
21840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21843
21844 if ${glibcxx_cv_sys_sdt_h+:} false; then :
21845 $as_echo_n "(cached) " >&6
21846 else
21847
21848 # Because we have to run the test in C, we use grep rather
21849 # than the compiler to check for the bug. The bug is that
21850 # were strings without trailing whitespace, causing g++
21851 # to look for operator"". The pattern searches for the fixed
21852 # output.
21853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21854 /* end confdefs.h. */
21855
21856 #include <sys/sdt.h>
21857 int f() { STAP_PROBE(hi, bob); }
21858
21859 _ACEOF
21860 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21861 $EGREP " \",\" " >/dev/null 2>&1; then :
21862 glibcxx_cv_sys_sdt_h=yes
21863 else
21864 glibcxx_cv_sys_sdt_h=no
21865 fi
21866 rm -f conftest*
21867
21868
21869 fi
21870
21871 ac_ext=c
21872 ac_cpp='$CPP $CPPFLAGS'
21873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
21874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
21875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
21876
21877 if test $glibcxx_cv_sys_sdt_h = yes; then
21878
21879 $as_echo "#define HAVE_SYS_SDT_H 1" >>confdefs.h
21880
21881 fi
21882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sys_sdt_h" >&5
21883 $as_echo "$glibcxx_cv_sys_sdt_h" >&6; }
21884
21885
21886 # Check for available headers.
21887 for ac_header in endian.h execinfo.h float.h fp.h ieeefp.h inttypes.h \
21888 locale.h machine/endian.h machine/param.h nan.h stdint.h stdlib.h string.h \
21889 strings.h sys/ipc.h sys/isa_defs.h sys/machine.h sys/param.h \
21890 sys/resource.h sys/sem.h sys/stat.h sys/time.h sys/types.h unistd.h \
21891 wchar.h wctype.h linux/types.h
21892 do :
21893 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
21894 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
21895 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
21896 cat >>confdefs.h <<_ACEOF
21897 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
21898 _ACEOF
21899
21900 fi
21901
21902 done
21903
21904
21905 for ac_header in linux/random.h
21906 do :
21907 ac_fn_c_check_header_compile "$LINENO" "linux/random.h" "ac_cv_header_linux_random_h" "#ifdef HAVE_LINUX_TYPES_H
21908 # include <linux/types.h>
21909 #endif
21910
21911 "
21912 if test "x$ac_cv_header_linux_random_h" = xyes; then :
21913 cat >>confdefs.h <<_ACEOF
21914 #define HAVE_LINUX_RANDOM_H 1
21915 _ACEOF
21916
21917 fi
21918
21919 done
21920
21921
21922 for ac_header in xlocale.h
21923 do :
21924 ac_fn_c_check_header_mongrel "$LINENO" "xlocale.h" "ac_cv_header_xlocale_h" "$ac_includes_default"
21925 if test "x$ac_cv_header_xlocale_h" = xyes; then :
21926 cat >>confdefs.h <<_ACEOF
21927 #define HAVE_XLOCALE_H 1
21928 _ACEOF
21929
21930 fi
21931
21932 done
21933
21934
21935 # Only do link tests if native. Else, hardcode.
21936 if $GLIBCXX_IS_NATIVE; then
21937
21938 # We can do more elaborate tests that assume a working linker.
21939 CANADIAN=no
21940
21941
21942
21943 # Check whether --with-gnu-ld was given.
21944 if test "${with_gnu_ld+set}" = set; then :
21945 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
21946 else
21947 with_gnu_ld=no
21948 fi
21949
21950 ac_prog=ld
21951 if test "$GCC" = yes; then
21952 # Check if gcc -print-prog-name=ld gives a path.
21953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by $CC" >&5
21954 $as_echo_n "checking for ld used by $CC... " >&6; }
21955 case $host in
21956 *-*-mingw*)
21957 # gcc leaves a trailing carriage return which upsets mingw
21958 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
21959 *)
21960 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
21961 esac
21962 case $ac_prog in
21963 # Accept absolute paths.
21964 [\\/]* | ?:[\\/]*)
21965 re_direlt='/[^/][^/]*/\.\./'
21966 # Canonicalize the pathname of ld
21967 ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
21968 while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
21969 ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
21970 done
21971 test -z "$LD" && LD="$ac_prog"
21972 ;;
21973 "")
21974 # If it fails, then pretend we aren't using GCC.
21975 ac_prog=ld
21976 ;;
21977 *)
21978 # If it is relative, then search for the first ld in PATH.
21979 with_gnu_ld=unknown
21980 ;;
21981 esac
21982 elif test "$with_gnu_ld" = yes; then
21983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
21984 $as_echo_n "checking for GNU ld... " >&6; }
21985 else
21986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
21987 $as_echo_n "checking for non-GNU ld... " >&6; }
21988 fi
21989 if ${lt_cv_path_LD+:} false; then :
21990 $as_echo_n "(cached) " >&6
21991 else
21992 if test -z "$LD"; then
21993 lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
21994 for ac_dir in $PATH; do
21995 IFS="$lt_save_ifs"
21996 test -z "$ac_dir" && ac_dir=.
21997 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
21998 lt_cv_path_LD="$ac_dir/$ac_prog"
21999 # Check to see if the program is GNU ld. I'd rather use --version,
22000 # but apparently some variants of GNU ld only accept -v.
22001 # Break only if it was the GNU/non-GNU ld that we prefer.
22002 case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
22003 *GNU* | *'with BFD'*)
22004 test "$with_gnu_ld" != no && break
22005 ;;
22006 *)
22007 test "$with_gnu_ld" != yes && break
22008 ;;
22009 esac
22010 fi
22011 done
22012 IFS="$lt_save_ifs"
22013 else
22014 lt_cv_path_LD="$LD" # Let the user override the test with a path.
22015 fi
22016 fi
22017
22018 LD="$lt_cv_path_LD"
22019 if test -n "$LD"; then
22020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
22021 $as_echo "$LD" >&6; }
22022 else
22023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
22024 $as_echo "no" >&6; }
22025 fi
22026 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
22027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
22028 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
22029 if ${lt_cv_prog_gnu_ld+:} false; then :
22030 $as_echo_n "(cached) " >&6
22031 else
22032 # I'd rather use --version here, but apparently some GNU lds only accept -v.
22033 case `$LD -v 2>&1 </dev/null` in
22034 *GNU* | *'with BFD'*)
22035 lt_cv_prog_gnu_ld=yes
22036 ;;
22037 *)
22038 lt_cv_prog_gnu_ld=no
22039 ;;
22040 esac
22041 fi
22042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $lt_cv_prog_gnu_ld" >&5
22043 $as_echo "$lt_cv_prog_gnu_ld" >&6; }
22044 with_gnu_ld=$lt_cv_prog_gnu_ld
22045
22046
22047
22048
22049
22050
22051
22052 # If we're not using GNU ld, then there's no point in even trying these
22053 # tests. Check for that first. We should have already tested for gld
22054 # by now (in libtool), but require it now just to be safe...
22055 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
22056 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
22057
22058
22059
22060 # The name set by libtool depends on the version of libtool. Shame on us
22061 # for depending on an impl detail, but c'est la vie. Older versions used
22062 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
22063 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
22064 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
22065 # set (hence we're using an older libtool), then set it.
22066 if test x${with_gnu_ld+set} != xset; then
22067 if test x${ac_cv_prog_gnu_ld+set} != xset; then
22068 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
22069 with_gnu_ld=no
22070 else
22071 with_gnu_ld=$ac_cv_prog_gnu_ld
22072 fi
22073 fi
22074
22075 # Start by getting the version number. I think the libtool test already
22076 # does some of this, but throws away the result.
22077 glibcxx_ld_is_gold=no
22078 if test x"$with_gnu_ld" = x"yes"; then
22079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
22080 $as_echo_n "checking for ld version... " >&6; }
22081
22082 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
22083 glibcxx_ld_is_gold=yes
22084 fi
22085 ldver=`$LD --version 2>/dev/null |
22086 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
22087
22088 glibcxx_gnu_ld_version=`echo $ldver | \
22089 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
22090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
22091 $as_echo "$glibcxx_gnu_ld_version" >&6; }
22092 fi
22093
22094 # Set --gc-sections.
22095 glibcxx_have_gc_sections=no
22096 if test "$glibcxx_ld_is_gold" = "yes"; then
22097 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
22098 glibcxx_have_gc_sections=yes
22099 fi
22100 else
22101 glibcxx_gcsections_min_ld=21602
22102 if test x"$with_gnu_ld" = x"yes" &&
22103 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
22104 glibcxx_have_gc_sections=yes
22105 fi
22106 fi
22107 if test "$glibcxx_have_gc_sections" = "yes"; then
22108 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
22109 # NB: This flag only works reliably after 2.16.1. Configure tests
22110 # for this are difficult, so hard wire a value that should work.
22111
22112 ac_test_CFLAGS="${CFLAGS+set}"
22113 ac_save_CFLAGS="$CFLAGS"
22114 CFLAGS='-Wl,--gc-sections'
22115
22116 # Check for -Wl,--gc-sections
22117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
22118 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
22119 if test x$gcc_no_link = xyes; then
22120 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22121 fi
22122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22123 /* end confdefs.h. */
22124 int one(void) { return 1; }
22125 int two(void) { return 2; }
22126
22127 int
22128 main ()
22129 {
22130 two();
22131 ;
22132 return 0;
22133 }
22134 _ACEOF
22135 if ac_fn_c_try_link "$LINENO"; then :
22136 ac_gcsections=yes
22137 else
22138 ac_gcsections=no
22139 fi
22140 rm -f core conftest.err conftest.$ac_objext \
22141 conftest$ac_exeext conftest.$ac_ext
22142 if test "$ac_gcsections" = "yes"; then
22143 rm -f conftest.c
22144 touch conftest.c
22145 if $CC -c conftest.c; then
22146 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
22147 grep "Warning: gc-sections option ignored" > /dev/null; then
22148 ac_gcsections=no
22149 fi
22150 fi
22151 rm -f conftest.c conftest.o conftest
22152 fi
22153 if test "$ac_gcsections" = "yes"; then
22154 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
22155 fi
22156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
22157 $as_echo "$ac_gcsections" >&6; }
22158
22159 if test "$ac_test_CFLAGS" = set; then
22160 CFLAGS="$ac_save_CFLAGS"
22161 else
22162 # this is the suspicious part
22163 CFLAGS=''
22164 fi
22165 fi
22166
22167 # Set -z,relro.
22168 # Note this is only for shared objects.
22169 ac_ld_relro=no
22170 if test x"$with_gnu_ld" = x"yes"; then
22171 # cygwin and mingw uses PE, which has no ELF relro support,
22172 # multi target ld may confuse configure machinery
22173 case "$host" in
22174 *-*-cygwin*)
22175 ;;
22176 *-*-mingw*)
22177 ;;
22178 *)
22179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
22180 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
22181 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
22182 if test -n "$cxx_z_relo"; then
22183 OPT_LDFLAGS="-Wl,-z,relro"
22184 ac_ld_relro=yes
22185 fi
22186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
22187 $as_echo "$ac_ld_relro" >&6; }
22188 esac
22189 fi
22190
22191 # Set linker optimization flags.
22192 if test x"$with_gnu_ld" = x"yes"; then
22193 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
22194 fi
22195
22196
22197
22198
22199
22200 ac_test_CXXFLAGS="${CXXFLAGS+set}"
22201 ac_save_CXXFLAGS="$CXXFLAGS"
22202 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
22203
22204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
22205 $as_echo_n "checking for sin in -lm... " >&6; }
22206 if ${ac_cv_lib_m_sin+:} false; then :
22207 $as_echo_n "(cached) " >&6
22208 else
22209 ac_check_lib_save_LIBS=$LIBS
22210 LIBS="-lm $LIBS"
22211 if test x$gcc_no_link = xyes; then
22212 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
22213 fi
22214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22215 /* end confdefs.h. */
22216
22217 /* Override any GCC internal prototype to avoid an error.
22218 Use char because int might match the return type of a GCC
22219 builtin and then its argument prototype would still apply. */
22220 #ifdef __cplusplus
22221 extern "C"
22222 #endif
22223 char sin ();
22224 int
22225 main ()
22226 {
22227 return sin ();
22228 ;
22229 return 0;
22230 }
22231 _ACEOF
22232 if ac_fn_c_try_link "$LINENO"; then :
22233 ac_cv_lib_m_sin=yes
22234 else
22235 ac_cv_lib_m_sin=no
22236 fi
22237 rm -f core conftest.err conftest.$ac_objext \
22238 conftest$ac_exeext conftest.$ac_ext
22239 LIBS=$ac_check_lib_save_LIBS
22240 fi
22241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
22242 $as_echo "$ac_cv_lib_m_sin" >&6; }
22243 if test "x$ac_cv_lib_m_sin" = xyes; then :
22244 libm="-lm"
22245 fi
22246
22247 ac_save_LIBS="$LIBS"
22248 LIBS="$LIBS $libm"
22249
22250
22251
22252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
22253 $as_echo_n "checking for isinf declaration... " >&6; }
22254 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
22255 if ${glibcxx_cv_func_isinf_use+:} false; then :
22256 $as_echo_n "(cached) " >&6
22257 else
22258
22259
22260 ac_ext=cpp
22261 ac_cpp='$CXXCPP $CPPFLAGS'
22262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22265
22266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22267 /* end confdefs.h. */
22268 #include <math.h>
22269 #ifdef HAVE_IEEEFP_H
22270 #include <ieeefp.h>
22271 #endif
22272
22273 int
22274 main ()
22275 {
22276 isinf(0);
22277 ;
22278 return 0;
22279 }
22280 _ACEOF
22281 if ac_fn_cxx_try_compile "$LINENO"; then :
22282 glibcxx_cv_func_isinf_use=yes
22283 else
22284 glibcxx_cv_func_isinf_use=no
22285 fi
22286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22287 ac_ext=c
22288 ac_cpp='$CPP $CPPFLAGS'
22289 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22290 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22291 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22292
22293
22294 fi
22295
22296 fi
22297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
22298 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
22299
22300 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
22301 for ac_func in isinf
22302 do :
22303 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
22304 if test "x$ac_cv_func_isinf" = xyes; then :
22305 cat >>confdefs.h <<_ACEOF
22306 #define HAVE_ISINF 1
22307 _ACEOF
22308
22309 fi
22310 done
22311
22312 else
22313
22314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
22315 $as_echo_n "checking for _isinf declaration... " >&6; }
22316 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
22317 if ${glibcxx_cv_func__isinf_use+:} false; then :
22318 $as_echo_n "(cached) " >&6
22319 else
22320
22321
22322 ac_ext=cpp
22323 ac_cpp='$CXXCPP $CPPFLAGS'
22324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22327
22328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22329 /* end confdefs.h. */
22330 #include <math.h>
22331 #ifdef HAVE_IEEEFP_H
22332 #include <ieeefp.h>
22333 #endif
22334
22335 int
22336 main ()
22337 {
22338 _isinf(0);
22339 ;
22340 return 0;
22341 }
22342 _ACEOF
22343 if ac_fn_cxx_try_compile "$LINENO"; then :
22344 glibcxx_cv_func__isinf_use=yes
22345 else
22346 glibcxx_cv_func__isinf_use=no
22347 fi
22348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22349 ac_ext=c
22350 ac_cpp='$CPP $CPPFLAGS'
22351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22354
22355
22356 fi
22357
22358 fi
22359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
22360 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
22361
22362 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
22363 for ac_func in _isinf
22364 do :
22365 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
22366 if test "x$ac_cv_func__isinf" = xyes; then :
22367 cat >>confdefs.h <<_ACEOF
22368 #define HAVE__ISINF 1
22369 _ACEOF
22370
22371 fi
22372 done
22373
22374 fi
22375 fi
22376
22377
22378
22379
22380
22381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
22382 $as_echo_n "checking for isnan declaration... " >&6; }
22383 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
22384 if ${glibcxx_cv_func_isnan_use+:} false; then :
22385 $as_echo_n "(cached) " >&6
22386 else
22387
22388
22389 ac_ext=cpp
22390 ac_cpp='$CXXCPP $CPPFLAGS'
22391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22394
22395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22396 /* end confdefs.h. */
22397 #include <math.h>
22398 #ifdef HAVE_IEEEFP_H
22399 #include <ieeefp.h>
22400 #endif
22401
22402 int
22403 main ()
22404 {
22405 isnan(0);
22406 ;
22407 return 0;
22408 }
22409 _ACEOF
22410 if ac_fn_cxx_try_compile "$LINENO"; then :
22411 glibcxx_cv_func_isnan_use=yes
22412 else
22413 glibcxx_cv_func_isnan_use=no
22414 fi
22415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22416 ac_ext=c
22417 ac_cpp='$CPP $CPPFLAGS'
22418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22421
22422
22423 fi
22424
22425 fi
22426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
22427 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
22428
22429 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
22430 for ac_func in isnan
22431 do :
22432 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
22433 if test "x$ac_cv_func_isnan" = xyes; then :
22434 cat >>confdefs.h <<_ACEOF
22435 #define HAVE_ISNAN 1
22436 _ACEOF
22437
22438 fi
22439 done
22440
22441 else
22442
22443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
22444 $as_echo_n "checking for _isnan declaration... " >&6; }
22445 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
22446 if ${glibcxx_cv_func__isnan_use+:} false; then :
22447 $as_echo_n "(cached) " >&6
22448 else
22449
22450
22451 ac_ext=cpp
22452 ac_cpp='$CXXCPP $CPPFLAGS'
22453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22456
22457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22458 /* end confdefs.h. */
22459 #include <math.h>
22460 #ifdef HAVE_IEEEFP_H
22461 #include <ieeefp.h>
22462 #endif
22463
22464 int
22465 main ()
22466 {
22467 _isnan(0);
22468 ;
22469 return 0;
22470 }
22471 _ACEOF
22472 if ac_fn_cxx_try_compile "$LINENO"; then :
22473 glibcxx_cv_func__isnan_use=yes
22474 else
22475 glibcxx_cv_func__isnan_use=no
22476 fi
22477 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22478 ac_ext=c
22479 ac_cpp='$CPP $CPPFLAGS'
22480 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22481 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22482 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22483
22484
22485 fi
22486
22487 fi
22488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
22489 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
22490
22491 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
22492 for ac_func in _isnan
22493 do :
22494 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
22495 if test "x$ac_cv_func__isnan" = xyes; then :
22496 cat >>confdefs.h <<_ACEOF
22497 #define HAVE__ISNAN 1
22498 _ACEOF
22499
22500 fi
22501 done
22502
22503 fi
22504 fi
22505
22506
22507
22508
22509
22510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
22511 $as_echo_n "checking for finite declaration... " >&6; }
22512 if test x${glibcxx_cv_func_finite_use+set} != xset; then
22513 if ${glibcxx_cv_func_finite_use+:} false; then :
22514 $as_echo_n "(cached) " >&6
22515 else
22516
22517
22518 ac_ext=cpp
22519 ac_cpp='$CXXCPP $CPPFLAGS'
22520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22523
22524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22525 /* end confdefs.h. */
22526 #include <math.h>
22527 #ifdef HAVE_IEEEFP_H
22528 #include <ieeefp.h>
22529 #endif
22530
22531 int
22532 main ()
22533 {
22534 finite(0);
22535 ;
22536 return 0;
22537 }
22538 _ACEOF
22539 if ac_fn_cxx_try_compile "$LINENO"; then :
22540 glibcxx_cv_func_finite_use=yes
22541 else
22542 glibcxx_cv_func_finite_use=no
22543 fi
22544 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22545 ac_ext=c
22546 ac_cpp='$CPP $CPPFLAGS'
22547 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22548 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22549 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22550
22551
22552 fi
22553
22554 fi
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
22556 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
22557
22558 if test x$glibcxx_cv_func_finite_use = x"yes"; then
22559 for ac_func in finite
22560 do :
22561 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
22562 if test "x$ac_cv_func_finite" = xyes; then :
22563 cat >>confdefs.h <<_ACEOF
22564 #define HAVE_FINITE 1
22565 _ACEOF
22566
22567 fi
22568 done
22569
22570 else
22571
22572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
22573 $as_echo_n "checking for _finite declaration... " >&6; }
22574 if test x${glibcxx_cv_func__finite_use+set} != xset; then
22575 if ${glibcxx_cv_func__finite_use+:} false; then :
22576 $as_echo_n "(cached) " >&6
22577 else
22578
22579
22580 ac_ext=cpp
22581 ac_cpp='$CXXCPP $CPPFLAGS'
22582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22585
22586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22587 /* end confdefs.h. */
22588 #include <math.h>
22589 #ifdef HAVE_IEEEFP_H
22590 #include <ieeefp.h>
22591 #endif
22592
22593 int
22594 main ()
22595 {
22596 _finite(0);
22597 ;
22598 return 0;
22599 }
22600 _ACEOF
22601 if ac_fn_cxx_try_compile "$LINENO"; then :
22602 glibcxx_cv_func__finite_use=yes
22603 else
22604 glibcxx_cv_func__finite_use=no
22605 fi
22606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22607 ac_ext=c
22608 ac_cpp='$CPP $CPPFLAGS'
22609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22612
22613
22614 fi
22615
22616 fi
22617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
22618 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
22619
22620 if test x$glibcxx_cv_func__finite_use = x"yes"; then
22621 for ac_func in _finite
22622 do :
22623 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
22624 if test "x$ac_cv_func__finite" = xyes; then :
22625 cat >>confdefs.h <<_ACEOF
22626 #define HAVE__FINITE 1
22627 _ACEOF
22628
22629 fi
22630 done
22631
22632 fi
22633 fi
22634
22635
22636
22637
22638
22639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
22640 $as_echo_n "checking for sincos declaration... " >&6; }
22641 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
22642 if ${glibcxx_cv_func_sincos_use+:} false; then :
22643 $as_echo_n "(cached) " >&6
22644 else
22645
22646
22647 ac_ext=cpp
22648 ac_cpp='$CXXCPP $CPPFLAGS'
22649 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22650 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22651 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22652
22653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22654 /* end confdefs.h. */
22655 #include <math.h>
22656 int
22657 main ()
22658 {
22659 sincos(0, 0, 0);
22660 ;
22661 return 0;
22662 }
22663 _ACEOF
22664 if ac_fn_cxx_try_compile "$LINENO"; then :
22665 glibcxx_cv_func_sincos_use=yes
22666 else
22667 glibcxx_cv_func_sincos_use=no
22668 fi
22669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22670 ac_ext=c
22671 ac_cpp='$CPP $CPPFLAGS'
22672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22675
22676
22677 fi
22678
22679 fi
22680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
22681 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
22682
22683 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
22684 for ac_func in sincos
22685 do :
22686 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
22687 if test "x$ac_cv_func_sincos" = xyes; then :
22688 cat >>confdefs.h <<_ACEOF
22689 #define HAVE_SINCOS 1
22690 _ACEOF
22691
22692 fi
22693 done
22694
22695 else
22696
22697 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
22698 $as_echo_n "checking for _sincos declaration... " >&6; }
22699 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
22700 if ${glibcxx_cv_func__sincos_use+:} false; then :
22701 $as_echo_n "(cached) " >&6
22702 else
22703
22704
22705 ac_ext=cpp
22706 ac_cpp='$CXXCPP $CPPFLAGS'
22707 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22708 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22709 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22710
22711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22712 /* end confdefs.h. */
22713 #include <math.h>
22714 int
22715 main ()
22716 {
22717 _sincos(0, 0, 0);
22718 ;
22719 return 0;
22720 }
22721 _ACEOF
22722 if ac_fn_cxx_try_compile "$LINENO"; then :
22723 glibcxx_cv_func__sincos_use=yes
22724 else
22725 glibcxx_cv_func__sincos_use=no
22726 fi
22727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22728 ac_ext=c
22729 ac_cpp='$CPP $CPPFLAGS'
22730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22733
22734
22735 fi
22736
22737 fi
22738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
22739 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
22740
22741 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
22742 for ac_func in _sincos
22743 do :
22744 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
22745 if test "x$ac_cv_func__sincos" = xyes; then :
22746 cat >>confdefs.h <<_ACEOF
22747 #define HAVE__SINCOS 1
22748 _ACEOF
22749
22750 fi
22751 done
22752
22753 fi
22754 fi
22755
22756
22757
22758
22759
22760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
22761 $as_echo_n "checking for fpclass declaration... " >&6; }
22762 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
22763 if ${glibcxx_cv_func_fpclass_use+:} false; then :
22764 $as_echo_n "(cached) " >&6
22765 else
22766
22767
22768 ac_ext=cpp
22769 ac_cpp='$CXXCPP $CPPFLAGS'
22770 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22771 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22772 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22773
22774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22775 /* end confdefs.h. */
22776 #include <math.h>
22777 #ifdef HAVE_IEEEFP_H
22778 #include <ieeefp.h>
22779 #endif
22780
22781 int
22782 main ()
22783 {
22784 fpclass(0);
22785 ;
22786 return 0;
22787 }
22788 _ACEOF
22789 if ac_fn_cxx_try_compile "$LINENO"; then :
22790 glibcxx_cv_func_fpclass_use=yes
22791 else
22792 glibcxx_cv_func_fpclass_use=no
22793 fi
22794 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22795 ac_ext=c
22796 ac_cpp='$CPP $CPPFLAGS'
22797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22800
22801
22802 fi
22803
22804 fi
22805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
22806 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
22807
22808 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
22809 for ac_func in fpclass
22810 do :
22811 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
22812 if test "x$ac_cv_func_fpclass" = xyes; then :
22813 cat >>confdefs.h <<_ACEOF
22814 #define HAVE_FPCLASS 1
22815 _ACEOF
22816
22817 fi
22818 done
22819
22820 else
22821
22822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
22823 $as_echo_n "checking for _fpclass declaration... " >&6; }
22824 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
22825 if ${glibcxx_cv_func__fpclass_use+:} false; then :
22826 $as_echo_n "(cached) " >&6
22827 else
22828
22829
22830 ac_ext=cpp
22831 ac_cpp='$CXXCPP $CPPFLAGS'
22832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22835
22836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22837 /* end confdefs.h. */
22838 #include <math.h>
22839 #ifdef HAVE_IEEEFP_H
22840 #include <ieeefp.h>
22841 #endif
22842
22843 int
22844 main ()
22845 {
22846 _fpclass(0);
22847 ;
22848 return 0;
22849 }
22850 _ACEOF
22851 if ac_fn_cxx_try_compile "$LINENO"; then :
22852 glibcxx_cv_func__fpclass_use=yes
22853 else
22854 glibcxx_cv_func__fpclass_use=no
22855 fi
22856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22857 ac_ext=c
22858 ac_cpp='$CPP $CPPFLAGS'
22859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22862
22863
22864 fi
22865
22866 fi
22867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
22868 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
22869
22870 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
22871 for ac_func in _fpclass
22872 do :
22873 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
22874 if test "x$ac_cv_func__fpclass" = xyes; then :
22875 cat >>confdefs.h <<_ACEOF
22876 #define HAVE__FPCLASS 1
22877 _ACEOF
22878
22879 fi
22880 done
22881
22882 fi
22883 fi
22884
22885
22886
22887
22888
22889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
22890 $as_echo_n "checking for qfpclass declaration... " >&6; }
22891 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
22892 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
22893 $as_echo_n "(cached) " >&6
22894 else
22895
22896
22897 ac_ext=cpp
22898 ac_cpp='$CXXCPP $CPPFLAGS'
22899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22902
22903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22904 /* end confdefs.h. */
22905 #include <math.h>
22906 #ifdef HAVE_IEEEFP_H
22907 #include <ieeefp.h>
22908 #endif
22909
22910 int
22911 main ()
22912 {
22913 qfpclass(0);
22914 ;
22915 return 0;
22916 }
22917 _ACEOF
22918 if ac_fn_cxx_try_compile "$LINENO"; then :
22919 glibcxx_cv_func_qfpclass_use=yes
22920 else
22921 glibcxx_cv_func_qfpclass_use=no
22922 fi
22923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22924 ac_ext=c
22925 ac_cpp='$CPP $CPPFLAGS'
22926 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22927 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22928 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22929
22930
22931 fi
22932
22933 fi
22934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
22935 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
22936
22937 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
22938 for ac_func in qfpclass
22939 do :
22940 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
22941 if test "x$ac_cv_func_qfpclass" = xyes; then :
22942 cat >>confdefs.h <<_ACEOF
22943 #define HAVE_QFPCLASS 1
22944 _ACEOF
22945
22946 fi
22947 done
22948
22949 else
22950
22951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
22952 $as_echo_n "checking for _qfpclass declaration... " >&6; }
22953 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
22954 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
22955 $as_echo_n "(cached) " >&6
22956 else
22957
22958
22959 ac_ext=cpp
22960 ac_cpp='$CXXCPP $CPPFLAGS'
22961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22964
22965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
22966 /* end confdefs.h. */
22967 #include <math.h>
22968 #ifdef HAVE_IEEEFP_H
22969 #include <ieeefp.h>
22970 #endif
22971
22972 int
22973 main ()
22974 {
22975 _qfpclass(0);
22976 ;
22977 return 0;
22978 }
22979 _ACEOF
22980 if ac_fn_cxx_try_compile "$LINENO"; then :
22981 glibcxx_cv_func__qfpclass_use=yes
22982 else
22983 glibcxx_cv_func__qfpclass_use=no
22984 fi
22985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22986 ac_ext=c
22987 ac_cpp='$CPP $CPPFLAGS'
22988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22991
22992
22993 fi
22994
22995 fi
22996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
22997 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
22998
22999 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
23000 for ac_func in _qfpclass
23001 do :
23002 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
23003 if test "x$ac_cv_func__qfpclass" = xyes; then :
23004 cat >>confdefs.h <<_ACEOF
23005 #define HAVE__QFPCLASS 1
23006 _ACEOF
23007
23008 fi
23009 done
23010
23011 fi
23012 fi
23013
23014
23015
23016
23017
23018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
23019 $as_echo_n "checking for hypot declaration... " >&6; }
23020 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
23021 if ${glibcxx_cv_func_hypot_use+:} false; then :
23022 $as_echo_n "(cached) " >&6
23023 else
23024
23025
23026 ac_ext=cpp
23027 ac_cpp='$CXXCPP $CPPFLAGS'
23028 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23029 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23030 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23031
23032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23033 /* end confdefs.h. */
23034 #include <math.h>
23035 int
23036 main ()
23037 {
23038 hypot(0, 0);
23039 ;
23040 return 0;
23041 }
23042 _ACEOF
23043 if ac_fn_cxx_try_compile "$LINENO"; then :
23044 glibcxx_cv_func_hypot_use=yes
23045 else
23046 glibcxx_cv_func_hypot_use=no
23047 fi
23048 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23049 ac_ext=c
23050 ac_cpp='$CPP $CPPFLAGS'
23051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23054
23055
23056 fi
23057
23058 fi
23059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
23060 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
23061
23062 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
23063 for ac_func in hypot
23064 do :
23065 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
23066 if test "x$ac_cv_func_hypot" = xyes; then :
23067 cat >>confdefs.h <<_ACEOF
23068 #define HAVE_HYPOT 1
23069 _ACEOF
23070
23071 fi
23072 done
23073
23074 else
23075
23076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
23077 $as_echo_n "checking for _hypot declaration... " >&6; }
23078 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
23079 if ${glibcxx_cv_func__hypot_use+:} false; then :
23080 $as_echo_n "(cached) " >&6
23081 else
23082
23083
23084 ac_ext=cpp
23085 ac_cpp='$CXXCPP $CPPFLAGS'
23086 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23087 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23088 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23089
23090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23091 /* end confdefs.h. */
23092 #include <math.h>
23093 int
23094 main ()
23095 {
23096 _hypot(0, 0);
23097 ;
23098 return 0;
23099 }
23100 _ACEOF
23101 if ac_fn_cxx_try_compile "$LINENO"; then :
23102 glibcxx_cv_func__hypot_use=yes
23103 else
23104 glibcxx_cv_func__hypot_use=no
23105 fi
23106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23107 ac_ext=c
23108 ac_cpp='$CPP $CPPFLAGS'
23109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23112
23113
23114 fi
23115
23116 fi
23117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
23118 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
23119
23120 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
23121 for ac_func in _hypot
23122 do :
23123 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
23124 if test "x$ac_cv_func__hypot" = xyes; then :
23125 cat >>confdefs.h <<_ACEOF
23126 #define HAVE__HYPOT 1
23127 _ACEOF
23128
23129 fi
23130 done
23131
23132 fi
23133 fi
23134
23135
23136
23137
23138
23139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
23140 $as_echo_n "checking for float trig functions... " >&6; }
23141 if ${glibcxx_cv_func_float_trig_use+:} false; then :
23142 $as_echo_n "(cached) " >&6
23143 else
23144
23145
23146 ac_ext=cpp
23147 ac_cpp='$CXXCPP $CPPFLAGS'
23148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23151
23152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23153 /* end confdefs.h. */
23154 #include <math.h>
23155 int
23156 main ()
23157 {
23158 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
23159 ;
23160 return 0;
23161 }
23162 _ACEOF
23163 if ac_fn_cxx_try_compile "$LINENO"; then :
23164 glibcxx_cv_func_float_trig_use=yes
23165 else
23166 glibcxx_cv_func_float_trig_use=no
23167 fi
23168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23169 ac_ext=c
23170 ac_cpp='$CPP $CPPFLAGS'
23171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23174
23175 fi
23176
23177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
23178 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
23179 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
23180 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
23181 do :
23182 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23183 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23184 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23185 cat >>confdefs.h <<_ACEOF
23186 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23187 _ACEOF
23188
23189 fi
23190 done
23191
23192 else
23193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
23194 $as_echo_n "checking for _float trig functions... " >&6; }
23195 if ${glibcxx_cv_func__float_trig_use+:} false; then :
23196 $as_echo_n "(cached) " >&6
23197 else
23198
23199
23200 ac_ext=cpp
23201 ac_cpp='$CXXCPP $CPPFLAGS'
23202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23205
23206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23207 /* end confdefs.h. */
23208 #include <math.h>
23209 int
23210 main ()
23211 {
23212 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
23213 ;
23214 return 0;
23215 }
23216 _ACEOF
23217 if ac_fn_cxx_try_compile "$LINENO"; then :
23218 glibcxx_cv_func__float_trig_use=yes
23219 else
23220 glibcxx_cv_func__float_trig_use=no
23221 fi
23222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23223 ac_ext=c
23224 ac_cpp='$CPP $CPPFLAGS'
23225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23228
23229 fi
23230
23231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
23232 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
23233 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
23234 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
23235 do :
23236 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23237 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23238 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23239 cat >>confdefs.h <<_ACEOF
23240 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23241 _ACEOF
23242
23243 fi
23244 done
23245
23246 fi
23247 fi
23248
23249
23250
23251
23252
23253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
23254 $as_echo_n "checking for float round functions... " >&6; }
23255 if ${glibcxx_cv_func_float_round_use+:} false; then :
23256 $as_echo_n "(cached) " >&6
23257 else
23258
23259
23260 ac_ext=cpp
23261 ac_cpp='$CXXCPP $CPPFLAGS'
23262 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23263 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23264 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23265
23266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23267 /* end confdefs.h. */
23268 #include <math.h>
23269 int
23270 main ()
23271 {
23272 ceilf (0); floorf (0);
23273 ;
23274 return 0;
23275 }
23276 _ACEOF
23277 if ac_fn_cxx_try_compile "$LINENO"; then :
23278 glibcxx_cv_func_float_round_use=yes
23279 else
23280 glibcxx_cv_func_float_round_use=no
23281 fi
23282 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23283 ac_ext=c
23284 ac_cpp='$CPP $CPPFLAGS'
23285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23288
23289 fi
23290
23291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
23292 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
23293 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
23294 for ac_func in ceilf floorf
23295 do :
23296 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23297 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23298 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23299 cat >>confdefs.h <<_ACEOF
23300 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23301 _ACEOF
23302
23303 fi
23304 done
23305
23306 else
23307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
23308 $as_echo_n "checking for _float round functions... " >&6; }
23309 if ${glibcxx_cv_func__float_round_use+:} false; then :
23310 $as_echo_n "(cached) " >&6
23311 else
23312
23313
23314 ac_ext=cpp
23315 ac_cpp='$CXXCPP $CPPFLAGS'
23316 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23317 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23318 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23319
23320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23321 /* end confdefs.h. */
23322 #include <math.h>
23323 int
23324 main ()
23325 {
23326 _ceilf (0); _floorf (0);
23327 ;
23328 return 0;
23329 }
23330 _ACEOF
23331 if ac_fn_cxx_try_compile "$LINENO"; then :
23332 glibcxx_cv_func__float_round_use=yes
23333 else
23334 glibcxx_cv_func__float_round_use=no
23335 fi
23336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23337 ac_ext=c
23338 ac_cpp='$CPP $CPPFLAGS'
23339 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23340 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23341 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23342
23343 fi
23344
23345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
23346 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
23347 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
23348 for ac_func in _ceilf _floorf
23349 do :
23350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
23351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
23352 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
23353 cat >>confdefs.h <<_ACEOF
23354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
23355 _ACEOF
23356
23357 fi
23358 done
23359
23360 fi
23361 fi
23362
23363
23364
23365
23366
23367
23368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
23369 $as_echo_n "checking for expf declaration... " >&6; }
23370 if test x${glibcxx_cv_func_expf_use+set} != xset; then
23371 if ${glibcxx_cv_func_expf_use+:} false; then :
23372 $as_echo_n "(cached) " >&6
23373 else
23374
23375
23376 ac_ext=cpp
23377 ac_cpp='$CXXCPP $CPPFLAGS'
23378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23381
23382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23383 /* end confdefs.h. */
23384 #include <math.h>
23385 #ifdef HAVE_IEEEFP_H
23386 #include <ieeefp.h>
23387 #endif
23388
23389 int
23390 main ()
23391 {
23392 expf(0);
23393 ;
23394 return 0;
23395 }
23396 _ACEOF
23397 if ac_fn_cxx_try_compile "$LINENO"; then :
23398 glibcxx_cv_func_expf_use=yes
23399 else
23400 glibcxx_cv_func_expf_use=no
23401 fi
23402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23403 ac_ext=c
23404 ac_cpp='$CPP $CPPFLAGS'
23405 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23406 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23407 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23408
23409
23410 fi
23411
23412 fi
23413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
23414 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
23415
23416 if test x$glibcxx_cv_func_expf_use = x"yes"; then
23417 for ac_func in expf
23418 do :
23419 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
23420 if test "x$ac_cv_func_expf" = xyes; then :
23421 cat >>confdefs.h <<_ACEOF
23422 #define HAVE_EXPF 1
23423 _ACEOF
23424
23425 fi
23426 done
23427
23428 else
23429
23430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
23431 $as_echo_n "checking for _expf declaration... " >&6; }
23432 if test x${glibcxx_cv_func__expf_use+set} != xset; then
23433 if ${glibcxx_cv_func__expf_use+:} false; then :
23434 $as_echo_n "(cached) " >&6
23435 else
23436
23437
23438 ac_ext=cpp
23439 ac_cpp='$CXXCPP $CPPFLAGS'
23440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23443
23444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23445 /* end confdefs.h. */
23446 #include <math.h>
23447 #ifdef HAVE_IEEEFP_H
23448 #include <ieeefp.h>
23449 #endif
23450
23451 int
23452 main ()
23453 {
23454 _expf(0);
23455 ;
23456 return 0;
23457 }
23458 _ACEOF
23459 if ac_fn_cxx_try_compile "$LINENO"; then :
23460 glibcxx_cv_func__expf_use=yes
23461 else
23462 glibcxx_cv_func__expf_use=no
23463 fi
23464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23465 ac_ext=c
23466 ac_cpp='$CPP $CPPFLAGS'
23467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23470
23471
23472 fi
23473
23474 fi
23475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
23476 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
23477
23478 if test x$glibcxx_cv_func__expf_use = x"yes"; then
23479 for ac_func in _expf
23480 do :
23481 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
23482 if test "x$ac_cv_func__expf" = xyes; then :
23483 cat >>confdefs.h <<_ACEOF
23484 #define HAVE__EXPF 1
23485 _ACEOF
23486
23487 fi
23488 done
23489
23490 fi
23491 fi
23492
23493
23494
23495
23496
23497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
23498 $as_echo_n "checking for isnanf declaration... " >&6; }
23499 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
23500 if ${glibcxx_cv_func_isnanf_use+:} false; then :
23501 $as_echo_n "(cached) " >&6
23502 else
23503
23504
23505 ac_ext=cpp
23506 ac_cpp='$CXXCPP $CPPFLAGS'
23507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23510
23511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23512 /* end confdefs.h. */
23513 #include <math.h>
23514 #ifdef HAVE_IEEEFP_H
23515 #include <ieeefp.h>
23516 #endif
23517
23518 int
23519 main ()
23520 {
23521 isnanf(0);
23522 ;
23523 return 0;
23524 }
23525 _ACEOF
23526 if ac_fn_cxx_try_compile "$LINENO"; then :
23527 glibcxx_cv_func_isnanf_use=yes
23528 else
23529 glibcxx_cv_func_isnanf_use=no
23530 fi
23531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23532 ac_ext=c
23533 ac_cpp='$CPP $CPPFLAGS'
23534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23537
23538
23539 fi
23540
23541 fi
23542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
23543 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
23544
23545 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
23546 for ac_func in isnanf
23547 do :
23548 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
23549 if test "x$ac_cv_func_isnanf" = xyes; then :
23550 cat >>confdefs.h <<_ACEOF
23551 #define HAVE_ISNANF 1
23552 _ACEOF
23553
23554 fi
23555 done
23556
23557 else
23558
23559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
23560 $as_echo_n "checking for _isnanf declaration... " >&6; }
23561 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
23562 if ${glibcxx_cv_func__isnanf_use+:} false; then :
23563 $as_echo_n "(cached) " >&6
23564 else
23565
23566
23567 ac_ext=cpp
23568 ac_cpp='$CXXCPP $CPPFLAGS'
23569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23572
23573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23574 /* end confdefs.h. */
23575 #include <math.h>
23576 #ifdef HAVE_IEEEFP_H
23577 #include <ieeefp.h>
23578 #endif
23579
23580 int
23581 main ()
23582 {
23583 _isnanf(0);
23584 ;
23585 return 0;
23586 }
23587 _ACEOF
23588 if ac_fn_cxx_try_compile "$LINENO"; then :
23589 glibcxx_cv_func__isnanf_use=yes
23590 else
23591 glibcxx_cv_func__isnanf_use=no
23592 fi
23593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23594 ac_ext=c
23595 ac_cpp='$CPP $CPPFLAGS'
23596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23599
23600
23601 fi
23602
23603 fi
23604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
23605 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
23606
23607 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
23608 for ac_func in _isnanf
23609 do :
23610 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
23611 if test "x$ac_cv_func__isnanf" = xyes; then :
23612 cat >>confdefs.h <<_ACEOF
23613 #define HAVE__ISNANF 1
23614 _ACEOF
23615
23616 fi
23617 done
23618
23619 fi
23620 fi
23621
23622
23623
23624
23625
23626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
23627 $as_echo_n "checking for isinff declaration... " >&6; }
23628 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
23629 if ${glibcxx_cv_func_isinff_use+:} false; then :
23630 $as_echo_n "(cached) " >&6
23631 else
23632
23633
23634 ac_ext=cpp
23635 ac_cpp='$CXXCPP $CPPFLAGS'
23636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23639
23640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23641 /* end confdefs.h. */
23642 #include <math.h>
23643 #ifdef HAVE_IEEEFP_H
23644 #include <ieeefp.h>
23645 #endif
23646
23647 int
23648 main ()
23649 {
23650 isinff(0);
23651 ;
23652 return 0;
23653 }
23654 _ACEOF
23655 if ac_fn_cxx_try_compile "$LINENO"; then :
23656 glibcxx_cv_func_isinff_use=yes
23657 else
23658 glibcxx_cv_func_isinff_use=no
23659 fi
23660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23661 ac_ext=c
23662 ac_cpp='$CPP $CPPFLAGS'
23663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23666
23667
23668 fi
23669
23670 fi
23671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
23672 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
23673
23674 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
23675 for ac_func in isinff
23676 do :
23677 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
23678 if test "x$ac_cv_func_isinff" = xyes; then :
23679 cat >>confdefs.h <<_ACEOF
23680 #define HAVE_ISINFF 1
23681 _ACEOF
23682
23683 fi
23684 done
23685
23686 else
23687
23688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
23689 $as_echo_n "checking for _isinff declaration... " >&6; }
23690 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
23691 if ${glibcxx_cv_func__isinff_use+:} false; then :
23692 $as_echo_n "(cached) " >&6
23693 else
23694
23695
23696 ac_ext=cpp
23697 ac_cpp='$CXXCPP $CPPFLAGS'
23698 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23699 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23700 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23701
23702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23703 /* end confdefs.h. */
23704 #include <math.h>
23705 #ifdef HAVE_IEEEFP_H
23706 #include <ieeefp.h>
23707 #endif
23708
23709 int
23710 main ()
23711 {
23712 _isinff(0);
23713 ;
23714 return 0;
23715 }
23716 _ACEOF
23717 if ac_fn_cxx_try_compile "$LINENO"; then :
23718 glibcxx_cv_func__isinff_use=yes
23719 else
23720 glibcxx_cv_func__isinff_use=no
23721 fi
23722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23723 ac_ext=c
23724 ac_cpp='$CPP $CPPFLAGS'
23725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23728
23729
23730 fi
23731
23732 fi
23733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
23734 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
23735
23736 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
23737 for ac_func in _isinff
23738 do :
23739 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
23740 if test "x$ac_cv_func__isinff" = xyes; then :
23741 cat >>confdefs.h <<_ACEOF
23742 #define HAVE__ISINFF 1
23743 _ACEOF
23744
23745 fi
23746 done
23747
23748 fi
23749 fi
23750
23751
23752
23753
23754
23755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
23756 $as_echo_n "checking for atan2f declaration... " >&6; }
23757 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
23758 if ${glibcxx_cv_func_atan2f_use+:} false; then :
23759 $as_echo_n "(cached) " >&6
23760 else
23761
23762
23763 ac_ext=cpp
23764 ac_cpp='$CXXCPP $CPPFLAGS'
23765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23768
23769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23770 /* end confdefs.h. */
23771 #include <math.h>
23772 int
23773 main ()
23774 {
23775 atan2f(0, 0);
23776 ;
23777 return 0;
23778 }
23779 _ACEOF
23780 if ac_fn_cxx_try_compile "$LINENO"; then :
23781 glibcxx_cv_func_atan2f_use=yes
23782 else
23783 glibcxx_cv_func_atan2f_use=no
23784 fi
23785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23786 ac_ext=c
23787 ac_cpp='$CPP $CPPFLAGS'
23788 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23789 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23790 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23791
23792
23793 fi
23794
23795 fi
23796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
23797 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
23798
23799 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
23800 for ac_func in atan2f
23801 do :
23802 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
23803 if test "x$ac_cv_func_atan2f" = xyes; then :
23804 cat >>confdefs.h <<_ACEOF
23805 #define HAVE_ATAN2F 1
23806 _ACEOF
23807
23808 fi
23809 done
23810
23811 else
23812
23813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
23814 $as_echo_n "checking for _atan2f declaration... " >&6; }
23815 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
23816 if ${glibcxx_cv_func__atan2f_use+:} false; then :
23817 $as_echo_n "(cached) " >&6
23818 else
23819
23820
23821 ac_ext=cpp
23822 ac_cpp='$CXXCPP $CPPFLAGS'
23823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23826
23827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23828 /* end confdefs.h. */
23829 #include <math.h>
23830 int
23831 main ()
23832 {
23833 _atan2f(0, 0);
23834 ;
23835 return 0;
23836 }
23837 _ACEOF
23838 if ac_fn_cxx_try_compile "$LINENO"; then :
23839 glibcxx_cv_func__atan2f_use=yes
23840 else
23841 glibcxx_cv_func__atan2f_use=no
23842 fi
23843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23844 ac_ext=c
23845 ac_cpp='$CPP $CPPFLAGS'
23846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23849
23850
23851 fi
23852
23853 fi
23854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
23855 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
23856
23857 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
23858 for ac_func in _atan2f
23859 do :
23860 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
23861 if test "x$ac_cv_func__atan2f" = xyes; then :
23862 cat >>confdefs.h <<_ACEOF
23863 #define HAVE__ATAN2F 1
23864 _ACEOF
23865
23866 fi
23867 done
23868
23869 fi
23870 fi
23871
23872
23873
23874
23875
23876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
23877 $as_echo_n "checking for fabsf declaration... " >&6; }
23878 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
23879 if ${glibcxx_cv_func_fabsf_use+:} false; then :
23880 $as_echo_n "(cached) " >&6
23881 else
23882
23883
23884 ac_ext=cpp
23885 ac_cpp='$CXXCPP $CPPFLAGS'
23886 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23887 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23888 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23889
23890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23891 /* end confdefs.h. */
23892 #include <math.h>
23893 #ifdef HAVE_IEEEFP_H
23894 #include <ieeefp.h>
23895 #endif
23896
23897 int
23898 main ()
23899 {
23900 fabsf(0);
23901 ;
23902 return 0;
23903 }
23904 _ACEOF
23905 if ac_fn_cxx_try_compile "$LINENO"; then :
23906 glibcxx_cv_func_fabsf_use=yes
23907 else
23908 glibcxx_cv_func_fabsf_use=no
23909 fi
23910 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23911 ac_ext=c
23912 ac_cpp='$CPP $CPPFLAGS'
23913 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23914 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23915 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23916
23917
23918 fi
23919
23920 fi
23921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
23922 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
23923
23924 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
23925 for ac_func in fabsf
23926 do :
23927 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
23928 if test "x$ac_cv_func_fabsf" = xyes; then :
23929 cat >>confdefs.h <<_ACEOF
23930 #define HAVE_FABSF 1
23931 _ACEOF
23932
23933 fi
23934 done
23935
23936 else
23937
23938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
23939 $as_echo_n "checking for _fabsf declaration... " >&6; }
23940 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
23941 if ${glibcxx_cv_func__fabsf_use+:} false; then :
23942 $as_echo_n "(cached) " >&6
23943 else
23944
23945
23946 ac_ext=cpp
23947 ac_cpp='$CXXCPP $CPPFLAGS'
23948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23951
23952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
23953 /* end confdefs.h. */
23954 #include <math.h>
23955 #ifdef HAVE_IEEEFP_H
23956 #include <ieeefp.h>
23957 #endif
23958
23959 int
23960 main ()
23961 {
23962 _fabsf(0);
23963 ;
23964 return 0;
23965 }
23966 _ACEOF
23967 if ac_fn_cxx_try_compile "$LINENO"; then :
23968 glibcxx_cv_func__fabsf_use=yes
23969 else
23970 glibcxx_cv_func__fabsf_use=no
23971 fi
23972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23973 ac_ext=c
23974 ac_cpp='$CPP $CPPFLAGS'
23975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23978
23979
23980 fi
23981
23982 fi
23983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
23984 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
23985
23986 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
23987 for ac_func in _fabsf
23988 do :
23989 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
23990 if test "x$ac_cv_func__fabsf" = xyes; then :
23991 cat >>confdefs.h <<_ACEOF
23992 #define HAVE__FABSF 1
23993 _ACEOF
23994
23995 fi
23996 done
23997
23998 fi
23999 fi
24000
24001
24002
24003
24004
24005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
24006 $as_echo_n "checking for fmodf declaration... " >&6; }
24007 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
24008 if ${glibcxx_cv_func_fmodf_use+:} false; then :
24009 $as_echo_n "(cached) " >&6
24010 else
24011
24012
24013 ac_ext=cpp
24014 ac_cpp='$CXXCPP $CPPFLAGS'
24015 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24016 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24017 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24018
24019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24020 /* end confdefs.h. */
24021 #include <math.h>
24022 int
24023 main ()
24024 {
24025 fmodf(0, 0);
24026 ;
24027 return 0;
24028 }
24029 _ACEOF
24030 if ac_fn_cxx_try_compile "$LINENO"; then :
24031 glibcxx_cv_func_fmodf_use=yes
24032 else
24033 glibcxx_cv_func_fmodf_use=no
24034 fi
24035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24036 ac_ext=c
24037 ac_cpp='$CPP $CPPFLAGS'
24038 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24039 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24040 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24041
24042
24043 fi
24044
24045 fi
24046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
24047 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
24048
24049 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
24050 for ac_func in fmodf
24051 do :
24052 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
24053 if test "x$ac_cv_func_fmodf" = xyes; then :
24054 cat >>confdefs.h <<_ACEOF
24055 #define HAVE_FMODF 1
24056 _ACEOF
24057
24058 fi
24059 done
24060
24061 else
24062
24063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
24064 $as_echo_n "checking for _fmodf declaration... " >&6; }
24065 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
24066 if ${glibcxx_cv_func__fmodf_use+:} false; then :
24067 $as_echo_n "(cached) " >&6
24068 else
24069
24070
24071 ac_ext=cpp
24072 ac_cpp='$CXXCPP $CPPFLAGS'
24073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24076
24077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24078 /* end confdefs.h. */
24079 #include <math.h>
24080 int
24081 main ()
24082 {
24083 _fmodf(0, 0);
24084 ;
24085 return 0;
24086 }
24087 _ACEOF
24088 if ac_fn_cxx_try_compile "$LINENO"; then :
24089 glibcxx_cv_func__fmodf_use=yes
24090 else
24091 glibcxx_cv_func__fmodf_use=no
24092 fi
24093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24094 ac_ext=c
24095 ac_cpp='$CPP $CPPFLAGS'
24096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24099
24100
24101 fi
24102
24103 fi
24104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
24105 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
24106
24107 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
24108 for ac_func in _fmodf
24109 do :
24110 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
24111 if test "x$ac_cv_func__fmodf" = xyes; then :
24112 cat >>confdefs.h <<_ACEOF
24113 #define HAVE__FMODF 1
24114 _ACEOF
24115
24116 fi
24117 done
24118
24119 fi
24120 fi
24121
24122
24123
24124
24125
24126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
24127 $as_echo_n "checking for frexpf declaration... " >&6; }
24128 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
24129 if ${glibcxx_cv_func_frexpf_use+:} false; then :
24130 $as_echo_n "(cached) " >&6
24131 else
24132
24133
24134 ac_ext=cpp
24135 ac_cpp='$CXXCPP $CPPFLAGS'
24136 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24137 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24138 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24139
24140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24141 /* end confdefs.h. */
24142 #include <math.h>
24143 int
24144 main ()
24145 {
24146 frexpf(0, 0);
24147 ;
24148 return 0;
24149 }
24150 _ACEOF
24151 if ac_fn_cxx_try_compile "$LINENO"; then :
24152 glibcxx_cv_func_frexpf_use=yes
24153 else
24154 glibcxx_cv_func_frexpf_use=no
24155 fi
24156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24157 ac_ext=c
24158 ac_cpp='$CPP $CPPFLAGS'
24159 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24160 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24161 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24162
24163
24164 fi
24165
24166 fi
24167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
24168 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
24169
24170 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
24171 for ac_func in frexpf
24172 do :
24173 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
24174 if test "x$ac_cv_func_frexpf" = xyes; then :
24175 cat >>confdefs.h <<_ACEOF
24176 #define HAVE_FREXPF 1
24177 _ACEOF
24178
24179 fi
24180 done
24181
24182 else
24183
24184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
24185 $as_echo_n "checking for _frexpf declaration... " >&6; }
24186 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
24187 if ${glibcxx_cv_func__frexpf_use+:} false; then :
24188 $as_echo_n "(cached) " >&6
24189 else
24190
24191
24192 ac_ext=cpp
24193 ac_cpp='$CXXCPP $CPPFLAGS'
24194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24197
24198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24199 /* end confdefs.h. */
24200 #include <math.h>
24201 int
24202 main ()
24203 {
24204 _frexpf(0, 0);
24205 ;
24206 return 0;
24207 }
24208 _ACEOF
24209 if ac_fn_cxx_try_compile "$LINENO"; then :
24210 glibcxx_cv_func__frexpf_use=yes
24211 else
24212 glibcxx_cv_func__frexpf_use=no
24213 fi
24214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24215 ac_ext=c
24216 ac_cpp='$CPP $CPPFLAGS'
24217 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24218 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24219 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24220
24221
24222 fi
24223
24224 fi
24225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
24226 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
24227
24228 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
24229 for ac_func in _frexpf
24230 do :
24231 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
24232 if test "x$ac_cv_func__frexpf" = xyes; then :
24233 cat >>confdefs.h <<_ACEOF
24234 #define HAVE__FREXPF 1
24235 _ACEOF
24236
24237 fi
24238 done
24239
24240 fi
24241 fi
24242
24243
24244
24245
24246
24247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
24248 $as_echo_n "checking for hypotf declaration... " >&6; }
24249 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
24250 if ${glibcxx_cv_func_hypotf_use+:} false; then :
24251 $as_echo_n "(cached) " >&6
24252 else
24253
24254
24255 ac_ext=cpp
24256 ac_cpp='$CXXCPP $CPPFLAGS'
24257 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24258 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24259 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24260
24261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24262 /* end confdefs.h. */
24263 #include <math.h>
24264 int
24265 main ()
24266 {
24267 hypotf(0, 0);
24268 ;
24269 return 0;
24270 }
24271 _ACEOF
24272 if ac_fn_cxx_try_compile "$LINENO"; then :
24273 glibcxx_cv_func_hypotf_use=yes
24274 else
24275 glibcxx_cv_func_hypotf_use=no
24276 fi
24277 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24278 ac_ext=c
24279 ac_cpp='$CPP $CPPFLAGS'
24280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24283
24284
24285 fi
24286
24287 fi
24288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
24289 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
24290
24291 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
24292 for ac_func in hypotf
24293 do :
24294 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
24295 if test "x$ac_cv_func_hypotf" = xyes; then :
24296 cat >>confdefs.h <<_ACEOF
24297 #define HAVE_HYPOTF 1
24298 _ACEOF
24299
24300 fi
24301 done
24302
24303 else
24304
24305 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
24306 $as_echo_n "checking for _hypotf declaration... " >&6; }
24307 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
24308 if ${glibcxx_cv_func__hypotf_use+:} false; then :
24309 $as_echo_n "(cached) " >&6
24310 else
24311
24312
24313 ac_ext=cpp
24314 ac_cpp='$CXXCPP $CPPFLAGS'
24315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24318
24319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24320 /* end confdefs.h. */
24321 #include <math.h>
24322 int
24323 main ()
24324 {
24325 _hypotf(0, 0);
24326 ;
24327 return 0;
24328 }
24329 _ACEOF
24330 if ac_fn_cxx_try_compile "$LINENO"; then :
24331 glibcxx_cv_func__hypotf_use=yes
24332 else
24333 glibcxx_cv_func__hypotf_use=no
24334 fi
24335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24336 ac_ext=c
24337 ac_cpp='$CPP $CPPFLAGS'
24338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24341
24342
24343 fi
24344
24345 fi
24346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
24347 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
24348
24349 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
24350 for ac_func in _hypotf
24351 do :
24352 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
24353 if test "x$ac_cv_func__hypotf" = xyes; then :
24354 cat >>confdefs.h <<_ACEOF
24355 #define HAVE__HYPOTF 1
24356 _ACEOF
24357
24358 fi
24359 done
24360
24361 fi
24362 fi
24363
24364
24365
24366
24367
24368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
24369 $as_echo_n "checking for ldexpf declaration... " >&6; }
24370 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
24371 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
24372 $as_echo_n "(cached) " >&6
24373 else
24374
24375
24376 ac_ext=cpp
24377 ac_cpp='$CXXCPP $CPPFLAGS'
24378 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24379 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24380 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24381
24382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24383 /* end confdefs.h. */
24384 #include <math.h>
24385 int
24386 main ()
24387 {
24388 ldexpf(0, 0);
24389 ;
24390 return 0;
24391 }
24392 _ACEOF
24393 if ac_fn_cxx_try_compile "$LINENO"; then :
24394 glibcxx_cv_func_ldexpf_use=yes
24395 else
24396 glibcxx_cv_func_ldexpf_use=no
24397 fi
24398 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24399 ac_ext=c
24400 ac_cpp='$CPP $CPPFLAGS'
24401 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24402 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24403 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24404
24405
24406 fi
24407
24408 fi
24409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
24410 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
24411
24412 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
24413 for ac_func in ldexpf
24414 do :
24415 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
24416 if test "x$ac_cv_func_ldexpf" = xyes; then :
24417 cat >>confdefs.h <<_ACEOF
24418 #define HAVE_LDEXPF 1
24419 _ACEOF
24420
24421 fi
24422 done
24423
24424 else
24425
24426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
24427 $as_echo_n "checking for _ldexpf declaration... " >&6; }
24428 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
24429 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
24430 $as_echo_n "(cached) " >&6
24431 else
24432
24433
24434 ac_ext=cpp
24435 ac_cpp='$CXXCPP $CPPFLAGS'
24436 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24437 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24438 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24439
24440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24441 /* end confdefs.h. */
24442 #include <math.h>
24443 int
24444 main ()
24445 {
24446 _ldexpf(0, 0);
24447 ;
24448 return 0;
24449 }
24450 _ACEOF
24451 if ac_fn_cxx_try_compile "$LINENO"; then :
24452 glibcxx_cv_func__ldexpf_use=yes
24453 else
24454 glibcxx_cv_func__ldexpf_use=no
24455 fi
24456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24457 ac_ext=c
24458 ac_cpp='$CPP $CPPFLAGS'
24459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24462
24463
24464 fi
24465
24466 fi
24467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
24468 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
24469
24470 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
24471 for ac_func in _ldexpf
24472 do :
24473 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
24474 if test "x$ac_cv_func__ldexpf" = xyes; then :
24475 cat >>confdefs.h <<_ACEOF
24476 #define HAVE__LDEXPF 1
24477 _ACEOF
24478
24479 fi
24480 done
24481
24482 fi
24483 fi
24484
24485
24486
24487
24488
24489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
24490 $as_echo_n "checking for logf declaration... " >&6; }
24491 if test x${glibcxx_cv_func_logf_use+set} != xset; then
24492 if ${glibcxx_cv_func_logf_use+:} false; then :
24493 $as_echo_n "(cached) " >&6
24494 else
24495
24496
24497 ac_ext=cpp
24498 ac_cpp='$CXXCPP $CPPFLAGS'
24499 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24500 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24501 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24502
24503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24504 /* end confdefs.h. */
24505 #include <math.h>
24506 #ifdef HAVE_IEEEFP_H
24507 #include <ieeefp.h>
24508 #endif
24509
24510 int
24511 main ()
24512 {
24513 logf(0);
24514 ;
24515 return 0;
24516 }
24517 _ACEOF
24518 if ac_fn_cxx_try_compile "$LINENO"; then :
24519 glibcxx_cv_func_logf_use=yes
24520 else
24521 glibcxx_cv_func_logf_use=no
24522 fi
24523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24524 ac_ext=c
24525 ac_cpp='$CPP $CPPFLAGS'
24526 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24527 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24528 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24529
24530
24531 fi
24532
24533 fi
24534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
24535 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
24536
24537 if test x$glibcxx_cv_func_logf_use = x"yes"; then
24538 for ac_func in logf
24539 do :
24540 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
24541 if test "x$ac_cv_func_logf" = xyes; then :
24542 cat >>confdefs.h <<_ACEOF
24543 #define HAVE_LOGF 1
24544 _ACEOF
24545
24546 fi
24547 done
24548
24549 else
24550
24551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
24552 $as_echo_n "checking for _logf declaration... " >&6; }
24553 if test x${glibcxx_cv_func__logf_use+set} != xset; then
24554 if ${glibcxx_cv_func__logf_use+:} false; then :
24555 $as_echo_n "(cached) " >&6
24556 else
24557
24558
24559 ac_ext=cpp
24560 ac_cpp='$CXXCPP $CPPFLAGS'
24561 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24562 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24563 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24564
24565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24566 /* end confdefs.h. */
24567 #include <math.h>
24568 #ifdef HAVE_IEEEFP_H
24569 #include <ieeefp.h>
24570 #endif
24571
24572 int
24573 main ()
24574 {
24575 _logf(0);
24576 ;
24577 return 0;
24578 }
24579 _ACEOF
24580 if ac_fn_cxx_try_compile "$LINENO"; then :
24581 glibcxx_cv_func__logf_use=yes
24582 else
24583 glibcxx_cv_func__logf_use=no
24584 fi
24585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24586 ac_ext=c
24587 ac_cpp='$CPP $CPPFLAGS'
24588 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24589 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24590 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24591
24592
24593 fi
24594
24595 fi
24596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
24597 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
24598
24599 if test x$glibcxx_cv_func__logf_use = x"yes"; then
24600 for ac_func in _logf
24601 do :
24602 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
24603 if test "x$ac_cv_func__logf" = xyes; then :
24604 cat >>confdefs.h <<_ACEOF
24605 #define HAVE__LOGF 1
24606 _ACEOF
24607
24608 fi
24609 done
24610
24611 fi
24612 fi
24613
24614
24615
24616
24617
24618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
24619 $as_echo_n "checking for log10f declaration... " >&6; }
24620 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
24621 if ${glibcxx_cv_func_log10f_use+:} false; then :
24622 $as_echo_n "(cached) " >&6
24623 else
24624
24625
24626 ac_ext=cpp
24627 ac_cpp='$CXXCPP $CPPFLAGS'
24628 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24629 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24630 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24631
24632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24633 /* end confdefs.h. */
24634 #include <math.h>
24635 #ifdef HAVE_IEEEFP_H
24636 #include <ieeefp.h>
24637 #endif
24638
24639 int
24640 main ()
24641 {
24642 log10f(0);
24643 ;
24644 return 0;
24645 }
24646 _ACEOF
24647 if ac_fn_cxx_try_compile "$LINENO"; then :
24648 glibcxx_cv_func_log10f_use=yes
24649 else
24650 glibcxx_cv_func_log10f_use=no
24651 fi
24652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24653 ac_ext=c
24654 ac_cpp='$CPP $CPPFLAGS'
24655 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24656 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24657 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24658
24659
24660 fi
24661
24662 fi
24663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
24664 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
24665
24666 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
24667 for ac_func in log10f
24668 do :
24669 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
24670 if test "x$ac_cv_func_log10f" = xyes; then :
24671 cat >>confdefs.h <<_ACEOF
24672 #define HAVE_LOG10F 1
24673 _ACEOF
24674
24675 fi
24676 done
24677
24678 else
24679
24680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
24681 $as_echo_n "checking for _log10f declaration... " >&6; }
24682 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
24683 if ${glibcxx_cv_func__log10f_use+:} false; then :
24684 $as_echo_n "(cached) " >&6
24685 else
24686
24687
24688 ac_ext=cpp
24689 ac_cpp='$CXXCPP $CPPFLAGS'
24690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24693
24694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24695 /* end confdefs.h. */
24696 #include <math.h>
24697 #ifdef HAVE_IEEEFP_H
24698 #include <ieeefp.h>
24699 #endif
24700
24701 int
24702 main ()
24703 {
24704 _log10f(0);
24705 ;
24706 return 0;
24707 }
24708 _ACEOF
24709 if ac_fn_cxx_try_compile "$LINENO"; then :
24710 glibcxx_cv_func__log10f_use=yes
24711 else
24712 glibcxx_cv_func__log10f_use=no
24713 fi
24714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24715 ac_ext=c
24716 ac_cpp='$CPP $CPPFLAGS'
24717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24720
24721
24722 fi
24723
24724 fi
24725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
24726 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
24727
24728 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
24729 for ac_func in _log10f
24730 do :
24731 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
24732 if test "x$ac_cv_func__log10f" = xyes; then :
24733 cat >>confdefs.h <<_ACEOF
24734 #define HAVE__LOG10F 1
24735 _ACEOF
24736
24737 fi
24738 done
24739
24740 fi
24741 fi
24742
24743
24744
24745
24746
24747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
24748 $as_echo_n "checking for modff declaration... " >&6; }
24749 if test x${glibcxx_cv_func_modff_use+set} != xset; then
24750 if ${glibcxx_cv_func_modff_use+:} false; then :
24751 $as_echo_n "(cached) " >&6
24752 else
24753
24754
24755 ac_ext=cpp
24756 ac_cpp='$CXXCPP $CPPFLAGS'
24757 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24758 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24759 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24760
24761 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24762 /* end confdefs.h. */
24763 #include <math.h>
24764 int
24765 main ()
24766 {
24767 modff(0, 0);
24768 ;
24769 return 0;
24770 }
24771 _ACEOF
24772 if ac_fn_cxx_try_compile "$LINENO"; then :
24773 glibcxx_cv_func_modff_use=yes
24774 else
24775 glibcxx_cv_func_modff_use=no
24776 fi
24777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24778 ac_ext=c
24779 ac_cpp='$CPP $CPPFLAGS'
24780 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24781 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24782 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24783
24784
24785 fi
24786
24787 fi
24788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
24789 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
24790
24791 if test x$glibcxx_cv_func_modff_use = x"yes"; then
24792 for ac_func in modff
24793 do :
24794 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
24795 if test "x$ac_cv_func_modff" = xyes; then :
24796 cat >>confdefs.h <<_ACEOF
24797 #define HAVE_MODFF 1
24798 _ACEOF
24799
24800 fi
24801 done
24802
24803 else
24804
24805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
24806 $as_echo_n "checking for _modff declaration... " >&6; }
24807 if test x${glibcxx_cv_func__modff_use+set} != xset; then
24808 if ${glibcxx_cv_func__modff_use+:} false; then :
24809 $as_echo_n "(cached) " >&6
24810 else
24811
24812
24813 ac_ext=cpp
24814 ac_cpp='$CXXCPP $CPPFLAGS'
24815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24818
24819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24820 /* end confdefs.h. */
24821 #include <math.h>
24822 int
24823 main ()
24824 {
24825 _modff(0, 0);
24826 ;
24827 return 0;
24828 }
24829 _ACEOF
24830 if ac_fn_cxx_try_compile "$LINENO"; then :
24831 glibcxx_cv_func__modff_use=yes
24832 else
24833 glibcxx_cv_func__modff_use=no
24834 fi
24835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24836 ac_ext=c
24837 ac_cpp='$CPP $CPPFLAGS'
24838 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24839 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24840 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24841
24842
24843 fi
24844
24845 fi
24846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
24847 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
24848
24849 if test x$glibcxx_cv_func__modff_use = x"yes"; then
24850 for ac_func in _modff
24851 do :
24852 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
24853 if test "x$ac_cv_func__modff" = xyes; then :
24854 cat >>confdefs.h <<_ACEOF
24855 #define HAVE__MODFF 1
24856 _ACEOF
24857
24858 fi
24859 done
24860
24861 fi
24862 fi
24863
24864
24865
24866
24867
24868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
24869 $as_echo_n "checking for modf declaration... " >&6; }
24870 if test x${glibcxx_cv_func_modf_use+set} != xset; then
24871 if ${glibcxx_cv_func_modf_use+:} false; then :
24872 $as_echo_n "(cached) " >&6
24873 else
24874
24875
24876 ac_ext=cpp
24877 ac_cpp='$CXXCPP $CPPFLAGS'
24878 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24879 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24880 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24881
24882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24883 /* end confdefs.h. */
24884 #include <math.h>
24885 int
24886 main ()
24887 {
24888 modf(0, 0);
24889 ;
24890 return 0;
24891 }
24892 _ACEOF
24893 if ac_fn_cxx_try_compile "$LINENO"; then :
24894 glibcxx_cv_func_modf_use=yes
24895 else
24896 glibcxx_cv_func_modf_use=no
24897 fi
24898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24899 ac_ext=c
24900 ac_cpp='$CPP $CPPFLAGS'
24901 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24902 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24903 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24904
24905
24906 fi
24907
24908 fi
24909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
24910 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
24911
24912 if test x$glibcxx_cv_func_modf_use = x"yes"; then
24913 for ac_func in modf
24914 do :
24915 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
24916 if test "x$ac_cv_func_modf" = xyes; then :
24917 cat >>confdefs.h <<_ACEOF
24918 #define HAVE_MODF 1
24919 _ACEOF
24920
24921 fi
24922 done
24923
24924 else
24925
24926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
24927 $as_echo_n "checking for _modf declaration... " >&6; }
24928 if test x${glibcxx_cv_func__modf_use+set} != xset; then
24929 if ${glibcxx_cv_func__modf_use+:} false; then :
24930 $as_echo_n "(cached) " >&6
24931 else
24932
24933
24934 ac_ext=cpp
24935 ac_cpp='$CXXCPP $CPPFLAGS'
24936 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24937 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24938 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24939
24940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
24941 /* end confdefs.h. */
24942 #include <math.h>
24943 int
24944 main ()
24945 {
24946 _modf(0, 0);
24947 ;
24948 return 0;
24949 }
24950 _ACEOF
24951 if ac_fn_cxx_try_compile "$LINENO"; then :
24952 glibcxx_cv_func__modf_use=yes
24953 else
24954 glibcxx_cv_func__modf_use=no
24955 fi
24956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24957 ac_ext=c
24958 ac_cpp='$CPP $CPPFLAGS'
24959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24962
24963
24964 fi
24965
24966 fi
24967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
24968 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
24969
24970 if test x$glibcxx_cv_func__modf_use = x"yes"; then
24971 for ac_func in _modf
24972 do :
24973 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
24974 if test "x$ac_cv_func__modf" = xyes; then :
24975 cat >>confdefs.h <<_ACEOF
24976 #define HAVE__MODF 1
24977 _ACEOF
24978
24979 fi
24980 done
24981
24982 fi
24983 fi
24984
24985
24986
24987
24988
24989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
24990 $as_echo_n "checking for powf declaration... " >&6; }
24991 if test x${glibcxx_cv_func_powf_use+set} != xset; then
24992 if ${glibcxx_cv_func_powf_use+:} false; then :
24993 $as_echo_n "(cached) " >&6
24994 else
24995
24996
24997 ac_ext=cpp
24998 ac_cpp='$CXXCPP $CPPFLAGS'
24999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25002
25003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25004 /* end confdefs.h. */
25005 #include <math.h>
25006 int
25007 main ()
25008 {
25009 powf(0, 0);
25010 ;
25011 return 0;
25012 }
25013 _ACEOF
25014 if ac_fn_cxx_try_compile "$LINENO"; then :
25015 glibcxx_cv_func_powf_use=yes
25016 else
25017 glibcxx_cv_func_powf_use=no
25018 fi
25019 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25020 ac_ext=c
25021 ac_cpp='$CPP $CPPFLAGS'
25022 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25023 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25024 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25025
25026
25027 fi
25028
25029 fi
25030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
25031 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
25032
25033 if test x$glibcxx_cv_func_powf_use = x"yes"; then
25034 for ac_func in powf
25035 do :
25036 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
25037 if test "x$ac_cv_func_powf" = xyes; then :
25038 cat >>confdefs.h <<_ACEOF
25039 #define HAVE_POWF 1
25040 _ACEOF
25041
25042 fi
25043 done
25044
25045 else
25046
25047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
25048 $as_echo_n "checking for _powf declaration... " >&6; }
25049 if test x${glibcxx_cv_func__powf_use+set} != xset; then
25050 if ${glibcxx_cv_func__powf_use+:} false; then :
25051 $as_echo_n "(cached) " >&6
25052 else
25053
25054
25055 ac_ext=cpp
25056 ac_cpp='$CXXCPP $CPPFLAGS'
25057 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25058 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25059 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25060
25061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25062 /* end confdefs.h. */
25063 #include <math.h>
25064 int
25065 main ()
25066 {
25067 _powf(0, 0);
25068 ;
25069 return 0;
25070 }
25071 _ACEOF
25072 if ac_fn_cxx_try_compile "$LINENO"; then :
25073 glibcxx_cv_func__powf_use=yes
25074 else
25075 glibcxx_cv_func__powf_use=no
25076 fi
25077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25078 ac_ext=c
25079 ac_cpp='$CPP $CPPFLAGS'
25080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25083
25084
25085 fi
25086
25087 fi
25088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
25089 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
25090
25091 if test x$glibcxx_cv_func__powf_use = x"yes"; then
25092 for ac_func in _powf
25093 do :
25094 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
25095 if test "x$ac_cv_func__powf" = xyes; then :
25096 cat >>confdefs.h <<_ACEOF
25097 #define HAVE__POWF 1
25098 _ACEOF
25099
25100 fi
25101 done
25102
25103 fi
25104 fi
25105
25106
25107
25108
25109
25110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
25111 $as_echo_n "checking for sqrtf declaration... " >&6; }
25112 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
25113 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
25114 $as_echo_n "(cached) " >&6
25115 else
25116
25117
25118 ac_ext=cpp
25119 ac_cpp='$CXXCPP $CPPFLAGS'
25120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25123
25124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25125 /* end confdefs.h. */
25126 #include <math.h>
25127 #ifdef HAVE_IEEEFP_H
25128 #include <ieeefp.h>
25129 #endif
25130
25131 int
25132 main ()
25133 {
25134 sqrtf(0);
25135 ;
25136 return 0;
25137 }
25138 _ACEOF
25139 if ac_fn_cxx_try_compile "$LINENO"; then :
25140 glibcxx_cv_func_sqrtf_use=yes
25141 else
25142 glibcxx_cv_func_sqrtf_use=no
25143 fi
25144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25145 ac_ext=c
25146 ac_cpp='$CPP $CPPFLAGS'
25147 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25148 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25149 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25150
25151
25152 fi
25153
25154 fi
25155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
25156 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
25157
25158 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
25159 for ac_func in sqrtf
25160 do :
25161 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
25162 if test "x$ac_cv_func_sqrtf" = xyes; then :
25163 cat >>confdefs.h <<_ACEOF
25164 #define HAVE_SQRTF 1
25165 _ACEOF
25166
25167 fi
25168 done
25169
25170 else
25171
25172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
25173 $as_echo_n "checking for _sqrtf declaration... " >&6; }
25174 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
25175 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
25176 $as_echo_n "(cached) " >&6
25177 else
25178
25179
25180 ac_ext=cpp
25181 ac_cpp='$CXXCPP $CPPFLAGS'
25182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25185
25186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25187 /* end confdefs.h. */
25188 #include <math.h>
25189 #ifdef HAVE_IEEEFP_H
25190 #include <ieeefp.h>
25191 #endif
25192
25193 int
25194 main ()
25195 {
25196 _sqrtf(0);
25197 ;
25198 return 0;
25199 }
25200 _ACEOF
25201 if ac_fn_cxx_try_compile "$LINENO"; then :
25202 glibcxx_cv_func__sqrtf_use=yes
25203 else
25204 glibcxx_cv_func__sqrtf_use=no
25205 fi
25206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25207 ac_ext=c
25208 ac_cpp='$CPP $CPPFLAGS'
25209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25212
25213
25214 fi
25215
25216 fi
25217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
25218 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
25219
25220 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
25221 for ac_func in _sqrtf
25222 do :
25223 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
25224 if test "x$ac_cv_func__sqrtf" = xyes; then :
25225 cat >>confdefs.h <<_ACEOF
25226 #define HAVE__SQRTF 1
25227 _ACEOF
25228
25229 fi
25230 done
25231
25232 fi
25233 fi
25234
25235
25236
25237
25238
25239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
25240 $as_echo_n "checking for sincosf declaration... " >&6; }
25241 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
25242 if ${glibcxx_cv_func_sincosf_use+:} false; then :
25243 $as_echo_n "(cached) " >&6
25244 else
25245
25246
25247 ac_ext=cpp
25248 ac_cpp='$CXXCPP $CPPFLAGS'
25249 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25250 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25251 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25252
25253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25254 /* end confdefs.h. */
25255 #include <math.h>
25256 int
25257 main ()
25258 {
25259 sincosf(0, 0, 0);
25260 ;
25261 return 0;
25262 }
25263 _ACEOF
25264 if ac_fn_cxx_try_compile "$LINENO"; then :
25265 glibcxx_cv_func_sincosf_use=yes
25266 else
25267 glibcxx_cv_func_sincosf_use=no
25268 fi
25269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25270 ac_ext=c
25271 ac_cpp='$CPP $CPPFLAGS'
25272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25275
25276
25277 fi
25278
25279 fi
25280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
25281 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
25282
25283 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
25284 for ac_func in sincosf
25285 do :
25286 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
25287 if test "x$ac_cv_func_sincosf" = xyes; then :
25288 cat >>confdefs.h <<_ACEOF
25289 #define HAVE_SINCOSF 1
25290 _ACEOF
25291
25292 fi
25293 done
25294
25295 else
25296
25297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
25298 $as_echo_n "checking for _sincosf declaration... " >&6; }
25299 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
25300 if ${glibcxx_cv_func__sincosf_use+:} false; then :
25301 $as_echo_n "(cached) " >&6
25302 else
25303
25304
25305 ac_ext=cpp
25306 ac_cpp='$CXXCPP $CPPFLAGS'
25307 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25308 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25309 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25310
25311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25312 /* end confdefs.h. */
25313 #include <math.h>
25314 int
25315 main ()
25316 {
25317 _sincosf(0, 0, 0);
25318 ;
25319 return 0;
25320 }
25321 _ACEOF
25322 if ac_fn_cxx_try_compile "$LINENO"; then :
25323 glibcxx_cv_func__sincosf_use=yes
25324 else
25325 glibcxx_cv_func__sincosf_use=no
25326 fi
25327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25328 ac_ext=c
25329 ac_cpp='$CPP $CPPFLAGS'
25330 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25331 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25332 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25333
25334
25335 fi
25336
25337 fi
25338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
25339 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
25340
25341 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
25342 for ac_func in _sincosf
25343 do :
25344 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
25345 if test "x$ac_cv_func__sincosf" = xyes; then :
25346 cat >>confdefs.h <<_ACEOF
25347 #define HAVE__SINCOSF 1
25348 _ACEOF
25349
25350 fi
25351 done
25352
25353 fi
25354 fi
25355
25356
25357
25358
25359
25360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
25361 $as_echo_n "checking for finitef declaration... " >&6; }
25362 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
25363 if ${glibcxx_cv_func_finitef_use+:} false; then :
25364 $as_echo_n "(cached) " >&6
25365 else
25366
25367
25368 ac_ext=cpp
25369 ac_cpp='$CXXCPP $CPPFLAGS'
25370 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25371 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25372 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25373
25374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25375 /* end confdefs.h. */
25376 #include <math.h>
25377 #ifdef HAVE_IEEEFP_H
25378 #include <ieeefp.h>
25379 #endif
25380
25381 int
25382 main ()
25383 {
25384 finitef(0);
25385 ;
25386 return 0;
25387 }
25388 _ACEOF
25389 if ac_fn_cxx_try_compile "$LINENO"; then :
25390 glibcxx_cv_func_finitef_use=yes
25391 else
25392 glibcxx_cv_func_finitef_use=no
25393 fi
25394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25395 ac_ext=c
25396 ac_cpp='$CPP $CPPFLAGS'
25397 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25398 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25399 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25400
25401
25402 fi
25403
25404 fi
25405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
25406 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
25407
25408 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
25409 for ac_func in finitef
25410 do :
25411 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
25412 if test "x$ac_cv_func_finitef" = xyes; then :
25413 cat >>confdefs.h <<_ACEOF
25414 #define HAVE_FINITEF 1
25415 _ACEOF
25416
25417 fi
25418 done
25419
25420 else
25421
25422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
25423 $as_echo_n "checking for _finitef declaration... " >&6; }
25424 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
25425 if ${glibcxx_cv_func__finitef_use+:} false; then :
25426 $as_echo_n "(cached) " >&6
25427 else
25428
25429
25430 ac_ext=cpp
25431 ac_cpp='$CXXCPP $CPPFLAGS'
25432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25435
25436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25437 /* end confdefs.h. */
25438 #include <math.h>
25439 #ifdef HAVE_IEEEFP_H
25440 #include <ieeefp.h>
25441 #endif
25442
25443 int
25444 main ()
25445 {
25446 _finitef(0);
25447 ;
25448 return 0;
25449 }
25450 _ACEOF
25451 if ac_fn_cxx_try_compile "$LINENO"; then :
25452 glibcxx_cv_func__finitef_use=yes
25453 else
25454 glibcxx_cv_func__finitef_use=no
25455 fi
25456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25457 ac_ext=c
25458 ac_cpp='$CPP $CPPFLAGS'
25459 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25460 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25461 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25462
25463
25464 fi
25465
25466 fi
25467 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
25468 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
25469
25470 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
25471 for ac_func in _finitef
25472 do :
25473 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
25474 if test "x$ac_cv_func__finitef" = xyes; then :
25475 cat >>confdefs.h <<_ACEOF
25476 #define HAVE__FINITEF 1
25477 _ACEOF
25478
25479 fi
25480 done
25481
25482 fi
25483 fi
25484
25485
25486
25487
25488
25489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
25490 $as_echo_n "checking for long double trig functions... " >&6; }
25491 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
25492 $as_echo_n "(cached) " >&6
25493 else
25494
25495
25496 ac_ext=cpp
25497 ac_cpp='$CXXCPP $CPPFLAGS'
25498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25501
25502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25503 /* end confdefs.h. */
25504 #include <math.h>
25505 int
25506 main ()
25507 {
25508 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
25509 ;
25510 return 0;
25511 }
25512 _ACEOF
25513 if ac_fn_cxx_try_compile "$LINENO"; then :
25514 glibcxx_cv_func_long_double_trig_use=yes
25515 else
25516 glibcxx_cv_func_long_double_trig_use=no
25517 fi
25518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25519 ac_ext=c
25520 ac_cpp='$CPP $CPPFLAGS'
25521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25524
25525 fi
25526
25527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
25528 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
25529 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
25530 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
25531 do :
25532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25534 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25535 cat >>confdefs.h <<_ACEOF
25536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25537 _ACEOF
25538
25539 fi
25540 done
25541
25542 else
25543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
25544 $as_echo_n "checking for _long double trig functions... " >&6; }
25545 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
25546 $as_echo_n "(cached) " >&6
25547 else
25548
25549
25550 ac_ext=cpp
25551 ac_cpp='$CXXCPP $CPPFLAGS'
25552 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25553 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25554 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25555
25556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25557 /* end confdefs.h. */
25558 #include <math.h>
25559 int
25560 main ()
25561 {
25562 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
25563 ;
25564 return 0;
25565 }
25566 _ACEOF
25567 if ac_fn_cxx_try_compile "$LINENO"; then :
25568 glibcxx_cv_func__long_double_trig_use=yes
25569 else
25570 glibcxx_cv_func__long_double_trig_use=no
25571 fi
25572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25573 ac_ext=c
25574 ac_cpp='$CPP $CPPFLAGS'
25575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25578
25579 fi
25580
25581 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
25582 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
25583 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
25584 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
25585 do :
25586 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25587 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25588 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25589 cat >>confdefs.h <<_ACEOF
25590 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25591 _ACEOF
25592
25593 fi
25594 done
25595
25596 fi
25597 fi
25598
25599
25600
25601
25602
25603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
25604 $as_echo_n "checking for long double round functions... " >&6; }
25605 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
25606 $as_echo_n "(cached) " >&6
25607 else
25608
25609
25610 ac_ext=cpp
25611 ac_cpp='$CXXCPP $CPPFLAGS'
25612 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25613 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25614 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25615
25616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25617 /* end confdefs.h. */
25618 #include <math.h>
25619 int
25620 main ()
25621 {
25622 ceill (0); floorl (0);
25623 ;
25624 return 0;
25625 }
25626 _ACEOF
25627 if ac_fn_cxx_try_compile "$LINENO"; then :
25628 glibcxx_cv_func_long_double_round_use=yes
25629 else
25630 glibcxx_cv_func_long_double_round_use=no
25631 fi
25632 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25633 ac_ext=c
25634 ac_cpp='$CPP $CPPFLAGS'
25635 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25636 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25637 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25638
25639 fi
25640
25641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
25642 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
25643 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
25644 for ac_func in ceill floorl
25645 do :
25646 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25647 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25648 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25649 cat >>confdefs.h <<_ACEOF
25650 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25651 _ACEOF
25652
25653 fi
25654 done
25655
25656 else
25657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
25658 $as_echo_n "checking for _long double round functions... " >&6; }
25659 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
25660 $as_echo_n "(cached) " >&6
25661 else
25662
25663
25664 ac_ext=cpp
25665 ac_cpp='$CXXCPP $CPPFLAGS'
25666 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25667 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25668 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25669
25670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25671 /* end confdefs.h. */
25672 #include <math.h>
25673 int
25674 main ()
25675 {
25676 _ceill (0); _floorl (0);
25677 ;
25678 return 0;
25679 }
25680 _ACEOF
25681 if ac_fn_cxx_try_compile "$LINENO"; then :
25682 glibcxx_cv_func__long_double_round_use=yes
25683 else
25684 glibcxx_cv_func__long_double_round_use=no
25685 fi
25686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25687 ac_ext=c
25688 ac_cpp='$CPP $CPPFLAGS'
25689 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25690 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25691 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25692
25693 fi
25694
25695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
25696 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
25697 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
25698 for ac_func in _ceill _floorl
25699 do :
25700 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
25701 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
25702 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
25703 cat >>confdefs.h <<_ACEOF
25704 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
25705 _ACEOF
25706
25707 fi
25708 done
25709
25710 fi
25711 fi
25712
25713
25714
25715
25716
25717
25718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
25719 $as_echo_n "checking for isnanl declaration... " >&6; }
25720 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
25721 if ${glibcxx_cv_func_isnanl_use+:} false; then :
25722 $as_echo_n "(cached) " >&6
25723 else
25724
25725
25726 ac_ext=cpp
25727 ac_cpp='$CXXCPP $CPPFLAGS'
25728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25731
25732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25733 /* end confdefs.h. */
25734 #include <math.h>
25735 #ifdef HAVE_IEEEFP_H
25736 #include <ieeefp.h>
25737 #endif
25738
25739 int
25740 main ()
25741 {
25742 isnanl(0);
25743 ;
25744 return 0;
25745 }
25746 _ACEOF
25747 if ac_fn_cxx_try_compile "$LINENO"; then :
25748 glibcxx_cv_func_isnanl_use=yes
25749 else
25750 glibcxx_cv_func_isnanl_use=no
25751 fi
25752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25753 ac_ext=c
25754 ac_cpp='$CPP $CPPFLAGS'
25755 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25756 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25757 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25758
25759
25760 fi
25761
25762 fi
25763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
25764 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
25765
25766 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
25767 for ac_func in isnanl
25768 do :
25769 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
25770 if test "x$ac_cv_func_isnanl" = xyes; then :
25771 cat >>confdefs.h <<_ACEOF
25772 #define HAVE_ISNANL 1
25773 _ACEOF
25774
25775 fi
25776 done
25777
25778 else
25779
25780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
25781 $as_echo_n "checking for _isnanl declaration... " >&6; }
25782 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
25783 if ${glibcxx_cv_func__isnanl_use+:} false; then :
25784 $as_echo_n "(cached) " >&6
25785 else
25786
25787
25788 ac_ext=cpp
25789 ac_cpp='$CXXCPP $CPPFLAGS'
25790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25793
25794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25795 /* end confdefs.h. */
25796 #include <math.h>
25797 #ifdef HAVE_IEEEFP_H
25798 #include <ieeefp.h>
25799 #endif
25800
25801 int
25802 main ()
25803 {
25804 _isnanl(0);
25805 ;
25806 return 0;
25807 }
25808 _ACEOF
25809 if ac_fn_cxx_try_compile "$LINENO"; then :
25810 glibcxx_cv_func__isnanl_use=yes
25811 else
25812 glibcxx_cv_func__isnanl_use=no
25813 fi
25814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25815 ac_ext=c
25816 ac_cpp='$CPP $CPPFLAGS'
25817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25820
25821
25822 fi
25823
25824 fi
25825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
25826 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
25827
25828 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
25829 for ac_func in _isnanl
25830 do :
25831 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
25832 if test "x$ac_cv_func__isnanl" = xyes; then :
25833 cat >>confdefs.h <<_ACEOF
25834 #define HAVE__ISNANL 1
25835 _ACEOF
25836
25837 fi
25838 done
25839
25840 fi
25841 fi
25842
25843
25844
25845
25846
25847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
25848 $as_echo_n "checking for isinfl declaration... " >&6; }
25849 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
25850 if ${glibcxx_cv_func_isinfl_use+:} false; then :
25851 $as_echo_n "(cached) " >&6
25852 else
25853
25854
25855 ac_ext=cpp
25856 ac_cpp='$CXXCPP $CPPFLAGS'
25857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25860
25861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25862 /* end confdefs.h. */
25863 #include <math.h>
25864 #ifdef HAVE_IEEEFP_H
25865 #include <ieeefp.h>
25866 #endif
25867
25868 int
25869 main ()
25870 {
25871 isinfl(0);
25872 ;
25873 return 0;
25874 }
25875 _ACEOF
25876 if ac_fn_cxx_try_compile "$LINENO"; then :
25877 glibcxx_cv_func_isinfl_use=yes
25878 else
25879 glibcxx_cv_func_isinfl_use=no
25880 fi
25881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25882 ac_ext=c
25883 ac_cpp='$CPP $CPPFLAGS'
25884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25887
25888
25889 fi
25890
25891 fi
25892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
25893 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
25894
25895 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
25896 for ac_func in isinfl
25897 do :
25898 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
25899 if test "x$ac_cv_func_isinfl" = xyes; then :
25900 cat >>confdefs.h <<_ACEOF
25901 #define HAVE_ISINFL 1
25902 _ACEOF
25903
25904 fi
25905 done
25906
25907 else
25908
25909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
25910 $as_echo_n "checking for _isinfl declaration... " >&6; }
25911 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
25912 if ${glibcxx_cv_func__isinfl_use+:} false; then :
25913 $as_echo_n "(cached) " >&6
25914 else
25915
25916
25917 ac_ext=cpp
25918 ac_cpp='$CXXCPP $CPPFLAGS'
25919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25922
25923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25924 /* end confdefs.h. */
25925 #include <math.h>
25926 #ifdef HAVE_IEEEFP_H
25927 #include <ieeefp.h>
25928 #endif
25929
25930 int
25931 main ()
25932 {
25933 _isinfl(0);
25934 ;
25935 return 0;
25936 }
25937 _ACEOF
25938 if ac_fn_cxx_try_compile "$LINENO"; then :
25939 glibcxx_cv_func__isinfl_use=yes
25940 else
25941 glibcxx_cv_func__isinfl_use=no
25942 fi
25943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25944 ac_ext=c
25945 ac_cpp='$CPP $CPPFLAGS'
25946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25949
25950
25951 fi
25952
25953 fi
25954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
25955 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
25956
25957 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
25958 for ac_func in _isinfl
25959 do :
25960 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
25961 if test "x$ac_cv_func__isinfl" = xyes; then :
25962 cat >>confdefs.h <<_ACEOF
25963 #define HAVE__ISINFL 1
25964 _ACEOF
25965
25966 fi
25967 done
25968
25969 fi
25970 fi
25971
25972
25973
25974
25975
25976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
25977 $as_echo_n "checking for atan2l declaration... " >&6; }
25978 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
25979 if ${glibcxx_cv_func_atan2l_use+:} false; then :
25980 $as_echo_n "(cached) " >&6
25981 else
25982
25983
25984 ac_ext=cpp
25985 ac_cpp='$CXXCPP $CPPFLAGS'
25986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25989
25990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
25991 /* end confdefs.h. */
25992 #include <math.h>
25993 int
25994 main ()
25995 {
25996 atan2l(0, 0);
25997 ;
25998 return 0;
25999 }
26000 _ACEOF
26001 if ac_fn_cxx_try_compile "$LINENO"; then :
26002 glibcxx_cv_func_atan2l_use=yes
26003 else
26004 glibcxx_cv_func_atan2l_use=no
26005 fi
26006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26007 ac_ext=c
26008 ac_cpp='$CPP $CPPFLAGS'
26009 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26010 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26011 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26012
26013
26014 fi
26015
26016 fi
26017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
26018 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
26019
26020 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
26021 for ac_func in atan2l
26022 do :
26023 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
26024 if test "x$ac_cv_func_atan2l" = xyes; then :
26025 cat >>confdefs.h <<_ACEOF
26026 #define HAVE_ATAN2L 1
26027 _ACEOF
26028
26029 fi
26030 done
26031
26032 else
26033
26034 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
26035 $as_echo_n "checking for _atan2l declaration... " >&6; }
26036 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
26037 if ${glibcxx_cv_func__atan2l_use+:} false; then :
26038 $as_echo_n "(cached) " >&6
26039 else
26040
26041
26042 ac_ext=cpp
26043 ac_cpp='$CXXCPP $CPPFLAGS'
26044 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26045 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26046 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26047
26048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26049 /* end confdefs.h. */
26050 #include <math.h>
26051 int
26052 main ()
26053 {
26054 _atan2l(0, 0);
26055 ;
26056 return 0;
26057 }
26058 _ACEOF
26059 if ac_fn_cxx_try_compile "$LINENO"; then :
26060 glibcxx_cv_func__atan2l_use=yes
26061 else
26062 glibcxx_cv_func__atan2l_use=no
26063 fi
26064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26065 ac_ext=c
26066 ac_cpp='$CPP $CPPFLAGS'
26067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26070
26071
26072 fi
26073
26074 fi
26075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
26076 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
26077
26078 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
26079 for ac_func in _atan2l
26080 do :
26081 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
26082 if test "x$ac_cv_func__atan2l" = xyes; then :
26083 cat >>confdefs.h <<_ACEOF
26084 #define HAVE__ATAN2L 1
26085 _ACEOF
26086
26087 fi
26088 done
26089
26090 fi
26091 fi
26092
26093
26094
26095
26096
26097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
26098 $as_echo_n "checking for expl declaration... " >&6; }
26099 if test x${glibcxx_cv_func_expl_use+set} != xset; then
26100 if ${glibcxx_cv_func_expl_use+:} false; then :
26101 $as_echo_n "(cached) " >&6
26102 else
26103
26104
26105 ac_ext=cpp
26106 ac_cpp='$CXXCPP $CPPFLAGS'
26107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26110
26111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26112 /* end confdefs.h. */
26113 #include <math.h>
26114 #ifdef HAVE_IEEEFP_H
26115 #include <ieeefp.h>
26116 #endif
26117
26118 int
26119 main ()
26120 {
26121 expl(0);
26122 ;
26123 return 0;
26124 }
26125 _ACEOF
26126 if ac_fn_cxx_try_compile "$LINENO"; then :
26127 glibcxx_cv_func_expl_use=yes
26128 else
26129 glibcxx_cv_func_expl_use=no
26130 fi
26131 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26132 ac_ext=c
26133 ac_cpp='$CPP $CPPFLAGS'
26134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26137
26138
26139 fi
26140
26141 fi
26142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
26143 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
26144
26145 if test x$glibcxx_cv_func_expl_use = x"yes"; then
26146 for ac_func in expl
26147 do :
26148 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
26149 if test "x$ac_cv_func_expl" = xyes; then :
26150 cat >>confdefs.h <<_ACEOF
26151 #define HAVE_EXPL 1
26152 _ACEOF
26153
26154 fi
26155 done
26156
26157 else
26158
26159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
26160 $as_echo_n "checking for _expl declaration... " >&6; }
26161 if test x${glibcxx_cv_func__expl_use+set} != xset; then
26162 if ${glibcxx_cv_func__expl_use+:} false; then :
26163 $as_echo_n "(cached) " >&6
26164 else
26165
26166
26167 ac_ext=cpp
26168 ac_cpp='$CXXCPP $CPPFLAGS'
26169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26172
26173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26174 /* end confdefs.h. */
26175 #include <math.h>
26176 #ifdef HAVE_IEEEFP_H
26177 #include <ieeefp.h>
26178 #endif
26179
26180 int
26181 main ()
26182 {
26183 _expl(0);
26184 ;
26185 return 0;
26186 }
26187 _ACEOF
26188 if ac_fn_cxx_try_compile "$LINENO"; then :
26189 glibcxx_cv_func__expl_use=yes
26190 else
26191 glibcxx_cv_func__expl_use=no
26192 fi
26193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26194 ac_ext=c
26195 ac_cpp='$CPP $CPPFLAGS'
26196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26199
26200
26201 fi
26202
26203 fi
26204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
26205 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
26206
26207 if test x$glibcxx_cv_func__expl_use = x"yes"; then
26208 for ac_func in _expl
26209 do :
26210 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
26211 if test "x$ac_cv_func__expl" = xyes; then :
26212 cat >>confdefs.h <<_ACEOF
26213 #define HAVE__EXPL 1
26214 _ACEOF
26215
26216 fi
26217 done
26218
26219 fi
26220 fi
26221
26222
26223
26224
26225
26226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
26227 $as_echo_n "checking for fabsl declaration... " >&6; }
26228 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
26229 if ${glibcxx_cv_func_fabsl_use+:} false; then :
26230 $as_echo_n "(cached) " >&6
26231 else
26232
26233
26234 ac_ext=cpp
26235 ac_cpp='$CXXCPP $CPPFLAGS'
26236 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26237 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26238 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26239
26240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26241 /* end confdefs.h. */
26242 #include <math.h>
26243 #ifdef HAVE_IEEEFP_H
26244 #include <ieeefp.h>
26245 #endif
26246
26247 int
26248 main ()
26249 {
26250 fabsl(0);
26251 ;
26252 return 0;
26253 }
26254 _ACEOF
26255 if ac_fn_cxx_try_compile "$LINENO"; then :
26256 glibcxx_cv_func_fabsl_use=yes
26257 else
26258 glibcxx_cv_func_fabsl_use=no
26259 fi
26260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26261 ac_ext=c
26262 ac_cpp='$CPP $CPPFLAGS'
26263 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26264 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26265 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26266
26267
26268 fi
26269
26270 fi
26271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
26272 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
26273
26274 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
26275 for ac_func in fabsl
26276 do :
26277 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
26278 if test "x$ac_cv_func_fabsl" = xyes; then :
26279 cat >>confdefs.h <<_ACEOF
26280 #define HAVE_FABSL 1
26281 _ACEOF
26282
26283 fi
26284 done
26285
26286 else
26287
26288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
26289 $as_echo_n "checking for _fabsl declaration... " >&6; }
26290 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
26291 if ${glibcxx_cv_func__fabsl_use+:} false; then :
26292 $as_echo_n "(cached) " >&6
26293 else
26294
26295
26296 ac_ext=cpp
26297 ac_cpp='$CXXCPP $CPPFLAGS'
26298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26301
26302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26303 /* end confdefs.h. */
26304 #include <math.h>
26305 #ifdef HAVE_IEEEFP_H
26306 #include <ieeefp.h>
26307 #endif
26308
26309 int
26310 main ()
26311 {
26312 _fabsl(0);
26313 ;
26314 return 0;
26315 }
26316 _ACEOF
26317 if ac_fn_cxx_try_compile "$LINENO"; then :
26318 glibcxx_cv_func__fabsl_use=yes
26319 else
26320 glibcxx_cv_func__fabsl_use=no
26321 fi
26322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26323 ac_ext=c
26324 ac_cpp='$CPP $CPPFLAGS'
26325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26328
26329
26330 fi
26331
26332 fi
26333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
26334 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
26335
26336 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
26337 for ac_func in _fabsl
26338 do :
26339 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
26340 if test "x$ac_cv_func__fabsl" = xyes; then :
26341 cat >>confdefs.h <<_ACEOF
26342 #define HAVE__FABSL 1
26343 _ACEOF
26344
26345 fi
26346 done
26347
26348 fi
26349 fi
26350
26351
26352
26353
26354
26355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
26356 $as_echo_n "checking for fmodl declaration... " >&6; }
26357 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
26358 if ${glibcxx_cv_func_fmodl_use+:} false; then :
26359 $as_echo_n "(cached) " >&6
26360 else
26361
26362
26363 ac_ext=cpp
26364 ac_cpp='$CXXCPP $CPPFLAGS'
26365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26368
26369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26370 /* end confdefs.h. */
26371 #include <math.h>
26372 int
26373 main ()
26374 {
26375 fmodl(0, 0);
26376 ;
26377 return 0;
26378 }
26379 _ACEOF
26380 if ac_fn_cxx_try_compile "$LINENO"; then :
26381 glibcxx_cv_func_fmodl_use=yes
26382 else
26383 glibcxx_cv_func_fmodl_use=no
26384 fi
26385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26386 ac_ext=c
26387 ac_cpp='$CPP $CPPFLAGS'
26388 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26389 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26390 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26391
26392
26393 fi
26394
26395 fi
26396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
26397 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
26398
26399 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
26400 for ac_func in fmodl
26401 do :
26402 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
26403 if test "x$ac_cv_func_fmodl" = xyes; then :
26404 cat >>confdefs.h <<_ACEOF
26405 #define HAVE_FMODL 1
26406 _ACEOF
26407
26408 fi
26409 done
26410
26411 else
26412
26413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
26414 $as_echo_n "checking for _fmodl declaration... " >&6; }
26415 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
26416 if ${glibcxx_cv_func__fmodl_use+:} false; then :
26417 $as_echo_n "(cached) " >&6
26418 else
26419
26420
26421 ac_ext=cpp
26422 ac_cpp='$CXXCPP $CPPFLAGS'
26423 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26424 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26425 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26426
26427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26428 /* end confdefs.h. */
26429 #include <math.h>
26430 int
26431 main ()
26432 {
26433 _fmodl(0, 0);
26434 ;
26435 return 0;
26436 }
26437 _ACEOF
26438 if ac_fn_cxx_try_compile "$LINENO"; then :
26439 glibcxx_cv_func__fmodl_use=yes
26440 else
26441 glibcxx_cv_func__fmodl_use=no
26442 fi
26443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26444 ac_ext=c
26445 ac_cpp='$CPP $CPPFLAGS'
26446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26449
26450
26451 fi
26452
26453 fi
26454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
26455 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
26456
26457 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
26458 for ac_func in _fmodl
26459 do :
26460 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
26461 if test "x$ac_cv_func__fmodl" = xyes; then :
26462 cat >>confdefs.h <<_ACEOF
26463 #define HAVE__FMODL 1
26464 _ACEOF
26465
26466 fi
26467 done
26468
26469 fi
26470 fi
26471
26472
26473
26474
26475
26476 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
26477 $as_echo_n "checking for frexpl declaration... " >&6; }
26478 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
26479 if ${glibcxx_cv_func_frexpl_use+:} false; then :
26480 $as_echo_n "(cached) " >&6
26481 else
26482
26483
26484 ac_ext=cpp
26485 ac_cpp='$CXXCPP $CPPFLAGS'
26486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26489
26490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26491 /* end confdefs.h. */
26492 #include <math.h>
26493 int
26494 main ()
26495 {
26496 frexpl(0, 0);
26497 ;
26498 return 0;
26499 }
26500 _ACEOF
26501 if ac_fn_cxx_try_compile "$LINENO"; then :
26502 glibcxx_cv_func_frexpl_use=yes
26503 else
26504 glibcxx_cv_func_frexpl_use=no
26505 fi
26506 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26507 ac_ext=c
26508 ac_cpp='$CPP $CPPFLAGS'
26509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26512
26513
26514 fi
26515
26516 fi
26517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
26518 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
26519
26520 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
26521 for ac_func in frexpl
26522 do :
26523 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
26524 if test "x$ac_cv_func_frexpl" = xyes; then :
26525 cat >>confdefs.h <<_ACEOF
26526 #define HAVE_FREXPL 1
26527 _ACEOF
26528
26529 fi
26530 done
26531
26532 else
26533
26534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
26535 $as_echo_n "checking for _frexpl declaration... " >&6; }
26536 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
26537 if ${glibcxx_cv_func__frexpl_use+:} false; then :
26538 $as_echo_n "(cached) " >&6
26539 else
26540
26541
26542 ac_ext=cpp
26543 ac_cpp='$CXXCPP $CPPFLAGS'
26544 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26545 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26546 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26547
26548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26549 /* end confdefs.h. */
26550 #include <math.h>
26551 int
26552 main ()
26553 {
26554 _frexpl(0, 0);
26555 ;
26556 return 0;
26557 }
26558 _ACEOF
26559 if ac_fn_cxx_try_compile "$LINENO"; then :
26560 glibcxx_cv_func__frexpl_use=yes
26561 else
26562 glibcxx_cv_func__frexpl_use=no
26563 fi
26564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26565 ac_ext=c
26566 ac_cpp='$CPP $CPPFLAGS'
26567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26570
26571
26572 fi
26573
26574 fi
26575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
26576 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
26577
26578 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
26579 for ac_func in _frexpl
26580 do :
26581 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
26582 if test "x$ac_cv_func__frexpl" = xyes; then :
26583 cat >>confdefs.h <<_ACEOF
26584 #define HAVE__FREXPL 1
26585 _ACEOF
26586
26587 fi
26588 done
26589
26590 fi
26591 fi
26592
26593
26594
26595
26596
26597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
26598 $as_echo_n "checking for hypotl declaration... " >&6; }
26599 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
26600 if ${glibcxx_cv_func_hypotl_use+:} false; then :
26601 $as_echo_n "(cached) " >&6
26602 else
26603
26604
26605 ac_ext=cpp
26606 ac_cpp='$CXXCPP $CPPFLAGS'
26607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26610
26611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26612 /* end confdefs.h. */
26613 #include <math.h>
26614 int
26615 main ()
26616 {
26617 hypotl(0, 0);
26618 ;
26619 return 0;
26620 }
26621 _ACEOF
26622 if ac_fn_cxx_try_compile "$LINENO"; then :
26623 glibcxx_cv_func_hypotl_use=yes
26624 else
26625 glibcxx_cv_func_hypotl_use=no
26626 fi
26627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26628 ac_ext=c
26629 ac_cpp='$CPP $CPPFLAGS'
26630 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26631 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26632 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26633
26634
26635 fi
26636
26637 fi
26638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
26639 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
26640
26641 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
26642 for ac_func in hypotl
26643 do :
26644 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
26645 if test "x$ac_cv_func_hypotl" = xyes; then :
26646 cat >>confdefs.h <<_ACEOF
26647 #define HAVE_HYPOTL 1
26648 _ACEOF
26649
26650 fi
26651 done
26652
26653 else
26654
26655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
26656 $as_echo_n "checking for _hypotl declaration... " >&6; }
26657 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
26658 if ${glibcxx_cv_func__hypotl_use+:} false; then :
26659 $as_echo_n "(cached) " >&6
26660 else
26661
26662
26663 ac_ext=cpp
26664 ac_cpp='$CXXCPP $CPPFLAGS'
26665 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26666 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26667 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26668
26669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26670 /* end confdefs.h. */
26671 #include <math.h>
26672 int
26673 main ()
26674 {
26675 _hypotl(0, 0);
26676 ;
26677 return 0;
26678 }
26679 _ACEOF
26680 if ac_fn_cxx_try_compile "$LINENO"; then :
26681 glibcxx_cv_func__hypotl_use=yes
26682 else
26683 glibcxx_cv_func__hypotl_use=no
26684 fi
26685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26686 ac_ext=c
26687 ac_cpp='$CPP $CPPFLAGS'
26688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26691
26692
26693 fi
26694
26695 fi
26696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
26697 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
26698
26699 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
26700 for ac_func in _hypotl
26701 do :
26702 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
26703 if test "x$ac_cv_func__hypotl" = xyes; then :
26704 cat >>confdefs.h <<_ACEOF
26705 #define HAVE__HYPOTL 1
26706 _ACEOF
26707
26708 fi
26709 done
26710
26711 fi
26712 fi
26713
26714
26715
26716
26717
26718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
26719 $as_echo_n "checking for ldexpl declaration... " >&6; }
26720 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
26721 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
26722 $as_echo_n "(cached) " >&6
26723 else
26724
26725
26726 ac_ext=cpp
26727 ac_cpp='$CXXCPP $CPPFLAGS'
26728 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26729 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26730 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26731
26732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26733 /* end confdefs.h. */
26734 #include <math.h>
26735 int
26736 main ()
26737 {
26738 ldexpl(0, 0);
26739 ;
26740 return 0;
26741 }
26742 _ACEOF
26743 if ac_fn_cxx_try_compile "$LINENO"; then :
26744 glibcxx_cv_func_ldexpl_use=yes
26745 else
26746 glibcxx_cv_func_ldexpl_use=no
26747 fi
26748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26749 ac_ext=c
26750 ac_cpp='$CPP $CPPFLAGS'
26751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26754
26755
26756 fi
26757
26758 fi
26759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
26760 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
26761
26762 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
26763 for ac_func in ldexpl
26764 do :
26765 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
26766 if test "x$ac_cv_func_ldexpl" = xyes; then :
26767 cat >>confdefs.h <<_ACEOF
26768 #define HAVE_LDEXPL 1
26769 _ACEOF
26770
26771 fi
26772 done
26773
26774 else
26775
26776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
26777 $as_echo_n "checking for _ldexpl declaration... " >&6; }
26778 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
26779 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
26780 $as_echo_n "(cached) " >&6
26781 else
26782
26783
26784 ac_ext=cpp
26785 ac_cpp='$CXXCPP $CPPFLAGS'
26786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26789
26790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26791 /* end confdefs.h. */
26792 #include <math.h>
26793 int
26794 main ()
26795 {
26796 _ldexpl(0, 0);
26797 ;
26798 return 0;
26799 }
26800 _ACEOF
26801 if ac_fn_cxx_try_compile "$LINENO"; then :
26802 glibcxx_cv_func__ldexpl_use=yes
26803 else
26804 glibcxx_cv_func__ldexpl_use=no
26805 fi
26806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26807 ac_ext=c
26808 ac_cpp='$CPP $CPPFLAGS'
26809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26812
26813
26814 fi
26815
26816 fi
26817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
26818 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
26819
26820 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
26821 for ac_func in _ldexpl
26822 do :
26823 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
26824 if test "x$ac_cv_func__ldexpl" = xyes; then :
26825 cat >>confdefs.h <<_ACEOF
26826 #define HAVE__LDEXPL 1
26827 _ACEOF
26828
26829 fi
26830 done
26831
26832 fi
26833 fi
26834
26835
26836
26837
26838
26839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
26840 $as_echo_n "checking for logl declaration... " >&6; }
26841 if test x${glibcxx_cv_func_logl_use+set} != xset; then
26842 if ${glibcxx_cv_func_logl_use+:} false; then :
26843 $as_echo_n "(cached) " >&6
26844 else
26845
26846
26847 ac_ext=cpp
26848 ac_cpp='$CXXCPP $CPPFLAGS'
26849 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26850 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26851 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26852
26853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26854 /* end confdefs.h. */
26855 #include <math.h>
26856 #ifdef HAVE_IEEEFP_H
26857 #include <ieeefp.h>
26858 #endif
26859
26860 int
26861 main ()
26862 {
26863 logl(0);
26864 ;
26865 return 0;
26866 }
26867 _ACEOF
26868 if ac_fn_cxx_try_compile "$LINENO"; then :
26869 glibcxx_cv_func_logl_use=yes
26870 else
26871 glibcxx_cv_func_logl_use=no
26872 fi
26873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26874 ac_ext=c
26875 ac_cpp='$CPP $CPPFLAGS'
26876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26879
26880
26881 fi
26882
26883 fi
26884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
26885 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
26886
26887 if test x$glibcxx_cv_func_logl_use = x"yes"; then
26888 for ac_func in logl
26889 do :
26890 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
26891 if test "x$ac_cv_func_logl" = xyes; then :
26892 cat >>confdefs.h <<_ACEOF
26893 #define HAVE_LOGL 1
26894 _ACEOF
26895
26896 fi
26897 done
26898
26899 else
26900
26901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
26902 $as_echo_n "checking for _logl declaration... " >&6; }
26903 if test x${glibcxx_cv_func__logl_use+set} != xset; then
26904 if ${glibcxx_cv_func__logl_use+:} false; then :
26905 $as_echo_n "(cached) " >&6
26906 else
26907
26908
26909 ac_ext=cpp
26910 ac_cpp='$CXXCPP $CPPFLAGS'
26911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26914
26915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26916 /* end confdefs.h. */
26917 #include <math.h>
26918 #ifdef HAVE_IEEEFP_H
26919 #include <ieeefp.h>
26920 #endif
26921
26922 int
26923 main ()
26924 {
26925 _logl(0);
26926 ;
26927 return 0;
26928 }
26929 _ACEOF
26930 if ac_fn_cxx_try_compile "$LINENO"; then :
26931 glibcxx_cv_func__logl_use=yes
26932 else
26933 glibcxx_cv_func__logl_use=no
26934 fi
26935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26936 ac_ext=c
26937 ac_cpp='$CPP $CPPFLAGS'
26938 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26939 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26940 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26941
26942
26943 fi
26944
26945 fi
26946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
26947 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
26948
26949 if test x$glibcxx_cv_func__logl_use = x"yes"; then
26950 for ac_func in _logl
26951 do :
26952 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
26953 if test "x$ac_cv_func__logl" = xyes; then :
26954 cat >>confdefs.h <<_ACEOF
26955 #define HAVE__LOGL 1
26956 _ACEOF
26957
26958 fi
26959 done
26960
26961 fi
26962 fi
26963
26964
26965
26966
26967
26968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
26969 $as_echo_n "checking for log10l declaration... " >&6; }
26970 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
26971 if ${glibcxx_cv_func_log10l_use+:} false; then :
26972 $as_echo_n "(cached) " >&6
26973 else
26974
26975
26976 ac_ext=cpp
26977 ac_cpp='$CXXCPP $CPPFLAGS'
26978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26981
26982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
26983 /* end confdefs.h. */
26984 #include <math.h>
26985 #ifdef HAVE_IEEEFP_H
26986 #include <ieeefp.h>
26987 #endif
26988
26989 int
26990 main ()
26991 {
26992 log10l(0);
26993 ;
26994 return 0;
26995 }
26996 _ACEOF
26997 if ac_fn_cxx_try_compile "$LINENO"; then :
26998 glibcxx_cv_func_log10l_use=yes
26999 else
27000 glibcxx_cv_func_log10l_use=no
27001 fi
27002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27003 ac_ext=c
27004 ac_cpp='$CPP $CPPFLAGS'
27005 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27006 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27007 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27008
27009
27010 fi
27011
27012 fi
27013 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
27014 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
27015
27016 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
27017 for ac_func in log10l
27018 do :
27019 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
27020 if test "x$ac_cv_func_log10l" = xyes; then :
27021 cat >>confdefs.h <<_ACEOF
27022 #define HAVE_LOG10L 1
27023 _ACEOF
27024
27025 fi
27026 done
27027
27028 else
27029
27030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
27031 $as_echo_n "checking for _log10l declaration... " >&6; }
27032 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
27033 if ${glibcxx_cv_func__log10l_use+:} false; then :
27034 $as_echo_n "(cached) " >&6
27035 else
27036
27037
27038 ac_ext=cpp
27039 ac_cpp='$CXXCPP $CPPFLAGS'
27040 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27041 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27042 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27043
27044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27045 /* end confdefs.h. */
27046 #include <math.h>
27047 #ifdef HAVE_IEEEFP_H
27048 #include <ieeefp.h>
27049 #endif
27050
27051 int
27052 main ()
27053 {
27054 _log10l(0);
27055 ;
27056 return 0;
27057 }
27058 _ACEOF
27059 if ac_fn_cxx_try_compile "$LINENO"; then :
27060 glibcxx_cv_func__log10l_use=yes
27061 else
27062 glibcxx_cv_func__log10l_use=no
27063 fi
27064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27065 ac_ext=c
27066 ac_cpp='$CPP $CPPFLAGS'
27067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27070
27071
27072 fi
27073
27074 fi
27075 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
27076 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
27077
27078 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
27079 for ac_func in _log10l
27080 do :
27081 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
27082 if test "x$ac_cv_func__log10l" = xyes; then :
27083 cat >>confdefs.h <<_ACEOF
27084 #define HAVE__LOG10L 1
27085 _ACEOF
27086
27087 fi
27088 done
27089
27090 fi
27091 fi
27092
27093
27094
27095
27096
27097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
27098 $as_echo_n "checking for modfl declaration... " >&6; }
27099 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
27100 if ${glibcxx_cv_func_modfl_use+:} false; then :
27101 $as_echo_n "(cached) " >&6
27102 else
27103
27104
27105 ac_ext=cpp
27106 ac_cpp='$CXXCPP $CPPFLAGS'
27107 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27108 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27109 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27110
27111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27112 /* end confdefs.h. */
27113 #include <math.h>
27114 int
27115 main ()
27116 {
27117 modfl(0, 0);
27118 ;
27119 return 0;
27120 }
27121 _ACEOF
27122 if ac_fn_cxx_try_compile "$LINENO"; then :
27123 glibcxx_cv_func_modfl_use=yes
27124 else
27125 glibcxx_cv_func_modfl_use=no
27126 fi
27127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27128 ac_ext=c
27129 ac_cpp='$CPP $CPPFLAGS'
27130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27133
27134
27135 fi
27136
27137 fi
27138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
27139 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
27140
27141 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
27142 for ac_func in modfl
27143 do :
27144 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
27145 if test "x$ac_cv_func_modfl" = xyes; then :
27146 cat >>confdefs.h <<_ACEOF
27147 #define HAVE_MODFL 1
27148 _ACEOF
27149
27150 fi
27151 done
27152
27153 else
27154
27155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
27156 $as_echo_n "checking for _modfl declaration... " >&6; }
27157 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
27158 if ${glibcxx_cv_func__modfl_use+:} false; then :
27159 $as_echo_n "(cached) " >&6
27160 else
27161
27162
27163 ac_ext=cpp
27164 ac_cpp='$CXXCPP $CPPFLAGS'
27165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27168
27169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27170 /* end confdefs.h. */
27171 #include <math.h>
27172 int
27173 main ()
27174 {
27175 _modfl(0, 0);
27176 ;
27177 return 0;
27178 }
27179 _ACEOF
27180 if ac_fn_cxx_try_compile "$LINENO"; then :
27181 glibcxx_cv_func__modfl_use=yes
27182 else
27183 glibcxx_cv_func__modfl_use=no
27184 fi
27185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27186 ac_ext=c
27187 ac_cpp='$CPP $CPPFLAGS'
27188 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27189 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27190 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27191
27192
27193 fi
27194
27195 fi
27196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
27197 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
27198
27199 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
27200 for ac_func in _modfl
27201 do :
27202 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
27203 if test "x$ac_cv_func__modfl" = xyes; then :
27204 cat >>confdefs.h <<_ACEOF
27205 #define HAVE__MODFL 1
27206 _ACEOF
27207
27208 fi
27209 done
27210
27211 fi
27212 fi
27213
27214
27215
27216
27217
27218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
27219 $as_echo_n "checking for powl declaration... " >&6; }
27220 if test x${glibcxx_cv_func_powl_use+set} != xset; then
27221 if ${glibcxx_cv_func_powl_use+:} false; then :
27222 $as_echo_n "(cached) " >&6
27223 else
27224
27225
27226 ac_ext=cpp
27227 ac_cpp='$CXXCPP $CPPFLAGS'
27228 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27229 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27230 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27231
27232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27233 /* end confdefs.h. */
27234 #include <math.h>
27235 int
27236 main ()
27237 {
27238 powl(0, 0);
27239 ;
27240 return 0;
27241 }
27242 _ACEOF
27243 if ac_fn_cxx_try_compile "$LINENO"; then :
27244 glibcxx_cv_func_powl_use=yes
27245 else
27246 glibcxx_cv_func_powl_use=no
27247 fi
27248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27249 ac_ext=c
27250 ac_cpp='$CPP $CPPFLAGS'
27251 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27252 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27253 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27254
27255
27256 fi
27257
27258 fi
27259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
27260 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
27261
27262 if test x$glibcxx_cv_func_powl_use = x"yes"; then
27263 for ac_func in powl
27264 do :
27265 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
27266 if test "x$ac_cv_func_powl" = xyes; then :
27267 cat >>confdefs.h <<_ACEOF
27268 #define HAVE_POWL 1
27269 _ACEOF
27270
27271 fi
27272 done
27273
27274 else
27275
27276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
27277 $as_echo_n "checking for _powl declaration... " >&6; }
27278 if test x${glibcxx_cv_func__powl_use+set} != xset; then
27279 if ${glibcxx_cv_func__powl_use+:} false; then :
27280 $as_echo_n "(cached) " >&6
27281 else
27282
27283
27284 ac_ext=cpp
27285 ac_cpp='$CXXCPP $CPPFLAGS'
27286 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27287 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27288 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27289
27290 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27291 /* end confdefs.h. */
27292 #include <math.h>
27293 int
27294 main ()
27295 {
27296 _powl(0, 0);
27297 ;
27298 return 0;
27299 }
27300 _ACEOF
27301 if ac_fn_cxx_try_compile "$LINENO"; then :
27302 glibcxx_cv_func__powl_use=yes
27303 else
27304 glibcxx_cv_func__powl_use=no
27305 fi
27306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27307 ac_ext=c
27308 ac_cpp='$CPP $CPPFLAGS'
27309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27312
27313
27314 fi
27315
27316 fi
27317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
27318 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
27319
27320 if test x$glibcxx_cv_func__powl_use = x"yes"; then
27321 for ac_func in _powl
27322 do :
27323 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
27324 if test "x$ac_cv_func__powl" = xyes; then :
27325 cat >>confdefs.h <<_ACEOF
27326 #define HAVE__POWL 1
27327 _ACEOF
27328
27329 fi
27330 done
27331
27332 fi
27333 fi
27334
27335
27336
27337
27338
27339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
27340 $as_echo_n "checking for sqrtl declaration... " >&6; }
27341 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
27342 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
27343 $as_echo_n "(cached) " >&6
27344 else
27345
27346
27347 ac_ext=cpp
27348 ac_cpp='$CXXCPP $CPPFLAGS'
27349 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27350 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27351 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27352
27353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27354 /* end confdefs.h. */
27355 #include <math.h>
27356 #ifdef HAVE_IEEEFP_H
27357 #include <ieeefp.h>
27358 #endif
27359
27360 int
27361 main ()
27362 {
27363 sqrtl(0);
27364 ;
27365 return 0;
27366 }
27367 _ACEOF
27368 if ac_fn_cxx_try_compile "$LINENO"; then :
27369 glibcxx_cv_func_sqrtl_use=yes
27370 else
27371 glibcxx_cv_func_sqrtl_use=no
27372 fi
27373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27374 ac_ext=c
27375 ac_cpp='$CPP $CPPFLAGS'
27376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27379
27380
27381 fi
27382
27383 fi
27384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
27385 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
27386
27387 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
27388 for ac_func in sqrtl
27389 do :
27390 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
27391 if test "x$ac_cv_func_sqrtl" = xyes; then :
27392 cat >>confdefs.h <<_ACEOF
27393 #define HAVE_SQRTL 1
27394 _ACEOF
27395
27396 fi
27397 done
27398
27399 else
27400
27401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
27402 $as_echo_n "checking for _sqrtl declaration... " >&6; }
27403 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
27404 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
27405 $as_echo_n "(cached) " >&6
27406 else
27407
27408
27409 ac_ext=cpp
27410 ac_cpp='$CXXCPP $CPPFLAGS'
27411 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27412 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27413 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27414
27415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27416 /* end confdefs.h. */
27417 #include <math.h>
27418 #ifdef HAVE_IEEEFP_H
27419 #include <ieeefp.h>
27420 #endif
27421
27422 int
27423 main ()
27424 {
27425 _sqrtl(0);
27426 ;
27427 return 0;
27428 }
27429 _ACEOF
27430 if ac_fn_cxx_try_compile "$LINENO"; then :
27431 glibcxx_cv_func__sqrtl_use=yes
27432 else
27433 glibcxx_cv_func__sqrtl_use=no
27434 fi
27435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27436 ac_ext=c
27437 ac_cpp='$CPP $CPPFLAGS'
27438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27441
27442
27443 fi
27444
27445 fi
27446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
27447 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
27448
27449 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
27450 for ac_func in _sqrtl
27451 do :
27452 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
27453 if test "x$ac_cv_func__sqrtl" = xyes; then :
27454 cat >>confdefs.h <<_ACEOF
27455 #define HAVE__SQRTL 1
27456 _ACEOF
27457
27458 fi
27459 done
27460
27461 fi
27462 fi
27463
27464
27465
27466
27467
27468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
27469 $as_echo_n "checking for sincosl declaration... " >&6; }
27470 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
27471 if ${glibcxx_cv_func_sincosl_use+:} false; then :
27472 $as_echo_n "(cached) " >&6
27473 else
27474
27475
27476 ac_ext=cpp
27477 ac_cpp='$CXXCPP $CPPFLAGS'
27478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27481
27482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27483 /* end confdefs.h. */
27484 #include <math.h>
27485 int
27486 main ()
27487 {
27488 sincosl(0, 0, 0);
27489 ;
27490 return 0;
27491 }
27492 _ACEOF
27493 if ac_fn_cxx_try_compile "$LINENO"; then :
27494 glibcxx_cv_func_sincosl_use=yes
27495 else
27496 glibcxx_cv_func_sincosl_use=no
27497 fi
27498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27499 ac_ext=c
27500 ac_cpp='$CPP $CPPFLAGS'
27501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27504
27505
27506 fi
27507
27508 fi
27509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
27510 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
27511
27512 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
27513 for ac_func in sincosl
27514 do :
27515 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
27516 if test "x$ac_cv_func_sincosl" = xyes; then :
27517 cat >>confdefs.h <<_ACEOF
27518 #define HAVE_SINCOSL 1
27519 _ACEOF
27520
27521 fi
27522 done
27523
27524 else
27525
27526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
27527 $as_echo_n "checking for _sincosl declaration... " >&6; }
27528 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
27529 if ${glibcxx_cv_func__sincosl_use+:} false; then :
27530 $as_echo_n "(cached) " >&6
27531 else
27532
27533
27534 ac_ext=cpp
27535 ac_cpp='$CXXCPP $CPPFLAGS'
27536 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27537 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27538 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27539
27540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27541 /* end confdefs.h. */
27542 #include <math.h>
27543 int
27544 main ()
27545 {
27546 _sincosl(0, 0, 0);
27547 ;
27548 return 0;
27549 }
27550 _ACEOF
27551 if ac_fn_cxx_try_compile "$LINENO"; then :
27552 glibcxx_cv_func__sincosl_use=yes
27553 else
27554 glibcxx_cv_func__sincosl_use=no
27555 fi
27556 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27557 ac_ext=c
27558 ac_cpp='$CPP $CPPFLAGS'
27559 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27560 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27561 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27562
27563
27564 fi
27565
27566 fi
27567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
27568 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
27569
27570 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
27571 for ac_func in _sincosl
27572 do :
27573 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
27574 if test "x$ac_cv_func__sincosl" = xyes; then :
27575 cat >>confdefs.h <<_ACEOF
27576 #define HAVE__SINCOSL 1
27577 _ACEOF
27578
27579 fi
27580 done
27581
27582 fi
27583 fi
27584
27585
27586
27587
27588
27589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
27590 $as_echo_n "checking for finitel declaration... " >&6; }
27591 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
27592 if ${glibcxx_cv_func_finitel_use+:} false; then :
27593 $as_echo_n "(cached) " >&6
27594 else
27595
27596
27597 ac_ext=cpp
27598 ac_cpp='$CXXCPP $CPPFLAGS'
27599 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27600 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27601 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27602
27603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27604 /* end confdefs.h. */
27605 #include <math.h>
27606 #ifdef HAVE_IEEEFP_H
27607 #include <ieeefp.h>
27608 #endif
27609
27610 int
27611 main ()
27612 {
27613 finitel(0);
27614 ;
27615 return 0;
27616 }
27617 _ACEOF
27618 if ac_fn_cxx_try_compile "$LINENO"; then :
27619 glibcxx_cv_func_finitel_use=yes
27620 else
27621 glibcxx_cv_func_finitel_use=no
27622 fi
27623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27624 ac_ext=c
27625 ac_cpp='$CPP $CPPFLAGS'
27626 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27627 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27628 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27629
27630
27631 fi
27632
27633 fi
27634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
27635 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
27636
27637 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
27638 for ac_func in finitel
27639 do :
27640 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
27641 if test "x$ac_cv_func_finitel" = xyes; then :
27642 cat >>confdefs.h <<_ACEOF
27643 #define HAVE_FINITEL 1
27644 _ACEOF
27645
27646 fi
27647 done
27648
27649 else
27650
27651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
27652 $as_echo_n "checking for _finitel declaration... " >&6; }
27653 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
27654 if ${glibcxx_cv_func__finitel_use+:} false; then :
27655 $as_echo_n "(cached) " >&6
27656 else
27657
27658
27659 ac_ext=cpp
27660 ac_cpp='$CXXCPP $CPPFLAGS'
27661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27664
27665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27666 /* end confdefs.h. */
27667 #include <math.h>
27668 #ifdef HAVE_IEEEFP_H
27669 #include <ieeefp.h>
27670 #endif
27671
27672 int
27673 main ()
27674 {
27675 _finitel(0);
27676 ;
27677 return 0;
27678 }
27679 _ACEOF
27680 if ac_fn_cxx_try_compile "$LINENO"; then :
27681 glibcxx_cv_func__finitel_use=yes
27682 else
27683 glibcxx_cv_func__finitel_use=no
27684 fi
27685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27686 ac_ext=c
27687 ac_cpp='$CPP $CPPFLAGS'
27688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27691
27692
27693 fi
27694
27695 fi
27696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
27697 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
27698
27699 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
27700 for ac_func in _finitel
27701 do :
27702 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
27703 if test "x$ac_cv_func__finitel" = xyes; then :
27704 cat >>confdefs.h <<_ACEOF
27705 #define HAVE__FINITEL 1
27706 _ACEOF
27707
27708 fi
27709 done
27710
27711 fi
27712 fi
27713
27714
27715
27716
27717 LIBS="$ac_save_LIBS"
27718 CXXFLAGS="$ac_save_CXXFLAGS"
27719
27720
27721 ac_test_CXXFLAGS="${CXXFLAGS+set}"
27722 ac_save_CXXFLAGS="$CXXFLAGS"
27723 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
27724
27725
27726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
27727 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
27728 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
27729 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
27730 $as_echo_n "(cached) " >&6
27731 else
27732
27733
27734 ac_ext=cpp
27735 ac_cpp='$CXXCPP $CPPFLAGS'
27736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27739
27740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27741 /* end confdefs.h. */
27742 #include <stdlib.h>
27743 int
27744 main ()
27745 {
27746 at_quick_exit(0);
27747 ;
27748 return 0;
27749 }
27750 _ACEOF
27751 if ac_fn_cxx_try_compile "$LINENO"; then :
27752 glibcxx_cv_func_at_quick_exit_use=yes
27753 else
27754 glibcxx_cv_func_at_quick_exit_use=no
27755 fi
27756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27757 ac_ext=c
27758 ac_cpp='$CPP $CPPFLAGS'
27759 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27760 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27761 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27762
27763
27764 fi
27765
27766 fi
27767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
27768 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
27769 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
27770 for ac_func in at_quick_exit
27771 do :
27772 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
27773 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
27774 cat >>confdefs.h <<_ACEOF
27775 #define HAVE_AT_QUICK_EXIT 1
27776 _ACEOF
27777
27778 fi
27779 done
27780
27781 fi
27782
27783
27784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
27785 $as_echo_n "checking for quick_exit declaration... " >&6; }
27786 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
27787 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
27788 $as_echo_n "(cached) " >&6
27789 else
27790
27791
27792 ac_ext=cpp
27793 ac_cpp='$CXXCPP $CPPFLAGS'
27794 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27795 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27796 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27797
27798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27799 /* end confdefs.h. */
27800 #include <stdlib.h>
27801 int
27802 main ()
27803 {
27804 quick_exit(0);
27805 ;
27806 return 0;
27807 }
27808 _ACEOF
27809 if ac_fn_cxx_try_compile "$LINENO"; then :
27810 glibcxx_cv_func_quick_exit_use=yes
27811 else
27812 glibcxx_cv_func_quick_exit_use=no
27813 fi
27814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27815 ac_ext=c
27816 ac_cpp='$CPP $CPPFLAGS'
27817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27820
27821
27822 fi
27823
27824 fi
27825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
27826 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
27827 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
27828 for ac_func in quick_exit
27829 do :
27830 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
27831 if test "x$ac_cv_func_quick_exit" = xyes; then :
27832 cat >>confdefs.h <<_ACEOF
27833 #define HAVE_QUICK_EXIT 1
27834 _ACEOF
27835
27836 fi
27837 done
27838
27839 fi
27840
27841
27842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
27843 $as_echo_n "checking for strtold declaration... " >&6; }
27844 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
27845 if ${glibcxx_cv_func_strtold_use+:} false; then :
27846 $as_echo_n "(cached) " >&6
27847 else
27848
27849
27850 ac_ext=cpp
27851 ac_cpp='$CXXCPP $CPPFLAGS'
27852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27855
27856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27857 /* end confdefs.h. */
27858 #include <stdlib.h>
27859 int
27860 main ()
27861 {
27862 strtold(0, 0);
27863 ;
27864 return 0;
27865 }
27866 _ACEOF
27867 if ac_fn_cxx_try_compile "$LINENO"; then :
27868 glibcxx_cv_func_strtold_use=yes
27869 else
27870 glibcxx_cv_func_strtold_use=no
27871 fi
27872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27873 ac_ext=c
27874 ac_cpp='$CPP $CPPFLAGS'
27875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27878
27879
27880 fi
27881
27882 fi
27883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
27884 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
27885 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
27886 for ac_func in strtold
27887 do :
27888 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
27889 if test "x$ac_cv_func_strtold" = xyes; then :
27890 cat >>confdefs.h <<_ACEOF
27891 #define HAVE_STRTOLD 1
27892 _ACEOF
27893
27894 fi
27895 done
27896
27897 fi
27898
27899
27900
27901
27902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
27903 $as_echo_n "checking for strtof declaration... " >&6; }
27904 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
27905 if ${glibcxx_cv_func_strtof_use+:} false; then :
27906 $as_echo_n "(cached) " >&6
27907 else
27908
27909
27910 ac_ext=cpp
27911 ac_cpp='$CXXCPP $CPPFLAGS'
27912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27915
27916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
27917 /* end confdefs.h. */
27918 #include <stdlib.h>
27919 int
27920 main ()
27921 {
27922 strtof(0, 0);
27923 ;
27924 return 0;
27925 }
27926 _ACEOF
27927 if ac_fn_cxx_try_compile "$LINENO"; then :
27928 glibcxx_cv_func_strtof_use=yes
27929 else
27930 glibcxx_cv_func_strtof_use=no
27931 fi
27932 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27933 ac_ext=c
27934 ac_cpp='$CPP $CPPFLAGS'
27935 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27936 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27937 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27938
27939
27940 fi
27941
27942 fi
27943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
27944 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
27945 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
27946 for ac_func in strtof
27947 do :
27948 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
27949 if test "x$ac_cv_func_strtof" = xyes; then :
27950 cat >>confdefs.h <<_ACEOF
27951 #define HAVE_STRTOF 1
27952 _ACEOF
27953
27954 fi
27955 done
27956
27957 fi
27958
27959
27960
27961
27962 CXXFLAGS="$ac_save_CXXFLAGS"
27963
27964
27965 # For /dev/random and /dev/urandom for std::random_device.
27966
27967
27968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device" >&5
27969 $as_echo_n "checking for \"/dev/random\" and \"/dev/urandom\" for std::random_device... " >&6; }
27970 if ${glibcxx_cv_dev_random+:} false; then :
27971 $as_echo_n "(cached) " >&6
27972 else
27973
27974 if test -r /dev/random && test -r /dev/urandom; then
27975 ## For MSys environment the test above is detected as false-positive
27976 ## on mingw-targets. So disable it explicitly for them.
27977 case ${target_os} in
27978 *mingw*) glibcxx_cv_dev_random=no ;;
27979 *) glibcxx_cv_dev_random=yes ;;
27980 esac
27981 else
27982 glibcxx_cv_dev_random=no;
27983 fi
27984
27985 fi
27986
27987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dev_random" >&5
27988 $as_echo "$glibcxx_cv_dev_random" >&6; }
27989
27990 if test x"$glibcxx_cv_dev_random" = x"yes"; then
27991
27992 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
27993
27994
27995 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
27996
27997 fi
27998
27999
28000
28001 # For TLS support.
28002
28003
28004 # Check whether --enable-tls was given.
28005 if test "${enable_tls+set}" = set; then :
28006 enableval=$enable_tls;
28007 case "$enableval" in
28008 yes|no) ;;
28009 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
28010 esac
28011
28012 else
28013 enable_tls=yes
28014 fi
28015
28016
28017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
28018 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
28019 if ${gcc_cv_have_tls+:} false; then :
28020 $as_echo_n "(cached) " >&6
28021 else
28022
28023 if test "$cross_compiling" = yes; then :
28024 if test x$gcc_no_link = xyes; then
28025 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28026 fi
28027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28028 /* end confdefs.h. */
28029 __thread int a; int b; int main() { return a = b; }
28030 _ACEOF
28031 if ac_fn_c_try_link "$LINENO"; then :
28032 chktls_save_LDFLAGS="$LDFLAGS"
28033 case $host in
28034 *-*-linux* | -*-uclinuxfdpic*)
28035 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
28036 ;;
28037 esac
28038 chktls_save_CFLAGS="$CFLAGS"
28039 CFLAGS="-fPIC $CFLAGS"
28040 if test x$gcc_no_link = xyes; then
28041 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28042 fi
28043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28044 /* end confdefs.h. */
28045 int f() { return 0; }
28046 _ACEOF
28047 if ac_fn_c_try_link "$LINENO"; then :
28048 if test x$gcc_no_link = xyes; then
28049 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28050 fi
28051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28052 /* end confdefs.h. */
28053 __thread int a; int b; int f() { return a = b; }
28054 _ACEOF
28055 if ac_fn_c_try_link "$LINENO"; then :
28056 gcc_cv_have_tls=yes
28057 else
28058 gcc_cv_have_tls=no
28059 fi
28060 rm -f core conftest.err conftest.$ac_objext \
28061 conftest$ac_exeext conftest.$ac_ext
28062 else
28063 gcc_cv_have_tls=yes
28064 fi
28065 rm -f core conftest.err conftest.$ac_objext \
28066 conftest$ac_exeext conftest.$ac_ext
28067 CFLAGS="$chktls_save_CFLAGS"
28068 LDFLAGS="$chktls_save_LDFLAGS"
28069 else
28070 gcc_cv_have_tls=no
28071 fi
28072 rm -f core conftest.err conftest.$ac_objext \
28073 conftest$ac_exeext conftest.$ac_ext
28074
28075
28076 else
28077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28078 /* end confdefs.h. */
28079 __thread int a; int b; int main() { return a = b; }
28080 _ACEOF
28081 if ac_fn_c_try_run "$LINENO"; then :
28082 chktls_save_LDFLAGS="$LDFLAGS"
28083 LDFLAGS="-static $LDFLAGS"
28084 if test x$gcc_no_link = xyes; then
28085 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28086 fi
28087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28088 /* end confdefs.h. */
28089 int main() { return 0; }
28090 _ACEOF
28091 if ac_fn_c_try_link "$LINENO"; then :
28092 if test "$cross_compiling" = yes; then :
28093 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28094 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28095 as_fn_error $? "cannot run test program while cross compiling
28096 See \`config.log' for more details" "$LINENO" 5; }
28097 else
28098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28099 /* end confdefs.h. */
28100 __thread int a; int b; int main() { return a = b; }
28101 _ACEOF
28102 if ac_fn_c_try_run "$LINENO"; then :
28103 gcc_cv_have_tls=yes
28104 else
28105 gcc_cv_have_tls=no
28106 fi
28107 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28108 conftest.$ac_objext conftest.beam conftest.$ac_ext
28109 fi
28110
28111 else
28112 gcc_cv_have_tls=yes
28113 fi
28114 rm -f core conftest.err conftest.$ac_objext \
28115 conftest$ac_exeext conftest.$ac_ext
28116 LDFLAGS="$chktls_save_LDFLAGS"
28117 if test $gcc_cv_have_tls = yes; then
28118 chktls_save_CFLAGS="$CFLAGS"
28119 thread_CFLAGS=failed
28120 for flag in '' '-pthread' '-lpthread'; do
28121 CFLAGS="$flag $chktls_save_CFLAGS"
28122 if test x$gcc_no_link = xyes; then
28123 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28124 fi
28125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28126 /* end confdefs.h. */
28127 #include <pthread.h>
28128 void *g(void *d) { return NULL; }
28129 int
28130 main ()
28131 {
28132 pthread_t t; pthread_create(&t,NULL,g,NULL);
28133 ;
28134 return 0;
28135 }
28136 _ACEOF
28137 if ac_fn_c_try_link "$LINENO"; then :
28138 thread_CFLAGS="$flag"
28139 fi
28140 rm -f core conftest.err conftest.$ac_objext \
28141 conftest$ac_exeext conftest.$ac_ext
28142 if test "X$thread_CFLAGS" != Xfailed; then
28143 break
28144 fi
28145 done
28146 CFLAGS="$chktls_save_CFLAGS"
28147 if test "X$thread_CFLAGS" != Xfailed; then
28148 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
28149 if test "$cross_compiling" = yes; then :
28150 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
28151 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
28152 as_fn_error $? "cannot run test program while cross compiling
28153 See \`config.log' for more details" "$LINENO" 5; }
28154 else
28155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28156 /* end confdefs.h. */
28157 #include <pthread.h>
28158 __thread int a;
28159 static int *volatile a_in_other_thread;
28160 static void *
28161 thread_func (void *arg)
28162 {
28163 a_in_other_thread = &a;
28164 return (void *)0;
28165 }
28166 int
28167 main ()
28168 {
28169 pthread_t thread;
28170 void *thread_retval;
28171 int *volatile a_in_main_thread;
28172 a_in_main_thread = &a;
28173 if (pthread_create (&thread, (pthread_attr_t *)0,
28174 thread_func, (void *)0))
28175 return 0;
28176 if (pthread_join (thread, &thread_retval))
28177 return 0;
28178 return (a_in_other_thread == a_in_main_thread);
28179 ;
28180 return 0;
28181 }
28182 _ACEOF
28183 if ac_fn_c_try_run "$LINENO"; then :
28184 gcc_cv_have_tls=yes
28185 else
28186 gcc_cv_have_tls=no
28187 fi
28188 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28189 conftest.$ac_objext conftest.beam conftest.$ac_ext
28190 fi
28191
28192 CFLAGS="$chktls_save_CFLAGS"
28193 fi
28194 fi
28195 else
28196 gcc_cv_have_tls=no
28197 fi
28198 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
28199 conftest.$ac_objext conftest.beam conftest.$ac_ext
28200 fi
28201
28202 fi
28203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
28204 $as_echo "$gcc_cv_have_tls" >&6; }
28205 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
28206
28207 $as_echo "#define HAVE_TLS 1" >>confdefs.h
28208
28209 fi
28210
28211 for ac_func in __cxa_thread_atexit_impl __cxa_thread_atexit
28212 do :
28213 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28214 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28215 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28216 cat >>confdefs.h <<_ACEOF
28217 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28218 _ACEOF
28219
28220 fi
28221 done
28222
28223 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
28224 do :
28225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
28226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
28227 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
28228 cat >>confdefs.h <<_ACEOF
28229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
28230 _ACEOF
28231
28232 fi
28233 done
28234
28235 for ac_func in _wfopen
28236 do :
28237 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
28238 if test "x$ac_cv_func__wfopen" = xyes; then :
28239 cat >>confdefs.h <<_ACEOF
28240 #define HAVE__WFOPEN 1
28241 _ACEOF
28242
28243 fi
28244 done
28245
28246
28247 # C11 functions for C++17 library
28248 for ac_func in timespec_get
28249 do :
28250 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
28251 if test "x$ac_cv_func_timespec_get" = xyes; then :
28252 cat >>confdefs.h <<_ACEOF
28253 #define HAVE_TIMESPEC_GET 1
28254 _ACEOF
28255
28256 fi
28257 done
28258
28259
28260 # For Networking TS.
28261 for ac_func in sockatmark
28262 do :
28263 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
28264 if test "x$ac_cv_func_sockatmark" = xyes; then :
28265 cat >>confdefs.h <<_ACEOF
28266 #define HAVE_SOCKATMARK 1
28267 _ACEOF
28268
28269 fi
28270 done
28271
28272
28273 # Non-standard functions used by C++17 std::from_chars
28274 for ac_func in uselocale
28275 do :
28276 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
28277 if test "x$ac_cv_func_uselocale" = xyes; then :
28278 cat >>confdefs.h <<_ACEOF
28279 #define HAVE_USELOCALE 1
28280 _ACEOF
28281
28282 fi
28283 done
28284
28285
28286 # For iconv support.
28287
28288 if test "X$prefix" = "XNONE"; then
28289 acl_final_prefix="$ac_default_prefix"
28290 else
28291 acl_final_prefix="$prefix"
28292 fi
28293 if test "X$exec_prefix" = "XNONE"; then
28294 acl_final_exec_prefix='${prefix}'
28295 else
28296 acl_final_exec_prefix="$exec_prefix"
28297 fi
28298 acl_save_prefix="$prefix"
28299 prefix="$acl_final_prefix"
28300 eval acl_final_exec_prefix=\"$acl_final_exec_prefix\"
28301 prefix="$acl_save_prefix"
28302
28303
28304 # Check whether --with-gnu-ld was given.
28305 if test "${with_gnu_ld+set}" = set; then :
28306 withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
28307 else
28308 with_gnu_ld=no
28309 fi
28310
28311 # Prepare PATH_SEPARATOR.
28312 # The user is always right.
28313 if test "${PATH_SEPARATOR+set}" != set; then
28314 echo "#! /bin/sh" >conf$$.sh
28315 echo "exit 0" >>conf$$.sh
28316 chmod +x conf$$.sh
28317 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
28318 PATH_SEPARATOR=';'
28319 else
28320 PATH_SEPARATOR=:
28321 fi
28322 rm -f conf$$.sh
28323 fi
28324 ac_prog=ld
28325 if test "$GCC" = yes; then
28326 # Check if gcc -print-prog-name=ld gives a path.
28327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld used by GCC" >&5
28328 $as_echo_n "checking for ld used by GCC... " >&6; }
28329 case $host in
28330 *-*-mingw*)
28331 # gcc leaves a trailing carriage return which upsets mingw
28332 ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
28333 *)
28334 ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
28335 esac
28336 case $ac_prog in
28337 # Accept absolute paths.
28338 [\\/]* | [A-Za-z]:[\\/]*)
28339 re_direlt='/[^/][^/]*/\.\./'
28340 # Canonicalize the path of ld
28341 ac_prog=`echo $ac_prog| sed 's%\\\\%/%g'`
28342 while echo $ac_prog | grep "$re_direlt" > /dev/null 2>&1; do
28343 ac_prog=`echo $ac_prog| sed "s%$re_direlt%/%"`
28344 done
28345 test -z "$LD" && LD="$ac_prog"
28346 ;;
28347 "")
28348 # If it fails, then pretend we aren't using GCC.
28349 ac_prog=ld
28350 ;;
28351 *)
28352 # If it is relative, then search for the first ld in PATH.
28353 with_gnu_ld=unknown
28354 ;;
28355 esac
28356 elif test "$with_gnu_ld" = yes; then
28357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU ld" >&5
28358 $as_echo_n "checking for GNU ld... " >&6; }
28359 else
28360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for non-GNU ld" >&5
28361 $as_echo_n "checking for non-GNU ld... " >&6; }
28362 fi
28363 if ${acl_cv_path_LD+:} false; then :
28364 $as_echo_n "(cached) " >&6
28365 else
28366 if test -z "$LD"; then
28367 IFS="${IFS= }"; ac_save_ifs="$IFS"; IFS="${IFS}${PATH_SEPARATOR-:}"
28368 for ac_dir in $PATH; do
28369 test -z "$ac_dir" && ac_dir=.
28370 if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
28371 acl_cv_path_LD="$ac_dir/$ac_prog"
28372 # Check to see if the program is GNU ld. I'd rather use --version,
28373 # but apparently some GNU ld's only accept -v.
28374 # Break only if it was the GNU/non-GNU ld that we prefer.
28375 if "$acl_cv_path_LD" -v 2>&1 < /dev/null | egrep '(GNU|with BFD)' > /dev/null; then
28376 test "$with_gnu_ld" != no && break
28377 else
28378 test "$with_gnu_ld" != yes && break
28379 fi
28380 fi
28381 done
28382 IFS="$ac_save_ifs"
28383 else
28384 acl_cv_path_LD="$LD" # Let the user override the test with a path.
28385 fi
28386 fi
28387
28388 LD="$acl_cv_path_LD"
28389 if test -n "$LD"; then
28390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
28391 $as_echo "$LD" >&6; }
28392 else
28393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
28394 $as_echo "no" >&6; }
28395 fi
28396 test -z "$LD" && as_fn_error $? "no acceptable ld found in \$PATH" "$LINENO" 5
28397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker ($LD) is GNU ld" >&5
28398 $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
28399 if ${acl_cv_prog_gnu_ld+:} false; then :
28400 $as_echo_n "(cached) " >&6
28401 else
28402 # I'd rather use --version here, but apparently some GNU ld's only accept -v.
28403 if $LD -v 2>&1 </dev/null | egrep '(GNU|with BFD)' 1>&5; then
28404 acl_cv_prog_gnu_ld=yes
28405 else
28406 acl_cv_prog_gnu_ld=no
28407 fi
28408 fi
28409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_prog_gnu_ld" >&5
28410 $as_echo "$acl_cv_prog_gnu_ld" >&6; }
28411 with_gnu_ld=$acl_cv_prog_gnu_ld
28412
28413
28414
28415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared library run path origin" >&5
28416 $as_echo_n "checking for shared library run path origin... " >&6; }
28417 if ${acl_cv_rpath+:} false; then :
28418 $as_echo_n "(cached) " >&6
28419 else
28420
28421 CC="$CC" GCC="$GCC" LDFLAGS="$LDFLAGS" LD="$LD" with_gnu_ld="$with_gnu_ld" \
28422 ${CONFIG_SHELL-/bin/sh} "$ac_aux_dir/config.rpath" "$host" > conftest.sh
28423 . ./conftest.sh
28424 rm -f ./conftest.sh
28425 acl_cv_rpath=done
28426
28427 fi
28428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acl_cv_rpath" >&5
28429 $as_echo "$acl_cv_rpath" >&6; }
28430 wl="$acl_cv_wl"
28431 libext="$acl_cv_libext"
28432 shlibext="$acl_cv_shlibext"
28433 hardcode_libdir_flag_spec="$acl_cv_hardcode_libdir_flag_spec"
28434 hardcode_libdir_separator="$acl_cv_hardcode_libdir_separator"
28435 hardcode_direct="$acl_cv_hardcode_direct"
28436 hardcode_minus_L="$acl_cv_hardcode_minus_L"
28437 # Check whether --enable-rpath was given.
28438 if test "${enable_rpath+set}" = set; then :
28439 enableval=$enable_rpath; :
28440 else
28441 enable_rpath=yes
28442 fi
28443
28444
28445
28446
28447
28448
28449
28450
28451 use_additional=yes
28452
28453 acl_save_prefix="$prefix"
28454 prefix="$acl_final_prefix"
28455 acl_save_exec_prefix="$exec_prefix"
28456 exec_prefix="$acl_final_exec_prefix"
28457
28458 eval additional_includedir=\"$includedir\"
28459 eval additional_libdir=\"$libdir\"
28460
28461 exec_prefix="$acl_save_exec_prefix"
28462 prefix="$acl_save_prefix"
28463
28464
28465 # Check whether --with-libiconv-prefix was given.
28466 if test "${with_libiconv_prefix+set}" = set; then :
28467 withval=$with_libiconv_prefix;
28468 if test "X$withval" = "Xno"; then
28469 use_additional=no
28470 else
28471 if test "X$withval" = "X"; then
28472
28473 acl_save_prefix="$prefix"
28474 prefix="$acl_final_prefix"
28475 acl_save_exec_prefix="$exec_prefix"
28476 exec_prefix="$acl_final_exec_prefix"
28477
28478 eval additional_includedir=\"$includedir\"
28479 eval additional_libdir=\"$libdir\"
28480
28481 exec_prefix="$acl_save_exec_prefix"
28482 prefix="$acl_save_prefix"
28483
28484 else
28485 additional_includedir="$withval/include"
28486 additional_libdir="$withval/lib"
28487 fi
28488 fi
28489
28490 fi
28491
28492
28493 # Check whether --with-libiconv-type was given.
28494 if test "${with_libiconv_type+set}" = set; then :
28495 withval=$with_libiconv_type; with_libiconv_type=$withval
28496 else
28497 with_libiconv_type=auto
28498 fi
28499
28500 lib_type=`eval echo \$with_libiconv_type`
28501
28502 LIBICONV=
28503 LTLIBICONV=
28504 INCICONV=
28505 rpathdirs=
28506 ltrpathdirs=
28507 names_already_handled=
28508 names_next_round='iconv '
28509 while test -n "$names_next_round"; do
28510 names_this_round="$names_next_round"
28511 names_next_round=
28512 for name in $names_this_round; do
28513 already_handled=
28514 for n in $names_already_handled; do
28515 if test "$n" = "$name"; then
28516 already_handled=yes
28517 break
28518 fi
28519 done
28520 if test -z "$already_handled"; then
28521 names_already_handled="$names_already_handled $name"
28522 uppername=`echo "$name" | sed -e 'y|abcdefghijklmnopqrstuvwxyz./-|ABCDEFGHIJKLMNOPQRSTUVWXYZ___|'`
28523 eval value=\"\$HAVE_LIB$uppername\"
28524 if test -n "$value"; then
28525 if test "$value" = yes; then
28526 eval value=\"\$LIB$uppername\"
28527 test -z "$value" || LIBICONV="${LIBICONV}${LIBICONV:+ }$value"
28528 eval value=\"\$LTLIB$uppername\"
28529 test -z "$value" || LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$value"
28530 else
28531 :
28532 fi
28533 else
28534 found_dir=
28535 found_la=
28536 found_so=
28537 found_a=
28538 if test $use_additional = yes; then
28539 if test -n "$shlibext" && test -f "$additional_libdir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28540 found_dir="$additional_libdir"
28541 found_so="$additional_libdir/lib$name.$shlibext"
28542 if test -f "$additional_libdir/lib$name.la"; then
28543 found_la="$additional_libdir/lib$name.la"
28544 fi
28545 elif test x$lib_type != xshared; then
28546 if test -f "$additional_libdir/lib$name.$libext"; then
28547 found_dir="$additional_libdir"
28548 found_a="$additional_libdir/lib$name.$libext"
28549 if test -f "$additional_libdir/lib$name.la"; then
28550 found_la="$additional_libdir/lib$name.la"
28551 fi
28552 fi
28553 fi
28554 fi
28555 if test "X$found_dir" = "X"; then
28556 for x in $LDFLAGS $LTLIBICONV; do
28557
28558 acl_save_prefix="$prefix"
28559 prefix="$acl_final_prefix"
28560 acl_save_exec_prefix="$exec_prefix"
28561 exec_prefix="$acl_final_exec_prefix"
28562 eval x=\"$x\"
28563 exec_prefix="$acl_save_exec_prefix"
28564 prefix="$acl_save_prefix"
28565
28566 case "$x" in
28567 -L*)
28568 dir=`echo "X$x" | sed -e 's/^X-L//'`
28569 if test -n "$shlibext" && test -f "$dir/lib$name.$shlibext" && test x$lib_type != xstatic; then
28570 found_dir="$dir"
28571 found_so="$dir/lib$name.$shlibext"
28572 if test -f "$dir/lib$name.la"; then
28573 found_la="$dir/lib$name.la"
28574 fi
28575 elif test x$lib_type != xshared; then
28576 if test -f "$dir/lib$name.$libext"; then
28577 found_dir="$dir"
28578 found_a="$dir/lib$name.$libext"
28579 if test -f "$dir/lib$name.la"; then
28580 found_la="$dir/lib$name.la"
28581 fi
28582 fi
28583 fi
28584 ;;
28585 esac
28586 if test "X$found_dir" != "X"; then
28587 break
28588 fi
28589 done
28590 fi
28591 if test "X$found_dir" != "X"; then
28592 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$found_dir -l$name"
28593 if test "X$found_so" != "X"; then
28594 if test "$enable_rpath" = no || test "X$found_dir" = "X/usr/lib"; then
28595 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28596 else
28597 haveit=
28598 for x in $ltrpathdirs; do
28599 if test "X$x" = "X$found_dir"; then
28600 haveit=yes
28601 break
28602 fi
28603 done
28604 if test -z "$haveit"; then
28605 ltrpathdirs="$ltrpathdirs $found_dir"
28606 fi
28607 if test "$hardcode_direct" = yes; then
28608 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28609 else
28610 if test -n "$hardcode_libdir_flag_spec" && test "$hardcode_minus_L" = no; then
28611 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28612 haveit=
28613 for x in $rpathdirs; do
28614 if test "X$x" = "X$found_dir"; then
28615 haveit=yes
28616 break
28617 fi
28618 done
28619 if test -z "$haveit"; then
28620 rpathdirs="$rpathdirs $found_dir"
28621 fi
28622 else
28623 haveit=
28624 for x in $LDFLAGS $LIBICONV; do
28625
28626 acl_save_prefix="$prefix"
28627 prefix="$acl_final_prefix"
28628 acl_save_exec_prefix="$exec_prefix"
28629 exec_prefix="$acl_final_exec_prefix"
28630 eval x=\"$x\"
28631 exec_prefix="$acl_save_exec_prefix"
28632 prefix="$acl_save_prefix"
28633
28634 if test "X$x" = "X-L$found_dir"; then
28635 haveit=yes
28636 break
28637 fi
28638 done
28639 if test -z "$haveit"; then
28640 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir"
28641 fi
28642 if test "$hardcode_minus_L" != no; then
28643 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_so"
28644 else
28645 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28646 fi
28647 fi
28648 fi
28649 fi
28650 else
28651 if test "X$found_a" != "X"; then
28652 LIBICONV="${LIBICONV}${LIBICONV:+ }$found_a"
28653 else
28654 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$found_dir -l$name"
28655 fi
28656 fi
28657 additional_includedir=
28658 case "$found_dir" in
28659 */lib | */lib/)
28660 basedir=`echo "X$found_dir" | sed -e 's,^X,,' -e 's,/lib/*$,,'`
28661 additional_includedir="$basedir/include"
28662 ;;
28663 esac
28664 if test "X$additional_includedir" != "X"; then
28665 if test "X$additional_includedir" != "X/usr/include"; then
28666 haveit=
28667 if test "X$additional_includedir" = "X/usr/local/include"; then
28668 if test -n "$GCC"; then
28669 case $host_os in
28670 linux*) haveit=yes;;
28671 esac
28672 fi
28673 fi
28674 if test -z "$haveit"; then
28675 for x in $CPPFLAGS $INCICONV; do
28676
28677 acl_save_prefix="$prefix"
28678 prefix="$acl_final_prefix"
28679 acl_save_exec_prefix="$exec_prefix"
28680 exec_prefix="$acl_final_exec_prefix"
28681 eval x=\"$x\"
28682 exec_prefix="$acl_save_exec_prefix"
28683 prefix="$acl_save_prefix"
28684
28685 if test "X$x" = "X-I$additional_includedir"; then
28686 haveit=yes
28687 break
28688 fi
28689 done
28690 if test -z "$haveit"; then
28691 if test -d "$additional_includedir"; then
28692 INCICONV="${INCICONV}${INCICONV:+ }-I$additional_includedir"
28693 fi
28694 fi
28695 fi
28696 fi
28697 fi
28698 if test -n "$found_la"; then
28699 save_libdir="$libdir"
28700 case "$found_la" in
28701 */* | *\\*) . "$found_la" ;;
28702 *) . "./$found_la" ;;
28703 esac
28704 libdir="$save_libdir"
28705 for dep in $dependency_libs; do
28706 case "$dep" in
28707 -L*)
28708 additional_libdir=`echo "X$dep" | sed -e 's/^X-L//'`
28709 if test "X$additional_libdir" != "X/usr/lib"; then
28710 haveit=
28711 if test "X$additional_libdir" = "X/usr/local/lib"; then
28712 if test -n "$GCC"; then
28713 case $host_os in
28714 linux*) haveit=yes;;
28715 esac
28716 fi
28717 fi
28718 if test -z "$haveit"; then
28719 haveit=
28720 for x in $LDFLAGS $LIBICONV; do
28721
28722 acl_save_prefix="$prefix"
28723 prefix="$acl_final_prefix"
28724 acl_save_exec_prefix="$exec_prefix"
28725 exec_prefix="$acl_final_exec_prefix"
28726 eval x=\"$x\"
28727 exec_prefix="$acl_save_exec_prefix"
28728 prefix="$acl_save_prefix"
28729
28730 if test "X$x" = "X-L$additional_libdir"; then
28731 haveit=yes
28732 break
28733 fi
28734 done
28735 if test -z "$haveit"; then
28736 if test -d "$additional_libdir"; then
28737 LIBICONV="${LIBICONV}${LIBICONV:+ }-L$additional_libdir"
28738 fi
28739 fi
28740 haveit=
28741 for x in $LDFLAGS $LTLIBICONV; do
28742
28743 acl_save_prefix="$prefix"
28744 prefix="$acl_final_prefix"
28745 acl_save_exec_prefix="$exec_prefix"
28746 exec_prefix="$acl_final_exec_prefix"
28747 eval x=\"$x\"
28748 exec_prefix="$acl_save_exec_prefix"
28749 prefix="$acl_save_prefix"
28750
28751 if test "X$x" = "X-L$additional_libdir"; then
28752 haveit=yes
28753 break
28754 fi
28755 done
28756 if test -z "$haveit"; then
28757 if test -d "$additional_libdir"; then
28758 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-L$additional_libdir"
28759 fi
28760 fi
28761 fi
28762 fi
28763 ;;
28764 -R*)
28765 dir=`echo "X$dep" | sed -e 's/^X-R//'`
28766 if test "$enable_rpath" != no; then
28767 haveit=
28768 for x in $rpathdirs; do
28769 if test "X$x" = "X$dir"; then
28770 haveit=yes
28771 break
28772 fi
28773 done
28774 if test -z "$haveit"; then
28775 rpathdirs="$rpathdirs $dir"
28776 fi
28777 haveit=
28778 for x in $ltrpathdirs; do
28779 if test "X$x" = "X$dir"; then
28780 haveit=yes
28781 break
28782 fi
28783 done
28784 if test -z "$haveit"; then
28785 ltrpathdirs="$ltrpathdirs $dir"
28786 fi
28787 fi
28788 ;;
28789 -l*)
28790 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's/^X-l//'`
28791 ;;
28792 *.la)
28793 names_next_round="$names_next_round "`echo "X$dep" | sed -e 's,^X.*/,,' -e 's,^lib,,' -e 's,\.la$,,'`
28794 ;;
28795 *)
28796 LIBICONV="${LIBICONV}${LIBICONV:+ }$dep"
28797 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }$dep"
28798 ;;
28799 esac
28800 done
28801 fi
28802 else
28803 if test "x$lib_type" = "xauto" || test "x$lib_type" = "xshared"; then
28804 LIBICONV="${LIBICONV}${LIBICONV:+ }-l$name"
28805 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l$name"
28806 else
28807 LIBICONV="${LIBICONV}${LIBICONV:+ }-l:lib$name.$libext"
28808 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-l:lib$name.$libext"
28809 fi
28810 fi
28811 fi
28812 fi
28813 done
28814 done
28815 if test "X$rpathdirs" != "X"; then
28816 if test -n "$hardcode_libdir_separator"; then
28817 alldirs=
28818 for found_dir in $rpathdirs; do
28819 alldirs="${alldirs}${alldirs:+$hardcode_libdir_separator}$found_dir"
28820 done
28821 acl_save_libdir="$libdir"
28822 libdir="$alldirs"
28823 eval flag=\"$hardcode_libdir_flag_spec\"
28824 libdir="$acl_save_libdir"
28825 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28826 else
28827 for found_dir in $rpathdirs; do
28828 acl_save_libdir="$libdir"
28829 libdir="$found_dir"
28830 eval flag=\"$hardcode_libdir_flag_spec\"
28831 libdir="$acl_save_libdir"
28832 LIBICONV="${LIBICONV}${LIBICONV:+ }$flag"
28833 done
28834 fi
28835 fi
28836 if test "X$ltrpathdirs" != "X"; then
28837 for found_dir in $ltrpathdirs; do
28838 LTLIBICONV="${LTLIBICONV}${LTLIBICONV:+ }-R$found_dir"
28839 done
28840 fi
28841
28842
28843
28844
28845
28846
28847
28848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
28849 $as_echo_n "checking for iconv... " >&6; }
28850 if ${am_cv_func_iconv+:} false; then :
28851 $as_echo_n "(cached) " >&6
28852 else
28853
28854 am_cv_func_iconv="no, consider installing GNU libiconv"
28855 am_cv_lib_iconv=no
28856 am_save_CPPFLAGS="$CPPFLAGS"
28857 CPPFLAGS="$CPPFLAGS $INCICONV"
28858 if test x$gcc_no_link = xyes; then
28859 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28860 fi
28861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28862 /* end confdefs.h. */
28863 #include <stdlib.h>
28864 #include <iconv.h>
28865 int
28866 main ()
28867 {
28868 iconv_t cd = iconv_open("","");
28869 iconv(cd,NULL,NULL,NULL,NULL);
28870 iconv_close(cd);
28871 ;
28872 return 0;
28873 }
28874 _ACEOF
28875 if ac_fn_c_try_link "$LINENO"; then :
28876 am_cv_func_iconv=yes
28877 fi
28878 rm -f core conftest.err conftest.$ac_objext \
28879 conftest$ac_exeext conftest.$ac_ext
28880 CPPFLAGS="$am_save_CPPFLAGS"
28881
28882 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
28883 for _libs in .libs _libs; do
28884 am_save_CPPFLAGS="$CPPFLAGS"
28885 am_save_LIBS="$LIBS"
28886 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
28887 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
28888 if test x$gcc_no_link = xyes; then
28889 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28890 fi
28891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28892 /* end confdefs.h. */
28893 #include <stdlib.h>
28894 #include <iconv.h>
28895 int
28896 main ()
28897 {
28898 iconv_t cd = iconv_open("","");
28899 iconv(cd,NULL,NULL,NULL,NULL);
28900 iconv_close(cd);
28901 ;
28902 return 0;
28903 }
28904 _ACEOF
28905 if ac_fn_c_try_link "$LINENO"; then :
28906 INCICONV="-I../libiconv/include"
28907 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
28908 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
28909 am_cv_lib_iconv=yes
28910 am_cv_func_iconv=yes
28911 fi
28912 rm -f core conftest.err conftest.$ac_objext \
28913 conftest$ac_exeext conftest.$ac_ext
28914 CPPFLAGS="$am_save_CPPFLAGS"
28915 LIBS="$am_save_LIBS"
28916 if test "$am_cv_func_iconv" = "yes"; then
28917 break
28918 fi
28919 done
28920 fi
28921
28922 if test "$am_cv_func_iconv" != yes; then
28923 am_save_CPPFLAGS="$CPPFLAGS"
28924 am_save_LIBS="$LIBS"
28925 CPPFLAGS="$CPPFLAGS $INCICONV"
28926 LIBS="$LIBS $LIBICONV"
28927 if test x$gcc_no_link = xyes; then
28928 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
28929 fi
28930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
28931 /* end confdefs.h. */
28932 #include <stdlib.h>
28933 #include <iconv.h>
28934 int
28935 main ()
28936 {
28937 iconv_t cd = iconv_open("","");
28938 iconv(cd,NULL,NULL,NULL,NULL);
28939 iconv_close(cd);
28940 ;
28941 return 0;
28942 }
28943 _ACEOF
28944 if ac_fn_c_try_link "$LINENO"; then :
28945 am_cv_lib_iconv=yes
28946 am_cv_func_iconv=yes
28947 fi
28948 rm -f core conftest.err conftest.$ac_objext \
28949 conftest$ac_exeext conftest.$ac_ext
28950 CPPFLAGS="$am_save_CPPFLAGS"
28951 LIBS="$am_save_LIBS"
28952 fi
28953
28954 fi
28955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
28956 $as_echo "$am_cv_func_iconv" >&6; }
28957 if test "$am_cv_func_iconv" = yes; then
28958
28959 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
28960
28961 fi
28962 if test "$am_cv_lib_iconv" = yes; then
28963
28964 for element in $INCICONV; do
28965 haveit=
28966 for x in $CPPFLAGS; do
28967
28968 acl_save_prefix="$prefix"
28969 prefix="$acl_final_prefix"
28970 acl_save_exec_prefix="$exec_prefix"
28971 exec_prefix="$acl_final_exec_prefix"
28972 eval x=\"$x\"
28973 exec_prefix="$acl_save_exec_prefix"
28974 prefix="$acl_save_prefix"
28975
28976 if test "X$x" = "X$element"; then
28977 haveit=yes
28978 break
28979 fi
28980 done
28981 if test -z "$haveit"; then
28982 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
28983 fi
28984 done
28985
28986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
28987 $as_echo_n "checking how to link with libiconv... " >&6; }
28988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
28989 $as_echo "$LIBICONV" >&6; }
28990 else
28991 LIBICONV=
28992 LTLIBICONV=
28993 fi
28994
28995
28996
28997 if test "$am_cv_func_iconv" = yes; then
28998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
28999 $as_echo_n "checking for iconv declaration... " >&6; }
29000 if ${am_cv_proto_iconv+:} false; then :
29001 $as_echo_n "(cached) " >&6
29002 else
29003
29004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29005 /* end confdefs.h. */
29006
29007 #include <stdlib.h>
29008 #include <iconv.h>
29009 extern
29010 #ifdef __cplusplus
29011 "C"
29012 #endif
29013 #if defined(__STDC__) || defined(__cplusplus)
29014 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
29015 #else
29016 size_t iconv();
29017 #endif
29018
29019 int
29020 main ()
29021 {
29022
29023 ;
29024 return 0;
29025 }
29026 _ACEOF
29027 if ac_fn_c_try_compile "$LINENO"; then :
29028 am_cv_proto_iconv_arg1=""
29029 else
29030 am_cv_proto_iconv_arg1="const"
29031 fi
29032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29033 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);"
29034 fi
29035
29036 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
29037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
29038 }$am_cv_proto_iconv" >&5
29039 $as_echo "${ac_t:-
29040 }$am_cv_proto_iconv" >&6; }
29041
29042 cat >>confdefs.h <<_ACEOF
29043 #define ICONV_CONST $am_cv_proto_iconv_arg1
29044 _ACEOF
29045
29046 fi
29047
29048
29049 else
29050
29051 # This lets us hard-code the functionality we know we'll have in the cross
29052 # target environment. "Let" is a sugar-coated word placed on an especially
29053 # dull and tedious hack, actually.
29054 #
29055 # Here's why GLIBCXX_CHECK_MATH_SUPPORT, and other autoconf macros
29056 # that involve linking, can't be used:
29057 # "cannot open sim-crt0.o"
29058 # "cannot open crt0.o"
29059 # etc. All this is because there currently exists no unified, consistent
29060 # way for top level CC information to be passed down to target directories:
29061 # newlib includes, newlib linking info, libgloss versus newlib crt0.o, etc.
29062 # When all of that is done, all of this hokey, excessive AC_DEFINE junk for
29063 # crosses can be removed.
29064
29065 # If Canadian cross, then don't pick up tools from the build directory.
29066 # Used only in GLIBCXX_EXPORT_INCLUDES.
29067 if test -n "$with_cross_host" &&
29068 test x"$build_alias" != x"$with_cross_host" &&
29069 test x"$build" != x"$target";
29070 then
29071 CANADIAN=yes
29072 else
29073 CANADIAN=no
29074 fi
29075
29076 # Construct crosses by hand, eliminating bits that need ld...
29077 # GLIBCXX_CHECK_MATH_SUPPORT
29078
29079 # First, test for "known" system libraries. We may be using newlib even
29080 # on a hosted environment.
29081 if test "x${with_newlib}" = "xyes"; then
29082 os_include_dir="os/newlib"
29083 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
29084
29085
29086 # GLIBCXX_CHECK_STDLIB_SUPPORT
29087 $as_echo "#define HAVE_STRTOF 1" >>confdefs.h
29088
29089
29090 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29091
29092 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29093
29094 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29095
29096 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29097
29098 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29099
29100 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29101
29102 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29103
29104 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29105
29106 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29107
29108 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29109
29110 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29111
29112 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29113
29114 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29115
29116 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29117
29118 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29119
29120 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29121
29122 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29123
29124 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29125
29126 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29127
29128 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29129
29130 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29131
29132 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29133
29134
29135 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
29136
29137 $as_echo "#define HAVE_MEMALIGN 1" >>confdefs.h
29138
29139 else
29140
29141 # Base decisions on target environment.
29142 case "${host}" in
29143 arm*-*-symbianelf*)
29144 # This is a freestanding configuration; there is nothing to do here.
29145 ;;
29146
29147 avr*-*-*)
29148 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
29149
29150 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
29151
29152 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
29153
29154 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
29155
29156 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
29157
29158 $as_echo "#define HAVE_COSF 1" >>confdefs.h
29159
29160 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
29161
29162 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
29163
29164 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
29165
29166 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
29167
29168 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
29169
29170 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
29171
29172 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
29173
29174 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
29175
29176 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
29177
29178 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
29179
29180 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
29181
29182 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
29183
29184 $as_echo "#define HAVE_POWF 1" >>confdefs.h
29185
29186 $as_echo "#define HAVE_SINF 1" >>confdefs.h
29187
29188 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
29189
29190 $as_echo "#define HAVE_TANF 1" >>confdefs.h
29191
29192 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
29193
29194 ;;
29195
29196 mips*-sde-elf*)
29197 # These definitions are for the SDE C library rather than newlib.
29198 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29199
29200
29201 # All these tests are for C++; save the language and the compiler flags.
29202 # The CXXFLAGS thing is suspicious, but based on similar bits previously
29203 # found in GLIBCXX_CONFIGURE.
29204
29205 ac_ext=cpp
29206 ac_cpp='$CXXCPP $CPPFLAGS'
29207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29210
29211 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29212 ac_save_CXXFLAGS="$CXXFLAGS"
29213
29214 # Check for -ffunction-sections -fdata-sections
29215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
29216 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
29217 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
29218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29219 /* end confdefs.h. */
29220 int foo; void bar() { };
29221 int
29222 main ()
29223 {
29224
29225 ;
29226 return 0;
29227 }
29228 _ACEOF
29229 if ac_fn_cxx_try_compile "$LINENO"; then :
29230 ac_fdsections=yes
29231 else
29232 ac_fdsections=no
29233 fi
29234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29235 if test "$ac_test_CXXFLAGS" = set; then
29236 CXXFLAGS="$ac_save_CXXFLAGS"
29237 else
29238 # this is the suspicious part
29239 CXXFLAGS=''
29240 fi
29241 if test x"$ac_fdsections" = x"yes"; then
29242 SECTION_FLAGS='-ffunction-sections -fdata-sections'
29243 fi
29244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
29245 $as_echo "$ac_fdsections" >&6; }
29246
29247 ac_ext=c
29248 ac_cpp='$CPP $CPPFLAGS'
29249 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29250 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29251 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29252
29253
29254
29255
29256 # If we're not using GNU ld, then there's no point in even trying these
29257 # tests. Check for that first. We should have already tested for gld
29258 # by now (in libtool), but require it now just to be safe...
29259 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
29260 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
29261
29262
29263
29264 # The name set by libtool depends on the version of libtool. Shame on us
29265 # for depending on an impl detail, but c'est la vie. Older versions used
29266 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
29267 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
29268 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
29269 # set (hence we're using an older libtool), then set it.
29270 if test x${with_gnu_ld+set} != xset; then
29271 if test x${ac_cv_prog_gnu_ld+set} != xset; then
29272 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
29273 with_gnu_ld=no
29274 else
29275 with_gnu_ld=$ac_cv_prog_gnu_ld
29276 fi
29277 fi
29278
29279 # Start by getting the version number. I think the libtool test already
29280 # does some of this, but throws away the result.
29281 glibcxx_ld_is_gold=no
29282 if test x"$with_gnu_ld" = x"yes"; then
29283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
29284 $as_echo_n "checking for ld version... " >&6; }
29285
29286 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
29287 glibcxx_ld_is_gold=yes
29288 fi
29289 ldver=`$LD --version 2>/dev/null |
29290 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
29291
29292 glibcxx_gnu_ld_version=`echo $ldver | \
29293 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
29294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
29295 $as_echo "$glibcxx_gnu_ld_version" >&6; }
29296 fi
29297
29298 # Set --gc-sections.
29299 glibcxx_have_gc_sections=no
29300 if test "$glibcxx_ld_is_gold" = "yes"; then
29301 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
29302 glibcxx_have_gc_sections=yes
29303 fi
29304 else
29305 glibcxx_gcsections_min_ld=21602
29306 if test x"$with_gnu_ld" = x"yes" &&
29307 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
29308 glibcxx_have_gc_sections=yes
29309 fi
29310 fi
29311 if test "$glibcxx_have_gc_sections" = "yes"; then
29312 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
29313 # NB: This flag only works reliably after 2.16.1. Configure tests
29314 # for this are difficult, so hard wire a value that should work.
29315
29316 ac_test_CFLAGS="${CFLAGS+set}"
29317 ac_save_CFLAGS="$CFLAGS"
29318 CFLAGS='-Wl,--gc-sections'
29319
29320 # Check for -Wl,--gc-sections
29321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
29322 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
29323 if test x$gcc_no_link = xyes; then
29324 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29325 fi
29326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29327 /* end confdefs.h. */
29328 int one(void) { return 1; }
29329 int two(void) { return 2; }
29330
29331 int
29332 main ()
29333 {
29334 two();
29335 ;
29336 return 0;
29337 }
29338 _ACEOF
29339 if ac_fn_c_try_link "$LINENO"; then :
29340 ac_gcsections=yes
29341 else
29342 ac_gcsections=no
29343 fi
29344 rm -f core conftest.err conftest.$ac_objext \
29345 conftest$ac_exeext conftest.$ac_ext
29346 if test "$ac_gcsections" = "yes"; then
29347 rm -f conftest.c
29348 touch conftest.c
29349 if $CC -c conftest.c; then
29350 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
29351 grep "Warning: gc-sections option ignored" > /dev/null; then
29352 ac_gcsections=no
29353 fi
29354 fi
29355 rm -f conftest.c conftest.o conftest
29356 fi
29357 if test "$ac_gcsections" = "yes"; then
29358 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
29359 fi
29360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
29361 $as_echo "$ac_gcsections" >&6; }
29362
29363 if test "$ac_test_CFLAGS" = set; then
29364 CFLAGS="$ac_save_CFLAGS"
29365 else
29366 # this is the suspicious part
29367 CFLAGS=''
29368 fi
29369 fi
29370
29371 # Set -z,relro.
29372 # Note this is only for shared objects.
29373 ac_ld_relro=no
29374 if test x"$with_gnu_ld" = x"yes"; then
29375 # cygwin and mingw uses PE, which has no ELF relro support,
29376 # multi target ld may confuse configure machinery
29377 case "$host" in
29378 *-*-cygwin*)
29379 ;;
29380 *-*-mingw*)
29381 ;;
29382 *)
29383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
29384 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
29385 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
29386 if test -n "$cxx_z_relo"; then
29387 OPT_LDFLAGS="-Wl,-z,relro"
29388 ac_ld_relro=yes
29389 fi
29390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
29391 $as_echo "$ac_ld_relro" >&6; }
29392 esac
29393 fi
29394
29395 # Set linker optimization flags.
29396 if test x"$with_gnu_ld" = x"yes"; then
29397 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
29398 fi
29399
29400
29401
29402
29403
29404 ac_test_CXXFLAGS="${CXXFLAGS+set}"
29405 ac_save_CXXFLAGS="$CXXFLAGS"
29406 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
29407
29408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
29409 $as_echo_n "checking for sin in -lm... " >&6; }
29410 if ${ac_cv_lib_m_sin+:} false; then :
29411 $as_echo_n "(cached) " >&6
29412 else
29413 ac_check_lib_save_LIBS=$LIBS
29414 LIBS="-lm $LIBS"
29415 if test x$gcc_no_link = xyes; then
29416 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
29417 fi
29418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29419 /* end confdefs.h. */
29420
29421 /* Override any GCC internal prototype to avoid an error.
29422 Use char because int might match the return type of a GCC
29423 builtin and then its argument prototype would still apply. */
29424 #ifdef __cplusplus
29425 extern "C"
29426 #endif
29427 char sin ();
29428 int
29429 main ()
29430 {
29431 return sin ();
29432 ;
29433 return 0;
29434 }
29435 _ACEOF
29436 if ac_fn_c_try_link "$LINENO"; then :
29437 ac_cv_lib_m_sin=yes
29438 else
29439 ac_cv_lib_m_sin=no
29440 fi
29441 rm -f core conftest.err conftest.$ac_objext \
29442 conftest$ac_exeext conftest.$ac_ext
29443 LIBS=$ac_check_lib_save_LIBS
29444 fi
29445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
29446 $as_echo "$ac_cv_lib_m_sin" >&6; }
29447 if test "x$ac_cv_lib_m_sin" = xyes; then :
29448 libm="-lm"
29449 fi
29450
29451 ac_save_LIBS="$LIBS"
29452 LIBS="$LIBS $libm"
29453
29454
29455
29456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
29457 $as_echo_n "checking for isinf declaration... " >&6; }
29458 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
29459 if ${glibcxx_cv_func_isinf_use+:} false; then :
29460 $as_echo_n "(cached) " >&6
29461 else
29462
29463
29464 ac_ext=cpp
29465 ac_cpp='$CXXCPP $CPPFLAGS'
29466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29469
29470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29471 /* end confdefs.h. */
29472 #include <math.h>
29473 #ifdef HAVE_IEEEFP_H
29474 #include <ieeefp.h>
29475 #endif
29476
29477 int
29478 main ()
29479 {
29480 isinf(0);
29481 ;
29482 return 0;
29483 }
29484 _ACEOF
29485 if ac_fn_cxx_try_compile "$LINENO"; then :
29486 glibcxx_cv_func_isinf_use=yes
29487 else
29488 glibcxx_cv_func_isinf_use=no
29489 fi
29490 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29491 ac_ext=c
29492 ac_cpp='$CPP $CPPFLAGS'
29493 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29494 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29495 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29496
29497
29498 fi
29499
29500 fi
29501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
29502 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
29503
29504 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
29505 for ac_func in isinf
29506 do :
29507 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
29508 if test "x$ac_cv_func_isinf" = xyes; then :
29509 cat >>confdefs.h <<_ACEOF
29510 #define HAVE_ISINF 1
29511 _ACEOF
29512
29513 fi
29514 done
29515
29516 else
29517
29518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
29519 $as_echo_n "checking for _isinf declaration... " >&6; }
29520 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
29521 if ${glibcxx_cv_func__isinf_use+:} false; then :
29522 $as_echo_n "(cached) " >&6
29523 else
29524
29525
29526 ac_ext=cpp
29527 ac_cpp='$CXXCPP $CPPFLAGS'
29528 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29529 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29530 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29531
29532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29533 /* end confdefs.h. */
29534 #include <math.h>
29535 #ifdef HAVE_IEEEFP_H
29536 #include <ieeefp.h>
29537 #endif
29538
29539 int
29540 main ()
29541 {
29542 _isinf(0);
29543 ;
29544 return 0;
29545 }
29546 _ACEOF
29547 if ac_fn_cxx_try_compile "$LINENO"; then :
29548 glibcxx_cv_func__isinf_use=yes
29549 else
29550 glibcxx_cv_func__isinf_use=no
29551 fi
29552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29553 ac_ext=c
29554 ac_cpp='$CPP $CPPFLAGS'
29555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29558
29559
29560 fi
29561
29562 fi
29563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
29564 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
29565
29566 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
29567 for ac_func in _isinf
29568 do :
29569 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
29570 if test "x$ac_cv_func__isinf" = xyes; then :
29571 cat >>confdefs.h <<_ACEOF
29572 #define HAVE__ISINF 1
29573 _ACEOF
29574
29575 fi
29576 done
29577
29578 fi
29579 fi
29580
29581
29582
29583
29584
29585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
29586 $as_echo_n "checking for isnan declaration... " >&6; }
29587 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
29588 if ${glibcxx_cv_func_isnan_use+:} false; then :
29589 $as_echo_n "(cached) " >&6
29590 else
29591
29592
29593 ac_ext=cpp
29594 ac_cpp='$CXXCPP $CPPFLAGS'
29595 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29596 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29597 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29598
29599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29600 /* end confdefs.h. */
29601 #include <math.h>
29602 #ifdef HAVE_IEEEFP_H
29603 #include <ieeefp.h>
29604 #endif
29605
29606 int
29607 main ()
29608 {
29609 isnan(0);
29610 ;
29611 return 0;
29612 }
29613 _ACEOF
29614 if ac_fn_cxx_try_compile "$LINENO"; then :
29615 glibcxx_cv_func_isnan_use=yes
29616 else
29617 glibcxx_cv_func_isnan_use=no
29618 fi
29619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29620 ac_ext=c
29621 ac_cpp='$CPP $CPPFLAGS'
29622 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29623 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29624 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29625
29626
29627 fi
29628
29629 fi
29630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
29631 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
29632
29633 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
29634 for ac_func in isnan
29635 do :
29636 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
29637 if test "x$ac_cv_func_isnan" = xyes; then :
29638 cat >>confdefs.h <<_ACEOF
29639 #define HAVE_ISNAN 1
29640 _ACEOF
29641
29642 fi
29643 done
29644
29645 else
29646
29647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
29648 $as_echo_n "checking for _isnan declaration... " >&6; }
29649 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
29650 if ${glibcxx_cv_func__isnan_use+:} false; then :
29651 $as_echo_n "(cached) " >&6
29652 else
29653
29654
29655 ac_ext=cpp
29656 ac_cpp='$CXXCPP $CPPFLAGS'
29657 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29658 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29659 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29660
29661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29662 /* end confdefs.h. */
29663 #include <math.h>
29664 #ifdef HAVE_IEEEFP_H
29665 #include <ieeefp.h>
29666 #endif
29667
29668 int
29669 main ()
29670 {
29671 _isnan(0);
29672 ;
29673 return 0;
29674 }
29675 _ACEOF
29676 if ac_fn_cxx_try_compile "$LINENO"; then :
29677 glibcxx_cv_func__isnan_use=yes
29678 else
29679 glibcxx_cv_func__isnan_use=no
29680 fi
29681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29682 ac_ext=c
29683 ac_cpp='$CPP $CPPFLAGS'
29684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29687
29688
29689 fi
29690
29691 fi
29692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
29693 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
29694
29695 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
29696 for ac_func in _isnan
29697 do :
29698 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
29699 if test "x$ac_cv_func__isnan" = xyes; then :
29700 cat >>confdefs.h <<_ACEOF
29701 #define HAVE__ISNAN 1
29702 _ACEOF
29703
29704 fi
29705 done
29706
29707 fi
29708 fi
29709
29710
29711
29712
29713
29714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
29715 $as_echo_n "checking for finite declaration... " >&6; }
29716 if test x${glibcxx_cv_func_finite_use+set} != xset; then
29717 if ${glibcxx_cv_func_finite_use+:} false; then :
29718 $as_echo_n "(cached) " >&6
29719 else
29720
29721
29722 ac_ext=cpp
29723 ac_cpp='$CXXCPP $CPPFLAGS'
29724 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29725 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29726 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29727
29728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29729 /* end confdefs.h. */
29730 #include <math.h>
29731 #ifdef HAVE_IEEEFP_H
29732 #include <ieeefp.h>
29733 #endif
29734
29735 int
29736 main ()
29737 {
29738 finite(0);
29739 ;
29740 return 0;
29741 }
29742 _ACEOF
29743 if ac_fn_cxx_try_compile "$LINENO"; then :
29744 glibcxx_cv_func_finite_use=yes
29745 else
29746 glibcxx_cv_func_finite_use=no
29747 fi
29748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29749 ac_ext=c
29750 ac_cpp='$CPP $CPPFLAGS'
29751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29754
29755
29756 fi
29757
29758 fi
29759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
29760 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
29761
29762 if test x$glibcxx_cv_func_finite_use = x"yes"; then
29763 for ac_func in finite
29764 do :
29765 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
29766 if test "x$ac_cv_func_finite" = xyes; then :
29767 cat >>confdefs.h <<_ACEOF
29768 #define HAVE_FINITE 1
29769 _ACEOF
29770
29771 fi
29772 done
29773
29774 else
29775
29776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
29777 $as_echo_n "checking for _finite declaration... " >&6; }
29778 if test x${glibcxx_cv_func__finite_use+set} != xset; then
29779 if ${glibcxx_cv_func__finite_use+:} false; then :
29780 $as_echo_n "(cached) " >&6
29781 else
29782
29783
29784 ac_ext=cpp
29785 ac_cpp='$CXXCPP $CPPFLAGS'
29786 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29787 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29788 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29789
29790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29791 /* end confdefs.h. */
29792 #include <math.h>
29793 #ifdef HAVE_IEEEFP_H
29794 #include <ieeefp.h>
29795 #endif
29796
29797 int
29798 main ()
29799 {
29800 _finite(0);
29801 ;
29802 return 0;
29803 }
29804 _ACEOF
29805 if ac_fn_cxx_try_compile "$LINENO"; then :
29806 glibcxx_cv_func__finite_use=yes
29807 else
29808 glibcxx_cv_func__finite_use=no
29809 fi
29810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29811 ac_ext=c
29812 ac_cpp='$CPP $CPPFLAGS'
29813 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29814 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29815 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29816
29817
29818 fi
29819
29820 fi
29821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
29822 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
29823
29824 if test x$glibcxx_cv_func__finite_use = x"yes"; then
29825 for ac_func in _finite
29826 do :
29827 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
29828 if test "x$ac_cv_func__finite" = xyes; then :
29829 cat >>confdefs.h <<_ACEOF
29830 #define HAVE__FINITE 1
29831 _ACEOF
29832
29833 fi
29834 done
29835
29836 fi
29837 fi
29838
29839
29840
29841
29842
29843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
29844 $as_echo_n "checking for sincos declaration... " >&6; }
29845 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
29846 if ${glibcxx_cv_func_sincos_use+:} false; then :
29847 $as_echo_n "(cached) " >&6
29848 else
29849
29850
29851 ac_ext=cpp
29852 ac_cpp='$CXXCPP $CPPFLAGS'
29853 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29854 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29855 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29856
29857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29858 /* end confdefs.h. */
29859 #include <math.h>
29860 int
29861 main ()
29862 {
29863 sincos(0, 0, 0);
29864 ;
29865 return 0;
29866 }
29867 _ACEOF
29868 if ac_fn_cxx_try_compile "$LINENO"; then :
29869 glibcxx_cv_func_sincos_use=yes
29870 else
29871 glibcxx_cv_func_sincos_use=no
29872 fi
29873 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29874 ac_ext=c
29875 ac_cpp='$CPP $CPPFLAGS'
29876 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29877 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29878 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29879
29880
29881 fi
29882
29883 fi
29884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
29885 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
29886
29887 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
29888 for ac_func in sincos
29889 do :
29890 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
29891 if test "x$ac_cv_func_sincos" = xyes; then :
29892 cat >>confdefs.h <<_ACEOF
29893 #define HAVE_SINCOS 1
29894 _ACEOF
29895
29896 fi
29897 done
29898
29899 else
29900
29901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
29902 $as_echo_n "checking for _sincos declaration... " >&6; }
29903 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
29904 if ${glibcxx_cv_func__sincos_use+:} false; then :
29905 $as_echo_n "(cached) " >&6
29906 else
29907
29908
29909 ac_ext=cpp
29910 ac_cpp='$CXXCPP $CPPFLAGS'
29911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29914
29915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29916 /* end confdefs.h. */
29917 #include <math.h>
29918 int
29919 main ()
29920 {
29921 _sincos(0, 0, 0);
29922 ;
29923 return 0;
29924 }
29925 _ACEOF
29926 if ac_fn_cxx_try_compile "$LINENO"; then :
29927 glibcxx_cv_func__sincos_use=yes
29928 else
29929 glibcxx_cv_func__sincos_use=no
29930 fi
29931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29932 ac_ext=c
29933 ac_cpp='$CPP $CPPFLAGS'
29934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
29937
29938
29939 fi
29940
29941 fi
29942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
29943 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
29944
29945 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
29946 for ac_func in _sincos
29947 do :
29948 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
29949 if test "x$ac_cv_func__sincos" = xyes; then :
29950 cat >>confdefs.h <<_ACEOF
29951 #define HAVE__SINCOS 1
29952 _ACEOF
29953
29954 fi
29955 done
29956
29957 fi
29958 fi
29959
29960
29961
29962
29963
29964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
29965 $as_echo_n "checking for fpclass declaration... " >&6; }
29966 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
29967 if ${glibcxx_cv_func_fpclass_use+:} false; then :
29968 $as_echo_n "(cached) " >&6
29969 else
29970
29971
29972 ac_ext=cpp
29973 ac_cpp='$CXXCPP $CPPFLAGS'
29974 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
29975 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
29976 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
29977
29978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
29979 /* end confdefs.h. */
29980 #include <math.h>
29981 #ifdef HAVE_IEEEFP_H
29982 #include <ieeefp.h>
29983 #endif
29984
29985 int
29986 main ()
29987 {
29988 fpclass(0);
29989 ;
29990 return 0;
29991 }
29992 _ACEOF
29993 if ac_fn_cxx_try_compile "$LINENO"; then :
29994 glibcxx_cv_func_fpclass_use=yes
29995 else
29996 glibcxx_cv_func_fpclass_use=no
29997 fi
29998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29999 ac_ext=c
30000 ac_cpp='$CPP $CPPFLAGS'
30001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30004
30005
30006 fi
30007
30008 fi
30009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
30010 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
30011
30012 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
30013 for ac_func in fpclass
30014 do :
30015 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
30016 if test "x$ac_cv_func_fpclass" = xyes; then :
30017 cat >>confdefs.h <<_ACEOF
30018 #define HAVE_FPCLASS 1
30019 _ACEOF
30020
30021 fi
30022 done
30023
30024 else
30025
30026 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
30027 $as_echo_n "checking for _fpclass declaration... " >&6; }
30028 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
30029 if ${glibcxx_cv_func__fpclass_use+:} false; then :
30030 $as_echo_n "(cached) " >&6
30031 else
30032
30033
30034 ac_ext=cpp
30035 ac_cpp='$CXXCPP $CPPFLAGS'
30036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30039
30040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30041 /* end confdefs.h. */
30042 #include <math.h>
30043 #ifdef HAVE_IEEEFP_H
30044 #include <ieeefp.h>
30045 #endif
30046
30047 int
30048 main ()
30049 {
30050 _fpclass(0);
30051 ;
30052 return 0;
30053 }
30054 _ACEOF
30055 if ac_fn_cxx_try_compile "$LINENO"; then :
30056 glibcxx_cv_func__fpclass_use=yes
30057 else
30058 glibcxx_cv_func__fpclass_use=no
30059 fi
30060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30061 ac_ext=c
30062 ac_cpp='$CPP $CPPFLAGS'
30063 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30064 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30065 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30066
30067
30068 fi
30069
30070 fi
30071 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
30072 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
30073
30074 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
30075 for ac_func in _fpclass
30076 do :
30077 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
30078 if test "x$ac_cv_func__fpclass" = xyes; then :
30079 cat >>confdefs.h <<_ACEOF
30080 #define HAVE__FPCLASS 1
30081 _ACEOF
30082
30083 fi
30084 done
30085
30086 fi
30087 fi
30088
30089
30090
30091
30092
30093 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
30094 $as_echo_n "checking for qfpclass declaration... " >&6; }
30095 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
30096 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
30097 $as_echo_n "(cached) " >&6
30098 else
30099
30100
30101 ac_ext=cpp
30102 ac_cpp='$CXXCPP $CPPFLAGS'
30103 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30104 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30105 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30106
30107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30108 /* end confdefs.h. */
30109 #include <math.h>
30110 #ifdef HAVE_IEEEFP_H
30111 #include <ieeefp.h>
30112 #endif
30113
30114 int
30115 main ()
30116 {
30117 qfpclass(0);
30118 ;
30119 return 0;
30120 }
30121 _ACEOF
30122 if ac_fn_cxx_try_compile "$LINENO"; then :
30123 glibcxx_cv_func_qfpclass_use=yes
30124 else
30125 glibcxx_cv_func_qfpclass_use=no
30126 fi
30127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30128 ac_ext=c
30129 ac_cpp='$CPP $CPPFLAGS'
30130 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30131 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30132 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30133
30134
30135 fi
30136
30137 fi
30138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
30139 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
30140
30141 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
30142 for ac_func in qfpclass
30143 do :
30144 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
30145 if test "x$ac_cv_func_qfpclass" = xyes; then :
30146 cat >>confdefs.h <<_ACEOF
30147 #define HAVE_QFPCLASS 1
30148 _ACEOF
30149
30150 fi
30151 done
30152
30153 else
30154
30155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
30156 $as_echo_n "checking for _qfpclass declaration... " >&6; }
30157 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
30158 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
30159 $as_echo_n "(cached) " >&6
30160 else
30161
30162
30163 ac_ext=cpp
30164 ac_cpp='$CXXCPP $CPPFLAGS'
30165 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30166 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30167 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30168
30169 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30170 /* end confdefs.h. */
30171 #include <math.h>
30172 #ifdef HAVE_IEEEFP_H
30173 #include <ieeefp.h>
30174 #endif
30175
30176 int
30177 main ()
30178 {
30179 _qfpclass(0);
30180 ;
30181 return 0;
30182 }
30183 _ACEOF
30184 if ac_fn_cxx_try_compile "$LINENO"; then :
30185 glibcxx_cv_func__qfpclass_use=yes
30186 else
30187 glibcxx_cv_func__qfpclass_use=no
30188 fi
30189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30190 ac_ext=c
30191 ac_cpp='$CPP $CPPFLAGS'
30192 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30193 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30194 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30195
30196
30197 fi
30198
30199 fi
30200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
30201 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
30202
30203 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
30204 for ac_func in _qfpclass
30205 do :
30206 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
30207 if test "x$ac_cv_func__qfpclass" = xyes; then :
30208 cat >>confdefs.h <<_ACEOF
30209 #define HAVE__QFPCLASS 1
30210 _ACEOF
30211
30212 fi
30213 done
30214
30215 fi
30216 fi
30217
30218
30219
30220
30221
30222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
30223 $as_echo_n "checking for hypot declaration... " >&6; }
30224 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
30225 if ${glibcxx_cv_func_hypot_use+:} false; then :
30226 $as_echo_n "(cached) " >&6
30227 else
30228
30229
30230 ac_ext=cpp
30231 ac_cpp='$CXXCPP $CPPFLAGS'
30232 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30233 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30234 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30235
30236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30237 /* end confdefs.h. */
30238 #include <math.h>
30239 int
30240 main ()
30241 {
30242 hypot(0, 0);
30243 ;
30244 return 0;
30245 }
30246 _ACEOF
30247 if ac_fn_cxx_try_compile "$LINENO"; then :
30248 glibcxx_cv_func_hypot_use=yes
30249 else
30250 glibcxx_cv_func_hypot_use=no
30251 fi
30252 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30253 ac_ext=c
30254 ac_cpp='$CPP $CPPFLAGS'
30255 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30256 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30257 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30258
30259
30260 fi
30261
30262 fi
30263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
30264 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
30265
30266 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
30267 for ac_func in hypot
30268 do :
30269 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
30270 if test "x$ac_cv_func_hypot" = xyes; then :
30271 cat >>confdefs.h <<_ACEOF
30272 #define HAVE_HYPOT 1
30273 _ACEOF
30274
30275 fi
30276 done
30277
30278 else
30279
30280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
30281 $as_echo_n "checking for _hypot declaration... " >&6; }
30282 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
30283 if ${glibcxx_cv_func__hypot_use+:} false; then :
30284 $as_echo_n "(cached) " >&6
30285 else
30286
30287
30288 ac_ext=cpp
30289 ac_cpp='$CXXCPP $CPPFLAGS'
30290 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30291 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30292 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30293
30294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30295 /* end confdefs.h. */
30296 #include <math.h>
30297 int
30298 main ()
30299 {
30300 _hypot(0, 0);
30301 ;
30302 return 0;
30303 }
30304 _ACEOF
30305 if ac_fn_cxx_try_compile "$LINENO"; then :
30306 glibcxx_cv_func__hypot_use=yes
30307 else
30308 glibcxx_cv_func__hypot_use=no
30309 fi
30310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30311 ac_ext=c
30312 ac_cpp='$CPP $CPPFLAGS'
30313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30316
30317
30318 fi
30319
30320 fi
30321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
30322 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
30323
30324 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
30325 for ac_func in _hypot
30326 do :
30327 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
30328 if test "x$ac_cv_func__hypot" = xyes; then :
30329 cat >>confdefs.h <<_ACEOF
30330 #define HAVE__HYPOT 1
30331 _ACEOF
30332
30333 fi
30334 done
30335
30336 fi
30337 fi
30338
30339
30340
30341
30342
30343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
30344 $as_echo_n "checking for float trig functions... " >&6; }
30345 if ${glibcxx_cv_func_float_trig_use+:} false; then :
30346 $as_echo_n "(cached) " >&6
30347 else
30348
30349
30350 ac_ext=cpp
30351 ac_cpp='$CXXCPP $CPPFLAGS'
30352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30355
30356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30357 /* end confdefs.h. */
30358 #include <math.h>
30359 int
30360 main ()
30361 {
30362 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
30363 ;
30364 return 0;
30365 }
30366 _ACEOF
30367 if ac_fn_cxx_try_compile "$LINENO"; then :
30368 glibcxx_cv_func_float_trig_use=yes
30369 else
30370 glibcxx_cv_func_float_trig_use=no
30371 fi
30372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30373 ac_ext=c
30374 ac_cpp='$CPP $CPPFLAGS'
30375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30378
30379 fi
30380
30381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
30382 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
30383 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
30384 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
30385 do :
30386 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30387 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30388 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30389 cat >>confdefs.h <<_ACEOF
30390 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30391 _ACEOF
30392
30393 fi
30394 done
30395
30396 else
30397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
30398 $as_echo_n "checking for _float trig functions... " >&6; }
30399 if ${glibcxx_cv_func__float_trig_use+:} false; then :
30400 $as_echo_n "(cached) " >&6
30401 else
30402
30403
30404 ac_ext=cpp
30405 ac_cpp='$CXXCPP $CPPFLAGS'
30406 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30407 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30408 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30409
30410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30411 /* end confdefs.h. */
30412 #include <math.h>
30413 int
30414 main ()
30415 {
30416 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
30417 ;
30418 return 0;
30419 }
30420 _ACEOF
30421 if ac_fn_cxx_try_compile "$LINENO"; then :
30422 glibcxx_cv_func__float_trig_use=yes
30423 else
30424 glibcxx_cv_func__float_trig_use=no
30425 fi
30426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30427 ac_ext=c
30428 ac_cpp='$CPP $CPPFLAGS'
30429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30432
30433 fi
30434
30435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
30436 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
30437 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
30438 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
30439 do :
30440 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30441 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30442 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30443 cat >>confdefs.h <<_ACEOF
30444 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30445 _ACEOF
30446
30447 fi
30448 done
30449
30450 fi
30451 fi
30452
30453
30454
30455
30456
30457 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
30458 $as_echo_n "checking for float round functions... " >&6; }
30459 if ${glibcxx_cv_func_float_round_use+:} false; then :
30460 $as_echo_n "(cached) " >&6
30461 else
30462
30463
30464 ac_ext=cpp
30465 ac_cpp='$CXXCPP $CPPFLAGS'
30466 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30467 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30468 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30469
30470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30471 /* end confdefs.h. */
30472 #include <math.h>
30473 int
30474 main ()
30475 {
30476 ceilf (0); floorf (0);
30477 ;
30478 return 0;
30479 }
30480 _ACEOF
30481 if ac_fn_cxx_try_compile "$LINENO"; then :
30482 glibcxx_cv_func_float_round_use=yes
30483 else
30484 glibcxx_cv_func_float_round_use=no
30485 fi
30486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30487 ac_ext=c
30488 ac_cpp='$CPP $CPPFLAGS'
30489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30492
30493 fi
30494
30495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
30496 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
30497 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
30498 for ac_func in ceilf floorf
30499 do :
30500 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30501 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30502 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30503 cat >>confdefs.h <<_ACEOF
30504 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30505 _ACEOF
30506
30507 fi
30508 done
30509
30510 else
30511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
30512 $as_echo_n "checking for _float round functions... " >&6; }
30513 if ${glibcxx_cv_func__float_round_use+:} false; then :
30514 $as_echo_n "(cached) " >&6
30515 else
30516
30517
30518 ac_ext=cpp
30519 ac_cpp='$CXXCPP $CPPFLAGS'
30520 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30521 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30522 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30523
30524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30525 /* end confdefs.h. */
30526 #include <math.h>
30527 int
30528 main ()
30529 {
30530 _ceilf (0); _floorf (0);
30531 ;
30532 return 0;
30533 }
30534 _ACEOF
30535 if ac_fn_cxx_try_compile "$LINENO"; then :
30536 glibcxx_cv_func__float_round_use=yes
30537 else
30538 glibcxx_cv_func__float_round_use=no
30539 fi
30540 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30541 ac_ext=c
30542 ac_cpp='$CPP $CPPFLAGS'
30543 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30544 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30545 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30546
30547 fi
30548
30549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
30550 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
30551 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
30552 for ac_func in _ceilf _floorf
30553 do :
30554 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
30555 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
30556 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
30557 cat >>confdefs.h <<_ACEOF
30558 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
30559 _ACEOF
30560
30561 fi
30562 done
30563
30564 fi
30565 fi
30566
30567
30568
30569
30570
30571
30572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
30573 $as_echo_n "checking for expf declaration... " >&6; }
30574 if test x${glibcxx_cv_func_expf_use+set} != xset; then
30575 if ${glibcxx_cv_func_expf_use+:} false; then :
30576 $as_echo_n "(cached) " >&6
30577 else
30578
30579
30580 ac_ext=cpp
30581 ac_cpp='$CXXCPP $CPPFLAGS'
30582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30585
30586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30587 /* end confdefs.h. */
30588 #include <math.h>
30589 #ifdef HAVE_IEEEFP_H
30590 #include <ieeefp.h>
30591 #endif
30592
30593 int
30594 main ()
30595 {
30596 expf(0);
30597 ;
30598 return 0;
30599 }
30600 _ACEOF
30601 if ac_fn_cxx_try_compile "$LINENO"; then :
30602 glibcxx_cv_func_expf_use=yes
30603 else
30604 glibcxx_cv_func_expf_use=no
30605 fi
30606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30607 ac_ext=c
30608 ac_cpp='$CPP $CPPFLAGS'
30609 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30610 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30611 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30612
30613
30614 fi
30615
30616 fi
30617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
30618 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
30619
30620 if test x$glibcxx_cv_func_expf_use = x"yes"; then
30621 for ac_func in expf
30622 do :
30623 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
30624 if test "x$ac_cv_func_expf" = xyes; then :
30625 cat >>confdefs.h <<_ACEOF
30626 #define HAVE_EXPF 1
30627 _ACEOF
30628
30629 fi
30630 done
30631
30632 else
30633
30634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
30635 $as_echo_n "checking for _expf declaration... " >&6; }
30636 if test x${glibcxx_cv_func__expf_use+set} != xset; then
30637 if ${glibcxx_cv_func__expf_use+:} false; then :
30638 $as_echo_n "(cached) " >&6
30639 else
30640
30641
30642 ac_ext=cpp
30643 ac_cpp='$CXXCPP $CPPFLAGS'
30644 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30645 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30646 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30647
30648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30649 /* end confdefs.h. */
30650 #include <math.h>
30651 #ifdef HAVE_IEEEFP_H
30652 #include <ieeefp.h>
30653 #endif
30654
30655 int
30656 main ()
30657 {
30658 _expf(0);
30659 ;
30660 return 0;
30661 }
30662 _ACEOF
30663 if ac_fn_cxx_try_compile "$LINENO"; then :
30664 glibcxx_cv_func__expf_use=yes
30665 else
30666 glibcxx_cv_func__expf_use=no
30667 fi
30668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30669 ac_ext=c
30670 ac_cpp='$CPP $CPPFLAGS'
30671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30674
30675
30676 fi
30677
30678 fi
30679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
30680 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
30681
30682 if test x$glibcxx_cv_func__expf_use = x"yes"; then
30683 for ac_func in _expf
30684 do :
30685 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
30686 if test "x$ac_cv_func__expf" = xyes; then :
30687 cat >>confdefs.h <<_ACEOF
30688 #define HAVE__EXPF 1
30689 _ACEOF
30690
30691 fi
30692 done
30693
30694 fi
30695 fi
30696
30697
30698
30699
30700
30701 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
30702 $as_echo_n "checking for isnanf declaration... " >&6; }
30703 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
30704 if ${glibcxx_cv_func_isnanf_use+:} false; then :
30705 $as_echo_n "(cached) " >&6
30706 else
30707
30708
30709 ac_ext=cpp
30710 ac_cpp='$CXXCPP $CPPFLAGS'
30711 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30712 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30713 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30714
30715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30716 /* end confdefs.h. */
30717 #include <math.h>
30718 #ifdef HAVE_IEEEFP_H
30719 #include <ieeefp.h>
30720 #endif
30721
30722 int
30723 main ()
30724 {
30725 isnanf(0);
30726 ;
30727 return 0;
30728 }
30729 _ACEOF
30730 if ac_fn_cxx_try_compile "$LINENO"; then :
30731 glibcxx_cv_func_isnanf_use=yes
30732 else
30733 glibcxx_cv_func_isnanf_use=no
30734 fi
30735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30736 ac_ext=c
30737 ac_cpp='$CPP $CPPFLAGS'
30738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30741
30742
30743 fi
30744
30745 fi
30746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
30747 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
30748
30749 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
30750 for ac_func in isnanf
30751 do :
30752 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
30753 if test "x$ac_cv_func_isnanf" = xyes; then :
30754 cat >>confdefs.h <<_ACEOF
30755 #define HAVE_ISNANF 1
30756 _ACEOF
30757
30758 fi
30759 done
30760
30761 else
30762
30763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
30764 $as_echo_n "checking for _isnanf declaration... " >&6; }
30765 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
30766 if ${glibcxx_cv_func__isnanf_use+:} false; then :
30767 $as_echo_n "(cached) " >&6
30768 else
30769
30770
30771 ac_ext=cpp
30772 ac_cpp='$CXXCPP $CPPFLAGS'
30773 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30774 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30775 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30776
30777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30778 /* end confdefs.h. */
30779 #include <math.h>
30780 #ifdef HAVE_IEEEFP_H
30781 #include <ieeefp.h>
30782 #endif
30783
30784 int
30785 main ()
30786 {
30787 _isnanf(0);
30788 ;
30789 return 0;
30790 }
30791 _ACEOF
30792 if ac_fn_cxx_try_compile "$LINENO"; then :
30793 glibcxx_cv_func__isnanf_use=yes
30794 else
30795 glibcxx_cv_func__isnanf_use=no
30796 fi
30797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30798 ac_ext=c
30799 ac_cpp='$CPP $CPPFLAGS'
30800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30803
30804
30805 fi
30806
30807 fi
30808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
30809 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
30810
30811 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
30812 for ac_func in _isnanf
30813 do :
30814 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
30815 if test "x$ac_cv_func__isnanf" = xyes; then :
30816 cat >>confdefs.h <<_ACEOF
30817 #define HAVE__ISNANF 1
30818 _ACEOF
30819
30820 fi
30821 done
30822
30823 fi
30824 fi
30825
30826
30827
30828
30829
30830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
30831 $as_echo_n "checking for isinff declaration... " >&6; }
30832 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
30833 if ${glibcxx_cv_func_isinff_use+:} false; then :
30834 $as_echo_n "(cached) " >&6
30835 else
30836
30837
30838 ac_ext=cpp
30839 ac_cpp='$CXXCPP $CPPFLAGS'
30840 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30841 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30842 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30843
30844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30845 /* end confdefs.h. */
30846 #include <math.h>
30847 #ifdef HAVE_IEEEFP_H
30848 #include <ieeefp.h>
30849 #endif
30850
30851 int
30852 main ()
30853 {
30854 isinff(0);
30855 ;
30856 return 0;
30857 }
30858 _ACEOF
30859 if ac_fn_cxx_try_compile "$LINENO"; then :
30860 glibcxx_cv_func_isinff_use=yes
30861 else
30862 glibcxx_cv_func_isinff_use=no
30863 fi
30864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30865 ac_ext=c
30866 ac_cpp='$CPP $CPPFLAGS'
30867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30870
30871
30872 fi
30873
30874 fi
30875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
30876 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
30877
30878 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
30879 for ac_func in isinff
30880 do :
30881 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
30882 if test "x$ac_cv_func_isinff" = xyes; then :
30883 cat >>confdefs.h <<_ACEOF
30884 #define HAVE_ISINFF 1
30885 _ACEOF
30886
30887 fi
30888 done
30889
30890 else
30891
30892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
30893 $as_echo_n "checking for _isinff declaration... " >&6; }
30894 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
30895 if ${glibcxx_cv_func__isinff_use+:} false; then :
30896 $as_echo_n "(cached) " >&6
30897 else
30898
30899
30900 ac_ext=cpp
30901 ac_cpp='$CXXCPP $CPPFLAGS'
30902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30905
30906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30907 /* end confdefs.h. */
30908 #include <math.h>
30909 #ifdef HAVE_IEEEFP_H
30910 #include <ieeefp.h>
30911 #endif
30912
30913 int
30914 main ()
30915 {
30916 _isinff(0);
30917 ;
30918 return 0;
30919 }
30920 _ACEOF
30921 if ac_fn_cxx_try_compile "$LINENO"; then :
30922 glibcxx_cv_func__isinff_use=yes
30923 else
30924 glibcxx_cv_func__isinff_use=no
30925 fi
30926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30927 ac_ext=c
30928 ac_cpp='$CPP $CPPFLAGS'
30929 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30930 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30931 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30932
30933
30934 fi
30935
30936 fi
30937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
30938 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
30939
30940 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
30941 for ac_func in _isinff
30942 do :
30943 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
30944 if test "x$ac_cv_func__isinff" = xyes; then :
30945 cat >>confdefs.h <<_ACEOF
30946 #define HAVE__ISINFF 1
30947 _ACEOF
30948
30949 fi
30950 done
30951
30952 fi
30953 fi
30954
30955
30956
30957
30958
30959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
30960 $as_echo_n "checking for atan2f declaration... " >&6; }
30961 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
30962 if ${glibcxx_cv_func_atan2f_use+:} false; then :
30963 $as_echo_n "(cached) " >&6
30964 else
30965
30966
30967 ac_ext=cpp
30968 ac_cpp='$CXXCPP $CPPFLAGS'
30969 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30970 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30971 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
30972
30973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
30974 /* end confdefs.h. */
30975 #include <math.h>
30976 int
30977 main ()
30978 {
30979 atan2f(0, 0);
30980 ;
30981 return 0;
30982 }
30983 _ACEOF
30984 if ac_fn_cxx_try_compile "$LINENO"; then :
30985 glibcxx_cv_func_atan2f_use=yes
30986 else
30987 glibcxx_cv_func_atan2f_use=no
30988 fi
30989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30990 ac_ext=c
30991 ac_cpp='$CPP $CPPFLAGS'
30992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
30993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
30994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
30995
30996
30997 fi
30998
30999 fi
31000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
31001 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
31002
31003 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
31004 for ac_func in atan2f
31005 do :
31006 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
31007 if test "x$ac_cv_func_atan2f" = xyes; then :
31008 cat >>confdefs.h <<_ACEOF
31009 #define HAVE_ATAN2F 1
31010 _ACEOF
31011
31012 fi
31013 done
31014
31015 else
31016
31017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
31018 $as_echo_n "checking for _atan2f declaration... " >&6; }
31019 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
31020 if ${glibcxx_cv_func__atan2f_use+:} false; then :
31021 $as_echo_n "(cached) " >&6
31022 else
31023
31024
31025 ac_ext=cpp
31026 ac_cpp='$CXXCPP $CPPFLAGS'
31027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31030
31031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31032 /* end confdefs.h. */
31033 #include <math.h>
31034 int
31035 main ()
31036 {
31037 _atan2f(0, 0);
31038 ;
31039 return 0;
31040 }
31041 _ACEOF
31042 if ac_fn_cxx_try_compile "$LINENO"; then :
31043 glibcxx_cv_func__atan2f_use=yes
31044 else
31045 glibcxx_cv_func__atan2f_use=no
31046 fi
31047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31048 ac_ext=c
31049 ac_cpp='$CPP $CPPFLAGS'
31050 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31051 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31052 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31053
31054
31055 fi
31056
31057 fi
31058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
31059 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
31060
31061 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
31062 for ac_func in _atan2f
31063 do :
31064 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
31065 if test "x$ac_cv_func__atan2f" = xyes; then :
31066 cat >>confdefs.h <<_ACEOF
31067 #define HAVE__ATAN2F 1
31068 _ACEOF
31069
31070 fi
31071 done
31072
31073 fi
31074 fi
31075
31076
31077
31078
31079
31080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
31081 $as_echo_n "checking for fabsf declaration... " >&6; }
31082 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
31083 if ${glibcxx_cv_func_fabsf_use+:} false; then :
31084 $as_echo_n "(cached) " >&6
31085 else
31086
31087
31088 ac_ext=cpp
31089 ac_cpp='$CXXCPP $CPPFLAGS'
31090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31093
31094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31095 /* end confdefs.h. */
31096 #include <math.h>
31097 #ifdef HAVE_IEEEFP_H
31098 #include <ieeefp.h>
31099 #endif
31100
31101 int
31102 main ()
31103 {
31104 fabsf(0);
31105 ;
31106 return 0;
31107 }
31108 _ACEOF
31109 if ac_fn_cxx_try_compile "$LINENO"; then :
31110 glibcxx_cv_func_fabsf_use=yes
31111 else
31112 glibcxx_cv_func_fabsf_use=no
31113 fi
31114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31115 ac_ext=c
31116 ac_cpp='$CPP $CPPFLAGS'
31117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31120
31121
31122 fi
31123
31124 fi
31125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
31126 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
31127
31128 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
31129 for ac_func in fabsf
31130 do :
31131 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
31132 if test "x$ac_cv_func_fabsf" = xyes; then :
31133 cat >>confdefs.h <<_ACEOF
31134 #define HAVE_FABSF 1
31135 _ACEOF
31136
31137 fi
31138 done
31139
31140 else
31141
31142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
31143 $as_echo_n "checking for _fabsf declaration... " >&6; }
31144 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
31145 if ${glibcxx_cv_func__fabsf_use+:} false; then :
31146 $as_echo_n "(cached) " >&6
31147 else
31148
31149
31150 ac_ext=cpp
31151 ac_cpp='$CXXCPP $CPPFLAGS'
31152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31155
31156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31157 /* end confdefs.h. */
31158 #include <math.h>
31159 #ifdef HAVE_IEEEFP_H
31160 #include <ieeefp.h>
31161 #endif
31162
31163 int
31164 main ()
31165 {
31166 _fabsf(0);
31167 ;
31168 return 0;
31169 }
31170 _ACEOF
31171 if ac_fn_cxx_try_compile "$LINENO"; then :
31172 glibcxx_cv_func__fabsf_use=yes
31173 else
31174 glibcxx_cv_func__fabsf_use=no
31175 fi
31176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31177 ac_ext=c
31178 ac_cpp='$CPP $CPPFLAGS'
31179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31182
31183
31184 fi
31185
31186 fi
31187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
31188 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
31189
31190 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
31191 for ac_func in _fabsf
31192 do :
31193 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
31194 if test "x$ac_cv_func__fabsf" = xyes; then :
31195 cat >>confdefs.h <<_ACEOF
31196 #define HAVE__FABSF 1
31197 _ACEOF
31198
31199 fi
31200 done
31201
31202 fi
31203 fi
31204
31205
31206
31207
31208
31209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
31210 $as_echo_n "checking for fmodf declaration... " >&6; }
31211 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
31212 if ${glibcxx_cv_func_fmodf_use+:} false; then :
31213 $as_echo_n "(cached) " >&6
31214 else
31215
31216
31217 ac_ext=cpp
31218 ac_cpp='$CXXCPP $CPPFLAGS'
31219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31222
31223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31224 /* end confdefs.h. */
31225 #include <math.h>
31226 int
31227 main ()
31228 {
31229 fmodf(0, 0);
31230 ;
31231 return 0;
31232 }
31233 _ACEOF
31234 if ac_fn_cxx_try_compile "$LINENO"; then :
31235 glibcxx_cv_func_fmodf_use=yes
31236 else
31237 glibcxx_cv_func_fmodf_use=no
31238 fi
31239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31240 ac_ext=c
31241 ac_cpp='$CPP $CPPFLAGS'
31242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31245
31246
31247 fi
31248
31249 fi
31250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
31251 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
31252
31253 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
31254 for ac_func in fmodf
31255 do :
31256 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
31257 if test "x$ac_cv_func_fmodf" = xyes; then :
31258 cat >>confdefs.h <<_ACEOF
31259 #define HAVE_FMODF 1
31260 _ACEOF
31261
31262 fi
31263 done
31264
31265 else
31266
31267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
31268 $as_echo_n "checking for _fmodf declaration... " >&6; }
31269 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
31270 if ${glibcxx_cv_func__fmodf_use+:} false; then :
31271 $as_echo_n "(cached) " >&6
31272 else
31273
31274
31275 ac_ext=cpp
31276 ac_cpp='$CXXCPP $CPPFLAGS'
31277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31280
31281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31282 /* end confdefs.h. */
31283 #include <math.h>
31284 int
31285 main ()
31286 {
31287 _fmodf(0, 0);
31288 ;
31289 return 0;
31290 }
31291 _ACEOF
31292 if ac_fn_cxx_try_compile "$LINENO"; then :
31293 glibcxx_cv_func__fmodf_use=yes
31294 else
31295 glibcxx_cv_func__fmodf_use=no
31296 fi
31297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31298 ac_ext=c
31299 ac_cpp='$CPP $CPPFLAGS'
31300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31303
31304
31305 fi
31306
31307 fi
31308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
31309 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
31310
31311 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
31312 for ac_func in _fmodf
31313 do :
31314 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
31315 if test "x$ac_cv_func__fmodf" = xyes; then :
31316 cat >>confdefs.h <<_ACEOF
31317 #define HAVE__FMODF 1
31318 _ACEOF
31319
31320 fi
31321 done
31322
31323 fi
31324 fi
31325
31326
31327
31328
31329
31330 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
31331 $as_echo_n "checking for frexpf declaration... " >&6; }
31332 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
31333 if ${glibcxx_cv_func_frexpf_use+:} false; then :
31334 $as_echo_n "(cached) " >&6
31335 else
31336
31337
31338 ac_ext=cpp
31339 ac_cpp='$CXXCPP $CPPFLAGS'
31340 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31341 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31342 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31343
31344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31345 /* end confdefs.h. */
31346 #include <math.h>
31347 int
31348 main ()
31349 {
31350 frexpf(0, 0);
31351 ;
31352 return 0;
31353 }
31354 _ACEOF
31355 if ac_fn_cxx_try_compile "$LINENO"; then :
31356 glibcxx_cv_func_frexpf_use=yes
31357 else
31358 glibcxx_cv_func_frexpf_use=no
31359 fi
31360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31361 ac_ext=c
31362 ac_cpp='$CPP $CPPFLAGS'
31363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31366
31367
31368 fi
31369
31370 fi
31371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
31372 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
31373
31374 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
31375 for ac_func in frexpf
31376 do :
31377 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
31378 if test "x$ac_cv_func_frexpf" = xyes; then :
31379 cat >>confdefs.h <<_ACEOF
31380 #define HAVE_FREXPF 1
31381 _ACEOF
31382
31383 fi
31384 done
31385
31386 else
31387
31388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
31389 $as_echo_n "checking for _frexpf declaration... " >&6; }
31390 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
31391 if ${glibcxx_cv_func__frexpf_use+:} false; then :
31392 $as_echo_n "(cached) " >&6
31393 else
31394
31395
31396 ac_ext=cpp
31397 ac_cpp='$CXXCPP $CPPFLAGS'
31398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31401
31402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31403 /* end confdefs.h. */
31404 #include <math.h>
31405 int
31406 main ()
31407 {
31408 _frexpf(0, 0);
31409 ;
31410 return 0;
31411 }
31412 _ACEOF
31413 if ac_fn_cxx_try_compile "$LINENO"; then :
31414 glibcxx_cv_func__frexpf_use=yes
31415 else
31416 glibcxx_cv_func__frexpf_use=no
31417 fi
31418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31419 ac_ext=c
31420 ac_cpp='$CPP $CPPFLAGS'
31421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31424
31425
31426 fi
31427
31428 fi
31429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
31430 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
31431
31432 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
31433 for ac_func in _frexpf
31434 do :
31435 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
31436 if test "x$ac_cv_func__frexpf" = xyes; then :
31437 cat >>confdefs.h <<_ACEOF
31438 #define HAVE__FREXPF 1
31439 _ACEOF
31440
31441 fi
31442 done
31443
31444 fi
31445 fi
31446
31447
31448
31449
31450
31451 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
31452 $as_echo_n "checking for hypotf declaration... " >&6; }
31453 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
31454 if ${glibcxx_cv_func_hypotf_use+:} false; then :
31455 $as_echo_n "(cached) " >&6
31456 else
31457
31458
31459 ac_ext=cpp
31460 ac_cpp='$CXXCPP $CPPFLAGS'
31461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31464
31465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31466 /* end confdefs.h. */
31467 #include <math.h>
31468 int
31469 main ()
31470 {
31471 hypotf(0, 0);
31472 ;
31473 return 0;
31474 }
31475 _ACEOF
31476 if ac_fn_cxx_try_compile "$LINENO"; then :
31477 glibcxx_cv_func_hypotf_use=yes
31478 else
31479 glibcxx_cv_func_hypotf_use=no
31480 fi
31481 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31482 ac_ext=c
31483 ac_cpp='$CPP $CPPFLAGS'
31484 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31485 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31486 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31487
31488
31489 fi
31490
31491 fi
31492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
31493 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
31494
31495 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
31496 for ac_func in hypotf
31497 do :
31498 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
31499 if test "x$ac_cv_func_hypotf" = xyes; then :
31500 cat >>confdefs.h <<_ACEOF
31501 #define HAVE_HYPOTF 1
31502 _ACEOF
31503
31504 fi
31505 done
31506
31507 else
31508
31509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
31510 $as_echo_n "checking for _hypotf declaration... " >&6; }
31511 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
31512 if ${glibcxx_cv_func__hypotf_use+:} false; then :
31513 $as_echo_n "(cached) " >&6
31514 else
31515
31516
31517 ac_ext=cpp
31518 ac_cpp='$CXXCPP $CPPFLAGS'
31519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31522
31523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31524 /* end confdefs.h. */
31525 #include <math.h>
31526 int
31527 main ()
31528 {
31529 _hypotf(0, 0);
31530 ;
31531 return 0;
31532 }
31533 _ACEOF
31534 if ac_fn_cxx_try_compile "$LINENO"; then :
31535 glibcxx_cv_func__hypotf_use=yes
31536 else
31537 glibcxx_cv_func__hypotf_use=no
31538 fi
31539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31540 ac_ext=c
31541 ac_cpp='$CPP $CPPFLAGS'
31542 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31543 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31544 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31545
31546
31547 fi
31548
31549 fi
31550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
31551 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
31552
31553 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
31554 for ac_func in _hypotf
31555 do :
31556 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
31557 if test "x$ac_cv_func__hypotf" = xyes; then :
31558 cat >>confdefs.h <<_ACEOF
31559 #define HAVE__HYPOTF 1
31560 _ACEOF
31561
31562 fi
31563 done
31564
31565 fi
31566 fi
31567
31568
31569
31570
31571
31572 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
31573 $as_echo_n "checking for ldexpf declaration... " >&6; }
31574 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
31575 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
31576 $as_echo_n "(cached) " >&6
31577 else
31578
31579
31580 ac_ext=cpp
31581 ac_cpp='$CXXCPP $CPPFLAGS'
31582 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31583 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31584 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31585
31586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31587 /* end confdefs.h. */
31588 #include <math.h>
31589 int
31590 main ()
31591 {
31592 ldexpf(0, 0);
31593 ;
31594 return 0;
31595 }
31596 _ACEOF
31597 if ac_fn_cxx_try_compile "$LINENO"; then :
31598 glibcxx_cv_func_ldexpf_use=yes
31599 else
31600 glibcxx_cv_func_ldexpf_use=no
31601 fi
31602 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31603 ac_ext=c
31604 ac_cpp='$CPP $CPPFLAGS'
31605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31608
31609
31610 fi
31611
31612 fi
31613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
31614 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
31615
31616 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
31617 for ac_func in ldexpf
31618 do :
31619 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
31620 if test "x$ac_cv_func_ldexpf" = xyes; then :
31621 cat >>confdefs.h <<_ACEOF
31622 #define HAVE_LDEXPF 1
31623 _ACEOF
31624
31625 fi
31626 done
31627
31628 else
31629
31630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
31631 $as_echo_n "checking for _ldexpf declaration... " >&6; }
31632 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
31633 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
31634 $as_echo_n "(cached) " >&6
31635 else
31636
31637
31638 ac_ext=cpp
31639 ac_cpp='$CXXCPP $CPPFLAGS'
31640 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31641 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31642 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31643
31644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31645 /* end confdefs.h. */
31646 #include <math.h>
31647 int
31648 main ()
31649 {
31650 _ldexpf(0, 0);
31651 ;
31652 return 0;
31653 }
31654 _ACEOF
31655 if ac_fn_cxx_try_compile "$LINENO"; then :
31656 glibcxx_cv_func__ldexpf_use=yes
31657 else
31658 glibcxx_cv_func__ldexpf_use=no
31659 fi
31660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31661 ac_ext=c
31662 ac_cpp='$CPP $CPPFLAGS'
31663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31666
31667
31668 fi
31669
31670 fi
31671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
31672 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
31673
31674 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
31675 for ac_func in _ldexpf
31676 do :
31677 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
31678 if test "x$ac_cv_func__ldexpf" = xyes; then :
31679 cat >>confdefs.h <<_ACEOF
31680 #define HAVE__LDEXPF 1
31681 _ACEOF
31682
31683 fi
31684 done
31685
31686 fi
31687 fi
31688
31689
31690
31691
31692
31693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
31694 $as_echo_n "checking for logf declaration... " >&6; }
31695 if test x${glibcxx_cv_func_logf_use+set} != xset; then
31696 if ${glibcxx_cv_func_logf_use+:} false; then :
31697 $as_echo_n "(cached) " >&6
31698 else
31699
31700
31701 ac_ext=cpp
31702 ac_cpp='$CXXCPP $CPPFLAGS'
31703 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31704 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31705 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31706
31707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31708 /* end confdefs.h. */
31709 #include <math.h>
31710 #ifdef HAVE_IEEEFP_H
31711 #include <ieeefp.h>
31712 #endif
31713
31714 int
31715 main ()
31716 {
31717 logf(0);
31718 ;
31719 return 0;
31720 }
31721 _ACEOF
31722 if ac_fn_cxx_try_compile "$LINENO"; then :
31723 glibcxx_cv_func_logf_use=yes
31724 else
31725 glibcxx_cv_func_logf_use=no
31726 fi
31727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31728 ac_ext=c
31729 ac_cpp='$CPP $CPPFLAGS'
31730 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31731 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31732 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31733
31734
31735 fi
31736
31737 fi
31738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
31739 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
31740
31741 if test x$glibcxx_cv_func_logf_use = x"yes"; then
31742 for ac_func in logf
31743 do :
31744 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
31745 if test "x$ac_cv_func_logf" = xyes; then :
31746 cat >>confdefs.h <<_ACEOF
31747 #define HAVE_LOGF 1
31748 _ACEOF
31749
31750 fi
31751 done
31752
31753 else
31754
31755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
31756 $as_echo_n "checking for _logf declaration... " >&6; }
31757 if test x${glibcxx_cv_func__logf_use+set} != xset; then
31758 if ${glibcxx_cv_func__logf_use+:} false; then :
31759 $as_echo_n "(cached) " >&6
31760 else
31761
31762
31763 ac_ext=cpp
31764 ac_cpp='$CXXCPP $CPPFLAGS'
31765 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31766 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31767 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31768
31769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31770 /* end confdefs.h. */
31771 #include <math.h>
31772 #ifdef HAVE_IEEEFP_H
31773 #include <ieeefp.h>
31774 #endif
31775
31776 int
31777 main ()
31778 {
31779 _logf(0);
31780 ;
31781 return 0;
31782 }
31783 _ACEOF
31784 if ac_fn_cxx_try_compile "$LINENO"; then :
31785 glibcxx_cv_func__logf_use=yes
31786 else
31787 glibcxx_cv_func__logf_use=no
31788 fi
31789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31790 ac_ext=c
31791 ac_cpp='$CPP $CPPFLAGS'
31792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31795
31796
31797 fi
31798
31799 fi
31800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
31801 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
31802
31803 if test x$glibcxx_cv_func__logf_use = x"yes"; then
31804 for ac_func in _logf
31805 do :
31806 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
31807 if test "x$ac_cv_func__logf" = xyes; then :
31808 cat >>confdefs.h <<_ACEOF
31809 #define HAVE__LOGF 1
31810 _ACEOF
31811
31812 fi
31813 done
31814
31815 fi
31816 fi
31817
31818
31819
31820
31821
31822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
31823 $as_echo_n "checking for log10f declaration... " >&6; }
31824 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
31825 if ${glibcxx_cv_func_log10f_use+:} false; then :
31826 $as_echo_n "(cached) " >&6
31827 else
31828
31829
31830 ac_ext=cpp
31831 ac_cpp='$CXXCPP $CPPFLAGS'
31832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31835
31836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31837 /* end confdefs.h. */
31838 #include <math.h>
31839 #ifdef HAVE_IEEEFP_H
31840 #include <ieeefp.h>
31841 #endif
31842
31843 int
31844 main ()
31845 {
31846 log10f(0);
31847 ;
31848 return 0;
31849 }
31850 _ACEOF
31851 if ac_fn_cxx_try_compile "$LINENO"; then :
31852 glibcxx_cv_func_log10f_use=yes
31853 else
31854 glibcxx_cv_func_log10f_use=no
31855 fi
31856 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31857 ac_ext=c
31858 ac_cpp='$CPP $CPPFLAGS'
31859 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31860 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31861 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31862
31863
31864 fi
31865
31866 fi
31867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
31868 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
31869
31870 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
31871 for ac_func in log10f
31872 do :
31873 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
31874 if test "x$ac_cv_func_log10f" = xyes; then :
31875 cat >>confdefs.h <<_ACEOF
31876 #define HAVE_LOG10F 1
31877 _ACEOF
31878
31879 fi
31880 done
31881
31882 else
31883
31884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
31885 $as_echo_n "checking for _log10f declaration... " >&6; }
31886 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
31887 if ${glibcxx_cv_func__log10f_use+:} false; then :
31888 $as_echo_n "(cached) " >&6
31889 else
31890
31891
31892 ac_ext=cpp
31893 ac_cpp='$CXXCPP $CPPFLAGS'
31894 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31895 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31896 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31897
31898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31899 /* end confdefs.h. */
31900 #include <math.h>
31901 #ifdef HAVE_IEEEFP_H
31902 #include <ieeefp.h>
31903 #endif
31904
31905 int
31906 main ()
31907 {
31908 _log10f(0);
31909 ;
31910 return 0;
31911 }
31912 _ACEOF
31913 if ac_fn_cxx_try_compile "$LINENO"; then :
31914 glibcxx_cv_func__log10f_use=yes
31915 else
31916 glibcxx_cv_func__log10f_use=no
31917 fi
31918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31919 ac_ext=c
31920 ac_cpp='$CPP $CPPFLAGS'
31921 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31922 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31923 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31924
31925
31926 fi
31927
31928 fi
31929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
31930 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
31931
31932 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
31933 for ac_func in _log10f
31934 do :
31935 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
31936 if test "x$ac_cv_func__log10f" = xyes; then :
31937 cat >>confdefs.h <<_ACEOF
31938 #define HAVE__LOG10F 1
31939 _ACEOF
31940
31941 fi
31942 done
31943
31944 fi
31945 fi
31946
31947
31948
31949
31950
31951 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
31952 $as_echo_n "checking for modff declaration... " >&6; }
31953 if test x${glibcxx_cv_func_modff_use+set} != xset; then
31954 if ${glibcxx_cv_func_modff_use+:} false; then :
31955 $as_echo_n "(cached) " >&6
31956 else
31957
31958
31959 ac_ext=cpp
31960 ac_cpp='$CXXCPP $CPPFLAGS'
31961 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31962 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31963 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
31964
31965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
31966 /* end confdefs.h. */
31967 #include <math.h>
31968 int
31969 main ()
31970 {
31971 modff(0, 0);
31972 ;
31973 return 0;
31974 }
31975 _ACEOF
31976 if ac_fn_cxx_try_compile "$LINENO"; then :
31977 glibcxx_cv_func_modff_use=yes
31978 else
31979 glibcxx_cv_func_modff_use=no
31980 fi
31981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31982 ac_ext=c
31983 ac_cpp='$CPP $CPPFLAGS'
31984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
31985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
31986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
31987
31988
31989 fi
31990
31991 fi
31992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
31993 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
31994
31995 if test x$glibcxx_cv_func_modff_use = x"yes"; then
31996 for ac_func in modff
31997 do :
31998 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
31999 if test "x$ac_cv_func_modff" = xyes; then :
32000 cat >>confdefs.h <<_ACEOF
32001 #define HAVE_MODFF 1
32002 _ACEOF
32003
32004 fi
32005 done
32006
32007 else
32008
32009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
32010 $as_echo_n "checking for _modff declaration... " >&6; }
32011 if test x${glibcxx_cv_func__modff_use+set} != xset; then
32012 if ${glibcxx_cv_func__modff_use+:} false; then :
32013 $as_echo_n "(cached) " >&6
32014 else
32015
32016
32017 ac_ext=cpp
32018 ac_cpp='$CXXCPP $CPPFLAGS'
32019 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32020 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32021 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32022
32023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32024 /* end confdefs.h. */
32025 #include <math.h>
32026 int
32027 main ()
32028 {
32029 _modff(0, 0);
32030 ;
32031 return 0;
32032 }
32033 _ACEOF
32034 if ac_fn_cxx_try_compile "$LINENO"; then :
32035 glibcxx_cv_func__modff_use=yes
32036 else
32037 glibcxx_cv_func__modff_use=no
32038 fi
32039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32040 ac_ext=c
32041 ac_cpp='$CPP $CPPFLAGS'
32042 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32043 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32044 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32045
32046
32047 fi
32048
32049 fi
32050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
32051 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
32052
32053 if test x$glibcxx_cv_func__modff_use = x"yes"; then
32054 for ac_func in _modff
32055 do :
32056 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
32057 if test "x$ac_cv_func__modff" = xyes; then :
32058 cat >>confdefs.h <<_ACEOF
32059 #define HAVE__MODFF 1
32060 _ACEOF
32061
32062 fi
32063 done
32064
32065 fi
32066 fi
32067
32068
32069
32070
32071
32072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
32073 $as_echo_n "checking for modf declaration... " >&6; }
32074 if test x${glibcxx_cv_func_modf_use+set} != xset; then
32075 if ${glibcxx_cv_func_modf_use+:} false; then :
32076 $as_echo_n "(cached) " >&6
32077 else
32078
32079
32080 ac_ext=cpp
32081 ac_cpp='$CXXCPP $CPPFLAGS'
32082 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32083 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32084 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32085
32086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32087 /* end confdefs.h. */
32088 #include <math.h>
32089 int
32090 main ()
32091 {
32092 modf(0, 0);
32093 ;
32094 return 0;
32095 }
32096 _ACEOF
32097 if ac_fn_cxx_try_compile "$LINENO"; then :
32098 glibcxx_cv_func_modf_use=yes
32099 else
32100 glibcxx_cv_func_modf_use=no
32101 fi
32102 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32103 ac_ext=c
32104 ac_cpp='$CPP $CPPFLAGS'
32105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32108
32109
32110 fi
32111
32112 fi
32113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
32114 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
32115
32116 if test x$glibcxx_cv_func_modf_use = x"yes"; then
32117 for ac_func in modf
32118 do :
32119 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
32120 if test "x$ac_cv_func_modf" = xyes; then :
32121 cat >>confdefs.h <<_ACEOF
32122 #define HAVE_MODF 1
32123 _ACEOF
32124
32125 fi
32126 done
32127
32128 else
32129
32130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
32131 $as_echo_n "checking for _modf declaration... " >&6; }
32132 if test x${glibcxx_cv_func__modf_use+set} != xset; then
32133 if ${glibcxx_cv_func__modf_use+:} false; then :
32134 $as_echo_n "(cached) " >&6
32135 else
32136
32137
32138 ac_ext=cpp
32139 ac_cpp='$CXXCPP $CPPFLAGS'
32140 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32141 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32142 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32143
32144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32145 /* end confdefs.h. */
32146 #include <math.h>
32147 int
32148 main ()
32149 {
32150 _modf(0, 0);
32151 ;
32152 return 0;
32153 }
32154 _ACEOF
32155 if ac_fn_cxx_try_compile "$LINENO"; then :
32156 glibcxx_cv_func__modf_use=yes
32157 else
32158 glibcxx_cv_func__modf_use=no
32159 fi
32160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32161 ac_ext=c
32162 ac_cpp='$CPP $CPPFLAGS'
32163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32166
32167
32168 fi
32169
32170 fi
32171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
32172 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
32173
32174 if test x$glibcxx_cv_func__modf_use = x"yes"; then
32175 for ac_func in _modf
32176 do :
32177 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
32178 if test "x$ac_cv_func__modf" = xyes; then :
32179 cat >>confdefs.h <<_ACEOF
32180 #define HAVE__MODF 1
32181 _ACEOF
32182
32183 fi
32184 done
32185
32186 fi
32187 fi
32188
32189
32190
32191
32192
32193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
32194 $as_echo_n "checking for powf declaration... " >&6; }
32195 if test x${glibcxx_cv_func_powf_use+set} != xset; then
32196 if ${glibcxx_cv_func_powf_use+:} false; then :
32197 $as_echo_n "(cached) " >&6
32198 else
32199
32200
32201 ac_ext=cpp
32202 ac_cpp='$CXXCPP $CPPFLAGS'
32203 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32204 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32205 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32206
32207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32208 /* end confdefs.h. */
32209 #include <math.h>
32210 int
32211 main ()
32212 {
32213 powf(0, 0);
32214 ;
32215 return 0;
32216 }
32217 _ACEOF
32218 if ac_fn_cxx_try_compile "$LINENO"; then :
32219 glibcxx_cv_func_powf_use=yes
32220 else
32221 glibcxx_cv_func_powf_use=no
32222 fi
32223 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32224 ac_ext=c
32225 ac_cpp='$CPP $CPPFLAGS'
32226 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32227 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32228 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32229
32230
32231 fi
32232
32233 fi
32234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
32235 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
32236
32237 if test x$glibcxx_cv_func_powf_use = x"yes"; then
32238 for ac_func in powf
32239 do :
32240 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
32241 if test "x$ac_cv_func_powf" = xyes; then :
32242 cat >>confdefs.h <<_ACEOF
32243 #define HAVE_POWF 1
32244 _ACEOF
32245
32246 fi
32247 done
32248
32249 else
32250
32251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
32252 $as_echo_n "checking for _powf declaration... " >&6; }
32253 if test x${glibcxx_cv_func__powf_use+set} != xset; then
32254 if ${glibcxx_cv_func__powf_use+:} false; then :
32255 $as_echo_n "(cached) " >&6
32256 else
32257
32258
32259 ac_ext=cpp
32260 ac_cpp='$CXXCPP $CPPFLAGS'
32261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32264
32265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32266 /* end confdefs.h. */
32267 #include <math.h>
32268 int
32269 main ()
32270 {
32271 _powf(0, 0);
32272 ;
32273 return 0;
32274 }
32275 _ACEOF
32276 if ac_fn_cxx_try_compile "$LINENO"; then :
32277 glibcxx_cv_func__powf_use=yes
32278 else
32279 glibcxx_cv_func__powf_use=no
32280 fi
32281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32282 ac_ext=c
32283 ac_cpp='$CPP $CPPFLAGS'
32284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32287
32288
32289 fi
32290
32291 fi
32292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
32293 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
32294
32295 if test x$glibcxx_cv_func__powf_use = x"yes"; then
32296 for ac_func in _powf
32297 do :
32298 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
32299 if test "x$ac_cv_func__powf" = xyes; then :
32300 cat >>confdefs.h <<_ACEOF
32301 #define HAVE__POWF 1
32302 _ACEOF
32303
32304 fi
32305 done
32306
32307 fi
32308 fi
32309
32310
32311
32312
32313
32314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
32315 $as_echo_n "checking for sqrtf declaration... " >&6; }
32316 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
32317 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
32318 $as_echo_n "(cached) " >&6
32319 else
32320
32321
32322 ac_ext=cpp
32323 ac_cpp='$CXXCPP $CPPFLAGS'
32324 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32325 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32326 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32327
32328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32329 /* end confdefs.h. */
32330 #include <math.h>
32331 #ifdef HAVE_IEEEFP_H
32332 #include <ieeefp.h>
32333 #endif
32334
32335 int
32336 main ()
32337 {
32338 sqrtf(0);
32339 ;
32340 return 0;
32341 }
32342 _ACEOF
32343 if ac_fn_cxx_try_compile "$LINENO"; then :
32344 glibcxx_cv_func_sqrtf_use=yes
32345 else
32346 glibcxx_cv_func_sqrtf_use=no
32347 fi
32348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32349 ac_ext=c
32350 ac_cpp='$CPP $CPPFLAGS'
32351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32354
32355
32356 fi
32357
32358 fi
32359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
32360 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
32361
32362 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
32363 for ac_func in sqrtf
32364 do :
32365 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
32366 if test "x$ac_cv_func_sqrtf" = xyes; then :
32367 cat >>confdefs.h <<_ACEOF
32368 #define HAVE_SQRTF 1
32369 _ACEOF
32370
32371 fi
32372 done
32373
32374 else
32375
32376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
32377 $as_echo_n "checking for _sqrtf declaration... " >&6; }
32378 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
32379 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
32380 $as_echo_n "(cached) " >&6
32381 else
32382
32383
32384 ac_ext=cpp
32385 ac_cpp='$CXXCPP $CPPFLAGS'
32386 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32387 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32388 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32389
32390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32391 /* end confdefs.h. */
32392 #include <math.h>
32393 #ifdef HAVE_IEEEFP_H
32394 #include <ieeefp.h>
32395 #endif
32396
32397 int
32398 main ()
32399 {
32400 _sqrtf(0);
32401 ;
32402 return 0;
32403 }
32404 _ACEOF
32405 if ac_fn_cxx_try_compile "$LINENO"; then :
32406 glibcxx_cv_func__sqrtf_use=yes
32407 else
32408 glibcxx_cv_func__sqrtf_use=no
32409 fi
32410 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32411 ac_ext=c
32412 ac_cpp='$CPP $CPPFLAGS'
32413 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32414 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32415 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32416
32417
32418 fi
32419
32420 fi
32421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
32422 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
32423
32424 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
32425 for ac_func in _sqrtf
32426 do :
32427 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
32428 if test "x$ac_cv_func__sqrtf" = xyes; then :
32429 cat >>confdefs.h <<_ACEOF
32430 #define HAVE__SQRTF 1
32431 _ACEOF
32432
32433 fi
32434 done
32435
32436 fi
32437 fi
32438
32439
32440
32441
32442
32443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
32444 $as_echo_n "checking for sincosf declaration... " >&6; }
32445 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
32446 if ${glibcxx_cv_func_sincosf_use+:} false; then :
32447 $as_echo_n "(cached) " >&6
32448 else
32449
32450
32451 ac_ext=cpp
32452 ac_cpp='$CXXCPP $CPPFLAGS'
32453 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32454 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32455 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32456
32457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32458 /* end confdefs.h. */
32459 #include <math.h>
32460 int
32461 main ()
32462 {
32463 sincosf(0, 0, 0);
32464 ;
32465 return 0;
32466 }
32467 _ACEOF
32468 if ac_fn_cxx_try_compile "$LINENO"; then :
32469 glibcxx_cv_func_sincosf_use=yes
32470 else
32471 glibcxx_cv_func_sincosf_use=no
32472 fi
32473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32474 ac_ext=c
32475 ac_cpp='$CPP $CPPFLAGS'
32476 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32477 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32478 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32479
32480
32481 fi
32482
32483 fi
32484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
32485 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
32486
32487 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
32488 for ac_func in sincosf
32489 do :
32490 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
32491 if test "x$ac_cv_func_sincosf" = xyes; then :
32492 cat >>confdefs.h <<_ACEOF
32493 #define HAVE_SINCOSF 1
32494 _ACEOF
32495
32496 fi
32497 done
32498
32499 else
32500
32501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
32502 $as_echo_n "checking for _sincosf declaration... " >&6; }
32503 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
32504 if ${glibcxx_cv_func__sincosf_use+:} false; then :
32505 $as_echo_n "(cached) " >&6
32506 else
32507
32508
32509 ac_ext=cpp
32510 ac_cpp='$CXXCPP $CPPFLAGS'
32511 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32512 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32513 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32514
32515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32516 /* end confdefs.h. */
32517 #include <math.h>
32518 int
32519 main ()
32520 {
32521 _sincosf(0, 0, 0);
32522 ;
32523 return 0;
32524 }
32525 _ACEOF
32526 if ac_fn_cxx_try_compile "$LINENO"; then :
32527 glibcxx_cv_func__sincosf_use=yes
32528 else
32529 glibcxx_cv_func__sincosf_use=no
32530 fi
32531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32532 ac_ext=c
32533 ac_cpp='$CPP $CPPFLAGS'
32534 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32535 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32536 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32537
32538
32539 fi
32540
32541 fi
32542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
32543 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
32544
32545 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
32546 for ac_func in _sincosf
32547 do :
32548 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
32549 if test "x$ac_cv_func__sincosf" = xyes; then :
32550 cat >>confdefs.h <<_ACEOF
32551 #define HAVE__SINCOSF 1
32552 _ACEOF
32553
32554 fi
32555 done
32556
32557 fi
32558 fi
32559
32560
32561
32562
32563
32564 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
32565 $as_echo_n "checking for finitef declaration... " >&6; }
32566 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
32567 if ${glibcxx_cv_func_finitef_use+:} false; then :
32568 $as_echo_n "(cached) " >&6
32569 else
32570
32571
32572 ac_ext=cpp
32573 ac_cpp='$CXXCPP $CPPFLAGS'
32574 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32575 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32576 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32577
32578 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32579 /* end confdefs.h. */
32580 #include <math.h>
32581 #ifdef HAVE_IEEEFP_H
32582 #include <ieeefp.h>
32583 #endif
32584
32585 int
32586 main ()
32587 {
32588 finitef(0);
32589 ;
32590 return 0;
32591 }
32592 _ACEOF
32593 if ac_fn_cxx_try_compile "$LINENO"; then :
32594 glibcxx_cv_func_finitef_use=yes
32595 else
32596 glibcxx_cv_func_finitef_use=no
32597 fi
32598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32599 ac_ext=c
32600 ac_cpp='$CPP $CPPFLAGS'
32601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32604
32605
32606 fi
32607
32608 fi
32609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
32610 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
32611
32612 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
32613 for ac_func in finitef
32614 do :
32615 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
32616 if test "x$ac_cv_func_finitef" = xyes; then :
32617 cat >>confdefs.h <<_ACEOF
32618 #define HAVE_FINITEF 1
32619 _ACEOF
32620
32621 fi
32622 done
32623
32624 else
32625
32626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
32627 $as_echo_n "checking for _finitef declaration... " >&6; }
32628 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
32629 if ${glibcxx_cv_func__finitef_use+:} false; then :
32630 $as_echo_n "(cached) " >&6
32631 else
32632
32633
32634 ac_ext=cpp
32635 ac_cpp='$CXXCPP $CPPFLAGS'
32636 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32637 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32638 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32639
32640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32641 /* end confdefs.h. */
32642 #include <math.h>
32643 #ifdef HAVE_IEEEFP_H
32644 #include <ieeefp.h>
32645 #endif
32646
32647 int
32648 main ()
32649 {
32650 _finitef(0);
32651 ;
32652 return 0;
32653 }
32654 _ACEOF
32655 if ac_fn_cxx_try_compile "$LINENO"; then :
32656 glibcxx_cv_func__finitef_use=yes
32657 else
32658 glibcxx_cv_func__finitef_use=no
32659 fi
32660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32661 ac_ext=c
32662 ac_cpp='$CPP $CPPFLAGS'
32663 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32664 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32665 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32666
32667
32668 fi
32669
32670 fi
32671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
32672 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
32673
32674 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
32675 for ac_func in _finitef
32676 do :
32677 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
32678 if test "x$ac_cv_func__finitef" = xyes; then :
32679 cat >>confdefs.h <<_ACEOF
32680 #define HAVE__FINITEF 1
32681 _ACEOF
32682
32683 fi
32684 done
32685
32686 fi
32687 fi
32688
32689
32690
32691
32692
32693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
32694 $as_echo_n "checking for long double trig functions... " >&6; }
32695 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
32696 $as_echo_n "(cached) " >&6
32697 else
32698
32699
32700 ac_ext=cpp
32701 ac_cpp='$CXXCPP $CPPFLAGS'
32702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32705
32706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32707 /* end confdefs.h. */
32708 #include <math.h>
32709 int
32710 main ()
32711 {
32712 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
32713 ;
32714 return 0;
32715 }
32716 _ACEOF
32717 if ac_fn_cxx_try_compile "$LINENO"; then :
32718 glibcxx_cv_func_long_double_trig_use=yes
32719 else
32720 glibcxx_cv_func_long_double_trig_use=no
32721 fi
32722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32723 ac_ext=c
32724 ac_cpp='$CPP $CPPFLAGS'
32725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32728
32729 fi
32730
32731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
32732 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
32733 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
32734 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
32735 do :
32736 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32737 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32738 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32739 cat >>confdefs.h <<_ACEOF
32740 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32741 _ACEOF
32742
32743 fi
32744 done
32745
32746 else
32747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
32748 $as_echo_n "checking for _long double trig functions... " >&6; }
32749 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
32750 $as_echo_n "(cached) " >&6
32751 else
32752
32753
32754 ac_ext=cpp
32755 ac_cpp='$CXXCPP $CPPFLAGS'
32756 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32757 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32758 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32759
32760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32761 /* end confdefs.h. */
32762 #include <math.h>
32763 int
32764 main ()
32765 {
32766 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
32767 ;
32768 return 0;
32769 }
32770 _ACEOF
32771 if ac_fn_cxx_try_compile "$LINENO"; then :
32772 glibcxx_cv_func__long_double_trig_use=yes
32773 else
32774 glibcxx_cv_func__long_double_trig_use=no
32775 fi
32776 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32777 ac_ext=c
32778 ac_cpp='$CPP $CPPFLAGS'
32779 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32780 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32781 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32782
32783 fi
32784
32785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
32786 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
32787 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
32788 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
32789 do :
32790 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32791 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32792 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32793 cat >>confdefs.h <<_ACEOF
32794 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32795 _ACEOF
32796
32797 fi
32798 done
32799
32800 fi
32801 fi
32802
32803
32804
32805
32806
32807 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
32808 $as_echo_n "checking for long double round functions... " >&6; }
32809 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
32810 $as_echo_n "(cached) " >&6
32811 else
32812
32813
32814 ac_ext=cpp
32815 ac_cpp='$CXXCPP $CPPFLAGS'
32816 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32817 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32818 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32819
32820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32821 /* end confdefs.h. */
32822 #include <math.h>
32823 int
32824 main ()
32825 {
32826 ceill (0); floorl (0);
32827 ;
32828 return 0;
32829 }
32830 _ACEOF
32831 if ac_fn_cxx_try_compile "$LINENO"; then :
32832 glibcxx_cv_func_long_double_round_use=yes
32833 else
32834 glibcxx_cv_func_long_double_round_use=no
32835 fi
32836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32837 ac_ext=c
32838 ac_cpp='$CPP $CPPFLAGS'
32839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32842
32843 fi
32844
32845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
32846 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
32847 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
32848 for ac_func in ceill floorl
32849 do :
32850 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32851 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32852 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32853 cat >>confdefs.h <<_ACEOF
32854 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32855 _ACEOF
32856
32857 fi
32858 done
32859
32860 else
32861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
32862 $as_echo_n "checking for _long double round functions... " >&6; }
32863 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
32864 $as_echo_n "(cached) " >&6
32865 else
32866
32867
32868 ac_ext=cpp
32869 ac_cpp='$CXXCPP $CPPFLAGS'
32870 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32871 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32872 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32873
32874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32875 /* end confdefs.h. */
32876 #include <math.h>
32877 int
32878 main ()
32879 {
32880 _ceill (0); _floorl (0);
32881 ;
32882 return 0;
32883 }
32884 _ACEOF
32885 if ac_fn_cxx_try_compile "$LINENO"; then :
32886 glibcxx_cv_func__long_double_round_use=yes
32887 else
32888 glibcxx_cv_func__long_double_round_use=no
32889 fi
32890 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32891 ac_ext=c
32892 ac_cpp='$CPP $CPPFLAGS'
32893 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32894 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32895 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32896
32897 fi
32898
32899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
32900 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
32901 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
32902 for ac_func in _ceill _floorl
32903 do :
32904 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
32905 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
32906 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
32907 cat >>confdefs.h <<_ACEOF
32908 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
32909 _ACEOF
32910
32911 fi
32912 done
32913
32914 fi
32915 fi
32916
32917
32918
32919
32920
32921
32922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
32923 $as_echo_n "checking for isnanl declaration... " >&6; }
32924 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
32925 if ${glibcxx_cv_func_isnanl_use+:} false; then :
32926 $as_echo_n "(cached) " >&6
32927 else
32928
32929
32930 ac_ext=cpp
32931 ac_cpp='$CXXCPP $CPPFLAGS'
32932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32935
32936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32937 /* end confdefs.h. */
32938 #include <math.h>
32939 #ifdef HAVE_IEEEFP_H
32940 #include <ieeefp.h>
32941 #endif
32942
32943 int
32944 main ()
32945 {
32946 isnanl(0);
32947 ;
32948 return 0;
32949 }
32950 _ACEOF
32951 if ac_fn_cxx_try_compile "$LINENO"; then :
32952 glibcxx_cv_func_isnanl_use=yes
32953 else
32954 glibcxx_cv_func_isnanl_use=no
32955 fi
32956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32957 ac_ext=c
32958 ac_cpp='$CPP $CPPFLAGS'
32959 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32960 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32961 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32962
32963
32964 fi
32965
32966 fi
32967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
32968 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
32969
32970 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
32971 for ac_func in isnanl
32972 do :
32973 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
32974 if test "x$ac_cv_func_isnanl" = xyes; then :
32975 cat >>confdefs.h <<_ACEOF
32976 #define HAVE_ISNANL 1
32977 _ACEOF
32978
32979 fi
32980 done
32981
32982 else
32983
32984 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
32985 $as_echo_n "checking for _isnanl declaration... " >&6; }
32986 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
32987 if ${glibcxx_cv_func__isnanl_use+:} false; then :
32988 $as_echo_n "(cached) " >&6
32989 else
32990
32991
32992 ac_ext=cpp
32993 ac_cpp='$CXXCPP $CPPFLAGS'
32994 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32995 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32996 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
32997
32998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
32999 /* end confdefs.h. */
33000 #include <math.h>
33001 #ifdef HAVE_IEEEFP_H
33002 #include <ieeefp.h>
33003 #endif
33004
33005 int
33006 main ()
33007 {
33008 _isnanl(0);
33009 ;
33010 return 0;
33011 }
33012 _ACEOF
33013 if ac_fn_cxx_try_compile "$LINENO"; then :
33014 glibcxx_cv_func__isnanl_use=yes
33015 else
33016 glibcxx_cv_func__isnanl_use=no
33017 fi
33018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33019 ac_ext=c
33020 ac_cpp='$CPP $CPPFLAGS'
33021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33024
33025
33026 fi
33027
33028 fi
33029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
33030 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
33031
33032 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
33033 for ac_func in _isnanl
33034 do :
33035 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
33036 if test "x$ac_cv_func__isnanl" = xyes; then :
33037 cat >>confdefs.h <<_ACEOF
33038 #define HAVE__ISNANL 1
33039 _ACEOF
33040
33041 fi
33042 done
33043
33044 fi
33045 fi
33046
33047
33048
33049
33050
33051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
33052 $as_echo_n "checking for isinfl declaration... " >&6; }
33053 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
33054 if ${glibcxx_cv_func_isinfl_use+:} false; then :
33055 $as_echo_n "(cached) " >&6
33056 else
33057
33058
33059 ac_ext=cpp
33060 ac_cpp='$CXXCPP $CPPFLAGS'
33061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33064
33065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33066 /* end confdefs.h. */
33067 #include <math.h>
33068 #ifdef HAVE_IEEEFP_H
33069 #include <ieeefp.h>
33070 #endif
33071
33072 int
33073 main ()
33074 {
33075 isinfl(0);
33076 ;
33077 return 0;
33078 }
33079 _ACEOF
33080 if ac_fn_cxx_try_compile "$LINENO"; then :
33081 glibcxx_cv_func_isinfl_use=yes
33082 else
33083 glibcxx_cv_func_isinfl_use=no
33084 fi
33085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33086 ac_ext=c
33087 ac_cpp='$CPP $CPPFLAGS'
33088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33091
33092
33093 fi
33094
33095 fi
33096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
33097 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
33098
33099 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
33100 for ac_func in isinfl
33101 do :
33102 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
33103 if test "x$ac_cv_func_isinfl" = xyes; then :
33104 cat >>confdefs.h <<_ACEOF
33105 #define HAVE_ISINFL 1
33106 _ACEOF
33107
33108 fi
33109 done
33110
33111 else
33112
33113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
33114 $as_echo_n "checking for _isinfl declaration... " >&6; }
33115 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
33116 if ${glibcxx_cv_func__isinfl_use+:} false; then :
33117 $as_echo_n "(cached) " >&6
33118 else
33119
33120
33121 ac_ext=cpp
33122 ac_cpp='$CXXCPP $CPPFLAGS'
33123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33126
33127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33128 /* end confdefs.h. */
33129 #include <math.h>
33130 #ifdef HAVE_IEEEFP_H
33131 #include <ieeefp.h>
33132 #endif
33133
33134 int
33135 main ()
33136 {
33137 _isinfl(0);
33138 ;
33139 return 0;
33140 }
33141 _ACEOF
33142 if ac_fn_cxx_try_compile "$LINENO"; then :
33143 glibcxx_cv_func__isinfl_use=yes
33144 else
33145 glibcxx_cv_func__isinfl_use=no
33146 fi
33147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33148 ac_ext=c
33149 ac_cpp='$CPP $CPPFLAGS'
33150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33153
33154
33155 fi
33156
33157 fi
33158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
33159 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
33160
33161 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
33162 for ac_func in _isinfl
33163 do :
33164 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
33165 if test "x$ac_cv_func__isinfl" = xyes; then :
33166 cat >>confdefs.h <<_ACEOF
33167 #define HAVE__ISINFL 1
33168 _ACEOF
33169
33170 fi
33171 done
33172
33173 fi
33174 fi
33175
33176
33177
33178
33179
33180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
33181 $as_echo_n "checking for atan2l declaration... " >&6; }
33182 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
33183 if ${glibcxx_cv_func_atan2l_use+:} false; then :
33184 $as_echo_n "(cached) " >&6
33185 else
33186
33187
33188 ac_ext=cpp
33189 ac_cpp='$CXXCPP $CPPFLAGS'
33190 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33191 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33192 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33193
33194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33195 /* end confdefs.h. */
33196 #include <math.h>
33197 int
33198 main ()
33199 {
33200 atan2l(0, 0);
33201 ;
33202 return 0;
33203 }
33204 _ACEOF
33205 if ac_fn_cxx_try_compile "$LINENO"; then :
33206 glibcxx_cv_func_atan2l_use=yes
33207 else
33208 glibcxx_cv_func_atan2l_use=no
33209 fi
33210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33211 ac_ext=c
33212 ac_cpp='$CPP $CPPFLAGS'
33213 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33214 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33215 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33216
33217
33218 fi
33219
33220 fi
33221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
33222 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
33223
33224 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
33225 for ac_func in atan2l
33226 do :
33227 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
33228 if test "x$ac_cv_func_atan2l" = xyes; then :
33229 cat >>confdefs.h <<_ACEOF
33230 #define HAVE_ATAN2L 1
33231 _ACEOF
33232
33233 fi
33234 done
33235
33236 else
33237
33238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
33239 $as_echo_n "checking for _atan2l declaration... " >&6; }
33240 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
33241 if ${glibcxx_cv_func__atan2l_use+:} false; then :
33242 $as_echo_n "(cached) " >&6
33243 else
33244
33245
33246 ac_ext=cpp
33247 ac_cpp='$CXXCPP $CPPFLAGS'
33248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33251
33252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33253 /* end confdefs.h. */
33254 #include <math.h>
33255 int
33256 main ()
33257 {
33258 _atan2l(0, 0);
33259 ;
33260 return 0;
33261 }
33262 _ACEOF
33263 if ac_fn_cxx_try_compile "$LINENO"; then :
33264 glibcxx_cv_func__atan2l_use=yes
33265 else
33266 glibcxx_cv_func__atan2l_use=no
33267 fi
33268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33269 ac_ext=c
33270 ac_cpp='$CPP $CPPFLAGS'
33271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33274
33275
33276 fi
33277
33278 fi
33279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
33280 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
33281
33282 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
33283 for ac_func in _atan2l
33284 do :
33285 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
33286 if test "x$ac_cv_func__atan2l" = xyes; then :
33287 cat >>confdefs.h <<_ACEOF
33288 #define HAVE__ATAN2L 1
33289 _ACEOF
33290
33291 fi
33292 done
33293
33294 fi
33295 fi
33296
33297
33298
33299
33300
33301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
33302 $as_echo_n "checking for expl declaration... " >&6; }
33303 if test x${glibcxx_cv_func_expl_use+set} != xset; then
33304 if ${glibcxx_cv_func_expl_use+:} false; then :
33305 $as_echo_n "(cached) " >&6
33306 else
33307
33308
33309 ac_ext=cpp
33310 ac_cpp='$CXXCPP $CPPFLAGS'
33311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33314
33315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33316 /* end confdefs.h. */
33317 #include <math.h>
33318 #ifdef HAVE_IEEEFP_H
33319 #include <ieeefp.h>
33320 #endif
33321
33322 int
33323 main ()
33324 {
33325 expl(0);
33326 ;
33327 return 0;
33328 }
33329 _ACEOF
33330 if ac_fn_cxx_try_compile "$LINENO"; then :
33331 glibcxx_cv_func_expl_use=yes
33332 else
33333 glibcxx_cv_func_expl_use=no
33334 fi
33335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33336 ac_ext=c
33337 ac_cpp='$CPP $CPPFLAGS'
33338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33341
33342
33343 fi
33344
33345 fi
33346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
33347 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
33348
33349 if test x$glibcxx_cv_func_expl_use = x"yes"; then
33350 for ac_func in expl
33351 do :
33352 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
33353 if test "x$ac_cv_func_expl" = xyes; then :
33354 cat >>confdefs.h <<_ACEOF
33355 #define HAVE_EXPL 1
33356 _ACEOF
33357
33358 fi
33359 done
33360
33361 else
33362
33363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
33364 $as_echo_n "checking for _expl declaration... " >&6; }
33365 if test x${glibcxx_cv_func__expl_use+set} != xset; then
33366 if ${glibcxx_cv_func__expl_use+:} false; then :
33367 $as_echo_n "(cached) " >&6
33368 else
33369
33370
33371 ac_ext=cpp
33372 ac_cpp='$CXXCPP $CPPFLAGS'
33373 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33374 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33375 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33376
33377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33378 /* end confdefs.h. */
33379 #include <math.h>
33380 #ifdef HAVE_IEEEFP_H
33381 #include <ieeefp.h>
33382 #endif
33383
33384 int
33385 main ()
33386 {
33387 _expl(0);
33388 ;
33389 return 0;
33390 }
33391 _ACEOF
33392 if ac_fn_cxx_try_compile "$LINENO"; then :
33393 glibcxx_cv_func__expl_use=yes
33394 else
33395 glibcxx_cv_func__expl_use=no
33396 fi
33397 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33398 ac_ext=c
33399 ac_cpp='$CPP $CPPFLAGS'
33400 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33401 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33402 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33403
33404
33405 fi
33406
33407 fi
33408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
33409 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
33410
33411 if test x$glibcxx_cv_func__expl_use = x"yes"; then
33412 for ac_func in _expl
33413 do :
33414 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
33415 if test "x$ac_cv_func__expl" = xyes; then :
33416 cat >>confdefs.h <<_ACEOF
33417 #define HAVE__EXPL 1
33418 _ACEOF
33419
33420 fi
33421 done
33422
33423 fi
33424 fi
33425
33426
33427
33428
33429
33430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
33431 $as_echo_n "checking for fabsl declaration... " >&6; }
33432 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
33433 if ${glibcxx_cv_func_fabsl_use+:} false; then :
33434 $as_echo_n "(cached) " >&6
33435 else
33436
33437
33438 ac_ext=cpp
33439 ac_cpp='$CXXCPP $CPPFLAGS'
33440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33443
33444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33445 /* end confdefs.h. */
33446 #include <math.h>
33447 #ifdef HAVE_IEEEFP_H
33448 #include <ieeefp.h>
33449 #endif
33450
33451 int
33452 main ()
33453 {
33454 fabsl(0);
33455 ;
33456 return 0;
33457 }
33458 _ACEOF
33459 if ac_fn_cxx_try_compile "$LINENO"; then :
33460 glibcxx_cv_func_fabsl_use=yes
33461 else
33462 glibcxx_cv_func_fabsl_use=no
33463 fi
33464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33465 ac_ext=c
33466 ac_cpp='$CPP $CPPFLAGS'
33467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33470
33471
33472 fi
33473
33474 fi
33475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
33476 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
33477
33478 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
33479 for ac_func in fabsl
33480 do :
33481 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
33482 if test "x$ac_cv_func_fabsl" = xyes; then :
33483 cat >>confdefs.h <<_ACEOF
33484 #define HAVE_FABSL 1
33485 _ACEOF
33486
33487 fi
33488 done
33489
33490 else
33491
33492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
33493 $as_echo_n "checking for _fabsl declaration... " >&6; }
33494 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
33495 if ${glibcxx_cv_func__fabsl_use+:} false; then :
33496 $as_echo_n "(cached) " >&6
33497 else
33498
33499
33500 ac_ext=cpp
33501 ac_cpp='$CXXCPP $CPPFLAGS'
33502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33505
33506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33507 /* end confdefs.h. */
33508 #include <math.h>
33509 #ifdef HAVE_IEEEFP_H
33510 #include <ieeefp.h>
33511 #endif
33512
33513 int
33514 main ()
33515 {
33516 _fabsl(0);
33517 ;
33518 return 0;
33519 }
33520 _ACEOF
33521 if ac_fn_cxx_try_compile "$LINENO"; then :
33522 glibcxx_cv_func__fabsl_use=yes
33523 else
33524 glibcxx_cv_func__fabsl_use=no
33525 fi
33526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33527 ac_ext=c
33528 ac_cpp='$CPP $CPPFLAGS'
33529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33532
33533
33534 fi
33535
33536 fi
33537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
33538 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
33539
33540 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
33541 for ac_func in _fabsl
33542 do :
33543 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
33544 if test "x$ac_cv_func__fabsl" = xyes; then :
33545 cat >>confdefs.h <<_ACEOF
33546 #define HAVE__FABSL 1
33547 _ACEOF
33548
33549 fi
33550 done
33551
33552 fi
33553 fi
33554
33555
33556
33557
33558
33559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
33560 $as_echo_n "checking for fmodl declaration... " >&6; }
33561 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
33562 if ${glibcxx_cv_func_fmodl_use+:} false; then :
33563 $as_echo_n "(cached) " >&6
33564 else
33565
33566
33567 ac_ext=cpp
33568 ac_cpp='$CXXCPP $CPPFLAGS'
33569 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33570 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33571 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33572
33573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33574 /* end confdefs.h. */
33575 #include <math.h>
33576 int
33577 main ()
33578 {
33579 fmodl(0, 0);
33580 ;
33581 return 0;
33582 }
33583 _ACEOF
33584 if ac_fn_cxx_try_compile "$LINENO"; then :
33585 glibcxx_cv_func_fmodl_use=yes
33586 else
33587 glibcxx_cv_func_fmodl_use=no
33588 fi
33589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33590 ac_ext=c
33591 ac_cpp='$CPP $CPPFLAGS'
33592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33595
33596
33597 fi
33598
33599 fi
33600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
33601 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
33602
33603 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
33604 for ac_func in fmodl
33605 do :
33606 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
33607 if test "x$ac_cv_func_fmodl" = xyes; then :
33608 cat >>confdefs.h <<_ACEOF
33609 #define HAVE_FMODL 1
33610 _ACEOF
33611
33612 fi
33613 done
33614
33615 else
33616
33617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
33618 $as_echo_n "checking for _fmodl declaration... " >&6; }
33619 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
33620 if ${glibcxx_cv_func__fmodl_use+:} false; then :
33621 $as_echo_n "(cached) " >&6
33622 else
33623
33624
33625 ac_ext=cpp
33626 ac_cpp='$CXXCPP $CPPFLAGS'
33627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33630
33631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33632 /* end confdefs.h. */
33633 #include <math.h>
33634 int
33635 main ()
33636 {
33637 _fmodl(0, 0);
33638 ;
33639 return 0;
33640 }
33641 _ACEOF
33642 if ac_fn_cxx_try_compile "$LINENO"; then :
33643 glibcxx_cv_func__fmodl_use=yes
33644 else
33645 glibcxx_cv_func__fmodl_use=no
33646 fi
33647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33648 ac_ext=c
33649 ac_cpp='$CPP $CPPFLAGS'
33650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33653
33654
33655 fi
33656
33657 fi
33658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
33659 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
33660
33661 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
33662 for ac_func in _fmodl
33663 do :
33664 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
33665 if test "x$ac_cv_func__fmodl" = xyes; then :
33666 cat >>confdefs.h <<_ACEOF
33667 #define HAVE__FMODL 1
33668 _ACEOF
33669
33670 fi
33671 done
33672
33673 fi
33674 fi
33675
33676
33677
33678
33679
33680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
33681 $as_echo_n "checking for frexpl declaration... " >&6; }
33682 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
33683 if ${glibcxx_cv_func_frexpl_use+:} false; then :
33684 $as_echo_n "(cached) " >&6
33685 else
33686
33687
33688 ac_ext=cpp
33689 ac_cpp='$CXXCPP $CPPFLAGS'
33690 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33691 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33692 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33693
33694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33695 /* end confdefs.h. */
33696 #include <math.h>
33697 int
33698 main ()
33699 {
33700 frexpl(0, 0);
33701 ;
33702 return 0;
33703 }
33704 _ACEOF
33705 if ac_fn_cxx_try_compile "$LINENO"; then :
33706 glibcxx_cv_func_frexpl_use=yes
33707 else
33708 glibcxx_cv_func_frexpl_use=no
33709 fi
33710 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33711 ac_ext=c
33712 ac_cpp='$CPP $CPPFLAGS'
33713 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33714 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33715 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33716
33717
33718 fi
33719
33720 fi
33721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
33722 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
33723
33724 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
33725 for ac_func in frexpl
33726 do :
33727 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
33728 if test "x$ac_cv_func_frexpl" = xyes; then :
33729 cat >>confdefs.h <<_ACEOF
33730 #define HAVE_FREXPL 1
33731 _ACEOF
33732
33733 fi
33734 done
33735
33736 else
33737
33738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
33739 $as_echo_n "checking for _frexpl declaration... " >&6; }
33740 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
33741 if ${glibcxx_cv_func__frexpl_use+:} false; then :
33742 $as_echo_n "(cached) " >&6
33743 else
33744
33745
33746 ac_ext=cpp
33747 ac_cpp='$CXXCPP $CPPFLAGS'
33748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33751
33752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33753 /* end confdefs.h. */
33754 #include <math.h>
33755 int
33756 main ()
33757 {
33758 _frexpl(0, 0);
33759 ;
33760 return 0;
33761 }
33762 _ACEOF
33763 if ac_fn_cxx_try_compile "$LINENO"; then :
33764 glibcxx_cv_func__frexpl_use=yes
33765 else
33766 glibcxx_cv_func__frexpl_use=no
33767 fi
33768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33769 ac_ext=c
33770 ac_cpp='$CPP $CPPFLAGS'
33771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33774
33775
33776 fi
33777
33778 fi
33779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
33780 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
33781
33782 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
33783 for ac_func in _frexpl
33784 do :
33785 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
33786 if test "x$ac_cv_func__frexpl" = xyes; then :
33787 cat >>confdefs.h <<_ACEOF
33788 #define HAVE__FREXPL 1
33789 _ACEOF
33790
33791 fi
33792 done
33793
33794 fi
33795 fi
33796
33797
33798
33799
33800
33801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
33802 $as_echo_n "checking for hypotl declaration... " >&6; }
33803 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
33804 if ${glibcxx_cv_func_hypotl_use+:} false; then :
33805 $as_echo_n "(cached) " >&6
33806 else
33807
33808
33809 ac_ext=cpp
33810 ac_cpp='$CXXCPP $CPPFLAGS'
33811 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33812 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33813 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33814
33815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33816 /* end confdefs.h. */
33817 #include <math.h>
33818 int
33819 main ()
33820 {
33821 hypotl(0, 0);
33822 ;
33823 return 0;
33824 }
33825 _ACEOF
33826 if ac_fn_cxx_try_compile "$LINENO"; then :
33827 glibcxx_cv_func_hypotl_use=yes
33828 else
33829 glibcxx_cv_func_hypotl_use=no
33830 fi
33831 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33832 ac_ext=c
33833 ac_cpp='$CPP $CPPFLAGS'
33834 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33835 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33836 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33837
33838
33839 fi
33840
33841 fi
33842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
33843 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
33844
33845 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
33846 for ac_func in hypotl
33847 do :
33848 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
33849 if test "x$ac_cv_func_hypotl" = xyes; then :
33850 cat >>confdefs.h <<_ACEOF
33851 #define HAVE_HYPOTL 1
33852 _ACEOF
33853
33854 fi
33855 done
33856
33857 else
33858
33859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
33860 $as_echo_n "checking for _hypotl declaration... " >&6; }
33861 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
33862 if ${glibcxx_cv_func__hypotl_use+:} false; then :
33863 $as_echo_n "(cached) " >&6
33864 else
33865
33866
33867 ac_ext=cpp
33868 ac_cpp='$CXXCPP $CPPFLAGS'
33869 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33870 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33871 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33872
33873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33874 /* end confdefs.h. */
33875 #include <math.h>
33876 int
33877 main ()
33878 {
33879 _hypotl(0, 0);
33880 ;
33881 return 0;
33882 }
33883 _ACEOF
33884 if ac_fn_cxx_try_compile "$LINENO"; then :
33885 glibcxx_cv_func__hypotl_use=yes
33886 else
33887 glibcxx_cv_func__hypotl_use=no
33888 fi
33889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33890 ac_ext=c
33891 ac_cpp='$CPP $CPPFLAGS'
33892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33895
33896
33897 fi
33898
33899 fi
33900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
33901 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
33902
33903 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
33904 for ac_func in _hypotl
33905 do :
33906 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
33907 if test "x$ac_cv_func__hypotl" = xyes; then :
33908 cat >>confdefs.h <<_ACEOF
33909 #define HAVE__HYPOTL 1
33910 _ACEOF
33911
33912 fi
33913 done
33914
33915 fi
33916 fi
33917
33918
33919
33920
33921
33922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
33923 $as_echo_n "checking for ldexpl declaration... " >&6; }
33924 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
33925 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
33926 $as_echo_n "(cached) " >&6
33927 else
33928
33929
33930 ac_ext=cpp
33931 ac_cpp='$CXXCPP $CPPFLAGS'
33932 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33933 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33934 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33935
33936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33937 /* end confdefs.h. */
33938 #include <math.h>
33939 int
33940 main ()
33941 {
33942 ldexpl(0, 0);
33943 ;
33944 return 0;
33945 }
33946 _ACEOF
33947 if ac_fn_cxx_try_compile "$LINENO"; then :
33948 glibcxx_cv_func_ldexpl_use=yes
33949 else
33950 glibcxx_cv_func_ldexpl_use=no
33951 fi
33952 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33953 ac_ext=c
33954 ac_cpp='$CPP $CPPFLAGS'
33955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33958
33959
33960 fi
33961
33962 fi
33963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
33964 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
33965
33966 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
33967 for ac_func in ldexpl
33968 do :
33969 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
33970 if test "x$ac_cv_func_ldexpl" = xyes; then :
33971 cat >>confdefs.h <<_ACEOF
33972 #define HAVE_LDEXPL 1
33973 _ACEOF
33974
33975 fi
33976 done
33977
33978 else
33979
33980 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
33981 $as_echo_n "checking for _ldexpl declaration... " >&6; }
33982 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
33983 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
33984 $as_echo_n "(cached) " >&6
33985 else
33986
33987
33988 ac_ext=cpp
33989 ac_cpp='$CXXCPP $CPPFLAGS'
33990 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33991 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33992 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33993
33994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
33995 /* end confdefs.h. */
33996 #include <math.h>
33997 int
33998 main ()
33999 {
34000 _ldexpl(0, 0);
34001 ;
34002 return 0;
34003 }
34004 _ACEOF
34005 if ac_fn_cxx_try_compile "$LINENO"; then :
34006 glibcxx_cv_func__ldexpl_use=yes
34007 else
34008 glibcxx_cv_func__ldexpl_use=no
34009 fi
34010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34011 ac_ext=c
34012 ac_cpp='$CPP $CPPFLAGS'
34013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34016
34017
34018 fi
34019
34020 fi
34021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
34022 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
34023
34024 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
34025 for ac_func in _ldexpl
34026 do :
34027 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
34028 if test "x$ac_cv_func__ldexpl" = xyes; then :
34029 cat >>confdefs.h <<_ACEOF
34030 #define HAVE__LDEXPL 1
34031 _ACEOF
34032
34033 fi
34034 done
34035
34036 fi
34037 fi
34038
34039
34040
34041
34042
34043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
34044 $as_echo_n "checking for logl declaration... " >&6; }
34045 if test x${glibcxx_cv_func_logl_use+set} != xset; then
34046 if ${glibcxx_cv_func_logl_use+:} false; then :
34047 $as_echo_n "(cached) " >&6
34048 else
34049
34050
34051 ac_ext=cpp
34052 ac_cpp='$CXXCPP $CPPFLAGS'
34053 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34054 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34055 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34056
34057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34058 /* end confdefs.h. */
34059 #include <math.h>
34060 #ifdef HAVE_IEEEFP_H
34061 #include <ieeefp.h>
34062 #endif
34063
34064 int
34065 main ()
34066 {
34067 logl(0);
34068 ;
34069 return 0;
34070 }
34071 _ACEOF
34072 if ac_fn_cxx_try_compile "$LINENO"; then :
34073 glibcxx_cv_func_logl_use=yes
34074 else
34075 glibcxx_cv_func_logl_use=no
34076 fi
34077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34078 ac_ext=c
34079 ac_cpp='$CPP $CPPFLAGS'
34080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34083
34084
34085 fi
34086
34087 fi
34088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
34089 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
34090
34091 if test x$glibcxx_cv_func_logl_use = x"yes"; then
34092 for ac_func in logl
34093 do :
34094 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
34095 if test "x$ac_cv_func_logl" = xyes; then :
34096 cat >>confdefs.h <<_ACEOF
34097 #define HAVE_LOGL 1
34098 _ACEOF
34099
34100 fi
34101 done
34102
34103 else
34104
34105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
34106 $as_echo_n "checking for _logl declaration... " >&6; }
34107 if test x${glibcxx_cv_func__logl_use+set} != xset; then
34108 if ${glibcxx_cv_func__logl_use+:} false; then :
34109 $as_echo_n "(cached) " >&6
34110 else
34111
34112
34113 ac_ext=cpp
34114 ac_cpp='$CXXCPP $CPPFLAGS'
34115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34118
34119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34120 /* end confdefs.h. */
34121 #include <math.h>
34122 #ifdef HAVE_IEEEFP_H
34123 #include <ieeefp.h>
34124 #endif
34125
34126 int
34127 main ()
34128 {
34129 _logl(0);
34130 ;
34131 return 0;
34132 }
34133 _ACEOF
34134 if ac_fn_cxx_try_compile "$LINENO"; then :
34135 glibcxx_cv_func__logl_use=yes
34136 else
34137 glibcxx_cv_func__logl_use=no
34138 fi
34139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34140 ac_ext=c
34141 ac_cpp='$CPP $CPPFLAGS'
34142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34145
34146
34147 fi
34148
34149 fi
34150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
34151 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
34152
34153 if test x$glibcxx_cv_func__logl_use = x"yes"; then
34154 for ac_func in _logl
34155 do :
34156 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
34157 if test "x$ac_cv_func__logl" = xyes; then :
34158 cat >>confdefs.h <<_ACEOF
34159 #define HAVE__LOGL 1
34160 _ACEOF
34161
34162 fi
34163 done
34164
34165 fi
34166 fi
34167
34168
34169
34170
34171
34172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
34173 $as_echo_n "checking for log10l declaration... " >&6; }
34174 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
34175 if ${glibcxx_cv_func_log10l_use+:} false; then :
34176 $as_echo_n "(cached) " >&6
34177 else
34178
34179
34180 ac_ext=cpp
34181 ac_cpp='$CXXCPP $CPPFLAGS'
34182 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34183 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34184 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34185
34186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34187 /* end confdefs.h. */
34188 #include <math.h>
34189 #ifdef HAVE_IEEEFP_H
34190 #include <ieeefp.h>
34191 #endif
34192
34193 int
34194 main ()
34195 {
34196 log10l(0);
34197 ;
34198 return 0;
34199 }
34200 _ACEOF
34201 if ac_fn_cxx_try_compile "$LINENO"; then :
34202 glibcxx_cv_func_log10l_use=yes
34203 else
34204 glibcxx_cv_func_log10l_use=no
34205 fi
34206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34207 ac_ext=c
34208 ac_cpp='$CPP $CPPFLAGS'
34209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34212
34213
34214 fi
34215
34216 fi
34217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
34218 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
34219
34220 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
34221 for ac_func in log10l
34222 do :
34223 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
34224 if test "x$ac_cv_func_log10l" = xyes; then :
34225 cat >>confdefs.h <<_ACEOF
34226 #define HAVE_LOG10L 1
34227 _ACEOF
34228
34229 fi
34230 done
34231
34232 else
34233
34234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
34235 $as_echo_n "checking for _log10l declaration... " >&6; }
34236 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
34237 if ${glibcxx_cv_func__log10l_use+:} false; then :
34238 $as_echo_n "(cached) " >&6
34239 else
34240
34241
34242 ac_ext=cpp
34243 ac_cpp='$CXXCPP $CPPFLAGS'
34244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34247
34248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34249 /* end confdefs.h. */
34250 #include <math.h>
34251 #ifdef HAVE_IEEEFP_H
34252 #include <ieeefp.h>
34253 #endif
34254
34255 int
34256 main ()
34257 {
34258 _log10l(0);
34259 ;
34260 return 0;
34261 }
34262 _ACEOF
34263 if ac_fn_cxx_try_compile "$LINENO"; then :
34264 glibcxx_cv_func__log10l_use=yes
34265 else
34266 glibcxx_cv_func__log10l_use=no
34267 fi
34268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34269 ac_ext=c
34270 ac_cpp='$CPP $CPPFLAGS'
34271 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34272 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34273 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34274
34275
34276 fi
34277
34278 fi
34279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
34280 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
34281
34282 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
34283 for ac_func in _log10l
34284 do :
34285 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
34286 if test "x$ac_cv_func__log10l" = xyes; then :
34287 cat >>confdefs.h <<_ACEOF
34288 #define HAVE__LOG10L 1
34289 _ACEOF
34290
34291 fi
34292 done
34293
34294 fi
34295 fi
34296
34297
34298
34299
34300
34301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
34302 $as_echo_n "checking for modfl declaration... " >&6; }
34303 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
34304 if ${glibcxx_cv_func_modfl_use+:} false; then :
34305 $as_echo_n "(cached) " >&6
34306 else
34307
34308
34309 ac_ext=cpp
34310 ac_cpp='$CXXCPP $CPPFLAGS'
34311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34314
34315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34316 /* end confdefs.h. */
34317 #include <math.h>
34318 int
34319 main ()
34320 {
34321 modfl(0, 0);
34322 ;
34323 return 0;
34324 }
34325 _ACEOF
34326 if ac_fn_cxx_try_compile "$LINENO"; then :
34327 glibcxx_cv_func_modfl_use=yes
34328 else
34329 glibcxx_cv_func_modfl_use=no
34330 fi
34331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34332 ac_ext=c
34333 ac_cpp='$CPP $CPPFLAGS'
34334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34337
34338
34339 fi
34340
34341 fi
34342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
34343 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
34344
34345 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
34346 for ac_func in modfl
34347 do :
34348 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
34349 if test "x$ac_cv_func_modfl" = xyes; then :
34350 cat >>confdefs.h <<_ACEOF
34351 #define HAVE_MODFL 1
34352 _ACEOF
34353
34354 fi
34355 done
34356
34357 else
34358
34359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
34360 $as_echo_n "checking for _modfl declaration... " >&6; }
34361 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
34362 if ${glibcxx_cv_func__modfl_use+:} false; then :
34363 $as_echo_n "(cached) " >&6
34364 else
34365
34366
34367 ac_ext=cpp
34368 ac_cpp='$CXXCPP $CPPFLAGS'
34369 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34370 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34371 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34372
34373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34374 /* end confdefs.h. */
34375 #include <math.h>
34376 int
34377 main ()
34378 {
34379 _modfl(0, 0);
34380 ;
34381 return 0;
34382 }
34383 _ACEOF
34384 if ac_fn_cxx_try_compile "$LINENO"; then :
34385 glibcxx_cv_func__modfl_use=yes
34386 else
34387 glibcxx_cv_func__modfl_use=no
34388 fi
34389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34390 ac_ext=c
34391 ac_cpp='$CPP $CPPFLAGS'
34392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34395
34396
34397 fi
34398
34399 fi
34400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
34401 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
34402
34403 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
34404 for ac_func in _modfl
34405 do :
34406 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
34407 if test "x$ac_cv_func__modfl" = xyes; then :
34408 cat >>confdefs.h <<_ACEOF
34409 #define HAVE__MODFL 1
34410 _ACEOF
34411
34412 fi
34413 done
34414
34415 fi
34416 fi
34417
34418
34419
34420
34421
34422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
34423 $as_echo_n "checking for powl declaration... " >&6; }
34424 if test x${glibcxx_cv_func_powl_use+set} != xset; then
34425 if ${glibcxx_cv_func_powl_use+:} false; then :
34426 $as_echo_n "(cached) " >&6
34427 else
34428
34429
34430 ac_ext=cpp
34431 ac_cpp='$CXXCPP $CPPFLAGS'
34432 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34433 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34434 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34435
34436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34437 /* end confdefs.h. */
34438 #include <math.h>
34439 int
34440 main ()
34441 {
34442 powl(0, 0);
34443 ;
34444 return 0;
34445 }
34446 _ACEOF
34447 if ac_fn_cxx_try_compile "$LINENO"; then :
34448 glibcxx_cv_func_powl_use=yes
34449 else
34450 glibcxx_cv_func_powl_use=no
34451 fi
34452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34453 ac_ext=c
34454 ac_cpp='$CPP $CPPFLAGS'
34455 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34456 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34457 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34458
34459
34460 fi
34461
34462 fi
34463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
34464 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
34465
34466 if test x$glibcxx_cv_func_powl_use = x"yes"; then
34467 for ac_func in powl
34468 do :
34469 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
34470 if test "x$ac_cv_func_powl" = xyes; then :
34471 cat >>confdefs.h <<_ACEOF
34472 #define HAVE_POWL 1
34473 _ACEOF
34474
34475 fi
34476 done
34477
34478 else
34479
34480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
34481 $as_echo_n "checking for _powl declaration... " >&6; }
34482 if test x${glibcxx_cv_func__powl_use+set} != xset; then
34483 if ${glibcxx_cv_func__powl_use+:} false; then :
34484 $as_echo_n "(cached) " >&6
34485 else
34486
34487
34488 ac_ext=cpp
34489 ac_cpp='$CXXCPP $CPPFLAGS'
34490 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34491 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34492 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34493
34494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34495 /* end confdefs.h. */
34496 #include <math.h>
34497 int
34498 main ()
34499 {
34500 _powl(0, 0);
34501 ;
34502 return 0;
34503 }
34504 _ACEOF
34505 if ac_fn_cxx_try_compile "$LINENO"; then :
34506 glibcxx_cv_func__powl_use=yes
34507 else
34508 glibcxx_cv_func__powl_use=no
34509 fi
34510 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34511 ac_ext=c
34512 ac_cpp='$CPP $CPPFLAGS'
34513 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34514 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34515 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34516
34517
34518 fi
34519
34520 fi
34521 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
34522 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
34523
34524 if test x$glibcxx_cv_func__powl_use = x"yes"; then
34525 for ac_func in _powl
34526 do :
34527 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
34528 if test "x$ac_cv_func__powl" = xyes; then :
34529 cat >>confdefs.h <<_ACEOF
34530 #define HAVE__POWL 1
34531 _ACEOF
34532
34533 fi
34534 done
34535
34536 fi
34537 fi
34538
34539
34540
34541
34542
34543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
34544 $as_echo_n "checking for sqrtl declaration... " >&6; }
34545 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
34546 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
34547 $as_echo_n "(cached) " >&6
34548 else
34549
34550
34551 ac_ext=cpp
34552 ac_cpp='$CXXCPP $CPPFLAGS'
34553 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34554 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34555 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34556
34557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34558 /* end confdefs.h. */
34559 #include <math.h>
34560 #ifdef HAVE_IEEEFP_H
34561 #include <ieeefp.h>
34562 #endif
34563
34564 int
34565 main ()
34566 {
34567 sqrtl(0);
34568 ;
34569 return 0;
34570 }
34571 _ACEOF
34572 if ac_fn_cxx_try_compile "$LINENO"; then :
34573 glibcxx_cv_func_sqrtl_use=yes
34574 else
34575 glibcxx_cv_func_sqrtl_use=no
34576 fi
34577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34578 ac_ext=c
34579 ac_cpp='$CPP $CPPFLAGS'
34580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34583
34584
34585 fi
34586
34587 fi
34588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
34589 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
34590
34591 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
34592 for ac_func in sqrtl
34593 do :
34594 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
34595 if test "x$ac_cv_func_sqrtl" = xyes; then :
34596 cat >>confdefs.h <<_ACEOF
34597 #define HAVE_SQRTL 1
34598 _ACEOF
34599
34600 fi
34601 done
34602
34603 else
34604
34605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
34606 $as_echo_n "checking for _sqrtl declaration... " >&6; }
34607 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
34608 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
34609 $as_echo_n "(cached) " >&6
34610 else
34611
34612
34613 ac_ext=cpp
34614 ac_cpp='$CXXCPP $CPPFLAGS'
34615 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34616 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34617 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34618
34619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34620 /* end confdefs.h. */
34621 #include <math.h>
34622 #ifdef HAVE_IEEEFP_H
34623 #include <ieeefp.h>
34624 #endif
34625
34626 int
34627 main ()
34628 {
34629 _sqrtl(0);
34630 ;
34631 return 0;
34632 }
34633 _ACEOF
34634 if ac_fn_cxx_try_compile "$LINENO"; then :
34635 glibcxx_cv_func__sqrtl_use=yes
34636 else
34637 glibcxx_cv_func__sqrtl_use=no
34638 fi
34639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34640 ac_ext=c
34641 ac_cpp='$CPP $CPPFLAGS'
34642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34645
34646
34647 fi
34648
34649 fi
34650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
34651 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
34652
34653 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
34654 for ac_func in _sqrtl
34655 do :
34656 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
34657 if test "x$ac_cv_func__sqrtl" = xyes; then :
34658 cat >>confdefs.h <<_ACEOF
34659 #define HAVE__SQRTL 1
34660 _ACEOF
34661
34662 fi
34663 done
34664
34665 fi
34666 fi
34667
34668
34669
34670
34671
34672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
34673 $as_echo_n "checking for sincosl declaration... " >&6; }
34674 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
34675 if ${glibcxx_cv_func_sincosl_use+:} false; then :
34676 $as_echo_n "(cached) " >&6
34677 else
34678
34679
34680 ac_ext=cpp
34681 ac_cpp='$CXXCPP $CPPFLAGS'
34682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34685
34686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34687 /* end confdefs.h. */
34688 #include <math.h>
34689 int
34690 main ()
34691 {
34692 sincosl(0, 0, 0);
34693 ;
34694 return 0;
34695 }
34696 _ACEOF
34697 if ac_fn_cxx_try_compile "$LINENO"; then :
34698 glibcxx_cv_func_sincosl_use=yes
34699 else
34700 glibcxx_cv_func_sincosl_use=no
34701 fi
34702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34703 ac_ext=c
34704 ac_cpp='$CPP $CPPFLAGS'
34705 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34706 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34707 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34708
34709
34710 fi
34711
34712 fi
34713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
34714 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
34715
34716 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
34717 for ac_func in sincosl
34718 do :
34719 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
34720 if test "x$ac_cv_func_sincosl" = xyes; then :
34721 cat >>confdefs.h <<_ACEOF
34722 #define HAVE_SINCOSL 1
34723 _ACEOF
34724
34725 fi
34726 done
34727
34728 else
34729
34730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
34731 $as_echo_n "checking for _sincosl declaration... " >&6; }
34732 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
34733 if ${glibcxx_cv_func__sincosl_use+:} false; then :
34734 $as_echo_n "(cached) " >&6
34735 else
34736
34737
34738 ac_ext=cpp
34739 ac_cpp='$CXXCPP $CPPFLAGS'
34740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34743
34744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34745 /* end confdefs.h. */
34746 #include <math.h>
34747 int
34748 main ()
34749 {
34750 _sincosl(0, 0, 0);
34751 ;
34752 return 0;
34753 }
34754 _ACEOF
34755 if ac_fn_cxx_try_compile "$LINENO"; then :
34756 glibcxx_cv_func__sincosl_use=yes
34757 else
34758 glibcxx_cv_func__sincosl_use=no
34759 fi
34760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34761 ac_ext=c
34762 ac_cpp='$CPP $CPPFLAGS'
34763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34766
34767
34768 fi
34769
34770 fi
34771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
34772 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
34773
34774 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
34775 for ac_func in _sincosl
34776 do :
34777 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
34778 if test "x$ac_cv_func__sincosl" = xyes; then :
34779 cat >>confdefs.h <<_ACEOF
34780 #define HAVE__SINCOSL 1
34781 _ACEOF
34782
34783 fi
34784 done
34785
34786 fi
34787 fi
34788
34789
34790
34791
34792
34793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
34794 $as_echo_n "checking for finitel declaration... " >&6; }
34795 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
34796 if ${glibcxx_cv_func_finitel_use+:} false; then :
34797 $as_echo_n "(cached) " >&6
34798 else
34799
34800
34801 ac_ext=cpp
34802 ac_cpp='$CXXCPP $CPPFLAGS'
34803 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34804 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34805 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34806
34807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34808 /* end confdefs.h. */
34809 #include <math.h>
34810 #ifdef HAVE_IEEEFP_H
34811 #include <ieeefp.h>
34812 #endif
34813
34814 int
34815 main ()
34816 {
34817 finitel(0);
34818 ;
34819 return 0;
34820 }
34821 _ACEOF
34822 if ac_fn_cxx_try_compile "$LINENO"; then :
34823 glibcxx_cv_func_finitel_use=yes
34824 else
34825 glibcxx_cv_func_finitel_use=no
34826 fi
34827 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34828 ac_ext=c
34829 ac_cpp='$CPP $CPPFLAGS'
34830 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34831 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34832 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34833
34834
34835 fi
34836
34837 fi
34838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
34839 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
34840
34841 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
34842 for ac_func in finitel
34843 do :
34844 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
34845 if test "x$ac_cv_func_finitel" = xyes; then :
34846 cat >>confdefs.h <<_ACEOF
34847 #define HAVE_FINITEL 1
34848 _ACEOF
34849
34850 fi
34851 done
34852
34853 else
34854
34855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
34856 $as_echo_n "checking for _finitel declaration... " >&6; }
34857 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
34858 if ${glibcxx_cv_func__finitel_use+:} false; then :
34859 $as_echo_n "(cached) " >&6
34860 else
34861
34862
34863 ac_ext=cpp
34864 ac_cpp='$CXXCPP $CPPFLAGS'
34865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34868
34869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34870 /* end confdefs.h. */
34871 #include <math.h>
34872 #ifdef HAVE_IEEEFP_H
34873 #include <ieeefp.h>
34874 #endif
34875
34876 int
34877 main ()
34878 {
34879 _finitel(0);
34880 ;
34881 return 0;
34882 }
34883 _ACEOF
34884 if ac_fn_cxx_try_compile "$LINENO"; then :
34885 glibcxx_cv_func__finitel_use=yes
34886 else
34887 glibcxx_cv_func__finitel_use=no
34888 fi
34889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34890 ac_ext=c
34891 ac_cpp='$CPP $CPPFLAGS'
34892 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34893 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34894 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34895
34896
34897 fi
34898
34899 fi
34900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
34901 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
34902
34903 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
34904 for ac_func in _finitel
34905 do :
34906 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
34907 if test "x$ac_cv_func__finitel" = xyes; then :
34908 cat >>confdefs.h <<_ACEOF
34909 #define HAVE__FINITEL 1
34910 _ACEOF
34911
34912 fi
34913 done
34914
34915 fi
34916 fi
34917
34918
34919
34920
34921 LIBS="$ac_save_LIBS"
34922 CXXFLAGS="$ac_save_CXXFLAGS"
34923
34924
34925 ac_test_CXXFLAGS="${CXXFLAGS+set}"
34926 ac_save_CXXFLAGS="$CXXFLAGS"
34927 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
34928
34929
34930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
34931 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
34932 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
34933 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
34934 $as_echo_n "(cached) " >&6
34935 else
34936
34937
34938 ac_ext=cpp
34939 ac_cpp='$CXXCPP $CPPFLAGS'
34940 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34941 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34942 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34943
34944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
34945 /* end confdefs.h. */
34946 #include <stdlib.h>
34947 int
34948 main ()
34949 {
34950 at_quick_exit(0);
34951 ;
34952 return 0;
34953 }
34954 _ACEOF
34955 if ac_fn_cxx_try_compile "$LINENO"; then :
34956 glibcxx_cv_func_at_quick_exit_use=yes
34957 else
34958 glibcxx_cv_func_at_quick_exit_use=no
34959 fi
34960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34961 ac_ext=c
34962 ac_cpp='$CPP $CPPFLAGS'
34963 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34964 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34965 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34966
34967
34968 fi
34969
34970 fi
34971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
34972 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
34973 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
34974 for ac_func in at_quick_exit
34975 do :
34976 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
34977 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
34978 cat >>confdefs.h <<_ACEOF
34979 #define HAVE_AT_QUICK_EXIT 1
34980 _ACEOF
34981
34982 fi
34983 done
34984
34985 fi
34986
34987
34988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
34989 $as_echo_n "checking for quick_exit declaration... " >&6; }
34990 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
34991 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
34992 $as_echo_n "(cached) " >&6
34993 else
34994
34995
34996 ac_ext=cpp
34997 ac_cpp='$CXXCPP $CPPFLAGS'
34998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35001
35002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35003 /* end confdefs.h. */
35004 #include <stdlib.h>
35005 int
35006 main ()
35007 {
35008 quick_exit(0);
35009 ;
35010 return 0;
35011 }
35012 _ACEOF
35013 if ac_fn_cxx_try_compile "$LINENO"; then :
35014 glibcxx_cv_func_quick_exit_use=yes
35015 else
35016 glibcxx_cv_func_quick_exit_use=no
35017 fi
35018 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35019 ac_ext=c
35020 ac_cpp='$CPP $CPPFLAGS'
35021 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35022 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35023 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35024
35025
35026 fi
35027
35028 fi
35029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
35030 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
35031 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
35032 for ac_func in quick_exit
35033 do :
35034 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
35035 if test "x$ac_cv_func_quick_exit" = xyes; then :
35036 cat >>confdefs.h <<_ACEOF
35037 #define HAVE_QUICK_EXIT 1
35038 _ACEOF
35039
35040 fi
35041 done
35042
35043 fi
35044
35045
35046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
35047 $as_echo_n "checking for strtold declaration... " >&6; }
35048 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
35049 if ${glibcxx_cv_func_strtold_use+:} false; then :
35050 $as_echo_n "(cached) " >&6
35051 else
35052
35053
35054 ac_ext=cpp
35055 ac_cpp='$CXXCPP $CPPFLAGS'
35056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35059
35060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35061 /* end confdefs.h. */
35062 #include <stdlib.h>
35063 int
35064 main ()
35065 {
35066 strtold(0, 0);
35067 ;
35068 return 0;
35069 }
35070 _ACEOF
35071 if ac_fn_cxx_try_compile "$LINENO"; then :
35072 glibcxx_cv_func_strtold_use=yes
35073 else
35074 glibcxx_cv_func_strtold_use=no
35075 fi
35076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35077 ac_ext=c
35078 ac_cpp='$CPP $CPPFLAGS'
35079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35082
35083
35084 fi
35085
35086 fi
35087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
35088 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
35089 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
35090 for ac_func in strtold
35091 do :
35092 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
35093 if test "x$ac_cv_func_strtold" = xyes; then :
35094 cat >>confdefs.h <<_ACEOF
35095 #define HAVE_STRTOLD 1
35096 _ACEOF
35097
35098 fi
35099 done
35100
35101 fi
35102
35103
35104
35105
35106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
35107 $as_echo_n "checking for strtof declaration... " >&6; }
35108 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
35109 if ${glibcxx_cv_func_strtof_use+:} false; then :
35110 $as_echo_n "(cached) " >&6
35111 else
35112
35113
35114 ac_ext=cpp
35115 ac_cpp='$CXXCPP $CPPFLAGS'
35116 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35117 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35118 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35119
35120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35121 /* end confdefs.h. */
35122 #include <stdlib.h>
35123 int
35124 main ()
35125 {
35126 strtof(0, 0);
35127 ;
35128 return 0;
35129 }
35130 _ACEOF
35131 if ac_fn_cxx_try_compile "$LINENO"; then :
35132 glibcxx_cv_func_strtof_use=yes
35133 else
35134 glibcxx_cv_func_strtof_use=no
35135 fi
35136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35137 ac_ext=c
35138 ac_cpp='$CPP $CPPFLAGS'
35139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35142
35143
35144 fi
35145
35146 fi
35147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
35148 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
35149 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
35150 for ac_func in strtof
35151 do :
35152 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
35153 if test "x$ac_cv_func_strtof" = xyes; then :
35154 cat >>confdefs.h <<_ACEOF
35155 #define HAVE_STRTOF 1
35156 _ACEOF
35157
35158 fi
35159 done
35160
35161 fi
35162
35163
35164
35165
35166 CXXFLAGS="$ac_save_CXXFLAGS"
35167
35168
35169 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
35170
35171 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
35172
35173 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
35174
35175 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
35176
35177
35178 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
35179
35180 $as_echo "#define HAVE_MODF 1" >>confdefs.h
35181
35182 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
35183
35184 ;;
35185
35186 *-aix*)
35187
35188 # If we're not using GNU ld, then there's no point in even trying these
35189 # tests. Check for that first. We should have already tested for gld
35190 # by now (in libtool), but require it now just to be safe...
35191 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
35192 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
35193
35194
35195
35196 # The name set by libtool depends on the version of libtool. Shame on us
35197 # for depending on an impl detail, but c'est la vie. Older versions used
35198 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
35199 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
35200 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
35201 # set (hence we're using an older libtool), then set it.
35202 if test x${with_gnu_ld+set} != xset; then
35203 if test x${ac_cv_prog_gnu_ld+set} != xset; then
35204 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
35205 with_gnu_ld=no
35206 else
35207 with_gnu_ld=$ac_cv_prog_gnu_ld
35208 fi
35209 fi
35210
35211 # Start by getting the version number. I think the libtool test already
35212 # does some of this, but throws away the result.
35213 glibcxx_ld_is_gold=no
35214 if test x"$with_gnu_ld" = x"yes"; then
35215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
35216 $as_echo_n "checking for ld version... " >&6; }
35217
35218 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
35219 glibcxx_ld_is_gold=yes
35220 fi
35221 ldver=`$LD --version 2>/dev/null |
35222 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
35223
35224 glibcxx_gnu_ld_version=`echo $ldver | \
35225 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
35226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
35227 $as_echo "$glibcxx_gnu_ld_version" >&6; }
35228 fi
35229
35230 # Set --gc-sections.
35231 glibcxx_have_gc_sections=no
35232 if test "$glibcxx_ld_is_gold" = "yes"; then
35233 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
35234 glibcxx_have_gc_sections=yes
35235 fi
35236 else
35237 glibcxx_gcsections_min_ld=21602
35238 if test x"$with_gnu_ld" = x"yes" &&
35239 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
35240 glibcxx_have_gc_sections=yes
35241 fi
35242 fi
35243 if test "$glibcxx_have_gc_sections" = "yes"; then
35244 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
35245 # NB: This flag only works reliably after 2.16.1. Configure tests
35246 # for this are difficult, so hard wire a value that should work.
35247
35248 ac_test_CFLAGS="${CFLAGS+set}"
35249 ac_save_CFLAGS="$CFLAGS"
35250 CFLAGS='-Wl,--gc-sections'
35251
35252 # Check for -Wl,--gc-sections
35253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
35254 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
35255 if test x$gcc_no_link = xyes; then
35256 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35257 fi
35258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35259 /* end confdefs.h. */
35260 int one(void) { return 1; }
35261 int two(void) { return 2; }
35262
35263 int
35264 main ()
35265 {
35266 two();
35267 ;
35268 return 0;
35269 }
35270 _ACEOF
35271 if ac_fn_c_try_link "$LINENO"; then :
35272 ac_gcsections=yes
35273 else
35274 ac_gcsections=no
35275 fi
35276 rm -f core conftest.err conftest.$ac_objext \
35277 conftest$ac_exeext conftest.$ac_ext
35278 if test "$ac_gcsections" = "yes"; then
35279 rm -f conftest.c
35280 touch conftest.c
35281 if $CC -c conftest.c; then
35282 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
35283 grep "Warning: gc-sections option ignored" > /dev/null; then
35284 ac_gcsections=no
35285 fi
35286 fi
35287 rm -f conftest.c conftest.o conftest
35288 fi
35289 if test "$ac_gcsections" = "yes"; then
35290 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
35291 fi
35292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
35293 $as_echo "$ac_gcsections" >&6; }
35294
35295 if test "$ac_test_CFLAGS" = set; then
35296 CFLAGS="$ac_save_CFLAGS"
35297 else
35298 # this is the suspicious part
35299 CFLAGS=''
35300 fi
35301 fi
35302
35303 # Set -z,relro.
35304 # Note this is only for shared objects.
35305 ac_ld_relro=no
35306 if test x"$with_gnu_ld" = x"yes"; then
35307 # cygwin and mingw uses PE, which has no ELF relro support,
35308 # multi target ld may confuse configure machinery
35309 case "$host" in
35310 *-*-cygwin*)
35311 ;;
35312 *-*-mingw*)
35313 ;;
35314 *)
35315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
35316 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
35317 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
35318 if test -n "$cxx_z_relo"; then
35319 OPT_LDFLAGS="-Wl,-z,relro"
35320 ac_ld_relro=yes
35321 fi
35322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
35323 $as_echo "$ac_ld_relro" >&6; }
35324 esac
35325 fi
35326
35327 # Set linker optimization flags.
35328 if test x"$with_gnu_ld" = x"yes"; then
35329 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
35330 fi
35331
35332
35333
35334
35335
35336 ac_test_CXXFLAGS="${CXXFLAGS+set}"
35337 ac_save_CXXFLAGS="$CXXFLAGS"
35338 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
35339
35340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
35341 $as_echo_n "checking for sin in -lm... " >&6; }
35342 if ${ac_cv_lib_m_sin+:} false; then :
35343 $as_echo_n "(cached) " >&6
35344 else
35345 ac_check_lib_save_LIBS=$LIBS
35346 LIBS="-lm $LIBS"
35347 if test x$gcc_no_link = xyes; then
35348 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
35349 fi
35350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35351 /* end confdefs.h. */
35352
35353 /* Override any GCC internal prototype to avoid an error.
35354 Use char because int might match the return type of a GCC
35355 builtin and then its argument prototype would still apply. */
35356 #ifdef __cplusplus
35357 extern "C"
35358 #endif
35359 char sin ();
35360 int
35361 main ()
35362 {
35363 return sin ();
35364 ;
35365 return 0;
35366 }
35367 _ACEOF
35368 if ac_fn_c_try_link "$LINENO"; then :
35369 ac_cv_lib_m_sin=yes
35370 else
35371 ac_cv_lib_m_sin=no
35372 fi
35373 rm -f core conftest.err conftest.$ac_objext \
35374 conftest$ac_exeext conftest.$ac_ext
35375 LIBS=$ac_check_lib_save_LIBS
35376 fi
35377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
35378 $as_echo "$ac_cv_lib_m_sin" >&6; }
35379 if test "x$ac_cv_lib_m_sin" = xyes; then :
35380 libm="-lm"
35381 fi
35382
35383 ac_save_LIBS="$LIBS"
35384 LIBS="$LIBS $libm"
35385
35386
35387
35388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
35389 $as_echo_n "checking for isinf declaration... " >&6; }
35390 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
35391 if ${glibcxx_cv_func_isinf_use+:} false; then :
35392 $as_echo_n "(cached) " >&6
35393 else
35394
35395
35396 ac_ext=cpp
35397 ac_cpp='$CXXCPP $CPPFLAGS'
35398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35401
35402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35403 /* end confdefs.h. */
35404 #include <math.h>
35405 #ifdef HAVE_IEEEFP_H
35406 #include <ieeefp.h>
35407 #endif
35408
35409 int
35410 main ()
35411 {
35412 isinf(0);
35413 ;
35414 return 0;
35415 }
35416 _ACEOF
35417 if ac_fn_cxx_try_compile "$LINENO"; then :
35418 glibcxx_cv_func_isinf_use=yes
35419 else
35420 glibcxx_cv_func_isinf_use=no
35421 fi
35422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35423 ac_ext=c
35424 ac_cpp='$CPP $CPPFLAGS'
35425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35428
35429
35430 fi
35431
35432 fi
35433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
35434 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
35435
35436 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
35437 for ac_func in isinf
35438 do :
35439 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
35440 if test "x$ac_cv_func_isinf" = xyes; then :
35441 cat >>confdefs.h <<_ACEOF
35442 #define HAVE_ISINF 1
35443 _ACEOF
35444
35445 fi
35446 done
35447
35448 else
35449
35450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
35451 $as_echo_n "checking for _isinf declaration... " >&6; }
35452 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
35453 if ${glibcxx_cv_func__isinf_use+:} false; then :
35454 $as_echo_n "(cached) " >&6
35455 else
35456
35457
35458 ac_ext=cpp
35459 ac_cpp='$CXXCPP $CPPFLAGS'
35460 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35461 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35462 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35463
35464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35465 /* end confdefs.h. */
35466 #include <math.h>
35467 #ifdef HAVE_IEEEFP_H
35468 #include <ieeefp.h>
35469 #endif
35470
35471 int
35472 main ()
35473 {
35474 _isinf(0);
35475 ;
35476 return 0;
35477 }
35478 _ACEOF
35479 if ac_fn_cxx_try_compile "$LINENO"; then :
35480 glibcxx_cv_func__isinf_use=yes
35481 else
35482 glibcxx_cv_func__isinf_use=no
35483 fi
35484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35485 ac_ext=c
35486 ac_cpp='$CPP $CPPFLAGS'
35487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35490
35491
35492 fi
35493
35494 fi
35495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
35496 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
35497
35498 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
35499 for ac_func in _isinf
35500 do :
35501 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
35502 if test "x$ac_cv_func__isinf" = xyes; then :
35503 cat >>confdefs.h <<_ACEOF
35504 #define HAVE__ISINF 1
35505 _ACEOF
35506
35507 fi
35508 done
35509
35510 fi
35511 fi
35512
35513
35514
35515
35516
35517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
35518 $as_echo_n "checking for isnan declaration... " >&6; }
35519 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
35520 if ${glibcxx_cv_func_isnan_use+:} false; then :
35521 $as_echo_n "(cached) " >&6
35522 else
35523
35524
35525 ac_ext=cpp
35526 ac_cpp='$CXXCPP $CPPFLAGS'
35527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35530
35531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35532 /* end confdefs.h. */
35533 #include <math.h>
35534 #ifdef HAVE_IEEEFP_H
35535 #include <ieeefp.h>
35536 #endif
35537
35538 int
35539 main ()
35540 {
35541 isnan(0);
35542 ;
35543 return 0;
35544 }
35545 _ACEOF
35546 if ac_fn_cxx_try_compile "$LINENO"; then :
35547 glibcxx_cv_func_isnan_use=yes
35548 else
35549 glibcxx_cv_func_isnan_use=no
35550 fi
35551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35552 ac_ext=c
35553 ac_cpp='$CPP $CPPFLAGS'
35554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35557
35558
35559 fi
35560
35561 fi
35562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
35563 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
35564
35565 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
35566 for ac_func in isnan
35567 do :
35568 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
35569 if test "x$ac_cv_func_isnan" = xyes; then :
35570 cat >>confdefs.h <<_ACEOF
35571 #define HAVE_ISNAN 1
35572 _ACEOF
35573
35574 fi
35575 done
35576
35577 else
35578
35579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
35580 $as_echo_n "checking for _isnan declaration... " >&6; }
35581 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
35582 if ${glibcxx_cv_func__isnan_use+:} false; then :
35583 $as_echo_n "(cached) " >&6
35584 else
35585
35586
35587 ac_ext=cpp
35588 ac_cpp='$CXXCPP $CPPFLAGS'
35589 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35590 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35591 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35592
35593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35594 /* end confdefs.h. */
35595 #include <math.h>
35596 #ifdef HAVE_IEEEFP_H
35597 #include <ieeefp.h>
35598 #endif
35599
35600 int
35601 main ()
35602 {
35603 _isnan(0);
35604 ;
35605 return 0;
35606 }
35607 _ACEOF
35608 if ac_fn_cxx_try_compile "$LINENO"; then :
35609 glibcxx_cv_func__isnan_use=yes
35610 else
35611 glibcxx_cv_func__isnan_use=no
35612 fi
35613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35614 ac_ext=c
35615 ac_cpp='$CPP $CPPFLAGS'
35616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35619
35620
35621 fi
35622
35623 fi
35624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
35625 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
35626
35627 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
35628 for ac_func in _isnan
35629 do :
35630 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
35631 if test "x$ac_cv_func__isnan" = xyes; then :
35632 cat >>confdefs.h <<_ACEOF
35633 #define HAVE__ISNAN 1
35634 _ACEOF
35635
35636 fi
35637 done
35638
35639 fi
35640 fi
35641
35642
35643
35644
35645
35646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
35647 $as_echo_n "checking for finite declaration... " >&6; }
35648 if test x${glibcxx_cv_func_finite_use+set} != xset; then
35649 if ${glibcxx_cv_func_finite_use+:} false; then :
35650 $as_echo_n "(cached) " >&6
35651 else
35652
35653
35654 ac_ext=cpp
35655 ac_cpp='$CXXCPP $CPPFLAGS'
35656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35659
35660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35661 /* end confdefs.h. */
35662 #include <math.h>
35663 #ifdef HAVE_IEEEFP_H
35664 #include <ieeefp.h>
35665 #endif
35666
35667 int
35668 main ()
35669 {
35670 finite(0);
35671 ;
35672 return 0;
35673 }
35674 _ACEOF
35675 if ac_fn_cxx_try_compile "$LINENO"; then :
35676 glibcxx_cv_func_finite_use=yes
35677 else
35678 glibcxx_cv_func_finite_use=no
35679 fi
35680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35681 ac_ext=c
35682 ac_cpp='$CPP $CPPFLAGS'
35683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35686
35687
35688 fi
35689
35690 fi
35691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
35692 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
35693
35694 if test x$glibcxx_cv_func_finite_use = x"yes"; then
35695 for ac_func in finite
35696 do :
35697 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
35698 if test "x$ac_cv_func_finite" = xyes; then :
35699 cat >>confdefs.h <<_ACEOF
35700 #define HAVE_FINITE 1
35701 _ACEOF
35702
35703 fi
35704 done
35705
35706 else
35707
35708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
35709 $as_echo_n "checking for _finite declaration... " >&6; }
35710 if test x${glibcxx_cv_func__finite_use+set} != xset; then
35711 if ${glibcxx_cv_func__finite_use+:} false; then :
35712 $as_echo_n "(cached) " >&6
35713 else
35714
35715
35716 ac_ext=cpp
35717 ac_cpp='$CXXCPP $CPPFLAGS'
35718 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35719 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35720 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35721
35722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35723 /* end confdefs.h. */
35724 #include <math.h>
35725 #ifdef HAVE_IEEEFP_H
35726 #include <ieeefp.h>
35727 #endif
35728
35729 int
35730 main ()
35731 {
35732 _finite(0);
35733 ;
35734 return 0;
35735 }
35736 _ACEOF
35737 if ac_fn_cxx_try_compile "$LINENO"; then :
35738 glibcxx_cv_func__finite_use=yes
35739 else
35740 glibcxx_cv_func__finite_use=no
35741 fi
35742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35743 ac_ext=c
35744 ac_cpp='$CPP $CPPFLAGS'
35745 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35746 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35747 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35748
35749
35750 fi
35751
35752 fi
35753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
35754 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
35755
35756 if test x$glibcxx_cv_func__finite_use = x"yes"; then
35757 for ac_func in _finite
35758 do :
35759 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
35760 if test "x$ac_cv_func__finite" = xyes; then :
35761 cat >>confdefs.h <<_ACEOF
35762 #define HAVE__FINITE 1
35763 _ACEOF
35764
35765 fi
35766 done
35767
35768 fi
35769 fi
35770
35771
35772
35773
35774
35775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
35776 $as_echo_n "checking for sincos declaration... " >&6; }
35777 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
35778 if ${glibcxx_cv_func_sincos_use+:} false; then :
35779 $as_echo_n "(cached) " >&6
35780 else
35781
35782
35783 ac_ext=cpp
35784 ac_cpp='$CXXCPP $CPPFLAGS'
35785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35788
35789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35790 /* end confdefs.h. */
35791 #include <math.h>
35792 int
35793 main ()
35794 {
35795 sincos(0, 0, 0);
35796 ;
35797 return 0;
35798 }
35799 _ACEOF
35800 if ac_fn_cxx_try_compile "$LINENO"; then :
35801 glibcxx_cv_func_sincos_use=yes
35802 else
35803 glibcxx_cv_func_sincos_use=no
35804 fi
35805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35806 ac_ext=c
35807 ac_cpp='$CPP $CPPFLAGS'
35808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35811
35812
35813 fi
35814
35815 fi
35816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
35817 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
35818
35819 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
35820 for ac_func in sincos
35821 do :
35822 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
35823 if test "x$ac_cv_func_sincos" = xyes; then :
35824 cat >>confdefs.h <<_ACEOF
35825 #define HAVE_SINCOS 1
35826 _ACEOF
35827
35828 fi
35829 done
35830
35831 else
35832
35833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
35834 $as_echo_n "checking for _sincos declaration... " >&6; }
35835 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
35836 if ${glibcxx_cv_func__sincos_use+:} false; then :
35837 $as_echo_n "(cached) " >&6
35838 else
35839
35840
35841 ac_ext=cpp
35842 ac_cpp='$CXXCPP $CPPFLAGS'
35843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35846
35847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35848 /* end confdefs.h. */
35849 #include <math.h>
35850 int
35851 main ()
35852 {
35853 _sincos(0, 0, 0);
35854 ;
35855 return 0;
35856 }
35857 _ACEOF
35858 if ac_fn_cxx_try_compile "$LINENO"; then :
35859 glibcxx_cv_func__sincos_use=yes
35860 else
35861 glibcxx_cv_func__sincos_use=no
35862 fi
35863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35864 ac_ext=c
35865 ac_cpp='$CPP $CPPFLAGS'
35866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35869
35870
35871 fi
35872
35873 fi
35874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
35875 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
35876
35877 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
35878 for ac_func in _sincos
35879 do :
35880 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
35881 if test "x$ac_cv_func__sincos" = xyes; then :
35882 cat >>confdefs.h <<_ACEOF
35883 #define HAVE__SINCOS 1
35884 _ACEOF
35885
35886 fi
35887 done
35888
35889 fi
35890 fi
35891
35892
35893
35894
35895
35896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
35897 $as_echo_n "checking for fpclass declaration... " >&6; }
35898 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
35899 if ${glibcxx_cv_func_fpclass_use+:} false; then :
35900 $as_echo_n "(cached) " >&6
35901 else
35902
35903
35904 ac_ext=cpp
35905 ac_cpp='$CXXCPP $CPPFLAGS'
35906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35909
35910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35911 /* end confdefs.h. */
35912 #include <math.h>
35913 #ifdef HAVE_IEEEFP_H
35914 #include <ieeefp.h>
35915 #endif
35916
35917 int
35918 main ()
35919 {
35920 fpclass(0);
35921 ;
35922 return 0;
35923 }
35924 _ACEOF
35925 if ac_fn_cxx_try_compile "$LINENO"; then :
35926 glibcxx_cv_func_fpclass_use=yes
35927 else
35928 glibcxx_cv_func_fpclass_use=no
35929 fi
35930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35931 ac_ext=c
35932 ac_cpp='$CPP $CPPFLAGS'
35933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35936
35937
35938 fi
35939
35940 fi
35941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
35942 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
35943
35944 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
35945 for ac_func in fpclass
35946 do :
35947 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
35948 if test "x$ac_cv_func_fpclass" = xyes; then :
35949 cat >>confdefs.h <<_ACEOF
35950 #define HAVE_FPCLASS 1
35951 _ACEOF
35952
35953 fi
35954 done
35955
35956 else
35957
35958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
35959 $as_echo_n "checking for _fpclass declaration... " >&6; }
35960 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
35961 if ${glibcxx_cv_func__fpclass_use+:} false; then :
35962 $as_echo_n "(cached) " >&6
35963 else
35964
35965
35966 ac_ext=cpp
35967 ac_cpp='$CXXCPP $CPPFLAGS'
35968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35971
35972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
35973 /* end confdefs.h. */
35974 #include <math.h>
35975 #ifdef HAVE_IEEEFP_H
35976 #include <ieeefp.h>
35977 #endif
35978
35979 int
35980 main ()
35981 {
35982 _fpclass(0);
35983 ;
35984 return 0;
35985 }
35986 _ACEOF
35987 if ac_fn_cxx_try_compile "$LINENO"; then :
35988 glibcxx_cv_func__fpclass_use=yes
35989 else
35990 glibcxx_cv_func__fpclass_use=no
35991 fi
35992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35993 ac_ext=c
35994 ac_cpp='$CPP $CPPFLAGS'
35995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35998
35999
36000 fi
36001
36002 fi
36003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
36004 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
36005
36006 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
36007 for ac_func in _fpclass
36008 do :
36009 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
36010 if test "x$ac_cv_func__fpclass" = xyes; then :
36011 cat >>confdefs.h <<_ACEOF
36012 #define HAVE__FPCLASS 1
36013 _ACEOF
36014
36015 fi
36016 done
36017
36018 fi
36019 fi
36020
36021
36022
36023
36024
36025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
36026 $as_echo_n "checking for qfpclass declaration... " >&6; }
36027 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
36028 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
36029 $as_echo_n "(cached) " >&6
36030 else
36031
36032
36033 ac_ext=cpp
36034 ac_cpp='$CXXCPP $CPPFLAGS'
36035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36038
36039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36040 /* end confdefs.h. */
36041 #include <math.h>
36042 #ifdef HAVE_IEEEFP_H
36043 #include <ieeefp.h>
36044 #endif
36045
36046 int
36047 main ()
36048 {
36049 qfpclass(0);
36050 ;
36051 return 0;
36052 }
36053 _ACEOF
36054 if ac_fn_cxx_try_compile "$LINENO"; then :
36055 glibcxx_cv_func_qfpclass_use=yes
36056 else
36057 glibcxx_cv_func_qfpclass_use=no
36058 fi
36059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36060 ac_ext=c
36061 ac_cpp='$CPP $CPPFLAGS'
36062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36065
36066
36067 fi
36068
36069 fi
36070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
36071 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
36072
36073 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
36074 for ac_func in qfpclass
36075 do :
36076 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
36077 if test "x$ac_cv_func_qfpclass" = xyes; then :
36078 cat >>confdefs.h <<_ACEOF
36079 #define HAVE_QFPCLASS 1
36080 _ACEOF
36081
36082 fi
36083 done
36084
36085 else
36086
36087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
36088 $as_echo_n "checking for _qfpclass declaration... " >&6; }
36089 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
36090 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
36091 $as_echo_n "(cached) " >&6
36092 else
36093
36094
36095 ac_ext=cpp
36096 ac_cpp='$CXXCPP $CPPFLAGS'
36097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36100
36101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36102 /* end confdefs.h. */
36103 #include <math.h>
36104 #ifdef HAVE_IEEEFP_H
36105 #include <ieeefp.h>
36106 #endif
36107
36108 int
36109 main ()
36110 {
36111 _qfpclass(0);
36112 ;
36113 return 0;
36114 }
36115 _ACEOF
36116 if ac_fn_cxx_try_compile "$LINENO"; then :
36117 glibcxx_cv_func__qfpclass_use=yes
36118 else
36119 glibcxx_cv_func__qfpclass_use=no
36120 fi
36121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36122 ac_ext=c
36123 ac_cpp='$CPP $CPPFLAGS'
36124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36127
36128
36129 fi
36130
36131 fi
36132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
36133 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
36134
36135 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
36136 for ac_func in _qfpclass
36137 do :
36138 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
36139 if test "x$ac_cv_func__qfpclass" = xyes; then :
36140 cat >>confdefs.h <<_ACEOF
36141 #define HAVE__QFPCLASS 1
36142 _ACEOF
36143
36144 fi
36145 done
36146
36147 fi
36148 fi
36149
36150
36151
36152
36153
36154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
36155 $as_echo_n "checking for hypot declaration... " >&6; }
36156 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
36157 if ${glibcxx_cv_func_hypot_use+:} false; then :
36158 $as_echo_n "(cached) " >&6
36159 else
36160
36161
36162 ac_ext=cpp
36163 ac_cpp='$CXXCPP $CPPFLAGS'
36164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36167
36168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36169 /* end confdefs.h. */
36170 #include <math.h>
36171 int
36172 main ()
36173 {
36174 hypot(0, 0);
36175 ;
36176 return 0;
36177 }
36178 _ACEOF
36179 if ac_fn_cxx_try_compile "$LINENO"; then :
36180 glibcxx_cv_func_hypot_use=yes
36181 else
36182 glibcxx_cv_func_hypot_use=no
36183 fi
36184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36185 ac_ext=c
36186 ac_cpp='$CPP $CPPFLAGS'
36187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36190
36191
36192 fi
36193
36194 fi
36195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
36196 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
36197
36198 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
36199 for ac_func in hypot
36200 do :
36201 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
36202 if test "x$ac_cv_func_hypot" = xyes; then :
36203 cat >>confdefs.h <<_ACEOF
36204 #define HAVE_HYPOT 1
36205 _ACEOF
36206
36207 fi
36208 done
36209
36210 else
36211
36212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
36213 $as_echo_n "checking for _hypot declaration... " >&6; }
36214 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
36215 if ${glibcxx_cv_func__hypot_use+:} false; then :
36216 $as_echo_n "(cached) " >&6
36217 else
36218
36219
36220 ac_ext=cpp
36221 ac_cpp='$CXXCPP $CPPFLAGS'
36222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36225
36226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36227 /* end confdefs.h. */
36228 #include <math.h>
36229 int
36230 main ()
36231 {
36232 _hypot(0, 0);
36233 ;
36234 return 0;
36235 }
36236 _ACEOF
36237 if ac_fn_cxx_try_compile "$LINENO"; then :
36238 glibcxx_cv_func__hypot_use=yes
36239 else
36240 glibcxx_cv_func__hypot_use=no
36241 fi
36242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36243 ac_ext=c
36244 ac_cpp='$CPP $CPPFLAGS'
36245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36248
36249
36250 fi
36251
36252 fi
36253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
36254 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
36255
36256 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
36257 for ac_func in _hypot
36258 do :
36259 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
36260 if test "x$ac_cv_func__hypot" = xyes; then :
36261 cat >>confdefs.h <<_ACEOF
36262 #define HAVE__HYPOT 1
36263 _ACEOF
36264
36265 fi
36266 done
36267
36268 fi
36269 fi
36270
36271
36272
36273
36274
36275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
36276 $as_echo_n "checking for float trig functions... " >&6; }
36277 if ${glibcxx_cv_func_float_trig_use+:} false; then :
36278 $as_echo_n "(cached) " >&6
36279 else
36280
36281
36282 ac_ext=cpp
36283 ac_cpp='$CXXCPP $CPPFLAGS'
36284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36287
36288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36289 /* end confdefs.h. */
36290 #include <math.h>
36291 int
36292 main ()
36293 {
36294 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
36295 ;
36296 return 0;
36297 }
36298 _ACEOF
36299 if ac_fn_cxx_try_compile "$LINENO"; then :
36300 glibcxx_cv_func_float_trig_use=yes
36301 else
36302 glibcxx_cv_func_float_trig_use=no
36303 fi
36304 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36305 ac_ext=c
36306 ac_cpp='$CPP $CPPFLAGS'
36307 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36308 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36309 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36310
36311 fi
36312
36313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
36314 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
36315 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
36316 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
36317 do :
36318 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36319 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36320 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36321 cat >>confdefs.h <<_ACEOF
36322 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36323 _ACEOF
36324
36325 fi
36326 done
36327
36328 else
36329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
36330 $as_echo_n "checking for _float trig functions... " >&6; }
36331 if ${glibcxx_cv_func__float_trig_use+:} false; then :
36332 $as_echo_n "(cached) " >&6
36333 else
36334
36335
36336 ac_ext=cpp
36337 ac_cpp='$CXXCPP $CPPFLAGS'
36338 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36339 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36340 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36341
36342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36343 /* end confdefs.h. */
36344 #include <math.h>
36345 int
36346 main ()
36347 {
36348 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
36349 ;
36350 return 0;
36351 }
36352 _ACEOF
36353 if ac_fn_cxx_try_compile "$LINENO"; then :
36354 glibcxx_cv_func__float_trig_use=yes
36355 else
36356 glibcxx_cv_func__float_trig_use=no
36357 fi
36358 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36359 ac_ext=c
36360 ac_cpp='$CPP $CPPFLAGS'
36361 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36362 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36363 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36364
36365 fi
36366
36367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
36368 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
36369 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
36370 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
36371 do :
36372 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36373 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36374 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36375 cat >>confdefs.h <<_ACEOF
36376 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36377 _ACEOF
36378
36379 fi
36380 done
36381
36382 fi
36383 fi
36384
36385
36386
36387
36388
36389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
36390 $as_echo_n "checking for float round functions... " >&6; }
36391 if ${glibcxx_cv_func_float_round_use+:} false; then :
36392 $as_echo_n "(cached) " >&6
36393 else
36394
36395
36396 ac_ext=cpp
36397 ac_cpp='$CXXCPP $CPPFLAGS'
36398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36401
36402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36403 /* end confdefs.h. */
36404 #include <math.h>
36405 int
36406 main ()
36407 {
36408 ceilf (0); floorf (0);
36409 ;
36410 return 0;
36411 }
36412 _ACEOF
36413 if ac_fn_cxx_try_compile "$LINENO"; then :
36414 glibcxx_cv_func_float_round_use=yes
36415 else
36416 glibcxx_cv_func_float_round_use=no
36417 fi
36418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36419 ac_ext=c
36420 ac_cpp='$CPP $CPPFLAGS'
36421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36424
36425 fi
36426
36427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
36428 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
36429 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
36430 for ac_func in ceilf floorf
36431 do :
36432 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36433 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36434 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36435 cat >>confdefs.h <<_ACEOF
36436 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36437 _ACEOF
36438
36439 fi
36440 done
36441
36442 else
36443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
36444 $as_echo_n "checking for _float round functions... " >&6; }
36445 if ${glibcxx_cv_func__float_round_use+:} false; then :
36446 $as_echo_n "(cached) " >&6
36447 else
36448
36449
36450 ac_ext=cpp
36451 ac_cpp='$CXXCPP $CPPFLAGS'
36452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36455
36456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36457 /* end confdefs.h. */
36458 #include <math.h>
36459 int
36460 main ()
36461 {
36462 _ceilf (0); _floorf (0);
36463 ;
36464 return 0;
36465 }
36466 _ACEOF
36467 if ac_fn_cxx_try_compile "$LINENO"; then :
36468 glibcxx_cv_func__float_round_use=yes
36469 else
36470 glibcxx_cv_func__float_round_use=no
36471 fi
36472 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36473 ac_ext=c
36474 ac_cpp='$CPP $CPPFLAGS'
36475 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36476 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36477 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36478
36479 fi
36480
36481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
36482 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
36483 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
36484 for ac_func in _ceilf _floorf
36485 do :
36486 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
36487 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
36488 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
36489 cat >>confdefs.h <<_ACEOF
36490 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
36491 _ACEOF
36492
36493 fi
36494 done
36495
36496 fi
36497 fi
36498
36499
36500
36501
36502
36503
36504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
36505 $as_echo_n "checking for expf declaration... " >&6; }
36506 if test x${glibcxx_cv_func_expf_use+set} != xset; then
36507 if ${glibcxx_cv_func_expf_use+:} false; then :
36508 $as_echo_n "(cached) " >&6
36509 else
36510
36511
36512 ac_ext=cpp
36513 ac_cpp='$CXXCPP $CPPFLAGS'
36514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36517
36518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36519 /* end confdefs.h. */
36520 #include <math.h>
36521 #ifdef HAVE_IEEEFP_H
36522 #include <ieeefp.h>
36523 #endif
36524
36525 int
36526 main ()
36527 {
36528 expf(0);
36529 ;
36530 return 0;
36531 }
36532 _ACEOF
36533 if ac_fn_cxx_try_compile "$LINENO"; then :
36534 glibcxx_cv_func_expf_use=yes
36535 else
36536 glibcxx_cv_func_expf_use=no
36537 fi
36538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36539 ac_ext=c
36540 ac_cpp='$CPP $CPPFLAGS'
36541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36544
36545
36546 fi
36547
36548 fi
36549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
36550 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
36551
36552 if test x$glibcxx_cv_func_expf_use = x"yes"; then
36553 for ac_func in expf
36554 do :
36555 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
36556 if test "x$ac_cv_func_expf" = xyes; then :
36557 cat >>confdefs.h <<_ACEOF
36558 #define HAVE_EXPF 1
36559 _ACEOF
36560
36561 fi
36562 done
36563
36564 else
36565
36566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
36567 $as_echo_n "checking for _expf declaration... " >&6; }
36568 if test x${glibcxx_cv_func__expf_use+set} != xset; then
36569 if ${glibcxx_cv_func__expf_use+:} false; then :
36570 $as_echo_n "(cached) " >&6
36571 else
36572
36573
36574 ac_ext=cpp
36575 ac_cpp='$CXXCPP $CPPFLAGS'
36576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36579
36580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36581 /* end confdefs.h. */
36582 #include <math.h>
36583 #ifdef HAVE_IEEEFP_H
36584 #include <ieeefp.h>
36585 #endif
36586
36587 int
36588 main ()
36589 {
36590 _expf(0);
36591 ;
36592 return 0;
36593 }
36594 _ACEOF
36595 if ac_fn_cxx_try_compile "$LINENO"; then :
36596 glibcxx_cv_func__expf_use=yes
36597 else
36598 glibcxx_cv_func__expf_use=no
36599 fi
36600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36601 ac_ext=c
36602 ac_cpp='$CPP $CPPFLAGS'
36603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36606
36607
36608 fi
36609
36610 fi
36611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
36612 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
36613
36614 if test x$glibcxx_cv_func__expf_use = x"yes"; then
36615 for ac_func in _expf
36616 do :
36617 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
36618 if test "x$ac_cv_func__expf" = xyes; then :
36619 cat >>confdefs.h <<_ACEOF
36620 #define HAVE__EXPF 1
36621 _ACEOF
36622
36623 fi
36624 done
36625
36626 fi
36627 fi
36628
36629
36630
36631
36632
36633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
36634 $as_echo_n "checking for isnanf declaration... " >&6; }
36635 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
36636 if ${glibcxx_cv_func_isnanf_use+:} false; then :
36637 $as_echo_n "(cached) " >&6
36638 else
36639
36640
36641 ac_ext=cpp
36642 ac_cpp='$CXXCPP $CPPFLAGS'
36643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36646
36647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36648 /* end confdefs.h. */
36649 #include <math.h>
36650 #ifdef HAVE_IEEEFP_H
36651 #include <ieeefp.h>
36652 #endif
36653
36654 int
36655 main ()
36656 {
36657 isnanf(0);
36658 ;
36659 return 0;
36660 }
36661 _ACEOF
36662 if ac_fn_cxx_try_compile "$LINENO"; then :
36663 glibcxx_cv_func_isnanf_use=yes
36664 else
36665 glibcxx_cv_func_isnanf_use=no
36666 fi
36667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36668 ac_ext=c
36669 ac_cpp='$CPP $CPPFLAGS'
36670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36673
36674
36675 fi
36676
36677 fi
36678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
36679 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
36680
36681 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
36682 for ac_func in isnanf
36683 do :
36684 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
36685 if test "x$ac_cv_func_isnanf" = xyes; then :
36686 cat >>confdefs.h <<_ACEOF
36687 #define HAVE_ISNANF 1
36688 _ACEOF
36689
36690 fi
36691 done
36692
36693 else
36694
36695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
36696 $as_echo_n "checking for _isnanf declaration... " >&6; }
36697 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
36698 if ${glibcxx_cv_func__isnanf_use+:} false; then :
36699 $as_echo_n "(cached) " >&6
36700 else
36701
36702
36703 ac_ext=cpp
36704 ac_cpp='$CXXCPP $CPPFLAGS'
36705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36708
36709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36710 /* end confdefs.h. */
36711 #include <math.h>
36712 #ifdef HAVE_IEEEFP_H
36713 #include <ieeefp.h>
36714 #endif
36715
36716 int
36717 main ()
36718 {
36719 _isnanf(0);
36720 ;
36721 return 0;
36722 }
36723 _ACEOF
36724 if ac_fn_cxx_try_compile "$LINENO"; then :
36725 glibcxx_cv_func__isnanf_use=yes
36726 else
36727 glibcxx_cv_func__isnanf_use=no
36728 fi
36729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36730 ac_ext=c
36731 ac_cpp='$CPP $CPPFLAGS'
36732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36735
36736
36737 fi
36738
36739 fi
36740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
36741 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
36742
36743 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
36744 for ac_func in _isnanf
36745 do :
36746 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
36747 if test "x$ac_cv_func__isnanf" = xyes; then :
36748 cat >>confdefs.h <<_ACEOF
36749 #define HAVE__ISNANF 1
36750 _ACEOF
36751
36752 fi
36753 done
36754
36755 fi
36756 fi
36757
36758
36759
36760
36761
36762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
36763 $as_echo_n "checking for isinff declaration... " >&6; }
36764 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
36765 if ${glibcxx_cv_func_isinff_use+:} false; then :
36766 $as_echo_n "(cached) " >&6
36767 else
36768
36769
36770 ac_ext=cpp
36771 ac_cpp='$CXXCPP $CPPFLAGS'
36772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36775
36776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36777 /* end confdefs.h. */
36778 #include <math.h>
36779 #ifdef HAVE_IEEEFP_H
36780 #include <ieeefp.h>
36781 #endif
36782
36783 int
36784 main ()
36785 {
36786 isinff(0);
36787 ;
36788 return 0;
36789 }
36790 _ACEOF
36791 if ac_fn_cxx_try_compile "$LINENO"; then :
36792 glibcxx_cv_func_isinff_use=yes
36793 else
36794 glibcxx_cv_func_isinff_use=no
36795 fi
36796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36797 ac_ext=c
36798 ac_cpp='$CPP $CPPFLAGS'
36799 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36800 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36801 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36802
36803
36804 fi
36805
36806 fi
36807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
36808 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
36809
36810 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
36811 for ac_func in isinff
36812 do :
36813 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
36814 if test "x$ac_cv_func_isinff" = xyes; then :
36815 cat >>confdefs.h <<_ACEOF
36816 #define HAVE_ISINFF 1
36817 _ACEOF
36818
36819 fi
36820 done
36821
36822 else
36823
36824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
36825 $as_echo_n "checking for _isinff declaration... " >&6; }
36826 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
36827 if ${glibcxx_cv_func__isinff_use+:} false; then :
36828 $as_echo_n "(cached) " >&6
36829 else
36830
36831
36832 ac_ext=cpp
36833 ac_cpp='$CXXCPP $CPPFLAGS'
36834 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36835 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36836 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36837
36838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36839 /* end confdefs.h. */
36840 #include <math.h>
36841 #ifdef HAVE_IEEEFP_H
36842 #include <ieeefp.h>
36843 #endif
36844
36845 int
36846 main ()
36847 {
36848 _isinff(0);
36849 ;
36850 return 0;
36851 }
36852 _ACEOF
36853 if ac_fn_cxx_try_compile "$LINENO"; then :
36854 glibcxx_cv_func__isinff_use=yes
36855 else
36856 glibcxx_cv_func__isinff_use=no
36857 fi
36858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36859 ac_ext=c
36860 ac_cpp='$CPP $CPPFLAGS'
36861 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36862 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36863 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36864
36865
36866 fi
36867
36868 fi
36869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
36870 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
36871
36872 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
36873 for ac_func in _isinff
36874 do :
36875 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
36876 if test "x$ac_cv_func__isinff" = xyes; then :
36877 cat >>confdefs.h <<_ACEOF
36878 #define HAVE__ISINFF 1
36879 _ACEOF
36880
36881 fi
36882 done
36883
36884 fi
36885 fi
36886
36887
36888
36889
36890
36891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
36892 $as_echo_n "checking for atan2f declaration... " >&6; }
36893 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
36894 if ${glibcxx_cv_func_atan2f_use+:} false; then :
36895 $as_echo_n "(cached) " >&6
36896 else
36897
36898
36899 ac_ext=cpp
36900 ac_cpp='$CXXCPP $CPPFLAGS'
36901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36904
36905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36906 /* end confdefs.h. */
36907 #include <math.h>
36908 int
36909 main ()
36910 {
36911 atan2f(0, 0);
36912 ;
36913 return 0;
36914 }
36915 _ACEOF
36916 if ac_fn_cxx_try_compile "$LINENO"; then :
36917 glibcxx_cv_func_atan2f_use=yes
36918 else
36919 glibcxx_cv_func_atan2f_use=no
36920 fi
36921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36922 ac_ext=c
36923 ac_cpp='$CPP $CPPFLAGS'
36924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36927
36928
36929 fi
36930
36931 fi
36932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
36933 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
36934
36935 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
36936 for ac_func in atan2f
36937 do :
36938 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
36939 if test "x$ac_cv_func_atan2f" = xyes; then :
36940 cat >>confdefs.h <<_ACEOF
36941 #define HAVE_ATAN2F 1
36942 _ACEOF
36943
36944 fi
36945 done
36946
36947 else
36948
36949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
36950 $as_echo_n "checking for _atan2f declaration... " >&6; }
36951 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
36952 if ${glibcxx_cv_func__atan2f_use+:} false; then :
36953 $as_echo_n "(cached) " >&6
36954 else
36955
36956
36957 ac_ext=cpp
36958 ac_cpp='$CXXCPP $CPPFLAGS'
36959 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36960 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36961 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36962
36963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
36964 /* end confdefs.h. */
36965 #include <math.h>
36966 int
36967 main ()
36968 {
36969 _atan2f(0, 0);
36970 ;
36971 return 0;
36972 }
36973 _ACEOF
36974 if ac_fn_cxx_try_compile "$LINENO"; then :
36975 glibcxx_cv_func__atan2f_use=yes
36976 else
36977 glibcxx_cv_func__atan2f_use=no
36978 fi
36979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36980 ac_ext=c
36981 ac_cpp='$CPP $CPPFLAGS'
36982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36985
36986
36987 fi
36988
36989 fi
36990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
36991 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
36992
36993 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
36994 for ac_func in _atan2f
36995 do :
36996 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
36997 if test "x$ac_cv_func__atan2f" = xyes; then :
36998 cat >>confdefs.h <<_ACEOF
36999 #define HAVE__ATAN2F 1
37000 _ACEOF
37001
37002 fi
37003 done
37004
37005 fi
37006 fi
37007
37008
37009
37010
37011
37012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
37013 $as_echo_n "checking for fabsf declaration... " >&6; }
37014 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
37015 if ${glibcxx_cv_func_fabsf_use+:} false; then :
37016 $as_echo_n "(cached) " >&6
37017 else
37018
37019
37020 ac_ext=cpp
37021 ac_cpp='$CXXCPP $CPPFLAGS'
37022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37025
37026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37027 /* end confdefs.h. */
37028 #include <math.h>
37029 #ifdef HAVE_IEEEFP_H
37030 #include <ieeefp.h>
37031 #endif
37032
37033 int
37034 main ()
37035 {
37036 fabsf(0);
37037 ;
37038 return 0;
37039 }
37040 _ACEOF
37041 if ac_fn_cxx_try_compile "$LINENO"; then :
37042 glibcxx_cv_func_fabsf_use=yes
37043 else
37044 glibcxx_cv_func_fabsf_use=no
37045 fi
37046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37047 ac_ext=c
37048 ac_cpp='$CPP $CPPFLAGS'
37049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37052
37053
37054 fi
37055
37056 fi
37057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
37058 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
37059
37060 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
37061 for ac_func in fabsf
37062 do :
37063 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
37064 if test "x$ac_cv_func_fabsf" = xyes; then :
37065 cat >>confdefs.h <<_ACEOF
37066 #define HAVE_FABSF 1
37067 _ACEOF
37068
37069 fi
37070 done
37071
37072 else
37073
37074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
37075 $as_echo_n "checking for _fabsf declaration... " >&6; }
37076 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
37077 if ${glibcxx_cv_func__fabsf_use+:} false; then :
37078 $as_echo_n "(cached) " >&6
37079 else
37080
37081
37082 ac_ext=cpp
37083 ac_cpp='$CXXCPP $CPPFLAGS'
37084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37087
37088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37089 /* end confdefs.h. */
37090 #include <math.h>
37091 #ifdef HAVE_IEEEFP_H
37092 #include <ieeefp.h>
37093 #endif
37094
37095 int
37096 main ()
37097 {
37098 _fabsf(0);
37099 ;
37100 return 0;
37101 }
37102 _ACEOF
37103 if ac_fn_cxx_try_compile "$LINENO"; then :
37104 glibcxx_cv_func__fabsf_use=yes
37105 else
37106 glibcxx_cv_func__fabsf_use=no
37107 fi
37108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37109 ac_ext=c
37110 ac_cpp='$CPP $CPPFLAGS'
37111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37114
37115
37116 fi
37117
37118 fi
37119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
37120 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
37121
37122 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
37123 for ac_func in _fabsf
37124 do :
37125 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
37126 if test "x$ac_cv_func__fabsf" = xyes; then :
37127 cat >>confdefs.h <<_ACEOF
37128 #define HAVE__FABSF 1
37129 _ACEOF
37130
37131 fi
37132 done
37133
37134 fi
37135 fi
37136
37137
37138
37139
37140
37141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
37142 $as_echo_n "checking for fmodf declaration... " >&6; }
37143 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
37144 if ${glibcxx_cv_func_fmodf_use+:} false; then :
37145 $as_echo_n "(cached) " >&6
37146 else
37147
37148
37149 ac_ext=cpp
37150 ac_cpp='$CXXCPP $CPPFLAGS'
37151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37154
37155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37156 /* end confdefs.h. */
37157 #include <math.h>
37158 int
37159 main ()
37160 {
37161 fmodf(0, 0);
37162 ;
37163 return 0;
37164 }
37165 _ACEOF
37166 if ac_fn_cxx_try_compile "$LINENO"; then :
37167 glibcxx_cv_func_fmodf_use=yes
37168 else
37169 glibcxx_cv_func_fmodf_use=no
37170 fi
37171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37172 ac_ext=c
37173 ac_cpp='$CPP $CPPFLAGS'
37174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37177
37178
37179 fi
37180
37181 fi
37182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
37183 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
37184
37185 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
37186 for ac_func in fmodf
37187 do :
37188 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
37189 if test "x$ac_cv_func_fmodf" = xyes; then :
37190 cat >>confdefs.h <<_ACEOF
37191 #define HAVE_FMODF 1
37192 _ACEOF
37193
37194 fi
37195 done
37196
37197 else
37198
37199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
37200 $as_echo_n "checking for _fmodf declaration... " >&6; }
37201 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
37202 if ${glibcxx_cv_func__fmodf_use+:} false; then :
37203 $as_echo_n "(cached) " >&6
37204 else
37205
37206
37207 ac_ext=cpp
37208 ac_cpp='$CXXCPP $CPPFLAGS'
37209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37212
37213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37214 /* end confdefs.h. */
37215 #include <math.h>
37216 int
37217 main ()
37218 {
37219 _fmodf(0, 0);
37220 ;
37221 return 0;
37222 }
37223 _ACEOF
37224 if ac_fn_cxx_try_compile "$LINENO"; then :
37225 glibcxx_cv_func__fmodf_use=yes
37226 else
37227 glibcxx_cv_func__fmodf_use=no
37228 fi
37229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37230 ac_ext=c
37231 ac_cpp='$CPP $CPPFLAGS'
37232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37235
37236
37237 fi
37238
37239 fi
37240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
37241 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
37242
37243 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
37244 for ac_func in _fmodf
37245 do :
37246 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
37247 if test "x$ac_cv_func__fmodf" = xyes; then :
37248 cat >>confdefs.h <<_ACEOF
37249 #define HAVE__FMODF 1
37250 _ACEOF
37251
37252 fi
37253 done
37254
37255 fi
37256 fi
37257
37258
37259
37260
37261
37262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
37263 $as_echo_n "checking for frexpf declaration... " >&6; }
37264 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
37265 if ${glibcxx_cv_func_frexpf_use+:} false; then :
37266 $as_echo_n "(cached) " >&6
37267 else
37268
37269
37270 ac_ext=cpp
37271 ac_cpp='$CXXCPP $CPPFLAGS'
37272 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37273 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37274 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37275
37276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37277 /* end confdefs.h. */
37278 #include <math.h>
37279 int
37280 main ()
37281 {
37282 frexpf(0, 0);
37283 ;
37284 return 0;
37285 }
37286 _ACEOF
37287 if ac_fn_cxx_try_compile "$LINENO"; then :
37288 glibcxx_cv_func_frexpf_use=yes
37289 else
37290 glibcxx_cv_func_frexpf_use=no
37291 fi
37292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37293 ac_ext=c
37294 ac_cpp='$CPP $CPPFLAGS'
37295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37298
37299
37300 fi
37301
37302 fi
37303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
37304 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
37305
37306 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
37307 for ac_func in frexpf
37308 do :
37309 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
37310 if test "x$ac_cv_func_frexpf" = xyes; then :
37311 cat >>confdefs.h <<_ACEOF
37312 #define HAVE_FREXPF 1
37313 _ACEOF
37314
37315 fi
37316 done
37317
37318 else
37319
37320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
37321 $as_echo_n "checking for _frexpf declaration... " >&6; }
37322 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
37323 if ${glibcxx_cv_func__frexpf_use+:} false; then :
37324 $as_echo_n "(cached) " >&6
37325 else
37326
37327
37328 ac_ext=cpp
37329 ac_cpp='$CXXCPP $CPPFLAGS'
37330 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37331 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37332 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37333
37334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37335 /* end confdefs.h. */
37336 #include <math.h>
37337 int
37338 main ()
37339 {
37340 _frexpf(0, 0);
37341 ;
37342 return 0;
37343 }
37344 _ACEOF
37345 if ac_fn_cxx_try_compile "$LINENO"; then :
37346 glibcxx_cv_func__frexpf_use=yes
37347 else
37348 glibcxx_cv_func__frexpf_use=no
37349 fi
37350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37351 ac_ext=c
37352 ac_cpp='$CPP $CPPFLAGS'
37353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37356
37357
37358 fi
37359
37360 fi
37361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
37362 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
37363
37364 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
37365 for ac_func in _frexpf
37366 do :
37367 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
37368 if test "x$ac_cv_func__frexpf" = xyes; then :
37369 cat >>confdefs.h <<_ACEOF
37370 #define HAVE__FREXPF 1
37371 _ACEOF
37372
37373 fi
37374 done
37375
37376 fi
37377 fi
37378
37379
37380
37381
37382
37383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
37384 $as_echo_n "checking for hypotf declaration... " >&6; }
37385 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
37386 if ${glibcxx_cv_func_hypotf_use+:} false; then :
37387 $as_echo_n "(cached) " >&6
37388 else
37389
37390
37391 ac_ext=cpp
37392 ac_cpp='$CXXCPP $CPPFLAGS'
37393 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37394 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37395 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37396
37397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37398 /* end confdefs.h. */
37399 #include <math.h>
37400 int
37401 main ()
37402 {
37403 hypotf(0, 0);
37404 ;
37405 return 0;
37406 }
37407 _ACEOF
37408 if ac_fn_cxx_try_compile "$LINENO"; then :
37409 glibcxx_cv_func_hypotf_use=yes
37410 else
37411 glibcxx_cv_func_hypotf_use=no
37412 fi
37413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37414 ac_ext=c
37415 ac_cpp='$CPP $CPPFLAGS'
37416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37419
37420
37421 fi
37422
37423 fi
37424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
37425 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
37426
37427 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
37428 for ac_func in hypotf
37429 do :
37430 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
37431 if test "x$ac_cv_func_hypotf" = xyes; then :
37432 cat >>confdefs.h <<_ACEOF
37433 #define HAVE_HYPOTF 1
37434 _ACEOF
37435
37436 fi
37437 done
37438
37439 else
37440
37441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
37442 $as_echo_n "checking for _hypotf declaration... " >&6; }
37443 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
37444 if ${glibcxx_cv_func__hypotf_use+:} false; then :
37445 $as_echo_n "(cached) " >&6
37446 else
37447
37448
37449 ac_ext=cpp
37450 ac_cpp='$CXXCPP $CPPFLAGS'
37451 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37452 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37453 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37454
37455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37456 /* end confdefs.h. */
37457 #include <math.h>
37458 int
37459 main ()
37460 {
37461 _hypotf(0, 0);
37462 ;
37463 return 0;
37464 }
37465 _ACEOF
37466 if ac_fn_cxx_try_compile "$LINENO"; then :
37467 glibcxx_cv_func__hypotf_use=yes
37468 else
37469 glibcxx_cv_func__hypotf_use=no
37470 fi
37471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37472 ac_ext=c
37473 ac_cpp='$CPP $CPPFLAGS'
37474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37477
37478
37479 fi
37480
37481 fi
37482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
37483 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
37484
37485 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
37486 for ac_func in _hypotf
37487 do :
37488 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
37489 if test "x$ac_cv_func__hypotf" = xyes; then :
37490 cat >>confdefs.h <<_ACEOF
37491 #define HAVE__HYPOTF 1
37492 _ACEOF
37493
37494 fi
37495 done
37496
37497 fi
37498 fi
37499
37500
37501
37502
37503
37504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
37505 $as_echo_n "checking for ldexpf declaration... " >&6; }
37506 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
37507 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
37508 $as_echo_n "(cached) " >&6
37509 else
37510
37511
37512 ac_ext=cpp
37513 ac_cpp='$CXXCPP $CPPFLAGS'
37514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37517
37518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37519 /* end confdefs.h. */
37520 #include <math.h>
37521 int
37522 main ()
37523 {
37524 ldexpf(0, 0);
37525 ;
37526 return 0;
37527 }
37528 _ACEOF
37529 if ac_fn_cxx_try_compile "$LINENO"; then :
37530 glibcxx_cv_func_ldexpf_use=yes
37531 else
37532 glibcxx_cv_func_ldexpf_use=no
37533 fi
37534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37535 ac_ext=c
37536 ac_cpp='$CPP $CPPFLAGS'
37537 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37538 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37539 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37540
37541
37542 fi
37543
37544 fi
37545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
37546 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
37547
37548 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
37549 for ac_func in ldexpf
37550 do :
37551 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
37552 if test "x$ac_cv_func_ldexpf" = xyes; then :
37553 cat >>confdefs.h <<_ACEOF
37554 #define HAVE_LDEXPF 1
37555 _ACEOF
37556
37557 fi
37558 done
37559
37560 else
37561
37562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
37563 $as_echo_n "checking for _ldexpf declaration... " >&6; }
37564 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
37565 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
37566 $as_echo_n "(cached) " >&6
37567 else
37568
37569
37570 ac_ext=cpp
37571 ac_cpp='$CXXCPP $CPPFLAGS'
37572 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37573 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37574 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37575
37576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37577 /* end confdefs.h. */
37578 #include <math.h>
37579 int
37580 main ()
37581 {
37582 _ldexpf(0, 0);
37583 ;
37584 return 0;
37585 }
37586 _ACEOF
37587 if ac_fn_cxx_try_compile "$LINENO"; then :
37588 glibcxx_cv_func__ldexpf_use=yes
37589 else
37590 glibcxx_cv_func__ldexpf_use=no
37591 fi
37592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37593 ac_ext=c
37594 ac_cpp='$CPP $CPPFLAGS'
37595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37598
37599
37600 fi
37601
37602 fi
37603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
37604 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
37605
37606 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
37607 for ac_func in _ldexpf
37608 do :
37609 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
37610 if test "x$ac_cv_func__ldexpf" = xyes; then :
37611 cat >>confdefs.h <<_ACEOF
37612 #define HAVE__LDEXPF 1
37613 _ACEOF
37614
37615 fi
37616 done
37617
37618 fi
37619 fi
37620
37621
37622
37623
37624
37625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
37626 $as_echo_n "checking for logf declaration... " >&6; }
37627 if test x${glibcxx_cv_func_logf_use+set} != xset; then
37628 if ${glibcxx_cv_func_logf_use+:} false; then :
37629 $as_echo_n "(cached) " >&6
37630 else
37631
37632
37633 ac_ext=cpp
37634 ac_cpp='$CXXCPP $CPPFLAGS'
37635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37638
37639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37640 /* end confdefs.h. */
37641 #include <math.h>
37642 #ifdef HAVE_IEEEFP_H
37643 #include <ieeefp.h>
37644 #endif
37645
37646 int
37647 main ()
37648 {
37649 logf(0);
37650 ;
37651 return 0;
37652 }
37653 _ACEOF
37654 if ac_fn_cxx_try_compile "$LINENO"; then :
37655 glibcxx_cv_func_logf_use=yes
37656 else
37657 glibcxx_cv_func_logf_use=no
37658 fi
37659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37660 ac_ext=c
37661 ac_cpp='$CPP $CPPFLAGS'
37662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37665
37666
37667 fi
37668
37669 fi
37670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
37671 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
37672
37673 if test x$glibcxx_cv_func_logf_use = x"yes"; then
37674 for ac_func in logf
37675 do :
37676 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
37677 if test "x$ac_cv_func_logf" = xyes; then :
37678 cat >>confdefs.h <<_ACEOF
37679 #define HAVE_LOGF 1
37680 _ACEOF
37681
37682 fi
37683 done
37684
37685 else
37686
37687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
37688 $as_echo_n "checking for _logf declaration... " >&6; }
37689 if test x${glibcxx_cv_func__logf_use+set} != xset; then
37690 if ${glibcxx_cv_func__logf_use+:} false; then :
37691 $as_echo_n "(cached) " >&6
37692 else
37693
37694
37695 ac_ext=cpp
37696 ac_cpp='$CXXCPP $CPPFLAGS'
37697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37700
37701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37702 /* end confdefs.h. */
37703 #include <math.h>
37704 #ifdef HAVE_IEEEFP_H
37705 #include <ieeefp.h>
37706 #endif
37707
37708 int
37709 main ()
37710 {
37711 _logf(0);
37712 ;
37713 return 0;
37714 }
37715 _ACEOF
37716 if ac_fn_cxx_try_compile "$LINENO"; then :
37717 glibcxx_cv_func__logf_use=yes
37718 else
37719 glibcxx_cv_func__logf_use=no
37720 fi
37721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37722 ac_ext=c
37723 ac_cpp='$CPP $CPPFLAGS'
37724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37727
37728
37729 fi
37730
37731 fi
37732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
37733 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
37734
37735 if test x$glibcxx_cv_func__logf_use = x"yes"; then
37736 for ac_func in _logf
37737 do :
37738 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
37739 if test "x$ac_cv_func__logf" = xyes; then :
37740 cat >>confdefs.h <<_ACEOF
37741 #define HAVE__LOGF 1
37742 _ACEOF
37743
37744 fi
37745 done
37746
37747 fi
37748 fi
37749
37750
37751
37752
37753
37754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
37755 $as_echo_n "checking for log10f declaration... " >&6; }
37756 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
37757 if ${glibcxx_cv_func_log10f_use+:} false; then :
37758 $as_echo_n "(cached) " >&6
37759 else
37760
37761
37762 ac_ext=cpp
37763 ac_cpp='$CXXCPP $CPPFLAGS'
37764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37767
37768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37769 /* end confdefs.h. */
37770 #include <math.h>
37771 #ifdef HAVE_IEEEFP_H
37772 #include <ieeefp.h>
37773 #endif
37774
37775 int
37776 main ()
37777 {
37778 log10f(0);
37779 ;
37780 return 0;
37781 }
37782 _ACEOF
37783 if ac_fn_cxx_try_compile "$LINENO"; then :
37784 glibcxx_cv_func_log10f_use=yes
37785 else
37786 glibcxx_cv_func_log10f_use=no
37787 fi
37788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37789 ac_ext=c
37790 ac_cpp='$CPP $CPPFLAGS'
37791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37794
37795
37796 fi
37797
37798 fi
37799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
37800 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
37801
37802 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
37803 for ac_func in log10f
37804 do :
37805 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
37806 if test "x$ac_cv_func_log10f" = xyes; then :
37807 cat >>confdefs.h <<_ACEOF
37808 #define HAVE_LOG10F 1
37809 _ACEOF
37810
37811 fi
37812 done
37813
37814 else
37815
37816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
37817 $as_echo_n "checking for _log10f declaration... " >&6; }
37818 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
37819 if ${glibcxx_cv_func__log10f_use+:} false; then :
37820 $as_echo_n "(cached) " >&6
37821 else
37822
37823
37824 ac_ext=cpp
37825 ac_cpp='$CXXCPP $CPPFLAGS'
37826 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37827 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37828 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37829
37830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37831 /* end confdefs.h. */
37832 #include <math.h>
37833 #ifdef HAVE_IEEEFP_H
37834 #include <ieeefp.h>
37835 #endif
37836
37837 int
37838 main ()
37839 {
37840 _log10f(0);
37841 ;
37842 return 0;
37843 }
37844 _ACEOF
37845 if ac_fn_cxx_try_compile "$LINENO"; then :
37846 glibcxx_cv_func__log10f_use=yes
37847 else
37848 glibcxx_cv_func__log10f_use=no
37849 fi
37850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37851 ac_ext=c
37852 ac_cpp='$CPP $CPPFLAGS'
37853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37856
37857
37858 fi
37859
37860 fi
37861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
37862 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
37863
37864 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
37865 for ac_func in _log10f
37866 do :
37867 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
37868 if test "x$ac_cv_func__log10f" = xyes; then :
37869 cat >>confdefs.h <<_ACEOF
37870 #define HAVE__LOG10F 1
37871 _ACEOF
37872
37873 fi
37874 done
37875
37876 fi
37877 fi
37878
37879
37880
37881
37882
37883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
37884 $as_echo_n "checking for modff declaration... " >&6; }
37885 if test x${glibcxx_cv_func_modff_use+set} != xset; then
37886 if ${glibcxx_cv_func_modff_use+:} false; then :
37887 $as_echo_n "(cached) " >&6
37888 else
37889
37890
37891 ac_ext=cpp
37892 ac_cpp='$CXXCPP $CPPFLAGS'
37893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37896
37897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37898 /* end confdefs.h. */
37899 #include <math.h>
37900 int
37901 main ()
37902 {
37903 modff(0, 0);
37904 ;
37905 return 0;
37906 }
37907 _ACEOF
37908 if ac_fn_cxx_try_compile "$LINENO"; then :
37909 glibcxx_cv_func_modff_use=yes
37910 else
37911 glibcxx_cv_func_modff_use=no
37912 fi
37913 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37914 ac_ext=c
37915 ac_cpp='$CPP $CPPFLAGS'
37916 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37917 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37918 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37919
37920
37921 fi
37922
37923 fi
37924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
37925 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
37926
37927 if test x$glibcxx_cv_func_modff_use = x"yes"; then
37928 for ac_func in modff
37929 do :
37930 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
37931 if test "x$ac_cv_func_modff" = xyes; then :
37932 cat >>confdefs.h <<_ACEOF
37933 #define HAVE_MODFF 1
37934 _ACEOF
37935
37936 fi
37937 done
37938
37939 else
37940
37941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
37942 $as_echo_n "checking for _modff declaration... " >&6; }
37943 if test x${glibcxx_cv_func__modff_use+set} != xset; then
37944 if ${glibcxx_cv_func__modff_use+:} false; then :
37945 $as_echo_n "(cached) " >&6
37946 else
37947
37948
37949 ac_ext=cpp
37950 ac_cpp='$CXXCPP $CPPFLAGS'
37951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
37954
37955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
37956 /* end confdefs.h. */
37957 #include <math.h>
37958 int
37959 main ()
37960 {
37961 _modff(0, 0);
37962 ;
37963 return 0;
37964 }
37965 _ACEOF
37966 if ac_fn_cxx_try_compile "$LINENO"; then :
37967 glibcxx_cv_func__modff_use=yes
37968 else
37969 glibcxx_cv_func__modff_use=no
37970 fi
37971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37972 ac_ext=c
37973 ac_cpp='$CPP $CPPFLAGS'
37974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
37975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
37976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
37977
37978
37979 fi
37980
37981 fi
37982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
37983 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
37984
37985 if test x$glibcxx_cv_func__modff_use = x"yes"; then
37986 for ac_func in _modff
37987 do :
37988 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
37989 if test "x$ac_cv_func__modff" = xyes; then :
37990 cat >>confdefs.h <<_ACEOF
37991 #define HAVE__MODFF 1
37992 _ACEOF
37993
37994 fi
37995 done
37996
37997 fi
37998 fi
37999
38000
38001
38002
38003
38004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
38005 $as_echo_n "checking for modf declaration... " >&6; }
38006 if test x${glibcxx_cv_func_modf_use+set} != xset; then
38007 if ${glibcxx_cv_func_modf_use+:} false; then :
38008 $as_echo_n "(cached) " >&6
38009 else
38010
38011
38012 ac_ext=cpp
38013 ac_cpp='$CXXCPP $CPPFLAGS'
38014 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38015 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38016 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38017
38018 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38019 /* end confdefs.h. */
38020 #include <math.h>
38021 int
38022 main ()
38023 {
38024 modf(0, 0);
38025 ;
38026 return 0;
38027 }
38028 _ACEOF
38029 if ac_fn_cxx_try_compile "$LINENO"; then :
38030 glibcxx_cv_func_modf_use=yes
38031 else
38032 glibcxx_cv_func_modf_use=no
38033 fi
38034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38035 ac_ext=c
38036 ac_cpp='$CPP $CPPFLAGS'
38037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38040
38041
38042 fi
38043
38044 fi
38045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
38046 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
38047
38048 if test x$glibcxx_cv_func_modf_use = x"yes"; then
38049 for ac_func in modf
38050 do :
38051 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
38052 if test "x$ac_cv_func_modf" = xyes; then :
38053 cat >>confdefs.h <<_ACEOF
38054 #define HAVE_MODF 1
38055 _ACEOF
38056
38057 fi
38058 done
38059
38060 else
38061
38062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
38063 $as_echo_n "checking for _modf declaration... " >&6; }
38064 if test x${glibcxx_cv_func__modf_use+set} != xset; then
38065 if ${glibcxx_cv_func__modf_use+:} false; then :
38066 $as_echo_n "(cached) " >&6
38067 else
38068
38069
38070 ac_ext=cpp
38071 ac_cpp='$CXXCPP $CPPFLAGS'
38072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38075
38076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38077 /* end confdefs.h. */
38078 #include <math.h>
38079 int
38080 main ()
38081 {
38082 _modf(0, 0);
38083 ;
38084 return 0;
38085 }
38086 _ACEOF
38087 if ac_fn_cxx_try_compile "$LINENO"; then :
38088 glibcxx_cv_func__modf_use=yes
38089 else
38090 glibcxx_cv_func__modf_use=no
38091 fi
38092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38093 ac_ext=c
38094 ac_cpp='$CPP $CPPFLAGS'
38095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38098
38099
38100 fi
38101
38102 fi
38103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
38104 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
38105
38106 if test x$glibcxx_cv_func__modf_use = x"yes"; then
38107 for ac_func in _modf
38108 do :
38109 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
38110 if test "x$ac_cv_func__modf" = xyes; then :
38111 cat >>confdefs.h <<_ACEOF
38112 #define HAVE__MODF 1
38113 _ACEOF
38114
38115 fi
38116 done
38117
38118 fi
38119 fi
38120
38121
38122
38123
38124
38125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
38126 $as_echo_n "checking for powf declaration... " >&6; }
38127 if test x${glibcxx_cv_func_powf_use+set} != xset; then
38128 if ${glibcxx_cv_func_powf_use+:} false; then :
38129 $as_echo_n "(cached) " >&6
38130 else
38131
38132
38133 ac_ext=cpp
38134 ac_cpp='$CXXCPP $CPPFLAGS'
38135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38138
38139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38140 /* end confdefs.h. */
38141 #include <math.h>
38142 int
38143 main ()
38144 {
38145 powf(0, 0);
38146 ;
38147 return 0;
38148 }
38149 _ACEOF
38150 if ac_fn_cxx_try_compile "$LINENO"; then :
38151 glibcxx_cv_func_powf_use=yes
38152 else
38153 glibcxx_cv_func_powf_use=no
38154 fi
38155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38156 ac_ext=c
38157 ac_cpp='$CPP $CPPFLAGS'
38158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38161
38162
38163 fi
38164
38165 fi
38166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
38167 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
38168
38169 if test x$glibcxx_cv_func_powf_use = x"yes"; then
38170 for ac_func in powf
38171 do :
38172 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
38173 if test "x$ac_cv_func_powf" = xyes; then :
38174 cat >>confdefs.h <<_ACEOF
38175 #define HAVE_POWF 1
38176 _ACEOF
38177
38178 fi
38179 done
38180
38181 else
38182
38183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
38184 $as_echo_n "checking for _powf declaration... " >&6; }
38185 if test x${glibcxx_cv_func__powf_use+set} != xset; then
38186 if ${glibcxx_cv_func__powf_use+:} false; then :
38187 $as_echo_n "(cached) " >&6
38188 else
38189
38190
38191 ac_ext=cpp
38192 ac_cpp='$CXXCPP $CPPFLAGS'
38193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38196
38197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38198 /* end confdefs.h. */
38199 #include <math.h>
38200 int
38201 main ()
38202 {
38203 _powf(0, 0);
38204 ;
38205 return 0;
38206 }
38207 _ACEOF
38208 if ac_fn_cxx_try_compile "$LINENO"; then :
38209 glibcxx_cv_func__powf_use=yes
38210 else
38211 glibcxx_cv_func__powf_use=no
38212 fi
38213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38214 ac_ext=c
38215 ac_cpp='$CPP $CPPFLAGS'
38216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38219
38220
38221 fi
38222
38223 fi
38224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
38225 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
38226
38227 if test x$glibcxx_cv_func__powf_use = x"yes"; then
38228 for ac_func in _powf
38229 do :
38230 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
38231 if test "x$ac_cv_func__powf" = xyes; then :
38232 cat >>confdefs.h <<_ACEOF
38233 #define HAVE__POWF 1
38234 _ACEOF
38235
38236 fi
38237 done
38238
38239 fi
38240 fi
38241
38242
38243
38244
38245
38246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
38247 $as_echo_n "checking for sqrtf declaration... " >&6; }
38248 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
38249 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
38250 $as_echo_n "(cached) " >&6
38251 else
38252
38253
38254 ac_ext=cpp
38255 ac_cpp='$CXXCPP $CPPFLAGS'
38256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38259
38260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38261 /* end confdefs.h. */
38262 #include <math.h>
38263 #ifdef HAVE_IEEEFP_H
38264 #include <ieeefp.h>
38265 #endif
38266
38267 int
38268 main ()
38269 {
38270 sqrtf(0);
38271 ;
38272 return 0;
38273 }
38274 _ACEOF
38275 if ac_fn_cxx_try_compile "$LINENO"; then :
38276 glibcxx_cv_func_sqrtf_use=yes
38277 else
38278 glibcxx_cv_func_sqrtf_use=no
38279 fi
38280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38281 ac_ext=c
38282 ac_cpp='$CPP $CPPFLAGS'
38283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38286
38287
38288 fi
38289
38290 fi
38291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
38292 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
38293
38294 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
38295 for ac_func in sqrtf
38296 do :
38297 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
38298 if test "x$ac_cv_func_sqrtf" = xyes; then :
38299 cat >>confdefs.h <<_ACEOF
38300 #define HAVE_SQRTF 1
38301 _ACEOF
38302
38303 fi
38304 done
38305
38306 else
38307
38308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
38309 $as_echo_n "checking for _sqrtf declaration... " >&6; }
38310 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
38311 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
38312 $as_echo_n "(cached) " >&6
38313 else
38314
38315
38316 ac_ext=cpp
38317 ac_cpp='$CXXCPP $CPPFLAGS'
38318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38321
38322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38323 /* end confdefs.h. */
38324 #include <math.h>
38325 #ifdef HAVE_IEEEFP_H
38326 #include <ieeefp.h>
38327 #endif
38328
38329 int
38330 main ()
38331 {
38332 _sqrtf(0);
38333 ;
38334 return 0;
38335 }
38336 _ACEOF
38337 if ac_fn_cxx_try_compile "$LINENO"; then :
38338 glibcxx_cv_func__sqrtf_use=yes
38339 else
38340 glibcxx_cv_func__sqrtf_use=no
38341 fi
38342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38343 ac_ext=c
38344 ac_cpp='$CPP $CPPFLAGS'
38345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38348
38349
38350 fi
38351
38352 fi
38353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
38354 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
38355
38356 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
38357 for ac_func in _sqrtf
38358 do :
38359 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
38360 if test "x$ac_cv_func__sqrtf" = xyes; then :
38361 cat >>confdefs.h <<_ACEOF
38362 #define HAVE__SQRTF 1
38363 _ACEOF
38364
38365 fi
38366 done
38367
38368 fi
38369 fi
38370
38371
38372
38373
38374
38375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
38376 $as_echo_n "checking for sincosf declaration... " >&6; }
38377 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
38378 if ${glibcxx_cv_func_sincosf_use+:} false; then :
38379 $as_echo_n "(cached) " >&6
38380 else
38381
38382
38383 ac_ext=cpp
38384 ac_cpp='$CXXCPP $CPPFLAGS'
38385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38388
38389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38390 /* end confdefs.h. */
38391 #include <math.h>
38392 int
38393 main ()
38394 {
38395 sincosf(0, 0, 0);
38396 ;
38397 return 0;
38398 }
38399 _ACEOF
38400 if ac_fn_cxx_try_compile "$LINENO"; then :
38401 glibcxx_cv_func_sincosf_use=yes
38402 else
38403 glibcxx_cv_func_sincosf_use=no
38404 fi
38405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38406 ac_ext=c
38407 ac_cpp='$CPP $CPPFLAGS'
38408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38411
38412
38413 fi
38414
38415 fi
38416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
38417 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
38418
38419 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
38420 for ac_func in sincosf
38421 do :
38422 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
38423 if test "x$ac_cv_func_sincosf" = xyes; then :
38424 cat >>confdefs.h <<_ACEOF
38425 #define HAVE_SINCOSF 1
38426 _ACEOF
38427
38428 fi
38429 done
38430
38431 else
38432
38433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
38434 $as_echo_n "checking for _sincosf declaration... " >&6; }
38435 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
38436 if ${glibcxx_cv_func__sincosf_use+:} false; then :
38437 $as_echo_n "(cached) " >&6
38438 else
38439
38440
38441 ac_ext=cpp
38442 ac_cpp='$CXXCPP $CPPFLAGS'
38443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38446
38447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38448 /* end confdefs.h. */
38449 #include <math.h>
38450 int
38451 main ()
38452 {
38453 _sincosf(0, 0, 0);
38454 ;
38455 return 0;
38456 }
38457 _ACEOF
38458 if ac_fn_cxx_try_compile "$LINENO"; then :
38459 glibcxx_cv_func__sincosf_use=yes
38460 else
38461 glibcxx_cv_func__sincosf_use=no
38462 fi
38463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38464 ac_ext=c
38465 ac_cpp='$CPP $CPPFLAGS'
38466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38469
38470
38471 fi
38472
38473 fi
38474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
38475 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
38476
38477 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
38478 for ac_func in _sincosf
38479 do :
38480 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
38481 if test "x$ac_cv_func__sincosf" = xyes; then :
38482 cat >>confdefs.h <<_ACEOF
38483 #define HAVE__SINCOSF 1
38484 _ACEOF
38485
38486 fi
38487 done
38488
38489 fi
38490 fi
38491
38492
38493
38494
38495
38496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
38497 $as_echo_n "checking for finitef declaration... " >&6; }
38498 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
38499 if ${glibcxx_cv_func_finitef_use+:} false; then :
38500 $as_echo_n "(cached) " >&6
38501 else
38502
38503
38504 ac_ext=cpp
38505 ac_cpp='$CXXCPP $CPPFLAGS'
38506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38509
38510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38511 /* end confdefs.h. */
38512 #include <math.h>
38513 #ifdef HAVE_IEEEFP_H
38514 #include <ieeefp.h>
38515 #endif
38516
38517 int
38518 main ()
38519 {
38520 finitef(0);
38521 ;
38522 return 0;
38523 }
38524 _ACEOF
38525 if ac_fn_cxx_try_compile "$LINENO"; then :
38526 glibcxx_cv_func_finitef_use=yes
38527 else
38528 glibcxx_cv_func_finitef_use=no
38529 fi
38530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38531 ac_ext=c
38532 ac_cpp='$CPP $CPPFLAGS'
38533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38536
38537
38538 fi
38539
38540 fi
38541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
38542 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
38543
38544 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
38545 for ac_func in finitef
38546 do :
38547 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
38548 if test "x$ac_cv_func_finitef" = xyes; then :
38549 cat >>confdefs.h <<_ACEOF
38550 #define HAVE_FINITEF 1
38551 _ACEOF
38552
38553 fi
38554 done
38555
38556 else
38557
38558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
38559 $as_echo_n "checking for _finitef declaration... " >&6; }
38560 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
38561 if ${glibcxx_cv_func__finitef_use+:} false; then :
38562 $as_echo_n "(cached) " >&6
38563 else
38564
38565
38566 ac_ext=cpp
38567 ac_cpp='$CXXCPP $CPPFLAGS'
38568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38571
38572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38573 /* end confdefs.h. */
38574 #include <math.h>
38575 #ifdef HAVE_IEEEFP_H
38576 #include <ieeefp.h>
38577 #endif
38578
38579 int
38580 main ()
38581 {
38582 _finitef(0);
38583 ;
38584 return 0;
38585 }
38586 _ACEOF
38587 if ac_fn_cxx_try_compile "$LINENO"; then :
38588 glibcxx_cv_func__finitef_use=yes
38589 else
38590 glibcxx_cv_func__finitef_use=no
38591 fi
38592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38593 ac_ext=c
38594 ac_cpp='$CPP $CPPFLAGS'
38595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38598
38599
38600 fi
38601
38602 fi
38603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
38604 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
38605
38606 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
38607 for ac_func in _finitef
38608 do :
38609 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
38610 if test "x$ac_cv_func__finitef" = xyes; then :
38611 cat >>confdefs.h <<_ACEOF
38612 #define HAVE__FINITEF 1
38613 _ACEOF
38614
38615 fi
38616 done
38617
38618 fi
38619 fi
38620
38621
38622
38623
38624
38625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
38626 $as_echo_n "checking for long double trig functions... " >&6; }
38627 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
38628 $as_echo_n "(cached) " >&6
38629 else
38630
38631
38632 ac_ext=cpp
38633 ac_cpp='$CXXCPP $CPPFLAGS'
38634 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38635 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38636 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38637
38638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38639 /* end confdefs.h. */
38640 #include <math.h>
38641 int
38642 main ()
38643 {
38644 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
38645 ;
38646 return 0;
38647 }
38648 _ACEOF
38649 if ac_fn_cxx_try_compile "$LINENO"; then :
38650 glibcxx_cv_func_long_double_trig_use=yes
38651 else
38652 glibcxx_cv_func_long_double_trig_use=no
38653 fi
38654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38655 ac_ext=c
38656 ac_cpp='$CPP $CPPFLAGS'
38657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38660
38661 fi
38662
38663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
38664 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
38665 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
38666 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
38667 do :
38668 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38669 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38670 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38671 cat >>confdefs.h <<_ACEOF
38672 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38673 _ACEOF
38674
38675 fi
38676 done
38677
38678 else
38679 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
38680 $as_echo_n "checking for _long double trig functions... " >&6; }
38681 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
38682 $as_echo_n "(cached) " >&6
38683 else
38684
38685
38686 ac_ext=cpp
38687 ac_cpp='$CXXCPP $CPPFLAGS'
38688 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38689 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38690 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38691
38692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38693 /* end confdefs.h. */
38694 #include <math.h>
38695 int
38696 main ()
38697 {
38698 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
38699 ;
38700 return 0;
38701 }
38702 _ACEOF
38703 if ac_fn_cxx_try_compile "$LINENO"; then :
38704 glibcxx_cv_func__long_double_trig_use=yes
38705 else
38706 glibcxx_cv_func__long_double_trig_use=no
38707 fi
38708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38709 ac_ext=c
38710 ac_cpp='$CPP $CPPFLAGS'
38711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38714
38715 fi
38716
38717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
38718 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
38719 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
38720 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
38721 do :
38722 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38723 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38724 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38725 cat >>confdefs.h <<_ACEOF
38726 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38727 _ACEOF
38728
38729 fi
38730 done
38731
38732 fi
38733 fi
38734
38735
38736
38737
38738
38739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
38740 $as_echo_n "checking for long double round functions... " >&6; }
38741 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
38742 $as_echo_n "(cached) " >&6
38743 else
38744
38745
38746 ac_ext=cpp
38747 ac_cpp='$CXXCPP $CPPFLAGS'
38748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38751
38752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38753 /* end confdefs.h. */
38754 #include <math.h>
38755 int
38756 main ()
38757 {
38758 ceill (0); floorl (0);
38759 ;
38760 return 0;
38761 }
38762 _ACEOF
38763 if ac_fn_cxx_try_compile "$LINENO"; then :
38764 glibcxx_cv_func_long_double_round_use=yes
38765 else
38766 glibcxx_cv_func_long_double_round_use=no
38767 fi
38768 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38769 ac_ext=c
38770 ac_cpp='$CPP $CPPFLAGS'
38771 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38772 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38773 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38774
38775 fi
38776
38777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
38778 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
38779 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
38780 for ac_func in ceill floorl
38781 do :
38782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38784 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38785 cat >>confdefs.h <<_ACEOF
38786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38787 _ACEOF
38788
38789 fi
38790 done
38791
38792 else
38793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
38794 $as_echo_n "checking for _long double round functions... " >&6; }
38795 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
38796 $as_echo_n "(cached) " >&6
38797 else
38798
38799
38800 ac_ext=cpp
38801 ac_cpp='$CXXCPP $CPPFLAGS'
38802 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38803 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38804 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38805
38806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38807 /* end confdefs.h. */
38808 #include <math.h>
38809 int
38810 main ()
38811 {
38812 _ceill (0); _floorl (0);
38813 ;
38814 return 0;
38815 }
38816 _ACEOF
38817 if ac_fn_cxx_try_compile "$LINENO"; then :
38818 glibcxx_cv_func__long_double_round_use=yes
38819 else
38820 glibcxx_cv_func__long_double_round_use=no
38821 fi
38822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38823 ac_ext=c
38824 ac_cpp='$CPP $CPPFLAGS'
38825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38828
38829 fi
38830
38831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
38832 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
38833 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
38834 for ac_func in _ceill _floorl
38835 do :
38836 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
38837 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
38838 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
38839 cat >>confdefs.h <<_ACEOF
38840 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
38841 _ACEOF
38842
38843 fi
38844 done
38845
38846 fi
38847 fi
38848
38849
38850
38851
38852
38853
38854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
38855 $as_echo_n "checking for isnanl declaration... " >&6; }
38856 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
38857 if ${glibcxx_cv_func_isnanl_use+:} false; then :
38858 $as_echo_n "(cached) " >&6
38859 else
38860
38861
38862 ac_ext=cpp
38863 ac_cpp='$CXXCPP $CPPFLAGS'
38864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38867
38868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38869 /* end confdefs.h. */
38870 #include <math.h>
38871 #ifdef HAVE_IEEEFP_H
38872 #include <ieeefp.h>
38873 #endif
38874
38875 int
38876 main ()
38877 {
38878 isnanl(0);
38879 ;
38880 return 0;
38881 }
38882 _ACEOF
38883 if ac_fn_cxx_try_compile "$LINENO"; then :
38884 glibcxx_cv_func_isnanl_use=yes
38885 else
38886 glibcxx_cv_func_isnanl_use=no
38887 fi
38888 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38889 ac_ext=c
38890 ac_cpp='$CPP $CPPFLAGS'
38891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38894
38895
38896 fi
38897
38898 fi
38899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
38900 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
38901
38902 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
38903 for ac_func in isnanl
38904 do :
38905 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
38906 if test "x$ac_cv_func_isnanl" = xyes; then :
38907 cat >>confdefs.h <<_ACEOF
38908 #define HAVE_ISNANL 1
38909 _ACEOF
38910
38911 fi
38912 done
38913
38914 else
38915
38916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
38917 $as_echo_n "checking for _isnanl declaration... " >&6; }
38918 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
38919 if ${glibcxx_cv_func__isnanl_use+:} false; then :
38920 $as_echo_n "(cached) " >&6
38921 else
38922
38923
38924 ac_ext=cpp
38925 ac_cpp='$CXXCPP $CPPFLAGS'
38926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38929
38930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38931 /* end confdefs.h. */
38932 #include <math.h>
38933 #ifdef HAVE_IEEEFP_H
38934 #include <ieeefp.h>
38935 #endif
38936
38937 int
38938 main ()
38939 {
38940 _isnanl(0);
38941 ;
38942 return 0;
38943 }
38944 _ACEOF
38945 if ac_fn_cxx_try_compile "$LINENO"; then :
38946 glibcxx_cv_func__isnanl_use=yes
38947 else
38948 glibcxx_cv_func__isnanl_use=no
38949 fi
38950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38951 ac_ext=c
38952 ac_cpp='$CPP $CPPFLAGS'
38953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38956
38957
38958 fi
38959
38960 fi
38961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
38962 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
38963
38964 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
38965 for ac_func in _isnanl
38966 do :
38967 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
38968 if test "x$ac_cv_func__isnanl" = xyes; then :
38969 cat >>confdefs.h <<_ACEOF
38970 #define HAVE__ISNANL 1
38971 _ACEOF
38972
38973 fi
38974 done
38975
38976 fi
38977 fi
38978
38979
38980
38981
38982
38983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
38984 $as_echo_n "checking for isinfl declaration... " >&6; }
38985 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
38986 if ${glibcxx_cv_func_isinfl_use+:} false; then :
38987 $as_echo_n "(cached) " >&6
38988 else
38989
38990
38991 ac_ext=cpp
38992 ac_cpp='$CXXCPP $CPPFLAGS'
38993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38996
38997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
38998 /* end confdefs.h. */
38999 #include <math.h>
39000 #ifdef HAVE_IEEEFP_H
39001 #include <ieeefp.h>
39002 #endif
39003
39004 int
39005 main ()
39006 {
39007 isinfl(0);
39008 ;
39009 return 0;
39010 }
39011 _ACEOF
39012 if ac_fn_cxx_try_compile "$LINENO"; then :
39013 glibcxx_cv_func_isinfl_use=yes
39014 else
39015 glibcxx_cv_func_isinfl_use=no
39016 fi
39017 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39018 ac_ext=c
39019 ac_cpp='$CPP $CPPFLAGS'
39020 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39021 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39022 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39023
39024
39025 fi
39026
39027 fi
39028 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
39029 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
39030
39031 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
39032 for ac_func in isinfl
39033 do :
39034 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
39035 if test "x$ac_cv_func_isinfl" = xyes; then :
39036 cat >>confdefs.h <<_ACEOF
39037 #define HAVE_ISINFL 1
39038 _ACEOF
39039
39040 fi
39041 done
39042
39043 else
39044
39045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
39046 $as_echo_n "checking for _isinfl declaration... " >&6; }
39047 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
39048 if ${glibcxx_cv_func__isinfl_use+:} false; then :
39049 $as_echo_n "(cached) " >&6
39050 else
39051
39052
39053 ac_ext=cpp
39054 ac_cpp='$CXXCPP $CPPFLAGS'
39055 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39056 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39057 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39058
39059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39060 /* end confdefs.h. */
39061 #include <math.h>
39062 #ifdef HAVE_IEEEFP_H
39063 #include <ieeefp.h>
39064 #endif
39065
39066 int
39067 main ()
39068 {
39069 _isinfl(0);
39070 ;
39071 return 0;
39072 }
39073 _ACEOF
39074 if ac_fn_cxx_try_compile "$LINENO"; then :
39075 glibcxx_cv_func__isinfl_use=yes
39076 else
39077 glibcxx_cv_func__isinfl_use=no
39078 fi
39079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39080 ac_ext=c
39081 ac_cpp='$CPP $CPPFLAGS'
39082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39085
39086
39087 fi
39088
39089 fi
39090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
39091 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
39092
39093 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
39094 for ac_func in _isinfl
39095 do :
39096 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
39097 if test "x$ac_cv_func__isinfl" = xyes; then :
39098 cat >>confdefs.h <<_ACEOF
39099 #define HAVE__ISINFL 1
39100 _ACEOF
39101
39102 fi
39103 done
39104
39105 fi
39106 fi
39107
39108
39109
39110
39111
39112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
39113 $as_echo_n "checking for atan2l declaration... " >&6; }
39114 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
39115 if ${glibcxx_cv_func_atan2l_use+:} false; then :
39116 $as_echo_n "(cached) " >&6
39117 else
39118
39119
39120 ac_ext=cpp
39121 ac_cpp='$CXXCPP $CPPFLAGS'
39122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39125
39126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39127 /* end confdefs.h. */
39128 #include <math.h>
39129 int
39130 main ()
39131 {
39132 atan2l(0, 0);
39133 ;
39134 return 0;
39135 }
39136 _ACEOF
39137 if ac_fn_cxx_try_compile "$LINENO"; then :
39138 glibcxx_cv_func_atan2l_use=yes
39139 else
39140 glibcxx_cv_func_atan2l_use=no
39141 fi
39142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39143 ac_ext=c
39144 ac_cpp='$CPP $CPPFLAGS'
39145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39148
39149
39150 fi
39151
39152 fi
39153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
39154 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
39155
39156 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
39157 for ac_func in atan2l
39158 do :
39159 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
39160 if test "x$ac_cv_func_atan2l" = xyes; then :
39161 cat >>confdefs.h <<_ACEOF
39162 #define HAVE_ATAN2L 1
39163 _ACEOF
39164
39165 fi
39166 done
39167
39168 else
39169
39170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
39171 $as_echo_n "checking for _atan2l declaration... " >&6; }
39172 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
39173 if ${glibcxx_cv_func__atan2l_use+:} false; then :
39174 $as_echo_n "(cached) " >&6
39175 else
39176
39177
39178 ac_ext=cpp
39179 ac_cpp='$CXXCPP $CPPFLAGS'
39180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39183
39184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39185 /* end confdefs.h. */
39186 #include <math.h>
39187 int
39188 main ()
39189 {
39190 _atan2l(0, 0);
39191 ;
39192 return 0;
39193 }
39194 _ACEOF
39195 if ac_fn_cxx_try_compile "$LINENO"; then :
39196 glibcxx_cv_func__atan2l_use=yes
39197 else
39198 glibcxx_cv_func__atan2l_use=no
39199 fi
39200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39201 ac_ext=c
39202 ac_cpp='$CPP $CPPFLAGS'
39203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39206
39207
39208 fi
39209
39210 fi
39211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
39212 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
39213
39214 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
39215 for ac_func in _atan2l
39216 do :
39217 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
39218 if test "x$ac_cv_func__atan2l" = xyes; then :
39219 cat >>confdefs.h <<_ACEOF
39220 #define HAVE__ATAN2L 1
39221 _ACEOF
39222
39223 fi
39224 done
39225
39226 fi
39227 fi
39228
39229
39230
39231
39232
39233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
39234 $as_echo_n "checking for expl declaration... " >&6; }
39235 if test x${glibcxx_cv_func_expl_use+set} != xset; then
39236 if ${glibcxx_cv_func_expl_use+:} false; then :
39237 $as_echo_n "(cached) " >&6
39238 else
39239
39240
39241 ac_ext=cpp
39242 ac_cpp='$CXXCPP $CPPFLAGS'
39243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39246
39247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39248 /* end confdefs.h. */
39249 #include <math.h>
39250 #ifdef HAVE_IEEEFP_H
39251 #include <ieeefp.h>
39252 #endif
39253
39254 int
39255 main ()
39256 {
39257 expl(0);
39258 ;
39259 return 0;
39260 }
39261 _ACEOF
39262 if ac_fn_cxx_try_compile "$LINENO"; then :
39263 glibcxx_cv_func_expl_use=yes
39264 else
39265 glibcxx_cv_func_expl_use=no
39266 fi
39267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39268 ac_ext=c
39269 ac_cpp='$CPP $CPPFLAGS'
39270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39273
39274
39275 fi
39276
39277 fi
39278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
39279 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
39280
39281 if test x$glibcxx_cv_func_expl_use = x"yes"; then
39282 for ac_func in expl
39283 do :
39284 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
39285 if test "x$ac_cv_func_expl" = xyes; then :
39286 cat >>confdefs.h <<_ACEOF
39287 #define HAVE_EXPL 1
39288 _ACEOF
39289
39290 fi
39291 done
39292
39293 else
39294
39295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
39296 $as_echo_n "checking for _expl declaration... " >&6; }
39297 if test x${glibcxx_cv_func__expl_use+set} != xset; then
39298 if ${glibcxx_cv_func__expl_use+:} false; then :
39299 $as_echo_n "(cached) " >&6
39300 else
39301
39302
39303 ac_ext=cpp
39304 ac_cpp='$CXXCPP $CPPFLAGS'
39305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39308
39309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39310 /* end confdefs.h. */
39311 #include <math.h>
39312 #ifdef HAVE_IEEEFP_H
39313 #include <ieeefp.h>
39314 #endif
39315
39316 int
39317 main ()
39318 {
39319 _expl(0);
39320 ;
39321 return 0;
39322 }
39323 _ACEOF
39324 if ac_fn_cxx_try_compile "$LINENO"; then :
39325 glibcxx_cv_func__expl_use=yes
39326 else
39327 glibcxx_cv_func__expl_use=no
39328 fi
39329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39330 ac_ext=c
39331 ac_cpp='$CPP $CPPFLAGS'
39332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39335
39336
39337 fi
39338
39339 fi
39340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
39341 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
39342
39343 if test x$glibcxx_cv_func__expl_use = x"yes"; then
39344 for ac_func in _expl
39345 do :
39346 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
39347 if test "x$ac_cv_func__expl" = xyes; then :
39348 cat >>confdefs.h <<_ACEOF
39349 #define HAVE__EXPL 1
39350 _ACEOF
39351
39352 fi
39353 done
39354
39355 fi
39356 fi
39357
39358
39359
39360
39361
39362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
39363 $as_echo_n "checking for fabsl declaration... " >&6; }
39364 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
39365 if ${glibcxx_cv_func_fabsl_use+:} false; then :
39366 $as_echo_n "(cached) " >&6
39367 else
39368
39369
39370 ac_ext=cpp
39371 ac_cpp='$CXXCPP $CPPFLAGS'
39372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39375
39376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39377 /* end confdefs.h. */
39378 #include <math.h>
39379 #ifdef HAVE_IEEEFP_H
39380 #include <ieeefp.h>
39381 #endif
39382
39383 int
39384 main ()
39385 {
39386 fabsl(0);
39387 ;
39388 return 0;
39389 }
39390 _ACEOF
39391 if ac_fn_cxx_try_compile "$LINENO"; then :
39392 glibcxx_cv_func_fabsl_use=yes
39393 else
39394 glibcxx_cv_func_fabsl_use=no
39395 fi
39396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39397 ac_ext=c
39398 ac_cpp='$CPP $CPPFLAGS'
39399 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39400 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39401 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39402
39403
39404 fi
39405
39406 fi
39407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
39408 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
39409
39410 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
39411 for ac_func in fabsl
39412 do :
39413 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
39414 if test "x$ac_cv_func_fabsl" = xyes; then :
39415 cat >>confdefs.h <<_ACEOF
39416 #define HAVE_FABSL 1
39417 _ACEOF
39418
39419 fi
39420 done
39421
39422 else
39423
39424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
39425 $as_echo_n "checking for _fabsl declaration... " >&6; }
39426 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
39427 if ${glibcxx_cv_func__fabsl_use+:} false; then :
39428 $as_echo_n "(cached) " >&6
39429 else
39430
39431
39432 ac_ext=cpp
39433 ac_cpp='$CXXCPP $CPPFLAGS'
39434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39437
39438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39439 /* end confdefs.h. */
39440 #include <math.h>
39441 #ifdef HAVE_IEEEFP_H
39442 #include <ieeefp.h>
39443 #endif
39444
39445 int
39446 main ()
39447 {
39448 _fabsl(0);
39449 ;
39450 return 0;
39451 }
39452 _ACEOF
39453 if ac_fn_cxx_try_compile "$LINENO"; then :
39454 glibcxx_cv_func__fabsl_use=yes
39455 else
39456 glibcxx_cv_func__fabsl_use=no
39457 fi
39458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39459 ac_ext=c
39460 ac_cpp='$CPP $CPPFLAGS'
39461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39464
39465
39466 fi
39467
39468 fi
39469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
39470 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
39471
39472 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
39473 for ac_func in _fabsl
39474 do :
39475 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
39476 if test "x$ac_cv_func__fabsl" = xyes; then :
39477 cat >>confdefs.h <<_ACEOF
39478 #define HAVE__FABSL 1
39479 _ACEOF
39480
39481 fi
39482 done
39483
39484 fi
39485 fi
39486
39487
39488
39489
39490
39491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
39492 $as_echo_n "checking for fmodl declaration... " >&6; }
39493 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
39494 if ${glibcxx_cv_func_fmodl_use+:} false; then :
39495 $as_echo_n "(cached) " >&6
39496 else
39497
39498
39499 ac_ext=cpp
39500 ac_cpp='$CXXCPP $CPPFLAGS'
39501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39504
39505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39506 /* end confdefs.h. */
39507 #include <math.h>
39508 int
39509 main ()
39510 {
39511 fmodl(0, 0);
39512 ;
39513 return 0;
39514 }
39515 _ACEOF
39516 if ac_fn_cxx_try_compile "$LINENO"; then :
39517 glibcxx_cv_func_fmodl_use=yes
39518 else
39519 glibcxx_cv_func_fmodl_use=no
39520 fi
39521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39522 ac_ext=c
39523 ac_cpp='$CPP $CPPFLAGS'
39524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39527
39528
39529 fi
39530
39531 fi
39532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
39533 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
39534
39535 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
39536 for ac_func in fmodl
39537 do :
39538 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
39539 if test "x$ac_cv_func_fmodl" = xyes; then :
39540 cat >>confdefs.h <<_ACEOF
39541 #define HAVE_FMODL 1
39542 _ACEOF
39543
39544 fi
39545 done
39546
39547 else
39548
39549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
39550 $as_echo_n "checking for _fmodl declaration... " >&6; }
39551 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
39552 if ${glibcxx_cv_func__fmodl_use+:} false; then :
39553 $as_echo_n "(cached) " >&6
39554 else
39555
39556
39557 ac_ext=cpp
39558 ac_cpp='$CXXCPP $CPPFLAGS'
39559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39562
39563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39564 /* end confdefs.h. */
39565 #include <math.h>
39566 int
39567 main ()
39568 {
39569 _fmodl(0, 0);
39570 ;
39571 return 0;
39572 }
39573 _ACEOF
39574 if ac_fn_cxx_try_compile "$LINENO"; then :
39575 glibcxx_cv_func__fmodl_use=yes
39576 else
39577 glibcxx_cv_func__fmodl_use=no
39578 fi
39579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39580 ac_ext=c
39581 ac_cpp='$CPP $CPPFLAGS'
39582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39585
39586
39587 fi
39588
39589 fi
39590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
39591 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
39592
39593 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
39594 for ac_func in _fmodl
39595 do :
39596 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
39597 if test "x$ac_cv_func__fmodl" = xyes; then :
39598 cat >>confdefs.h <<_ACEOF
39599 #define HAVE__FMODL 1
39600 _ACEOF
39601
39602 fi
39603 done
39604
39605 fi
39606 fi
39607
39608
39609
39610
39611
39612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
39613 $as_echo_n "checking for frexpl declaration... " >&6; }
39614 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
39615 if ${glibcxx_cv_func_frexpl_use+:} false; then :
39616 $as_echo_n "(cached) " >&6
39617 else
39618
39619
39620 ac_ext=cpp
39621 ac_cpp='$CXXCPP $CPPFLAGS'
39622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39625
39626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39627 /* end confdefs.h. */
39628 #include <math.h>
39629 int
39630 main ()
39631 {
39632 frexpl(0, 0);
39633 ;
39634 return 0;
39635 }
39636 _ACEOF
39637 if ac_fn_cxx_try_compile "$LINENO"; then :
39638 glibcxx_cv_func_frexpl_use=yes
39639 else
39640 glibcxx_cv_func_frexpl_use=no
39641 fi
39642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39643 ac_ext=c
39644 ac_cpp='$CPP $CPPFLAGS'
39645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39648
39649
39650 fi
39651
39652 fi
39653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
39654 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
39655
39656 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
39657 for ac_func in frexpl
39658 do :
39659 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
39660 if test "x$ac_cv_func_frexpl" = xyes; then :
39661 cat >>confdefs.h <<_ACEOF
39662 #define HAVE_FREXPL 1
39663 _ACEOF
39664
39665 fi
39666 done
39667
39668 else
39669
39670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
39671 $as_echo_n "checking for _frexpl declaration... " >&6; }
39672 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
39673 if ${glibcxx_cv_func__frexpl_use+:} false; then :
39674 $as_echo_n "(cached) " >&6
39675 else
39676
39677
39678 ac_ext=cpp
39679 ac_cpp='$CXXCPP $CPPFLAGS'
39680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39683
39684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39685 /* end confdefs.h. */
39686 #include <math.h>
39687 int
39688 main ()
39689 {
39690 _frexpl(0, 0);
39691 ;
39692 return 0;
39693 }
39694 _ACEOF
39695 if ac_fn_cxx_try_compile "$LINENO"; then :
39696 glibcxx_cv_func__frexpl_use=yes
39697 else
39698 glibcxx_cv_func__frexpl_use=no
39699 fi
39700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39701 ac_ext=c
39702 ac_cpp='$CPP $CPPFLAGS'
39703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39706
39707
39708 fi
39709
39710 fi
39711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
39712 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
39713
39714 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
39715 for ac_func in _frexpl
39716 do :
39717 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
39718 if test "x$ac_cv_func__frexpl" = xyes; then :
39719 cat >>confdefs.h <<_ACEOF
39720 #define HAVE__FREXPL 1
39721 _ACEOF
39722
39723 fi
39724 done
39725
39726 fi
39727 fi
39728
39729
39730
39731
39732
39733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
39734 $as_echo_n "checking for hypotl declaration... " >&6; }
39735 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
39736 if ${glibcxx_cv_func_hypotl_use+:} false; then :
39737 $as_echo_n "(cached) " >&6
39738 else
39739
39740
39741 ac_ext=cpp
39742 ac_cpp='$CXXCPP $CPPFLAGS'
39743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39746
39747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39748 /* end confdefs.h. */
39749 #include <math.h>
39750 int
39751 main ()
39752 {
39753 hypotl(0, 0);
39754 ;
39755 return 0;
39756 }
39757 _ACEOF
39758 if ac_fn_cxx_try_compile "$LINENO"; then :
39759 glibcxx_cv_func_hypotl_use=yes
39760 else
39761 glibcxx_cv_func_hypotl_use=no
39762 fi
39763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39764 ac_ext=c
39765 ac_cpp='$CPP $CPPFLAGS'
39766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39769
39770
39771 fi
39772
39773 fi
39774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
39775 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
39776
39777 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
39778 for ac_func in hypotl
39779 do :
39780 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
39781 if test "x$ac_cv_func_hypotl" = xyes; then :
39782 cat >>confdefs.h <<_ACEOF
39783 #define HAVE_HYPOTL 1
39784 _ACEOF
39785
39786 fi
39787 done
39788
39789 else
39790
39791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
39792 $as_echo_n "checking for _hypotl declaration... " >&6; }
39793 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
39794 if ${glibcxx_cv_func__hypotl_use+:} false; then :
39795 $as_echo_n "(cached) " >&6
39796 else
39797
39798
39799 ac_ext=cpp
39800 ac_cpp='$CXXCPP $CPPFLAGS'
39801 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39802 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39803 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39804
39805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39806 /* end confdefs.h. */
39807 #include <math.h>
39808 int
39809 main ()
39810 {
39811 _hypotl(0, 0);
39812 ;
39813 return 0;
39814 }
39815 _ACEOF
39816 if ac_fn_cxx_try_compile "$LINENO"; then :
39817 glibcxx_cv_func__hypotl_use=yes
39818 else
39819 glibcxx_cv_func__hypotl_use=no
39820 fi
39821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39822 ac_ext=c
39823 ac_cpp='$CPP $CPPFLAGS'
39824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39827
39828
39829 fi
39830
39831 fi
39832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
39833 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
39834
39835 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
39836 for ac_func in _hypotl
39837 do :
39838 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
39839 if test "x$ac_cv_func__hypotl" = xyes; then :
39840 cat >>confdefs.h <<_ACEOF
39841 #define HAVE__HYPOTL 1
39842 _ACEOF
39843
39844 fi
39845 done
39846
39847 fi
39848 fi
39849
39850
39851
39852
39853
39854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
39855 $as_echo_n "checking for ldexpl declaration... " >&6; }
39856 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
39857 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
39858 $as_echo_n "(cached) " >&6
39859 else
39860
39861
39862 ac_ext=cpp
39863 ac_cpp='$CXXCPP $CPPFLAGS'
39864 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39865 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39866 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39867
39868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39869 /* end confdefs.h. */
39870 #include <math.h>
39871 int
39872 main ()
39873 {
39874 ldexpl(0, 0);
39875 ;
39876 return 0;
39877 }
39878 _ACEOF
39879 if ac_fn_cxx_try_compile "$LINENO"; then :
39880 glibcxx_cv_func_ldexpl_use=yes
39881 else
39882 glibcxx_cv_func_ldexpl_use=no
39883 fi
39884 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39885 ac_ext=c
39886 ac_cpp='$CPP $CPPFLAGS'
39887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39890
39891
39892 fi
39893
39894 fi
39895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
39896 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
39897
39898 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
39899 for ac_func in ldexpl
39900 do :
39901 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
39902 if test "x$ac_cv_func_ldexpl" = xyes; then :
39903 cat >>confdefs.h <<_ACEOF
39904 #define HAVE_LDEXPL 1
39905 _ACEOF
39906
39907 fi
39908 done
39909
39910 else
39911
39912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
39913 $as_echo_n "checking for _ldexpl declaration... " >&6; }
39914 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
39915 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
39916 $as_echo_n "(cached) " >&6
39917 else
39918
39919
39920 ac_ext=cpp
39921 ac_cpp='$CXXCPP $CPPFLAGS'
39922 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39923 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39924 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39925
39926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39927 /* end confdefs.h. */
39928 #include <math.h>
39929 int
39930 main ()
39931 {
39932 _ldexpl(0, 0);
39933 ;
39934 return 0;
39935 }
39936 _ACEOF
39937 if ac_fn_cxx_try_compile "$LINENO"; then :
39938 glibcxx_cv_func__ldexpl_use=yes
39939 else
39940 glibcxx_cv_func__ldexpl_use=no
39941 fi
39942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39943 ac_ext=c
39944 ac_cpp='$CPP $CPPFLAGS'
39945 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39946 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39947 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39948
39949
39950 fi
39951
39952 fi
39953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
39954 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
39955
39956 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
39957 for ac_func in _ldexpl
39958 do :
39959 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
39960 if test "x$ac_cv_func__ldexpl" = xyes; then :
39961 cat >>confdefs.h <<_ACEOF
39962 #define HAVE__LDEXPL 1
39963 _ACEOF
39964
39965 fi
39966 done
39967
39968 fi
39969 fi
39970
39971
39972
39973
39974
39975 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
39976 $as_echo_n "checking for logl declaration... " >&6; }
39977 if test x${glibcxx_cv_func_logl_use+set} != xset; then
39978 if ${glibcxx_cv_func_logl_use+:} false; then :
39979 $as_echo_n "(cached) " >&6
39980 else
39981
39982
39983 ac_ext=cpp
39984 ac_cpp='$CXXCPP $CPPFLAGS'
39985 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39986 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39987 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39988
39989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
39990 /* end confdefs.h. */
39991 #include <math.h>
39992 #ifdef HAVE_IEEEFP_H
39993 #include <ieeefp.h>
39994 #endif
39995
39996 int
39997 main ()
39998 {
39999 logl(0);
40000 ;
40001 return 0;
40002 }
40003 _ACEOF
40004 if ac_fn_cxx_try_compile "$LINENO"; then :
40005 glibcxx_cv_func_logl_use=yes
40006 else
40007 glibcxx_cv_func_logl_use=no
40008 fi
40009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40010 ac_ext=c
40011 ac_cpp='$CPP $CPPFLAGS'
40012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40015
40016
40017 fi
40018
40019 fi
40020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
40021 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
40022
40023 if test x$glibcxx_cv_func_logl_use = x"yes"; then
40024 for ac_func in logl
40025 do :
40026 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
40027 if test "x$ac_cv_func_logl" = xyes; then :
40028 cat >>confdefs.h <<_ACEOF
40029 #define HAVE_LOGL 1
40030 _ACEOF
40031
40032 fi
40033 done
40034
40035 else
40036
40037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
40038 $as_echo_n "checking for _logl declaration... " >&6; }
40039 if test x${glibcxx_cv_func__logl_use+set} != xset; then
40040 if ${glibcxx_cv_func__logl_use+:} false; then :
40041 $as_echo_n "(cached) " >&6
40042 else
40043
40044
40045 ac_ext=cpp
40046 ac_cpp='$CXXCPP $CPPFLAGS'
40047 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40048 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40049 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40050
40051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40052 /* end confdefs.h. */
40053 #include <math.h>
40054 #ifdef HAVE_IEEEFP_H
40055 #include <ieeefp.h>
40056 #endif
40057
40058 int
40059 main ()
40060 {
40061 _logl(0);
40062 ;
40063 return 0;
40064 }
40065 _ACEOF
40066 if ac_fn_cxx_try_compile "$LINENO"; then :
40067 glibcxx_cv_func__logl_use=yes
40068 else
40069 glibcxx_cv_func__logl_use=no
40070 fi
40071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40072 ac_ext=c
40073 ac_cpp='$CPP $CPPFLAGS'
40074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40077
40078
40079 fi
40080
40081 fi
40082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
40083 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
40084
40085 if test x$glibcxx_cv_func__logl_use = x"yes"; then
40086 for ac_func in _logl
40087 do :
40088 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
40089 if test "x$ac_cv_func__logl" = xyes; then :
40090 cat >>confdefs.h <<_ACEOF
40091 #define HAVE__LOGL 1
40092 _ACEOF
40093
40094 fi
40095 done
40096
40097 fi
40098 fi
40099
40100
40101
40102
40103
40104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
40105 $as_echo_n "checking for log10l declaration... " >&6; }
40106 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
40107 if ${glibcxx_cv_func_log10l_use+:} false; then :
40108 $as_echo_n "(cached) " >&6
40109 else
40110
40111
40112 ac_ext=cpp
40113 ac_cpp='$CXXCPP $CPPFLAGS'
40114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40117
40118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40119 /* end confdefs.h. */
40120 #include <math.h>
40121 #ifdef HAVE_IEEEFP_H
40122 #include <ieeefp.h>
40123 #endif
40124
40125 int
40126 main ()
40127 {
40128 log10l(0);
40129 ;
40130 return 0;
40131 }
40132 _ACEOF
40133 if ac_fn_cxx_try_compile "$LINENO"; then :
40134 glibcxx_cv_func_log10l_use=yes
40135 else
40136 glibcxx_cv_func_log10l_use=no
40137 fi
40138 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40139 ac_ext=c
40140 ac_cpp='$CPP $CPPFLAGS'
40141 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40142 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40143 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40144
40145
40146 fi
40147
40148 fi
40149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
40150 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
40151
40152 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
40153 for ac_func in log10l
40154 do :
40155 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
40156 if test "x$ac_cv_func_log10l" = xyes; then :
40157 cat >>confdefs.h <<_ACEOF
40158 #define HAVE_LOG10L 1
40159 _ACEOF
40160
40161 fi
40162 done
40163
40164 else
40165
40166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
40167 $as_echo_n "checking for _log10l declaration... " >&6; }
40168 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
40169 if ${glibcxx_cv_func__log10l_use+:} false; then :
40170 $as_echo_n "(cached) " >&6
40171 else
40172
40173
40174 ac_ext=cpp
40175 ac_cpp='$CXXCPP $CPPFLAGS'
40176 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40177 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40178 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40179
40180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40181 /* end confdefs.h. */
40182 #include <math.h>
40183 #ifdef HAVE_IEEEFP_H
40184 #include <ieeefp.h>
40185 #endif
40186
40187 int
40188 main ()
40189 {
40190 _log10l(0);
40191 ;
40192 return 0;
40193 }
40194 _ACEOF
40195 if ac_fn_cxx_try_compile "$LINENO"; then :
40196 glibcxx_cv_func__log10l_use=yes
40197 else
40198 glibcxx_cv_func__log10l_use=no
40199 fi
40200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40201 ac_ext=c
40202 ac_cpp='$CPP $CPPFLAGS'
40203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40206
40207
40208 fi
40209
40210 fi
40211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
40212 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
40213
40214 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
40215 for ac_func in _log10l
40216 do :
40217 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
40218 if test "x$ac_cv_func__log10l" = xyes; then :
40219 cat >>confdefs.h <<_ACEOF
40220 #define HAVE__LOG10L 1
40221 _ACEOF
40222
40223 fi
40224 done
40225
40226 fi
40227 fi
40228
40229
40230
40231
40232
40233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
40234 $as_echo_n "checking for modfl declaration... " >&6; }
40235 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
40236 if ${glibcxx_cv_func_modfl_use+:} false; then :
40237 $as_echo_n "(cached) " >&6
40238 else
40239
40240
40241 ac_ext=cpp
40242 ac_cpp='$CXXCPP $CPPFLAGS'
40243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40246
40247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40248 /* end confdefs.h. */
40249 #include <math.h>
40250 int
40251 main ()
40252 {
40253 modfl(0, 0);
40254 ;
40255 return 0;
40256 }
40257 _ACEOF
40258 if ac_fn_cxx_try_compile "$LINENO"; then :
40259 glibcxx_cv_func_modfl_use=yes
40260 else
40261 glibcxx_cv_func_modfl_use=no
40262 fi
40263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40264 ac_ext=c
40265 ac_cpp='$CPP $CPPFLAGS'
40266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40269
40270
40271 fi
40272
40273 fi
40274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
40275 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
40276
40277 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
40278 for ac_func in modfl
40279 do :
40280 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
40281 if test "x$ac_cv_func_modfl" = xyes; then :
40282 cat >>confdefs.h <<_ACEOF
40283 #define HAVE_MODFL 1
40284 _ACEOF
40285
40286 fi
40287 done
40288
40289 else
40290
40291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
40292 $as_echo_n "checking for _modfl declaration... " >&6; }
40293 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
40294 if ${glibcxx_cv_func__modfl_use+:} false; then :
40295 $as_echo_n "(cached) " >&6
40296 else
40297
40298
40299 ac_ext=cpp
40300 ac_cpp='$CXXCPP $CPPFLAGS'
40301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40304
40305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40306 /* end confdefs.h. */
40307 #include <math.h>
40308 int
40309 main ()
40310 {
40311 _modfl(0, 0);
40312 ;
40313 return 0;
40314 }
40315 _ACEOF
40316 if ac_fn_cxx_try_compile "$LINENO"; then :
40317 glibcxx_cv_func__modfl_use=yes
40318 else
40319 glibcxx_cv_func__modfl_use=no
40320 fi
40321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40322 ac_ext=c
40323 ac_cpp='$CPP $CPPFLAGS'
40324 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40325 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40326 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40327
40328
40329 fi
40330
40331 fi
40332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
40333 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
40334
40335 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
40336 for ac_func in _modfl
40337 do :
40338 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
40339 if test "x$ac_cv_func__modfl" = xyes; then :
40340 cat >>confdefs.h <<_ACEOF
40341 #define HAVE__MODFL 1
40342 _ACEOF
40343
40344 fi
40345 done
40346
40347 fi
40348 fi
40349
40350
40351
40352
40353
40354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
40355 $as_echo_n "checking for powl declaration... " >&6; }
40356 if test x${glibcxx_cv_func_powl_use+set} != xset; then
40357 if ${glibcxx_cv_func_powl_use+:} false; then :
40358 $as_echo_n "(cached) " >&6
40359 else
40360
40361
40362 ac_ext=cpp
40363 ac_cpp='$CXXCPP $CPPFLAGS'
40364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40367
40368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40369 /* end confdefs.h. */
40370 #include <math.h>
40371 int
40372 main ()
40373 {
40374 powl(0, 0);
40375 ;
40376 return 0;
40377 }
40378 _ACEOF
40379 if ac_fn_cxx_try_compile "$LINENO"; then :
40380 glibcxx_cv_func_powl_use=yes
40381 else
40382 glibcxx_cv_func_powl_use=no
40383 fi
40384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40385 ac_ext=c
40386 ac_cpp='$CPP $CPPFLAGS'
40387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40390
40391
40392 fi
40393
40394 fi
40395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
40396 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
40397
40398 if test x$glibcxx_cv_func_powl_use = x"yes"; then
40399 for ac_func in powl
40400 do :
40401 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
40402 if test "x$ac_cv_func_powl" = xyes; then :
40403 cat >>confdefs.h <<_ACEOF
40404 #define HAVE_POWL 1
40405 _ACEOF
40406
40407 fi
40408 done
40409
40410 else
40411
40412 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
40413 $as_echo_n "checking for _powl declaration... " >&6; }
40414 if test x${glibcxx_cv_func__powl_use+set} != xset; then
40415 if ${glibcxx_cv_func__powl_use+:} false; then :
40416 $as_echo_n "(cached) " >&6
40417 else
40418
40419
40420 ac_ext=cpp
40421 ac_cpp='$CXXCPP $CPPFLAGS'
40422 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40423 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40424 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40425
40426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40427 /* end confdefs.h. */
40428 #include <math.h>
40429 int
40430 main ()
40431 {
40432 _powl(0, 0);
40433 ;
40434 return 0;
40435 }
40436 _ACEOF
40437 if ac_fn_cxx_try_compile "$LINENO"; then :
40438 glibcxx_cv_func__powl_use=yes
40439 else
40440 glibcxx_cv_func__powl_use=no
40441 fi
40442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40443 ac_ext=c
40444 ac_cpp='$CPP $CPPFLAGS'
40445 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40446 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40447 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40448
40449
40450 fi
40451
40452 fi
40453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
40454 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
40455
40456 if test x$glibcxx_cv_func__powl_use = x"yes"; then
40457 for ac_func in _powl
40458 do :
40459 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
40460 if test "x$ac_cv_func__powl" = xyes; then :
40461 cat >>confdefs.h <<_ACEOF
40462 #define HAVE__POWL 1
40463 _ACEOF
40464
40465 fi
40466 done
40467
40468 fi
40469 fi
40470
40471
40472
40473
40474
40475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
40476 $as_echo_n "checking for sqrtl declaration... " >&6; }
40477 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
40478 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
40479 $as_echo_n "(cached) " >&6
40480 else
40481
40482
40483 ac_ext=cpp
40484 ac_cpp='$CXXCPP $CPPFLAGS'
40485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40488
40489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40490 /* end confdefs.h. */
40491 #include <math.h>
40492 #ifdef HAVE_IEEEFP_H
40493 #include <ieeefp.h>
40494 #endif
40495
40496 int
40497 main ()
40498 {
40499 sqrtl(0);
40500 ;
40501 return 0;
40502 }
40503 _ACEOF
40504 if ac_fn_cxx_try_compile "$LINENO"; then :
40505 glibcxx_cv_func_sqrtl_use=yes
40506 else
40507 glibcxx_cv_func_sqrtl_use=no
40508 fi
40509 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40510 ac_ext=c
40511 ac_cpp='$CPP $CPPFLAGS'
40512 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40513 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40514 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40515
40516
40517 fi
40518
40519 fi
40520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
40521 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
40522
40523 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
40524 for ac_func in sqrtl
40525 do :
40526 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
40527 if test "x$ac_cv_func_sqrtl" = xyes; then :
40528 cat >>confdefs.h <<_ACEOF
40529 #define HAVE_SQRTL 1
40530 _ACEOF
40531
40532 fi
40533 done
40534
40535 else
40536
40537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
40538 $as_echo_n "checking for _sqrtl declaration... " >&6; }
40539 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
40540 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
40541 $as_echo_n "(cached) " >&6
40542 else
40543
40544
40545 ac_ext=cpp
40546 ac_cpp='$CXXCPP $CPPFLAGS'
40547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40550
40551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40552 /* end confdefs.h. */
40553 #include <math.h>
40554 #ifdef HAVE_IEEEFP_H
40555 #include <ieeefp.h>
40556 #endif
40557
40558 int
40559 main ()
40560 {
40561 _sqrtl(0);
40562 ;
40563 return 0;
40564 }
40565 _ACEOF
40566 if ac_fn_cxx_try_compile "$LINENO"; then :
40567 glibcxx_cv_func__sqrtl_use=yes
40568 else
40569 glibcxx_cv_func__sqrtl_use=no
40570 fi
40571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40572 ac_ext=c
40573 ac_cpp='$CPP $CPPFLAGS'
40574 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40575 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40576 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40577
40578
40579 fi
40580
40581 fi
40582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
40583 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
40584
40585 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
40586 for ac_func in _sqrtl
40587 do :
40588 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
40589 if test "x$ac_cv_func__sqrtl" = xyes; then :
40590 cat >>confdefs.h <<_ACEOF
40591 #define HAVE__SQRTL 1
40592 _ACEOF
40593
40594 fi
40595 done
40596
40597 fi
40598 fi
40599
40600
40601
40602
40603
40604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
40605 $as_echo_n "checking for sincosl declaration... " >&6; }
40606 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
40607 if ${glibcxx_cv_func_sincosl_use+:} false; then :
40608 $as_echo_n "(cached) " >&6
40609 else
40610
40611
40612 ac_ext=cpp
40613 ac_cpp='$CXXCPP $CPPFLAGS'
40614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40617
40618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40619 /* end confdefs.h. */
40620 #include <math.h>
40621 int
40622 main ()
40623 {
40624 sincosl(0, 0, 0);
40625 ;
40626 return 0;
40627 }
40628 _ACEOF
40629 if ac_fn_cxx_try_compile "$LINENO"; then :
40630 glibcxx_cv_func_sincosl_use=yes
40631 else
40632 glibcxx_cv_func_sincosl_use=no
40633 fi
40634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40635 ac_ext=c
40636 ac_cpp='$CPP $CPPFLAGS'
40637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40640
40641
40642 fi
40643
40644 fi
40645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
40646 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
40647
40648 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
40649 for ac_func in sincosl
40650 do :
40651 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
40652 if test "x$ac_cv_func_sincosl" = xyes; then :
40653 cat >>confdefs.h <<_ACEOF
40654 #define HAVE_SINCOSL 1
40655 _ACEOF
40656
40657 fi
40658 done
40659
40660 else
40661
40662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
40663 $as_echo_n "checking for _sincosl declaration... " >&6; }
40664 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
40665 if ${glibcxx_cv_func__sincosl_use+:} false; then :
40666 $as_echo_n "(cached) " >&6
40667 else
40668
40669
40670 ac_ext=cpp
40671 ac_cpp='$CXXCPP $CPPFLAGS'
40672 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40673 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40674 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40675
40676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40677 /* end confdefs.h. */
40678 #include <math.h>
40679 int
40680 main ()
40681 {
40682 _sincosl(0, 0, 0);
40683 ;
40684 return 0;
40685 }
40686 _ACEOF
40687 if ac_fn_cxx_try_compile "$LINENO"; then :
40688 glibcxx_cv_func__sincosl_use=yes
40689 else
40690 glibcxx_cv_func__sincosl_use=no
40691 fi
40692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40693 ac_ext=c
40694 ac_cpp='$CPP $CPPFLAGS'
40695 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40696 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40697 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40698
40699
40700 fi
40701
40702 fi
40703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
40704 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
40705
40706 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
40707 for ac_func in _sincosl
40708 do :
40709 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
40710 if test "x$ac_cv_func__sincosl" = xyes; then :
40711 cat >>confdefs.h <<_ACEOF
40712 #define HAVE__SINCOSL 1
40713 _ACEOF
40714
40715 fi
40716 done
40717
40718 fi
40719 fi
40720
40721
40722
40723
40724
40725 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
40726 $as_echo_n "checking for finitel declaration... " >&6; }
40727 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
40728 if ${glibcxx_cv_func_finitel_use+:} false; then :
40729 $as_echo_n "(cached) " >&6
40730 else
40731
40732
40733 ac_ext=cpp
40734 ac_cpp='$CXXCPP $CPPFLAGS'
40735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40738
40739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40740 /* end confdefs.h. */
40741 #include <math.h>
40742 #ifdef HAVE_IEEEFP_H
40743 #include <ieeefp.h>
40744 #endif
40745
40746 int
40747 main ()
40748 {
40749 finitel(0);
40750 ;
40751 return 0;
40752 }
40753 _ACEOF
40754 if ac_fn_cxx_try_compile "$LINENO"; then :
40755 glibcxx_cv_func_finitel_use=yes
40756 else
40757 glibcxx_cv_func_finitel_use=no
40758 fi
40759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40760 ac_ext=c
40761 ac_cpp='$CPP $CPPFLAGS'
40762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40765
40766
40767 fi
40768
40769 fi
40770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
40771 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
40772
40773 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
40774 for ac_func in finitel
40775 do :
40776 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
40777 if test "x$ac_cv_func_finitel" = xyes; then :
40778 cat >>confdefs.h <<_ACEOF
40779 #define HAVE_FINITEL 1
40780 _ACEOF
40781
40782 fi
40783 done
40784
40785 else
40786
40787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
40788 $as_echo_n "checking for _finitel declaration... " >&6; }
40789 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
40790 if ${glibcxx_cv_func__finitel_use+:} false; then :
40791 $as_echo_n "(cached) " >&6
40792 else
40793
40794
40795 ac_ext=cpp
40796 ac_cpp='$CXXCPP $CPPFLAGS'
40797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40800
40801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40802 /* end confdefs.h. */
40803 #include <math.h>
40804 #ifdef HAVE_IEEEFP_H
40805 #include <ieeefp.h>
40806 #endif
40807
40808 int
40809 main ()
40810 {
40811 _finitel(0);
40812 ;
40813 return 0;
40814 }
40815 _ACEOF
40816 if ac_fn_cxx_try_compile "$LINENO"; then :
40817 glibcxx_cv_func__finitel_use=yes
40818 else
40819 glibcxx_cv_func__finitel_use=no
40820 fi
40821 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40822 ac_ext=c
40823 ac_cpp='$CPP $CPPFLAGS'
40824 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40825 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40826 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40827
40828
40829 fi
40830
40831 fi
40832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
40833 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
40834
40835 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
40836 for ac_func in _finitel
40837 do :
40838 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
40839 if test "x$ac_cv_func__finitel" = xyes; then :
40840 cat >>confdefs.h <<_ACEOF
40841 #define HAVE__FINITEL 1
40842 _ACEOF
40843
40844 fi
40845 done
40846
40847 fi
40848 fi
40849
40850
40851
40852
40853 LIBS="$ac_save_LIBS"
40854 CXXFLAGS="$ac_save_CXXFLAGS"
40855
40856
40857 ac_test_CXXFLAGS="${CXXFLAGS+set}"
40858 ac_save_CXXFLAGS="$CXXFLAGS"
40859 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
40860
40861
40862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
40863 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
40864 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
40865 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
40866 $as_echo_n "(cached) " >&6
40867 else
40868
40869
40870 ac_ext=cpp
40871 ac_cpp='$CXXCPP $CPPFLAGS'
40872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40875
40876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40877 /* end confdefs.h. */
40878 #include <stdlib.h>
40879 int
40880 main ()
40881 {
40882 at_quick_exit(0);
40883 ;
40884 return 0;
40885 }
40886 _ACEOF
40887 if ac_fn_cxx_try_compile "$LINENO"; then :
40888 glibcxx_cv_func_at_quick_exit_use=yes
40889 else
40890 glibcxx_cv_func_at_quick_exit_use=no
40891 fi
40892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40893 ac_ext=c
40894 ac_cpp='$CPP $CPPFLAGS'
40895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40898
40899
40900 fi
40901
40902 fi
40903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
40904 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
40905 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
40906 for ac_func in at_quick_exit
40907 do :
40908 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
40909 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
40910 cat >>confdefs.h <<_ACEOF
40911 #define HAVE_AT_QUICK_EXIT 1
40912 _ACEOF
40913
40914 fi
40915 done
40916
40917 fi
40918
40919
40920 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
40921 $as_echo_n "checking for quick_exit declaration... " >&6; }
40922 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
40923 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
40924 $as_echo_n "(cached) " >&6
40925 else
40926
40927
40928 ac_ext=cpp
40929 ac_cpp='$CXXCPP $CPPFLAGS'
40930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40933
40934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40935 /* end confdefs.h. */
40936 #include <stdlib.h>
40937 int
40938 main ()
40939 {
40940 quick_exit(0);
40941 ;
40942 return 0;
40943 }
40944 _ACEOF
40945 if ac_fn_cxx_try_compile "$LINENO"; then :
40946 glibcxx_cv_func_quick_exit_use=yes
40947 else
40948 glibcxx_cv_func_quick_exit_use=no
40949 fi
40950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40951 ac_ext=c
40952 ac_cpp='$CPP $CPPFLAGS'
40953 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40954 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40955 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40956
40957
40958 fi
40959
40960 fi
40961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
40962 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
40963 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
40964 for ac_func in quick_exit
40965 do :
40966 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
40967 if test "x$ac_cv_func_quick_exit" = xyes; then :
40968 cat >>confdefs.h <<_ACEOF
40969 #define HAVE_QUICK_EXIT 1
40970 _ACEOF
40971
40972 fi
40973 done
40974
40975 fi
40976
40977
40978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
40979 $as_echo_n "checking for strtold declaration... " >&6; }
40980 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
40981 if ${glibcxx_cv_func_strtold_use+:} false; then :
40982 $as_echo_n "(cached) " >&6
40983 else
40984
40985
40986 ac_ext=cpp
40987 ac_cpp='$CXXCPP $CPPFLAGS'
40988 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40989 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40990 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40991
40992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
40993 /* end confdefs.h. */
40994 #include <stdlib.h>
40995 int
40996 main ()
40997 {
40998 strtold(0, 0);
40999 ;
41000 return 0;
41001 }
41002 _ACEOF
41003 if ac_fn_cxx_try_compile "$LINENO"; then :
41004 glibcxx_cv_func_strtold_use=yes
41005 else
41006 glibcxx_cv_func_strtold_use=no
41007 fi
41008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41009 ac_ext=c
41010 ac_cpp='$CPP $CPPFLAGS'
41011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41014
41015
41016 fi
41017
41018 fi
41019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
41020 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
41021 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
41022 for ac_func in strtold
41023 do :
41024 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
41025 if test "x$ac_cv_func_strtold" = xyes; then :
41026 cat >>confdefs.h <<_ACEOF
41027 #define HAVE_STRTOLD 1
41028 _ACEOF
41029
41030 fi
41031 done
41032
41033 fi
41034
41035
41036
41037
41038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
41039 $as_echo_n "checking for strtof declaration... " >&6; }
41040 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
41041 if ${glibcxx_cv_func_strtof_use+:} false; then :
41042 $as_echo_n "(cached) " >&6
41043 else
41044
41045
41046 ac_ext=cpp
41047 ac_cpp='$CXXCPP $CPPFLAGS'
41048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41051
41052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41053 /* end confdefs.h. */
41054 #include <stdlib.h>
41055 int
41056 main ()
41057 {
41058 strtof(0, 0);
41059 ;
41060 return 0;
41061 }
41062 _ACEOF
41063 if ac_fn_cxx_try_compile "$LINENO"; then :
41064 glibcxx_cv_func_strtof_use=yes
41065 else
41066 glibcxx_cv_func_strtof_use=no
41067 fi
41068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41069 ac_ext=c
41070 ac_cpp='$CPP $CPPFLAGS'
41071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41074
41075
41076 fi
41077
41078 fi
41079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
41080 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
41081 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
41082 for ac_func in strtof
41083 do :
41084 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
41085 if test "x$ac_cv_func_strtof" = xyes; then :
41086 cat >>confdefs.h <<_ACEOF
41087 #define HAVE_STRTOF 1
41088 _ACEOF
41089
41090 fi
41091 done
41092
41093 fi
41094
41095
41096
41097
41098 CXXFLAGS="$ac_save_CXXFLAGS"
41099
41100 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
41101
41102 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
41103
41104 # We don't yet support AIX's TLS ABI.
41105 #GCC_CHECK_TLS
41106
41107
41108
41109
41110
41111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
41112 $as_echo_n "checking for iconv... " >&6; }
41113 if ${am_cv_func_iconv+:} false; then :
41114 $as_echo_n "(cached) " >&6
41115 else
41116
41117 am_cv_func_iconv="no, consider installing GNU libiconv"
41118 am_cv_lib_iconv=no
41119 am_save_CPPFLAGS="$CPPFLAGS"
41120 CPPFLAGS="$CPPFLAGS $INCICONV"
41121 if test x$gcc_no_link = xyes; then
41122 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41123 fi
41124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41125 /* end confdefs.h. */
41126 #include <stdlib.h>
41127 #include <iconv.h>
41128 int
41129 main ()
41130 {
41131 iconv_t cd = iconv_open("","");
41132 iconv(cd,NULL,NULL,NULL,NULL);
41133 iconv_close(cd);
41134 ;
41135 return 0;
41136 }
41137 _ACEOF
41138 if ac_fn_c_try_link "$LINENO"; then :
41139 am_cv_func_iconv=yes
41140 fi
41141 rm -f core conftest.err conftest.$ac_objext \
41142 conftest$ac_exeext conftest.$ac_ext
41143 CPPFLAGS="$am_save_CPPFLAGS"
41144
41145 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
41146 for _libs in .libs _libs; do
41147 am_save_CPPFLAGS="$CPPFLAGS"
41148 am_save_LIBS="$LIBS"
41149 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
41150 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
41151 if test x$gcc_no_link = xyes; then
41152 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41153 fi
41154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41155 /* end confdefs.h. */
41156 #include <stdlib.h>
41157 #include <iconv.h>
41158 int
41159 main ()
41160 {
41161 iconv_t cd = iconv_open("","");
41162 iconv(cd,NULL,NULL,NULL,NULL);
41163 iconv_close(cd);
41164 ;
41165 return 0;
41166 }
41167 _ACEOF
41168 if ac_fn_c_try_link "$LINENO"; then :
41169 INCICONV="-I../libiconv/include"
41170 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
41171 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
41172 am_cv_lib_iconv=yes
41173 am_cv_func_iconv=yes
41174 fi
41175 rm -f core conftest.err conftest.$ac_objext \
41176 conftest$ac_exeext conftest.$ac_ext
41177 CPPFLAGS="$am_save_CPPFLAGS"
41178 LIBS="$am_save_LIBS"
41179 if test "$am_cv_func_iconv" = "yes"; then
41180 break
41181 fi
41182 done
41183 fi
41184
41185 if test "$am_cv_func_iconv" != yes; then
41186 am_save_CPPFLAGS="$CPPFLAGS"
41187 am_save_LIBS="$LIBS"
41188 CPPFLAGS="$CPPFLAGS $INCICONV"
41189 LIBS="$LIBS $LIBICONV"
41190 if test x$gcc_no_link = xyes; then
41191 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41192 fi
41193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41194 /* end confdefs.h. */
41195 #include <stdlib.h>
41196 #include <iconv.h>
41197 int
41198 main ()
41199 {
41200 iconv_t cd = iconv_open("","");
41201 iconv(cd,NULL,NULL,NULL,NULL);
41202 iconv_close(cd);
41203 ;
41204 return 0;
41205 }
41206 _ACEOF
41207 if ac_fn_c_try_link "$LINENO"; then :
41208 am_cv_lib_iconv=yes
41209 am_cv_func_iconv=yes
41210 fi
41211 rm -f core conftest.err conftest.$ac_objext \
41212 conftest$ac_exeext conftest.$ac_ext
41213 CPPFLAGS="$am_save_CPPFLAGS"
41214 LIBS="$am_save_LIBS"
41215 fi
41216
41217 fi
41218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
41219 $as_echo "$am_cv_func_iconv" >&6; }
41220 if test "$am_cv_func_iconv" = yes; then
41221
41222 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
41223
41224 fi
41225 if test "$am_cv_lib_iconv" = yes; then
41226
41227 for element in $INCICONV; do
41228 haveit=
41229 for x in $CPPFLAGS; do
41230
41231 acl_save_prefix="$prefix"
41232 prefix="$acl_final_prefix"
41233 acl_save_exec_prefix="$exec_prefix"
41234 exec_prefix="$acl_final_exec_prefix"
41235 eval x=\"$x\"
41236 exec_prefix="$acl_save_exec_prefix"
41237 prefix="$acl_save_prefix"
41238
41239 if test "X$x" = "X$element"; then
41240 haveit=yes
41241 break
41242 fi
41243 done
41244 if test -z "$haveit"; then
41245 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
41246 fi
41247 done
41248
41249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
41250 $as_echo_n "checking how to link with libiconv... " >&6; }
41251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
41252 $as_echo "$LIBICONV" >&6; }
41253 else
41254 LIBICONV=
41255 LTLIBICONV=
41256 fi
41257
41258
41259
41260 if test "$am_cv_func_iconv" = yes; then
41261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
41262 $as_echo_n "checking for iconv declaration... " >&6; }
41263 if ${am_cv_proto_iconv+:} false; then :
41264 $as_echo_n "(cached) " >&6
41265 else
41266
41267 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41268 /* end confdefs.h. */
41269
41270 #include <stdlib.h>
41271 #include <iconv.h>
41272 extern
41273 #ifdef __cplusplus
41274 "C"
41275 #endif
41276 #if defined(__STDC__) || defined(__cplusplus)
41277 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
41278 #else
41279 size_t iconv();
41280 #endif
41281
41282 int
41283 main ()
41284 {
41285
41286 ;
41287 return 0;
41288 }
41289 _ACEOF
41290 if ac_fn_c_try_compile "$LINENO"; then :
41291 am_cv_proto_iconv_arg1=""
41292 else
41293 am_cv_proto_iconv_arg1="const"
41294 fi
41295 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41296 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);"
41297 fi
41298
41299 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
41300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
41301 }$am_cv_proto_iconv" >&5
41302 $as_echo "${ac_t:-
41303 }$am_cv_proto_iconv" >&6; }
41304
41305 cat >>confdefs.h <<_ACEOF
41306 #define ICONV_CONST $am_cv_proto_iconv_arg1
41307 _ACEOF
41308
41309 fi
41310
41311
41312 $as_echo "#define HAVE_USELOCALE 1" >>confdefs.h
41313
41314 ;;
41315
41316 *-darwin*)
41317 # Darwin versions vary, but the linker should work in a cross environment,
41318 # so we just check for all the features here.
41319 # Check for available headers.
41320
41321 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, Darwin doesn't have a GNU ld
41322
41323 ac_test_CXXFLAGS="${CXXFLAGS+set}"
41324 ac_save_CXXFLAGS="$CXXFLAGS"
41325 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
41326
41327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
41328 $as_echo_n "checking for sin in -lm... " >&6; }
41329 if ${ac_cv_lib_m_sin+:} false; then :
41330 $as_echo_n "(cached) " >&6
41331 else
41332 ac_check_lib_save_LIBS=$LIBS
41333 LIBS="-lm $LIBS"
41334 if test x$gcc_no_link = xyes; then
41335 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
41336 fi
41337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41338 /* end confdefs.h. */
41339
41340 /* Override any GCC internal prototype to avoid an error.
41341 Use char because int might match the return type of a GCC
41342 builtin and then its argument prototype would still apply. */
41343 #ifdef __cplusplus
41344 extern "C"
41345 #endif
41346 char sin ();
41347 int
41348 main ()
41349 {
41350 return sin ();
41351 ;
41352 return 0;
41353 }
41354 _ACEOF
41355 if ac_fn_c_try_link "$LINENO"; then :
41356 ac_cv_lib_m_sin=yes
41357 else
41358 ac_cv_lib_m_sin=no
41359 fi
41360 rm -f core conftest.err conftest.$ac_objext \
41361 conftest$ac_exeext conftest.$ac_ext
41362 LIBS=$ac_check_lib_save_LIBS
41363 fi
41364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
41365 $as_echo "$ac_cv_lib_m_sin" >&6; }
41366 if test "x$ac_cv_lib_m_sin" = xyes; then :
41367 libm="-lm"
41368 fi
41369
41370 ac_save_LIBS="$LIBS"
41371 LIBS="$LIBS $libm"
41372
41373
41374
41375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
41376 $as_echo_n "checking for isinf declaration... " >&6; }
41377 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
41378 if ${glibcxx_cv_func_isinf_use+:} false; then :
41379 $as_echo_n "(cached) " >&6
41380 else
41381
41382
41383 ac_ext=cpp
41384 ac_cpp='$CXXCPP $CPPFLAGS'
41385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41388
41389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41390 /* end confdefs.h. */
41391 #include <math.h>
41392 #ifdef HAVE_IEEEFP_H
41393 #include <ieeefp.h>
41394 #endif
41395
41396 int
41397 main ()
41398 {
41399 isinf(0);
41400 ;
41401 return 0;
41402 }
41403 _ACEOF
41404 if ac_fn_cxx_try_compile "$LINENO"; then :
41405 glibcxx_cv_func_isinf_use=yes
41406 else
41407 glibcxx_cv_func_isinf_use=no
41408 fi
41409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41410 ac_ext=c
41411 ac_cpp='$CPP $CPPFLAGS'
41412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41415
41416
41417 fi
41418
41419 fi
41420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
41421 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
41422
41423 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
41424 for ac_func in isinf
41425 do :
41426 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
41427 if test "x$ac_cv_func_isinf" = xyes; then :
41428 cat >>confdefs.h <<_ACEOF
41429 #define HAVE_ISINF 1
41430 _ACEOF
41431
41432 fi
41433 done
41434
41435 else
41436
41437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
41438 $as_echo_n "checking for _isinf declaration... " >&6; }
41439 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
41440 if ${glibcxx_cv_func__isinf_use+:} false; then :
41441 $as_echo_n "(cached) " >&6
41442 else
41443
41444
41445 ac_ext=cpp
41446 ac_cpp='$CXXCPP $CPPFLAGS'
41447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41450
41451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41452 /* end confdefs.h. */
41453 #include <math.h>
41454 #ifdef HAVE_IEEEFP_H
41455 #include <ieeefp.h>
41456 #endif
41457
41458 int
41459 main ()
41460 {
41461 _isinf(0);
41462 ;
41463 return 0;
41464 }
41465 _ACEOF
41466 if ac_fn_cxx_try_compile "$LINENO"; then :
41467 glibcxx_cv_func__isinf_use=yes
41468 else
41469 glibcxx_cv_func__isinf_use=no
41470 fi
41471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41472 ac_ext=c
41473 ac_cpp='$CPP $CPPFLAGS'
41474 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41475 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41476 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41477
41478
41479 fi
41480
41481 fi
41482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
41483 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
41484
41485 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
41486 for ac_func in _isinf
41487 do :
41488 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
41489 if test "x$ac_cv_func__isinf" = xyes; then :
41490 cat >>confdefs.h <<_ACEOF
41491 #define HAVE__ISINF 1
41492 _ACEOF
41493
41494 fi
41495 done
41496
41497 fi
41498 fi
41499
41500
41501
41502
41503
41504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
41505 $as_echo_n "checking for isnan declaration... " >&6; }
41506 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
41507 if ${glibcxx_cv_func_isnan_use+:} false; then :
41508 $as_echo_n "(cached) " >&6
41509 else
41510
41511
41512 ac_ext=cpp
41513 ac_cpp='$CXXCPP $CPPFLAGS'
41514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41517
41518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41519 /* end confdefs.h. */
41520 #include <math.h>
41521 #ifdef HAVE_IEEEFP_H
41522 #include <ieeefp.h>
41523 #endif
41524
41525 int
41526 main ()
41527 {
41528 isnan(0);
41529 ;
41530 return 0;
41531 }
41532 _ACEOF
41533 if ac_fn_cxx_try_compile "$LINENO"; then :
41534 glibcxx_cv_func_isnan_use=yes
41535 else
41536 glibcxx_cv_func_isnan_use=no
41537 fi
41538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41539 ac_ext=c
41540 ac_cpp='$CPP $CPPFLAGS'
41541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41544
41545
41546 fi
41547
41548 fi
41549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
41550 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
41551
41552 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
41553 for ac_func in isnan
41554 do :
41555 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
41556 if test "x$ac_cv_func_isnan" = xyes; then :
41557 cat >>confdefs.h <<_ACEOF
41558 #define HAVE_ISNAN 1
41559 _ACEOF
41560
41561 fi
41562 done
41563
41564 else
41565
41566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
41567 $as_echo_n "checking for _isnan declaration... " >&6; }
41568 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
41569 if ${glibcxx_cv_func__isnan_use+:} false; then :
41570 $as_echo_n "(cached) " >&6
41571 else
41572
41573
41574 ac_ext=cpp
41575 ac_cpp='$CXXCPP $CPPFLAGS'
41576 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41577 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41578 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41579
41580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41581 /* end confdefs.h. */
41582 #include <math.h>
41583 #ifdef HAVE_IEEEFP_H
41584 #include <ieeefp.h>
41585 #endif
41586
41587 int
41588 main ()
41589 {
41590 _isnan(0);
41591 ;
41592 return 0;
41593 }
41594 _ACEOF
41595 if ac_fn_cxx_try_compile "$LINENO"; then :
41596 glibcxx_cv_func__isnan_use=yes
41597 else
41598 glibcxx_cv_func__isnan_use=no
41599 fi
41600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41601 ac_ext=c
41602 ac_cpp='$CPP $CPPFLAGS'
41603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41606
41607
41608 fi
41609
41610 fi
41611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
41612 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
41613
41614 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
41615 for ac_func in _isnan
41616 do :
41617 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
41618 if test "x$ac_cv_func__isnan" = xyes; then :
41619 cat >>confdefs.h <<_ACEOF
41620 #define HAVE__ISNAN 1
41621 _ACEOF
41622
41623 fi
41624 done
41625
41626 fi
41627 fi
41628
41629
41630
41631
41632
41633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
41634 $as_echo_n "checking for finite declaration... " >&6; }
41635 if test x${glibcxx_cv_func_finite_use+set} != xset; then
41636 if ${glibcxx_cv_func_finite_use+:} false; then :
41637 $as_echo_n "(cached) " >&6
41638 else
41639
41640
41641 ac_ext=cpp
41642 ac_cpp='$CXXCPP $CPPFLAGS'
41643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41646
41647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41648 /* end confdefs.h. */
41649 #include <math.h>
41650 #ifdef HAVE_IEEEFP_H
41651 #include <ieeefp.h>
41652 #endif
41653
41654 int
41655 main ()
41656 {
41657 finite(0);
41658 ;
41659 return 0;
41660 }
41661 _ACEOF
41662 if ac_fn_cxx_try_compile "$LINENO"; then :
41663 glibcxx_cv_func_finite_use=yes
41664 else
41665 glibcxx_cv_func_finite_use=no
41666 fi
41667 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41668 ac_ext=c
41669 ac_cpp='$CPP $CPPFLAGS'
41670 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41671 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41672 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41673
41674
41675 fi
41676
41677 fi
41678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
41679 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
41680
41681 if test x$glibcxx_cv_func_finite_use = x"yes"; then
41682 for ac_func in finite
41683 do :
41684 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
41685 if test "x$ac_cv_func_finite" = xyes; then :
41686 cat >>confdefs.h <<_ACEOF
41687 #define HAVE_FINITE 1
41688 _ACEOF
41689
41690 fi
41691 done
41692
41693 else
41694
41695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
41696 $as_echo_n "checking for _finite declaration... " >&6; }
41697 if test x${glibcxx_cv_func__finite_use+set} != xset; then
41698 if ${glibcxx_cv_func__finite_use+:} false; then :
41699 $as_echo_n "(cached) " >&6
41700 else
41701
41702
41703 ac_ext=cpp
41704 ac_cpp='$CXXCPP $CPPFLAGS'
41705 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41706 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41707 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41708
41709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41710 /* end confdefs.h. */
41711 #include <math.h>
41712 #ifdef HAVE_IEEEFP_H
41713 #include <ieeefp.h>
41714 #endif
41715
41716 int
41717 main ()
41718 {
41719 _finite(0);
41720 ;
41721 return 0;
41722 }
41723 _ACEOF
41724 if ac_fn_cxx_try_compile "$LINENO"; then :
41725 glibcxx_cv_func__finite_use=yes
41726 else
41727 glibcxx_cv_func__finite_use=no
41728 fi
41729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41730 ac_ext=c
41731 ac_cpp='$CPP $CPPFLAGS'
41732 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41733 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41734 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41735
41736
41737 fi
41738
41739 fi
41740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
41741 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
41742
41743 if test x$glibcxx_cv_func__finite_use = x"yes"; then
41744 for ac_func in _finite
41745 do :
41746 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
41747 if test "x$ac_cv_func__finite" = xyes; then :
41748 cat >>confdefs.h <<_ACEOF
41749 #define HAVE__FINITE 1
41750 _ACEOF
41751
41752 fi
41753 done
41754
41755 fi
41756 fi
41757
41758
41759
41760
41761
41762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
41763 $as_echo_n "checking for sincos declaration... " >&6; }
41764 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
41765 if ${glibcxx_cv_func_sincos_use+:} false; then :
41766 $as_echo_n "(cached) " >&6
41767 else
41768
41769
41770 ac_ext=cpp
41771 ac_cpp='$CXXCPP $CPPFLAGS'
41772 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41773 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41774 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41775
41776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41777 /* end confdefs.h. */
41778 #include <math.h>
41779 int
41780 main ()
41781 {
41782 sincos(0, 0, 0);
41783 ;
41784 return 0;
41785 }
41786 _ACEOF
41787 if ac_fn_cxx_try_compile "$LINENO"; then :
41788 glibcxx_cv_func_sincos_use=yes
41789 else
41790 glibcxx_cv_func_sincos_use=no
41791 fi
41792 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41793 ac_ext=c
41794 ac_cpp='$CPP $CPPFLAGS'
41795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41798
41799
41800 fi
41801
41802 fi
41803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
41804 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
41805
41806 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
41807 for ac_func in sincos
41808 do :
41809 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
41810 if test "x$ac_cv_func_sincos" = xyes; then :
41811 cat >>confdefs.h <<_ACEOF
41812 #define HAVE_SINCOS 1
41813 _ACEOF
41814
41815 fi
41816 done
41817
41818 else
41819
41820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
41821 $as_echo_n "checking for _sincos declaration... " >&6; }
41822 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
41823 if ${glibcxx_cv_func__sincos_use+:} false; then :
41824 $as_echo_n "(cached) " >&6
41825 else
41826
41827
41828 ac_ext=cpp
41829 ac_cpp='$CXXCPP $CPPFLAGS'
41830 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41831 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41832 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41833
41834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41835 /* end confdefs.h. */
41836 #include <math.h>
41837 int
41838 main ()
41839 {
41840 _sincos(0, 0, 0);
41841 ;
41842 return 0;
41843 }
41844 _ACEOF
41845 if ac_fn_cxx_try_compile "$LINENO"; then :
41846 glibcxx_cv_func__sincos_use=yes
41847 else
41848 glibcxx_cv_func__sincos_use=no
41849 fi
41850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41851 ac_ext=c
41852 ac_cpp='$CPP $CPPFLAGS'
41853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41856
41857
41858 fi
41859
41860 fi
41861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
41862 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
41863
41864 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
41865 for ac_func in _sincos
41866 do :
41867 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
41868 if test "x$ac_cv_func__sincos" = xyes; then :
41869 cat >>confdefs.h <<_ACEOF
41870 #define HAVE__SINCOS 1
41871 _ACEOF
41872
41873 fi
41874 done
41875
41876 fi
41877 fi
41878
41879
41880
41881
41882
41883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
41884 $as_echo_n "checking for fpclass declaration... " >&6; }
41885 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
41886 if ${glibcxx_cv_func_fpclass_use+:} false; then :
41887 $as_echo_n "(cached) " >&6
41888 else
41889
41890
41891 ac_ext=cpp
41892 ac_cpp='$CXXCPP $CPPFLAGS'
41893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41896
41897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41898 /* end confdefs.h. */
41899 #include <math.h>
41900 #ifdef HAVE_IEEEFP_H
41901 #include <ieeefp.h>
41902 #endif
41903
41904 int
41905 main ()
41906 {
41907 fpclass(0);
41908 ;
41909 return 0;
41910 }
41911 _ACEOF
41912 if ac_fn_cxx_try_compile "$LINENO"; then :
41913 glibcxx_cv_func_fpclass_use=yes
41914 else
41915 glibcxx_cv_func_fpclass_use=no
41916 fi
41917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41918 ac_ext=c
41919 ac_cpp='$CPP $CPPFLAGS'
41920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41923
41924
41925 fi
41926
41927 fi
41928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
41929 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
41930
41931 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
41932 for ac_func in fpclass
41933 do :
41934 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
41935 if test "x$ac_cv_func_fpclass" = xyes; then :
41936 cat >>confdefs.h <<_ACEOF
41937 #define HAVE_FPCLASS 1
41938 _ACEOF
41939
41940 fi
41941 done
41942
41943 else
41944
41945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
41946 $as_echo_n "checking for _fpclass declaration... " >&6; }
41947 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
41948 if ${glibcxx_cv_func__fpclass_use+:} false; then :
41949 $as_echo_n "(cached) " >&6
41950 else
41951
41952
41953 ac_ext=cpp
41954 ac_cpp='$CXXCPP $CPPFLAGS'
41955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41958
41959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
41960 /* end confdefs.h. */
41961 #include <math.h>
41962 #ifdef HAVE_IEEEFP_H
41963 #include <ieeefp.h>
41964 #endif
41965
41966 int
41967 main ()
41968 {
41969 _fpclass(0);
41970 ;
41971 return 0;
41972 }
41973 _ACEOF
41974 if ac_fn_cxx_try_compile "$LINENO"; then :
41975 glibcxx_cv_func__fpclass_use=yes
41976 else
41977 glibcxx_cv_func__fpclass_use=no
41978 fi
41979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41980 ac_ext=c
41981 ac_cpp='$CPP $CPPFLAGS'
41982 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41983 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41984 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41985
41986
41987 fi
41988
41989 fi
41990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
41991 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
41992
41993 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
41994 for ac_func in _fpclass
41995 do :
41996 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
41997 if test "x$ac_cv_func__fpclass" = xyes; then :
41998 cat >>confdefs.h <<_ACEOF
41999 #define HAVE__FPCLASS 1
42000 _ACEOF
42001
42002 fi
42003 done
42004
42005 fi
42006 fi
42007
42008
42009
42010
42011
42012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
42013 $as_echo_n "checking for qfpclass declaration... " >&6; }
42014 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
42015 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
42016 $as_echo_n "(cached) " >&6
42017 else
42018
42019
42020 ac_ext=cpp
42021 ac_cpp='$CXXCPP $CPPFLAGS'
42022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42025
42026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42027 /* end confdefs.h. */
42028 #include <math.h>
42029 #ifdef HAVE_IEEEFP_H
42030 #include <ieeefp.h>
42031 #endif
42032
42033 int
42034 main ()
42035 {
42036 qfpclass(0);
42037 ;
42038 return 0;
42039 }
42040 _ACEOF
42041 if ac_fn_cxx_try_compile "$LINENO"; then :
42042 glibcxx_cv_func_qfpclass_use=yes
42043 else
42044 glibcxx_cv_func_qfpclass_use=no
42045 fi
42046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42047 ac_ext=c
42048 ac_cpp='$CPP $CPPFLAGS'
42049 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42050 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42051 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42052
42053
42054 fi
42055
42056 fi
42057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
42058 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
42059
42060 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
42061 for ac_func in qfpclass
42062 do :
42063 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
42064 if test "x$ac_cv_func_qfpclass" = xyes; then :
42065 cat >>confdefs.h <<_ACEOF
42066 #define HAVE_QFPCLASS 1
42067 _ACEOF
42068
42069 fi
42070 done
42071
42072 else
42073
42074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
42075 $as_echo_n "checking for _qfpclass declaration... " >&6; }
42076 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
42077 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
42078 $as_echo_n "(cached) " >&6
42079 else
42080
42081
42082 ac_ext=cpp
42083 ac_cpp='$CXXCPP $CPPFLAGS'
42084 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42085 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42086 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42087
42088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42089 /* end confdefs.h. */
42090 #include <math.h>
42091 #ifdef HAVE_IEEEFP_H
42092 #include <ieeefp.h>
42093 #endif
42094
42095 int
42096 main ()
42097 {
42098 _qfpclass(0);
42099 ;
42100 return 0;
42101 }
42102 _ACEOF
42103 if ac_fn_cxx_try_compile "$LINENO"; then :
42104 glibcxx_cv_func__qfpclass_use=yes
42105 else
42106 glibcxx_cv_func__qfpclass_use=no
42107 fi
42108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42109 ac_ext=c
42110 ac_cpp='$CPP $CPPFLAGS'
42111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42114
42115
42116 fi
42117
42118 fi
42119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
42120 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
42121
42122 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
42123 for ac_func in _qfpclass
42124 do :
42125 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
42126 if test "x$ac_cv_func__qfpclass" = xyes; then :
42127 cat >>confdefs.h <<_ACEOF
42128 #define HAVE__QFPCLASS 1
42129 _ACEOF
42130
42131 fi
42132 done
42133
42134 fi
42135 fi
42136
42137
42138
42139
42140
42141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
42142 $as_echo_n "checking for hypot declaration... " >&6; }
42143 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
42144 if ${glibcxx_cv_func_hypot_use+:} false; then :
42145 $as_echo_n "(cached) " >&6
42146 else
42147
42148
42149 ac_ext=cpp
42150 ac_cpp='$CXXCPP $CPPFLAGS'
42151 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42152 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42153 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42154
42155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42156 /* end confdefs.h. */
42157 #include <math.h>
42158 int
42159 main ()
42160 {
42161 hypot(0, 0);
42162 ;
42163 return 0;
42164 }
42165 _ACEOF
42166 if ac_fn_cxx_try_compile "$LINENO"; then :
42167 glibcxx_cv_func_hypot_use=yes
42168 else
42169 glibcxx_cv_func_hypot_use=no
42170 fi
42171 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42172 ac_ext=c
42173 ac_cpp='$CPP $CPPFLAGS'
42174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42177
42178
42179 fi
42180
42181 fi
42182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
42183 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
42184
42185 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
42186 for ac_func in hypot
42187 do :
42188 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
42189 if test "x$ac_cv_func_hypot" = xyes; then :
42190 cat >>confdefs.h <<_ACEOF
42191 #define HAVE_HYPOT 1
42192 _ACEOF
42193
42194 fi
42195 done
42196
42197 else
42198
42199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
42200 $as_echo_n "checking for _hypot declaration... " >&6; }
42201 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
42202 if ${glibcxx_cv_func__hypot_use+:} false; then :
42203 $as_echo_n "(cached) " >&6
42204 else
42205
42206
42207 ac_ext=cpp
42208 ac_cpp='$CXXCPP $CPPFLAGS'
42209 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42210 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42211 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42212
42213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42214 /* end confdefs.h. */
42215 #include <math.h>
42216 int
42217 main ()
42218 {
42219 _hypot(0, 0);
42220 ;
42221 return 0;
42222 }
42223 _ACEOF
42224 if ac_fn_cxx_try_compile "$LINENO"; then :
42225 glibcxx_cv_func__hypot_use=yes
42226 else
42227 glibcxx_cv_func__hypot_use=no
42228 fi
42229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42230 ac_ext=c
42231 ac_cpp='$CPP $CPPFLAGS'
42232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42235
42236
42237 fi
42238
42239 fi
42240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
42241 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
42242
42243 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
42244 for ac_func in _hypot
42245 do :
42246 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
42247 if test "x$ac_cv_func__hypot" = xyes; then :
42248 cat >>confdefs.h <<_ACEOF
42249 #define HAVE__HYPOT 1
42250 _ACEOF
42251
42252 fi
42253 done
42254
42255 fi
42256 fi
42257
42258
42259
42260
42261
42262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
42263 $as_echo_n "checking for float trig functions... " >&6; }
42264 if ${glibcxx_cv_func_float_trig_use+:} false; then :
42265 $as_echo_n "(cached) " >&6
42266 else
42267
42268
42269 ac_ext=cpp
42270 ac_cpp='$CXXCPP $CPPFLAGS'
42271 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42272 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42273 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42274
42275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42276 /* end confdefs.h. */
42277 #include <math.h>
42278 int
42279 main ()
42280 {
42281 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
42282 ;
42283 return 0;
42284 }
42285 _ACEOF
42286 if ac_fn_cxx_try_compile "$LINENO"; then :
42287 glibcxx_cv_func_float_trig_use=yes
42288 else
42289 glibcxx_cv_func_float_trig_use=no
42290 fi
42291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42292 ac_ext=c
42293 ac_cpp='$CPP $CPPFLAGS'
42294 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42295 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42296 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42297
42298 fi
42299
42300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
42301 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
42302 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
42303 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
42304 do :
42305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42307 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42308 cat >>confdefs.h <<_ACEOF
42309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42310 _ACEOF
42311
42312 fi
42313 done
42314
42315 else
42316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
42317 $as_echo_n "checking for _float trig functions... " >&6; }
42318 if ${glibcxx_cv_func__float_trig_use+:} false; then :
42319 $as_echo_n "(cached) " >&6
42320 else
42321
42322
42323 ac_ext=cpp
42324 ac_cpp='$CXXCPP $CPPFLAGS'
42325 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42326 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42327 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42328
42329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42330 /* end confdefs.h. */
42331 #include <math.h>
42332 int
42333 main ()
42334 {
42335 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
42336 ;
42337 return 0;
42338 }
42339 _ACEOF
42340 if ac_fn_cxx_try_compile "$LINENO"; then :
42341 glibcxx_cv_func__float_trig_use=yes
42342 else
42343 glibcxx_cv_func__float_trig_use=no
42344 fi
42345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42346 ac_ext=c
42347 ac_cpp='$CPP $CPPFLAGS'
42348 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42349 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42350 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42351
42352 fi
42353
42354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
42355 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
42356 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
42357 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
42358 do :
42359 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42360 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42361 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42362 cat >>confdefs.h <<_ACEOF
42363 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42364 _ACEOF
42365
42366 fi
42367 done
42368
42369 fi
42370 fi
42371
42372
42373
42374
42375
42376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
42377 $as_echo_n "checking for float round functions... " >&6; }
42378 if ${glibcxx_cv_func_float_round_use+:} false; then :
42379 $as_echo_n "(cached) " >&6
42380 else
42381
42382
42383 ac_ext=cpp
42384 ac_cpp='$CXXCPP $CPPFLAGS'
42385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42388
42389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42390 /* end confdefs.h. */
42391 #include <math.h>
42392 int
42393 main ()
42394 {
42395 ceilf (0); floorf (0);
42396 ;
42397 return 0;
42398 }
42399 _ACEOF
42400 if ac_fn_cxx_try_compile "$LINENO"; then :
42401 glibcxx_cv_func_float_round_use=yes
42402 else
42403 glibcxx_cv_func_float_round_use=no
42404 fi
42405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42406 ac_ext=c
42407 ac_cpp='$CPP $CPPFLAGS'
42408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42411
42412 fi
42413
42414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
42415 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
42416 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
42417 for ac_func in ceilf floorf
42418 do :
42419 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42420 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42421 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42422 cat >>confdefs.h <<_ACEOF
42423 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42424 _ACEOF
42425
42426 fi
42427 done
42428
42429 else
42430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
42431 $as_echo_n "checking for _float round functions... " >&6; }
42432 if ${glibcxx_cv_func__float_round_use+:} false; then :
42433 $as_echo_n "(cached) " >&6
42434 else
42435
42436
42437 ac_ext=cpp
42438 ac_cpp='$CXXCPP $CPPFLAGS'
42439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42442
42443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42444 /* end confdefs.h. */
42445 #include <math.h>
42446 int
42447 main ()
42448 {
42449 _ceilf (0); _floorf (0);
42450 ;
42451 return 0;
42452 }
42453 _ACEOF
42454 if ac_fn_cxx_try_compile "$LINENO"; then :
42455 glibcxx_cv_func__float_round_use=yes
42456 else
42457 glibcxx_cv_func__float_round_use=no
42458 fi
42459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42460 ac_ext=c
42461 ac_cpp='$CPP $CPPFLAGS'
42462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42465
42466 fi
42467
42468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
42469 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
42470 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
42471 for ac_func in _ceilf _floorf
42472 do :
42473 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
42474 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
42475 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
42476 cat >>confdefs.h <<_ACEOF
42477 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
42478 _ACEOF
42479
42480 fi
42481 done
42482
42483 fi
42484 fi
42485
42486
42487
42488
42489
42490
42491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
42492 $as_echo_n "checking for expf declaration... " >&6; }
42493 if test x${glibcxx_cv_func_expf_use+set} != xset; then
42494 if ${glibcxx_cv_func_expf_use+:} false; then :
42495 $as_echo_n "(cached) " >&6
42496 else
42497
42498
42499 ac_ext=cpp
42500 ac_cpp='$CXXCPP $CPPFLAGS'
42501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42504
42505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42506 /* end confdefs.h. */
42507 #include <math.h>
42508 #ifdef HAVE_IEEEFP_H
42509 #include <ieeefp.h>
42510 #endif
42511
42512 int
42513 main ()
42514 {
42515 expf(0);
42516 ;
42517 return 0;
42518 }
42519 _ACEOF
42520 if ac_fn_cxx_try_compile "$LINENO"; then :
42521 glibcxx_cv_func_expf_use=yes
42522 else
42523 glibcxx_cv_func_expf_use=no
42524 fi
42525 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42526 ac_ext=c
42527 ac_cpp='$CPP $CPPFLAGS'
42528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42531
42532
42533 fi
42534
42535 fi
42536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
42537 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
42538
42539 if test x$glibcxx_cv_func_expf_use = x"yes"; then
42540 for ac_func in expf
42541 do :
42542 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
42543 if test "x$ac_cv_func_expf" = xyes; then :
42544 cat >>confdefs.h <<_ACEOF
42545 #define HAVE_EXPF 1
42546 _ACEOF
42547
42548 fi
42549 done
42550
42551 else
42552
42553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
42554 $as_echo_n "checking for _expf declaration... " >&6; }
42555 if test x${glibcxx_cv_func__expf_use+set} != xset; then
42556 if ${glibcxx_cv_func__expf_use+:} false; then :
42557 $as_echo_n "(cached) " >&6
42558 else
42559
42560
42561 ac_ext=cpp
42562 ac_cpp='$CXXCPP $CPPFLAGS'
42563 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42564 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42565 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42566
42567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42568 /* end confdefs.h. */
42569 #include <math.h>
42570 #ifdef HAVE_IEEEFP_H
42571 #include <ieeefp.h>
42572 #endif
42573
42574 int
42575 main ()
42576 {
42577 _expf(0);
42578 ;
42579 return 0;
42580 }
42581 _ACEOF
42582 if ac_fn_cxx_try_compile "$LINENO"; then :
42583 glibcxx_cv_func__expf_use=yes
42584 else
42585 glibcxx_cv_func__expf_use=no
42586 fi
42587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42588 ac_ext=c
42589 ac_cpp='$CPP $CPPFLAGS'
42590 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42591 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42592 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42593
42594
42595 fi
42596
42597 fi
42598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
42599 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
42600
42601 if test x$glibcxx_cv_func__expf_use = x"yes"; then
42602 for ac_func in _expf
42603 do :
42604 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
42605 if test "x$ac_cv_func__expf" = xyes; then :
42606 cat >>confdefs.h <<_ACEOF
42607 #define HAVE__EXPF 1
42608 _ACEOF
42609
42610 fi
42611 done
42612
42613 fi
42614 fi
42615
42616
42617
42618
42619
42620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
42621 $as_echo_n "checking for isnanf declaration... " >&6; }
42622 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
42623 if ${glibcxx_cv_func_isnanf_use+:} false; then :
42624 $as_echo_n "(cached) " >&6
42625 else
42626
42627
42628 ac_ext=cpp
42629 ac_cpp='$CXXCPP $CPPFLAGS'
42630 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42631 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42632 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42633
42634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42635 /* end confdefs.h. */
42636 #include <math.h>
42637 #ifdef HAVE_IEEEFP_H
42638 #include <ieeefp.h>
42639 #endif
42640
42641 int
42642 main ()
42643 {
42644 isnanf(0);
42645 ;
42646 return 0;
42647 }
42648 _ACEOF
42649 if ac_fn_cxx_try_compile "$LINENO"; then :
42650 glibcxx_cv_func_isnanf_use=yes
42651 else
42652 glibcxx_cv_func_isnanf_use=no
42653 fi
42654 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42655 ac_ext=c
42656 ac_cpp='$CPP $CPPFLAGS'
42657 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42658 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42659 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42660
42661
42662 fi
42663
42664 fi
42665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
42666 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
42667
42668 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
42669 for ac_func in isnanf
42670 do :
42671 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
42672 if test "x$ac_cv_func_isnanf" = xyes; then :
42673 cat >>confdefs.h <<_ACEOF
42674 #define HAVE_ISNANF 1
42675 _ACEOF
42676
42677 fi
42678 done
42679
42680 else
42681
42682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
42683 $as_echo_n "checking for _isnanf declaration... " >&6; }
42684 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
42685 if ${glibcxx_cv_func__isnanf_use+:} false; then :
42686 $as_echo_n "(cached) " >&6
42687 else
42688
42689
42690 ac_ext=cpp
42691 ac_cpp='$CXXCPP $CPPFLAGS'
42692 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42693 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42694 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42695
42696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42697 /* end confdefs.h. */
42698 #include <math.h>
42699 #ifdef HAVE_IEEEFP_H
42700 #include <ieeefp.h>
42701 #endif
42702
42703 int
42704 main ()
42705 {
42706 _isnanf(0);
42707 ;
42708 return 0;
42709 }
42710 _ACEOF
42711 if ac_fn_cxx_try_compile "$LINENO"; then :
42712 glibcxx_cv_func__isnanf_use=yes
42713 else
42714 glibcxx_cv_func__isnanf_use=no
42715 fi
42716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42717 ac_ext=c
42718 ac_cpp='$CPP $CPPFLAGS'
42719 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42720 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42721 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42722
42723
42724 fi
42725
42726 fi
42727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
42728 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
42729
42730 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
42731 for ac_func in _isnanf
42732 do :
42733 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
42734 if test "x$ac_cv_func__isnanf" = xyes; then :
42735 cat >>confdefs.h <<_ACEOF
42736 #define HAVE__ISNANF 1
42737 _ACEOF
42738
42739 fi
42740 done
42741
42742 fi
42743 fi
42744
42745
42746
42747
42748
42749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
42750 $as_echo_n "checking for isinff declaration... " >&6; }
42751 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
42752 if ${glibcxx_cv_func_isinff_use+:} false; then :
42753 $as_echo_n "(cached) " >&6
42754 else
42755
42756
42757 ac_ext=cpp
42758 ac_cpp='$CXXCPP $CPPFLAGS'
42759 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42760 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42761 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42762
42763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42764 /* end confdefs.h. */
42765 #include <math.h>
42766 #ifdef HAVE_IEEEFP_H
42767 #include <ieeefp.h>
42768 #endif
42769
42770 int
42771 main ()
42772 {
42773 isinff(0);
42774 ;
42775 return 0;
42776 }
42777 _ACEOF
42778 if ac_fn_cxx_try_compile "$LINENO"; then :
42779 glibcxx_cv_func_isinff_use=yes
42780 else
42781 glibcxx_cv_func_isinff_use=no
42782 fi
42783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42784 ac_ext=c
42785 ac_cpp='$CPP $CPPFLAGS'
42786 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42787 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42788 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42789
42790
42791 fi
42792
42793 fi
42794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
42795 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
42796
42797 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
42798 for ac_func in isinff
42799 do :
42800 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
42801 if test "x$ac_cv_func_isinff" = xyes; then :
42802 cat >>confdefs.h <<_ACEOF
42803 #define HAVE_ISINFF 1
42804 _ACEOF
42805
42806 fi
42807 done
42808
42809 else
42810
42811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
42812 $as_echo_n "checking for _isinff declaration... " >&6; }
42813 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
42814 if ${glibcxx_cv_func__isinff_use+:} false; then :
42815 $as_echo_n "(cached) " >&6
42816 else
42817
42818
42819 ac_ext=cpp
42820 ac_cpp='$CXXCPP $CPPFLAGS'
42821 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42822 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42823 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42824
42825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42826 /* end confdefs.h. */
42827 #include <math.h>
42828 #ifdef HAVE_IEEEFP_H
42829 #include <ieeefp.h>
42830 #endif
42831
42832 int
42833 main ()
42834 {
42835 _isinff(0);
42836 ;
42837 return 0;
42838 }
42839 _ACEOF
42840 if ac_fn_cxx_try_compile "$LINENO"; then :
42841 glibcxx_cv_func__isinff_use=yes
42842 else
42843 glibcxx_cv_func__isinff_use=no
42844 fi
42845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42846 ac_ext=c
42847 ac_cpp='$CPP $CPPFLAGS'
42848 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42849 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42850 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42851
42852
42853 fi
42854
42855 fi
42856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
42857 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
42858
42859 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
42860 for ac_func in _isinff
42861 do :
42862 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
42863 if test "x$ac_cv_func__isinff" = xyes; then :
42864 cat >>confdefs.h <<_ACEOF
42865 #define HAVE__ISINFF 1
42866 _ACEOF
42867
42868 fi
42869 done
42870
42871 fi
42872 fi
42873
42874
42875
42876
42877
42878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
42879 $as_echo_n "checking for atan2f declaration... " >&6; }
42880 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
42881 if ${glibcxx_cv_func_atan2f_use+:} false; then :
42882 $as_echo_n "(cached) " >&6
42883 else
42884
42885
42886 ac_ext=cpp
42887 ac_cpp='$CXXCPP $CPPFLAGS'
42888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42891
42892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42893 /* end confdefs.h. */
42894 #include <math.h>
42895 int
42896 main ()
42897 {
42898 atan2f(0, 0);
42899 ;
42900 return 0;
42901 }
42902 _ACEOF
42903 if ac_fn_cxx_try_compile "$LINENO"; then :
42904 glibcxx_cv_func_atan2f_use=yes
42905 else
42906 glibcxx_cv_func_atan2f_use=no
42907 fi
42908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42909 ac_ext=c
42910 ac_cpp='$CPP $CPPFLAGS'
42911 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42912 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42913 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42914
42915
42916 fi
42917
42918 fi
42919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
42920 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
42921
42922 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
42923 for ac_func in atan2f
42924 do :
42925 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
42926 if test "x$ac_cv_func_atan2f" = xyes; then :
42927 cat >>confdefs.h <<_ACEOF
42928 #define HAVE_ATAN2F 1
42929 _ACEOF
42930
42931 fi
42932 done
42933
42934 else
42935
42936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
42937 $as_echo_n "checking for _atan2f declaration... " >&6; }
42938 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
42939 if ${glibcxx_cv_func__atan2f_use+:} false; then :
42940 $as_echo_n "(cached) " >&6
42941 else
42942
42943
42944 ac_ext=cpp
42945 ac_cpp='$CXXCPP $CPPFLAGS'
42946 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42947 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42948 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42949
42950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
42951 /* end confdefs.h. */
42952 #include <math.h>
42953 int
42954 main ()
42955 {
42956 _atan2f(0, 0);
42957 ;
42958 return 0;
42959 }
42960 _ACEOF
42961 if ac_fn_cxx_try_compile "$LINENO"; then :
42962 glibcxx_cv_func__atan2f_use=yes
42963 else
42964 glibcxx_cv_func__atan2f_use=no
42965 fi
42966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42967 ac_ext=c
42968 ac_cpp='$CPP $CPPFLAGS'
42969 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42970 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42971 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42972
42973
42974 fi
42975
42976 fi
42977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
42978 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
42979
42980 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
42981 for ac_func in _atan2f
42982 do :
42983 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
42984 if test "x$ac_cv_func__atan2f" = xyes; then :
42985 cat >>confdefs.h <<_ACEOF
42986 #define HAVE__ATAN2F 1
42987 _ACEOF
42988
42989 fi
42990 done
42991
42992 fi
42993 fi
42994
42995
42996
42997
42998
42999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
43000 $as_echo_n "checking for fabsf declaration... " >&6; }
43001 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
43002 if ${glibcxx_cv_func_fabsf_use+:} false; then :
43003 $as_echo_n "(cached) " >&6
43004 else
43005
43006
43007 ac_ext=cpp
43008 ac_cpp='$CXXCPP $CPPFLAGS'
43009 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43010 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43011 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43012
43013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43014 /* end confdefs.h. */
43015 #include <math.h>
43016 #ifdef HAVE_IEEEFP_H
43017 #include <ieeefp.h>
43018 #endif
43019
43020 int
43021 main ()
43022 {
43023 fabsf(0);
43024 ;
43025 return 0;
43026 }
43027 _ACEOF
43028 if ac_fn_cxx_try_compile "$LINENO"; then :
43029 glibcxx_cv_func_fabsf_use=yes
43030 else
43031 glibcxx_cv_func_fabsf_use=no
43032 fi
43033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43034 ac_ext=c
43035 ac_cpp='$CPP $CPPFLAGS'
43036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43039
43040
43041 fi
43042
43043 fi
43044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
43045 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
43046
43047 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
43048 for ac_func in fabsf
43049 do :
43050 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
43051 if test "x$ac_cv_func_fabsf" = xyes; then :
43052 cat >>confdefs.h <<_ACEOF
43053 #define HAVE_FABSF 1
43054 _ACEOF
43055
43056 fi
43057 done
43058
43059 else
43060
43061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
43062 $as_echo_n "checking for _fabsf declaration... " >&6; }
43063 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
43064 if ${glibcxx_cv_func__fabsf_use+:} false; then :
43065 $as_echo_n "(cached) " >&6
43066 else
43067
43068
43069 ac_ext=cpp
43070 ac_cpp='$CXXCPP $CPPFLAGS'
43071 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43072 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43073 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43074
43075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43076 /* end confdefs.h. */
43077 #include <math.h>
43078 #ifdef HAVE_IEEEFP_H
43079 #include <ieeefp.h>
43080 #endif
43081
43082 int
43083 main ()
43084 {
43085 _fabsf(0);
43086 ;
43087 return 0;
43088 }
43089 _ACEOF
43090 if ac_fn_cxx_try_compile "$LINENO"; then :
43091 glibcxx_cv_func__fabsf_use=yes
43092 else
43093 glibcxx_cv_func__fabsf_use=no
43094 fi
43095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43096 ac_ext=c
43097 ac_cpp='$CPP $CPPFLAGS'
43098 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43099 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43100 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43101
43102
43103 fi
43104
43105 fi
43106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
43107 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
43108
43109 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
43110 for ac_func in _fabsf
43111 do :
43112 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
43113 if test "x$ac_cv_func__fabsf" = xyes; then :
43114 cat >>confdefs.h <<_ACEOF
43115 #define HAVE__FABSF 1
43116 _ACEOF
43117
43118 fi
43119 done
43120
43121 fi
43122 fi
43123
43124
43125
43126
43127
43128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
43129 $as_echo_n "checking for fmodf declaration... " >&6; }
43130 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
43131 if ${glibcxx_cv_func_fmodf_use+:} false; then :
43132 $as_echo_n "(cached) " >&6
43133 else
43134
43135
43136 ac_ext=cpp
43137 ac_cpp='$CXXCPP $CPPFLAGS'
43138 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43139 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43140 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43141
43142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43143 /* end confdefs.h. */
43144 #include <math.h>
43145 int
43146 main ()
43147 {
43148 fmodf(0, 0);
43149 ;
43150 return 0;
43151 }
43152 _ACEOF
43153 if ac_fn_cxx_try_compile "$LINENO"; then :
43154 glibcxx_cv_func_fmodf_use=yes
43155 else
43156 glibcxx_cv_func_fmodf_use=no
43157 fi
43158 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43159 ac_ext=c
43160 ac_cpp='$CPP $CPPFLAGS'
43161 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43162 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43163 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43164
43165
43166 fi
43167
43168 fi
43169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
43170 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
43171
43172 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
43173 for ac_func in fmodf
43174 do :
43175 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
43176 if test "x$ac_cv_func_fmodf" = xyes; then :
43177 cat >>confdefs.h <<_ACEOF
43178 #define HAVE_FMODF 1
43179 _ACEOF
43180
43181 fi
43182 done
43183
43184 else
43185
43186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
43187 $as_echo_n "checking for _fmodf declaration... " >&6; }
43188 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
43189 if ${glibcxx_cv_func__fmodf_use+:} false; then :
43190 $as_echo_n "(cached) " >&6
43191 else
43192
43193
43194 ac_ext=cpp
43195 ac_cpp='$CXXCPP $CPPFLAGS'
43196 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43197 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43198 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43199
43200 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43201 /* end confdefs.h. */
43202 #include <math.h>
43203 int
43204 main ()
43205 {
43206 _fmodf(0, 0);
43207 ;
43208 return 0;
43209 }
43210 _ACEOF
43211 if ac_fn_cxx_try_compile "$LINENO"; then :
43212 glibcxx_cv_func__fmodf_use=yes
43213 else
43214 glibcxx_cv_func__fmodf_use=no
43215 fi
43216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43217 ac_ext=c
43218 ac_cpp='$CPP $CPPFLAGS'
43219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43222
43223
43224 fi
43225
43226 fi
43227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
43228 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
43229
43230 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
43231 for ac_func in _fmodf
43232 do :
43233 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
43234 if test "x$ac_cv_func__fmodf" = xyes; then :
43235 cat >>confdefs.h <<_ACEOF
43236 #define HAVE__FMODF 1
43237 _ACEOF
43238
43239 fi
43240 done
43241
43242 fi
43243 fi
43244
43245
43246
43247
43248
43249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
43250 $as_echo_n "checking for frexpf declaration... " >&6; }
43251 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
43252 if ${glibcxx_cv_func_frexpf_use+:} false; then :
43253 $as_echo_n "(cached) " >&6
43254 else
43255
43256
43257 ac_ext=cpp
43258 ac_cpp='$CXXCPP $CPPFLAGS'
43259 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43260 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43261 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43262
43263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43264 /* end confdefs.h. */
43265 #include <math.h>
43266 int
43267 main ()
43268 {
43269 frexpf(0, 0);
43270 ;
43271 return 0;
43272 }
43273 _ACEOF
43274 if ac_fn_cxx_try_compile "$LINENO"; then :
43275 glibcxx_cv_func_frexpf_use=yes
43276 else
43277 glibcxx_cv_func_frexpf_use=no
43278 fi
43279 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43280 ac_ext=c
43281 ac_cpp='$CPP $CPPFLAGS'
43282 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43283 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43284 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43285
43286
43287 fi
43288
43289 fi
43290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
43291 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
43292
43293 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
43294 for ac_func in frexpf
43295 do :
43296 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
43297 if test "x$ac_cv_func_frexpf" = xyes; then :
43298 cat >>confdefs.h <<_ACEOF
43299 #define HAVE_FREXPF 1
43300 _ACEOF
43301
43302 fi
43303 done
43304
43305 else
43306
43307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
43308 $as_echo_n "checking for _frexpf declaration... " >&6; }
43309 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
43310 if ${glibcxx_cv_func__frexpf_use+:} false; then :
43311 $as_echo_n "(cached) " >&6
43312 else
43313
43314
43315 ac_ext=cpp
43316 ac_cpp='$CXXCPP $CPPFLAGS'
43317 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43318 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43319 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43320
43321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43322 /* end confdefs.h. */
43323 #include <math.h>
43324 int
43325 main ()
43326 {
43327 _frexpf(0, 0);
43328 ;
43329 return 0;
43330 }
43331 _ACEOF
43332 if ac_fn_cxx_try_compile "$LINENO"; then :
43333 glibcxx_cv_func__frexpf_use=yes
43334 else
43335 glibcxx_cv_func__frexpf_use=no
43336 fi
43337 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43338 ac_ext=c
43339 ac_cpp='$CPP $CPPFLAGS'
43340 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43341 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43343
43344
43345 fi
43346
43347 fi
43348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
43349 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
43350
43351 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
43352 for ac_func in _frexpf
43353 do :
43354 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
43355 if test "x$ac_cv_func__frexpf" = xyes; then :
43356 cat >>confdefs.h <<_ACEOF
43357 #define HAVE__FREXPF 1
43358 _ACEOF
43359
43360 fi
43361 done
43362
43363 fi
43364 fi
43365
43366
43367
43368
43369
43370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
43371 $as_echo_n "checking for hypotf declaration... " >&6; }
43372 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
43373 if ${glibcxx_cv_func_hypotf_use+:} false; then :
43374 $as_echo_n "(cached) " >&6
43375 else
43376
43377
43378 ac_ext=cpp
43379 ac_cpp='$CXXCPP $CPPFLAGS'
43380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43383
43384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43385 /* end confdefs.h. */
43386 #include <math.h>
43387 int
43388 main ()
43389 {
43390 hypotf(0, 0);
43391 ;
43392 return 0;
43393 }
43394 _ACEOF
43395 if ac_fn_cxx_try_compile "$LINENO"; then :
43396 glibcxx_cv_func_hypotf_use=yes
43397 else
43398 glibcxx_cv_func_hypotf_use=no
43399 fi
43400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43401 ac_ext=c
43402 ac_cpp='$CPP $CPPFLAGS'
43403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43406
43407
43408 fi
43409
43410 fi
43411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
43412 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
43413
43414 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
43415 for ac_func in hypotf
43416 do :
43417 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
43418 if test "x$ac_cv_func_hypotf" = xyes; then :
43419 cat >>confdefs.h <<_ACEOF
43420 #define HAVE_HYPOTF 1
43421 _ACEOF
43422
43423 fi
43424 done
43425
43426 else
43427
43428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
43429 $as_echo_n "checking for _hypotf declaration... " >&6; }
43430 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
43431 if ${glibcxx_cv_func__hypotf_use+:} false; then :
43432 $as_echo_n "(cached) " >&6
43433 else
43434
43435
43436 ac_ext=cpp
43437 ac_cpp='$CXXCPP $CPPFLAGS'
43438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43441
43442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43443 /* end confdefs.h. */
43444 #include <math.h>
43445 int
43446 main ()
43447 {
43448 _hypotf(0, 0);
43449 ;
43450 return 0;
43451 }
43452 _ACEOF
43453 if ac_fn_cxx_try_compile "$LINENO"; then :
43454 glibcxx_cv_func__hypotf_use=yes
43455 else
43456 glibcxx_cv_func__hypotf_use=no
43457 fi
43458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43459 ac_ext=c
43460 ac_cpp='$CPP $CPPFLAGS'
43461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43464
43465
43466 fi
43467
43468 fi
43469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
43470 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
43471
43472 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
43473 for ac_func in _hypotf
43474 do :
43475 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
43476 if test "x$ac_cv_func__hypotf" = xyes; then :
43477 cat >>confdefs.h <<_ACEOF
43478 #define HAVE__HYPOTF 1
43479 _ACEOF
43480
43481 fi
43482 done
43483
43484 fi
43485 fi
43486
43487
43488
43489
43490
43491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
43492 $as_echo_n "checking for ldexpf declaration... " >&6; }
43493 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
43494 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
43495 $as_echo_n "(cached) " >&6
43496 else
43497
43498
43499 ac_ext=cpp
43500 ac_cpp='$CXXCPP $CPPFLAGS'
43501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43504
43505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43506 /* end confdefs.h. */
43507 #include <math.h>
43508 int
43509 main ()
43510 {
43511 ldexpf(0, 0);
43512 ;
43513 return 0;
43514 }
43515 _ACEOF
43516 if ac_fn_cxx_try_compile "$LINENO"; then :
43517 glibcxx_cv_func_ldexpf_use=yes
43518 else
43519 glibcxx_cv_func_ldexpf_use=no
43520 fi
43521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43522 ac_ext=c
43523 ac_cpp='$CPP $CPPFLAGS'
43524 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43525 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43526 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43527
43528
43529 fi
43530
43531 fi
43532 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
43533 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
43534
43535 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
43536 for ac_func in ldexpf
43537 do :
43538 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
43539 if test "x$ac_cv_func_ldexpf" = xyes; then :
43540 cat >>confdefs.h <<_ACEOF
43541 #define HAVE_LDEXPF 1
43542 _ACEOF
43543
43544 fi
43545 done
43546
43547 else
43548
43549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
43550 $as_echo_n "checking for _ldexpf declaration... " >&6; }
43551 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
43552 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
43553 $as_echo_n "(cached) " >&6
43554 else
43555
43556
43557 ac_ext=cpp
43558 ac_cpp='$CXXCPP $CPPFLAGS'
43559 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43560 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43561 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43562
43563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43564 /* end confdefs.h. */
43565 #include <math.h>
43566 int
43567 main ()
43568 {
43569 _ldexpf(0, 0);
43570 ;
43571 return 0;
43572 }
43573 _ACEOF
43574 if ac_fn_cxx_try_compile "$LINENO"; then :
43575 glibcxx_cv_func__ldexpf_use=yes
43576 else
43577 glibcxx_cv_func__ldexpf_use=no
43578 fi
43579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43580 ac_ext=c
43581 ac_cpp='$CPP $CPPFLAGS'
43582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43585
43586
43587 fi
43588
43589 fi
43590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
43591 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
43592
43593 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
43594 for ac_func in _ldexpf
43595 do :
43596 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
43597 if test "x$ac_cv_func__ldexpf" = xyes; then :
43598 cat >>confdefs.h <<_ACEOF
43599 #define HAVE__LDEXPF 1
43600 _ACEOF
43601
43602 fi
43603 done
43604
43605 fi
43606 fi
43607
43608
43609
43610
43611
43612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
43613 $as_echo_n "checking for logf declaration... " >&6; }
43614 if test x${glibcxx_cv_func_logf_use+set} != xset; then
43615 if ${glibcxx_cv_func_logf_use+:} false; then :
43616 $as_echo_n "(cached) " >&6
43617 else
43618
43619
43620 ac_ext=cpp
43621 ac_cpp='$CXXCPP $CPPFLAGS'
43622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43625
43626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43627 /* end confdefs.h. */
43628 #include <math.h>
43629 #ifdef HAVE_IEEEFP_H
43630 #include <ieeefp.h>
43631 #endif
43632
43633 int
43634 main ()
43635 {
43636 logf(0);
43637 ;
43638 return 0;
43639 }
43640 _ACEOF
43641 if ac_fn_cxx_try_compile "$LINENO"; then :
43642 glibcxx_cv_func_logf_use=yes
43643 else
43644 glibcxx_cv_func_logf_use=no
43645 fi
43646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43647 ac_ext=c
43648 ac_cpp='$CPP $CPPFLAGS'
43649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43652
43653
43654 fi
43655
43656 fi
43657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
43658 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
43659
43660 if test x$glibcxx_cv_func_logf_use = x"yes"; then
43661 for ac_func in logf
43662 do :
43663 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
43664 if test "x$ac_cv_func_logf" = xyes; then :
43665 cat >>confdefs.h <<_ACEOF
43666 #define HAVE_LOGF 1
43667 _ACEOF
43668
43669 fi
43670 done
43671
43672 else
43673
43674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
43675 $as_echo_n "checking for _logf declaration... " >&6; }
43676 if test x${glibcxx_cv_func__logf_use+set} != xset; then
43677 if ${glibcxx_cv_func__logf_use+:} false; then :
43678 $as_echo_n "(cached) " >&6
43679 else
43680
43681
43682 ac_ext=cpp
43683 ac_cpp='$CXXCPP $CPPFLAGS'
43684 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43685 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43686 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43687
43688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43689 /* end confdefs.h. */
43690 #include <math.h>
43691 #ifdef HAVE_IEEEFP_H
43692 #include <ieeefp.h>
43693 #endif
43694
43695 int
43696 main ()
43697 {
43698 _logf(0);
43699 ;
43700 return 0;
43701 }
43702 _ACEOF
43703 if ac_fn_cxx_try_compile "$LINENO"; then :
43704 glibcxx_cv_func__logf_use=yes
43705 else
43706 glibcxx_cv_func__logf_use=no
43707 fi
43708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43709 ac_ext=c
43710 ac_cpp='$CPP $CPPFLAGS'
43711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43714
43715
43716 fi
43717
43718 fi
43719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
43720 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
43721
43722 if test x$glibcxx_cv_func__logf_use = x"yes"; then
43723 for ac_func in _logf
43724 do :
43725 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
43726 if test "x$ac_cv_func__logf" = xyes; then :
43727 cat >>confdefs.h <<_ACEOF
43728 #define HAVE__LOGF 1
43729 _ACEOF
43730
43731 fi
43732 done
43733
43734 fi
43735 fi
43736
43737
43738
43739
43740
43741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
43742 $as_echo_n "checking for log10f declaration... " >&6; }
43743 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
43744 if ${glibcxx_cv_func_log10f_use+:} false; then :
43745 $as_echo_n "(cached) " >&6
43746 else
43747
43748
43749 ac_ext=cpp
43750 ac_cpp='$CXXCPP $CPPFLAGS'
43751 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43752 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43753 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43754
43755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43756 /* end confdefs.h. */
43757 #include <math.h>
43758 #ifdef HAVE_IEEEFP_H
43759 #include <ieeefp.h>
43760 #endif
43761
43762 int
43763 main ()
43764 {
43765 log10f(0);
43766 ;
43767 return 0;
43768 }
43769 _ACEOF
43770 if ac_fn_cxx_try_compile "$LINENO"; then :
43771 glibcxx_cv_func_log10f_use=yes
43772 else
43773 glibcxx_cv_func_log10f_use=no
43774 fi
43775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43776 ac_ext=c
43777 ac_cpp='$CPP $CPPFLAGS'
43778 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43779 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43780 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43781
43782
43783 fi
43784
43785 fi
43786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
43787 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
43788
43789 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
43790 for ac_func in log10f
43791 do :
43792 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
43793 if test "x$ac_cv_func_log10f" = xyes; then :
43794 cat >>confdefs.h <<_ACEOF
43795 #define HAVE_LOG10F 1
43796 _ACEOF
43797
43798 fi
43799 done
43800
43801 else
43802
43803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
43804 $as_echo_n "checking for _log10f declaration... " >&6; }
43805 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
43806 if ${glibcxx_cv_func__log10f_use+:} false; then :
43807 $as_echo_n "(cached) " >&6
43808 else
43809
43810
43811 ac_ext=cpp
43812 ac_cpp='$CXXCPP $CPPFLAGS'
43813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43816
43817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43818 /* end confdefs.h. */
43819 #include <math.h>
43820 #ifdef HAVE_IEEEFP_H
43821 #include <ieeefp.h>
43822 #endif
43823
43824 int
43825 main ()
43826 {
43827 _log10f(0);
43828 ;
43829 return 0;
43830 }
43831 _ACEOF
43832 if ac_fn_cxx_try_compile "$LINENO"; then :
43833 glibcxx_cv_func__log10f_use=yes
43834 else
43835 glibcxx_cv_func__log10f_use=no
43836 fi
43837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43838 ac_ext=c
43839 ac_cpp='$CPP $CPPFLAGS'
43840 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43841 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43842 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43843
43844
43845 fi
43846
43847 fi
43848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
43849 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
43850
43851 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
43852 for ac_func in _log10f
43853 do :
43854 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
43855 if test "x$ac_cv_func__log10f" = xyes; then :
43856 cat >>confdefs.h <<_ACEOF
43857 #define HAVE__LOG10F 1
43858 _ACEOF
43859
43860 fi
43861 done
43862
43863 fi
43864 fi
43865
43866
43867
43868
43869
43870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
43871 $as_echo_n "checking for modff declaration... " >&6; }
43872 if test x${glibcxx_cv_func_modff_use+set} != xset; then
43873 if ${glibcxx_cv_func_modff_use+:} false; then :
43874 $as_echo_n "(cached) " >&6
43875 else
43876
43877
43878 ac_ext=cpp
43879 ac_cpp='$CXXCPP $CPPFLAGS'
43880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43883
43884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43885 /* end confdefs.h. */
43886 #include <math.h>
43887 int
43888 main ()
43889 {
43890 modff(0, 0);
43891 ;
43892 return 0;
43893 }
43894 _ACEOF
43895 if ac_fn_cxx_try_compile "$LINENO"; then :
43896 glibcxx_cv_func_modff_use=yes
43897 else
43898 glibcxx_cv_func_modff_use=no
43899 fi
43900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43901 ac_ext=c
43902 ac_cpp='$CPP $CPPFLAGS'
43903 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43904 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43905 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43906
43907
43908 fi
43909
43910 fi
43911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
43912 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
43913
43914 if test x$glibcxx_cv_func_modff_use = x"yes"; then
43915 for ac_func in modff
43916 do :
43917 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
43918 if test "x$ac_cv_func_modff" = xyes; then :
43919 cat >>confdefs.h <<_ACEOF
43920 #define HAVE_MODFF 1
43921 _ACEOF
43922
43923 fi
43924 done
43925
43926 else
43927
43928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
43929 $as_echo_n "checking for _modff declaration... " >&6; }
43930 if test x${glibcxx_cv_func__modff_use+set} != xset; then
43931 if ${glibcxx_cv_func__modff_use+:} false; then :
43932 $as_echo_n "(cached) " >&6
43933 else
43934
43935
43936 ac_ext=cpp
43937 ac_cpp='$CXXCPP $CPPFLAGS'
43938 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43939 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43940 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43941
43942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
43943 /* end confdefs.h. */
43944 #include <math.h>
43945 int
43946 main ()
43947 {
43948 _modff(0, 0);
43949 ;
43950 return 0;
43951 }
43952 _ACEOF
43953 if ac_fn_cxx_try_compile "$LINENO"; then :
43954 glibcxx_cv_func__modff_use=yes
43955 else
43956 glibcxx_cv_func__modff_use=no
43957 fi
43958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43959 ac_ext=c
43960 ac_cpp='$CPP $CPPFLAGS'
43961 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43962 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43963 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43964
43965
43966 fi
43967
43968 fi
43969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
43970 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
43971
43972 if test x$glibcxx_cv_func__modff_use = x"yes"; then
43973 for ac_func in _modff
43974 do :
43975 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
43976 if test "x$ac_cv_func__modff" = xyes; then :
43977 cat >>confdefs.h <<_ACEOF
43978 #define HAVE__MODFF 1
43979 _ACEOF
43980
43981 fi
43982 done
43983
43984 fi
43985 fi
43986
43987
43988
43989
43990
43991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
43992 $as_echo_n "checking for modf declaration... " >&6; }
43993 if test x${glibcxx_cv_func_modf_use+set} != xset; then
43994 if ${glibcxx_cv_func_modf_use+:} false; then :
43995 $as_echo_n "(cached) " >&6
43996 else
43997
43998
43999 ac_ext=cpp
44000 ac_cpp='$CXXCPP $CPPFLAGS'
44001 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44002 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44003 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44004
44005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44006 /* end confdefs.h. */
44007 #include <math.h>
44008 int
44009 main ()
44010 {
44011 modf(0, 0);
44012 ;
44013 return 0;
44014 }
44015 _ACEOF
44016 if ac_fn_cxx_try_compile "$LINENO"; then :
44017 glibcxx_cv_func_modf_use=yes
44018 else
44019 glibcxx_cv_func_modf_use=no
44020 fi
44021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44022 ac_ext=c
44023 ac_cpp='$CPP $CPPFLAGS'
44024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44027
44028
44029 fi
44030
44031 fi
44032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
44033 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
44034
44035 if test x$glibcxx_cv_func_modf_use = x"yes"; then
44036 for ac_func in modf
44037 do :
44038 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
44039 if test "x$ac_cv_func_modf" = xyes; then :
44040 cat >>confdefs.h <<_ACEOF
44041 #define HAVE_MODF 1
44042 _ACEOF
44043
44044 fi
44045 done
44046
44047 else
44048
44049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
44050 $as_echo_n "checking for _modf declaration... " >&6; }
44051 if test x${glibcxx_cv_func__modf_use+set} != xset; then
44052 if ${glibcxx_cv_func__modf_use+:} false; then :
44053 $as_echo_n "(cached) " >&6
44054 else
44055
44056
44057 ac_ext=cpp
44058 ac_cpp='$CXXCPP $CPPFLAGS'
44059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44062
44063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44064 /* end confdefs.h. */
44065 #include <math.h>
44066 int
44067 main ()
44068 {
44069 _modf(0, 0);
44070 ;
44071 return 0;
44072 }
44073 _ACEOF
44074 if ac_fn_cxx_try_compile "$LINENO"; then :
44075 glibcxx_cv_func__modf_use=yes
44076 else
44077 glibcxx_cv_func__modf_use=no
44078 fi
44079 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44080 ac_ext=c
44081 ac_cpp='$CPP $CPPFLAGS'
44082 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44083 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44084 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44085
44086
44087 fi
44088
44089 fi
44090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
44091 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
44092
44093 if test x$glibcxx_cv_func__modf_use = x"yes"; then
44094 for ac_func in _modf
44095 do :
44096 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
44097 if test "x$ac_cv_func__modf" = xyes; then :
44098 cat >>confdefs.h <<_ACEOF
44099 #define HAVE__MODF 1
44100 _ACEOF
44101
44102 fi
44103 done
44104
44105 fi
44106 fi
44107
44108
44109
44110
44111
44112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
44113 $as_echo_n "checking for powf declaration... " >&6; }
44114 if test x${glibcxx_cv_func_powf_use+set} != xset; then
44115 if ${glibcxx_cv_func_powf_use+:} false; then :
44116 $as_echo_n "(cached) " >&6
44117 else
44118
44119
44120 ac_ext=cpp
44121 ac_cpp='$CXXCPP $CPPFLAGS'
44122 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44123 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44124 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44125
44126 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44127 /* end confdefs.h. */
44128 #include <math.h>
44129 int
44130 main ()
44131 {
44132 powf(0, 0);
44133 ;
44134 return 0;
44135 }
44136 _ACEOF
44137 if ac_fn_cxx_try_compile "$LINENO"; then :
44138 glibcxx_cv_func_powf_use=yes
44139 else
44140 glibcxx_cv_func_powf_use=no
44141 fi
44142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44143 ac_ext=c
44144 ac_cpp='$CPP $CPPFLAGS'
44145 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44146 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44147 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44148
44149
44150 fi
44151
44152 fi
44153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
44154 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
44155
44156 if test x$glibcxx_cv_func_powf_use = x"yes"; then
44157 for ac_func in powf
44158 do :
44159 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
44160 if test "x$ac_cv_func_powf" = xyes; then :
44161 cat >>confdefs.h <<_ACEOF
44162 #define HAVE_POWF 1
44163 _ACEOF
44164
44165 fi
44166 done
44167
44168 else
44169
44170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
44171 $as_echo_n "checking for _powf declaration... " >&6; }
44172 if test x${glibcxx_cv_func__powf_use+set} != xset; then
44173 if ${glibcxx_cv_func__powf_use+:} false; then :
44174 $as_echo_n "(cached) " >&6
44175 else
44176
44177
44178 ac_ext=cpp
44179 ac_cpp='$CXXCPP $CPPFLAGS'
44180 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44181 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44182 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44183
44184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44185 /* end confdefs.h. */
44186 #include <math.h>
44187 int
44188 main ()
44189 {
44190 _powf(0, 0);
44191 ;
44192 return 0;
44193 }
44194 _ACEOF
44195 if ac_fn_cxx_try_compile "$LINENO"; then :
44196 glibcxx_cv_func__powf_use=yes
44197 else
44198 glibcxx_cv_func__powf_use=no
44199 fi
44200 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44201 ac_ext=c
44202 ac_cpp='$CPP $CPPFLAGS'
44203 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44204 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44205 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44206
44207
44208 fi
44209
44210 fi
44211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
44212 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
44213
44214 if test x$glibcxx_cv_func__powf_use = x"yes"; then
44215 for ac_func in _powf
44216 do :
44217 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
44218 if test "x$ac_cv_func__powf" = xyes; then :
44219 cat >>confdefs.h <<_ACEOF
44220 #define HAVE__POWF 1
44221 _ACEOF
44222
44223 fi
44224 done
44225
44226 fi
44227 fi
44228
44229
44230
44231
44232
44233 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
44234 $as_echo_n "checking for sqrtf declaration... " >&6; }
44235 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
44236 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
44237 $as_echo_n "(cached) " >&6
44238 else
44239
44240
44241 ac_ext=cpp
44242 ac_cpp='$CXXCPP $CPPFLAGS'
44243 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44244 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44245 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44246
44247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44248 /* end confdefs.h. */
44249 #include <math.h>
44250 #ifdef HAVE_IEEEFP_H
44251 #include <ieeefp.h>
44252 #endif
44253
44254 int
44255 main ()
44256 {
44257 sqrtf(0);
44258 ;
44259 return 0;
44260 }
44261 _ACEOF
44262 if ac_fn_cxx_try_compile "$LINENO"; then :
44263 glibcxx_cv_func_sqrtf_use=yes
44264 else
44265 glibcxx_cv_func_sqrtf_use=no
44266 fi
44267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44268 ac_ext=c
44269 ac_cpp='$CPP $CPPFLAGS'
44270 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44271 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44272 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44273
44274
44275 fi
44276
44277 fi
44278 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
44279 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
44280
44281 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
44282 for ac_func in sqrtf
44283 do :
44284 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
44285 if test "x$ac_cv_func_sqrtf" = xyes; then :
44286 cat >>confdefs.h <<_ACEOF
44287 #define HAVE_SQRTF 1
44288 _ACEOF
44289
44290 fi
44291 done
44292
44293 else
44294
44295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
44296 $as_echo_n "checking for _sqrtf declaration... " >&6; }
44297 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
44298 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
44299 $as_echo_n "(cached) " >&6
44300 else
44301
44302
44303 ac_ext=cpp
44304 ac_cpp='$CXXCPP $CPPFLAGS'
44305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44308
44309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44310 /* end confdefs.h. */
44311 #include <math.h>
44312 #ifdef HAVE_IEEEFP_H
44313 #include <ieeefp.h>
44314 #endif
44315
44316 int
44317 main ()
44318 {
44319 _sqrtf(0);
44320 ;
44321 return 0;
44322 }
44323 _ACEOF
44324 if ac_fn_cxx_try_compile "$LINENO"; then :
44325 glibcxx_cv_func__sqrtf_use=yes
44326 else
44327 glibcxx_cv_func__sqrtf_use=no
44328 fi
44329 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44330 ac_ext=c
44331 ac_cpp='$CPP $CPPFLAGS'
44332 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44333 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44334 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44335
44336
44337 fi
44338
44339 fi
44340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
44341 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
44342
44343 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
44344 for ac_func in _sqrtf
44345 do :
44346 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
44347 if test "x$ac_cv_func__sqrtf" = xyes; then :
44348 cat >>confdefs.h <<_ACEOF
44349 #define HAVE__SQRTF 1
44350 _ACEOF
44351
44352 fi
44353 done
44354
44355 fi
44356 fi
44357
44358
44359
44360
44361
44362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
44363 $as_echo_n "checking for sincosf declaration... " >&6; }
44364 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
44365 if ${glibcxx_cv_func_sincosf_use+:} false; then :
44366 $as_echo_n "(cached) " >&6
44367 else
44368
44369
44370 ac_ext=cpp
44371 ac_cpp='$CXXCPP $CPPFLAGS'
44372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44375
44376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44377 /* end confdefs.h. */
44378 #include <math.h>
44379 int
44380 main ()
44381 {
44382 sincosf(0, 0, 0);
44383 ;
44384 return 0;
44385 }
44386 _ACEOF
44387 if ac_fn_cxx_try_compile "$LINENO"; then :
44388 glibcxx_cv_func_sincosf_use=yes
44389 else
44390 glibcxx_cv_func_sincosf_use=no
44391 fi
44392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44393 ac_ext=c
44394 ac_cpp='$CPP $CPPFLAGS'
44395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44398
44399
44400 fi
44401
44402 fi
44403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
44404 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
44405
44406 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
44407 for ac_func in sincosf
44408 do :
44409 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
44410 if test "x$ac_cv_func_sincosf" = xyes; then :
44411 cat >>confdefs.h <<_ACEOF
44412 #define HAVE_SINCOSF 1
44413 _ACEOF
44414
44415 fi
44416 done
44417
44418 else
44419
44420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
44421 $as_echo_n "checking for _sincosf declaration... " >&6; }
44422 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
44423 if ${glibcxx_cv_func__sincosf_use+:} false; then :
44424 $as_echo_n "(cached) " >&6
44425 else
44426
44427
44428 ac_ext=cpp
44429 ac_cpp='$CXXCPP $CPPFLAGS'
44430 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44431 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44432 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44433
44434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44435 /* end confdefs.h. */
44436 #include <math.h>
44437 int
44438 main ()
44439 {
44440 _sincosf(0, 0, 0);
44441 ;
44442 return 0;
44443 }
44444 _ACEOF
44445 if ac_fn_cxx_try_compile "$LINENO"; then :
44446 glibcxx_cv_func__sincosf_use=yes
44447 else
44448 glibcxx_cv_func__sincosf_use=no
44449 fi
44450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44451 ac_ext=c
44452 ac_cpp='$CPP $CPPFLAGS'
44453 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44454 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44455 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44456
44457
44458 fi
44459
44460 fi
44461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
44462 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
44463
44464 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
44465 for ac_func in _sincosf
44466 do :
44467 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
44468 if test "x$ac_cv_func__sincosf" = xyes; then :
44469 cat >>confdefs.h <<_ACEOF
44470 #define HAVE__SINCOSF 1
44471 _ACEOF
44472
44473 fi
44474 done
44475
44476 fi
44477 fi
44478
44479
44480
44481
44482
44483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
44484 $as_echo_n "checking for finitef declaration... " >&6; }
44485 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
44486 if ${glibcxx_cv_func_finitef_use+:} false; then :
44487 $as_echo_n "(cached) " >&6
44488 else
44489
44490
44491 ac_ext=cpp
44492 ac_cpp='$CXXCPP $CPPFLAGS'
44493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44496
44497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44498 /* end confdefs.h. */
44499 #include <math.h>
44500 #ifdef HAVE_IEEEFP_H
44501 #include <ieeefp.h>
44502 #endif
44503
44504 int
44505 main ()
44506 {
44507 finitef(0);
44508 ;
44509 return 0;
44510 }
44511 _ACEOF
44512 if ac_fn_cxx_try_compile "$LINENO"; then :
44513 glibcxx_cv_func_finitef_use=yes
44514 else
44515 glibcxx_cv_func_finitef_use=no
44516 fi
44517 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44518 ac_ext=c
44519 ac_cpp='$CPP $CPPFLAGS'
44520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44523
44524
44525 fi
44526
44527 fi
44528 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
44529 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
44530
44531 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
44532 for ac_func in finitef
44533 do :
44534 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
44535 if test "x$ac_cv_func_finitef" = xyes; then :
44536 cat >>confdefs.h <<_ACEOF
44537 #define HAVE_FINITEF 1
44538 _ACEOF
44539
44540 fi
44541 done
44542
44543 else
44544
44545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
44546 $as_echo_n "checking for _finitef declaration... " >&6; }
44547 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
44548 if ${glibcxx_cv_func__finitef_use+:} false; then :
44549 $as_echo_n "(cached) " >&6
44550 else
44551
44552
44553 ac_ext=cpp
44554 ac_cpp='$CXXCPP $CPPFLAGS'
44555 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44556 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44557 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44558
44559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44560 /* end confdefs.h. */
44561 #include <math.h>
44562 #ifdef HAVE_IEEEFP_H
44563 #include <ieeefp.h>
44564 #endif
44565
44566 int
44567 main ()
44568 {
44569 _finitef(0);
44570 ;
44571 return 0;
44572 }
44573 _ACEOF
44574 if ac_fn_cxx_try_compile "$LINENO"; then :
44575 glibcxx_cv_func__finitef_use=yes
44576 else
44577 glibcxx_cv_func__finitef_use=no
44578 fi
44579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44580 ac_ext=c
44581 ac_cpp='$CPP $CPPFLAGS'
44582 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44583 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44584 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44585
44586
44587 fi
44588
44589 fi
44590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
44591 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
44592
44593 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
44594 for ac_func in _finitef
44595 do :
44596 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
44597 if test "x$ac_cv_func__finitef" = xyes; then :
44598 cat >>confdefs.h <<_ACEOF
44599 #define HAVE__FINITEF 1
44600 _ACEOF
44601
44602 fi
44603 done
44604
44605 fi
44606 fi
44607
44608
44609
44610
44611
44612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
44613 $as_echo_n "checking for long double trig functions... " >&6; }
44614 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
44615 $as_echo_n "(cached) " >&6
44616 else
44617
44618
44619 ac_ext=cpp
44620 ac_cpp='$CXXCPP $CPPFLAGS'
44621 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44622 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44623 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44624
44625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44626 /* end confdefs.h. */
44627 #include <math.h>
44628 int
44629 main ()
44630 {
44631 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
44632 ;
44633 return 0;
44634 }
44635 _ACEOF
44636 if ac_fn_cxx_try_compile "$LINENO"; then :
44637 glibcxx_cv_func_long_double_trig_use=yes
44638 else
44639 glibcxx_cv_func_long_double_trig_use=no
44640 fi
44641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44642 ac_ext=c
44643 ac_cpp='$CPP $CPPFLAGS'
44644 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44645 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44646 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44647
44648 fi
44649
44650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
44651 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
44652 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
44653 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
44654 do :
44655 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44656 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44657 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44658 cat >>confdefs.h <<_ACEOF
44659 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44660 _ACEOF
44661
44662 fi
44663 done
44664
44665 else
44666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
44667 $as_echo_n "checking for _long double trig functions... " >&6; }
44668 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
44669 $as_echo_n "(cached) " >&6
44670 else
44671
44672
44673 ac_ext=cpp
44674 ac_cpp='$CXXCPP $CPPFLAGS'
44675 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44676 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44677 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44678
44679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44680 /* end confdefs.h. */
44681 #include <math.h>
44682 int
44683 main ()
44684 {
44685 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
44686 ;
44687 return 0;
44688 }
44689 _ACEOF
44690 if ac_fn_cxx_try_compile "$LINENO"; then :
44691 glibcxx_cv_func__long_double_trig_use=yes
44692 else
44693 glibcxx_cv_func__long_double_trig_use=no
44694 fi
44695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44696 ac_ext=c
44697 ac_cpp='$CPP $CPPFLAGS'
44698 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44699 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44700 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44701
44702 fi
44703
44704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
44705 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
44706 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
44707 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
44708 do :
44709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44711 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44712 cat >>confdefs.h <<_ACEOF
44713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44714 _ACEOF
44715
44716 fi
44717 done
44718
44719 fi
44720 fi
44721
44722
44723
44724
44725
44726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
44727 $as_echo_n "checking for long double round functions... " >&6; }
44728 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
44729 $as_echo_n "(cached) " >&6
44730 else
44731
44732
44733 ac_ext=cpp
44734 ac_cpp='$CXXCPP $CPPFLAGS'
44735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44738
44739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44740 /* end confdefs.h. */
44741 #include <math.h>
44742 int
44743 main ()
44744 {
44745 ceill (0); floorl (0);
44746 ;
44747 return 0;
44748 }
44749 _ACEOF
44750 if ac_fn_cxx_try_compile "$LINENO"; then :
44751 glibcxx_cv_func_long_double_round_use=yes
44752 else
44753 glibcxx_cv_func_long_double_round_use=no
44754 fi
44755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44756 ac_ext=c
44757 ac_cpp='$CPP $CPPFLAGS'
44758 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44759 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44760 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44761
44762 fi
44763
44764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
44765 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
44766 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
44767 for ac_func in ceill floorl
44768 do :
44769 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44770 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44771 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44772 cat >>confdefs.h <<_ACEOF
44773 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44774 _ACEOF
44775
44776 fi
44777 done
44778
44779 else
44780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
44781 $as_echo_n "checking for _long double round functions... " >&6; }
44782 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
44783 $as_echo_n "(cached) " >&6
44784 else
44785
44786
44787 ac_ext=cpp
44788 ac_cpp='$CXXCPP $CPPFLAGS'
44789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44792
44793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44794 /* end confdefs.h. */
44795 #include <math.h>
44796 int
44797 main ()
44798 {
44799 _ceill (0); _floorl (0);
44800 ;
44801 return 0;
44802 }
44803 _ACEOF
44804 if ac_fn_cxx_try_compile "$LINENO"; then :
44805 glibcxx_cv_func__long_double_round_use=yes
44806 else
44807 glibcxx_cv_func__long_double_round_use=no
44808 fi
44809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44810 ac_ext=c
44811 ac_cpp='$CPP $CPPFLAGS'
44812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44815
44816 fi
44817
44818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
44819 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
44820 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
44821 for ac_func in _ceill _floorl
44822 do :
44823 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
44824 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
44825 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
44826 cat >>confdefs.h <<_ACEOF
44827 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
44828 _ACEOF
44829
44830 fi
44831 done
44832
44833 fi
44834 fi
44835
44836
44837
44838
44839
44840
44841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
44842 $as_echo_n "checking for isnanl declaration... " >&6; }
44843 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
44844 if ${glibcxx_cv_func_isnanl_use+:} false; then :
44845 $as_echo_n "(cached) " >&6
44846 else
44847
44848
44849 ac_ext=cpp
44850 ac_cpp='$CXXCPP $CPPFLAGS'
44851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44854
44855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44856 /* end confdefs.h. */
44857 #include <math.h>
44858 #ifdef HAVE_IEEEFP_H
44859 #include <ieeefp.h>
44860 #endif
44861
44862 int
44863 main ()
44864 {
44865 isnanl(0);
44866 ;
44867 return 0;
44868 }
44869 _ACEOF
44870 if ac_fn_cxx_try_compile "$LINENO"; then :
44871 glibcxx_cv_func_isnanl_use=yes
44872 else
44873 glibcxx_cv_func_isnanl_use=no
44874 fi
44875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44876 ac_ext=c
44877 ac_cpp='$CPP $CPPFLAGS'
44878 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44879 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44880 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44881
44882
44883 fi
44884
44885 fi
44886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
44887 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
44888
44889 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
44890 for ac_func in isnanl
44891 do :
44892 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
44893 if test "x$ac_cv_func_isnanl" = xyes; then :
44894 cat >>confdefs.h <<_ACEOF
44895 #define HAVE_ISNANL 1
44896 _ACEOF
44897
44898 fi
44899 done
44900
44901 else
44902
44903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
44904 $as_echo_n "checking for _isnanl declaration... " >&6; }
44905 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
44906 if ${glibcxx_cv_func__isnanl_use+:} false; then :
44907 $as_echo_n "(cached) " >&6
44908 else
44909
44910
44911 ac_ext=cpp
44912 ac_cpp='$CXXCPP $CPPFLAGS'
44913 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44914 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44915 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44916
44917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44918 /* end confdefs.h. */
44919 #include <math.h>
44920 #ifdef HAVE_IEEEFP_H
44921 #include <ieeefp.h>
44922 #endif
44923
44924 int
44925 main ()
44926 {
44927 _isnanl(0);
44928 ;
44929 return 0;
44930 }
44931 _ACEOF
44932 if ac_fn_cxx_try_compile "$LINENO"; then :
44933 glibcxx_cv_func__isnanl_use=yes
44934 else
44935 glibcxx_cv_func__isnanl_use=no
44936 fi
44937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44938 ac_ext=c
44939 ac_cpp='$CPP $CPPFLAGS'
44940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44943
44944
44945 fi
44946
44947 fi
44948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
44949 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
44950
44951 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
44952 for ac_func in _isnanl
44953 do :
44954 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
44955 if test "x$ac_cv_func__isnanl" = xyes; then :
44956 cat >>confdefs.h <<_ACEOF
44957 #define HAVE__ISNANL 1
44958 _ACEOF
44959
44960 fi
44961 done
44962
44963 fi
44964 fi
44965
44966
44967
44968
44969
44970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
44971 $as_echo_n "checking for isinfl declaration... " >&6; }
44972 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
44973 if ${glibcxx_cv_func_isinfl_use+:} false; then :
44974 $as_echo_n "(cached) " >&6
44975 else
44976
44977
44978 ac_ext=cpp
44979 ac_cpp='$CXXCPP $CPPFLAGS'
44980 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44981 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44982 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44983
44984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
44985 /* end confdefs.h. */
44986 #include <math.h>
44987 #ifdef HAVE_IEEEFP_H
44988 #include <ieeefp.h>
44989 #endif
44990
44991 int
44992 main ()
44993 {
44994 isinfl(0);
44995 ;
44996 return 0;
44997 }
44998 _ACEOF
44999 if ac_fn_cxx_try_compile "$LINENO"; then :
45000 glibcxx_cv_func_isinfl_use=yes
45001 else
45002 glibcxx_cv_func_isinfl_use=no
45003 fi
45004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45005 ac_ext=c
45006 ac_cpp='$CPP $CPPFLAGS'
45007 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45008 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45009 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45010
45011
45012 fi
45013
45014 fi
45015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
45016 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
45017
45018 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
45019 for ac_func in isinfl
45020 do :
45021 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
45022 if test "x$ac_cv_func_isinfl" = xyes; then :
45023 cat >>confdefs.h <<_ACEOF
45024 #define HAVE_ISINFL 1
45025 _ACEOF
45026
45027 fi
45028 done
45029
45030 else
45031
45032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
45033 $as_echo_n "checking for _isinfl declaration... " >&6; }
45034 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
45035 if ${glibcxx_cv_func__isinfl_use+:} false; then :
45036 $as_echo_n "(cached) " >&6
45037 else
45038
45039
45040 ac_ext=cpp
45041 ac_cpp='$CXXCPP $CPPFLAGS'
45042 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45043 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45044 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45045
45046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45047 /* end confdefs.h. */
45048 #include <math.h>
45049 #ifdef HAVE_IEEEFP_H
45050 #include <ieeefp.h>
45051 #endif
45052
45053 int
45054 main ()
45055 {
45056 _isinfl(0);
45057 ;
45058 return 0;
45059 }
45060 _ACEOF
45061 if ac_fn_cxx_try_compile "$LINENO"; then :
45062 glibcxx_cv_func__isinfl_use=yes
45063 else
45064 glibcxx_cv_func__isinfl_use=no
45065 fi
45066 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45067 ac_ext=c
45068 ac_cpp='$CPP $CPPFLAGS'
45069 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45070 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45071 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45072
45073
45074 fi
45075
45076 fi
45077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
45078 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
45079
45080 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
45081 for ac_func in _isinfl
45082 do :
45083 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
45084 if test "x$ac_cv_func__isinfl" = xyes; then :
45085 cat >>confdefs.h <<_ACEOF
45086 #define HAVE__ISINFL 1
45087 _ACEOF
45088
45089 fi
45090 done
45091
45092 fi
45093 fi
45094
45095
45096
45097
45098
45099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
45100 $as_echo_n "checking for atan2l declaration... " >&6; }
45101 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
45102 if ${glibcxx_cv_func_atan2l_use+:} false; then :
45103 $as_echo_n "(cached) " >&6
45104 else
45105
45106
45107 ac_ext=cpp
45108 ac_cpp='$CXXCPP $CPPFLAGS'
45109 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45110 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45111 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45112
45113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45114 /* end confdefs.h. */
45115 #include <math.h>
45116 int
45117 main ()
45118 {
45119 atan2l(0, 0);
45120 ;
45121 return 0;
45122 }
45123 _ACEOF
45124 if ac_fn_cxx_try_compile "$LINENO"; then :
45125 glibcxx_cv_func_atan2l_use=yes
45126 else
45127 glibcxx_cv_func_atan2l_use=no
45128 fi
45129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45130 ac_ext=c
45131 ac_cpp='$CPP $CPPFLAGS'
45132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45135
45136
45137 fi
45138
45139 fi
45140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
45141 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
45142
45143 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
45144 for ac_func in atan2l
45145 do :
45146 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
45147 if test "x$ac_cv_func_atan2l" = xyes; then :
45148 cat >>confdefs.h <<_ACEOF
45149 #define HAVE_ATAN2L 1
45150 _ACEOF
45151
45152 fi
45153 done
45154
45155 else
45156
45157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
45158 $as_echo_n "checking for _atan2l declaration... " >&6; }
45159 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
45160 if ${glibcxx_cv_func__atan2l_use+:} false; then :
45161 $as_echo_n "(cached) " >&6
45162 else
45163
45164
45165 ac_ext=cpp
45166 ac_cpp='$CXXCPP $CPPFLAGS'
45167 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45168 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45169 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45170
45171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45172 /* end confdefs.h. */
45173 #include <math.h>
45174 int
45175 main ()
45176 {
45177 _atan2l(0, 0);
45178 ;
45179 return 0;
45180 }
45181 _ACEOF
45182 if ac_fn_cxx_try_compile "$LINENO"; then :
45183 glibcxx_cv_func__atan2l_use=yes
45184 else
45185 glibcxx_cv_func__atan2l_use=no
45186 fi
45187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45188 ac_ext=c
45189 ac_cpp='$CPP $CPPFLAGS'
45190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45193
45194
45195 fi
45196
45197 fi
45198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
45199 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
45200
45201 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
45202 for ac_func in _atan2l
45203 do :
45204 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
45205 if test "x$ac_cv_func__atan2l" = xyes; then :
45206 cat >>confdefs.h <<_ACEOF
45207 #define HAVE__ATAN2L 1
45208 _ACEOF
45209
45210 fi
45211 done
45212
45213 fi
45214 fi
45215
45216
45217
45218
45219
45220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
45221 $as_echo_n "checking for expl declaration... " >&6; }
45222 if test x${glibcxx_cv_func_expl_use+set} != xset; then
45223 if ${glibcxx_cv_func_expl_use+:} false; then :
45224 $as_echo_n "(cached) " >&6
45225 else
45226
45227
45228 ac_ext=cpp
45229 ac_cpp='$CXXCPP $CPPFLAGS'
45230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45233
45234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45235 /* end confdefs.h. */
45236 #include <math.h>
45237 #ifdef HAVE_IEEEFP_H
45238 #include <ieeefp.h>
45239 #endif
45240
45241 int
45242 main ()
45243 {
45244 expl(0);
45245 ;
45246 return 0;
45247 }
45248 _ACEOF
45249 if ac_fn_cxx_try_compile "$LINENO"; then :
45250 glibcxx_cv_func_expl_use=yes
45251 else
45252 glibcxx_cv_func_expl_use=no
45253 fi
45254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45255 ac_ext=c
45256 ac_cpp='$CPP $CPPFLAGS'
45257 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45258 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45259 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45260
45261
45262 fi
45263
45264 fi
45265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
45266 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
45267
45268 if test x$glibcxx_cv_func_expl_use = x"yes"; then
45269 for ac_func in expl
45270 do :
45271 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
45272 if test "x$ac_cv_func_expl" = xyes; then :
45273 cat >>confdefs.h <<_ACEOF
45274 #define HAVE_EXPL 1
45275 _ACEOF
45276
45277 fi
45278 done
45279
45280 else
45281
45282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
45283 $as_echo_n "checking for _expl declaration... " >&6; }
45284 if test x${glibcxx_cv_func__expl_use+set} != xset; then
45285 if ${glibcxx_cv_func__expl_use+:} false; then :
45286 $as_echo_n "(cached) " >&6
45287 else
45288
45289
45290 ac_ext=cpp
45291 ac_cpp='$CXXCPP $CPPFLAGS'
45292 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45293 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45294 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45295
45296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45297 /* end confdefs.h. */
45298 #include <math.h>
45299 #ifdef HAVE_IEEEFP_H
45300 #include <ieeefp.h>
45301 #endif
45302
45303 int
45304 main ()
45305 {
45306 _expl(0);
45307 ;
45308 return 0;
45309 }
45310 _ACEOF
45311 if ac_fn_cxx_try_compile "$LINENO"; then :
45312 glibcxx_cv_func__expl_use=yes
45313 else
45314 glibcxx_cv_func__expl_use=no
45315 fi
45316 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45317 ac_ext=c
45318 ac_cpp='$CPP $CPPFLAGS'
45319 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45320 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45321 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45322
45323
45324 fi
45325
45326 fi
45327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
45328 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
45329
45330 if test x$glibcxx_cv_func__expl_use = x"yes"; then
45331 for ac_func in _expl
45332 do :
45333 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
45334 if test "x$ac_cv_func__expl" = xyes; then :
45335 cat >>confdefs.h <<_ACEOF
45336 #define HAVE__EXPL 1
45337 _ACEOF
45338
45339 fi
45340 done
45341
45342 fi
45343 fi
45344
45345
45346
45347
45348
45349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
45350 $as_echo_n "checking for fabsl declaration... " >&6; }
45351 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
45352 if ${glibcxx_cv_func_fabsl_use+:} false; then :
45353 $as_echo_n "(cached) " >&6
45354 else
45355
45356
45357 ac_ext=cpp
45358 ac_cpp='$CXXCPP $CPPFLAGS'
45359 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45360 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45361 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45362
45363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45364 /* end confdefs.h. */
45365 #include <math.h>
45366 #ifdef HAVE_IEEEFP_H
45367 #include <ieeefp.h>
45368 #endif
45369
45370 int
45371 main ()
45372 {
45373 fabsl(0);
45374 ;
45375 return 0;
45376 }
45377 _ACEOF
45378 if ac_fn_cxx_try_compile "$LINENO"; then :
45379 glibcxx_cv_func_fabsl_use=yes
45380 else
45381 glibcxx_cv_func_fabsl_use=no
45382 fi
45383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45384 ac_ext=c
45385 ac_cpp='$CPP $CPPFLAGS'
45386 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45387 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45388 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45389
45390
45391 fi
45392
45393 fi
45394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
45395 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
45396
45397 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
45398 for ac_func in fabsl
45399 do :
45400 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
45401 if test "x$ac_cv_func_fabsl" = xyes; then :
45402 cat >>confdefs.h <<_ACEOF
45403 #define HAVE_FABSL 1
45404 _ACEOF
45405
45406 fi
45407 done
45408
45409 else
45410
45411 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
45412 $as_echo_n "checking for _fabsl declaration... " >&6; }
45413 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
45414 if ${glibcxx_cv_func__fabsl_use+:} false; then :
45415 $as_echo_n "(cached) " >&6
45416 else
45417
45418
45419 ac_ext=cpp
45420 ac_cpp='$CXXCPP $CPPFLAGS'
45421 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45422 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45423 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45424
45425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45426 /* end confdefs.h. */
45427 #include <math.h>
45428 #ifdef HAVE_IEEEFP_H
45429 #include <ieeefp.h>
45430 #endif
45431
45432 int
45433 main ()
45434 {
45435 _fabsl(0);
45436 ;
45437 return 0;
45438 }
45439 _ACEOF
45440 if ac_fn_cxx_try_compile "$LINENO"; then :
45441 glibcxx_cv_func__fabsl_use=yes
45442 else
45443 glibcxx_cv_func__fabsl_use=no
45444 fi
45445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45446 ac_ext=c
45447 ac_cpp='$CPP $CPPFLAGS'
45448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45451
45452
45453 fi
45454
45455 fi
45456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
45457 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
45458
45459 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
45460 for ac_func in _fabsl
45461 do :
45462 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
45463 if test "x$ac_cv_func__fabsl" = xyes; then :
45464 cat >>confdefs.h <<_ACEOF
45465 #define HAVE__FABSL 1
45466 _ACEOF
45467
45468 fi
45469 done
45470
45471 fi
45472 fi
45473
45474
45475
45476
45477
45478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
45479 $as_echo_n "checking for fmodl declaration... " >&6; }
45480 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
45481 if ${glibcxx_cv_func_fmodl_use+:} false; then :
45482 $as_echo_n "(cached) " >&6
45483 else
45484
45485
45486 ac_ext=cpp
45487 ac_cpp='$CXXCPP $CPPFLAGS'
45488 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45489 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45490 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45491
45492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45493 /* end confdefs.h. */
45494 #include <math.h>
45495 int
45496 main ()
45497 {
45498 fmodl(0, 0);
45499 ;
45500 return 0;
45501 }
45502 _ACEOF
45503 if ac_fn_cxx_try_compile "$LINENO"; then :
45504 glibcxx_cv_func_fmodl_use=yes
45505 else
45506 glibcxx_cv_func_fmodl_use=no
45507 fi
45508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45509 ac_ext=c
45510 ac_cpp='$CPP $CPPFLAGS'
45511 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45512 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45513 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45514
45515
45516 fi
45517
45518 fi
45519 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
45520 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
45521
45522 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
45523 for ac_func in fmodl
45524 do :
45525 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
45526 if test "x$ac_cv_func_fmodl" = xyes; then :
45527 cat >>confdefs.h <<_ACEOF
45528 #define HAVE_FMODL 1
45529 _ACEOF
45530
45531 fi
45532 done
45533
45534 else
45535
45536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
45537 $as_echo_n "checking for _fmodl declaration... " >&6; }
45538 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
45539 if ${glibcxx_cv_func__fmodl_use+:} false; then :
45540 $as_echo_n "(cached) " >&6
45541 else
45542
45543
45544 ac_ext=cpp
45545 ac_cpp='$CXXCPP $CPPFLAGS'
45546 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45547 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45548 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45549
45550 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45551 /* end confdefs.h. */
45552 #include <math.h>
45553 int
45554 main ()
45555 {
45556 _fmodl(0, 0);
45557 ;
45558 return 0;
45559 }
45560 _ACEOF
45561 if ac_fn_cxx_try_compile "$LINENO"; then :
45562 glibcxx_cv_func__fmodl_use=yes
45563 else
45564 glibcxx_cv_func__fmodl_use=no
45565 fi
45566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45567 ac_ext=c
45568 ac_cpp='$CPP $CPPFLAGS'
45569 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45570 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45571 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45572
45573
45574 fi
45575
45576 fi
45577 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
45578 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
45579
45580 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
45581 for ac_func in _fmodl
45582 do :
45583 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
45584 if test "x$ac_cv_func__fmodl" = xyes; then :
45585 cat >>confdefs.h <<_ACEOF
45586 #define HAVE__FMODL 1
45587 _ACEOF
45588
45589 fi
45590 done
45591
45592 fi
45593 fi
45594
45595
45596
45597
45598
45599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
45600 $as_echo_n "checking for frexpl declaration... " >&6; }
45601 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
45602 if ${glibcxx_cv_func_frexpl_use+:} false; then :
45603 $as_echo_n "(cached) " >&6
45604 else
45605
45606
45607 ac_ext=cpp
45608 ac_cpp='$CXXCPP $CPPFLAGS'
45609 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45610 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45611 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45612
45613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45614 /* end confdefs.h. */
45615 #include <math.h>
45616 int
45617 main ()
45618 {
45619 frexpl(0, 0);
45620 ;
45621 return 0;
45622 }
45623 _ACEOF
45624 if ac_fn_cxx_try_compile "$LINENO"; then :
45625 glibcxx_cv_func_frexpl_use=yes
45626 else
45627 glibcxx_cv_func_frexpl_use=no
45628 fi
45629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45630 ac_ext=c
45631 ac_cpp='$CPP $CPPFLAGS'
45632 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45633 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45634 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45635
45636
45637 fi
45638
45639 fi
45640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
45641 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
45642
45643 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
45644 for ac_func in frexpl
45645 do :
45646 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
45647 if test "x$ac_cv_func_frexpl" = xyes; then :
45648 cat >>confdefs.h <<_ACEOF
45649 #define HAVE_FREXPL 1
45650 _ACEOF
45651
45652 fi
45653 done
45654
45655 else
45656
45657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
45658 $as_echo_n "checking for _frexpl declaration... " >&6; }
45659 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
45660 if ${glibcxx_cv_func__frexpl_use+:} false; then :
45661 $as_echo_n "(cached) " >&6
45662 else
45663
45664
45665 ac_ext=cpp
45666 ac_cpp='$CXXCPP $CPPFLAGS'
45667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45670
45671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45672 /* end confdefs.h. */
45673 #include <math.h>
45674 int
45675 main ()
45676 {
45677 _frexpl(0, 0);
45678 ;
45679 return 0;
45680 }
45681 _ACEOF
45682 if ac_fn_cxx_try_compile "$LINENO"; then :
45683 glibcxx_cv_func__frexpl_use=yes
45684 else
45685 glibcxx_cv_func__frexpl_use=no
45686 fi
45687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45688 ac_ext=c
45689 ac_cpp='$CPP $CPPFLAGS'
45690 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45691 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45692 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45693
45694
45695 fi
45696
45697 fi
45698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
45699 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
45700
45701 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
45702 for ac_func in _frexpl
45703 do :
45704 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
45705 if test "x$ac_cv_func__frexpl" = xyes; then :
45706 cat >>confdefs.h <<_ACEOF
45707 #define HAVE__FREXPL 1
45708 _ACEOF
45709
45710 fi
45711 done
45712
45713 fi
45714 fi
45715
45716
45717
45718
45719
45720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
45721 $as_echo_n "checking for hypotl declaration... " >&6; }
45722 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
45723 if ${glibcxx_cv_func_hypotl_use+:} false; then :
45724 $as_echo_n "(cached) " >&6
45725 else
45726
45727
45728 ac_ext=cpp
45729 ac_cpp='$CXXCPP $CPPFLAGS'
45730 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45731 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45732 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45733
45734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45735 /* end confdefs.h. */
45736 #include <math.h>
45737 int
45738 main ()
45739 {
45740 hypotl(0, 0);
45741 ;
45742 return 0;
45743 }
45744 _ACEOF
45745 if ac_fn_cxx_try_compile "$LINENO"; then :
45746 glibcxx_cv_func_hypotl_use=yes
45747 else
45748 glibcxx_cv_func_hypotl_use=no
45749 fi
45750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45751 ac_ext=c
45752 ac_cpp='$CPP $CPPFLAGS'
45753 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45754 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45755 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45756
45757
45758 fi
45759
45760 fi
45761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
45762 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
45763
45764 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
45765 for ac_func in hypotl
45766 do :
45767 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
45768 if test "x$ac_cv_func_hypotl" = xyes; then :
45769 cat >>confdefs.h <<_ACEOF
45770 #define HAVE_HYPOTL 1
45771 _ACEOF
45772
45773 fi
45774 done
45775
45776 else
45777
45778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
45779 $as_echo_n "checking for _hypotl declaration... " >&6; }
45780 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
45781 if ${glibcxx_cv_func__hypotl_use+:} false; then :
45782 $as_echo_n "(cached) " >&6
45783 else
45784
45785
45786 ac_ext=cpp
45787 ac_cpp='$CXXCPP $CPPFLAGS'
45788 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45789 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45790 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45791
45792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45793 /* end confdefs.h. */
45794 #include <math.h>
45795 int
45796 main ()
45797 {
45798 _hypotl(0, 0);
45799 ;
45800 return 0;
45801 }
45802 _ACEOF
45803 if ac_fn_cxx_try_compile "$LINENO"; then :
45804 glibcxx_cv_func__hypotl_use=yes
45805 else
45806 glibcxx_cv_func__hypotl_use=no
45807 fi
45808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45809 ac_ext=c
45810 ac_cpp='$CPP $CPPFLAGS'
45811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45814
45815
45816 fi
45817
45818 fi
45819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
45820 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
45821
45822 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
45823 for ac_func in _hypotl
45824 do :
45825 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
45826 if test "x$ac_cv_func__hypotl" = xyes; then :
45827 cat >>confdefs.h <<_ACEOF
45828 #define HAVE__HYPOTL 1
45829 _ACEOF
45830
45831 fi
45832 done
45833
45834 fi
45835 fi
45836
45837
45838
45839
45840
45841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
45842 $as_echo_n "checking for ldexpl declaration... " >&6; }
45843 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
45844 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
45845 $as_echo_n "(cached) " >&6
45846 else
45847
45848
45849 ac_ext=cpp
45850 ac_cpp='$CXXCPP $CPPFLAGS'
45851 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45852 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45853 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45854
45855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45856 /* end confdefs.h. */
45857 #include <math.h>
45858 int
45859 main ()
45860 {
45861 ldexpl(0, 0);
45862 ;
45863 return 0;
45864 }
45865 _ACEOF
45866 if ac_fn_cxx_try_compile "$LINENO"; then :
45867 glibcxx_cv_func_ldexpl_use=yes
45868 else
45869 glibcxx_cv_func_ldexpl_use=no
45870 fi
45871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45872 ac_ext=c
45873 ac_cpp='$CPP $CPPFLAGS'
45874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45877
45878
45879 fi
45880
45881 fi
45882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
45883 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
45884
45885 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
45886 for ac_func in ldexpl
45887 do :
45888 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
45889 if test "x$ac_cv_func_ldexpl" = xyes; then :
45890 cat >>confdefs.h <<_ACEOF
45891 #define HAVE_LDEXPL 1
45892 _ACEOF
45893
45894 fi
45895 done
45896
45897 else
45898
45899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
45900 $as_echo_n "checking for _ldexpl declaration... " >&6; }
45901 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
45902 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
45903 $as_echo_n "(cached) " >&6
45904 else
45905
45906
45907 ac_ext=cpp
45908 ac_cpp='$CXXCPP $CPPFLAGS'
45909 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45910 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45911 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45912
45913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45914 /* end confdefs.h. */
45915 #include <math.h>
45916 int
45917 main ()
45918 {
45919 _ldexpl(0, 0);
45920 ;
45921 return 0;
45922 }
45923 _ACEOF
45924 if ac_fn_cxx_try_compile "$LINENO"; then :
45925 glibcxx_cv_func__ldexpl_use=yes
45926 else
45927 glibcxx_cv_func__ldexpl_use=no
45928 fi
45929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45930 ac_ext=c
45931 ac_cpp='$CPP $CPPFLAGS'
45932 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45933 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45934 ac_compiler_gnu=$ac_cv_c_compiler_gnu
45935
45936
45937 fi
45938
45939 fi
45940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
45941 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
45942
45943 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
45944 for ac_func in _ldexpl
45945 do :
45946 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
45947 if test "x$ac_cv_func__ldexpl" = xyes; then :
45948 cat >>confdefs.h <<_ACEOF
45949 #define HAVE__LDEXPL 1
45950 _ACEOF
45951
45952 fi
45953 done
45954
45955 fi
45956 fi
45957
45958
45959
45960
45961
45962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
45963 $as_echo_n "checking for logl declaration... " >&6; }
45964 if test x${glibcxx_cv_func_logl_use+set} != xset; then
45965 if ${glibcxx_cv_func_logl_use+:} false; then :
45966 $as_echo_n "(cached) " >&6
45967 else
45968
45969
45970 ac_ext=cpp
45971 ac_cpp='$CXXCPP $CPPFLAGS'
45972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
45973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
45974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
45975
45976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
45977 /* end confdefs.h. */
45978 #include <math.h>
45979 #ifdef HAVE_IEEEFP_H
45980 #include <ieeefp.h>
45981 #endif
45982
45983 int
45984 main ()
45985 {
45986 logl(0);
45987 ;
45988 return 0;
45989 }
45990 _ACEOF
45991 if ac_fn_cxx_try_compile "$LINENO"; then :
45992 glibcxx_cv_func_logl_use=yes
45993 else
45994 glibcxx_cv_func_logl_use=no
45995 fi
45996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45997 ac_ext=c
45998 ac_cpp='$CPP $CPPFLAGS'
45999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46002
46003
46004 fi
46005
46006 fi
46007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
46008 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
46009
46010 if test x$glibcxx_cv_func_logl_use = x"yes"; then
46011 for ac_func in logl
46012 do :
46013 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
46014 if test "x$ac_cv_func_logl" = xyes; then :
46015 cat >>confdefs.h <<_ACEOF
46016 #define HAVE_LOGL 1
46017 _ACEOF
46018
46019 fi
46020 done
46021
46022 else
46023
46024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
46025 $as_echo_n "checking for _logl declaration... " >&6; }
46026 if test x${glibcxx_cv_func__logl_use+set} != xset; then
46027 if ${glibcxx_cv_func__logl_use+:} false; then :
46028 $as_echo_n "(cached) " >&6
46029 else
46030
46031
46032 ac_ext=cpp
46033 ac_cpp='$CXXCPP $CPPFLAGS'
46034 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46035 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46036 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46037
46038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46039 /* end confdefs.h. */
46040 #include <math.h>
46041 #ifdef HAVE_IEEEFP_H
46042 #include <ieeefp.h>
46043 #endif
46044
46045 int
46046 main ()
46047 {
46048 _logl(0);
46049 ;
46050 return 0;
46051 }
46052 _ACEOF
46053 if ac_fn_cxx_try_compile "$LINENO"; then :
46054 glibcxx_cv_func__logl_use=yes
46055 else
46056 glibcxx_cv_func__logl_use=no
46057 fi
46058 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46059 ac_ext=c
46060 ac_cpp='$CPP $CPPFLAGS'
46061 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46062 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46063 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46064
46065
46066 fi
46067
46068 fi
46069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
46070 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
46071
46072 if test x$glibcxx_cv_func__logl_use = x"yes"; then
46073 for ac_func in _logl
46074 do :
46075 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
46076 if test "x$ac_cv_func__logl" = xyes; then :
46077 cat >>confdefs.h <<_ACEOF
46078 #define HAVE__LOGL 1
46079 _ACEOF
46080
46081 fi
46082 done
46083
46084 fi
46085 fi
46086
46087
46088
46089
46090
46091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
46092 $as_echo_n "checking for log10l declaration... " >&6; }
46093 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
46094 if ${glibcxx_cv_func_log10l_use+:} false; then :
46095 $as_echo_n "(cached) " >&6
46096 else
46097
46098
46099 ac_ext=cpp
46100 ac_cpp='$CXXCPP $CPPFLAGS'
46101 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46102 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46103 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46104
46105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46106 /* end confdefs.h. */
46107 #include <math.h>
46108 #ifdef HAVE_IEEEFP_H
46109 #include <ieeefp.h>
46110 #endif
46111
46112 int
46113 main ()
46114 {
46115 log10l(0);
46116 ;
46117 return 0;
46118 }
46119 _ACEOF
46120 if ac_fn_cxx_try_compile "$LINENO"; then :
46121 glibcxx_cv_func_log10l_use=yes
46122 else
46123 glibcxx_cv_func_log10l_use=no
46124 fi
46125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46126 ac_ext=c
46127 ac_cpp='$CPP $CPPFLAGS'
46128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46131
46132
46133 fi
46134
46135 fi
46136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
46137 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
46138
46139 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
46140 for ac_func in log10l
46141 do :
46142 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
46143 if test "x$ac_cv_func_log10l" = xyes; then :
46144 cat >>confdefs.h <<_ACEOF
46145 #define HAVE_LOG10L 1
46146 _ACEOF
46147
46148 fi
46149 done
46150
46151 else
46152
46153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
46154 $as_echo_n "checking for _log10l declaration... " >&6; }
46155 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
46156 if ${glibcxx_cv_func__log10l_use+:} false; then :
46157 $as_echo_n "(cached) " >&6
46158 else
46159
46160
46161 ac_ext=cpp
46162 ac_cpp='$CXXCPP $CPPFLAGS'
46163 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46164 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46165 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46166
46167 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46168 /* end confdefs.h. */
46169 #include <math.h>
46170 #ifdef HAVE_IEEEFP_H
46171 #include <ieeefp.h>
46172 #endif
46173
46174 int
46175 main ()
46176 {
46177 _log10l(0);
46178 ;
46179 return 0;
46180 }
46181 _ACEOF
46182 if ac_fn_cxx_try_compile "$LINENO"; then :
46183 glibcxx_cv_func__log10l_use=yes
46184 else
46185 glibcxx_cv_func__log10l_use=no
46186 fi
46187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46188 ac_ext=c
46189 ac_cpp='$CPP $CPPFLAGS'
46190 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46191 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46192 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46193
46194
46195 fi
46196
46197 fi
46198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
46199 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
46200
46201 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
46202 for ac_func in _log10l
46203 do :
46204 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
46205 if test "x$ac_cv_func__log10l" = xyes; then :
46206 cat >>confdefs.h <<_ACEOF
46207 #define HAVE__LOG10L 1
46208 _ACEOF
46209
46210 fi
46211 done
46212
46213 fi
46214 fi
46215
46216
46217
46218
46219
46220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
46221 $as_echo_n "checking for modfl declaration... " >&6; }
46222 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
46223 if ${glibcxx_cv_func_modfl_use+:} false; then :
46224 $as_echo_n "(cached) " >&6
46225 else
46226
46227
46228 ac_ext=cpp
46229 ac_cpp='$CXXCPP $CPPFLAGS'
46230 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46231 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46232 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46233
46234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46235 /* end confdefs.h. */
46236 #include <math.h>
46237 int
46238 main ()
46239 {
46240 modfl(0, 0);
46241 ;
46242 return 0;
46243 }
46244 _ACEOF
46245 if ac_fn_cxx_try_compile "$LINENO"; then :
46246 glibcxx_cv_func_modfl_use=yes
46247 else
46248 glibcxx_cv_func_modfl_use=no
46249 fi
46250 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46251 ac_ext=c
46252 ac_cpp='$CPP $CPPFLAGS'
46253 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46254 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46255 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46256
46257
46258 fi
46259
46260 fi
46261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
46262 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
46263
46264 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
46265 for ac_func in modfl
46266 do :
46267 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
46268 if test "x$ac_cv_func_modfl" = xyes; then :
46269 cat >>confdefs.h <<_ACEOF
46270 #define HAVE_MODFL 1
46271 _ACEOF
46272
46273 fi
46274 done
46275
46276 else
46277
46278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
46279 $as_echo_n "checking for _modfl declaration... " >&6; }
46280 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
46281 if ${glibcxx_cv_func__modfl_use+:} false; then :
46282 $as_echo_n "(cached) " >&6
46283 else
46284
46285
46286 ac_ext=cpp
46287 ac_cpp='$CXXCPP $CPPFLAGS'
46288 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46289 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46290 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46291
46292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46293 /* end confdefs.h. */
46294 #include <math.h>
46295 int
46296 main ()
46297 {
46298 _modfl(0, 0);
46299 ;
46300 return 0;
46301 }
46302 _ACEOF
46303 if ac_fn_cxx_try_compile "$LINENO"; then :
46304 glibcxx_cv_func__modfl_use=yes
46305 else
46306 glibcxx_cv_func__modfl_use=no
46307 fi
46308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46309 ac_ext=c
46310 ac_cpp='$CPP $CPPFLAGS'
46311 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46312 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46313 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46314
46315
46316 fi
46317
46318 fi
46319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
46320 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
46321
46322 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
46323 for ac_func in _modfl
46324 do :
46325 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
46326 if test "x$ac_cv_func__modfl" = xyes; then :
46327 cat >>confdefs.h <<_ACEOF
46328 #define HAVE__MODFL 1
46329 _ACEOF
46330
46331 fi
46332 done
46333
46334 fi
46335 fi
46336
46337
46338
46339
46340
46341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
46342 $as_echo_n "checking for powl declaration... " >&6; }
46343 if test x${glibcxx_cv_func_powl_use+set} != xset; then
46344 if ${glibcxx_cv_func_powl_use+:} false; then :
46345 $as_echo_n "(cached) " >&6
46346 else
46347
46348
46349 ac_ext=cpp
46350 ac_cpp='$CXXCPP $CPPFLAGS'
46351 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46352 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46353 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46354
46355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46356 /* end confdefs.h. */
46357 #include <math.h>
46358 int
46359 main ()
46360 {
46361 powl(0, 0);
46362 ;
46363 return 0;
46364 }
46365 _ACEOF
46366 if ac_fn_cxx_try_compile "$LINENO"; then :
46367 glibcxx_cv_func_powl_use=yes
46368 else
46369 glibcxx_cv_func_powl_use=no
46370 fi
46371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46372 ac_ext=c
46373 ac_cpp='$CPP $CPPFLAGS'
46374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46377
46378
46379 fi
46380
46381 fi
46382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
46383 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
46384
46385 if test x$glibcxx_cv_func_powl_use = x"yes"; then
46386 for ac_func in powl
46387 do :
46388 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
46389 if test "x$ac_cv_func_powl" = xyes; then :
46390 cat >>confdefs.h <<_ACEOF
46391 #define HAVE_POWL 1
46392 _ACEOF
46393
46394 fi
46395 done
46396
46397 else
46398
46399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
46400 $as_echo_n "checking for _powl declaration... " >&6; }
46401 if test x${glibcxx_cv_func__powl_use+set} != xset; then
46402 if ${glibcxx_cv_func__powl_use+:} false; then :
46403 $as_echo_n "(cached) " >&6
46404 else
46405
46406
46407 ac_ext=cpp
46408 ac_cpp='$CXXCPP $CPPFLAGS'
46409 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46410 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46411 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46412
46413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46414 /* end confdefs.h. */
46415 #include <math.h>
46416 int
46417 main ()
46418 {
46419 _powl(0, 0);
46420 ;
46421 return 0;
46422 }
46423 _ACEOF
46424 if ac_fn_cxx_try_compile "$LINENO"; then :
46425 glibcxx_cv_func__powl_use=yes
46426 else
46427 glibcxx_cv_func__powl_use=no
46428 fi
46429 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46430 ac_ext=c
46431 ac_cpp='$CPP $CPPFLAGS'
46432 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46433 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46434 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46435
46436
46437 fi
46438
46439 fi
46440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
46441 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
46442
46443 if test x$glibcxx_cv_func__powl_use = x"yes"; then
46444 for ac_func in _powl
46445 do :
46446 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
46447 if test "x$ac_cv_func__powl" = xyes; then :
46448 cat >>confdefs.h <<_ACEOF
46449 #define HAVE__POWL 1
46450 _ACEOF
46451
46452 fi
46453 done
46454
46455 fi
46456 fi
46457
46458
46459
46460
46461
46462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
46463 $as_echo_n "checking for sqrtl declaration... " >&6; }
46464 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
46465 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
46466 $as_echo_n "(cached) " >&6
46467 else
46468
46469
46470 ac_ext=cpp
46471 ac_cpp='$CXXCPP $CPPFLAGS'
46472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46475
46476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46477 /* end confdefs.h. */
46478 #include <math.h>
46479 #ifdef HAVE_IEEEFP_H
46480 #include <ieeefp.h>
46481 #endif
46482
46483 int
46484 main ()
46485 {
46486 sqrtl(0);
46487 ;
46488 return 0;
46489 }
46490 _ACEOF
46491 if ac_fn_cxx_try_compile "$LINENO"; then :
46492 glibcxx_cv_func_sqrtl_use=yes
46493 else
46494 glibcxx_cv_func_sqrtl_use=no
46495 fi
46496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46497 ac_ext=c
46498 ac_cpp='$CPP $CPPFLAGS'
46499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46502
46503
46504 fi
46505
46506 fi
46507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
46508 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
46509
46510 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
46511 for ac_func in sqrtl
46512 do :
46513 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
46514 if test "x$ac_cv_func_sqrtl" = xyes; then :
46515 cat >>confdefs.h <<_ACEOF
46516 #define HAVE_SQRTL 1
46517 _ACEOF
46518
46519 fi
46520 done
46521
46522 else
46523
46524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
46525 $as_echo_n "checking for _sqrtl declaration... " >&6; }
46526 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
46527 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
46528 $as_echo_n "(cached) " >&6
46529 else
46530
46531
46532 ac_ext=cpp
46533 ac_cpp='$CXXCPP $CPPFLAGS'
46534 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46535 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46536 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46537
46538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46539 /* end confdefs.h. */
46540 #include <math.h>
46541 #ifdef HAVE_IEEEFP_H
46542 #include <ieeefp.h>
46543 #endif
46544
46545 int
46546 main ()
46547 {
46548 _sqrtl(0);
46549 ;
46550 return 0;
46551 }
46552 _ACEOF
46553 if ac_fn_cxx_try_compile "$LINENO"; then :
46554 glibcxx_cv_func__sqrtl_use=yes
46555 else
46556 glibcxx_cv_func__sqrtl_use=no
46557 fi
46558 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46559 ac_ext=c
46560 ac_cpp='$CPP $CPPFLAGS'
46561 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46562 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46563 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46564
46565
46566 fi
46567
46568 fi
46569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
46570 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
46571
46572 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
46573 for ac_func in _sqrtl
46574 do :
46575 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
46576 if test "x$ac_cv_func__sqrtl" = xyes; then :
46577 cat >>confdefs.h <<_ACEOF
46578 #define HAVE__SQRTL 1
46579 _ACEOF
46580
46581 fi
46582 done
46583
46584 fi
46585 fi
46586
46587
46588
46589
46590
46591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
46592 $as_echo_n "checking for sincosl declaration... " >&6; }
46593 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
46594 if ${glibcxx_cv_func_sincosl_use+:} false; then :
46595 $as_echo_n "(cached) " >&6
46596 else
46597
46598
46599 ac_ext=cpp
46600 ac_cpp='$CXXCPP $CPPFLAGS'
46601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46604
46605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46606 /* end confdefs.h. */
46607 #include <math.h>
46608 int
46609 main ()
46610 {
46611 sincosl(0, 0, 0);
46612 ;
46613 return 0;
46614 }
46615 _ACEOF
46616 if ac_fn_cxx_try_compile "$LINENO"; then :
46617 glibcxx_cv_func_sincosl_use=yes
46618 else
46619 glibcxx_cv_func_sincosl_use=no
46620 fi
46621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46622 ac_ext=c
46623 ac_cpp='$CPP $CPPFLAGS'
46624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46627
46628
46629 fi
46630
46631 fi
46632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
46633 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
46634
46635 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
46636 for ac_func in sincosl
46637 do :
46638 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
46639 if test "x$ac_cv_func_sincosl" = xyes; then :
46640 cat >>confdefs.h <<_ACEOF
46641 #define HAVE_SINCOSL 1
46642 _ACEOF
46643
46644 fi
46645 done
46646
46647 else
46648
46649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
46650 $as_echo_n "checking for _sincosl declaration... " >&6; }
46651 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
46652 if ${glibcxx_cv_func__sincosl_use+:} false; then :
46653 $as_echo_n "(cached) " >&6
46654 else
46655
46656
46657 ac_ext=cpp
46658 ac_cpp='$CXXCPP $CPPFLAGS'
46659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46662
46663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46664 /* end confdefs.h. */
46665 #include <math.h>
46666 int
46667 main ()
46668 {
46669 _sincosl(0, 0, 0);
46670 ;
46671 return 0;
46672 }
46673 _ACEOF
46674 if ac_fn_cxx_try_compile "$LINENO"; then :
46675 glibcxx_cv_func__sincosl_use=yes
46676 else
46677 glibcxx_cv_func__sincosl_use=no
46678 fi
46679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46680 ac_ext=c
46681 ac_cpp='$CPP $CPPFLAGS'
46682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46685
46686
46687 fi
46688
46689 fi
46690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
46691 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
46692
46693 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
46694 for ac_func in _sincosl
46695 do :
46696 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
46697 if test "x$ac_cv_func__sincosl" = xyes; then :
46698 cat >>confdefs.h <<_ACEOF
46699 #define HAVE__SINCOSL 1
46700 _ACEOF
46701
46702 fi
46703 done
46704
46705 fi
46706 fi
46707
46708
46709
46710
46711
46712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
46713 $as_echo_n "checking for finitel declaration... " >&6; }
46714 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
46715 if ${glibcxx_cv_func_finitel_use+:} false; then :
46716 $as_echo_n "(cached) " >&6
46717 else
46718
46719
46720 ac_ext=cpp
46721 ac_cpp='$CXXCPP $CPPFLAGS'
46722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46725
46726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46727 /* end confdefs.h. */
46728 #include <math.h>
46729 #ifdef HAVE_IEEEFP_H
46730 #include <ieeefp.h>
46731 #endif
46732
46733 int
46734 main ()
46735 {
46736 finitel(0);
46737 ;
46738 return 0;
46739 }
46740 _ACEOF
46741 if ac_fn_cxx_try_compile "$LINENO"; then :
46742 glibcxx_cv_func_finitel_use=yes
46743 else
46744 glibcxx_cv_func_finitel_use=no
46745 fi
46746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46747 ac_ext=c
46748 ac_cpp='$CPP $CPPFLAGS'
46749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46752
46753
46754 fi
46755
46756 fi
46757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
46758 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
46759
46760 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
46761 for ac_func in finitel
46762 do :
46763 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
46764 if test "x$ac_cv_func_finitel" = xyes; then :
46765 cat >>confdefs.h <<_ACEOF
46766 #define HAVE_FINITEL 1
46767 _ACEOF
46768
46769 fi
46770 done
46771
46772 else
46773
46774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
46775 $as_echo_n "checking for _finitel declaration... " >&6; }
46776 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
46777 if ${glibcxx_cv_func__finitel_use+:} false; then :
46778 $as_echo_n "(cached) " >&6
46779 else
46780
46781
46782 ac_ext=cpp
46783 ac_cpp='$CXXCPP $CPPFLAGS'
46784 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46785 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46786 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46787
46788 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46789 /* end confdefs.h. */
46790 #include <math.h>
46791 #ifdef HAVE_IEEEFP_H
46792 #include <ieeefp.h>
46793 #endif
46794
46795 int
46796 main ()
46797 {
46798 _finitel(0);
46799 ;
46800 return 0;
46801 }
46802 _ACEOF
46803 if ac_fn_cxx_try_compile "$LINENO"; then :
46804 glibcxx_cv_func__finitel_use=yes
46805 else
46806 glibcxx_cv_func__finitel_use=no
46807 fi
46808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46809 ac_ext=c
46810 ac_cpp='$CPP $CPPFLAGS'
46811 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46812 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46813 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46814
46815
46816 fi
46817
46818 fi
46819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
46820 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
46821
46822 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
46823 for ac_func in _finitel
46824 do :
46825 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
46826 if test "x$ac_cv_func__finitel" = xyes; then :
46827 cat >>confdefs.h <<_ACEOF
46828 #define HAVE__FINITEL 1
46829 _ACEOF
46830
46831 fi
46832 done
46833
46834 fi
46835 fi
46836
46837
46838
46839
46840 LIBS="$ac_save_LIBS"
46841 CXXFLAGS="$ac_save_CXXFLAGS"
46842
46843
46844 ac_test_CXXFLAGS="${CXXFLAGS+set}"
46845 ac_save_CXXFLAGS="$CXXFLAGS"
46846 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
46847
46848
46849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
46850 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
46851 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
46852 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
46853 $as_echo_n "(cached) " >&6
46854 else
46855
46856
46857 ac_ext=cpp
46858 ac_cpp='$CXXCPP $CPPFLAGS'
46859 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46860 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46861 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46862
46863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46864 /* end confdefs.h. */
46865 #include <stdlib.h>
46866 int
46867 main ()
46868 {
46869 at_quick_exit(0);
46870 ;
46871 return 0;
46872 }
46873 _ACEOF
46874 if ac_fn_cxx_try_compile "$LINENO"; then :
46875 glibcxx_cv_func_at_quick_exit_use=yes
46876 else
46877 glibcxx_cv_func_at_quick_exit_use=no
46878 fi
46879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46880 ac_ext=c
46881 ac_cpp='$CPP $CPPFLAGS'
46882 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46883 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46884 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46885
46886
46887 fi
46888
46889 fi
46890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
46891 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
46892 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
46893 for ac_func in at_quick_exit
46894 do :
46895 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
46896 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
46897 cat >>confdefs.h <<_ACEOF
46898 #define HAVE_AT_QUICK_EXIT 1
46899 _ACEOF
46900
46901 fi
46902 done
46903
46904 fi
46905
46906
46907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
46908 $as_echo_n "checking for quick_exit declaration... " >&6; }
46909 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
46910 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
46911 $as_echo_n "(cached) " >&6
46912 else
46913
46914
46915 ac_ext=cpp
46916 ac_cpp='$CXXCPP $CPPFLAGS'
46917 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46918 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46919 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46920
46921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46922 /* end confdefs.h. */
46923 #include <stdlib.h>
46924 int
46925 main ()
46926 {
46927 quick_exit(0);
46928 ;
46929 return 0;
46930 }
46931 _ACEOF
46932 if ac_fn_cxx_try_compile "$LINENO"; then :
46933 glibcxx_cv_func_quick_exit_use=yes
46934 else
46935 glibcxx_cv_func_quick_exit_use=no
46936 fi
46937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46938 ac_ext=c
46939 ac_cpp='$CPP $CPPFLAGS'
46940 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46941 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46942 ac_compiler_gnu=$ac_cv_c_compiler_gnu
46943
46944
46945 fi
46946
46947 fi
46948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
46949 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
46950 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
46951 for ac_func in quick_exit
46952 do :
46953 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
46954 if test "x$ac_cv_func_quick_exit" = xyes; then :
46955 cat >>confdefs.h <<_ACEOF
46956 #define HAVE_QUICK_EXIT 1
46957 _ACEOF
46958
46959 fi
46960 done
46961
46962 fi
46963
46964
46965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
46966 $as_echo_n "checking for strtold declaration... " >&6; }
46967 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
46968 if ${glibcxx_cv_func_strtold_use+:} false; then :
46969 $as_echo_n "(cached) " >&6
46970 else
46971
46972
46973 ac_ext=cpp
46974 ac_cpp='$CXXCPP $CPPFLAGS'
46975 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46976 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
46977 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
46978
46979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
46980 /* end confdefs.h. */
46981 #include <stdlib.h>
46982 int
46983 main ()
46984 {
46985 strtold(0, 0);
46986 ;
46987 return 0;
46988 }
46989 _ACEOF
46990 if ac_fn_cxx_try_compile "$LINENO"; then :
46991 glibcxx_cv_func_strtold_use=yes
46992 else
46993 glibcxx_cv_func_strtold_use=no
46994 fi
46995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46996 ac_ext=c
46997 ac_cpp='$CPP $CPPFLAGS'
46998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
46999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47001
47002
47003 fi
47004
47005 fi
47006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
47007 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
47008 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
47009 for ac_func in strtold
47010 do :
47011 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
47012 if test "x$ac_cv_func_strtold" = xyes; then :
47013 cat >>confdefs.h <<_ACEOF
47014 #define HAVE_STRTOLD 1
47015 _ACEOF
47016
47017 fi
47018 done
47019
47020 fi
47021
47022
47023
47024
47025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
47026 $as_echo_n "checking for strtof declaration... " >&6; }
47027 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
47028 if ${glibcxx_cv_func_strtof_use+:} false; then :
47029 $as_echo_n "(cached) " >&6
47030 else
47031
47032
47033 ac_ext=cpp
47034 ac_cpp='$CXXCPP $CPPFLAGS'
47035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47038
47039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47040 /* end confdefs.h. */
47041 #include <stdlib.h>
47042 int
47043 main ()
47044 {
47045 strtof(0, 0);
47046 ;
47047 return 0;
47048 }
47049 _ACEOF
47050 if ac_fn_cxx_try_compile "$LINENO"; then :
47051 glibcxx_cv_func_strtof_use=yes
47052 else
47053 glibcxx_cv_func_strtof_use=no
47054 fi
47055 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47056 ac_ext=c
47057 ac_cpp='$CPP $CPPFLAGS'
47058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47061
47062
47063 fi
47064
47065 fi
47066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
47067 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
47068 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
47069 for ac_func in strtof
47070 do :
47071 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
47072 if test "x$ac_cv_func_strtof" = xyes; then :
47073 cat >>confdefs.h <<_ACEOF
47074 #define HAVE_STRTOF 1
47075 _ACEOF
47076
47077 fi
47078 done
47079
47080 fi
47081
47082
47083
47084
47085 CXXFLAGS="$ac_save_CXXFLAGS"
47086
47087
47088 for ac_func in uselocale
47089 do :
47090 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47091 if test "x$ac_cv_func_uselocale" = xyes; then :
47092 cat >>confdefs.h <<_ACEOF
47093 #define HAVE_USELOCALE 1
47094 _ACEOF
47095
47096 fi
47097 done
47098
47099 ;;
47100
47101 *djgpp)
47102 # GLIBCXX_CHECK_MATH_SUPPORT
47103 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47104
47105 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47106
47107 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47108
47109 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
47110
47111 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47112
47113 ;;
47114
47115 *-freebsd*)
47116 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47117
47118
47119 # If we're not using GNU ld, then there's no point in even trying these
47120 # tests. Check for that first. We should have already tested for gld
47121 # by now (in libtool), but require it now just to be safe...
47122 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47123 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47124
47125
47126
47127 # The name set by libtool depends on the version of libtool. Shame on us
47128 # for depending on an impl detail, but c'est la vie. Older versions used
47129 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47130 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47131 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47132 # set (hence we're using an older libtool), then set it.
47133 if test x${with_gnu_ld+set} != xset; then
47134 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47135 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47136 with_gnu_ld=no
47137 else
47138 with_gnu_ld=$ac_cv_prog_gnu_ld
47139 fi
47140 fi
47141
47142 # Start by getting the version number. I think the libtool test already
47143 # does some of this, but throws away the result.
47144 glibcxx_ld_is_gold=no
47145 if test x"$with_gnu_ld" = x"yes"; then
47146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47147 $as_echo_n "checking for ld version... " >&6; }
47148
47149 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47150 glibcxx_ld_is_gold=yes
47151 fi
47152 ldver=`$LD --version 2>/dev/null |
47153 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47154
47155 glibcxx_gnu_ld_version=`echo $ldver | \
47156 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47158 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47159 fi
47160
47161 # Set --gc-sections.
47162 glibcxx_have_gc_sections=no
47163 if test "$glibcxx_ld_is_gold" = "yes"; then
47164 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47165 glibcxx_have_gc_sections=yes
47166 fi
47167 else
47168 glibcxx_gcsections_min_ld=21602
47169 if test x"$with_gnu_ld" = x"yes" &&
47170 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47171 glibcxx_have_gc_sections=yes
47172 fi
47173 fi
47174 if test "$glibcxx_have_gc_sections" = "yes"; then
47175 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47176 # NB: This flag only works reliably after 2.16.1. Configure tests
47177 # for this are difficult, so hard wire a value that should work.
47178
47179 ac_test_CFLAGS="${CFLAGS+set}"
47180 ac_save_CFLAGS="$CFLAGS"
47181 CFLAGS='-Wl,--gc-sections'
47182
47183 # Check for -Wl,--gc-sections
47184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47185 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47186 if test x$gcc_no_link = xyes; then
47187 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47188 fi
47189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47190 /* end confdefs.h. */
47191 int one(void) { return 1; }
47192 int two(void) { return 2; }
47193
47194 int
47195 main ()
47196 {
47197 two();
47198 ;
47199 return 0;
47200 }
47201 _ACEOF
47202 if ac_fn_c_try_link "$LINENO"; then :
47203 ac_gcsections=yes
47204 else
47205 ac_gcsections=no
47206 fi
47207 rm -f core conftest.err conftest.$ac_objext \
47208 conftest$ac_exeext conftest.$ac_ext
47209 if test "$ac_gcsections" = "yes"; then
47210 rm -f conftest.c
47211 touch conftest.c
47212 if $CC -c conftest.c; then
47213 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47214 grep "Warning: gc-sections option ignored" > /dev/null; then
47215 ac_gcsections=no
47216 fi
47217 fi
47218 rm -f conftest.c conftest.o conftest
47219 fi
47220 if test "$ac_gcsections" = "yes"; then
47221 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47222 fi
47223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47224 $as_echo "$ac_gcsections" >&6; }
47225
47226 if test "$ac_test_CFLAGS" = set; then
47227 CFLAGS="$ac_save_CFLAGS"
47228 else
47229 # this is the suspicious part
47230 CFLAGS=''
47231 fi
47232 fi
47233
47234 # Set -z,relro.
47235 # Note this is only for shared objects.
47236 ac_ld_relro=no
47237 if test x"$with_gnu_ld" = x"yes"; then
47238 # cygwin and mingw uses PE, which has no ELF relro support,
47239 # multi target ld may confuse configure machinery
47240 case "$host" in
47241 *-*-cygwin*)
47242 ;;
47243 *-*-mingw*)
47244 ;;
47245 *)
47246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47247 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47248 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47249 if test -n "$cxx_z_relo"; then
47250 OPT_LDFLAGS="-Wl,-z,relro"
47251 ac_ld_relro=yes
47252 fi
47253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47254 $as_echo "$ac_ld_relro" >&6; }
47255 esac
47256 fi
47257
47258 # Set linker optimization flags.
47259 if test x"$with_gnu_ld" = x"yes"; then
47260 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47261 fi
47262
47263
47264
47265
47266 $as_echo "#define HAVE_SETENV 1" >>confdefs.h
47267
47268 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47269
47270 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47271
47272 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47273
47274 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47275
47276 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
47277
47278 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47279
47280 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47281
47282 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47283
47284
47285 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47286
47287 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47288
47289 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47290
47291 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47292
47293 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
47294
47295 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47296
47297 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47298
47299 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47300
47301 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47302
47303 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
47304
47305 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47306
47307 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47308
47309 $as_echo "#define HAVE_LDEXPF 1" >>confdefs.h
47310
47311 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47312
47313 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47314
47315 $as_echo "#define HAVE_MODFF 1" >>confdefs.h
47316
47317 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47318
47319 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47320
47321 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47322
47323 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47324
47325 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47326
47327 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47328
47329 if test x"long_double_math_on_this_cpu" = x"yes"; then
47330 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
47331
47332 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
47333
47334 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
47335
47336 fi
47337 for ac_func in __cxa_thread_atexit
47338 do :
47339 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit" "ac_cv_func___cxa_thread_atexit"
47340 if test "x$ac_cv_func___cxa_thread_atexit" = xyes; then :
47341 cat >>confdefs.h <<_ACEOF
47342 #define HAVE___CXA_THREAD_ATEXIT 1
47343 _ACEOF
47344
47345 fi
47346 done
47347
47348 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
47349 do :
47350 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
47351 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
47352 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
47353 cat >>confdefs.h <<_ACEOF
47354 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
47355 _ACEOF
47356
47357 fi
47358 done
47359
47360 for ac_func in timespec_get
47361 do :
47362 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
47363 if test "x$ac_cv_func_timespec_get" = xyes; then :
47364 cat >>confdefs.h <<_ACEOF
47365 #define HAVE_TIMESPEC_GET 1
47366 _ACEOF
47367
47368 fi
47369 done
47370
47371 for ac_func in sockatmark
47372 do :
47373 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
47374 if test "x$ac_cv_func_sockatmark" = xyes; then :
47375 cat >>confdefs.h <<_ACEOF
47376 #define HAVE_SOCKATMARK 1
47377 _ACEOF
47378
47379 fi
47380 done
47381
47382 for ac_func in uselocale
47383 do :
47384 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
47385 if test "x$ac_cv_func_uselocale" = xyes; then :
47386 cat >>confdefs.h <<_ACEOF
47387 #define HAVE_USELOCALE 1
47388 _ACEOF
47389
47390 fi
47391 done
47392
47393 ;;
47394
47395 *-fuchsia*)
47396 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47397
47398 ;;
47399
47400 *-hpux*)
47401 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47402
47403
47404 # If we're not using GNU ld, then there's no point in even trying these
47405 # tests. Check for that first. We should have already tested for gld
47406 # by now (in libtool), but require it now just to be safe...
47407 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47408 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47409
47410
47411
47412 # The name set by libtool depends on the version of libtool. Shame on us
47413 # for depending on an impl detail, but c'est la vie. Older versions used
47414 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47415 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47416 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47417 # set (hence we're using an older libtool), then set it.
47418 if test x${with_gnu_ld+set} != xset; then
47419 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47420 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47421 with_gnu_ld=no
47422 else
47423 with_gnu_ld=$ac_cv_prog_gnu_ld
47424 fi
47425 fi
47426
47427 # Start by getting the version number. I think the libtool test already
47428 # does some of this, but throws away the result.
47429 glibcxx_ld_is_gold=no
47430 if test x"$with_gnu_ld" = x"yes"; then
47431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47432 $as_echo_n "checking for ld version... " >&6; }
47433
47434 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47435 glibcxx_ld_is_gold=yes
47436 fi
47437 ldver=`$LD --version 2>/dev/null |
47438 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47439
47440 glibcxx_gnu_ld_version=`echo $ldver | \
47441 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47443 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47444 fi
47445
47446 # Set --gc-sections.
47447 glibcxx_have_gc_sections=no
47448 if test "$glibcxx_ld_is_gold" = "yes"; then
47449 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47450 glibcxx_have_gc_sections=yes
47451 fi
47452 else
47453 glibcxx_gcsections_min_ld=21602
47454 if test x"$with_gnu_ld" = x"yes" &&
47455 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47456 glibcxx_have_gc_sections=yes
47457 fi
47458 fi
47459 if test "$glibcxx_have_gc_sections" = "yes"; then
47460 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47461 # NB: This flag only works reliably after 2.16.1. Configure tests
47462 # for this are difficult, so hard wire a value that should work.
47463
47464 ac_test_CFLAGS="${CFLAGS+set}"
47465 ac_save_CFLAGS="$CFLAGS"
47466 CFLAGS='-Wl,--gc-sections'
47467
47468 # Check for -Wl,--gc-sections
47469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47470 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47471 if test x$gcc_no_link = xyes; then
47472 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47473 fi
47474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47475 /* end confdefs.h. */
47476 int one(void) { return 1; }
47477 int two(void) { return 2; }
47478
47479 int
47480 main ()
47481 {
47482 two();
47483 ;
47484 return 0;
47485 }
47486 _ACEOF
47487 if ac_fn_c_try_link "$LINENO"; then :
47488 ac_gcsections=yes
47489 else
47490 ac_gcsections=no
47491 fi
47492 rm -f core conftest.err conftest.$ac_objext \
47493 conftest$ac_exeext conftest.$ac_ext
47494 if test "$ac_gcsections" = "yes"; then
47495 rm -f conftest.c
47496 touch conftest.c
47497 if $CC -c conftest.c; then
47498 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47499 grep "Warning: gc-sections option ignored" > /dev/null; then
47500 ac_gcsections=no
47501 fi
47502 fi
47503 rm -f conftest.c conftest.o conftest
47504 fi
47505 if test "$ac_gcsections" = "yes"; then
47506 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47507 fi
47508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47509 $as_echo "$ac_gcsections" >&6; }
47510
47511 if test "$ac_test_CFLAGS" = set; then
47512 CFLAGS="$ac_save_CFLAGS"
47513 else
47514 # this is the suspicious part
47515 CFLAGS=''
47516 fi
47517 fi
47518
47519 # Set -z,relro.
47520 # Note this is only for shared objects.
47521 ac_ld_relro=no
47522 if test x"$with_gnu_ld" = x"yes"; then
47523 # cygwin and mingw uses PE, which has no ELF relro support,
47524 # multi target ld may confuse configure machinery
47525 case "$host" in
47526 *-*-cygwin*)
47527 ;;
47528 *-*-mingw*)
47529 ;;
47530 *)
47531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
47532 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
47533 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
47534 if test -n "$cxx_z_relo"; then
47535 OPT_LDFLAGS="-Wl,-z,relro"
47536 ac_ld_relro=yes
47537 fi
47538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
47539 $as_echo "$ac_ld_relro" >&6; }
47540 esac
47541 fi
47542
47543 # Set linker optimization flags.
47544 if test x"$with_gnu_ld" = x"yes"; then
47545 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
47546 fi
47547
47548
47549
47550
47551
47552 # GLIBCXX_CHECK_MATH_SUPPORT
47553 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
47554
47555 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
47556
47557 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
47558
47559 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
47560
47561 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
47562
47563 $as_echo "#define HAVE_COSF 1" >>confdefs.h
47564
47565 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
47566
47567 $as_echo "#define HAVE_SINF 1" >>confdefs.h
47568
47569 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
47570
47571 $as_echo "#define HAVE_TANF 1" >>confdefs.h
47572
47573 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
47574
47575 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
47576
47577 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
47578
47579 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
47580
47581 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
47582
47583 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
47584
47585 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
47586
47587 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
47588
47589 $as_echo "#define HAVE_MODF 1" >>confdefs.h
47590
47591 $as_echo "#define HAVE_POWF 1" >>confdefs.h
47592
47593 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
47594
47595
47596 # GLIBCXX_CHECK_STDLIB_SUPPORT
47597 $as_echo "#define HAVE_STRTOLD 1" >>confdefs.h
47598
47599
47600
47601
47602 # Check whether --enable-tls was given.
47603 if test "${enable_tls+set}" = set; then :
47604 enableval=$enable_tls;
47605 case "$enableval" in
47606 yes|no) ;;
47607 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
47608 esac
47609
47610 else
47611 enable_tls=yes
47612 fi
47613
47614
47615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
47616 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
47617 if ${gcc_cv_have_tls+:} false; then :
47618 $as_echo_n "(cached) " >&6
47619 else
47620
47621 if test "$cross_compiling" = yes; then :
47622 if test x$gcc_no_link = xyes; then
47623 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47624 fi
47625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47626 /* end confdefs.h. */
47627 __thread int a; int b; int main() { return a = b; }
47628 _ACEOF
47629 if ac_fn_c_try_link "$LINENO"; then :
47630 chktls_save_LDFLAGS="$LDFLAGS"
47631 case $host in
47632 *-*-linux* | -*-uclinuxfdpic*)
47633 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
47634 ;;
47635 esac
47636 chktls_save_CFLAGS="$CFLAGS"
47637 CFLAGS="-fPIC $CFLAGS"
47638 if test x$gcc_no_link = xyes; then
47639 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47640 fi
47641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47642 /* end confdefs.h. */
47643 int f() { return 0; }
47644 _ACEOF
47645 if ac_fn_c_try_link "$LINENO"; then :
47646 if test x$gcc_no_link = xyes; then
47647 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47648 fi
47649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47650 /* end confdefs.h. */
47651 __thread int a; int b; int f() { return a = b; }
47652 _ACEOF
47653 if ac_fn_c_try_link "$LINENO"; then :
47654 gcc_cv_have_tls=yes
47655 else
47656 gcc_cv_have_tls=no
47657 fi
47658 rm -f core conftest.err conftest.$ac_objext \
47659 conftest$ac_exeext conftest.$ac_ext
47660 else
47661 gcc_cv_have_tls=yes
47662 fi
47663 rm -f core conftest.err conftest.$ac_objext \
47664 conftest$ac_exeext conftest.$ac_ext
47665 CFLAGS="$chktls_save_CFLAGS"
47666 LDFLAGS="$chktls_save_LDFLAGS"
47667 else
47668 gcc_cv_have_tls=no
47669 fi
47670 rm -f core conftest.err conftest.$ac_objext \
47671 conftest$ac_exeext conftest.$ac_ext
47672
47673
47674 else
47675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47676 /* end confdefs.h. */
47677 __thread int a; int b; int main() { return a = b; }
47678 _ACEOF
47679 if ac_fn_c_try_run "$LINENO"; then :
47680 chktls_save_LDFLAGS="$LDFLAGS"
47681 LDFLAGS="-static $LDFLAGS"
47682 if test x$gcc_no_link = xyes; then
47683 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47684 fi
47685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47686 /* end confdefs.h. */
47687 int main() { return 0; }
47688 _ACEOF
47689 if ac_fn_c_try_link "$LINENO"; then :
47690 if test "$cross_compiling" = yes; then :
47691 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47692 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47693 as_fn_error $? "cannot run test program while cross compiling
47694 See \`config.log' for more details" "$LINENO" 5; }
47695 else
47696 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47697 /* end confdefs.h. */
47698 __thread int a; int b; int main() { return a = b; }
47699 _ACEOF
47700 if ac_fn_c_try_run "$LINENO"; then :
47701 gcc_cv_have_tls=yes
47702 else
47703 gcc_cv_have_tls=no
47704 fi
47705 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47706 conftest.$ac_objext conftest.beam conftest.$ac_ext
47707 fi
47708
47709 else
47710 gcc_cv_have_tls=yes
47711 fi
47712 rm -f core conftest.err conftest.$ac_objext \
47713 conftest$ac_exeext conftest.$ac_ext
47714 LDFLAGS="$chktls_save_LDFLAGS"
47715 if test $gcc_cv_have_tls = yes; then
47716 chktls_save_CFLAGS="$CFLAGS"
47717 thread_CFLAGS=failed
47718 for flag in '' '-pthread' '-lpthread'; do
47719 CFLAGS="$flag $chktls_save_CFLAGS"
47720 if test x$gcc_no_link = xyes; then
47721 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47722 fi
47723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47724 /* end confdefs.h. */
47725 #include <pthread.h>
47726 void *g(void *d) { return NULL; }
47727 int
47728 main ()
47729 {
47730 pthread_t t; pthread_create(&t,NULL,g,NULL);
47731 ;
47732 return 0;
47733 }
47734 _ACEOF
47735 if ac_fn_c_try_link "$LINENO"; then :
47736 thread_CFLAGS="$flag"
47737 fi
47738 rm -f core conftest.err conftest.$ac_objext \
47739 conftest$ac_exeext conftest.$ac_ext
47740 if test "X$thread_CFLAGS" != Xfailed; then
47741 break
47742 fi
47743 done
47744 CFLAGS="$chktls_save_CFLAGS"
47745 if test "X$thread_CFLAGS" != Xfailed; then
47746 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
47747 if test "$cross_compiling" = yes; then :
47748 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
47749 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
47750 as_fn_error $? "cannot run test program while cross compiling
47751 See \`config.log' for more details" "$LINENO" 5; }
47752 else
47753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47754 /* end confdefs.h. */
47755 #include <pthread.h>
47756 __thread int a;
47757 static int *volatile a_in_other_thread;
47758 static void *
47759 thread_func (void *arg)
47760 {
47761 a_in_other_thread = &a;
47762 return (void *)0;
47763 }
47764 int
47765 main ()
47766 {
47767 pthread_t thread;
47768 void *thread_retval;
47769 int *volatile a_in_main_thread;
47770 a_in_main_thread = &a;
47771 if (pthread_create (&thread, (pthread_attr_t *)0,
47772 thread_func, (void *)0))
47773 return 0;
47774 if (pthread_join (thread, &thread_retval))
47775 return 0;
47776 return (a_in_other_thread == a_in_main_thread);
47777 ;
47778 return 0;
47779 }
47780 _ACEOF
47781 if ac_fn_c_try_run "$LINENO"; then :
47782 gcc_cv_have_tls=yes
47783 else
47784 gcc_cv_have_tls=no
47785 fi
47786 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47787 conftest.$ac_objext conftest.beam conftest.$ac_ext
47788 fi
47789
47790 CFLAGS="$chktls_save_CFLAGS"
47791 fi
47792 fi
47793 else
47794 gcc_cv_have_tls=no
47795 fi
47796 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
47797 conftest.$ac_objext conftest.beam conftest.$ac_ext
47798 fi
47799
47800 fi
47801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
47802 $as_echo "$gcc_cv_have_tls" >&6; }
47803 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
47804
47805 $as_echo "#define HAVE_TLS 1" >>confdefs.h
47806
47807 fi
47808 case "$target" in
47809 *-hpux10*)
47810 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
47811
47812 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
47813
47814 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
47815
47816 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
47817
47818 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
47819
47820 ;;
47821 esac
47822 ;;
47823 *-linux* | *-uclinux* | *-gnu* | *-kfreebsd*-gnu | *-cygwin* | *-solaris*)
47824
47825 # All these tests are for C++; save the language and the compiler flags.
47826 # The CXXFLAGS thing is suspicious, but based on similar bits previously
47827 # found in GLIBCXX_CONFIGURE.
47828
47829 ac_ext=cpp
47830 ac_cpp='$CXXCPP $CPPFLAGS'
47831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
47834
47835 ac_test_CXXFLAGS="${CXXFLAGS+set}"
47836 ac_save_CXXFLAGS="$CXXFLAGS"
47837
47838 # Check for -ffunction-sections -fdata-sections
47839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
47840 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
47841 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
47842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47843 /* end confdefs.h. */
47844 int foo; void bar() { };
47845 int
47846 main ()
47847 {
47848
47849 ;
47850 return 0;
47851 }
47852 _ACEOF
47853 if ac_fn_cxx_try_compile "$LINENO"; then :
47854 ac_fdsections=yes
47855 else
47856 ac_fdsections=no
47857 fi
47858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47859 if test "$ac_test_CXXFLAGS" = set; then
47860 CXXFLAGS="$ac_save_CXXFLAGS"
47861 else
47862 # this is the suspicious part
47863 CXXFLAGS=''
47864 fi
47865 if test x"$ac_fdsections" = x"yes"; then
47866 SECTION_FLAGS='-ffunction-sections -fdata-sections'
47867 fi
47868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
47869 $as_echo "$ac_fdsections" >&6; }
47870
47871 ac_ext=c
47872 ac_cpp='$CPP $CPPFLAGS'
47873 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
47874 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
47875 ac_compiler_gnu=$ac_cv_c_compiler_gnu
47876
47877
47878
47879
47880 # If we're not using GNU ld, then there's no point in even trying these
47881 # tests. Check for that first. We should have already tested for gld
47882 # by now (in libtool), but require it now just to be safe...
47883 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
47884 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
47885
47886
47887
47888 # The name set by libtool depends on the version of libtool. Shame on us
47889 # for depending on an impl detail, but c'est la vie. Older versions used
47890 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
47891 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
47892 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
47893 # set (hence we're using an older libtool), then set it.
47894 if test x${with_gnu_ld+set} != xset; then
47895 if test x${ac_cv_prog_gnu_ld+set} != xset; then
47896 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
47897 with_gnu_ld=no
47898 else
47899 with_gnu_ld=$ac_cv_prog_gnu_ld
47900 fi
47901 fi
47902
47903 # Start by getting the version number. I think the libtool test already
47904 # does some of this, but throws away the result.
47905 glibcxx_ld_is_gold=no
47906 if test x"$with_gnu_ld" = x"yes"; then
47907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
47908 $as_echo_n "checking for ld version... " >&6; }
47909
47910 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
47911 glibcxx_ld_is_gold=yes
47912 fi
47913 ldver=`$LD --version 2>/dev/null |
47914 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
47915
47916 glibcxx_gnu_ld_version=`echo $ldver | \
47917 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
47918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
47919 $as_echo "$glibcxx_gnu_ld_version" >&6; }
47920 fi
47921
47922 # Set --gc-sections.
47923 glibcxx_have_gc_sections=no
47924 if test "$glibcxx_ld_is_gold" = "yes"; then
47925 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
47926 glibcxx_have_gc_sections=yes
47927 fi
47928 else
47929 glibcxx_gcsections_min_ld=21602
47930 if test x"$with_gnu_ld" = x"yes" &&
47931 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
47932 glibcxx_have_gc_sections=yes
47933 fi
47934 fi
47935 if test "$glibcxx_have_gc_sections" = "yes"; then
47936 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
47937 # NB: This flag only works reliably after 2.16.1. Configure tests
47938 # for this are difficult, so hard wire a value that should work.
47939
47940 ac_test_CFLAGS="${CFLAGS+set}"
47941 ac_save_CFLAGS="$CFLAGS"
47942 CFLAGS='-Wl,--gc-sections'
47943
47944 # Check for -Wl,--gc-sections
47945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
47946 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
47947 if test x$gcc_no_link = xyes; then
47948 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
47949 fi
47950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
47951 /* end confdefs.h. */
47952 int one(void) { return 1; }
47953 int two(void) { return 2; }
47954
47955 int
47956 main ()
47957 {
47958 two();
47959 ;
47960 return 0;
47961 }
47962 _ACEOF
47963 if ac_fn_c_try_link "$LINENO"; then :
47964 ac_gcsections=yes
47965 else
47966 ac_gcsections=no
47967 fi
47968 rm -f core conftest.err conftest.$ac_objext \
47969 conftest$ac_exeext conftest.$ac_ext
47970 if test "$ac_gcsections" = "yes"; then
47971 rm -f conftest.c
47972 touch conftest.c
47973 if $CC -c conftest.c; then
47974 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
47975 grep "Warning: gc-sections option ignored" > /dev/null; then
47976 ac_gcsections=no
47977 fi
47978 fi
47979 rm -f conftest.c conftest.o conftest
47980 fi
47981 if test "$ac_gcsections" = "yes"; then
47982 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
47983 fi
47984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
47985 $as_echo "$ac_gcsections" >&6; }
47986
47987 if test "$ac_test_CFLAGS" = set; then
47988 CFLAGS="$ac_save_CFLAGS"
47989 else
47990 # this is the suspicious part
47991 CFLAGS=''
47992 fi
47993 fi
47994
47995 # Set -z,relro.
47996 # Note this is only for shared objects.
47997 ac_ld_relro=no
47998 if test x"$with_gnu_ld" = x"yes"; then
47999 # cygwin and mingw uses PE, which has no ELF relro support,
48000 # multi target ld may confuse configure machinery
48001 case "$host" in
48002 *-*-cygwin*)
48003 ;;
48004 *-*-mingw*)
48005 ;;
48006 *)
48007 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
48008 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
48009 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
48010 if test -n "$cxx_z_relo"; then
48011 OPT_LDFLAGS="-Wl,-z,relro"
48012 ac_ld_relro=yes
48013 fi
48014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
48015 $as_echo "$ac_ld_relro" >&6; }
48016 esac
48017 fi
48018
48019 # Set linker optimization flags.
48020 if test x"$with_gnu_ld" = x"yes"; then
48021 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
48022 fi
48023
48024
48025
48026
48027
48028 ac_test_CXXFLAGS="${CXXFLAGS+set}"
48029 ac_save_CXXFLAGS="$CXXFLAGS"
48030 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
48031
48032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
48033 $as_echo_n "checking for sin in -lm... " >&6; }
48034 if ${ac_cv_lib_m_sin+:} false; then :
48035 $as_echo_n "(cached) " >&6
48036 else
48037 ac_check_lib_save_LIBS=$LIBS
48038 LIBS="-lm $LIBS"
48039 if test x$gcc_no_link = xyes; then
48040 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
48041 fi
48042 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48043 /* end confdefs.h. */
48044
48045 /* Override any GCC internal prototype to avoid an error.
48046 Use char because int might match the return type of a GCC
48047 builtin and then its argument prototype would still apply. */
48048 #ifdef __cplusplus
48049 extern "C"
48050 #endif
48051 char sin ();
48052 int
48053 main ()
48054 {
48055 return sin ();
48056 ;
48057 return 0;
48058 }
48059 _ACEOF
48060 if ac_fn_c_try_link "$LINENO"; then :
48061 ac_cv_lib_m_sin=yes
48062 else
48063 ac_cv_lib_m_sin=no
48064 fi
48065 rm -f core conftest.err conftest.$ac_objext \
48066 conftest$ac_exeext conftest.$ac_ext
48067 LIBS=$ac_check_lib_save_LIBS
48068 fi
48069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
48070 $as_echo "$ac_cv_lib_m_sin" >&6; }
48071 if test "x$ac_cv_lib_m_sin" = xyes; then :
48072 libm="-lm"
48073 fi
48074
48075 ac_save_LIBS="$LIBS"
48076 LIBS="$LIBS $libm"
48077
48078
48079
48080 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
48081 $as_echo_n "checking for isinf declaration... " >&6; }
48082 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
48083 if ${glibcxx_cv_func_isinf_use+:} false; then :
48084 $as_echo_n "(cached) " >&6
48085 else
48086
48087
48088 ac_ext=cpp
48089 ac_cpp='$CXXCPP $CPPFLAGS'
48090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48093
48094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48095 /* end confdefs.h. */
48096 #include <math.h>
48097 #ifdef HAVE_IEEEFP_H
48098 #include <ieeefp.h>
48099 #endif
48100
48101 int
48102 main ()
48103 {
48104 isinf(0);
48105 ;
48106 return 0;
48107 }
48108 _ACEOF
48109 if ac_fn_cxx_try_compile "$LINENO"; then :
48110 glibcxx_cv_func_isinf_use=yes
48111 else
48112 glibcxx_cv_func_isinf_use=no
48113 fi
48114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48115 ac_ext=c
48116 ac_cpp='$CPP $CPPFLAGS'
48117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48120
48121
48122 fi
48123
48124 fi
48125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
48126 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
48127
48128 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
48129 for ac_func in isinf
48130 do :
48131 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
48132 if test "x$ac_cv_func_isinf" = xyes; then :
48133 cat >>confdefs.h <<_ACEOF
48134 #define HAVE_ISINF 1
48135 _ACEOF
48136
48137 fi
48138 done
48139
48140 else
48141
48142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
48143 $as_echo_n "checking for _isinf declaration... " >&6; }
48144 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
48145 if ${glibcxx_cv_func__isinf_use+:} false; then :
48146 $as_echo_n "(cached) " >&6
48147 else
48148
48149
48150 ac_ext=cpp
48151 ac_cpp='$CXXCPP $CPPFLAGS'
48152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48155
48156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48157 /* end confdefs.h. */
48158 #include <math.h>
48159 #ifdef HAVE_IEEEFP_H
48160 #include <ieeefp.h>
48161 #endif
48162
48163 int
48164 main ()
48165 {
48166 _isinf(0);
48167 ;
48168 return 0;
48169 }
48170 _ACEOF
48171 if ac_fn_cxx_try_compile "$LINENO"; then :
48172 glibcxx_cv_func__isinf_use=yes
48173 else
48174 glibcxx_cv_func__isinf_use=no
48175 fi
48176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48177 ac_ext=c
48178 ac_cpp='$CPP $CPPFLAGS'
48179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48182
48183
48184 fi
48185
48186 fi
48187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
48188 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
48189
48190 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
48191 for ac_func in _isinf
48192 do :
48193 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
48194 if test "x$ac_cv_func__isinf" = xyes; then :
48195 cat >>confdefs.h <<_ACEOF
48196 #define HAVE__ISINF 1
48197 _ACEOF
48198
48199 fi
48200 done
48201
48202 fi
48203 fi
48204
48205
48206
48207
48208
48209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
48210 $as_echo_n "checking for isnan declaration... " >&6; }
48211 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
48212 if ${glibcxx_cv_func_isnan_use+:} false; then :
48213 $as_echo_n "(cached) " >&6
48214 else
48215
48216
48217 ac_ext=cpp
48218 ac_cpp='$CXXCPP $CPPFLAGS'
48219 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48220 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48221 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48222
48223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48224 /* end confdefs.h. */
48225 #include <math.h>
48226 #ifdef HAVE_IEEEFP_H
48227 #include <ieeefp.h>
48228 #endif
48229
48230 int
48231 main ()
48232 {
48233 isnan(0);
48234 ;
48235 return 0;
48236 }
48237 _ACEOF
48238 if ac_fn_cxx_try_compile "$LINENO"; then :
48239 glibcxx_cv_func_isnan_use=yes
48240 else
48241 glibcxx_cv_func_isnan_use=no
48242 fi
48243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48244 ac_ext=c
48245 ac_cpp='$CPP $CPPFLAGS'
48246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48249
48250
48251 fi
48252
48253 fi
48254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
48255 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
48256
48257 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
48258 for ac_func in isnan
48259 do :
48260 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
48261 if test "x$ac_cv_func_isnan" = xyes; then :
48262 cat >>confdefs.h <<_ACEOF
48263 #define HAVE_ISNAN 1
48264 _ACEOF
48265
48266 fi
48267 done
48268
48269 else
48270
48271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
48272 $as_echo_n "checking for _isnan declaration... " >&6; }
48273 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
48274 if ${glibcxx_cv_func__isnan_use+:} false; then :
48275 $as_echo_n "(cached) " >&6
48276 else
48277
48278
48279 ac_ext=cpp
48280 ac_cpp='$CXXCPP $CPPFLAGS'
48281 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48282 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48283 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48284
48285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48286 /* end confdefs.h. */
48287 #include <math.h>
48288 #ifdef HAVE_IEEEFP_H
48289 #include <ieeefp.h>
48290 #endif
48291
48292 int
48293 main ()
48294 {
48295 _isnan(0);
48296 ;
48297 return 0;
48298 }
48299 _ACEOF
48300 if ac_fn_cxx_try_compile "$LINENO"; then :
48301 glibcxx_cv_func__isnan_use=yes
48302 else
48303 glibcxx_cv_func__isnan_use=no
48304 fi
48305 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48306 ac_ext=c
48307 ac_cpp='$CPP $CPPFLAGS'
48308 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48309 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48310 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48311
48312
48313 fi
48314
48315 fi
48316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
48317 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
48318
48319 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
48320 for ac_func in _isnan
48321 do :
48322 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
48323 if test "x$ac_cv_func__isnan" = xyes; then :
48324 cat >>confdefs.h <<_ACEOF
48325 #define HAVE__ISNAN 1
48326 _ACEOF
48327
48328 fi
48329 done
48330
48331 fi
48332 fi
48333
48334
48335
48336
48337
48338 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
48339 $as_echo_n "checking for finite declaration... " >&6; }
48340 if test x${glibcxx_cv_func_finite_use+set} != xset; then
48341 if ${glibcxx_cv_func_finite_use+:} false; then :
48342 $as_echo_n "(cached) " >&6
48343 else
48344
48345
48346 ac_ext=cpp
48347 ac_cpp='$CXXCPP $CPPFLAGS'
48348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48351
48352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48353 /* end confdefs.h. */
48354 #include <math.h>
48355 #ifdef HAVE_IEEEFP_H
48356 #include <ieeefp.h>
48357 #endif
48358
48359 int
48360 main ()
48361 {
48362 finite(0);
48363 ;
48364 return 0;
48365 }
48366 _ACEOF
48367 if ac_fn_cxx_try_compile "$LINENO"; then :
48368 glibcxx_cv_func_finite_use=yes
48369 else
48370 glibcxx_cv_func_finite_use=no
48371 fi
48372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48373 ac_ext=c
48374 ac_cpp='$CPP $CPPFLAGS'
48375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48378
48379
48380 fi
48381
48382 fi
48383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
48384 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
48385
48386 if test x$glibcxx_cv_func_finite_use = x"yes"; then
48387 for ac_func in finite
48388 do :
48389 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
48390 if test "x$ac_cv_func_finite" = xyes; then :
48391 cat >>confdefs.h <<_ACEOF
48392 #define HAVE_FINITE 1
48393 _ACEOF
48394
48395 fi
48396 done
48397
48398 else
48399
48400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
48401 $as_echo_n "checking for _finite declaration... " >&6; }
48402 if test x${glibcxx_cv_func__finite_use+set} != xset; then
48403 if ${glibcxx_cv_func__finite_use+:} false; then :
48404 $as_echo_n "(cached) " >&6
48405 else
48406
48407
48408 ac_ext=cpp
48409 ac_cpp='$CXXCPP $CPPFLAGS'
48410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48413
48414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48415 /* end confdefs.h. */
48416 #include <math.h>
48417 #ifdef HAVE_IEEEFP_H
48418 #include <ieeefp.h>
48419 #endif
48420
48421 int
48422 main ()
48423 {
48424 _finite(0);
48425 ;
48426 return 0;
48427 }
48428 _ACEOF
48429 if ac_fn_cxx_try_compile "$LINENO"; then :
48430 glibcxx_cv_func__finite_use=yes
48431 else
48432 glibcxx_cv_func__finite_use=no
48433 fi
48434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48435 ac_ext=c
48436 ac_cpp='$CPP $CPPFLAGS'
48437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48440
48441
48442 fi
48443
48444 fi
48445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
48446 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
48447
48448 if test x$glibcxx_cv_func__finite_use = x"yes"; then
48449 for ac_func in _finite
48450 do :
48451 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
48452 if test "x$ac_cv_func__finite" = xyes; then :
48453 cat >>confdefs.h <<_ACEOF
48454 #define HAVE__FINITE 1
48455 _ACEOF
48456
48457 fi
48458 done
48459
48460 fi
48461 fi
48462
48463
48464
48465
48466
48467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
48468 $as_echo_n "checking for sincos declaration... " >&6; }
48469 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
48470 if ${glibcxx_cv_func_sincos_use+:} false; then :
48471 $as_echo_n "(cached) " >&6
48472 else
48473
48474
48475 ac_ext=cpp
48476 ac_cpp='$CXXCPP $CPPFLAGS'
48477 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48478 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48479 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48480
48481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48482 /* end confdefs.h. */
48483 #include <math.h>
48484 int
48485 main ()
48486 {
48487 sincos(0, 0, 0);
48488 ;
48489 return 0;
48490 }
48491 _ACEOF
48492 if ac_fn_cxx_try_compile "$LINENO"; then :
48493 glibcxx_cv_func_sincos_use=yes
48494 else
48495 glibcxx_cv_func_sincos_use=no
48496 fi
48497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48498 ac_ext=c
48499 ac_cpp='$CPP $CPPFLAGS'
48500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48503
48504
48505 fi
48506
48507 fi
48508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
48509 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
48510
48511 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
48512 for ac_func in sincos
48513 do :
48514 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
48515 if test "x$ac_cv_func_sincos" = xyes; then :
48516 cat >>confdefs.h <<_ACEOF
48517 #define HAVE_SINCOS 1
48518 _ACEOF
48519
48520 fi
48521 done
48522
48523 else
48524
48525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
48526 $as_echo_n "checking for _sincos declaration... " >&6; }
48527 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
48528 if ${glibcxx_cv_func__sincos_use+:} false; then :
48529 $as_echo_n "(cached) " >&6
48530 else
48531
48532
48533 ac_ext=cpp
48534 ac_cpp='$CXXCPP $CPPFLAGS'
48535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48538
48539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48540 /* end confdefs.h. */
48541 #include <math.h>
48542 int
48543 main ()
48544 {
48545 _sincos(0, 0, 0);
48546 ;
48547 return 0;
48548 }
48549 _ACEOF
48550 if ac_fn_cxx_try_compile "$LINENO"; then :
48551 glibcxx_cv_func__sincos_use=yes
48552 else
48553 glibcxx_cv_func__sincos_use=no
48554 fi
48555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48556 ac_ext=c
48557 ac_cpp='$CPP $CPPFLAGS'
48558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48561
48562
48563 fi
48564
48565 fi
48566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
48567 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
48568
48569 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
48570 for ac_func in _sincos
48571 do :
48572 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
48573 if test "x$ac_cv_func__sincos" = xyes; then :
48574 cat >>confdefs.h <<_ACEOF
48575 #define HAVE__SINCOS 1
48576 _ACEOF
48577
48578 fi
48579 done
48580
48581 fi
48582 fi
48583
48584
48585
48586
48587
48588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
48589 $as_echo_n "checking for fpclass declaration... " >&6; }
48590 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
48591 if ${glibcxx_cv_func_fpclass_use+:} false; then :
48592 $as_echo_n "(cached) " >&6
48593 else
48594
48595
48596 ac_ext=cpp
48597 ac_cpp='$CXXCPP $CPPFLAGS'
48598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48601
48602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48603 /* end confdefs.h. */
48604 #include <math.h>
48605 #ifdef HAVE_IEEEFP_H
48606 #include <ieeefp.h>
48607 #endif
48608
48609 int
48610 main ()
48611 {
48612 fpclass(0);
48613 ;
48614 return 0;
48615 }
48616 _ACEOF
48617 if ac_fn_cxx_try_compile "$LINENO"; then :
48618 glibcxx_cv_func_fpclass_use=yes
48619 else
48620 glibcxx_cv_func_fpclass_use=no
48621 fi
48622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48623 ac_ext=c
48624 ac_cpp='$CPP $CPPFLAGS'
48625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48628
48629
48630 fi
48631
48632 fi
48633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
48634 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
48635
48636 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
48637 for ac_func in fpclass
48638 do :
48639 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
48640 if test "x$ac_cv_func_fpclass" = xyes; then :
48641 cat >>confdefs.h <<_ACEOF
48642 #define HAVE_FPCLASS 1
48643 _ACEOF
48644
48645 fi
48646 done
48647
48648 else
48649
48650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
48651 $as_echo_n "checking for _fpclass declaration... " >&6; }
48652 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
48653 if ${glibcxx_cv_func__fpclass_use+:} false; then :
48654 $as_echo_n "(cached) " >&6
48655 else
48656
48657
48658 ac_ext=cpp
48659 ac_cpp='$CXXCPP $CPPFLAGS'
48660 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48661 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48662 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48663
48664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48665 /* end confdefs.h. */
48666 #include <math.h>
48667 #ifdef HAVE_IEEEFP_H
48668 #include <ieeefp.h>
48669 #endif
48670
48671 int
48672 main ()
48673 {
48674 _fpclass(0);
48675 ;
48676 return 0;
48677 }
48678 _ACEOF
48679 if ac_fn_cxx_try_compile "$LINENO"; then :
48680 glibcxx_cv_func__fpclass_use=yes
48681 else
48682 glibcxx_cv_func__fpclass_use=no
48683 fi
48684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48685 ac_ext=c
48686 ac_cpp='$CPP $CPPFLAGS'
48687 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48688 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48689 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48690
48691
48692 fi
48693
48694 fi
48695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
48696 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
48697
48698 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
48699 for ac_func in _fpclass
48700 do :
48701 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
48702 if test "x$ac_cv_func__fpclass" = xyes; then :
48703 cat >>confdefs.h <<_ACEOF
48704 #define HAVE__FPCLASS 1
48705 _ACEOF
48706
48707 fi
48708 done
48709
48710 fi
48711 fi
48712
48713
48714
48715
48716
48717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
48718 $as_echo_n "checking for qfpclass declaration... " >&6; }
48719 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
48720 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
48721 $as_echo_n "(cached) " >&6
48722 else
48723
48724
48725 ac_ext=cpp
48726 ac_cpp='$CXXCPP $CPPFLAGS'
48727 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48728 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48729 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48730
48731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48732 /* end confdefs.h. */
48733 #include <math.h>
48734 #ifdef HAVE_IEEEFP_H
48735 #include <ieeefp.h>
48736 #endif
48737
48738 int
48739 main ()
48740 {
48741 qfpclass(0);
48742 ;
48743 return 0;
48744 }
48745 _ACEOF
48746 if ac_fn_cxx_try_compile "$LINENO"; then :
48747 glibcxx_cv_func_qfpclass_use=yes
48748 else
48749 glibcxx_cv_func_qfpclass_use=no
48750 fi
48751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48752 ac_ext=c
48753 ac_cpp='$CPP $CPPFLAGS'
48754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48757
48758
48759 fi
48760
48761 fi
48762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
48763 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
48764
48765 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
48766 for ac_func in qfpclass
48767 do :
48768 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
48769 if test "x$ac_cv_func_qfpclass" = xyes; then :
48770 cat >>confdefs.h <<_ACEOF
48771 #define HAVE_QFPCLASS 1
48772 _ACEOF
48773
48774 fi
48775 done
48776
48777 else
48778
48779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
48780 $as_echo_n "checking for _qfpclass declaration... " >&6; }
48781 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
48782 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
48783 $as_echo_n "(cached) " >&6
48784 else
48785
48786
48787 ac_ext=cpp
48788 ac_cpp='$CXXCPP $CPPFLAGS'
48789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48792
48793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48794 /* end confdefs.h. */
48795 #include <math.h>
48796 #ifdef HAVE_IEEEFP_H
48797 #include <ieeefp.h>
48798 #endif
48799
48800 int
48801 main ()
48802 {
48803 _qfpclass(0);
48804 ;
48805 return 0;
48806 }
48807 _ACEOF
48808 if ac_fn_cxx_try_compile "$LINENO"; then :
48809 glibcxx_cv_func__qfpclass_use=yes
48810 else
48811 glibcxx_cv_func__qfpclass_use=no
48812 fi
48813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48814 ac_ext=c
48815 ac_cpp='$CPP $CPPFLAGS'
48816 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48817 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48818 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48819
48820
48821 fi
48822
48823 fi
48824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
48825 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
48826
48827 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
48828 for ac_func in _qfpclass
48829 do :
48830 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
48831 if test "x$ac_cv_func__qfpclass" = xyes; then :
48832 cat >>confdefs.h <<_ACEOF
48833 #define HAVE__QFPCLASS 1
48834 _ACEOF
48835
48836 fi
48837 done
48838
48839 fi
48840 fi
48841
48842
48843
48844
48845
48846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
48847 $as_echo_n "checking for hypot declaration... " >&6; }
48848 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
48849 if ${glibcxx_cv_func_hypot_use+:} false; then :
48850 $as_echo_n "(cached) " >&6
48851 else
48852
48853
48854 ac_ext=cpp
48855 ac_cpp='$CXXCPP $CPPFLAGS'
48856 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48857 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48858 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48859
48860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48861 /* end confdefs.h. */
48862 #include <math.h>
48863 int
48864 main ()
48865 {
48866 hypot(0, 0);
48867 ;
48868 return 0;
48869 }
48870 _ACEOF
48871 if ac_fn_cxx_try_compile "$LINENO"; then :
48872 glibcxx_cv_func_hypot_use=yes
48873 else
48874 glibcxx_cv_func_hypot_use=no
48875 fi
48876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48877 ac_ext=c
48878 ac_cpp='$CPP $CPPFLAGS'
48879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48882
48883
48884 fi
48885
48886 fi
48887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
48888 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
48889
48890 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
48891 for ac_func in hypot
48892 do :
48893 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
48894 if test "x$ac_cv_func_hypot" = xyes; then :
48895 cat >>confdefs.h <<_ACEOF
48896 #define HAVE_HYPOT 1
48897 _ACEOF
48898
48899 fi
48900 done
48901
48902 else
48903
48904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
48905 $as_echo_n "checking for _hypot declaration... " >&6; }
48906 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
48907 if ${glibcxx_cv_func__hypot_use+:} false; then :
48908 $as_echo_n "(cached) " >&6
48909 else
48910
48911
48912 ac_ext=cpp
48913 ac_cpp='$CXXCPP $CPPFLAGS'
48914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48917
48918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48919 /* end confdefs.h. */
48920 #include <math.h>
48921 int
48922 main ()
48923 {
48924 _hypot(0, 0);
48925 ;
48926 return 0;
48927 }
48928 _ACEOF
48929 if ac_fn_cxx_try_compile "$LINENO"; then :
48930 glibcxx_cv_func__hypot_use=yes
48931 else
48932 glibcxx_cv_func__hypot_use=no
48933 fi
48934 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48935 ac_ext=c
48936 ac_cpp='$CPP $CPPFLAGS'
48937 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48938 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48939 ac_compiler_gnu=$ac_cv_c_compiler_gnu
48940
48941
48942 fi
48943
48944 fi
48945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
48946 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
48947
48948 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
48949 for ac_func in _hypot
48950 do :
48951 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
48952 if test "x$ac_cv_func__hypot" = xyes; then :
48953 cat >>confdefs.h <<_ACEOF
48954 #define HAVE__HYPOT 1
48955 _ACEOF
48956
48957 fi
48958 done
48959
48960 fi
48961 fi
48962
48963
48964
48965
48966
48967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
48968 $as_echo_n "checking for float trig functions... " >&6; }
48969 if ${glibcxx_cv_func_float_trig_use+:} false; then :
48970 $as_echo_n "(cached) " >&6
48971 else
48972
48973
48974 ac_ext=cpp
48975 ac_cpp='$CXXCPP $CPPFLAGS'
48976 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
48977 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
48978 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
48979
48980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
48981 /* end confdefs.h. */
48982 #include <math.h>
48983 int
48984 main ()
48985 {
48986 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
48987 ;
48988 return 0;
48989 }
48990 _ACEOF
48991 if ac_fn_cxx_try_compile "$LINENO"; then :
48992 glibcxx_cv_func_float_trig_use=yes
48993 else
48994 glibcxx_cv_func_float_trig_use=no
48995 fi
48996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48997 ac_ext=c
48998 ac_cpp='$CPP $CPPFLAGS'
48999 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49000 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49001 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49002
49003 fi
49004
49005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
49006 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
49007 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
49008 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
49009 do :
49010 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49011 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49012 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49013 cat >>confdefs.h <<_ACEOF
49014 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49015 _ACEOF
49016
49017 fi
49018 done
49019
49020 else
49021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
49022 $as_echo_n "checking for _float trig functions... " >&6; }
49023 if ${glibcxx_cv_func__float_trig_use+:} false; then :
49024 $as_echo_n "(cached) " >&6
49025 else
49026
49027
49028 ac_ext=cpp
49029 ac_cpp='$CXXCPP $CPPFLAGS'
49030 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49031 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49032 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49033
49034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49035 /* end confdefs.h. */
49036 #include <math.h>
49037 int
49038 main ()
49039 {
49040 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
49041 ;
49042 return 0;
49043 }
49044 _ACEOF
49045 if ac_fn_cxx_try_compile "$LINENO"; then :
49046 glibcxx_cv_func__float_trig_use=yes
49047 else
49048 glibcxx_cv_func__float_trig_use=no
49049 fi
49050 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49051 ac_ext=c
49052 ac_cpp='$CPP $CPPFLAGS'
49053 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49054 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49055 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49056
49057 fi
49058
49059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
49060 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
49061 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
49062 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
49063 do :
49064 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49065 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49066 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49067 cat >>confdefs.h <<_ACEOF
49068 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49069 _ACEOF
49070
49071 fi
49072 done
49073
49074 fi
49075 fi
49076
49077
49078
49079
49080
49081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
49082 $as_echo_n "checking for float round functions... " >&6; }
49083 if ${glibcxx_cv_func_float_round_use+:} false; then :
49084 $as_echo_n "(cached) " >&6
49085 else
49086
49087
49088 ac_ext=cpp
49089 ac_cpp='$CXXCPP $CPPFLAGS'
49090 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49091 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49092 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49093
49094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49095 /* end confdefs.h. */
49096 #include <math.h>
49097 int
49098 main ()
49099 {
49100 ceilf (0); floorf (0);
49101 ;
49102 return 0;
49103 }
49104 _ACEOF
49105 if ac_fn_cxx_try_compile "$LINENO"; then :
49106 glibcxx_cv_func_float_round_use=yes
49107 else
49108 glibcxx_cv_func_float_round_use=no
49109 fi
49110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49111 ac_ext=c
49112 ac_cpp='$CPP $CPPFLAGS'
49113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49116
49117 fi
49118
49119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
49120 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
49121 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
49122 for ac_func in ceilf floorf
49123 do :
49124 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49125 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49126 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49127 cat >>confdefs.h <<_ACEOF
49128 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49129 _ACEOF
49130
49131 fi
49132 done
49133
49134 else
49135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
49136 $as_echo_n "checking for _float round functions... " >&6; }
49137 if ${glibcxx_cv_func__float_round_use+:} false; then :
49138 $as_echo_n "(cached) " >&6
49139 else
49140
49141
49142 ac_ext=cpp
49143 ac_cpp='$CXXCPP $CPPFLAGS'
49144 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49145 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49146 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49147
49148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49149 /* end confdefs.h. */
49150 #include <math.h>
49151 int
49152 main ()
49153 {
49154 _ceilf (0); _floorf (0);
49155 ;
49156 return 0;
49157 }
49158 _ACEOF
49159 if ac_fn_cxx_try_compile "$LINENO"; then :
49160 glibcxx_cv_func__float_round_use=yes
49161 else
49162 glibcxx_cv_func__float_round_use=no
49163 fi
49164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49165 ac_ext=c
49166 ac_cpp='$CPP $CPPFLAGS'
49167 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49168 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49169 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49170
49171 fi
49172
49173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
49174 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
49175 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
49176 for ac_func in _ceilf _floorf
49177 do :
49178 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
49179 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
49180 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
49181 cat >>confdefs.h <<_ACEOF
49182 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
49183 _ACEOF
49184
49185 fi
49186 done
49187
49188 fi
49189 fi
49190
49191
49192
49193
49194
49195
49196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
49197 $as_echo_n "checking for expf declaration... " >&6; }
49198 if test x${glibcxx_cv_func_expf_use+set} != xset; then
49199 if ${glibcxx_cv_func_expf_use+:} false; then :
49200 $as_echo_n "(cached) " >&6
49201 else
49202
49203
49204 ac_ext=cpp
49205 ac_cpp='$CXXCPP $CPPFLAGS'
49206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49209
49210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49211 /* end confdefs.h. */
49212 #include <math.h>
49213 #ifdef HAVE_IEEEFP_H
49214 #include <ieeefp.h>
49215 #endif
49216
49217 int
49218 main ()
49219 {
49220 expf(0);
49221 ;
49222 return 0;
49223 }
49224 _ACEOF
49225 if ac_fn_cxx_try_compile "$LINENO"; then :
49226 glibcxx_cv_func_expf_use=yes
49227 else
49228 glibcxx_cv_func_expf_use=no
49229 fi
49230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49231 ac_ext=c
49232 ac_cpp='$CPP $CPPFLAGS'
49233 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49234 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49235 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49236
49237
49238 fi
49239
49240 fi
49241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
49242 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
49243
49244 if test x$glibcxx_cv_func_expf_use = x"yes"; then
49245 for ac_func in expf
49246 do :
49247 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
49248 if test "x$ac_cv_func_expf" = xyes; then :
49249 cat >>confdefs.h <<_ACEOF
49250 #define HAVE_EXPF 1
49251 _ACEOF
49252
49253 fi
49254 done
49255
49256 else
49257
49258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
49259 $as_echo_n "checking for _expf declaration... " >&6; }
49260 if test x${glibcxx_cv_func__expf_use+set} != xset; then
49261 if ${glibcxx_cv_func__expf_use+:} false; then :
49262 $as_echo_n "(cached) " >&6
49263 else
49264
49265
49266 ac_ext=cpp
49267 ac_cpp='$CXXCPP $CPPFLAGS'
49268 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49269 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49270 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49271
49272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49273 /* end confdefs.h. */
49274 #include <math.h>
49275 #ifdef HAVE_IEEEFP_H
49276 #include <ieeefp.h>
49277 #endif
49278
49279 int
49280 main ()
49281 {
49282 _expf(0);
49283 ;
49284 return 0;
49285 }
49286 _ACEOF
49287 if ac_fn_cxx_try_compile "$LINENO"; then :
49288 glibcxx_cv_func__expf_use=yes
49289 else
49290 glibcxx_cv_func__expf_use=no
49291 fi
49292 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49293 ac_ext=c
49294 ac_cpp='$CPP $CPPFLAGS'
49295 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49296 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49297 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49298
49299
49300 fi
49301
49302 fi
49303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
49304 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
49305
49306 if test x$glibcxx_cv_func__expf_use = x"yes"; then
49307 for ac_func in _expf
49308 do :
49309 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
49310 if test "x$ac_cv_func__expf" = xyes; then :
49311 cat >>confdefs.h <<_ACEOF
49312 #define HAVE__EXPF 1
49313 _ACEOF
49314
49315 fi
49316 done
49317
49318 fi
49319 fi
49320
49321
49322
49323
49324
49325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
49326 $as_echo_n "checking for isnanf declaration... " >&6; }
49327 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
49328 if ${glibcxx_cv_func_isnanf_use+:} false; then :
49329 $as_echo_n "(cached) " >&6
49330 else
49331
49332
49333 ac_ext=cpp
49334 ac_cpp='$CXXCPP $CPPFLAGS'
49335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49338
49339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49340 /* end confdefs.h. */
49341 #include <math.h>
49342 #ifdef HAVE_IEEEFP_H
49343 #include <ieeefp.h>
49344 #endif
49345
49346 int
49347 main ()
49348 {
49349 isnanf(0);
49350 ;
49351 return 0;
49352 }
49353 _ACEOF
49354 if ac_fn_cxx_try_compile "$LINENO"; then :
49355 glibcxx_cv_func_isnanf_use=yes
49356 else
49357 glibcxx_cv_func_isnanf_use=no
49358 fi
49359 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49360 ac_ext=c
49361 ac_cpp='$CPP $CPPFLAGS'
49362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49365
49366
49367 fi
49368
49369 fi
49370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
49371 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
49372
49373 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
49374 for ac_func in isnanf
49375 do :
49376 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
49377 if test "x$ac_cv_func_isnanf" = xyes; then :
49378 cat >>confdefs.h <<_ACEOF
49379 #define HAVE_ISNANF 1
49380 _ACEOF
49381
49382 fi
49383 done
49384
49385 else
49386
49387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
49388 $as_echo_n "checking for _isnanf declaration... " >&6; }
49389 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
49390 if ${glibcxx_cv_func__isnanf_use+:} false; then :
49391 $as_echo_n "(cached) " >&6
49392 else
49393
49394
49395 ac_ext=cpp
49396 ac_cpp='$CXXCPP $CPPFLAGS'
49397 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49398 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49399 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49400
49401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49402 /* end confdefs.h. */
49403 #include <math.h>
49404 #ifdef HAVE_IEEEFP_H
49405 #include <ieeefp.h>
49406 #endif
49407
49408 int
49409 main ()
49410 {
49411 _isnanf(0);
49412 ;
49413 return 0;
49414 }
49415 _ACEOF
49416 if ac_fn_cxx_try_compile "$LINENO"; then :
49417 glibcxx_cv_func__isnanf_use=yes
49418 else
49419 glibcxx_cv_func__isnanf_use=no
49420 fi
49421 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49422 ac_ext=c
49423 ac_cpp='$CPP $CPPFLAGS'
49424 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49425 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49426 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49427
49428
49429 fi
49430
49431 fi
49432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
49433 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
49434
49435 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
49436 for ac_func in _isnanf
49437 do :
49438 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
49439 if test "x$ac_cv_func__isnanf" = xyes; then :
49440 cat >>confdefs.h <<_ACEOF
49441 #define HAVE__ISNANF 1
49442 _ACEOF
49443
49444 fi
49445 done
49446
49447 fi
49448 fi
49449
49450
49451
49452
49453
49454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
49455 $as_echo_n "checking for isinff declaration... " >&6; }
49456 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
49457 if ${glibcxx_cv_func_isinff_use+:} false; then :
49458 $as_echo_n "(cached) " >&6
49459 else
49460
49461
49462 ac_ext=cpp
49463 ac_cpp='$CXXCPP $CPPFLAGS'
49464 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49465 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49466 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49467
49468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49469 /* end confdefs.h. */
49470 #include <math.h>
49471 #ifdef HAVE_IEEEFP_H
49472 #include <ieeefp.h>
49473 #endif
49474
49475 int
49476 main ()
49477 {
49478 isinff(0);
49479 ;
49480 return 0;
49481 }
49482 _ACEOF
49483 if ac_fn_cxx_try_compile "$LINENO"; then :
49484 glibcxx_cv_func_isinff_use=yes
49485 else
49486 glibcxx_cv_func_isinff_use=no
49487 fi
49488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49489 ac_ext=c
49490 ac_cpp='$CPP $CPPFLAGS'
49491 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49492 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49493 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49494
49495
49496 fi
49497
49498 fi
49499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
49500 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
49501
49502 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
49503 for ac_func in isinff
49504 do :
49505 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
49506 if test "x$ac_cv_func_isinff" = xyes; then :
49507 cat >>confdefs.h <<_ACEOF
49508 #define HAVE_ISINFF 1
49509 _ACEOF
49510
49511 fi
49512 done
49513
49514 else
49515
49516 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
49517 $as_echo_n "checking for _isinff declaration... " >&6; }
49518 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
49519 if ${glibcxx_cv_func__isinff_use+:} false; then :
49520 $as_echo_n "(cached) " >&6
49521 else
49522
49523
49524 ac_ext=cpp
49525 ac_cpp='$CXXCPP $CPPFLAGS'
49526 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49527 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49528 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49529
49530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49531 /* end confdefs.h. */
49532 #include <math.h>
49533 #ifdef HAVE_IEEEFP_H
49534 #include <ieeefp.h>
49535 #endif
49536
49537 int
49538 main ()
49539 {
49540 _isinff(0);
49541 ;
49542 return 0;
49543 }
49544 _ACEOF
49545 if ac_fn_cxx_try_compile "$LINENO"; then :
49546 glibcxx_cv_func__isinff_use=yes
49547 else
49548 glibcxx_cv_func__isinff_use=no
49549 fi
49550 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49551 ac_ext=c
49552 ac_cpp='$CPP $CPPFLAGS'
49553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49556
49557
49558 fi
49559
49560 fi
49561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
49562 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
49563
49564 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
49565 for ac_func in _isinff
49566 do :
49567 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
49568 if test "x$ac_cv_func__isinff" = xyes; then :
49569 cat >>confdefs.h <<_ACEOF
49570 #define HAVE__ISINFF 1
49571 _ACEOF
49572
49573 fi
49574 done
49575
49576 fi
49577 fi
49578
49579
49580
49581
49582
49583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
49584 $as_echo_n "checking for atan2f declaration... " >&6; }
49585 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
49586 if ${glibcxx_cv_func_atan2f_use+:} false; then :
49587 $as_echo_n "(cached) " >&6
49588 else
49589
49590
49591 ac_ext=cpp
49592 ac_cpp='$CXXCPP $CPPFLAGS'
49593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49596
49597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49598 /* end confdefs.h. */
49599 #include <math.h>
49600 int
49601 main ()
49602 {
49603 atan2f(0, 0);
49604 ;
49605 return 0;
49606 }
49607 _ACEOF
49608 if ac_fn_cxx_try_compile "$LINENO"; then :
49609 glibcxx_cv_func_atan2f_use=yes
49610 else
49611 glibcxx_cv_func_atan2f_use=no
49612 fi
49613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49614 ac_ext=c
49615 ac_cpp='$CPP $CPPFLAGS'
49616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49619
49620
49621 fi
49622
49623 fi
49624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
49625 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
49626
49627 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
49628 for ac_func in atan2f
49629 do :
49630 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
49631 if test "x$ac_cv_func_atan2f" = xyes; then :
49632 cat >>confdefs.h <<_ACEOF
49633 #define HAVE_ATAN2F 1
49634 _ACEOF
49635
49636 fi
49637 done
49638
49639 else
49640
49641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
49642 $as_echo_n "checking for _atan2f declaration... " >&6; }
49643 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
49644 if ${glibcxx_cv_func__atan2f_use+:} false; then :
49645 $as_echo_n "(cached) " >&6
49646 else
49647
49648
49649 ac_ext=cpp
49650 ac_cpp='$CXXCPP $CPPFLAGS'
49651 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49652 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49653 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49654
49655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49656 /* end confdefs.h. */
49657 #include <math.h>
49658 int
49659 main ()
49660 {
49661 _atan2f(0, 0);
49662 ;
49663 return 0;
49664 }
49665 _ACEOF
49666 if ac_fn_cxx_try_compile "$LINENO"; then :
49667 glibcxx_cv_func__atan2f_use=yes
49668 else
49669 glibcxx_cv_func__atan2f_use=no
49670 fi
49671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49672 ac_ext=c
49673 ac_cpp='$CPP $CPPFLAGS'
49674 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49675 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49676 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49677
49678
49679 fi
49680
49681 fi
49682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
49683 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
49684
49685 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
49686 for ac_func in _atan2f
49687 do :
49688 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
49689 if test "x$ac_cv_func__atan2f" = xyes; then :
49690 cat >>confdefs.h <<_ACEOF
49691 #define HAVE__ATAN2F 1
49692 _ACEOF
49693
49694 fi
49695 done
49696
49697 fi
49698 fi
49699
49700
49701
49702
49703
49704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
49705 $as_echo_n "checking for fabsf declaration... " >&6; }
49706 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
49707 if ${glibcxx_cv_func_fabsf_use+:} false; then :
49708 $as_echo_n "(cached) " >&6
49709 else
49710
49711
49712 ac_ext=cpp
49713 ac_cpp='$CXXCPP $CPPFLAGS'
49714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49717
49718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49719 /* end confdefs.h. */
49720 #include <math.h>
49721 #ifdef HAVE_IEEEFP_H
49722 #include <ieeefp.h>
49723 #endif
49724
49725 int
49726 main ()
49727 {
49728 fabsf(0);
49729 ;
49730 return 0;
49731 }
49732 _ACEOF
49733 if ac_fn_cxx_try_compile "$LINENO"; then :
49734 glibcxx_cv_func_fabsf_use=yes
49735 else
49736 glibcxx_cv_func_fabsf_use=no
49737 fi
49738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49739 ac_ext=c
49740 ac_cpp='$CPP $CPPFLAGS'
49741 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49742 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49743 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49744
49745
49746 fi
49747
49748 fi
49749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
49750 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
49751
49752 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
49753 for ac_func in fabsf
49754 do :
49755 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
49756 if test "x$ac_cv_func_fabsf" = xyes; then :
49757 cat >>confdefs.h <<_ACEOF
49758 #define HAVE_FABSF 1
49759 _ACEOF
49760
49761 fi
49762 done
49763
49764 else
49765
49766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
49767 $as_echo_n "checking for _fabsf declaration... " >&6; }
49768 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
49769 if ${glibcxx_cv_func__fabsf_use+:} false; then :
49770 $as_echo_n "(cached) " >&6
49771 else
49772
49773
49774 ac_ext=cpp
49775 ac_cpp='$CXXCPP $CPPFLAGS'
49776 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49777 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49778 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49779
49780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49781 /* end confdefs.h. */
49782 #include <math.h>
49783 #ifdef HAVE_IEEEFP_H
49784 #include <ieeefp.h>
49785 #endif
49786
49787 int
49788 main ()
49789 {
49790 _fabsf(0);
49791 ;
49792 return 0;
49793 }
49794 _ACEOF
49795 if ac_fn_cxx_try_compile "$LINENO"; then :
49796 glibcxx_cv_func__fabsf_use=yes
49797 else
49798 glibcxx_cv_func__fabsf_use=no
49799 fi
49800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49801 ac_ext=c
49802 ac_cpp='$CPP $CPPFLAGS'
49803 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49804 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49805 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49806
49807
49808 fi
49809
49810 fi
49811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
49812 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
49813
49814 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
49815 for ac_func in _fabsf
49816 do :
49817 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
49818 if test "x$ac_cv_func__fabsf" = xyes; then :
49819 cat >>confdefs.h <<_ACEOF
49820 #define HAVE__FABSF 1
49821 _ACEOF
49822
49823 fi
49824 done
49825
49826 fi
49827 fi
49828
49829
49830
49831
49832
49833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
49834 $as_echo_n "checking for fmodf declaration... " >&6; }
49835 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
49836 if ${glibcxx_cv_func_fmodf_use+:} false; then :
49837 $as_echo_n "(cached) " >&6
49838 else
49839
49840
49841 ac_ext=cpp
49842 ac_cpp='$CXXCPP $CPPFLAGS'
49843 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49844 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49845 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49846
49847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49848 /* end confdefs.h. */
49849 #include <math.h>
49850 int
49851 main ()
49852 {
49853 fmodf(0, 0);
49854 ;
49855 return 0;
49856 }
49857 _ACEOF
49858 if ac_fn_cxx_try_compile "$LINENO"; then :
49859 glibcxx_cv_func_fmodf_use=yes
49860 else
49861 glibcxx_cv_func_fmodf_use=no
49862 fi
49863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49864 ac_ext=c
49865 ac_cpp='$CPP $CPPFLAGS'
49866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49869
49870
49871 fi
49872
49873 fi
49874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
49875 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
49876
49877 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
49878 for ac_func in fmodf
49879 do :
49880 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
49881 if test "x$ac_cv_func_fmodf" = xyes; then :
49882 cat >>confdefs.h <<_ACEOF
49883 #define HAVE_FMODF 1
49884 _ACEOF
49885
49886 fi
49887 done
49888
49889 else
49890
49891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
49892 $as_echo_n "checking for _fmodf declaration... " >&6; }
49893 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
49894 if ${glibcxx_cv_func__fmodf_use+:} false; then :
49895 $as_echo_n "(cached) " >&6
49896 else
49897
49898
49899 ac_ext=cpp
49900 ac_cpp='$CXXCPP $CPPFLAGS'
49901 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49902 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49903 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49904
49905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49906 /* end confdefs.h. */
49907 #include <math.h>
49908 int
49909 main ()
49910 {
49911 _fmodf(0, 0);
49912 ;
49913 return 0;
49914 }
49915 _ACEOF
49916 if ac_fn_cxx_try_compile "$LINENO"; then :
49917 glibcxx_cv_func__fmodf_use=yes
49918 else
49919 glibcxx_cv_func__fmodf_use=no
49920 fi
49921 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49922 ac_ext=c
49923 ac_cpp='$CPP $CPPFLAGS'
49924 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49925 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49926 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49927
49928
49929 fi
49930
49931 fi
49932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
49933 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
49934
49935 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
49936 for ac_func in _fmodf
49937 do :
49938 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
49939 if test "x$ac_cv_func__fmodf" = xyes; then :
49940 cat >>confdefs.h <<_ACEOF
49941 #define HAVE__FMODF 1
49942 _ACEOF
49943
49944 fi
49945 done
49946
49947 fi
49948 fi
49949
49950
49951
49952
49953
49954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
49955 $as_echo_n "checking for frexpf declaration... " >&6; }
49956 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
49957 if ${glibcxx_cv_func_frexpf_use+:} false; then :
49958 $as_echo_n "(cached) " >&6
49959 else
49960
49961
49962 ac_ext=cpp
49963 ac_cpp='$CXXCPP $CPPFLAGS'
49964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
49967
49968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
49969 /* end confdefs.h. */
49970 #include <math.h>
49971 int
49972 main ()
49973 {
49974 frexpf(0, 0);
49975 ;
49976 return 0;
49977 }
49978 _ACEOF
49979 if ac_fn_cxx_try_compile "$LINENO"; then :
49980 glibcxx_cv_func_frexpf_use=yes
49981 else
49982 glibcxx_cv_func_frexpf_use=no
49983 fi
49984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49985 ac_ext=c
49986 ac_cpp='$CPP $CPPFLAGS'
49987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
49988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
49989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
49990
49991
49992 fi
49993
49994 fi
49995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
49996 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
49997
49998 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
49999 for ac_func in frexpf
50000 do :
50001 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
50002 if test "x$ac_cv_func_frexpf" = xyes; then :
50003 cat >>confdefs.h <<_ACEOF
50004 #define HAVE_FREXPF 1
50005 _ACEOF
50006
50007 fi
50008 done
50009
50010 else
50011
50012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
50013 $as_echo_n "checking for _frexpf declaration... " >&6; }
50014 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
50015 if ${glibcxx_cv_func__frexpf_use+:} false; then :
50016 $as_echo_n "(cached) " >&6
50017 else
50018
50019
50020 ac_ext=cpp
50021 ac_cpp='$CXXCPP $CPPFLAGS'
50022 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50023 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50024 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50025
50026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50027 /* end confdefs.h. */
50028 #include <math.h>
50029 int
50030 main ()
50031 {
50032 _frexpf(0, 0);
50033 ;
50034 return 0;
50035 }
50036 _ACEOF
50037 if ac_fn_cxx_try_compile "$LINENO"; then :
50038 glibcxx_cv_func__frexpf_use=yes
50039 else
50040 glibcxx_cv_func__frexpf_use=no
50041 fi
50042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50043 ac_ext=c
50044 ac_cpp='$CPP $CPPFLAGS'
50045 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50046 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50047 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50048
50049
50050 fi
50051
50052 fi
50053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
50054 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
50055
50056 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
50057 for ac_func in _frexpf
50058 do :
50059 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
50060 if test "x$ac_cv_func__frexpf" = xyes; then :
50061 cat >>confdefs.h <<_ACEOF
50062 #define HAVE__FREXPF 1
50063 _ACEOF
50064
50065 fi
50066 done
50067
50068 fi
50069 fi
50070
50071
50072
50073
50074
50075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
50076 $as_echo_n "checking for hypotf declaration... " >&6; }
50077 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
50078 if ${glibcxx_cv_func_hypotf_use+:} false; then :
50079 $as_echo_n "(cached) " >&6
50080 else
50081
50082
50083 ac_ext=cpp
50084 ac_cpp='$CXXCPP $CPPFLAGS'
50085 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50086 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50087 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50088
50089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50090 /* end confdefs.h. */
50091 #include <math.h>
50092 int
50093 main ()
50094 {
50095 hypotf(0, 0);
50096 ;
50097 return 0;
50098 }
50099 _ACEOF
50100 if ac_fn_cxx_try_compile "$LINENO"; then :
50101 glibcxx_cv_func_hypotf_use=yes
50102 else
50103 glibcxx_cv_func_hypotf_use=no
50104 fi
50105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50106 ac_ext=c
50107 ac_cpp='$CPP $CPPFLAGS'
50108 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50109 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50110 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50111
50112
50113 fi
50114
50115 fi
50116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
50117 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
50118
50119 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
50120 for ac_func in hypotf
50121 do :
50122 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
50123 if test "x$ac_cv_func_hypotf" = xyes; then :
50124 cat >>confdefs.h <<_ACEOF
50125 #define HAVE_HYPOTF 1
50126 _ACEOF
50127
50128 fi
50129 done
50130
50131 else
50132
50133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
50134 $as_echo_n "checking for _hypotf declaration... " >&6; }
50135 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
50136 if ${glibcxx_cv_func__hypotf_use+:} false; then :
50137 $as_echo_n "(cached) " >&6
50138 else
50139
50140
50141 ac_ext=cpp
50142 ac_cpp='$CXXCPP $CPPFLAGS'
50143 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50144 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50145 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50146
50147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50148 /* end confdefs.h. */
50149 #include <math.h>
50150 int
50151 main ()
50152 {
50153 _hypotf(0, 0);
50154 ;
50155 return 0;
50156 }
50157 _ACEOF
50158 if ac_fn_cxx_try_compile "$LINENO"; then :
50159 glibcxx_cv_func__hypotf_use=yes
50160 else
50161 glibcxx_cv_func__hypotf_use=no
50162 fi
50163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50164 ac_ext=c
50165 ac_cpp='$CPP $CPPFLAGS'
50166 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50167 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50168 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50169
50170
50171 fi
50172
50173 fi
50174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
50175 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
50176
50177 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
50178 for ac_func in _hypotf
50179 do :
50180 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
50181 if test "x$ac_cv_func__hypotf" = xyes; then :
50182 cat >>confdefs.h <<_ACEOF
50183 #define HAVE__HYPOTF 1
50184 _ACEOF
50185
50186 fi
50187 done
50188
50189 fi
50190 fi
50191
50192
50193
50194
50195
50196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
50197 $as_echo_n "checking for ldexpf declaration... " >&6; }
50198 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
50199 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
50200 $as_echo_n "(cached) " >&6
50201 else
50202
50203
50204 ac_ext=cpp
50205 ac_cpp='$CXXCPP $CPPFLAGS'
50206 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50207 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50208 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50209
50210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50211 /* end confdefs.h. */
50212 #include <math.h>
50213 int
50214 main ()
50215 {
50216 ldexpf(0, 0);
50217 ;
50218 return 0;
50219 }
50220 _ACEOF
50221 if ac_fn_cxx_try_compile "$LINENO"; then :
50222 glibcxx_cv_func_ldexpf_use=yes
50223 else
50224 glibcxx_cv_func_ldexpf_use=no
50225 fi
50226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50227 ac_ext=c
50228 ac_cpp='$CPP $CPPFLAGS'
50229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50232
50233
50234 fi
50235
50236 fi
50237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
50238 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
50239
50240 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
50241 for ac_func in ldexpf
50242 do :
50243 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
50244 if test "x$ac_cv_func_ldexpf" = xyes; then :
50245 cat >>confdefs.h <<_ACEOF
50246 #define HAVE_LDEXPF 1
50247 _ACEOF
50248
50249 fi
50250 done
50251
50252 else
50253
50254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
50255 $as_echo_n "checking for _ldexpf declaration... " >&6; }
50256 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
50257 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
50258 $as_echo_n "(cached) " >&6
50259 else
50260
50261
50262 ac_ext=cpp
50263 ac_cpp='$CXXCPP $CPPFLAGS'
50264 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50265 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50266 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50267
50268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50269 /* end confdefs.h. */
50270 #include <math.h>
50271 int
50272 main ()
50273 {
50274 _ldexpf(0, 0);
50275 ;
50276 return 0;
50277 }
50278 _ACEOF
50279 if ac_fn_cxx_try_compile "$LINENO"; then :
50280 glibcxx_cv_func__ldexpf_use=yes
50281 else
50282 glibcxx_cv_func__ldexpf_use=no
50283 fi
50284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50285 ac_ext=c
50286 ac_cpp='$CPP $CPPFLAGS'
50287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50290
50291
50292 fi
50293
50294 fi
50295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
50296 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
50297
50298 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
50299 for ac_func in _ldexpf
50300 do :
50301 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
50302 if test "x$ac_cv_func__ldexpf" = xyes; then :
50303 cat >>confdefs.h <<_ACEOF
50304 #define HAVE__LDEXPF 1
50305 _ACEOF
50306
50307 fi
50308 done
50309
50310 fi
50311 fi
50312
50313
50314
50315
50316
50317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
50318 $as_echo_n "checking for logf declaration... " >&6; }
50319 if test x${glibcxx_cv_func_logf_use+set} != xset; then
50320 if ${glibcxx_cv_func_logf_use+:} false; then :
50321 $as_echo_n "(cached) " >&6
50322 else
50323
50324
50325 ac_ext=cpp
50326 ac_cpp='$CXXCPP $CPPFLAGS'
50327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50330
50331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50332 /* end confdefs.h. */
50333 #include <math.h>
50334 #ifdef HAVE_IEEEFP_H
50335 #include <ieeefp.h>
50336 #endif
50337
50338 int
50339 main ()
50340 {
50341 logf(0);
50342 ;
50343 return 0;
50344 }
50345 _ACEOF
50346 if ac_fn_cxx_try_compile "$LINENO"; then :
50347 glibcxx_cv_func_logf_use=yes
50348 else
50349 glibcxx_cv_func_logf_use=no
50350 fi
50351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50352 ac_ext=c
50353 ac_cpp='$CPP $CPPFLAGS'
50354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50357
50358
50359 fi
50360
50361 fi
50362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
50363 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
50364
50365 if test x$glibcxx_cv_func_logf_use = x"yes"; then
50366 for ac_func in logf
50367 do :
50368 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
50369 if test "x$ac_cv_func_logf" = xyes; then :
50370 cat >>confdefs.h <<_ACEOF
50371 #define HAVE_LOGF 1
50372 _ACEOF
50373
50374 fi
50375 done
50376
50377 else
50378
50379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
50380 $as_echo_n "checking for _logf declaration... " >&6; }
50381 if test x${glibcxx_cv_func__logf_use+set} != xset; then
50382 if ${glibcxx_cv_func__logf_use+:} false; then :
50383 $as_echo_n "(cached) " >&6
50384 else
50385
50386
50387 ac_ext=cpp
50388 ac_cpp='$CXXCPP $CPPFLAGS'
50389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50392
50393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50394 /* end confdefs.h. */
50395 #include <math.h>
50396 #ifdef HAVE_IEEEFP_H
50397 #include <ieeefp.h>
50398 #endif
50399
50400 int
50401 main ()
50402 {
50403 _logf(0);
50404 ;
50405 return 0;
50406 }
50407 _ACEOF
50408 if ac_fn_cxx_try_compile "$LINENO"; then :
50409 glibcxx_cv_func__logf_use=yes
50410 else
50411 glibcxx_cv_func__logf_use=no
50412 fi
50413 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50414 ac_ext=c
50415 ac_cpp='$CPP $CPPFLAGS'
50416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50419
50420
50421 fi
50422
50423 fi
50424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
50425 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
50426
50427 if test x$glibcxx_cv_func__logf_use = x"yes"; then
50428 for ac_func in _logf
50429 do :
50430 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
50431 if test "x$ac_cv_func__logf" = xyes; then :
50432 cat >>confdefs.h <<_ACEOF
50433 #define HAVE__LOGF 1
50434 _ACEOF
50435
50436 fi
50437 done
50438
50439 fi
50440 fi
50441
50442
50443
50444
50445
50446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
50447 $as_echo_n "checking for log10f declaration... " >&6; }
50448 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
50449 if ${glibcxx_cv_func_log10f_use+:} false; then :
50450 $as_echo_n "(cached) " >&6
50451 else
50452
50453
50454 ac_ext=cpp
50455 ac_cpp='$CXXCPP $CPPFLAGS'
50456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50459
50460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50461 /* end confdefs.h. */
50462 #include <math.h>
50463 #ifdef HAVE_IEEEFP_H
50464 #include <ieeefp.h>
50465 #endif
50466
50467 int
50468 main ()
50469 {
50470 log10f(0);
50471 ;
50472 return 0;
50473 }
50474 _ACEOF
50475 if ac_fn_cxx_try_compile "$LINENO"; then :
50476 glibcxx_cv_func_log10f_use=yes
50477 else
50478 glibcxx_cv_func_log10f_use=no
50479 fi
50480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50481 ac_ext=c
50482 ac_cpp='$CPP $CPPFLAGS'
50483 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50484 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50485 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50486
50487
50488 fi
50489
50490 fi
50491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
50492 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
50493
50494 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
50495 for ac_func in log10f
50496 do :
50497 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
50498 if test "x$ac_cv_func_log10f" = xyes; then :
50499 cat >>confdefs.h <<_ACEOF
50500 #define HAVE_LOG10F 1
50501 _ACEOF
50502
50503 fi
50504 done
50505
50506 else
50507
50508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
50509 $as_echo_n "checking for _log10f declaration... " >&6; }
50510 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
50511 if ${glibcxx_cv_func__log10f_use+:} false; then :
50512 $as_echo_n "(cached) " >&6
50513 else
50514
50515
50516 ac_ext=cpp
50517 ac_cpp='$CXXCPP $CPPFLAGS'
50518 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50519 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50520 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50521
50522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50523 /* end confdefs.h. */
50524 #include <math.h>
50525 #ifdef HAVE_IEEEFP_H
50526 #include <ieeefp.h>
50527 #endif
50528
50529 int
50530 main ()
50531 {
50532 _log10f(0);
50533 ;
50534 return 0;
50535 }
50536 _ACEOF
50537 if ac_fn_cxx_try_compile "$LINENO"; then :
50538 glibcxx_cv_func__log10f_use=yes
50539 else
50540 glibcxx_cv_func__log10f_use=no
50541 fi
50542 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50543 ac_ext=c
50544 ac_cpp='$CPP $CPPFLAGS'
50545 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50546 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50547 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50548
50549
50550 fi
50551
50552 fi
50553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
50554 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
50555
50556 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
50557 for ac_func in _log10f
50558 do :
50559 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
50560 if test "x$ac_cv_func__log10f" = xyes; then :
50561 cat >>confdefs.h <<_ACEOF
50562 #define HAVE__LOG10F 1
50563 _ACEOF
50564
50565 fi
50566 done
50567
50568 fi
50569 fi
50570
50571
50572
50573
50574
50575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
50576 $as_echo_n "checking for modff declaration... " >&6; }
50577 if test x${glibcxx_cv_func_modff_use+set} != xset; then
50578 if ${glibcxx_cv_func_modff_use+:} false; then :
50579 $as_echo_n "(cached) " >&6
50580 else
50581
50582
50583 ac_ext=cpp
50584 ac_cpp='$CXXCPP $CPPFLAGS'
50585 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50586 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50587 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50588
50589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50590 /* end confdefs.h. */
50591 #include <math.h>
50592 int
50593 main ()
50594 {
50595 modff(0, 0);
50596 ;
50597 return 0;
50598 }
50599 _ACEOF
50600 if ac_fn_cxx_try_compile "$LINENO"; then :
50601 glibcxx_cv_func_modff_use=yes
50602 else
50603 glibcxx_cv_func_modff_use=no
50604 fi
50605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50606 ac_ext=c
50607 ac_cpp='$CPP $CPPFLAGS'
50608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50611
50612
50613 fi
50614
50615 fi
50616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
50617 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
50618
50619 if test x$glibcxx_cv_func_modff_use = x"yes"; then
50620 for ac_func in modff
50621 do :
50622 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
50623 if test "x$ac_cv_func_modff" = xyes; then :
50624 cat >>confdefs.h <<_ACEOF
50625 #define HAVE_MODFF 1
50626 _ACEOF
50627
50628 fi
50629 done
50630
50631 else
50632
50633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
50634 $as_echo_n "checking for _modff declaration... " >&6; }
50635 if test x${glibcxx_cv_func__modff_use+set} != xset; then
50636 if ${glibcxx_cv_func__modff_use+:} false; then :
50637 $as_echo_n "(cached) " >&6
50638 else
50639
50640
50641 ac_ext=cpp
50642 ac_cpp='$CXXCPP $CPPFLAGS'
50643 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50644 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50645 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50646
50647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50648 /* end confdefs.h. */
50649 #include <math.h>
50650 int
50651 main ()
50652 {
50653 _modff(0, 0);
50654 ;
50655 return 0;
50656 }
50657 _ACEOF
50658 if ac_fn_cxx_try_compile "$LINENO"; then :
50659 glibcxx_cv_func__modff_use=yes
50660 else
50661 glibcxx_cv_func__modff_use=no
50662 fi
50663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50664 ac_ext=c
50665 ac_cpp='$CPP $CPPFLAGS'
50666 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50667 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50668 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50669
50670
50671 fi
50672
50673 fi
50674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
50675 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
50676
50677 if test x$glibcxx_cv_func__modff_use = x"yes"; then
50678 for ac_func in _modff
50679 do :
50680 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
50681 if test "x$ac_cv_func__modff" = xyes; then :
50682 cat >>confdefs.h <<_ACEOF
50683 #define HAVE__MODFF 1
50684 _ACEOF
50685
50686 fi
50687 done
50688
50689 fi
50690 fi
50691
50692
50693
50694
50695
50696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
50697 $as_echo_n "checking for modf declaration... " >&6; }
50698 if test x${glibcxx_cv_func_modf_use+set} != xset; then
50699 if ${glibcxx_cv_func_modf_use+:} false; then :
50700 $as_echo_n "(cached) " >&6
50701 else
50702
50703
50704 ac_ext=cpp
50705 ac_cpp='$CXXCPP $CPPFLAGS'
50706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50709
50710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50711 /* end confdefs.h. */
50712 #include <math.h>
50713 int
50714 main ()
50715 {
50716 modf(0, 0);
50717 ;
50718 return 0;
50719 }
50720 _ACEOF
50721 if ac_fn_cxx_try_compile "$LINENO"; then :
50722 glibcxx_cv_func_modf_use=yes
50723 else
50724 glibcxx_cv_func_modf_use=no
50725 fi
50726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50727 ac_ext=c
50728 ac_cpp='$CPP $CPPFLAGS'
50729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50732
50733
50734 fi
50735
50736 fi
50737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
50738 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
50739
50740 if test x$glibcxx_cv_func_modf_use = x"yes"; then
50741 for ac_func in modf
50742 do :
50743 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
50744 if test "x$ac_cv_func_modf" = xyes; then :
50745 cat >>confdefs.h <<_ACEOF
50746 #define HAVE_MODF 1
50747 _ACEOF
50748
50749 fi
50750 done
50751
50752 else
50753
50754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
50755 $as_echo_n "checking for _modf declaration... " >&6; }
50756 if test x${glibcxx_cv_func__modf_use+set} != xset; then
50757 if ${glibcxx_cv_func__modf_use+:} false; then :
50758 $as_echo_n "(cached) " >&6
50759 else
50760
50761
50762 ac_ext=cpp
50763 ac_cpp='$CXXCPP $CPPFLAGS'
50764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50767
50768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50769 /* end confdefs.h. */
50770 #include <math.h>
50771 int
50772 main ()
50773 {
50774 _modf(0, 0);
50775 ;
50776 return 0;
50777 }
50778 _ACEOF
50779 if ac_fn_cxx_try_compile "$LINENO"; then :
50780 glibcxx_cv_func__modf_use=yes
50781 else
50782 glibcxx_cv_func__modf_use=no
50783 fi
50784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50785 ac_ext=c
50786 ac_cpp='$CPP $CPPFLAGS'
50787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50790
50791
50792 fi
50793
50794 fi
50795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
50796 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
50797
50798 if test x$glibcxx_cv_func__modf_use = x"yes"; then
50799 for ac_func in _modf
50800 do :
50801 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
50802 if test "x$ac_cv_func__modf" = xyes; then :
50803 cat >>confdefs.h <<_ACEOF
50804 #define HAVE__MODF 1
50805 _ACEOF
50806
50807 fi
50808 done
50809
50810 fi
50811 fi
50812
50813
50814
50815
50816
50817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
50818 $as_echo_n "checking for powf declaration... " >&6; }
50819 if test x${glibcxx_cv_func_powf_use+set} != xset; then
50820 if ${glibcxx_cv_func_powf_use+:} false; then :
50821 $as_echo_n "(cached) " >&6
50822 else
50823
50824
50825 ac_ext=cpp
50826 ac_cpp='$CXXCPP $CPPFLAGS'
50827 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50828 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50829 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50830
50831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50832 /* end confdefs.h. */
50833 #include <math.h>
50834 int
50835 main ()
50836 {
50837 powf(0, 0);
50838 ;
50839 return 0;
50840 }
50841 _ACEOF
50842 if ac_fn_cxx_try_compile "$LINENO"; then :
50843 glibcxx_cv_func_powf_use=yes
50844 else
50845 glibcxx_cv_func_powf_use=no
50846 fi
50847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50848 ac_ext=c
50849 ac_cpp='$CPP $CPPFLAGS'
50850 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50851 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50852 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50853
50854
50855 fi
50856
50857 fi
50858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
50859 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
50860
50861 if test x$glibcxx_cv_func_powf_use = x"yes"; then
50862 for ac_func in powf
50863 do :
50864 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
50865 if test "x$ac_cv_func_powf" = xyes; then :
50866 cat >>confdefs.h <<_ACEOF
50867 #define HAVE_POWF 1
50868 _ACEOF
50869
50870 fi
50871 done
50872
50873 else
50874
50875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
50876 $as_echo_n "checking for _powf declaration... " >&6; }
50877 if test x${glibcxx_cv_func__powf_use+set} != xset; then
50878 if ${glibcxx_cv_func__powf_use+:} false; then :
50879 $as_echo_n "(cached) " >&6
50880 else
50881
50882
50883 ac_ext=cpp
50884 ac_cpp='$CXXCPP $CPPFLAGS'
50885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50888
50889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50890 /* end confdefs.h. */
50891 #include <math.h>
50892 int
50893 main ()
50894 {
50895 _powf(0, 0);
50896 ;
50897 return 0;
50898 }
50899 _ACEOF
50900 if ac_fn_cxx_try_compile "$LINENO"; then :
50901 glibcxx_cv_func__powf_use=yes
50902 else
50903 glibcxx_cv_func__powf_use=no
50904 fi
50905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50906 ac_ext=c
50907 ac_cpp='$CPP $CPPFLAGS'
50908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50911
50912
50913 fi
50914
50915 fi
50916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
50917 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
50918
50919 if test x$glibcxx_cv_func__powf_use = x"yes"; then
50920 for ac_func in _powf
50921 do :
50922 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
50923 if test "x$ac_cv_func__powf" = xyes; then :
50924 cat >>confdefs.h <<_ACEOF
50925 #define HAVE__POWF 1
50926 _ACEOF
50927
50928 fi
50929 done
50930
50931 fi
50932 fi
50933
50934
50935
50936
50937
50938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
50939 $as_echo_n "checking for sqrtf declaration... " >&6; }
50940 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
50941 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
50942 $as_echo_n "(cached) " >&6
50943 else
50944
50945
50946 ac_ext=cpp
50947 ac_cpp='$CXXCPP $CPPFLAGS'
50948 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50949 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50950 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
50951
50952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
50953 /* end confdefs.h. */
50954 #include <math.h>
50955 #ifdef HAVE_IEEEFP_H
50956 #include <ieeefp.h>
50957 #endif
50958
50959 int
50960 main ()
50961 {
50962 sqrtf(0);
50963 ;
50964 return 0;
50965 }
50966 _ACEOF
50967 if ac_fn_cxx_try_compile "$LINENO"; then :
50968 glibcxx_cv_func_sqrtf_use=yes
50969 else
50970 glibcxx_cv_func_sqrtf_use=no
50971 fi
50972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
50973 ac_ext=c
50974 ac_cpp='$CPP $CPPFLAGS'
50975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
50976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
50977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
50978
50979
50980 fi
50981
50982 fi
50983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
50984 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
50985
50986 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
50987 for ac_func in sqrtf
50988 do :
50989 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
50990 if test "x$ac_cv_func_sqrtf" = xyes; then :
50991 cat >>confdefs.h <<_ACEOF
50992 #define HAVE_SQRTF 1
50993 _ACEOF
50994
50995 fi
50996 done
50997
50998 else
50999
51000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
51001 $as_echo_n "checking for _sqrtf declaration... " >&6; }
51002 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
51003 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
51004 $as_echo_n "(cached) " >&6
51005 else
51006
51007
51008 ac_ext=cpp
51009 ac_cpp='$CXXCPP $CPPFLAGS'
51010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51013
51014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51015 /* end confdefs.h. */
51016 #include <math.h>
51017 #ifdef HAVE_IEEEFP_H
51018 #include <ieeefp.h>
51019 #endif
51020
51021 int
51022 main ()
51023 {
51024 _sqrtf(0);
51025 ;
51026 return 0;
51027 }
51028 _ACEOF
51029 if ac_fn_cxx_try_compile "$LINENO"; then :
51030 glibcxx_cv_func__sqrtf_use=yes
51031 else
51032 glibcxx_cv_func__sqrtf_use=no
51033 fi
51034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51035 ac_ext=c
51036 ac_cpp='$CPP $CPPFLAGS'
51037 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51038 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51039 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51040
51041
51042 fi
51043
51044 fi
51045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
51046 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
51047
51048 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
51049 for ac_func in _sqrtf
51050 do :
51051 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
51052 if test "x$ac_cv_func__sqrtf" = xyes; then :
51053 cat >>confdefs.h <<_ACEOF
51054 #define HAVE__SQRTF 1
51055 _ACEOF
51056
51057 fi
51058 done
51059
51060 fi
51061 fi
51062
51063
51064
51065
51066
51067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
51068 $as_echo_n "checking for sincosf declaration... " >&6; }
51069 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
51070 if ${glibcxx_cv_func_sincosf_use+:} false; then :
51071 $as_echo_n "(cached) " >&6
51072 else
51073
51074
51075 ac_ext=cpp
51076 ac_cpp='$CXXCPP $CPPFLAGS'
51077 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51078 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51079 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51080
51081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51082 /* end confdefs.h. */
51083 #include <math.h>
51084 int
51085 main ()
51086 {
51087 sincosf(0, 0, 0);
51088 ;
51089 return 0;
51090 }
51091 _ACEOF
51092 if ac_fn_cxx_try_compile "$LINENO"; then :
51093 glibcxx_cv_func_sincosf_use=yes
51094 else
51095 glibcxx_cv_func_sincosf_use=no
51096 fi
51097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51098 ac_ext=c
51099 ac_cpp='$CPP $CPPFLAGS'
51100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51103
51104
51105 fi
51106
51107 fi
51108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
51109 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
51110
51111 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
51112 for ac_func in sincosf
51113 do :
51114 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
51115 if test "x$ac_cv_func_sincosf" = xyes; then :
51116 cat >>confdefs.h <<_ACEOF
51117 #define HAVE_SINCOSF 1
51118 _ACEOF
51119
51120 fi
51121 done
51122
51123 else
51124
51125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
51126 $as_echo_n "checking for _sincosf declaration... " >&6; }
51127 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
51128 if ${glibcxx_cv_func__sincosf_use+:} false; then :
51129 $as_echo_n "(cached) " >&6
51130 else
51131
51132
51133 ac_ext=cpp
51134 ac_cpp='$CXXCPP $CPPFLAGS'
51135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51138
51139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51140 /* end confdefs.h. */
51141 #include <math.h>
51142 int
51143 main ()
51144 {
51145 _sincosf(0, 0, 0);
51146 ;
51147 return 0;
51148 }
51149 _ACEOF
51150 if ac_fn_cxx_try_compile "$LINENO"; then :
51151 glibcxx_cv_func__sincosf_use=yes
51152 else
51153 glibcxx_cv_func__sincosf_use=no
51154 fi
51155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51156 ac_ext=c
51157 ac_cpp='$CPP $CPPFLAGS'
51158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51161
51162
51163 fi
51164
51165 fi
51166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
51167 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
51168
51169 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
51170 for ac_func in _sincosf
51171 do :
51172 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
51173 if test "x$ac_cv_func__sincosf" = xyes; then :
51174 cat >>confdefs.h <<_ACEOF
51175 #define HAVE__SINCOSF 1
51176 _ACEOF
51177
51178 fi
51179 done
51180
51181 fi
51182 fi
51183
51184
51185
51186
51187
51188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
51189 $as_echo_n "checking for finitef declaration... " >&6; }
51190 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
51191 if ${glibcxx_cv_func_finitef_use+:} false; then :
51192 $as_echo_n "(cached) " >&6
51193 else
51194
51195
51196 ac_ext=cpp
51197 ac_cpp='$CXXCPP $CPPFLAGS'
51198 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51199 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51200 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51201
51202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51203 /* end confdefs.h. */
51204 #include <math.h>
51205 #ifdef HAVE_IEEEFP_H
51206 #include <ieeefp.h>
51207 #endif
51208
51209 int
51210 main ()
51211 {
51212 finitef(0);
51213 ;
51214 return 0;
51215 }
51216 _ACEOF
51217 if ac_fn_cxx_try_compile "$LINENO"; then :
51218 glibcxx_cv_func_finitef_use=yes
51219 else
51220 glibcxx_cv_func_finitef_use=no
51221 fi
51222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51223 ac_ext=c
51224 ac_cpp='$CPP $CPPFLAGS'
51225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51228
51229
51230 fi
51231
51232 fi
51233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
51234 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
51235
51236 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
51237 for ac_func in finitef
51238 do :
51239 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
51240 if test "x$ac_cv_func_finitef" = xyes; then :
51241 cat >>confdefs.h <<_ACEOF
51242 #define HAVE_FINITEF 1
51243 _ACEOF
51244
51245 fi
51246 done
51247
51248 else
51249
51250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
51251 $as_echo_n "checking for _finitef declaration... " >&6; }
51252 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
51253 if ${glibcxx_cv_func__finitef_use+:} false; then :
51254 $as_echo_n "(cached) " >&6
51255 else
51256
51257
51258 ac_ext=cpp
51259 ac_cpp='$CXXCPP $CPPFLAGS'
51260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51263
51264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51265 /* end confdefs.h. */
51266 #include <math.h>
51267 #ifdef HAVE_IEEEFP_H
51268 #include <ieeefp.h>
51269 #endif
51270
51271 int
51272 main ()
51273 {
51274 _finitef(0);
51275 ;
51276 return 0;
51277 }
51278 _ACEOF
51279 if ac_fn_cxx_try_compile "$LINENO"; then :
51280 glibcxx_cv_func__finitef_use=yes
51281 else
51282 glibcxx_cv_func__finitef_use=no
51283 fi
51284 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51285 ac_ext=c
51286 ac_cpp='$CPP $CPPFLAGS'
51287 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51288 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51289 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51290
51291
51292 fi
51293
51294 fi
51295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
51296 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
51297
51298 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
51299 for ac_func in _finitef
51300 do :
51301 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
51302 if test "x$ac_cv_func__finitef" = xyes; then :
51303 cat >>confdefs.h <<_ACEOF
51304 #define HAVE__FINITEF 1
51305 _ACEOF
51306
51307 fi
51308 done
51309
51310 fi
51311 fi
51312
51313
51314
51315
51316
51317 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
51318 $as_echo_n "checking for long double trig functions... " >&6; }
51319 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
51320 $as_echo_n "(cached) " >&6
51321 else
51322
51323
51324 ac_ext=cpp
51325 ac_cpp='$CXXCPP $CPPFLAGS'
51326 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51327 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51328 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51329
51330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51331 /* end confdefs.h. */
51332 #include <math.h>
51333 int
51334 main ()
51335 {
51336 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
51337 ;
51338 return 0;
51339 }
51340 _ACEOF
51341 if ac_fn_cxx_try_compile "$LINENO"; then :
51342 glibcxx_cv_func_long_double_trig_use=yes
51343 else
51344 glibcxx_cv_func_long_double_trig_use=no
51345 fi
51346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51347 ac_ext=c
51348 ac_cpp='$CPP $CPPFLAGS'
51349 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51350 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51351 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51352
51353 fi
51354
51355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
51356 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
51357 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
51358 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
51359 do :
51360 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51361 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51362 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51363 cat >>confdefs.h <<_ACEOF
51364 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51365 _ACEOF
51366
51367 fi
51368 done
51369
51370 else
51371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
51372 $as_echo_n "checking for _long double trig functions... " >&6; }
51373 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
51374 $as_echo_n "(cached) " >&6
51375 else
51376
51377
51378 ac_ext=cpp
51379 ac_cpp='$CXXCPP $CPPFLAGS'
51380 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51381 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51382 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51383
51384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51385 /* end confdefs.h. */
51386 #include <math.h>
51387 int
51388 main ()
51389 {
51390 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
51391 ;
51392 return 0;
51393 }
51394 _ACEOF
51395 if ac_fn_cxx_try_compile "$LINENO"; then :
51396 glibcxx_cv_func__long_double_trig_use=yes
51397 else
51398 glibcxx_cv_func__long_double_trig_use=no
51399 fi
51400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51401 ac_ext=c
51402 ac_cpp='$CPP $CPPFLAGS'
51403 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51404 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51405 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51406
51407 fi
51408
51409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
51410 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
51411 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
51412 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
51413 do :
51414 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51415 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51416 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51417 cat >>confdefs.h <<_ACEOF
51418 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51419 _ACEOF
51420
51421 fi
51422 done
51423
51424 fi
51425 fi
51426
51427
51428
51429
51430
51431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
51432 $as_echo_n "checking for long double round functions... " >&6; }
51433 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
51434 $as_echo_n "(cached) " >&6
51435 else
51436
51437
51438 ac_ext=cpp
51439 ac_cpp='$CXXCPP $CPPFLAGS'
51440 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51441 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51442 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51443
51444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51445 /* end confdefs.h. */
51446 #include <math.h>
51447 int
51448 main ()
51449 {
51450 ceill (0); floorl (0);
51451 ;
51452 return 0;
51453 }
51454 _ACEOF
51455 if ac_fn_cxx_try_compile "$LINENO"; then :
51456 glibcxx_cv_func_long_double_round_use=yes
51457 else
51458 glibcxx_cv_func_long_double_round_use=no
51459 fi
51460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51461 ac_ext=c
51462 ac_cpp='$CPP $CPPFLAGS'
51463 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51464 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51465 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51466
51467 fi
51468
51469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
51470 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
51471 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
51472 for ac_func in ceill floorl
51473 do :
51474 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51475 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51476 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51477 cat >>confdefs.h <<_ACEOF
51478 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51479 _ACEOF
51480
51481 fi
51482 done
51483
51484 else
51485 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
51486 $as_echo_n "checking for _long double round functions... " >&6; }
51487 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
51488 $as_echo_n "(cached) " >&6
51489 else
51490
51491
51492 ac_ext=cpp
51493 ac_cpp='$CXXCPP $CPPFLAGS'
51494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51497
51498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51499 /* end confdefs.h. */
51500 #include <math.h>
51501 int
51502 main ()
51503 {
51504 _ceill (0); _floorl (0);
51505 ;
51506 return 0;
51507 }
51508 _ACEOF
51509 if ac_fn_cxx_try_compile "$LINENO"; then :
51510 glibcxx_cv_func__long_double_round_use=yes
51511 else
51512 glibcxx_cv_func__long_double_round_use=no
51513 fi
51514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51515 ac_ext=c
51516 ac_cpp='$CPP $CPPFLAGS'
51517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51520
51521 fi
51522
51523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
51524 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
51525 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
51526 for ac_func in _ceill _floorl
51527 do :
51528 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
51529 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
51530 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
51531 cat >>confdefs.h <<_ACEOF
51532 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
51533 _ACEOF
51534
51535 fi
51536 done
51537
51538 fi
51539 fi
51540
51541
51542
51543
51544
51545
51546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
51547 $as_echo_n "checking for isnanl declaration... " >&6; }
51548 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
51549 if ${glibcxx_cv_func_isnanl_use+:} false; then :
51550 $as_echo_n "(cached) " >&6
51551 else
51552
51553
51554 ac_ext=cpp
51555 ac_cpp='$CXXCPP $CPPFLAGS'
51556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51559
51560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51561 /* end confdefs.h. */
51562 #include <math.h>
51563 #ifdef HAVE_IEEEFP_H
51564 #include <ieeefp.h>
51565 #endif
51566
51567 int
51568 main ()
51569 {
51570 isnanl(0);
51571 ;
51572 return 0;
51573 }
51574 _ACEOF
51575 if ac_fn_cxx_try_compile "$LINENO"; then :
51576 glibcxx_cv_func_isnanl_use=yes
51577 else
51578 glibcxx_cv_func_isnanl_use=no
51579 fi
51580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51581 ac_ext=c
51582 ac_cpp='$CPP $CPPFLAGS'
51583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51586
51587
51588 fi
51589
51590 fi
51591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
51592 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
51593
51594 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
51595 for ac_func in isnanl
51596 do :
51597 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
51598 if test "x$ac_cv_func_isnanl" = xyes; then :
51599 cat >>confdefs.h <<_ACEOF
51600 #define HAVE_ISNANL 1
51601 _ACEOF
51602
51603 fi
51604 done
51605
51606 else
51607
51608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
51609 $as_echo_n "checking for _isnanl declaration... " >&6; }
51610 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
51611 if ${glibcxx_cv_func__isnanl_use+:} false; then :
51612 $as_echo_n "(cached) " >&6
51613 else
51614
51615
51616 ac_ext=cpp
51617 ac_cpp='$CXXCPP $CPPFLAGS'
51618 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51619 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51620 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51621
51622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51623 /* end confdefs.h. */
51624 #include <math.h>
51625 #ifdef HAVE_IEEEFP_H
51626 #include <ieeefp.h>
51627 #endif
51628
51629 int
51630 main ()
51631 {
51632 _isnanl(0);
51633 ;
51634 return 0;
51635 }
51636 _ACEOF
51637 if ac_fn_cxx_try_compile "$LINENO"; then :
51638 glibcxx_cv_func__isnanl_use=yes
51639 else
51640 glibcxx_cv_func__isnanl_use=no
51641 fi
51642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51643 ac_ext=c
51644 ac_cpp='$CPP $CPPFLAGS'
51645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51648
51649
51650 fi
51651
51652 fi
51653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
51654 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
51655
51656 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
51657 for ac_func in _isnanl
51658 do :
51659 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
51660 if test "x$ac_cv_func__isnanl" = xyes; then :
51661 cat >>confdefs.h <<_ACEOF
51662 #define HAVE__ISNANL 1
51663 _ACEOF
51664
51665 fi
51666 done
51667
51668 fi
51669 fi
51670
51671
51672
51673
51674
51675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
51676 $as_echo_n "checking for isinfl declaration... " >&6; }
51677 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
51678 if ${glibcxx_cv_func_isinfl_use+:} false; then :
51679 $as_echo_n "(cached) " >&6
51680 else
51681
51682
51683 ac_ext=cpp
51684 ac_cpp='$CXXCPP $CPPFLAGS'
51685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51688
51689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51690 /* end confdefs.h. */
51691 #include <math.h>
51692 #ifdef HAVE_IEEEFP_H
51693 #include <ieeefp.h>
51694 #endif
51695
51696 int
51697 main ()
51698 {
51699 isinfl(0);
51700 ;
51701 return 0;
51702 }
51703 _ACEOF
51704 if ac_fn_cxx_try_compile "$LINENO"; then :
51705 glibcxx_cv_func_isinfl_use=yes
51706 else
51707 glibcxx_cv_func_isinfl_use=no
51708 fi
51709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51710 ac_ext=c
51711 ac_cpp='$CPP $CPPFLAGS'
51712 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51713 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51714 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51715
51716
51717 fi
51718
51719 fi
51720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
51721 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
51722
51723 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
51724 for ac_func in isinfl
51725 do :
51726 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
51727 if test "x$ac_cv_func_isinfl" = xyes; then :
51728 cat >>confdefs.h <<_ACEOF
51729 #define HAVE_ISINFL 1
51730 _ACEOF
51731
51732 fi
51733 done
51734
51735 else
51736
51737 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
51738 $as_echo_n "checking for _isinfl declaration... " >&6; }
51739 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
51740 if ${glibcxx_cv_func__isinfl_use+:} false; then :
51741 $as_echo_n "(cached) " >&6
51742 else
51743
51744
51745 ac_ext=cpp
51746 ac_cpp='$CXXCPP $CPPFLAGS'
51747 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51748 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51749 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51750
51751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51752 /* end confdefs.h. */
51753 #include <math.h>
51754 #ifdef HAVE_IEEEFP_H
51755 #include <ieeefp.h>
51756 #endif
51757
51758 int
51759 main ()
51760 {
51761 _isinfl(0);
51762 ;
51763 return 0;
51764 }
51765 _ACEOF
51766 if ac_fn_cxx_try_compile "$LINENO"; then :
51767 glibcxx_cv_func__isinfl_use=yes
51768 else
51769 glibcxx_cv_func__isinfl_use=no
51770 fi
51771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51772 ac_ext=c
51773 ac_cpp='$CPP $CPPFLAGS'
51774 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51775 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51776 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51777
51778
51779 fi
51780
51781 fi
51782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
51783 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
51784
51785 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
51786 for ac_func in _isinfl
51787 do :
51788 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
51789 if test "x$ac_cv_func__isinfl" = xyes; then :
51790 cat >>confdefs.h <<_ACEOF
51791 #define HAVE__ISINFL 1
51792 _ACEOF
51793
51794 fi
51795 done
51796
51797 fi
51798 fi
51799
51800
51801
51802
51803
51804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
51805 $as_echo_n "checking for atan2l declaration... " >&6; }
51806 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
51807 if ${glibcxx_cv_func_atan2l_use+:} false; then :
51808 $as_echo_n "(cached) " >&6
51809 else
51810
51811
51812 ac_ext=cpp
51813 ac_cpp='$CXXCPP $CPPFLAGS'
51814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51817
51818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51819 /* end confdefs.h. */
51820 #include <math.h>
51821 int
51822 main ()
51823 {
51824 atan2l(0, 0);
51825 ;
51826 return 0;
51827 }
51828 _ACEOF
51829 if ac_fn_cxx_try_compile "$LINENO"; then :
51830 glibcxx_cv_func_atan2l_use=yes
51831 else
51832 glibcxx_cv_func_atan2l_use=no
51833 fi
51834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51835 ac_ext=c
51836 ac_cpp='$CPP $CPPFLAGS'
51837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51840
51841
51842 fi
51843
51844 fi
51845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
51846 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
51847
51848 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
51849 for ac_func in atan2l
51850 do :
51851 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
51852 if test "x$ac_cv_func_atan2l" = xyes; then :
51853 cat >>confdefs.h <<_ACEOF
51854 #define HAVE_ATAN2L 1
51855 _ACEOF
51856
51857 fi
51858 done
51859
51860 else
51861
51862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
51863 $as_echo_n "checking for _atan2l declaration... " >&6; }
51864 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
51865 if ${glibcxx_cv_func__atan2l_use+:} false; then :
51866 $as_echo_n "(cached) " >&6
51867 else
51868
51869
51870 ac_ext=cpp
51871 ac_cpp='$CXXCPP $CPPFLAGS'
51872 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51873 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51874 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51875
51876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51877 /* end confdefs.h. */
51878 #include <math.h>
51879 int
51880 main ()
51881 {
51882 _atan2l(0, 0);
51883 ;
51884 return 0;
51885 }
51886 _ACEOF
51887 if ac_fn_cxx_try_compile "$LINENO"; then :
51888 glibcxx_cv_func__atan2l_use=yes
51889 else
51890 glibcxx_cv_func__atan2l_use=no
51891 fi
51892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51893 ac_ext=c
51894 ac_cpp='$CPP $CPPFLAGS'
51895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51898
51899
51900 fi
51901
51902 fi
51903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
51904 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
51905
51906 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
51907 for ac_func in _atan2l
51908 do :
51909 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
51910 if test "x$ac_cv_func__atan2l" = xyes; then :
51911 cat >>confdefs.h <<_ACEOF
51912 #define HAVE__ATAN2L 1
51913 _ACEOF
51914
51915 fi
51916 done
51917
51918 fi
51919 fi
51920
51921
51922
51923
51924
51925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
51926 $as_echo_n "checking for expl declaration... " >&6; }
51927 if test x${glibcxx_cv_func_expl_use+set} != xset; then
51928 if ${glibcxx_cv_func_expl_use+:} false; then :
51929 $as_echo_n "(cached) " >&6
51930 else
51931
51932
51933 ac_ext=cpp
51934 ac_cpp='$CXXCPP $CPPFLAGS'
51935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
51938
51939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
51940 /* end confdefs.h. */
51941 #include <math.h>
51942 #ifdef HAVE_IEEEFP_H
51943 #include <ieeefp.h>
51944 #endif
51945
51946 int
51947 main ()
51948 {
51949 expl(0);
51950 ;
51951 return 0;
51952 }
51953 _ACEOF
51954 if ac_fn_cxx_try_compile "$LINENO"; then :
51955 glibcxx_cv_func_expl_use=yes
51956 else
51957 glibcxx_cv_func_expl_use=no
51958 fi
51959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
51960 ac_ext=c
51961 ac_cpp='$CPP $CPPFLAGS'
51962 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51963 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51964 ac_compiler_gnu=$ac_cv_c_compiler_gnu
51965
51966
51967 fi
51968
51969 fi
51970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
51971 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
51972
51973 if test x$glibcxx_cv_func_expl_use = x"yes"; then
51974 for ac_func in expl
51975 do :
51976 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
51977 if test "x$ac_cv_func_expl" = xyes; then :
51978 cat >>confdefs.h <<_ACEOF
51979 #define HAVE_EXPL 1
51980 _ACEOF
51981
51982 fi
51983 done
51984
51985 else
51986
51987 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
51988 $as_echo_n "checking for _expl declaration... " >&6; }
51989 if test x${glibcxx_cv_func__expl_use+set} != xset; then
51990 if ${glibcxx_cv_func__expl_use+:} false; then :
51991 $as_echo_n "(cached) " >&6
51992 else
51993
51994
51995 ac_ext=cpp
51996 ac_cpp='$CXXCPP $CPPFLAGS'
51997 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
51998 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
51999 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52000
52001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52002 /* end confdefs.h. */
52003 #include <math.h>
52004 #ifdef HAVE_IEEEFP_H
52005 #include <ieeefp.h>
52006 #endif
52007
52008 int
52009 main ()
52010 {
52011 _expl(0);
52012 ;
52013 return 0;
52014 }
52015 _ACEOF
52016 if ac_fn_cxx_try_compile "$LINENO"; then :
52017 glibcxx_cv_func__expl_use=yes
52018 else
52019 glibcxx_cv_func__expl_use=no
52020 fi
52021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52022 ac_ext=c
52023 ac_cpp='$CPP $CPPFLAGS'
52024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52027
52028
52029 fi
52030
52031 fi
52032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
52033 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
52034
52035 if test x$glibcxx_cv_func__expl_use = x"yes"; then
52036 for ac_func in _expl
52037 do :
52038 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
52039 if test "x$ac_cv_func__expl" = xyes; then :
52040 cat >>confdefs.h <<_ACEOF
52041 #define HAVE__EXPL 1
52042 _ACEOF
52043
52044 fi
52045 done
52046
52047 fi
52048 fi
52049
52050
52051
52052
52053
52054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
52055 $as_echo_n "checking for fabsl declaration... " >&6; }
52056 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
52057 if ${glibcxx_cv_func_fabsl_use+:} false; then :
52058 $as_echo_n "(cached) " >&6
52059 else
52060
52061
52062 ac_ext=cpp
52063 ac_cpp='$CXXCPP $CPPFLAGS'
52064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52067
52068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52069 /* end confdefs.h. */
52070 #include <math.h>
52071 #ifdef HAVE_IEEEFP_H
52072 #include <ieeefp.h>
52073 #endif
52074
52075 int
52076 main ()
52077 {
52078 fabsl(0);
52079 ;
52080 return 0;
52081 }
52082 _ACEOF
52083 if ac_fn_cxx_try_compile "$LINENO"; then :
52084 glibcxx_cv_func_fabsl_use=yes
52085 else
52086 glibcxx_cv_func_fabsl_use=no
52087 fi
52088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52089 ac_ext=c
52090 ac_cpp='$CPP $CPPFLAGS'
52091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52094
52095
52096 fi
52097
52098 fi
52099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
52100 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
52101
52102 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
52103 for ac_func in fabsl
52104 do :
52105 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
52106 if test "x$ac_cv_func_fabsl" = xyes; then :
52107 cat >>confdefs.h <<_ACEOF
52108 #define HAVE_FABSL 1
52109 _ACEOF
52110
52111 fi
52112 done
52113
52114 else
52115
52116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
52117 $as_echo_n "checking for _fabsl declaration... " >&6; }
52118 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
52119 if ${glibcxx_cv_func__fabsl_use+:} false; then :
52120 $as_echo_n "(cached) " >&6
52121 else
52122
52123
52124 ac_ext=cpp
52125 ac_cpp='$CXXCPP $CPPFLAGS'
52126 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52127 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52128 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52129
52130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52131 /* end confdefs.h. */
52132 #include <math.h>
52133 #ifdef HAVE_IEEEFP_H
52134 #include <ieeefp.h>
52135 #endif
52136
52137 int
52138 main ()
52139 {
52140 _fabsl(0);
52141 ;
52142 return 0;
52143 }
52144 _ACEOF
52145 if ac_fn_cxx_try_compile "$LINENO"; then :
52146 glibcxx_cv_func__fabsl_use=yes
52147 else
52148 glibcxx_cv_func__fabsl_use=no
52149 fi
52150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52151 ac_ext=c
52152 ac_cpp='$CPP $CPPFLAGS'
52153 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52154 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52155 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52156
52157
52158 fi
52159
52160 fi
52161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
52162 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
52163
52164 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
52165 for ac_func in _fabsl
52166 do :
52167 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
52168 if test "x$ac_cv_func__fabsl" = xyes; then :
52169 cat >>confdefs.h <<_ACEOF
52170 #define HAVE__FABSL 1
52171 _ACEOF
52172
52173 fi
52174 done
52175
52176 fi
52177 fi
52178
52179
52180
52181
52182
52183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
52184 $as_echo_n "checking for fmodl declaration... " >&6; }
52185 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
52186 if ${glibcxx_cv_func_fmodl_use+:} false; then :
52187 $as_echo_n "(cached) " >&6
52188 else
52189
52190
52191 ac_ext=cpp
52192 ac_cpp='$CXXCPP $CPPFLAGS'
52193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52196
52197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52198 /* end confdefs.h. */
52199 #include <math.h>
52200 int
52201 main ()
52202 {
52203 fmodl(0, 0);
52204 ;
52205 return 0;
52206 }
52207 _ACEOF
52208 if ac_fn_cxx_try_compile "$LINENO"; then :
52209 glibcxx_cv_func_fmodl_use=yes
52210 else
52211 glibcxx_cv_func_fmodl_use=no
52212 fi
52213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52214 ac_ext=c
52215 ac_cpp='$CPP $CPPFLAGS'
52216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52219
52220
52221 fi
52222
52223 fi
52224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
52225 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
52226
52227 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
52228 for ac_func in fmodl
52229 do :
52230 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
52231 if test "x$ac_cv_func_fmodl" = xyes; then :
52232 cat >>confdefs.h <<_ACEOF
52233 #define HAVE_FMODL 1
52234 _ACEOF
52235
52236 fi
52237 done
52238
52239 else
52240
52241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
52242 $as_echo_n "checking for _fmodl declaration... " >&6; }
52243 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
52244 if ${glibcxx_cv_func__fmodl_use+:} false; then :
52245 $as_echo_n "(cached) " >&6
52246 else
52247
52248
52249 ac_ext=cpp
52250 ac_cpp='$CXXCPP $CPPFLAGS'
52251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52254
52255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52256 /* end confdefs.h. */
52257 #include <math.h>
52258 int
52259 main ()
52260 {
52261 _fmodl(0, 0);
52262 ;
52263 return 0;
52264 }
52265 _ACEOF
52266 if ac_fn_cxx_try_compile "$LINENO"; then :
52267 glibcxx_cv_func__fmodl_use=yes
52268 else
52269 glibcxx_cv_func__fmodl_use=no
52270 fi
52271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52272 ac_ext=c
52273 ac_cpp='$CPP $CPPFLAGS'
52274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52277
52278
52279 fi
52280
52281 fi
52282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
52283 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
52284
52285 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
52286 for ac_func in _fmodl
52287 do :
52288 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
52289 if test "x$ac_cv_func__fmodl" = xyes; then :
52290 cat >>confdefs.h <<_ACEOF
52291 #define HAVE__FMODL 1
52292 _ACEOF
52293
52294 fi
52295 done
52296
52297 fi
52298 fi
52299
52300
52301
52302
52303
52304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
52305 $as_echo_n "checking for frexpl declaration... " >&6; }
52306 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
52307 if ${glibcxx_cv_func_frexpl_use+:} false; then :
52308 $as_echo_n "(cached) " >&6
52309 else
52310
52311
52312 ac_ext=cpp
52313 ac_cpp='$CXXCPP $CPPFLAGS'
52314 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52315 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52316 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52317
52318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52319 /* end confdefs.h. */
52320 #include <math.h>
52321 int
52322 main ()
52323 {
52324 frexpl(0, 0);
52325 ;
52326 return 0;
52327 }
52328 _ACEOF
52329 if ac_fn_cxx_try_compile "$LINENO"; then :
52330 glibcxx_cv_func_frexpl_use=yes
52331 else
52332 glibcxx_cv_func_frexpl_use=no
52333 fi
52334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52335 ac_ext=c
52336 ac_cpp='$CPP $CPPFLAGS'
52337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52340
52341
52342 fi
52343
52344 fi
52345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
52346 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
52347
52348 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
52349 for ac_func in frexpl
52350 do :
52351 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
52352 if test "x$ac_cv_func_frexpl" = xyes; then :
52353 cat >>confdefs.h <<_ACEOF
52354 #define HAVE_FREXPL 1
52355 _ACEOF
52356
52357 fi
52358 done
52359
52360 else
52361
52362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
52363 $as_echo_n "checking for _frexpl declaration... " >&6; }
52364 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
52365 if ${glibcxx_cv_func__frexpl_use+:} false; then :
52366 $as_echo_n "(cached) " >&6
52367 else
52368
52369
52370 ac_ext=cpp
52371 ac_cpp='$CXXCPP $CPPFLAGS'
52372 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52373 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52374 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52375
52376 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52377 /* end confdefs.h. */
52378 #include <math.h>
52379 int
52380 main ()
52381 {
52382 _frexpl(0, 0);
52383 ;
52384 return 0;
52385 }
52386 _ACEOF
52387 if ac_fn_cxx_try_compile "$LINENO"; then :
52388 glibcxx_cv_func__frexpl_use=yes
52389 else
52390 glibcxx_cv_func__frexpl_use=no
52391 fi
52392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52393 ac_ext=c
52394 ac_cpp='$CPP $CPPFLAGS'
52395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52398
52399
52400 fi
52401
52402 fi
52403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
52404 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
52405
52406 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
52407 for ac_func in _frexpl
52408 do :
52409 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
52410 if test "x$ac_cv_func__frexpl" = xyes; then :
52411 cat >>confdefs.h <<_ACEOF
52412 #define HAVE__FREXPL 1
52413 _ACEOF
52414
52415 fi
52416 done
52417
52418 fi
52419 fi
52420
52421
52422
52423
52424
52425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
52426 $as_echo_n "checking for hypotl declaration... " >&6; }
52427 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
52428 if ${glibcxx_cv_func_hypotl_use+:} false; then :
52429 $as_echo_n "(cached) " >&6
52430 else
52431
52432
52433 ac_ext=cpp
52434 ac_cpp='$CXXCPP $CPPFLAGS'
52435 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52436 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52437 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52438
52439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52440 /* end confdefs.h. */
52441 #include <math.h>
52442 int
52443 main ()
52444 {
52445 hypotl(0, 0);
52446 ;
52447 return 0;
52448 }
52449 _ACEOF
52450 if ac_fn_cxx_try_compile "$LINENO"; then :
52451 glibcxx_cv_func_hypotl_use=yes
52452 else
52453 glibcxx_cv_func_hypotl_use=no
52454 fi
52455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52456 ac_ext=c
52457 ac_cpp='$CPP $CPPFLAGS'
52458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52461
52462
52463 fi
52464
52465 fi
52466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
52467 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
52468
52469 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
52470 for ac_func in hypotl
52471 do :
52472 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
52473 if test "x$ac_cv_func_hypotl" = xyes; then :
52474 cat >>confdefs.h <<_ACEOF
52475 #define HAVE_HYPOTL 1
52476 _ACEOF
52477
52478 fi
52479 done
52480
52481 else
52482
52483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
52484 $as_echo_n "checking for _hypotl declaration... " >&6; }
52485 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
52486 if ${glibcxx_cv_func__hypotl_use+:} false; then :
52487 $as_echo_n "(cached) " >&6
52488 else
52489
52490
52491 ac_ext=cpp
52492 ac_cpp='$CXXCPP $CPPFLAGS'
52493 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52494 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52495 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52496
52497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52498 /* end confdefs.h. */
52499 #include <math.h>
52500 int
52501 main ()
52502 {
52503 _hypotl(0, 0);
52504 ;
52505 return 0;
52506 }
52507 _ACEOF
52508 if ac_fn_cxx_try_compile "$LINENO"; then :
52509 glibcxx_cv_func__hypotl_use=yes
52510 else
52511 glibcxx_cv_func__hypotl_use=no
52512 fi
52513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52514 ac_ext=c
52515 ac_cpp='$CPP $CPPFLAGS'
52516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52519
52520
52521 fi
52522
52523 fi
52524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
52525 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
52526
52527 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
52528 for ac_func in _hypotl
52529 do :
52530 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
52531 if test "x$ac_cv_func__hypotl" = xyes; then :
52532 cat >>confdefs.h <<_ACEOF
52533 #define HAVE__HYPOTL 1
52534 _ACEOF
52535
52536 fi
52537 done
52538
52539 fi
52540 fi
52541
52542
52543
52544
52545
52546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
52547 $as_echo_n "checking for ldexpl declaration... " >&6; }
52548 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
52549 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
52550 $as_echo_n "(cached) " >&6
52551 else
52552
52553
52554 ac_ext=cpp
52555 ac_cpp='$CXXCPP $CPPFLAGS'
52556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52559
52560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52561 /* end confdefs.h. */
52562 #include <math.h>
52563 int
52564 main ()
52565 {
52566 ldexpl(0, 0);
52567 ;
52568 return 0;
52569 }
52570 _ACEOF
52571 if ac_fn_cxx_try_compile "$LINENO"; then :
52572 glibcxx_cv_func_ldexpl_use=yes
52573 else
52574 glibcxx_cv_func_ldexpl_use=no
52575 fi
52576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52577 ac_ext=c
52578 ac_cpp='$CPP $CPPFLAGS'
52579 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52580 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52581 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52582
52583
52584 fi
52585
52586 fi
52587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
52588 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
52589
52590 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
52591 for ac_func in ldexpl
52592 do :
52593 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
52594 if test "x$ac_cv_func_ldexpl" = xyes; then :
52595 cat >>confdefs.h <<_ACEOF
52596 #define HAVE_LDEXPL 1
52597 _ACEOF
52598
52599 fi
52600 done
52601
52602 else
52603
52604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
52605 $as_echo_n "checking for _ldexpl declaration... " >&6; }
52606 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
52607 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
52608 $as_echo_n "(cached) " >&6
52609 else
52610
52611
52612 ac_ext=cpp
52613 ac_cpp='$CXXCPP $CPPFLAGS'
52614 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52615 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52616 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52617
52618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52619 /* end confdefs.h. */
52620 #include <math.h>
52621 int
52622 main ()
52623 {
52624 _ldexpl(0, 0);
52625 ;
52626 return 0;
52627 }
52628 _ACEOF
52629 if ac_fn_cxx_try_compile "$LINENO"; then :
52630 glibcxx_cv_func__ldexpl_use=yes
52631 else
52632 glibcxx_cv_func__ldexpl_use=no
52633 fi
52634 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52635 ac_ext=c
52636 ac_cpp='$CPP $CPPFLAGS'
52637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52640
52641
52642 fi
52643
52644 fi
52645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
52646 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
52647
52648 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
52649 for ac_func in _ldexpl
52650 do :
52651 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
52652 if test "x$ac_cv_func__ldexpl" = xyes; then :
52653 cat >>confdefs.h <<_ACEOF
52654 #define HAVE__LDEXPL 1
52655 _ACEOF
52656
52657 fi
52658 done
52659
52660 fi
52661 fi
52662
52663
52664
52665
52666
52667 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
52668 $as_echo_n "checking for logl declaration... " >&6; }
52669 if test x${glibcxx_cv_func_logl_use+set} != xset; then
52670 if ${glibcxx_cv_func_logl_use+:} false; then :
52671 $as_echo_n "(cached) " >&6
52672 else
52673
52674
52675 ac_ext=cpp
52676 ac_cpp='$CXXCPP $CPPFLAGS'
52677 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52678 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52679 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52680
52681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52682 /* end confdefs.h. */
52683 #include <math.h>
52684 #ifdef HAVE_IEEEFP_H
52685 #include <ieeefp.h>
52686 #endif
52687
52688 int
52689 main ()
52690 {
52691 logl(0);
52692 ;
52693 return 0;
52694 }
52695 _ACEOF
52696 if ac_fn_cxx_try_compile "$LINENO"; then :
52697 glibcxx_cv_func_logl_use=yes
52698 else
52699 glibcxx_cv_func_logl_use=no
52700 fi
52701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52702 ac_ext=c
52703 ac_cpp='$CPP $CPPFLAGS'
52704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52707
52708
52709 fi
52710
52711 fi
52712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
52713 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
52714
52715 if test x$glibcxx_cv_func_logl_use = x"yes"; then
52716 for ac_func in logl
52717 do :
52718 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
52719 if test "x$ac_cv_func_logl" = xyes; then :
52720 cat >>confdefs.h <<_ACEOF
52721 #define HAVE_LOGL 1
52722 _ACEOF
52723
52724 fi
52725 done
52726
52727 else
52728
52729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
52730 $as_echo_n "checking for _logl declaration... " >&6; }
52731 if test x${glibcxx_cv_func__logl_use+set} != xset; then
52732 if ${glibcxx_cv_func__logl_use+:} false; then :
52733 $as_echo_n "(cached) " >&6
52734 else
52735
52736
52737 ac_ext=cpp
52738 ac_cpp='$CXXCPP $CPPFLAGS'
52739 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52740 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52741 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52742
52743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52744 /* end confdefs.h. */
52745 #include <math.h>
52746 #ifdef HAVE_IEEEFP_H
52747 #include <ieeefp.h>
52748 #endif
52749
52750 int
52751 main ()
52752 {
52753 _logl(0);
52754 ;
52755 return 0;
52756 }
52757 _ACEOF
52758 if ac_fn_cxx_try_compile "$LINENO"; then :
52759 glibcxx_cv_func__logl_use=yes
52760 else
52761 glibcxx_cv_func__logl_use=no
52762 fi
52763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52764 ac_ext=c
52765 ac_cpp='$CPP $CPPFLAGS'
52766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52769
52770
52771 fi
52772
52773 fi
52774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
52775 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
52776
52777 if test x$glibcxx_cv_func__logl_use = x"yes"; then
52778 for ac_func in _logl
52779 do :
52780 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
52781 if test "x$ac_cv_func__logl" = xyes; then :
52782 cat >>confdefs.h <<_ACEOF
52783 #define HAVE__LOGL 1
52784 _ACEOF
52785
52786 fi
52787 done
52788
52789 fi
52790 fi
52791
52792
52793
52794
52795
52796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
52797 $as_echo_n "checking for log10l declaration... " >&6; }
52798 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
52799 if ${glibcxx_cv_func_log10l_use+:} false; then :
52800 $as_echo_n "(cached) " >&6
52801 else
52802
52803
52804 ac_ext=cpp
52805 ac_cpp='$CXXCPP $CPPFLAGS'
52806 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52807 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52808 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52809
52810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52811 /* end confdefs.h. */
52812 #include <math.h>
52813 #ifdef HAVE_IEEEFP_H
52814 #include <ieeefp.h>
52815 #endif
52816
52817 int
52818 main ()
52819 {
52820 log10l(0);
52821 ;
52822 return 0;
52823 }
52824 _ACEOF
52825 if ac_fn_cxx_try_compile "$LINENO"; then :
52826 glibcxx_cv_func_log10l_use=yes
52827 else
52828 glibcxx_cv_func_log10l_use=no
52829 fi
52830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52831 ac_ext=c
52832 ac_cpp='$CPP $CPPFLAGS'
52833 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52834 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52835 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52836
52837
52838 fi
52839
52840 fi
52841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
52842 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
52843
52844 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
52845 for ac_func in log10l
52846 do :
52847 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
52848 if test "x$ac_cv_func_log10l" = xyes; then :
52849 cat >>confdefs.h <<_ACEOF
52850 #define HAVE_LOG10L 1
52851 _ACEOF
52852
52853 fi
52854 done
52855
52856 else
52857
52858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
52859 $as_echo_n "checking for _log10l declaration... " >&6; }
52860 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
52861 if ${glibcxx_cv_func__log10l_use+:} false; then :
52862 $as_echo_n "(cached) " >&6
52863 else
52864
52865
52866 ac_ext=cpp
52867 ac_cpp='$CXXCPP $CPPFLAGS'
52868 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52869 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52870 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52871
52872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52873 /* end confdefs.h. */
52874 #include <math.h>
52875 #ifdef HAVE_IEEEFP_H
52876 #include <ieeefp.h>
52877 #endif
52878
52879 int
52880 main ()
52881 {
52882 _log10l(0);
52883 ;
52884 return 0;
52885 }
52886 _ACEOF
52887 if ac_fn_cxx_try_compile "$LINENO"; then :
52888 glibcxx_cv_func__log10l_use=yes
52889 else
52890 glibcxx_cv_func__log10l_use=no
52891 fi
52892 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52893 ac_ext=c
52894 ac_cpp='$CPP $CPPFLAGS'
52895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52898
52899
52900 fi
52901
52902 fi
52903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
52904 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
52905
52906 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
52907 for ac_func in _log10l
52908 do :
52909 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
52910 if test "x$ac_cv_func__log10l" = xyes; then :
52911 cat >>confdefs.h <<_ACEOF
52912 #define HAVE__LOG10L 1
52913 _ACEOF
52914
52915 fi
52916 done
52917
52918 fi
52919 fi
52920
52921
52922
52923
52924
52925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
52926 $as_echo_n "checking for modfl declaration... " >&6; }
52927 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
52928 if ${glibcxx_cv_func_modfl_use+:} false; then :
52929 $as_echo_n "(cached) " >&6
52930 else
52931
52932
52933 ac_ext=cpp
52934 ac_cpp='$CXXCPP $CPPFLAGS'
52935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52938
52939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52940 /* end confdefs.h. */
52941 #include <math.h>
52942 int
52943 main ()
52944 {
52945 modfl(0, 0);
52946 ;
52947 return 0;
52948 }
52949 _ACEOF
52950 if ac_fn_cxx_try_compile "$LINENO"; then :
52951 glibcxx_cv_func_modfl_use=yes
52952 else
52953 glibcxx_cv_func_modfl_use=no
52954 fi
52955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
52956 ac_ext=c
52957 ac_cpp='$CPP $CPPFLAGS'
52958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
52961
52962
52963 fi
52964
52965 fi
52966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
52967 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
52968
52969 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
52970 for ac_func in modfl
52971 do :
52972 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
52973 if test "x$ac_cv_func_modfl" = xyes; then :
52974 cat >>confdefs.h <<_ACEOF
52975 #define HAVE_MODFL 1
52976 _ACEOF
52977
52978 fi
52979 done
52980
52981 else
52982
52983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
52984 $as_echo_n "checking for _modfl declaration... " >&6; }
52985 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
52986 if ${glibcxx_cv_func__modfl_use+:} false; then :
52987 $as_echo_n "(cached) " >&6
52988 else
52989
52990
52991 ac_ext=cpp
52992 ac_cpp='$CXXCPP $CPPFLAGS'
52993 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
52994 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
52995 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
52996
52997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
52998 /* end confdefs.h. */
52999 #include <math.h>
53000 int
53001 main ()
53002 {
53003 _modfl(0, 0);
53004 ;
53005 return 0;
53006 }
53007 _ACEOF
53008 if ac_fn_cxx_try_compile "$LINENO"; then :
53009 glibcxx_cv_func__modfl_use=yes
53010 else
53011 glibcxx_cv_func__modfl_use=no
53012 fi
53013 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53014 ac_ext=c
53015 ac_cpp='$CPP $CPPFLAGS'
53016 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53017 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53018 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53019
53020
53021 fi
53022
53023 fi
53024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
53025 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
53026
53027 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
53028 for ac_func in _modfl
53029 do :
53030 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
53031 if test "x$ac_cv_func__modfl" = xyes; then :
53032 cat >>confdefs.h <<_ACEOF
53033 #define HAVE__MODFL 1
53034 _ACEOF
53035
53036 fi
53037 done
53038
53039 fi
53040 fi
53041
53042
53043
53044
53045
53046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
53047 $as_echo_n "checking for powl declaration... " >&6; }
53048 if test x${glibcxx_cv_func_powl_use+set} != xset; then
53049 if ${glibcxx_cv_func_powl_use+:} false; then :
53050 $as_echo_n "(cached) " >&6
53051 else
53052
53053
53054 ac_ext=cpp
53055 ac_cpp='$CXXCPP $CPPFLAGS'
53056 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53057 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53058 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53059
53060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53061 /* end confdefs.h. */
53062 #include <math.h>
53063 int
53064 main ()
53065 {
53066 powl(0, 0);
53067 ;
53068 return 0;
53069 }
53070 _ACEOF
53071 if ac_fn_cxx_try_compile "$LINENO"; then :
53072 glibcxx_cv_func_powl_use=yes
53073 else
53074 glibcxx_cv_func_powl_use=no
53075 fi
53076 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53077 ac_ext=c
53078 ac_cpp='$CPP $CPPFLAGS'
53079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53082
53083
53084 fi
53085
53086 fi
53087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
53088 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
53089
53090 if test x$glibcxx_cv_func_powl_use = x"yes"; then
53091 for ac_func in powl
53092 do :
53093 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
53094 if test "x$ac_cv_func_powl" = xyes; then :
53095 cat >>confdefs.h <<_ACEOF
53096 #define HAVE_POWL 1
53097 _ACEOF
53098
53099 fi
53100 done
53101
53102 else
53103
53104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
53105 $as_echo_n "checking for _powl declaration... " >&6; }
53106 if test x${glibcxx_cv_func__powl_use+set} != xset; then
53107 if ${glibcxx_cv_func__powl_use+:} false; then :
53108 $as_echo_n "(cached) " >&6
53109 else
53110
53111
53112 ac_ext=cpp
53113 ac_cpp='$CXXCPP $CPPFLAGS'
53114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53117
53118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53119 /* end confdefs.h. */
53120 #include <math.h>
53121 int
53122 main ()
53123 {
53124 _powl(0, 0);
53125 ;
53126 return 0;
53127 }
53128 _ACEOF
53129 if ac_fn_cxx_try_compile "$LINENO"; then :
53130 glibcxx_cv_func__powl_use=yes
53131 else
53132 glibcxx_cv_func__powl_use=no
53133 fi
53134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53135 ac_ext=c
53136 ac_cpp='$CPP $CPPFLAGS'
53137 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53138 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53139 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53140
53141
53142 fi
53143
53144 fi
53145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
53146 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
53147
53148 if test x$glibcxx_cv_func__powl_use = x"yes"; then
53149 for ac_func in _powl
53150 do :
53151 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
53152 if test "x$ac_cv_func__powl" = xyes; then :
53153 cat >>confdefs.h <<_ACEOF
53154 #define HAVE__POWL 1
53155 _ACEOF
53156
53157 fi
53158 done
53159
53160 fi
53161 fi
53162
53163
53164
53165
53166
53167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
53168 $as_echo_n "checking for sqrtl declaration... " >&6; }
53169 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
53170 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
53171 $as_echo_n "(cached) " >&6
53172 else
53173
53174
53175 ac_ext=cpp
53176 ac_cpp='$CXXCPP $CPPFLAGS'
53177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53180
53181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53182 /* end confdefs.h. */
53183 #include <math.h>
53184 #ifdef HAVE_IEEEFP_H
53185 #include <ieeefp.h>
53186 #endif
53187
53188 int
53189 main ()
53190 {
53191 sqrtl(0);
53192 ;
53193 return 0;
53194 }
53195 _ACEOF
53196 if ac_fn_cxx_try_compile "$LINENO"; then :
53197 glibcxx_cv_func_sqrtl_use=yes
53198 else
53199 glibcxx_cv_func_sqrtl_use=no
53200 fi
53201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53202 ac_ext=c
53203 ac_cpp='$CPP $CPPFLAGS'
53204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53207
53208
53209 fi
53210
53211 fi
53212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
53213 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
53214
53215 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
53216 for ac_func in sqrtl
53217 do :
53218 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
53219 if test "x$ac_cv_func_sqrtl" = xyes; then :
53220 cat >>confdefs.h <<_ACEOF
53221 #define HAVE_SQRTL 1
53222 _ACEOF
53223
53224 fi
53225 done
53226
53227 else
53228
53229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
53230 $as_echo_n "checking for _sqrtl declaration... " >&6; }
53231 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
53232 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
53233 $as_echo_n "(cached) " >&6
53234 else
53235
53236
53237 ac_ext=cpp
53238 ac_cpp='$CXXCPP $CPPFLAGS'
53239 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53240 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53241 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53242
53243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53244 /* end confdefs.h. */
53245 #include <math.h>
53246 #ifdef HAVE_IEEEFP_H
53247 #include <ieeefp.h>
53248 #endif
53249
53250 int
53251 main ()
53252 {
53253 _sqrtl(0);
53254 ;
53255 return 0;
53256 }
53257 _ACEOF
53258 if ac_fn_cxx_try_compile "$LINENO"; then :
53259 glibcxx_cv_func__sqrtl_use=yes
53260 else
53261 glibcxx_cv_func__sqrtl_use=no
53262 fi
53263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53264 ac_ext=c
53265 ac_cpp='$CPP $CPPFLAGS'
53266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53269
53270
53271 fi
53272
53273 fi
53274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
53275 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
53276
53277 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
53278 for ac_func in _sqrtl
53279 do :
53280 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
53281 if test "x$ac_cv_func__sqrtl" = xyes; then :
53282 cat >>confdefs.h <<_ACEOF
53283 #define HAVE__SQRTL 1
53284 _ACEOF
53285
53286 fi
53287 done
53288
53289 fi
53290 fi
53291
53292
53293
53294
53295
53296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
53297 $as_echo_n "checking for sincosl declaration... " >&6; }
53298 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
53299 if ${glibcxx_cv_func_sincosl_use+:} false; then :
53300 $as_echo_n "(cached) " >&6
53301 else
53302
53303
53304 ac_ext=cpp
53305 ac_cpp='$CXXCPP $CPPFLAGS'
53306 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53307 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53308 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53309
53310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53311 /* end confdefs.h. */
53312 #include <math.h>
53313 int
53314 main ()
53315 {
53316 sincosl(0, 0, 0);
53317 ;
53318 return 0;
53319 }
53320 _ACEOF
53321 if ac_fn_cxx_try_compile "$LINENO"; then :
53322 glibcxx_cv_func_sincosl_use=yes
53323 else
53324 glibcxx_cv_func_sincosl_use=no
53325 fi
53326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53327 ac_ext=c
53328 ac_cpp='$CPP $CPPFLAGS'
53329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53332
53333
53334 fi
53335
53336 fi
53337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
53338 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
53339
53340 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
53341 for ac_func in sincosl
53342 do :
53343 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
53344 if test "x$ac_cv_func_sincosl" = xyes; then :
53345 cat >>confdefs.h <<_ACEOF
53346 #define HAVE_SINCOSL 1
53347 _ACEOF
53348
53349 fi
53350 done
53351
53352 else
53353
53354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
53355 $as_echo_n "checking for _sincosl declaration... " >&6; }
53356 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
53357 if ${glibcxx_cv_func__sincosl_use+:} false; then :
53358 $as_echo_n "(cached) " >&6
53359 else
53360
53361
53362 ac_ext=cpp
53363 ac_cpp='$CXXCPP $CPPFLAGS'
53364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53367
53368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53369 /* end confdefs.h. */
53370 #include <math.h>
53371 int
53372 main ()
53373 {
53374 _sincosl(0, 0, 0);
53375 ;
53376 return 0;
53377 }
53378 _ACEOF
53379 if ac_fn_cxx_try_compile "$LINENO"; then :
53380 glibcxx_cv_func__sincosl_use=yes
53381 else
53382 glibcxx_cv_func__sincosl_use=no
53383 fi
53384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53385 ac_ext=c
53386 ac_cpp='$CPP $CPPFLAGS'
53387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53390
53391
53392 fi
53393
53394 fi
53395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
53396 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
53397
53398 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
53399 for ac_func in _sincosl
53400 do :
53401 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
53402 if test "x$ac_cv_func__sincosl" = xyes; then :
53403 cat >>confdefs.h <<_ACEOF
53404 #define HAVE__SINCOSL 1
53405 _ACEOF
53406
53407 fi
53408 done
53409
53410 fi
53411 fi
53412
53413
53414
53415
53416
53417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
53418 $as_echo_n "checking for finitel declaration... " >&6; }
53419 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
53420 if ${glibcxx_cv_func_finitel_use+:} false; then :
53421 $as_echo_n "(cached) " >&6
53422 else
53423
53424
53425 ac_ext=cpp
53426 ac_cpp='$CXXCPP $CPPFLAGS'
53427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53430
53431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53432 /* end confdefs.h. */
53433 #include <math.h>
53434 #ifdef HAVE_IEEEFP_H
53435 #include <ieeefp.h>
53436 #endif
53437
53438 int
53439 main ()
53440 {
53441 finitel(0);
53442 ;
53443 return 0;
53444 }
53445 _ACEOF
53446 if ac_fn_cxx_try_compile "$LINENO"; then :
53447 glibcxx_cv_func_finitel_use=yes
53448 else
53449 glibcxx_cv_func_finitel_use=no
53450 fi
53451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53452 ac_ext=c
53453 ac_cpp='$CPP $CPPFLAGS'
53454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53457
53458
53459 fi
53460
53461 fi
53462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
53463 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
53464
53465 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
53466 for ac_func in finitel
53467 do :
53468 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
53469 if test "x$ac_cv_func_finitel" = xyes; then :
53470 cat >>confdefs.h <<_ACEOF
53471 #define HAVE_FINITEL 1
53472 _ACEOF
53473
53474 fi
53475 done
53476
53477 else
53478
53479 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
53480 $as_echo_n "checking for _finitel declaration... " >&6; }
53481 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
53482 if ${glibcxx_cv_func__finitel_use+:} false; then :
53483 $as_echo_n "(cached) " >&6
53484 else
53485
53486
53487 ac_ext=cpp
53488 ac_cpp='$CXXCPP $CPPFLAGS'
53489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53492
53493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53494 /* end confdefs.h. */
53495 #include <math.h>
53496 #ifdef HAVE_IEEEFP_H
53497 #include <ieeefp.h>
53498 #endif
53499
53500 int
53501 main ()
53502 {
53503 _finitel(0);
53504 ;
53505 return 0;
53506 }
53507 _ACEOF
53508 if ac_fn_cxx_try_compile "$LINENO"; then :
53509 glibcxx_cv_func__finitel_use=yes
53510 else
53511 glibcxx_cv_func__finitel_use=no
53512 fi
53513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53514 ac_ext=c
53515 ac_cpp='$CPP $CPPFLAGS'
53516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53519
53520
53521 fi
53522
53523 fi
53524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
53525 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
53526
53527 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
53528 for ac_func in _finitel
53529 do :
53530 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
53531 if test "x$ac_cv_func__finitel" = xyes; then :
53532 cat >>confdefs.h <<_ACEOF
53533 #define HAVE__FINITEL 1
53534 _ACEOF
53535
53536 fi
53537 done
53538
53539 fi
53540 fi
53541
53542
53543
53544
53545 LIBS="$ac_save_LIBS"
53546 CXXFLAGS="$ac_save_CXXFLAGS"
53547
53548
53549 ac_test_CXXFLAGS="${CXXFLAGS+set}"
53550 ac_save_CXXFLAGS="$CXXFLAGS"
53551 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
53552
53553
53554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
53555 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
53556 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
53557 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
53558 $as_echo_n "(cached) " >&6
53559 else
53560
53561
53562 ac_ext=cpp
53563 ac_cpp='$CXXCPP $CPPFLAGS'
53564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53567
53568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53569 /* end confdefs.h. */
53570 #include <stdlib.h>
53571 int
53572 main ()
53573 {
53574 at_quick_exit(0);
53575 ;
53576 return 0;
53577 }
53578 _ACEOF
53579 if ac_fn_cxx_try_compile "$LINENO"; then :
53580 glibcxx_cv_func_at_quick_exit_use=yes
53581 else
53582 glibcxx_cv_func_at_quick_exit_use=no
53583 fi
53584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53585 ac_ext=c
53586 ac_cpp='$CPP $CPPFLAGS'
53587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53590
53591
53592 fi
53593
53594 fi
53595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
53596 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
53597 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
53598 for ac_func in at_quick_exit
53599 do :
53600 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
53601 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
53602 cat >>confdefs.h <<_ACEOF
53603 #define HAVE_AT_QUICK_EXIT 1
53604 _ACEOF
53605
53606 fi
53607 done
53608
53609 fi
53610
53611
53612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
53613 $as_echo_n "checking for quick_exit declaration... " >&6; }
53614 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
53615 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
53616 $as_echo_n "(cached) " >&6
53617 else
53618
53619
53620 ac_ext=cpp
53621 ac_cpp='$CXXCPP $CPPFLAGS'
53622 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53623 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53624 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53625
53626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53627 /* end confdefs.h. */
53628 #include <stdlib.h>
53629 int
53630 main ()
53631 {
53632 quick_exit(0);
53633 ;
53634 return 0;
53635 }
53636 _ACEOF
53637 if ac_fn_cxx_try_compile "$LINENO"; then :
53638 glibcxx_cv_func_quick_exit_use=yes
53639 else
53640 glibcxx_cv_func_quick_exit_use=no
53641 fi
53642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53643 ac_ext=c
53644 ac_cpp='$CPP $CPPFLAGS'
53645 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53646 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53647 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53648
53649
53650 fi
53651
53652 fi
53653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
53654 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
53655 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
53656 for ac_func in quick_exit
53657 do :
53658 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
53659 if test "x$ac_cv_func_quick_exit" = xyes; then :
53660 cat >>confdefs.h <<_ACEOF
53661 #define HAVE_QUICK_EXIT 1
53662 _ACEOF
53663
53664 fi
53665 done
53666
53667 fi
53668
53669
53670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
53671 $as_echo_n "checking for strtold declaration... " >&6; }
53672 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
53673 if ${glibcxx_cv_func_strtold_use+:} false; then :
53674 $as_echo_n "(cached) " >&6
53675 else
53676
53677
53678 ac_ext=cpp
53679 ac_cpp='$CXXCPP $CPPFLAGS'
53680 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53681 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53682 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53683
53684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53685 /* end confdefs.h. */
53686 #include <stdlib.h>
53687 int
53688 main ()
53689 {
53690 strtold(0, 0);
53691 ;
53692 return 0;
53693 }
53694 _ACEOF
53695 if ac_fn_cxx_try_compile "$LINENO"; then :
53696 glibcxx_cv_func_strtold_use=yes
53697 else
53698 glibcxx_cv_func_strtold_use=no
53699 fi
53700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53701 ac_ext=c
53702 ac_cpp='$CPP $CPPFLAGS'
53703 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53704 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53705 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53706
53707
53708 fi
53709
53710 fi
53711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
53712 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
53713 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
53714 for ac_func in strtold
53715 do :
53716 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
53717 if test "x$ac_cv_func_strtold" = xyes; then :
53718 cat >>confdefs.h <<_ACEOF
53719 #define HAVE_STRTOLD 1
53720 _ACEOF
53721
53722 fi
53723 done
53724
53725 fi
53726
53727
53728
53729
53730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
53731 $as_echo_n "checking for strtof declaration... " >&6; }
53732 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
53733 if ${glibcxx_cv_func_strtof_use+:} false; then :
53734 $as_echo_n "(cached) " >&6
53735 else
53736
53737
53738 ac_ext=cpp
53739 ac_cpp='$CXXCPP $CPPFLAGS'
53740 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53741 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53742 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
53743
53744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53745 /* end confdefs.h. */
53746 #include <stdlib.h>
53747 int
53748 main ()
53749 {
53750 strtof(0, 0);
53751 ;
53752 return 0;
53753 }
53754 _ACEOF
53755 if ac_fn_cxx_try_compile "$LINENO"; then :
53756 glibcxx_cv_func_strtof_use=yes
53757 else
53758 glibcxx_cv_func_strtof_use=no
53759 fi
53760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
53761 ac_ext=c
53762 ac_cpp='$CPP $CPPFLAGS'
53763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
53764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
53765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
53766
53767
53768 fi
53769
53770 fi
53771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
53772 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
53773 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
53774 for ac_func in strtof
53775 do :
53776 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
53777 if test "x$ac_cv_func_strtof" = xyes; then :
53778 cat >>confdefs.h <<_ACEOF
53779 #define HAVE_STRTOF 1
53780 _ACEOF
53781
53782 fi
53783 done
53784
53785 fi
53786
53787
53788
53789
53790 CXXFLAGS="$ac_save_CXXFLAGS"
53791
53792 $as_echo "#define _GLIBCXX_USE_DEV_RANDOM 1" >>confdefs.h
53793
53794 $as_echo "#define _GLIBCXX_USE_RANDOM_TR1 1" >>confdefs.h
53795
53796
53797
53798 # Check whether --enable-tls was given.
53799 if test "${enable_tls+set}" = set; then :
53800 enableval=$enable_tls;
53801 case "$enableval" in
53802 yes|no) ;;
53803 *) as_fn_error $? "Argument to enable/disable tls must be yes or no" "$LINENO" 5 ;;
53804 esac
53805
53806 else
53807 enable_tls=yes
53808 fi
53809
53810
53811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports thread-local storage" >&5
53812 $as_echo_n "checking whether the target supports thread-local storage... " >&6; }
53813 if ${gcc_cv_have_tls+:} false; then :
53814 $as_echo_n "(cached) " >&6
53815 else
53816
53817 if test "$cross_compiling" = yes; then :
53818 if test x$gcc_no_link = xyes; then
53819 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53820 fi
53821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53822 /* end confdefs.h. */
53823 __thread int a; int b; int main() { return a = b; }
53824 _ACEOF
53825 if ac_fn_c_try_link "$LINENO"; then :
53826 chktls_save_LDFLAGS="$LDFLAGS"
53827 case $host in
53828 *-*-linux* | -*-uclinuxfdpic*)
53829 LDFLAGS="-shared -Wl,--no-undefined $LDFLAGS"
53830 ;;
53831 esac
53832 chktls_save_CFLAGS="$CFLAGS"
53833 CFLAGS="-fPIC $CFLAGS"
53834 if test x$gcc_no_link = xyes; then
53835 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53836 fi
53837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53838 /* end confdefs.h. */
53839 int f() { return 0; }
53840 _ACEOF
53841 if ac_fn_c_try_link "$LINENO"; then :
53842 if test x$gcc_no_link = xyes; then
53843 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53844 fi
53845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53846 /* end confdefs.h. */
53847 __thread int a; int b; int f() { return a = b; }
53848 _ACEOF
53849 if ac_fn_c_try_link "$LINENO"; then :
53850 gcc_cv_have_tls=yes
53851 else
53852 gcc_cv_have_tls=no
53853 fi
53854 rm -f core conftest.err conftest.$ac_objext \
53855 conftest$ac_exeext conftest.$ac_ext
53856 else
53857 gcc_cv_have_tls=yes
53858 fi
53859 rm -f core conftest.err conftest.$ac_objext \
53860 conftest$ac_exeext conftest.$ac_ext
53861 CFLAGS="$chktls_save_CFLAGS"
53862 LDFLAGS="$chktls_save_LDFLAGS"
53863 else
53864 gcc_cv_have_tls=no
53865 fi
53866 rm -f core conftest.err conftest.$ac_objext \
53867 conftest$ac_exeext conftest.$ac_ext
53868
53869
53870 else
53871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53872 /* end confdefs.h. */
53873 __thread int a; int b; int main() { return a = b; }
53874 _ACEOF
53875 if ac_fn_c_try_run "$LINENO"; then :
53876 chktls_save_LDFLAGS="$LDFLAGS"
53877 LDFLAGS="-static $LDFLAGS"
53878 if test x$gcc_no_link = xyes; then
53879 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53880 fi
53881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53882 /* end confdefs.h. */
53883 int main() { return 0; }
53884 _ACEOF
53885 if ac_fn_c_try_link "$LINENO"; then :
53886 if test "$cross_compiling" = yes; then :
53887 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53888 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53889 as_fn_error $? "cannot run test program while cross compiling
53890 See \`config.log' for more details" "$LINENO" 5; }
53891 else
53892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53893 /* end confdefs.h. */
53894 __thread int a; int b; int main() { return a = b; }
53895 _ACEOF
53896 if ac_fn_c_try_run "$LINENO"; then :
53897 gcc_cv_have_tls=yes
53898 else
53899 gcc_cv_have_tls=no
53900 fi
53901 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53902 conftest.$ac_objext conftest.beam conftest.$ac_ext
53903 fi
53904
53905 else
53906 gcc_cv_have_tls=yes
53907 fi
53908 rm -f core conftest.err conftest.$ac_objext \
53909 conftest$ac_exeext conftest.$ac_ext
53910 LDFLAGS="$chktls_save_LDFLAGS"
53911 if test $gcc_cv_have_tls = yes; then
53912 chktls_save_CFLAGS="$CFLAGS"
53913 thread_CFLAGS=failed
53914 for flag in '' '-pthread' '-lpthread'; do
53915 CFLAGS="$flag $chktls_save_CFLAGS"
53916 if test x$gcc_no_link = xyes; then
53917 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
53918 fi
53919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53920 /* end confdefs.h. */
53921 #include <pthread.h>
53922 void *g(void *d) { return NULL; }
53923 int
53924 main ()
53925 {
53926 pthread_t t; pthread_create(&t,NULL,g,NULL);
53927 ;
53928 return 0;
53929 }
53930 _ACEOF
53931 if ac_fn_c_try_link "$LINENO"; then :
53932 thread_CFLAGS="$flag"
53933 fi
53934 rm -f core conftest.err conftest.$ac_objext \
53935 conftest$ac_exeext conftest.$ac_ext
53936 if test "X$thread_CFLAGS" != Xfailed; then
53937 break
53938 fi
53939 done
53940 CFLAGS="$chktls_save_CFLAGS"
53941 if test "X$thread_CFLAGS" != Xfailed; then
53942 CFLAGS="$thread_CFLAGS $chktls_save_CFLAGS"
53943 if test "$cross_compiling" = yes; then :
53944 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
53945 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
53946 as_fn_error $? "cannot run test program while cross compiling
53947 See \`config.log' for more details" "$LINENO" 5; }
53948 else
53949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
53950 /* end confdefs.h. */
53951 #include <pthread.h>
53952 __thread int a;
53953 static int *volatile a_in_other_thread;
53954 static void *
53955 thread_func (void *arg)
53956 {
53957 a_in_other_thread = &a;
53958 return (void *)0;
53959 }
53960 int
53961 main ()
53962 {
53963 pthread_t thread;
53964 void *thread_retval;
53965 int *volatile a_in_main_thread;
53966 a_in_main_thread = &a;
53967 if (pthread_create (&thread, (pthread_attr_t *)0,
53968 thread_func, (void *)0))
53969 return 0;
53970 if (pthread_join (thread, &thread_retval))
53971 return 0;
53972 return (a_in_other_thread == a_in_main_thread);
53973 ;
53974 return 0;
53975 }
53976 _ACEOF
53977 if ac_fn_c_try_run "$LINENO"; then :
53978 gcc_cv_have_tls=yes
53979 else
53980 gcc_cv_have_tls=no
53981 fi
53982 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53983 conftest.$ac_objext conftest.beam conftest.$ac_ext
53984 fi
53985
53986 CFLAGS="$chktls_save_CFLAGS"
53987 fi
53988 fi
53989 else
53990 gcc_cv_have_tls=no
53991 fi
53992 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
53993 conftest.$ac_objext conftest.beam conftest.$ac_ext
53994 fi
53995
53996 fi
53997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_have_tls" >&5
53998 $as_echo "$gcc_cv_have_tls" >&6; }
53999 if test "$enable_tls $gcc_cv_have_tls" = "yes yes"; then
54000
54001 $as_echo "#define HAVE_TLS 1" >>confdefs.h
54002
54003 fi
54004 for ac_func in __cxa_thread_atexit_impl
54005 do :
54006 ac_fn_c_check_func "$LINENO" "__cxa_thread_atexit_impl" "ac_cv_func___cxa_thread_atexit_impl"
54007 if test "x$ac_cv_func___cxa_thread_atexit_impl" = xyes; then :
54008 cat >>confdefs.h <<_ACEOF
54009 #define HAVE___CXA_THREAD_ATEXIT_IMPL 1
54010 _ACEOF
54011
54012 fi
54013 done
54014
54015 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
54016 do :
54017 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
54018 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
54019 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
54020 cat >>confdefs.h <<_ACEOF
54021 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
54022 _ACEOF
54023
54024 fi
54025 done
54026
54027 for ac_func in timespec_get
54028 do :
54029 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
54030 if test "x$ac_cv_func_timespec_get" = xyes; then :
54031 cat >>confdefs.h <<_ACEOF
54032 #define HAVE_TIMESPEC_GET 1
54033 _ACEOF
54034
54035 fi
54036 done
54037
54038 for ac_func in sockatmark
54039 do :
54040 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
54041 if test "x$ac_cv_func_sockatmark" = xyes; then :
54042 cat >>confdefs.h <<_ACEOF
54043 #define HAVE_SOCKATMARK 1
54044 _ACEOF
54045
54046 fi
54047 done
54048
54049 for ac_func in uselocale
54050 do :
54051 ac_fn_c_check_func "$LINENO" "uselocale" "ac_cv_func_uselocale"
54052 if test "x$ac_cv_func_uselocale" = xyes; then :
54053 cat >>confdefs.h <<_ACEOF
54054 #define HAVE_USELOCALE 1
54055 _ACEOF
54056
54057 fi
54058 done
54059
54060
54061
54062
54063
54064
54065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
54066 $as_echo_n "checking for iconv... " >&6; }
54067 if ${am_cv_func_iconv+:} false; then :
54068 $as_echo_n "(cached) " >&6
54069 else
54070
54071 am_cv_func_iconv="no, consider installing GNU libiconv"
54072 am_cv_lib_iconv=no
54073 am_save_CPPFLAGS="$CPPFLAGS"
54074 CPPFLAGS="$CPPFLAGS $INCICONV"
54075 if test x$gcc_no_link = xyes; then
54076 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54077 fi
54078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54079 /* end confdefs.h. */
54080 #include <stdlib.h>
54081 #include <iconv.h>
54082 int
54083 main ()
54084 {
54085 iconv_t cd = iconv_open("","");
54086 iconv(cd,NULL,NULL,NULL,NULL);
54087 iconv_close(cd);
54088 ;
54089 return 0;
54090 }
54091 _ACEOF
54092 if ac_fn_c_try_link "$LINENO"; then :
54093 am_cv_func_iconv=yes
54094 fi
54095 rm -f core conftest.err conftest.$ac_objext \
54096 conftest$ac_exeext conftest.$ac_ext
54097 CPPFLAGS="$am_save_CPPFLAGS"
54098
54099 if test "$am_cv_func_iconv" != yes && test -d ../libiconv; then
54100 for _libs in .libs _libs; do
54101 am_save_CPPFLAGS="$CPPFLAGS"
54102 am_save_LIBS="$LIBS"
54103 CPPFLAGS="$CPPFLAGS -I../libiconv/include"
54104 LIBS="$LIBS ../libiconv/lib/$_libs/libiconv.a"
54105 if test x$gcc_no_link = xyes; then
54106 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54107 fi
54108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54109 /* end confdefs.h. */
54110 #include <stdlib.h>
54111 #include <iconv.h>
54112 int
54113 main ()
54114 {
54115 iconv_t cd = iconv_open("","");
54116 iconv(cd,NULL,NULL,NULL,NULL);
54117 iconv_close(cd);
54118 ;
54119 return 0;
54120 }
54121 _ACEOF
54122 if ac_fn_c_try_link "$LINENO"; then :
54123 INCICONV="-I../libiconv/include"
54124 LIBICONV='${top_builddir}'/../libiconv/lib/$_libs/libiconv.a
54125 LTLIBICONV='${top_builddir}'/../libiconv/lib/libiconv.la
54126 am_cv_lib_iconv=yes
54127 am_cv_func_iconv=yes
54128 fi
54129 rm -f core conftest.err conftest.$ac_objext \
54130 conftest$ac_exeext conftest.$ac_ext
54131 CPPFLAGS="$am_save_CPPFLAGS"
54132 LIBS="$am_save_LIBS"
54133 if test "$am_cv_func_iconv" = "yes"; then
54134 break
54135 fi
54136 done
54137 fi
54138
54139 if test "$am_cv_func_iconv" != yes; then
54140 am_save_CPPFLAGS="$CPPFLAGS"
54141 am_save_LIBS="$LIBS"
54142 CPPFLAGS="$CPPFLAGS $INCICONV"
54143 LIBS="$LIBS $LIBICONV"
54144 if test x$gcc_no_link = xyes; then
54145 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54146 fi
54147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54148 /* end confdefs.h. */
54149 #include <stdlib.h>
54150 #include <iconv.h>
54151 int
54152 main ()
54153 {
54154 iconv_t cd = iconv_open("","");
54155 iconv(cd,NULL,NULL,NULL,NULL);
54156 iconv_close(cd);
54157 ;
54158 return 0;
54159 }
54160 _ACEOF
54161 if ac_fn_c_try_link "$LINENO"; then :
54162 am_cv_lib_iconv=yes
54163 am_cv_func_iconv=yes
54164 fi
54165 rm -f core conftest.err conftest.$ac_objext \
54166 conftest$ac_exeext conftest.$ac_ext
54167 CPPFLAGS="$am_save_CPPFLAGS"
54168 LIBS="$am_save_LIBS"
54169 fi
54170
54171 fi
54172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
54173 $as_echo "$am_cv_func_iconv" >&6; }
54174 if test "$am_cv_func_iconv" = yes; then
54175
54176 $as_echo "#define HAVE_ICONV 1" >>confdefs.h
54177
54178 fi
54179 if test "$am_cv_lib_iconv" = yes; then
54180
54181 for element in $INCICONV; do
54182 haveit=
54183 for x in $CPPFLAGS; do
54184
54185 acl_save_prefix="$prefix"
54186 prefix="$acl_final_prefix"
54187 acl_save_exec_prefix="$exec_prefix"
54188 exec_prefix="$acl_final_exec_prefix"
54189 eval x=\"$x\"
54190 exec_prefix="$acl_save_exec_prefix"
54191 prefix="$acl_save_prefix"
54192
54193 if test "X$x" = "X$element"; then
54194 haveit=yes
54195 break
54196 fi
54197 done
54198 if test -z "$haveit"; then
54199 CPPFLAGS="${CPPFLAGS}${CPPFLAGS:+ }$element"
54200 fi
54201 done
54202
54203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to link with libiconv" >&5
54204 $as_echo_n "checking how to link with libiconv... " >&6; }
54205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LIBICONV" >&5
54206 $as_echo "$LIBICONV" >&6; }
54207 else
54208 LIBICONV=
54209 LTLIBICONV=
54210 fi
54211
54212
54213
54214 if test "$am_cv_func_iconv" = yes; then
54215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv declaration" >&5
54216 $as_echo_n "checking for iconv declaration... " >&6; }
54217 if ${am_cv_proto_iconv+:} false; then :
54218 $as_echo_n "(cached) " >&6
54219 else
54220
54221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54222 /* end confdefs.h. */
54223
54224 #include <stdlib.h>
54225 #include <iconv.h>
54226 extern
54227 #ifdef __cplusplus
54228 "C"
54229 #endif
54230 #if defined(__STDC__) || defined(__cplusplus)
54231 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
54232 #else
54233 size_t iconv();
54234 #endif
54235
54236 int
54237 main ()
54238 {
54239
54240 ;
54241 return 0;
54242 }
54243 _ACEOF
54244 if ac_fn_c_try_compile "$LINENO"; then :
54245 am_cv_proto_iconv_arg1=""
54246 else
54247 am_cv_proto_iconv_arg1="const"
54248 fi
54249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54250 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);"
54251 fi
54252
54253 am_cv_proto_iconv=`echo "$am_cv_proto_iconv" | tr -s ' ' | sed -e 's/( /(/'`
54254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${ac_t:-
54255 }$am_cv_proto_iconv" >&5
54256 $as_echo "${ac_t:-
54257 }$am_cv_proto_iconv" >&6; }
54258
54259 cat >>confdefs.h <<_ACEOF
54260 #define ICONV_CONST $am_cv_proto_iconv_arg1
54261 _ACEOF
54262
54263 fi
54264
54265 ;;
54266 *-mingw32*)
54267
54268 # If we're not using GNU ld, then there's no point in even trying these
54269 # tests. Check for that first. We should have already tested for gld
54270 # by now (in libtool), but require it now just to be safe...
54271 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
54272 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
54273
54274
54275
54276 # The name set by libtool depends on the version of libtool. Shame on us
54277 # for depending on an impl detail, but c'est la vie. Older versions used
54278 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
54279 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
54280 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
54281 # set (hence we're using an older libtool), then set it.
54282 if test x${with_gnu_ld+set} != xset; then
54283 if test x${ac_cv_prog_gnu_ld+set} != xset; then
54284 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
54285 with_gnu_ld=no
54286 else
54287 with_gnu_ld=$ac_cv_prog_gnu_ld
54288 fi
54289 fi
54290
54291 # Start by getting the version number. I think the libtool test already
54292 # does some of this, but throws away the result.
54293 glibcxx_ld_is_gold=no
54294 if test x"$with_gnu_ld" = x"yes"; then
54295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
54296 $as_echo_n "checking for ld version... " >&6; }
54297
54298 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
54299 glibcxx_ld_is_gold=yes
54300 fi
54301 ldver=`$LD --version 2>/dev/null |
54302 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
54303
54304 glibcxx_gnu_ld_version=`echo $ldver | \
54305 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
54306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
54307 $as_echo "$glibcxx_gnu_ld_version" >&6; }
54308 fi
54309
54310 # Set --gc-sections.
54311 glibcxx_have_gc_sections=no
54312 if test "$glibcxx_ld_is_gold" = "yes"; then
54313 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
54314 glibcxx_have_gc_sections=yes
54315 fi
54316 else
54317 glibcxx_gcsections_min_ld=21602
54318 if test x"$with_gnu_ld" = x"yes" &&
54319 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
54320 glibcxx_have_gc_sections=yes
54321 fi
54322 fi
54323 if test "$glibcxx_have_gc_sections" = "yes"; then
54324 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
54325 # NB: This flag only works reliably after 2.16.1. Configure tests
54326 # for this are difficult, so hard wire a value that should work.
54327
54328 ac_test_CFLAGS="${CFLAGS+set}"
54329 ac_save_CFLAGS="$CFLAGS"
54330 CFLAGS='-Wl,--gc-sections'
54331
54332 # Check for -Wl,--gc-sections
54333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
54334 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
54335 if test x$gcc_no_link = xyes; then
54336 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54337 fi
54338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54339 /* end confdefs.h. */
54340 int one(void) { return 1; }
54341 int two(void) { return 2; }
54342
54343 int
54344 main ()
54345 {
54346 two();
54347 ;
54348 return 0;
54349 }
54350 _ACEOF
54351 if ac_fn_c_try_link "$LINENO"; then :
54352 ac_gcsections=yes
54353 else
54354 ac_gcsections=no
54355 fi
54356 rm -f core conftest.err conftest.$ac_objext \
54357 conftest$ac_exeext conftest.$ac_ext
54358 if test "$ac_gcsections" = "yes"; then
54359 rm -f conftest.c
54360 touch conftest.c
54361 if $CC -c conftest.c; then
54362 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
54363 grep "Warning: gc-sections option ignored" > /dev/null; then
54364 ac_gcsections=no
54365 fi
54366 fi
54367 rm -f conftest.c conftest.o conftest
54368 fi
54369 if test "$ac_gcsections" = "yes"; then
54370 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
54371 fi
54372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
54373 $as_echo "$ac_gcsections" >&6; }
54374
54375 if test "$ac_test_CFLAGS" = set; then
54376 CFLAGS="$ac_save_CFLAGS"
54377 else
54378 # this is the suspicious part
54379 CFLAGS=''
54380 fi
54381 fi
54382
54383 # Set -z,relro.
54384 # Note this is only for shared objects.
54385 ac_ld_relro=no
54386 if test x"$with_gnu_ld" = x"yes"; then
54387 # cygwin and mingw uses PE, which has no ELF relro support,
54388 # multi target ld may confuse configure machinery
54389 case "$host" in
54390 *-*-cygwin*)
54391 ;;
54392 *-*-mingw*)
54393 ;;
54394 *)
54395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
54396 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
54397 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
54398 if test -n "$cxx_z_relo"; then
54399 OPT_LDFLAGS="-Wl,-z,relro"
54400 ac_ld_relro=yes
54401 fi
54402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
54403 $as_echo "$ac_ld_relro" >&6; }
54404 esac
54405 fi
54406
54407 # Set linker optimization flags.
54408 if test x"$with_gnu_ld" = x"yes"; then
54409 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
54410 fi
54411
54412
54413
54414
54415
54416 ac_test_CXXFLAGS="${CXXFLAGS+set}"
54417 ac_save_CXXFLAGS="$CXXFLAGS"
54418 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
54419
54420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
54421 $as_echo_n "checking for sin in -lm... " >&6; }
54422 if ${ac_cv_lib_m_sin+:} false; then :
54423 $as_echo_n "(cached) " >&6
54424 else
54425 ac_check_lib_save_LIBS=$LIBS
54426 LIBS="-lm $LIBS"
54427 if test x$gcc_no_link = xyes; then
54428 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
54429 fi
54430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54431 /* end confdefs.h. */
54432
54433 /* Override any GCC internal prototype to avoid an error.
54434 Use char because int might match the return type of a GCC
54435 builtin and then its argument prototype would still apply. */
54436 #ifdef __cplusplus
54437 extern "C"
54438 #endif
54439 char sin ();
54440 int
54441 main ()
54442 {
54443 return sin ();
54444 ;
54445 return 0;
54446 }
54447 _ACEOF
54448 if ac_fn_c_try_link "$LINENO"; then :
54449 ac_cv_lib_m_sin=yes
54450 else
54451 ac_cv_lib_m_sin=no
54452 fi
54453 rm -f core conftest.err conftest.$ac_objext \
54454 conftest$ac_exeext conftest.$ac_ext
54455 LIBS=$ac_check_lib_save_LIBS
54456 fi
54457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
54458 $as_echo "$ac_cv_lib_m_sin" >&6; }
54459 if test "x$ac_cv_lib_m_sin" = xyes; then :
54460 libm="-lm"
54461 fi
54462
54463 ac_save_LIBS="$LIBS"
54464 LIBS="$LIBS $libm"
54465
54466
54467
54468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
54469 $as_echo_n "checking for isinf declaration... " >&6; }
54470 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
54471 if ${glibcxx_cv_func_isinf_use+:} false; then :
54472 $as_echo_n "(cached) " >&6
54473 else
54474
54475
54476 ac_ext=cpp
54477 ac_cpp='$CXXCPP $CPPFLAGS'
54478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54481
54482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54483 /* end confdefs.h. */
54484 #include <math.h>
54485 #ifdef HAVE_IEEEFP_H
54486 #include <ieeefp.h>
54487 #endif
54488
54489 int
54490 main ()
54491 {
54492 isinf(0);
54493 ;
54494 return 0;
54495 }
54496 _ACEOF
54497 if ac_fn_cxx_try_compile "$LINENO"; then :
54498 glibcxx_cv_func_isinf_use=yes
54499 else
54500 glibcxx_cv_func_isinf_use=no
54501 fi
54502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54503 ac_ext=c
54504 ac_cpp='$CPP $CPPFLAGS'
54505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54508
54509
54510 fi
54511
54512 fi
54513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
54514 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
54515
54516 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
54517 for ac_func in isinf
54518 do :
54519 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
54520 if test "x$ac_cv_func_isinf" = xyes; then :
54521 cat >>confdefs.h <<_ACEOF
54522 #define HAVE_ISINF 1
54523 _ACEOF
54524
54525 fi
54526 done
54527
54528 else
54529
54530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
54531 $as_echo_n "checking for _isinf declaration... " >&6; }
54532 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
54533 if ${glibcxx_cv_func__isinf_use+:} false; then :
54534 $as_echo_n "(cached) " >&6
54535 else
54536
54537
54538 ac_ext=cpp
54539 ac_cpp='$CXXCPP $CPPFLAGS'
54540 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54541 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54542 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54543
54544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54545 /* end confdefs.h. */
54546 #include <math.h>
54547 #ifdef HAVE_IEEEFP_H
54548 #include <ieeefp.h>
54549 #endif
54550
54551 int
54552 main ()
54553 {
54554 _isinf(0);
54555 ;
54556 return 0;
54557 }
54558 _ACEOF
54559 if ac_fn_cxx_try_compile "$LINENO"; then :
54560 glibcxx_cv_func__isinf_use=yes
54561 else
54562 glibcxx_cv_func__isinf_use=no
54563 fi
54564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54565 ac_ext=c
54566 ac_cpp='$CPP $CPPFLAGS'
54567 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54568 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54569 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54570
54571
54572 fi
54573
54574 fi
54575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
54576 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
54577
54578 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
54579 for ac_func in _isinf
54580 do :
54581 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
54582 if test "x$ac_cv_func__isinf" = xyes; then :
54583 cat >>confdefs.h <<_ACEOF
54584 #define HAVE__ISINF 1
54585 _ACEOF
54586
54587 fi
54588 done
54589
54590 fi
54591 fi
54592
54593
54594
54595
54596
54597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
54598 $as_echo_n "checking for isnan declaration... " >&6; }
54599 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
54600 if ${glibcxx_cv_func_isnan_use+:} false; then :
54601 $as_echo_n "(cached) " >&6
54602 else
54603
54604
54605 ac_ext=cpp
54606 ac_cpp='$CXXCPP $CPPFLAGS'
54607 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54608 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54609 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54610
54611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54612 /* end confdefs.h. */
54613 #include <math.h>
54614 #ifdef HAVE_IEEEFP_H
54615 #include <ieeefp.h>
54616 #endif
54617
54618 int
54619 main ()
54620 {
54621 isnan(0);
54622 ;
54623 return 0;
54624 }
54625 _ACEOF
54626 if ac_fn_cxx_try_compile "$LINENO"; then :
54627 glibcxx_cv_func_isnan_use=yes
54628 else
54629 glibcxx_cv_func_isnan_use=no
54630 fi
54631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54632 ac_ext=c
54633 ac_cpp='$CPP $CPPFLAGS'
54634 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54635 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54636 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54637
54638
54639 fi
54640
54641 fi
54642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
54643 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
54644
54645 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
54646 for ac_func in isnan
54647 do :
54648 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
54649 if test "x$ac_cv_func_isnan" = xyes; then :
54650 cat >>confdefs.h <<_ACEOF
54651 #define HAVE_ISNAN 1
54652 _ACEOF
54653
54654 fi
54655 done
54656
54657 else
54658
54659 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
54660 $as_echo_n "checking for _isnan declaration... " >&6; }
54661 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
54662 if ${glibcxx_cv_func__isnan_use+:} false; then :
54663 $as_echo_n "(cached) " >&6
54664 else
54665
54666
54667 ac_ext=cpp
54668 ac_cpp='$CXXCPP $CPPFLAGS'
54669 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54670 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54671 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54672
54673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54674 /* end confdefs.h. */
54675 #include <math.h>
54676 #ifdef HAVE_IEEEFP_H
54677 #include <ieeefp.h>
54678 #endif
54679
54680 int
54681 main ()
54682 {
54683 _isnan(0);
54684 ;
54685 return 0;
54686 }
54687 _ACEOF
54688 if ac_fn_cxx_try_compile "$LINENO"; then :
54689 glibcxx_cv_func__isnan_use=yes
54690 else
54691 glibcxx_cv_func__isnan_use=no
54692 fi
54693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54694 ac_ext=c
54695 ac_cpp='$CPP $CPPFLAGS'
54696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54699
54700
54701 fi
54702
54703 fi
54704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
54705 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
54706
54707 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
54708 for ac_func in _isnan
54709 do :
54710 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
54711 if test "x$ac_cv_func__isnan" = xyes; then :
54712 cat >>confdefs.h <<_ACEOF
54713 #define HAVE__ISNAN 1
54714 _ACEOF
54715
54716 fi
54717 done
54718
54719 fi
54720 fi
54721
54722
54723
54724
54725
54726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
54727 $as_echo_n "checking for finite declaration... " >&6; }
54728 if test x${glibcxx_cv_func_finite_use+set} != xset; then
54729 if ${glibcxx_cv_func_finite_use+:} false; then :
54730 $as_echo_n "(cached) " >&6
54731 else
54732
54733
54734 ac_ext=cpp
54735 ac_cpp='$CXXCPP $CPPFLAGS'
54736 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54737 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54738 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54739
54740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54741 /* end confdefs.h. */
54742 #include <math.h>
54743 #ifdef HAVE_IEEEFP_H
54744 #include <ieeefp.h>
54745 #endif
54746
54747 int
54748 main ()
54749 {
54750 finite(0);
54751 ;
54752 return 0;
54753 }
54754 _ACEOF
54755 if ac_fn_cxx_try_compile "$LINENO"; then :
54756 glibcxx_cv_func_finite_use=yes
54757 else
54758 glibcxx_cv_func_finite_use=no
54759 fi
54760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54761 ac_ext=c
54762 ac_cpp='$CPP $CPPFLAGS'
54763 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54764 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54765 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54766
54767
54768 fi
54769
54770 fi
54771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
54772 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
54773
54774 if test x$glibcxx_cv_func_finite_use = x"yes"; then
54775 for ac_func in finite
54776 do :
54777 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
54778 if test "x$ac_cv_func_finite" = xyes; then :
54779 cat >>confdefs.h <<_ACEOF
54780 #define HAVE_FINITE 1
54781 _ACEOF
54782
54783 fi
54784 done
54785
54786 else
54787
54788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
54789 $as_echo_n "checking for _finite declaration... " >&6; }
54790 if test x${glibcxx_cv_func__finite_use+set} != xset; then
54791 if ${glibcxx_cv_func__finite_use+:} false; then :
54792 $as_echo_n "(cached) " >&6
54793 else
54794
54795
54796 ac_ext=cpp
54797 ac_cpp='$CXXCPP $CPPFLAGS'
54798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54801
54802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54803 /* end confdefs.h. */
54804 #include <math.h>
54805 #ifdef HAVE_IEEEFP_H
54806 #include <ieeefp.h>
54807 #endif
54808
54809 int
54810 main ()
54811 {
54812 _finite(0);
54813 ;
54814 return 0;
54815 }
54816 _ACEOF
54817 if ac_fn_cxx_try_compile "$LINENO"; then :
54818 glibcxx_cv_func__finite_use=yes
54819 else
54820 glibcxx_cv_func__finite_use=no
54821 fi
54822 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54823 ac_ext=c
54824 ac_cpp='$CPP $CPPFLAGS'
54825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54828
54829
54830 fi
54831
54832 fi
54833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
54834 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
54835
54836 if test x$glibcxx_cv_func__finite_use = x"yes"; then
54837 for ac_func in _finite
54838 do :
54839 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
54840 if test "x$ac_cv_func__finite" = xyes; then :
54841 cat >>confdefs.h <<_ACEOF
54842 #define HAVE__FINITE 1
54843 _ACEOF
54844
54845 fi
54846 done
54847
54848 fi
54849 fi
54850
54851
54852
54853
54854
54855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
54856 $as_echo_n "checking for sincos declaration... " >&6; }
54857 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
54858 if ${glibcxx_cv_func_sincos_use+:} false; then :
54859 $as_echo_n "(cached) " >&6
54860 else
54861
54862
54863 ac_ext=cpp
54864 ac_cpp='$CXXCPP $CPPFLAGS'
54865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54868
54869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54870 /* end confdefs.h. */
54871 #include <math.h>
54872 int
54873 main ()
54874 {
54875 sincos(0, 0, 0);
54876 ;
54877 return 0;
54878 }
54879 _ACEOF
54880 if ac_fn_cxx_try_compile "$LINENO"; then :
54881 glibcxx_cv_func_sincos_use=yes
54882 else
54883 glibcxx_cv_func_sincos_use=no
54884 fi
54885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54886 ac_ext=c
54887 ac_cpp='$CPP $CPPFLAGS'
54888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54891
54892
54893 fi
54894
54895 fi
54896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
54897 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
54898
54899 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
54900 for ac_func in sincos
54901 do :
54902 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
54903 if test "x$ac_cv_func_sincos" = xyes; then :
54904 cat >>confdefs.h <<_ACEOF
54905 #define HAVE_SINCOS 1
54906 _ACEOF
54907
54908 fi
54909 done
54910
54911 else
54912
54913 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
54914 $as_echo_n "checking for _sincos declaration... " >&6; }
54915 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
54916 if ${glibcxx_cv_func__sincos_use+:} false; then :
54917 $as_echo_n "(cached) " >&6
54918 else
54919
54920
54921 ac_ext=cpp
54922 ac_cpp='$CXXCPP $CPPFLAGS'
54923 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54924 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54925 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54926
54927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54928 /* end confdefs.h. */
54929 #include <math.h>
54930 int
54931 main ()
54932 {
54933 _sincos(0, 0, 0);
54934 ;
54935 return 0;
54936 }
54937 _ACEOF
54938 if ac_fn_cxx_try_compile "$LINENO"; then :
54939 glibcxx_cv_func__sincos_use=yes
54940 else
54941 glibcxx_cv_func__sincos_use=no
54942 fi
54943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
54944 ac_ext=c
54945 ac_cpp='$CPP $CPPFLAGS'
54946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
54949
54950
54951 fi
54952
54953 fi
54954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
54955 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
54956
54957 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
54958 for ac_func in _sincos
54959 do :
54960 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
54961 if test "x$ac_cv_func__sincos" = xyes; then :
54962 cat >>confdefs.h <<_ACEOF
54963 #define HAVE__SINCOS 1
54964 _ACEOF
54965
54966 fi
54967 done
54968
54969 fi
54970 fi
54971
54972
54973
54974
54975
54976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
54977 $as_echo_n "checking for fpclass declaration... " >&6; }
54978 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
54979 if ${glibcxx_cv_func_fpclass_use+:} false; then :
54980 $as_echo_n "(cached) " >&6
54981 else
54982
54983
54984 ac_ext=cpp
54985 ac_cpp='$CXXCPP $CPPFLAGS'
54986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
54987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
54988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
54989
54990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
54991 /* end confdefs.h. */
54992 #include <math.h>
54993 #ifdef HAVE_IEEEFP_H
54994 #include <ieeefp.h>
54995 #endif
54996
54997 int
54998 main ()
54999 {
55000 fpclass(0);
55001 ;
55002 return 0;
55003 }
55004 _ACEOF
55005 if ac_fn_cxx_try_compile "$LINENO"; then :
55006 glibcxx_cv_func_fpclass_use=yes
55007 else
55008 glibcxx_cv_func_fpclass_use=no
55009 fi
55010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55011 ac_ext=c
55012 ac_cpp='$CPP $CPPFLAGS'
55013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55016
55017
55018 fi
55019
55020 fi
55021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
55022 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
55023
55024 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
55025 for ac_func in fpclass
55026 do :
55027 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
55028 if test "x$ac_cv_func_fpclass" = xyes; then :
55029 cat >>confdefs.h <<_ACEOF
55030 #define HAVE_FPCLASS 1
55031 _ACEOF
55032
55033 fi
55034 done
55035
55036 else
55037
55038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
55039 $as_echo_n "checking for _fpclass declaration... " >&6; }
55040 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
55041 if ${glibcxx_cv_func__fpclass_use+:} false; then :
55042 $as_echo_n "(cached) " >&6
55043 else
55044
55045
55046 ac_ext=cpp
55047 ac_cpp='$CXXCPP $CPPFLAGS'
55048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55051
55052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55053 /* end confdefs.h. */
55054 #include <math.h>
55055 #ifdef HAVE_IEEEFP_H
55056 #include <ieeefp.h>
55057 #endif
55058
55059 int
55060 main ()
55061 {
55062 _fpclass(0);
55063 ;
55064 return 0;
55065 }
55066 _ACEOF
55067 if ac_fn_cxx_try_compile "$LINENO"; then :
55068 glibcxx_cv_func__fpclass_use=yes
55069 else
55070 glibcxx_cv_func__fpclass_use=no
55071 fi
55072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55073 ac_ext=c
55074 ac_cpp='$CPP $CPPFLAGS'
55075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55078
55079
55080 fi
55081
55082 fi
55083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
55084 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
55085
55086 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
55087 for ac_func in _fpclass
55088 do :
55089 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
55090 if test "x$ac_cv_func__fpclass" = xyes; then :
55091 cat >>confdefs.h <<_ACEOF
55092 #define HAVE__FPCLASS 1
55093 _ACEOF
55094
55095 fi
55096 done
55097
55098 fi
55099 fi
55100
55101
55102
55103
55104
55105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
55106 $as_echo_n "checking for qfpclass declaration... " >&6; }
55107 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
55108 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
55109 $as_echo_n "(cached) " >&6
55110 else
55111
55112
55113 ac_ext=cpp
55114 ac_cpp='$CXXCPP $CPPFLAGS'
55115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55118
55119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55120 /* end confdefs.h. */
55121 #include <math.h>
55122 #ifdef HAVE_IEEEFP_H
55123 #include <ieeefp.h>
55124 #endif
55125
55126 int
55127 main ()
55128 {
55129 qfpclass(0);
55130 ;
55131 return 0;
55132 }
55133 _ACEOF
55134 if ac_fn_cxx_try_compile "$LINENO"; then :
55135 glibcxx_cv_func_qfpclass_use=yes
55136 else
55137 glibcxx_cv_func_qfpclass_use=no
55138 fi
55139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55140 ac_ext=c
55141 ac_cpp='$CPP $CPPFLAGS'
55142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55145
55146
55147 fi
55148
55149 fi
55150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
55151 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
55152
55153 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
55154 for ac_func in qfpclass
55155 do :
55156 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
55157 if test "x$ac_cv_func_qfpclass" = xyes; then :
55158 cat >>confdefs.h <<_ACEOF
55159 #define HAVE_QFPCLASS 1
55160 _ACEOF
55161
55162 fi
55163 done
55164
55165 else
55166
55167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
55168 $as_echo_n "checking for _qfpclass declaration... " >&6; }
55169 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
55170 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
55171 $as_echo_n "(cached) " >&6
55172 else
55173
55174
55175 ac_ext=cpp
55176 ac_cpp='$CXXCPP $CPPFLAGS'
55177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55180
55181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55182 /* end confdefs.h. */
55183 #include <math.h>
55184 #ifdef HAVE_IEEEFP_H
55185 #include <ieeefp.h>
55186 #endif
55187
55188 int
55189 main ()
55190 {
55191 _qfpclass(0);
55192 ;
55193 return 0;
55194 }
55195 _ACEOF
55196 if ac_fn_cxx_try_compile "$LINENO"; then :
55197 glibcxx_cv_func__qfpclass_use=yes
55198 else
55199 glibcxx_cv_func__qfpclass_use=no
55200 fi
55201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55202 ac_ext=c
55203 ac_cpp='$CPP $CPPFLAGS'
55204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55207
55208
55209 fi
55210
55211 fi
55212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
55213 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
55214
55215 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
55216 for ac_func in _qfpclass
55217 do :
55218 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
55219 if test "x$ac_cv_func__qfpclass" = xyes; then :
55220 cat >>confdefs.h <<_ACEOF
55221 #define HAVE__QFPCLASS 1
55222 _ACEOF
55223
55224 fi
55225 done
55226
55227 fi
55228 fi
55229
55230
55231
55232
55233
55234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
55235 $as_echo_n "checking for hypot declaration... " >&6; }
55236 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
55237 if ${glibcxx_cv_func_hypot_use+:} false; then :
55238 $as_echo_n "(cached) " >&6
55239 else
55240
55241
55242 ac_ext=cpp
55243 ac_cpp='$CXXCPP $CPPFLAGS'
55244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55247
55248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55249 /* end confdefs.h. */
55250 #include <math.h>
55251 int
55252 main ()
55253 {
55254 hypot(0, 0);
55255 ;
55256 return 0;
55257 }
55258 _ACEOF
55259 if ac_fn_cxx_try_compile "$LINENO"; then :
55260 glibcxx_cv_func_hypot_use=yes
55261 else
55262 glibcxx_cv_func_hypot_use=no
55263 fi
55264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55265 ac_ext=c
55266 ac_cpp='$CPP $CPPFLAGS'
55267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55270
55271
55272 fi
55273
55274 fi
55275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
55276 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
55277
55278 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
55279 for ac_func in hypot
55280 do :
55281 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
55282 if test "x$ac_cv_func_hypot" = xyes; then :
55283 cat >>confdefs.h <<_ACEOF
55284 #define HAVE_HYPOT 1
55285 _ACEOF
55286
55287 fi
55288 done
55289
55290 else
55291
55292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
55293 $as_echo_n "checking for _hypot declaration... " >&6; }
55294 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
55295 if ${glibcxx_cv_func__hypot_use+:} false; then :
55296 $as_echo_n "(cached) " >&6
55297 else
55298
55299
55300 ac_ext=cpp
55301 ac_cpp='$CXXCPP $CPPFLAGS'
55302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55305
55306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55307 /* end confdefs.h. */
55308 #include <math.h>
55309 int
55310 main ()
55311 {
55312 _hypot(0, 0);
55313 ;
55314 return 0;
55315 }
55316 _ACEOF
55317 if ac_fn_cxx_try_compile "$LINENO"; then :
55318 glibcxx_cv_func__hypot_use=yes
55319 else
55320 glibcxx_cv_func__hypot_use=no
55321 fi
55322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55323 ac_ext=c
55324 ac_cpp='$CPP $CPPFLAGS'
55325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55328
55329
55330 fi
55331
55332 fi
55333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
55334 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
55335
55336 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
55337 for ac_func in _hypot
55338 do :
55339 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
55340 if test "x$ac_cv_func__hypot" = xyes; then :
55341 cat >>confdefs.h <<_ACEOF
55342 #define HAVE__HYPOT 1
55343 _ACEOF
55344
55345 fi
55346 done
55347
55348 fi
55349 fi
55350
55351
55352
55353
55354
55355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
55356 $as_echo_n "checking for float trig functions... " >&6; }
55357 if ${glibcxx_cv_func_float_trig_use+:} false; then :
55358 $as_echo_n "(cached) " >&6
55359 else
55360
55361
55362 ac_ext=cpp
55363 ac_cpp='$CXXCPP $CPPFLAGS'
55364 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55365 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55366 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55367
55368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55369 /* end confdefs.h. */
55370 #include <math.h>
55371 int
55372 main ()
55373 {
55374 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
55375 ;
55376 return 0;
55377 }
55378 _ACEOF
55379 if ac_fn_cxx_try_compile "$LINENO"; then :
55380 glibcxx_cv_func_float_trig_use=yes
55381 else
55382 glibcxx_cv_func_float_trig_use=no
55383 fi
55384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55385 ac_ext=c
55386 ac_cpp='$CPP $CPPFLAGS'
55387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55390
55391 fi
55392
55393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
55394 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
55395 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
55396 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
55397 do :
55398 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55399 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55400 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55401 cat >>confdefs.h <<_ACEOF
55402 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55403 _ACEOF
55404
55405 fi
55406 done
55407
55408 else
55409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
55410 $as_echo_n "checking for _float trig functions... " >&6; }
55411 if ${glibcxx_cv_func__float_trig_use+:} false; then :
55412 $as_echo_n "(cached) " >&6
55413 else
55414
55415
55416 ac_ext=cpp
55417 ac_cpp='$CXXCPP $CPPFLAGS'
55418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55421
55422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55423 /* end confdefs.h. */
55424 #include <math.h>
55425 int
55426 main ()
55427 {
55428 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
55429 ;
55430 return 0;
55431 }
55432 _ACEOF
55433 if ac_fn_cxx_try_compile "$LINENO"; then :
55434 glibcxx_cv_func__float_trig_use=yes
55435 else
55436 glibcxx_cv_func__float_trig_use=no
55437 fi
55438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55439 ac_ext=c
55440 ac_cpp='$CPP $CPPFLAGS'
55441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55444
55445 fi
55446
55447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
55448 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
55449 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
55450 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
55451 do :
55452 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55453 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55454 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55455 cat >>confdefs.h <<_ACEOF
55456 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55457 _ACEOF
55458
55459 fi
55460 done
55461
55462 fi
55463 fi
55464
55465
55466
55467
55468
55469 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
55470 $as_echo_n "checking for float round functions... " >&6; }
55471 if ${glibcxx_cv_func_float_round_use+:} false; then :
55472 $as_echo_n "(cached) " >&6
55473 else
55474
55475
55476 ac_ext=cpp
55477 ac_cpp='$CXXCPP $CPPFLAGS'
55478 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55479 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55480 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55481
55482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55483 /* end confdefs.h. */
55484 #include <math.h>
55485 int
55486 main ()
55487 {
55488 ceilf (0); floorf (0);
55489 ;
55490 return 0;
55491 }
55492 _ACEOF
55493 if ac_fn_cxx_try_compile "$LINENO"; then :
55494 glibcxx_cv_func_float_round_use=yes
55495 else
55496 glibcxx_cv_func_float_round_use=no
55497 fi
55498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55499 ac_ext=c
55500 ac_cpp='$CPP $CPPFLAGS'
55501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55504
55505 fi
55506
55507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
55508 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
55509 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
55510 for ac_func in ceilf floorf
55511 do :
55512 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55513 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55514 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55515 cat >>confdefs.h <<_ACEOF
55516 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55517 _ACEOF
55518
55519 fi
55520 done
55521
55522 else
55523 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
55524 $as_echo_n "checking for _float round functions... " >&6; }
55525 if ${glibcxx_cv_func__float_round_use+:} false; then :
55526 $as_echo_n "(cached) " >&6
55527 else
55528
55529
55530 ac_ext=cpp
55531 ac_cpp='$CXXCPP $CPPFLAGS'
55532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55535
55536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55537 /* end confdefs.h. */
55538 #include <math.h>
55539 int
55540 main ()
55541 {
55542 _ceilf (0); _floorf (0);
55543 ;
55544 return 0;
55545 }
55546 _ACEOF
55547 if ac_fn_cxx_try_compile "$LINENO"; then :
55548 glibcxx_cv_func__float_round_use=yes
55549 else
55550 glibcxx_cv_func__float_round_use=no
55551 fi
55552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55553 ac_ext=c
55554 ac_cpp='$CPP $CPPFLAGS'
55555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55558
55559 fi
55560
55561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
55562 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
55563 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
55564 for ac_func in _ceilf _floorf
55565 do :
55566 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
55567 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
55568 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
55569 cat >>confdefs.h <<_ACEOF
55570 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
55571 _ACEOF
55572
55573 fi
55574 done
55575
55576 fi
55577 fi
55578
55579
55580
55581
55582
55583
55584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
55585 $as_echo_n "checking for expf declaration... " >&6; }
55586 if test x${glibcxx_cv_func_expf_use+set} != xset; then
55587 if ${glibcxx_cv_func_expf_use+:} false; then :
55588 $as_echo_n "(cached) " >&6
55589 else
55590
55591
55592 ac_ext=cpp
55593 ac_cpp='$CXXCPP $CPPFLAGS'
55594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55597
55598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55599 /* end confdefs.h. */
55600 #include <math.h>
55601 #ifdef HAVE_IEEEFP_H
55602 #include <ieeefp.h>
55603 #endif
55604
55605 int
55606 main ()
55607 {
55608 expf(0);
55609 ;
55610 return 0;
55611 }
55612 _ACEOF
55613 if ac_fn_cxx_try_compile "$LINENO"; then :
55614 glibcxx_cv_func_expf_use=yes
55615 else
55616 glibcxx_cv_func_expf_use=no
55617 fi
55618 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55619 ac_ext=c
55620 ac_cpp='$CPP $CPPFLAGS'
55621 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55622 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55623 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55624
55625
55626 fi
55627
55628 fi
55629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
55630 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
55631
55632 if test x$glibcxx_cv_func_expf_use = x"yes"; then
55633 for ac_func in expf
55634 do :
55635 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
55636 if test "x$ac_cv_func_expf" = xyes; then :
55637 cat >>confdefs.h <<_ACEOF
55638 #define HAVE_EXPF 1
55639 _ACEOF
55640
55641 fi
55642 done
55643
55644 else
55645
55646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
55647 $as_echo_n "checking for _expf declaration... " >&6; }
55648 if test x${glibcxx_cv_func__expf_use+set} != xset; then
55649 if ${glibcxx_cv_func__expf_use+:} false; then :
55650 $as_echo_n "(cached) " >&6
55651 else
55652
55653
55654 ac_ext=cpp
55655 ac_cpp='$CXXCPP $CPPFLAGS'
55656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55659
55660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55661 /* end confdefs.h. */
55662 #include <math.h>
55663 #ifdef HAVE_IEEEFP_H
55664 #include <ieeefp.h>
55665 #endif
55666
55667 int
55668 main ()
55669 {
55670 _expf(0);
55671 ;
55672 return 0;
55673 }
55674 _ACEOF
55675 if ac_fn_cxx_try_compile "$LINENO"; then :
55676 glibcxx_cv_func__expf_use=yes
55677 else
55678 glibcxx_cv_func__expf_use=no
55679 fi
55680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55681 ac_ext=c
55682 ac_cpp='$CPP $CPPFLAGS'
55683 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55684 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55685 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55686
55687
55688 fi
55689
55690 fi
55691 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
55692 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
55693
55694 if test x$glibcxx_cv_func__expf_use = x"yes"; then
55695 for ac_func in _expf
55696 do :
55697 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
55698 if test "x$ac_cv_func__expf" = xyes; then :
55699 cat >>confdefs.h <<_ACEOF
55700 #define HAVE__EXPF 1
55701 _ACEOF
55702
55703 fi
55704 done
55705
55706 fi
55707 fi
55708
55709
55710
55711
55712
55713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
55714 $as_echo_n "checking for isnanf declaration... " >&6; }
55715 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
55716 if ${glibcxx_cv_func_isnanf_use+:} false; then :
55717 $as_echo_n "(cached) " >&6
55718 else
55719
55720
55721 ac_ext=cpp
55722 ac_cpp='$CXXCPP $CPPFLAGS'
55723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55726
55727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55728 /* end confdefs.h. */
55729 #include <math.h>
55730 #ifdef HAVE_IEEEFP_H
55731 #include <ieeefp.h>
55732 #endif
55733
55734 int
55735 main ()
55736 {
55737 isnanf(0);
55738 ;
55739 return 0;
55740 }
55741 _ACEOF
55742 if ac_fn_cxx_try_compile "$LINENO"; then :
55743 glibcxx_cv_func_isnanf_use=yes
55744 else
55745 glibcxx_cv_func_isnanf_use=no
55746 fi
55747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55748 ac_ext=c
55749 ac_cpp='$CPP $CPPFLAGS'
55750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55753
55754
55755 fi
55756
55757 fi
55758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
55759 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
55760
55761 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
55762 for ac_func in isnanf
55763 do :
55764 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
55765 if test "x$ac_cv_func_isnanf" = xyes; then :
55766 cat >>confdefs.h <<_ACEOF
55767 #define HAVE_ISNANF 1
55768 _ACEOF
55769
55770 fi
55771 done
55772
55773 else
55774
55775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
55776 $as_echo_n "checking for _isnanf declaration... " >&6; }
55777 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
55778 if ${glibcxx_cv_func__isnanf_use+:} false; then :
55779 $as_echo_n "(cached) " >&6
55780 else
55781
55782
55783 ac_ext=cpp
55784 ac_cpp='$CXXCPP $CPPFLAGS'
55785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55788
55789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55790 /* end confdefs.h. */
55791 #include <math.h>
55792 #ifdef HAVE_IEEEFP_H
55793 #include <ieeefp.h>
55794 #endif
55795
55796 int
55797 main ()
55798 {
55799 _isnanf(0);
55800 ;
55801 return 0;
55802 }
55803 _ACEOF
55804 if ac_fn_cxx_try_compile "$LINENO"; then :
55805 glibcxx_cv_func__isnanf_use=yes
55806 else
55807 glibcxx_cv_func__isnanf_use=no
55808 fi
55809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55810 ac_ext=c
55811 ac_cpp='$CPP $CPPFLAGS'
55812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55815
55816
55817 fi
55818
55819 fi
55820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
55821 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
55822
55823 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
55824 for ac_func in _isnanf
55825 do :
55826 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
55827 if test "x$ac_cv_func__isnanf" = xyes; then :
55828 cat >>confdefs.h <<_ACEOF
55829 #define HAVE__ISNANF 1
55830 _ACEOF
55831
55832 fi
55833 done
55834
55835 fi
55836 fi
55837
55838
55839
55840
55841
55842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
55843 $as_echo_n "checking for isinff declaration... " >&6; }
55844 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
55845 if ${glibcxx_cv_func_isinff_use+:} false; then :
55846 $as_echo_n "(cached) " >&6
55847 else
55848
55849
55850 ac_ext=cpp
55851 ac_cpp='$CXXCPP $CPPFLAGS'
55852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55855
55856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55857 /* end confdefs.h. */
55858 #include <math.h>
55859 #ifdef HAVE_IEEEFP_H
55860 #include <ieeefp.h>
55861 #endif
55862
55863 int
55864 main ()
55865 {
55866 isinff(0);
55867 ;
55868 return 0;
55869 }
55870 _ACEOF
55871 if ac_fn_cxx_try_compile "$LINENO"; then :
55872 glibcxx_cv_func_isinff_use=yes
55873 else
55874 glibcxx_cv_func_isinff_use=no
55875 fi
55876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55877 ac_ext=c
55878 ac_cpp='$CPP $CPPFLAGS'
55879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55882
55883
55884 fi
55885
55886 fi
55887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
55888 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
55889
55890 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
55891 for ac_func in isinff
55892 do :
55893 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
55894 if test "x$ac_cv_func_isinff" = xyes; then :
55895 cat >>confdefs.h <<_ACEOF
55896 #define HAVE_ISINFF 1
55897 _ACEOF
55898
55899 fi
55900 done
55901
55902 else
55903
55904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
55905 $as_echo_n "checking for _isinff declaration... " >&6; }
55906 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
55907 if ${glibcxx_cv_func__isinff_use+:} false; then :
55908 $as_echo_n "(cached) " >&6
55909 else
55910
55911
55912 ac_ext=cpp
55913 ac_cpp='$CXXCPP $CPPFLAGS'
55914 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55915 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55916 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55917
55918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55919 /* end confdefs.h. */
55920 #include <math.h>
55921 #ifdef HAVE_IEEEFP_H
55922 #include <ieeefp.h>
55923 #endif
55924
55925 int
55926 main ()
55927 {
55928 _isinff(0);
55929 ;
55930 return 0;
55931 }
55932 _ACEOF
55933 if ac_fn_cxx_try_compile "$LINENO"; then :
55934 glibcxx_cv_func__isinff_use=yes
55935 else
55936 glibcxx_cv_func__isinff_use=no
55937 fi
55938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
55939 ac_ext=c
55940 ac_cpp='$CPP $CPPFLAGS'
55941 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55942 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55943 ac_compiler_gnu=$ac_cv_c_compiler_gnu
55944
55945
55946 fi
55947
55948 fi
55949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
55950 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
55951
55952 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
55953 for ac_func in _isinff
55954 do :
55955 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
55956 if test "x$ac_cv_func__isinff" = xyes; then :
55957 cat >>confdefs.h <<_ACEOF
55958 #define HAVE__ISINFF 1
55959 _ACEOF
55960
55961 fi
55962 done
55963
55964 fi
55965 fi
55966
55967
55968
55969
55970
55971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
55972 $as_echo_n "checking for atan2f declaration... " >&6; }
55973 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
55974 if ${glibcxx_cv_func_atan2f_use+:} false; then :
55975 $as_echo_n "(cached) " >&6
55976 else
55977
55978
55979 ac_ext=cpp
55980 ac_cpp='$CXXCPP $CPPFLAGS'
55981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
55982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
55983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
55984
55985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
55986 /* end confdefs.h. */
55987 #include <math.h>
55988 int
55989 main ()
55990 {
55991 atan2f(0, 0);
55992 ;
55993 return 0;
55994 }
55995 _ACEOF
55996 if ac_fn_cxx_try_compile "$LINENO"; then :
55997 glibcxx_cv_func_atan2f_use=yes
55998 else
55999 glibcxx_cv_func_atan2f_use=no
56000 fi
56001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56002 ac_ext=c
56003 ac_cpp='$CPP $CPPFLAGS'
56004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56007
56008
56009 fi
56010
56011 fi
56012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
56013 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
56014
56015 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
56016 for ac_func in atan2f
56017 do :
56018 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
56019 if test "x$ac_cv_func_atan2f" = xyes; then :
56020 cat >>confdefs.h <<_ACEOF
56021 #define HAVE_ATAN2F 1
56022 _ACEOF
56023
56024 fi
56025 done
56026
56027 else
56028
56029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
56030 $as_echo_n "checking for _atan2f declaration... " >&6; }
56031 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
56032 if ${glibcxx_cv_func__atan2f_use+:} false; then :
56033 $as_echo_n "(cached) " >&6
56034 else
56035
56036
56037 ac_ext=cpp
56038 ac_cpp='$CXXCPP $CPPFLAGS'
56039 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56040 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56041 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56042
56043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56044 /* end confdefs.h. */
56045 #include <math.h>
56046 int
56047 main ()
56048 {
56049 _atan2f(0, 0);
56050 ;
56051 return 0;
56052 }
56053 _ACEOF
56054 if ac_fn_cxx_try_compile "$LINENO"; then :
56055 glibcxx_cv_func__atan2f_use=yes
56056 else
56057 glibcxx_cv_func__atan2f_use=no
56058 fi
56059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56060 ac_ext=c
56061 ac_cpp='$CPP $CPPFLAGS'
56062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56065
56066
56067 fi
56068
56069 fi
56070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
56071 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
56072
56073 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
56074 for ac_func in _atan2f
56075 do :
56076 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
56077 if test "x$ac_cv_func__atan2f" = xyes; then :
56078 cat >>confdefs.h <<_ACEOF
56079 #define HAVE__ATAN2F 1
56080 _ACEOF
56081
56082 fi
56083 done
56084
56085 fi
56086 fi
56087
56088
56089
56090
56091
56092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
56093 $as_echo_n "checking for fabsf declaration... " >&6; }
56094 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
56095 if ${glibcxx_cv_func_fabsf_use+:} false; then :
56096 $as_echo_n "(cached) " >&6
56097 else
56098
56099
56100 ac_ext=cpp
56101 ac_cpp='$CXXCPP $CPPFLAGS'
56102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56105
56106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56107 /* end confdefs.h. */
56108 #include <math.h>
56109 #ifdef HAVE_IEEEFP_H
56110 #include <ieeefp.h>
56111 #endif
56112
56113 int
56114 main ()
56115 {
56116 fabsf(0);
56117 ;
56118 return 0;
56119 }
56120 _ACEOF
56121 if ac_fn_cxx_try_compile "$LINENO"; then :
56122 glibcxx_cv_func_fabsf_use=yes
56123 else
56124 glibcxx_cv_func_fabsf_use=no
56125 fi
56126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56127 ac_ext=c
56128 ac_cpp='$CPP $CPPFLAGS'
56129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56132
56133
56134 fi
56135
56136 fi
56137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
56138 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
56139
56140 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
56141 for ac_func in fabsf
56142 do :
56143 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
56144 if test "x$ac_cv_func_fabsf" = xyes; then :
56145 cat >>confdefs.h <<_ACEOF
56146 #define HAVE_FABSF 1
56147 _ACEOF
56148
56149 fi
56150 done
56151
56152 else
56153
56154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
56155 $as_echo_n "checking for _fabsf declaration... " >&6; }
56156 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
56157 if ${glibcxx_cv_func__fabsf_use+:} false; then :
56158 $as_echo_n "(cached) " >&6
56159 else
56160
56161
56162 ac_ext=cpp
56163 ac_cpp='$CXXCPP $CPPFLAGS'
56164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56167
56168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56169 /* end confdefs.h. */
56170 #include <math.h>
56171 #ifdef HAVE_IEEEFP_H
56172 #include <ieeefp.h>
56173 #endif
56174
56175 int
56176 main ()
56177 {
56178 _fabsf(0);
56179 ;
56180 return 0;
56181 }
56182 _ACEOF
56183 if ac_fn_cxx_try_compile "$LINENO"; then :
56184 glibcxx_cv_func__fabsf_use=yes
56185 else
56186 glibcxx_cv_func__fabsf_use=no
56187 fi
56188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56189 ac_ext=c
56190 ac_cpp='$CPP $CPPFLAGS'
56191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56194
56195
56196 fi
56197
56198 fi
56199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
56200 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
56201
56202 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
56203 for ac_func in _fabsf
56204 do :
56205 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
56206 if test "x$ac_cv_func__fabsf" = xyes; then :
56207 cat >>confdefs.h <<_ACEOF
56208 #define HAVE__FABSF 1
56209 _ACEOF
56210
56211 fi
56212 done
56213
56214 fi
56215 fi
56216
56217
56218
56219
56220
56221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
56222 $as_echo_n "checking for fmodf declaration... " >&6; }
56223 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
56224 if ${glibcxx_cv_func_fmodf_use+:} false; then :
56225 $as_echo_n "(cached) " >&6
56226 else
56227
56228
56229 ac_ext=cpp
56230 ac_cpp='$CXXCPP $CPPFLAGS'
56231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56234
56235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56236 /* end confdefs.h. */
56237 #include <math.h>
56238 int
56239 main ()
56240 {
56241 fmodf(0, 0);
56242 ;
56243 return 0;
56244 }
56245 _ACEOF
56246 if ac_fn_cxx_try_compile "$LINENO"; then :
56247 glibcxx_cv_func_fmodf_use=yes
56248 else
56249 glibcxx_cv_func_fmodf_use=no
56250 fi
56251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56252 ac_ext=c
56253 ac_cpp='$CPP $CPPFLAGS'
56254 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56255 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56256 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56257
56258
56259 fi
56260
56261 fi
56262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
56263 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
56264
56265 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
56266 for ac_func in fmodf
56267 do :
56268 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
56269 if test "x$ac_cv_func_fmodf" = xyes; then :
56270 cat >>confdefs.h <<_ACEOF
56271 #define HAVE_FMODF 1
56272 _ACEOF
56273
56274 fi
56275 done
56276
56277 else
56278
56279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
56280 $as_echo_n "checking for _fmodf declaration... " >&6; }
56281 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
56282 if ${glibcxx_cv_func__fmodf_use+:} false; then :
56283 $as_echo_n "(cached) " >&6
56284 else
56285
56286
56287 ac_ext=cpp
56288 ac_cpp='$CXXCPP $CPPFLAGS'
56289 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56290 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56291 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56292
56293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56294 /* end confdefs.h. */
56295 #include <math.h>
56296 int
56297 main ()
56298 {
56299 _fmodf(0, 0);
56300 ;
56301 return 0;
56302 }
56303 _ACEOF
56304 if ac_fn_cxx_try_compile "$LINENO"; then :
56305 glibcxx_cv_func__fmodf_use=yes
56306 else
56307 glibcxx_cv_func__fmodf_use=no
56308 fi
56309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56310 ac_ext=c
56311 ac_cpp='$CPP $CPPFLAGS'
56312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56315
56316
56317 fi
56318
56319 fi
56320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
56321 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
56322
56323 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
56324 for ac_func in _fmodf
56325 do :
56326 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
56327 if test "x$ac_cv_func__fmodf" = xyes; then :
56328 cat >>confdefs.h <<_ACEOF
56329 #define HAVE__FMODF 1
56330 _ACEOF
56331
56332 fi
56333 done
56334
56335 fi
56336 fi
56337
56338
56339
56340
56341
56342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
56343 $as_echo_n "checking for frexpf declaration... " >&6; }
56344 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
56345 if ${glibcxx_cv_func_frexpf_use+:} false; then :
56346 $as_echo_n "(cached) " >&6
56347 else
56348
56349
56350 ac_ext=cpp
56351 ac_cpp='$CXXCPP $CPPFLAGS'
56352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56355
56356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56357 /* end confdefs.h. */
56358 #include <math.h>
56359 int
56360 main ()
56361 {
56362 frexpf(0, 0);
56363 ;
56364 return 0;
56365 }
56366 _ACEOF
56367 if ac_fn_cxx_try_compile "$LINENO"; then :
56368 glibcxx_cv_func_frexpf_use=yes
56369 else
56370 glibcxx_cv_func_frexpf_use=no
56371 fi
56372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56373 ac_ext=c
56374 ac_cpp='$CPP $CPPFLAGS'
56375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56378
56379
56380 fi
56381
56382 fi
56383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
56384 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
56385
56386 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
56387 for ac_func in frexpf
56388 do :
56389 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
56390 if test "x$ac_cv_func_frexpf" = xyes; then :
56391 cat >>confdefs.h <<_ACEOF
56392 #define HAVE_FREXPF 1
56393 _ACEOF
56394
56395 fi
56396 done
56397
56398 else
56399
56400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
56401 $as_echo_n "checking for _frexpf declaration... " >&6; }
56402 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
56403 if ${glibcxx_cv_func__frexpf_use+:} false; then :
56404 $as_echo_n "(cached) " >&6
56405 else
56406
56407
56408 ac_ext=cpp
56409 ac_cpp='$CXXCPP $CPPFLAGS'
56410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56413
56414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56415 /* end confdefs.h. */
56416 #include <math.h>
56417 int
56418 main ()
56419 {
56420 _frexpf(0, 0);
56421 ;
56422 return 0;
56423 }
56424 _ACEOF
56425 if ac_fn_cxx_try_compile "$LINENO"; then :
56426 glibcxx_cv_func__frexpf_use=yes
56427 else
56428 glibcxx_cv_func__frexpf_use=no
56429 fi
56430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56431 ac_ext=c
56432 ac_cpp='$CPP $CPPFLAGS'
56433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56436
56437
56438 fi
56439
56440 fi
56441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
56442 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
56443
56444 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
56445 for ac_func in _frexpf
56446 do :
56447 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
56448 if test "x$ac_cv_func__frexpf" = xyes; then :
56449 cat >>confdefs.h <<_ACEOF
56450 #define HAVE__FREXPF 1
56451 _ACEOF
56452
56453 fi
56454 done
56455
56456 fi
56457 fi
56458
56459
56460
56461
56462
56463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
56464 $as_echo_n "checking for hypotf declaration... " >&6; }
56465 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
56466 if ${glibcxx_cv_func_hypotf_use+:} false; then :
56467 $as_echo_n "(cached) " >&6
56468 else
56469
56470
56471 ac_ext=cpp
56472 ac_cpp='$CXXCPP $CPPFLAGS'
56473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56476
56477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56478 /* end confdefs.h. */
56479 #include <math.h>
56480 int
56481 main ()
56482 {
56483 hypotf(0, 0);
56484 ;
56485 return 0;
56486 }
56487 _ACEOF
56488 if ac_fn_cxx_try_compile "$LINENO"; then :
56489 glibcxx_cv_func_hypotf_use=yes
56490 else
56491 glibcxx_cv_func_hypotf_use=no
56492 fi
56493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56494 ac_ext=c
56495 ac_cpp='$CPP $CPPFLAGS'
56496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56499
56500
56501 fi
56502
56503 fi
56504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
56505 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
56506
56507 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
56508 for ac_func in hypotf
56509 do :
56510 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
56511 if test "x$ac_cv_func_hypotf" = xyes; then :
56512 cat >>confdefs.h <<_ACEOF
56513 #define HAVE_HYPOTF 1
56514 _ACEOF
56515
56516 fi
56517 done
56518
56519 else
56520
56521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
56522 $as_echo_n "checking for _hypotf declaration... " >&6; }
56523 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
56524 if ${glibcxx_cv_func__hypotf_use+:} false; then :
56525 $as_echo_n "(cached) " >&6
56526 else
56527
56528
56529 ac_ext=cpp
56530 ac_cpp='$CXXCPP $CPPFLAGS'
56531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56534
56535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56536 /* end confdefs.h. */
56537 #include <math.h>
56538 int
56539 main ()
56540 {
56541 _hypotf(0, 0);
56542 ;
56543 return 0;
56544 }
56545 _ACEOF
56546 if ac_fn_cxx_try_compile "$LINENO"; then :
56547 glibcxx_cv_func__hypotf_use=yes
56548 else
56549 glibcxx_cv_func__hypotf_use=no
56550 fi
56551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56552 ac_ext=c
56553 ac_cpp='$CPP $CPPFLAGS'
56554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56557
56558
56559 fi
56560
56561 fi
56562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
56563 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
56564
56565 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
56566 for ac_func in _hypotf
56567 do :
56568 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
56569 if test "x$ac_cv_func__hypotf" = xyes; then :
56570 cat >>confdefs.h <<_ACEOF
56571 #define HAVE__HYPOTF 1
56572 _ACEOF
56573
56574 fi
56575 done
56576
56577 fi
56578 fi
56579
56580
56581
56582
56583
56584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
56585 $as_echo_n "checking for ldexpf declaration... " >&6; }
56586 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
56587 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
56588 $as_echo_n "(cached) " >&6
56589 else
56590
56591
56592 ac_ext=cpp
56593 ac_cpp='$CXXCPP $CPPFLAGS'
56594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56597
56598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56599 /* end confdefs.h. */
56600 #include <math.h>
56601 int
56602 main ()
56603 {
56604 ldexpf(0, 0);
56605 ;
56606 return 0;
56607 }
56608 _ACEOF
56609 if ac_fn_cxx_try_compile "$LINENO"; then :
56610 glibcxx_cv_func_ldexpf_use=yes
56611 else
56612 glibcxx_cv_func_ldexpf_use=no
56613 fi
56614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56615 ac_ext=c
56616 ac_cpp='$CPP $CPPFLAGS'
56617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56620
56621
56622 fi
56623
56624 fi
56625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
56626 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
56627
56628 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
56629 for ac_func in ldexpf
56630 do :
56631 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
56632 if test "x$ac_cv_func_ldexpf" = xyes; then :
56633 cat >>confdefs.h <<_ACEOF
56634 #define HAVE_LDEXPF 1
56635 _ACEOF
56636
56637 fi
56638 done
56639
56640 else
56641
56642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
56643 $as_echo_n "checking for _ldexpf declaration... " >&6; }
56644 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
56645 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
56646 $as_echo_n "(cached) " >&6
56647 else
56648
56649
56650 ac_ext=cpp
56651 ac_cpp='$CXXCPP $CPPFLAGS'
56652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56655
56656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56657 /* end confdefs.h. */
56658 #include <math.h>
56659 int
56660 main ()
56661 {
56662 _ldexpf(0, 0);
56663 ;
56664 return 0;
56665 }
56666 _ACEOF
56667 if ac_fn_cxx_try_compile "$LINENO"; then :
56668 glibcxx_cv_func__ldexpf_use=yes
56669 else
56670 glibcxx_cv_func__ldexpf_use=no
56671 fi
56672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56673 ac_ext=c
56674 ac_cpp='$CPP $CPPFLAGS'
56675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56678
56679
56680 fi
56681
56682 fi
56683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
56684 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
56685
56686 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
56687 for ac_func in _ldexpf
56688 do :
56689 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
56690 if test "x$ac_cv_func__ldexpf" = xyes; then :
56691 cat >>confdefs.h <<_ACEOF
56692 #define HAVE__LDEXPF 1
56693 _ACEOF
56694
56695 fi
56696 done
56697
56698 fi
56699 fi
56700
56701
56702
56703
56704
56705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
56706 $as_echo_n "checking for logf declaration... " >&6; }
56707 if test x${glibcxx_cv_func_logf_use+set} != xset; then
56708 if ${glibcxx_cv_func_logf_use+:} false; then :
56709 $as_echo_n "(cached) " >&6
56710 else
56711
56712
56713 ac_ext=cpp
56714 ac_cpp='$CXXCPP $CPPFLAGS'
56715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56718
56719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56720 /* end confdefs.h. */
56721 #include <math.h>
56722 #ifdef HAVE_IEEEFP_H
56723 #include <ieeefp.h>
56724 #endif
56725
56726 int
56727 main ()
56728 {
56729 logf(0);
56730 ;
56731 return 0;
56732 }
56733 _ACEOF
56734 if ac_fn_cxx_try_compile "$LINENO"; then :
56735 glibcxx_cv_func_logf_use=yes
56736 else
56737 glibcxx_cv_func_logf_use=no
56738 fi
56739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56740 ac_ext=c
56741 ac_cpp='$CPP $CPPFLAGS'
56742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56745
56746
56747 fi
56748
56749 fi
56750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
56751 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
56752
56753 if test x$glibcxx_cv_func_logf_use = x"yes"; then
56754 for ac_func in logf
56755 do :
56756 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
56757 if test "x$ac_cv_func_logf" = xyes; then :
56758 cat >>confdefs.h <<_ACEOF
56759 #define HAVE_LOGF 1
56760 _ACEOF
56761
56762 fi
56763 done
56764
56765 else
56766
56767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
56768 $as_echo_n "checking for _logf declaration... " >&6; }
56769 if test x${glibcxx_cv_func__logf_use+set} != xset; then
56770 if ${glibcxx_cv_func__logf_use+:} false; then :
56771 $as_echo_n "(cached) " >&6
56772 else
56773
56774
56775 ac_ext=cpp
56776 ac_cpp='$CXXCPP $CPPFLAGS'
56777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56780
56781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56782 /* end confdefs.h. */
56783 #include <math.h>
56784 #ifdef HAVE_IEEEFP_H
56785 #include <ieeefp.h>
56786 #endif
56787
56788 int
56789 main ()
56790 {
56791 _logf(0);
56792 ;
56793 return 0;
56794 }
56795 _ACEOF
56796 if ac_fn_cxx_try_compile "$LINENO"; then :
56797 glibcxx_cv_func__logf_use=yes
56798 else
56799 glibcxx_cv_func__logf_use=no
56800 fi
56801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56802 ac_ext=c
56803 ac_cpp='$CPP $CPPFLAGS'
56804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56807
56808
56809 fi
56810
56811 fi
56812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
56813 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
56814
56815 if test x$glibcxx_cv_func__logf_use = x"yes"; then
56816 for ac_func in _logf
56817 do :
56818 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
56819 if test "x$ac_cv_func__logf" = xyes; then :
56820 cat >>confdefs.h <<_ACEOF
56821 #define HAVE__LOGF 1
56822 _ACEOF
56823
56824 fi
56825 done
56826
56827 fi
56828 fi
56829
56830
56831
56832
56833
56834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
56835 $as_echo_n "checking for log10f declaration... " >&6; }
56836 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
56837 if ${glibcxx_cv_func_log10f_use+:} false; then :
56838 $as_echo_n "(cached) " >&6
56839 else
56840
56841
56842 ac_ext=cpp
56843 ac_cpp='$CXXCPP $CPPFLAGS'
56844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56847
56848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56849 /* end confdefs.h. */
56850 #include <math.h>
56851 #ifdef HAVE_IEEEFP_H
56852 #include <ieeefp.h>
56853 #endif
56854
56855 int
56856 main ()
56857 {
56858 log10f(0);
56859 ;
56860 return 0;
56861 }
56862 _ACEOF
56863 if ac_fn_cxx_try_compile "$LINENO"; then :
56864 glibcxx_cv_func_log10f_use=yes
56865 else
56866 glibcxx_cv_func_log10f_use=no
56867 fi
56868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56869 ac_ext=c
56870 ac_cpp='$CPP $CPPFLAGS'
56871 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56872 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56873 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56874
56875
56876 fi
56877
56878 fi
56879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
56880 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
56881
56882 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
56883 for ac_func in log10f
56884 do :
56885 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
56886 if test "x$ac_cv_func_log10f" = xyes; then :
56887 cat >>confdefs.h <<_ACEOF
56888 #define HAVE_LOG10F 1
56889 _ACEOF
56890
56891 fi
56892 done
56893
56894 else
56895
56896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
56897 $as_echo_n "checking for _log10f declaration... " >&6; }
56898 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
56899 if ${glibcxx_cv_func__log10f_use+:} false; then :
56900 $as_echo_n "(cached) " >&6
56901 else
56902
56903
56904 ac_ext=cpp
56905 ac_cpp='$CXXCPP $CPPFLAGS'
56906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56909
56910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56911 /* end confdefs.h. */
56912 #include <math.h>
56913 #ifdef HAVE_IEEEFP_H
56914 #include <ieeefp.h>
56915 #endif
56916
56917 int
56918 main ()
56919 {
56920 _log10f(0);
56921 ;
56922 return 0;
56923 }
56924 _ACEOF
56925 if ac_fn_cxx_try_compile "$LINENO"; then :
56926 glibcxx_cv_func__log10f_use=yes
56927 else
56928 glibcxx_cv_func__log10f_use=no
56929 fi
56930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56931 ac_ext=c
56932 ac_cpp='$CPP $CPPFLAGS'
56933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56936
56937
56938 fi
56939
56940 fi
56941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
56942 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
56943
56944 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
56945 for ac_func in _log10f
56946 do :
56947 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
56948 if test "x$ac_cv_func__log10f" = xyes; then :
56949 cat >>confdefs.h <<_ACEOF
56950 #define HAVE__LOG10F 1
56951 _ACEOF
56952
56953 fi
56954 done
56955
56956 fi
56957 fi
56958
56959
56960
56961
56962
56963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
56964 $as_echo_n "checking for modff declaration... " >&6; }
56965 if test x${glibcxx_cv_func_modff_use+set} != xset; then
56966 if ${glibcxx_cv_func_modff_use+:} false; then :
56967 $as_echo_n "(cached) " >&6
56968 else
56969
56970
56971 ac_ext=cpp
56972 ac_cpp='$CXXCPP $CPPFLAGS'
56973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
56976
56977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
56978 /* end confdefs.h. */
56979 #include <math.h>
56980 int
56981 main ()
56982 {
56983 modff(0, 0);
56984 ;
56985 return 0;
56986 }
56987 _ACEOF
56988 if ac_fn_cxx_try_compile "$LINENO"; then :
56989 glibcxx_cv_func_modff_use=yes
56990 else
56991 glibcxx_cv_func_modff_use=no
56992 fi
56993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
56994 ac_ext=c
56995 ac_cpp='$CPP $CPPFLAGS'
56996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
56997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
56998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
56999
57000
57001 fi
57002
57003 fi
57004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
57005 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
57006
57007 if test x$glibcxx_cv_func_modff_use = x"yes"; then
57008 for ac_func in modff
57009 do :
57010 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
57011 if test "x$ac_cv_func_modff" = xyes; then :
57012 cat >>confdefs.h <<_ACEOF
57013 #define HAVE_MODFF 1
57014 _ACEOF
57015
57016 fi
57017 done
57018
57019 else
57020
57021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
57022 $as_echo_n "checking for _modff declaration... " >&6; }
57023 if test x${glibcxx_cv_func__modff_use+set} != xset; then
57024 if ${glibcxx_cv_func__modff_use+:} false; then :
57025 $as_echo_n "(cached) " >&6
57026 else
57027
57028
57029 ac_ext=cpp
57030 ac_cpp='$CXXCPP $CPPFLAGS'
57031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57034
57035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57036 /* end confdefs.h. */
57037 #include <math.h>
57038 int
57039 main ()
57040 {
57041 _modff(0, 0);
57042 ;
57043 return 0;
57044 }
57045 _ACEOF
57046 if ac_fn_cxx_try_compile "$LINENO"; then :
57047 glibcxx_cv_func__modff_use=yes
57048 else
57049 glibcxx_cv_func__modff_use=no
57050 fi
57051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57052 ac_ext=c
57053 ac_cpp='$CPP $CPPFLAGS'
57054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57057
57058
57059 fi
57060
57061 fi
57062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
57063 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
57064
57065 if test x$glibcxx_cv_func__modff_use = x"yes"; then
57066 for ac_func in _modff
57067 do :
57068 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
57069 if test "x$ac_cv_func__modff" = xyes; then :
57070 cat >>confdefs.h <<_ACEOF
57071 #define HAVE__MODFF 1
57072 _ACEOF
57073
57074 fi
57075 done
57076
57077 fi
57078 fi
57079
57080
57081
57082
57083
57084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
57085 $as_echo_n "checking for modf declaration... " >&6; }
57086 if test x${glibcxx_cv_func_modf_use+set} != xset; then
57087 if ${glibcxx_cv_func_modf_use+:} false; then :
57088 $as_echo_n "(cached) " >&6
57089 else
57090
57091
57092 ac_ext=cpp
57093 ac_cpp='$CXXCPP $CPPFLAGS'
57094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57097
57098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57099 /* end confdefs.h. */
57100 #include <math.h>
57101 int
57102 main ()
57103 {
57104 modf(0, 0);
57105 ;
57106 return 0;
57107 }
57108 _ACEOF
57109 if ac_fn_cxx_try_compile "$LINENO"; then :
57110 glibcxx_cv_func_modf_use=yes
57111 else
57112 glibcxx_cv_func_modf_use=no
57113 fi
57114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57115 ac_ext=c
57116 ac_cpp='$CPP $CPPFLAGS'
57117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57120
57121
57122 fi
57123
57124 fi
57125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
57126 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
57127
57128 if test x$glibcxx_cv_func_modf_use = x"yes"; then
57129 for ac_func in modf
57130 do :
57131 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
57132 if test "x$ac_cv_func_modf" = xyes; then :
57133 cat >>confdefs.h <<_ACEOF
57134 #define HAVE_MODF 1
57135 _ACEOF
57136
57137 fi
57138 done
57139
57140 else
57141
57142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
57143 $as_echo_n "checking for _modf declaration... " >&6; }
57144 if test x${glibcxx_cv_func__modf_use+set} != xset; then
57145 if ${glibcxx_cv_func__modf_use+:} false; then :
57146 $as_echo_n "(cached) " >&6
57147 else
57148
57149
57150 ac_ext=cpp
57151 ac_cpp='$CXXCPP $CPPFLAGS'
57152 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57153 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57154 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57155
57156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57157 /* end confdefs.h. */
57158 #include <math.h>
57159 int
57160 main ()
57161 {
57162 _modf(0, 0);
57163 ;
57164 return 0;
57165 }
57166 _ACEOF
57167 if ac_fn_cxx_try_compile "$LINENO"; then :
57168 glibcxx_cv_func__modf_use=yes
57169 else
57170 glibcxx_cv_func__modf_use=no
57171 fi
57172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57173 ac_ext=c
57174 ac_cpp='$CPP $CPPFLAGS'
57175 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57176 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57177 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57178
57179
57180 fi
57181
57182 fi
57183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
57184 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
57185
57186 if test x$glibcxx_cv_func__modf_use = x"yes"; then
57187 for ac_func in _modf
57188 do :
57189 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
57190 if test "x$ac_cv_func__modf" = xyes; then :
57191 cat >>confdefs.h <<_ACEOF
57192 #define HAVE__MODF 1
57193 _ACEOF
57194
57195 fi
57196 done
57197
57198 fi
57199 fi
57200
57201
57202
57203
57204
57205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
57206 $as_echo_n "checking for powf declaration... " >&6; }
57207 if test x${glibcxx_cv_func_powf_use+set} != xset; then
57208 if ${glibcxx_cv_func_powf_use+:} false; then :
57209 $as_echo_n "(cached) " >&6
57210 else
57211
57212
57213 ac_ext=cpp
57214 ac_cpp='$CXXCPP $CPPFLAGS'
57215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57218
57219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57220 /* end confdefs.h. */
57221 #include <math.h>
57222 int
57223 main ()
57224 {
57225 powf(0, 0);
57226 ;
57227 return 0;
57228 }
57229 _ACEOF
57230 if ac_fn_cxx_try_compile "$LINENO"; then :
57231 glibcxx_cv_func_powf_use=yes
57232 else
57233 glibcxx_cv_func_powf_use=no
57234 fi
57235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57236 ac_ext=c
57237 ac_cpp='$CPP $CPPFLAGS'
57238 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57239 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57240 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57241
57242
57243 fi
57244
57245 fi
57246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
57247 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
57248
57249 if test x$glibcxx_cv_func_powf_use = x"yes"; then
57250 for ac_func in powf
57251 do :
57252 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
57253 if test "x$ac_cv_func_powf" = xyes; then :
57254 cat >>confdefs.h <<_ACEOF
57255 #define HAVE_POWF 1
57256 _ACEOF
57257
57258 fi
57259 done
57260
57261 else
57262
57263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
57264 $as_echo_n "checking for _powf declaration... " >&6; }
57265 if test x${glibcxx_cv_func__powf_use+set} != xset; then
57266 if ${glibcxx_cv_func__powf_use+:} false; then :
57267 $as_echo_n "(cached) " >&6
57268 else
57269
57270
57271 ac_ext=cpp
57272 ac_cpp='$CXXCPP $CPPFLAGS'
57273 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57274 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57275 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57276
57277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57278 /* end confdefs.h. */
57279 #include <math.h>
57280 int
57281 main ()
57282 {
57283 _powf(0, 0);
57284 ;
57285 return 0;
57286 }
57287 _ACEOF
57288 if ac_fn_cxx_try_compile "$LINENO"; then :
57289 glibcxx_cv_func__powf_use=yes
57290 else
57291 glibcxx_cv_func__powf_use=no
57292 fi
57293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57294 ac_ext=c
57295 ac_cpp='$CPP $CPPFLAGS'
57296 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57297 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57298 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57299
57300
57301 fi
57302
57303 fi
57304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
57305 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
57306
57307 if test x$glibcxx_cv_func__powf_use = x"yes"; then
57308 for ac_func in _powf
57309 do :
57310 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
57311 if test "x$ac_cv_func__powf" = xyes; then :
57312 cat >>confdefs.h <<_ACEOF
57313 #define HAVE__POWF 1
57314 _ACEOF
57315
57316 fi
57317 done
57318
57319 fi
57320 fi
57321
57322
57323
57324
57325
57326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
57327 $as_echo_n "checking for sqrtf declaration... " >&6; }
57328 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
57329 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
57330 $as_echo_n "(cached) " >&6
57331 else
57332
57333
57334 ac_ext=cpp
57335 ac_cpp='$CXXCPP $CPPFLAGS'
57336 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57337 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57338 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57339
57340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57341 /* end confdefs.h. */
57342 #include <math.h>
57343 #ifdef HAVE_IEEEFP_H
57344 #include <ieeefp.h>
57345 #endif
57346
57347 int
57348 main ()
57349 {
57350 sqrtf(0);
57351 ;
57352 return 0;
57353 }
57354 _ACEOF
57355 if ac_fn_cxx_try_compile "$LINENO"; then :
57356 glibcxx_cv_func_sqrtf_use=yes
57357 else
57358 glibcxx_cv_func_sqrtf_use=no
57359 fi
57360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57361 ac_ext=c
57362 ac_cpp='$CPP $CPPFLAGS'
57363 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57364 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57365 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57366
57367
57368 fi
57369
57370 fi
57371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
57372 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
57373
57374 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
57375 for ac_func in sqrtf
57376 do :
57377 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
57378 if test "x$ac_cv_func_sqrtf" = xyes; then :
57379 cat >>confdefs.h <<_ACEOF
57380 #define HAVE_SQRTF 1
57381 _ACEOF
57382
57383 fi
57384 done
57385
57386 else
57387
57388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
57389 $as_echo_n "checking for _sqrtf declaration... " >&6; }
57390 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
57391 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
57392 $as_echo_n "(cached) " >&6
57393 else
57394
57395
57396 ac_ext=cpp
57397 ac_cpp='$CXXCPP $CPPFLAGS'
57398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57401
57402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57403 /* end confdefs.h. */
57404 #include <math.h>
57405 #ifdef HAVE_IEEEFP_H
57406 #include <ieeefp.h>
57407 #endif
57408
57409 int
57410 main ()
57411 {
57412 _sqrtf(0);
57413 ;
57414 return 0;
57415 }
57416 _ACEOF
57417 if ac_fn_cxx_try_compile "$LINENO"; then :
57418 glibcxx_cv_func__sqrtf_use=yes
57419 else
57420 glibcxx_cv_func__sqrtf_use=no
57421 fi
57422 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57423 ac_ext=c
57424 ac_cpp='$CPP $CPPFLAGS'
57425 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57426 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57427 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57428
57429
57430 fi
57431
57432 fi
57433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
57434 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
57435
57436 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
57437 for ac_func in _sqrtf
57438 do :
57439 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
57440 if test "x$ac_cv_func__sqrtf" = xyes; then :
57441 cat >>confdefs.h <<_ACEOF
57442 #define HAVE__SQRTF 1
57443 _ACEOF
57444
57445 fi
57446 done
57447
57448 fi
57449 fi
57450
57451
57452
57453
57454
57455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
57456 $as_echo_n "checking for sincosf declaration... " >&6; }
57457 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
57458 if ${glibcxx_cv_func_sincosf_use+:} false; then :
57459 $as_echo_n "(cached) " >&6
57460 else
57461
57462
57463 ac_ext=cpp
57464 ac_cpp='$CXXCPP $CPPFLAGS'
57465 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57466 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57467 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57468
57469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57470 /* end confdefs.h. */
57471 #include <math.h>
57472 int
57473 main ()
57474 {
57475 sincosf(0, 0, 0);
57476 ;
57477 return 0;
57478 }
57479 _ACEOF
57480 if ac_fn_cxx_try_compile "$LINENO"; then :
57481 glibcxx_cv_func_sincosf_use=yes
57482 else
57483 glibcxx_cv_func_sincosf_use=no
57484 fi
57485 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57486 ac_ext=c
57487 ac_cpp='$CPP $CPPFLAGS'
57488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57491
57492
57493 fi
57494
57495 fi
57496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
57497 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
57498
57499 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
57500 for ac_func in sincosf
57501 do :
57502 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
57503 if test "x$ac_cv_func_sincosf" = xyes; then :
57504 cat >>confdefs.h <<_ACEOF
57505 #define HAVE_SINCOSF 1
57506 _ACEOF
57507
57508 fi
57509 done
57510
57511 else
57512
57513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
57514 $as_echo_n "checking for _sincosf declaration... " >&6; }
57515 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
57516 if ${glibcxx_cv_func__sincosf_use+:} false; then :
57517 $as_echo_n "(cached) " >&6
57518 else
57519
57520
57521 ac_ext=cpp
57522 ac_cpp='$CXXCPP $CPPFLAGS'
57523 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57524 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57525 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57526
57527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57528 /* end confdefs.h. */
57529 #include <math.h>
57530 int
57531 main ()
57532 {
57533 _sincosf(0, 0, 0);
57534 ;
57535 return 0;
57536 }
57537 _ACEOF
57538 if ac_fn_cxx_try_compile "$LINENO"; then :
57539 glibcxx_cv_func__sincosf_use=yes
57540 else
57541 glibcxx_cv_func__sincosf_use=no
57542 fi
57543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57544 ac_ext=c
57545 ac_cpp='$CPP $CPPFLAGS'
57546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57549
57550
57551 fi
57552
57553 fi
57554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
57555 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
57556
57557 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
57558 for ac_func in _sincosf
57559 do :
57560 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
57561 if test "x$ac_cv_func__sincosf" = xyes; then :
57562 cat >>confdefs.h <<_ACEOF
57563 #define HAVE__SINCOSF 1
57564 _ACEOF
57565
57566 fi
57567 done
57568
57569 fi
57570 fi
57571
57572
57573
57574
57575
57576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
57577 $as_echo_n "checking for finitef declaration... " >&6; }
57578 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
57579 if ${glibcxx_cv_func_finitef_use+:} false; then :
57580 $as_echo_n "(cached) " >&6
57581 else
57582
57583
57584 ac_ext=cpp
57585 ac_cpp='$CXXCPP $CPPFLAGS'
57586 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57587 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57588 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57589
57590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57591 /* end confdefs.h. */
57592 #include <math.h>
57593 #ifdef HAVE_IEEEFP_H
57594 #include <ieeefp.h>
57595 #endif
57596
57597 int
57598 main ()
57599 {
57600 finitef(0);
57601 ;
57602 return 0;
57603 }
57604 _ACEOF
57605 if ac_fn_cxx_try_compile "$LINENO"; then :
57606 glibcxx_cv_func_finitef_use=yes
57607 else
57608 glibcxx_cv_func_finitef_use=no
57609 fi
57610 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57611 ac_ext=c
57612 ac_cpp='$CPP $CPPFLAGS'
57613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57616
57617
57618 fi
57619
57620 fi
57621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
57622 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
57623
57624 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
57625 for ac_func in finitef
57626 do :
57627 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
57628 if test "x$ac_cv_func_finitef" = xyes; then :
57629 cat >>confdefs.h <<_ACEOF
57630 #define HAVE_FINITEF 1
57631 _ACEOF
57632
57633 fi
57634 done
57635
57636 else
57637
57638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
57639 $as_echo_n "checking for _finitef declaration... " >&6; }
57640 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
57641 if ${glibcxx_cv_func__finitef_use+:} false; then :
57642 $as_echo_n "(cached) " >&6
57643 else
57644
57645
57646 ac_ext=cpp
57647 ac_cpp='$CXXCPP $CPPFLAGS'
57648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57651
57652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57653 /* end confdefs.h. */
57654 #include <math.h>
57655 #ifdef HAVE_IEEEFP_H
57656 #include <ieeefp.h>
57657 #endif
57658
57659 int
57660 main ()
57661 {
57662 _finitef(0);
57663 ;
57664 return 0;
57665 }
57666 _ACEOF
57667 if ac_fn_cxx_try_compile "$LINENO"; then :
57668 glibcxx_cv_func__finitef_use=yes
57669 else
57670 glibcxx_cv_func__finitef_use=no
57671 fi
57672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57673 ac_ext=c
57674 ac_cpp='$CPP $CPPFLAGS'
57675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57678
57679
57680 fi
57681
57682 fi
57683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
57684 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
57685
57686 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
57687 for ac_func in _finitef
57688 do :
57689 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
57690 if test "x$ac_cv_func__finitef" = xyes; then :
57691 cat >>confdefs.h <<_ACEOF
57692 #define HAVE__FINITEF 1
57693 _ACEOF
57694
57695 fi
57696 done
57697
57698 fi
57699 fi
57700
57701
57702
57703
57704
57705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
57706 $as_echo_n "checking for long double trig functions... " >&6; }
57707 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
57708 $as_echo_n "(cached) " >&6
57709 else
57710
57711
57712 ac_ext=cpp
57713 ac_cpp='$CXXCPP $CPPFLAGS'
57714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57717
57718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57719 /* end confdefs.h. */
57720 #include <math.h>
57721 int
57722 main ()
57723 {
57724 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
57725 ;
57726 return 0;
57727 }
57728 _ACEOF
57729 if ac_fn_cxx_try_compile "$LINENO"; then :
57730 glibcxx_cv_func_long_double_trig_use=yes
57731 else
57732 glibcxx_cv_func_long_double_trig_use=no
57733 fi
57734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57735 ac_ext=c
57736 ac_cpp='$CPP $CPPFLAGS'
57737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57740
57741 fi
57742
57743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
57744 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
57745 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
57746 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
57747 do :
57748 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57749 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57750 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57751 cat >>confdefs.h <<_ACEOF
57752 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57753 _ACEOF
57754
57755 fi
57756 done
57757
57758 else
57759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
57760 $as_echo_n "checking for _long double trig functions... " >&6; }
57761 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
57762 $as_echo_n "(cached) " >&6
57763 else
57764
57765
57766 ac_ext=cpp
57767 ac_cpp='$CXXCPP $CPPFLAGS'
57768 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57769 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57770 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57771
57772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57773 /* end confdefs.h. */
57774 #include <math.h>
57775 int
57776 main ()
57777 {
57778 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
57779 ;
57780 return 0;
57781 }
57782 _ACEOF
57783 if ac_fn_cxx_try_compile "$LINENO"; then :
57784 glibcxx_cv_func__long_double_trig_use=yes
57785 else
57786 glibcxx_cv_func__long_double_trig_use=no
57787 fi
57788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57789 ac_ext=c
57790 ac_cpp='$CPP $CPPFLAGS'
57791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57794
57795 fi
57796
57797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
57798 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
57799 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
57800 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
57801 do :
57802 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57803 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57804 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57805 cat >>confdefs.h <<_ACEOF
57806 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57807 _ACEOF
57808
57809 fi
57810 done
57811
57812 fi
57813 fi
57814
57815
57816
57817
57818
57819 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
57820 $as_echo_n "checking for long double round functions... " >&6; }
57821 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
57822 $as_echo_n "(cached) " >&6
57823 else
57824
57825
57826 ac_ext=cpp
57827 ac_cpp='$CXXCPP $CPPFLAGS'
57828 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57829 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57830 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57831
57832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57833 /* end confdefs.h. */
57834 #include <math.h>
57835 int
57836 main ()
57837 {
57838 ceill (0); floorl (0);
57839 ;
57840 return 0;
57841 }
57842 _ACEOF
57843 if ac_fn_cxx_try_compile "$LINENO"; then :
57844 glibcxx_cv_func_long_double_round_use=yes
57845 else
57846 glibcxx_cv_func_long_double_round_use=no
57847 fi
57848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57849 ac_ext=c
57850 ac_cpp='$CPP $CPPFLAGS'
57851 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57852 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57853 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57854
57855 fi
57856
57857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
57858 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
57859 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
57860 for ac_func in ceill floorl
57861 do :
57862 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57863 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57864 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57865 cat >>confdefs.h <<_ACEOF
57866 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57867 _ACEOF
57868
57869 fi
57870 done
57871
57872 else
57873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
57874 $as_echo_n "checking for _long double round functions... " >&6; }
57875 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
57876 $as_echo_n "(cached) " >&6
57877 else
57878
57879
57880 ac_ext=cpp
57881 ac_cpp='$CXXCPP $CPPFLAGS'
57882 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57883 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57884 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57885
57886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57887 /* end confdefs.h. */
57888 #include <math.h>
57889 int
57890 main ()
57891 {
57892 _ceill (0); _floorl (0);
57893 ;
57894 return 0;
57895 }
57896 _ACEOF
57897 if ac_fn_cxx_try_compile "$LINENO"; then :
57898 glibcxx_cv_func__long_double_round_use=yes
57899 else
57900 glibcxx_cv_func__long_double_round_use=no
57901 fi
57902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57903 ac_ext=c
57904 ac_cpp='$CPP $CPPFLAGS'
57905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57908
57909 fi
57910
57911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
57912 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
57913 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
57914 for ac_func in _ceill _floorl
57915 do :
57916 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
57917 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
57918 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
57919 cat >>confdefs.h <<_ACEOF
57920 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
57921 _ACEOF
57922
57923 fi
57924 done
57925
57926 fi
57927 fi
57928
57929
57930
57931
57932
57933
57934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
57935 $as_echo_n "checking for isnanl declaration... " >&6; }
57936 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
57937 if ${glibcxx_cv_func_isnanl_use+:} false; then :
57938 $as_echo_n "(cached) " >&6
57939 else
57940
57941
57942 ac_ext=cpp
57943 ac_cpp='$CXXCPP $CPPFLAGS'
57944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
57947
57948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
57949 /* end confdefs.h. */
57950 #include <math.h>
57951 #ifdef HAVE_IEEEFP_H
57952 #include <ieeefp.h>
57953 #endif
57954
57955 int
57956 main ()
57957 {
57958 isnanl(0);
57959 ;
57960 return 0;
57961 }
57962 _ACEOF
57963 if ac_fn_cxx_try_compile "$LINENO"; then :
57964 glibcxx_cv_func_isnanl_use=yes
57965 else
57966 glibcxx_cv_func_isnanl_use=no
57967 fi
57968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
57969 ac_ext=c
57970 ac_cpp='$CPP $CPPFLAGS'
57971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
57972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
57973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
57974
57975
57976 fi
57977
57978 fi
57979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
57980 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
57981
57982 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
57983 for ac_func in isnanl
57984 do :
57985 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
57986 if test "x$ac_cv_func_isnanl" = xyes; then :
57987 cat >>confdefs.h <<_ACEOF
57988 #define HAVE_ISNANL 1
57989 _ACEOF
57990
57991 fi
57992 done
57993
57994 else
57995
57996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
57997 $as_echo_n "checking for _isnanl declaration... " >&6; }
57998 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
57999 if ${glibcxx_cv_func__isnanl_use+:} false; then :
58000 $as_echo_n "(cached) " >&6
58001 else
58002
58003
58004 ac_ext=cpp
58005 ac_cpp='$CXXCPP $CPPFLAGS'
58006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58009
58010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58011 /* end confdefs.h. */
58012 #include <math.h>
58013 #ifdef HAVE_IEEEFP_H
58014 #include <ieeefp.h>
58015 #endif
58016
58017 int
58018 main ()
58019 {
58020 _isnanl(0);
58021 ;
58022 return 0;
58023 }
58024 _ACEOF
58025 if ac_fn_cxx_try_compile "$LINENO"; then :
58026 glibcxx_cv_func__isnanl_use=yes
58027 else
58028 glibcxx_cv_func__isnanl_use=no
58029 fi
58030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58031 ac_ext=c
58032 ac_cpp='$CPP $CPPFLAGS'
58033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58036
58037
58038 fi
58039
58040 fi
58041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
58042 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
58043
58044 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
58045 for ac_func in _isnanl
58046 do :
58047 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
58048 if test "x$ac_cv_func__isnanl" = xyes; then :
58049 cat >>confdefs.h <<_ACEOF
58050 #define HAVE__ISNANL 1
58051 _ACEOF
58052
58053 fi
58054 done
58055
58056 fi
58057 fi
58058
58059
58060
58061
58062
58063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
58064 $as_echo_n "checking for isinfl declaration... " >&6; }
58065 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
58066 if ${glibcxx_cv_func_isinfl_use+:} false; then :
58067 $as_echo_n "(cached) " >&6
58068 else
58069
58070
58071 ac_ext=cpp
58072 ac_cpp='$CXXCPP $CPPFLAGS'
58073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58076
58077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58078 /* end confdefs.h. */
58079 #include <math.h>
58080 #ifdef HAVE_IEEEFP_H
58081 #include <ieeefp.h>
58082 #endif
58083
58084 int
58085 main ()
58086 {
58087 isinfl(0);
58088 ;
58089 return 0;
58090 }
58091 _ACEOF
58092 if ac_fn_cxx_try_compile "$LINENO"; then :
58093 glibcxx_cv_func_isinfl_use=yes
58094 else
58095 glibcxx_cv_func_isinfl_use=no
58096 fi
58097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58098 ac_ext=c
58099 ac_cpp='$CPP $CPPFLAGS'
58100 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58101 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58102 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58103
58104
58105 fi
58106
58107 fi
58108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
58109 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
58110
58111 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
58112 for ac_func in isinfl
58113 do :
58114 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
58115 if test "x$ac_cv_func_isinfl" = xyes; then :
58116 cat >>confdefs.h <<_ACEOF
58117 #define HAVE_ISINFL 1
58118 _ACEOF
58119
58120 fi
58121 done
58122
58123 else
58124
58125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
58126 $as_echo_n "checking for _isinfl declaration... " >&6; }
58127 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
58128 if ${glibcxx_cv_func__isinfl_use+:} false; then :
58129 $as_echo_n "(cached) " >&6
58130 else
58131
58132
58133 ac_ext=cpp
58134 ac_cpp='$CXXCPP $CPPFLAGS'
58135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58138
58139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58140 /* end confdefs.h. */
58141 #include <math.h>
58142 #ifdef HAVE_IEEEFP_H
58143 #include <ieeefp.h>
58144 #endif
58145
58146 int
58147 main ()
58148 {
58149 _isinfl(0);
58150 ;
58151 return 0;
58152 }
58153 _ACEOF
58154 if ac_fn_cxx_try_compile "$LINENO"; then :
58155 glibcxx_cv_func__isinfl_use=yes
58156 else
58157 glibcxx_cv_func__isinfl_use=no
58158 fi
58159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58160 ac_ext=c
58161 ac_cpp='$CPP $CPPFLAGS'
58162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58165
58166
58167 fi
58168
58169 fi
58170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
58171 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
58172
58173 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
58174 for ac_func in _isinfl
58175 do :
58176 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
58177 if test "x$ac_cv_func__isinfl" = xyes; then :
58178 cat >>confdefs.h <<_ACEOF
58179 #define HAVE__ISINFL 1
58180 _ACEOF
58181
58182 fi
58183 done
58184
58185 fi
58186 fi
58187
58188
58189
58190
58191
58192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
58193 $as_echo_n "checking for atan2l declaration... " >&6; }
58194 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
58195 if ${glibcxx_cv_func_atan2l_use+:} false; then :
58196 $as_echo_n "(cached) " >&6
58197 else
58198
58199
58200 ac_ext=cpp
58201 ac_cpp='$CXXCPP $CPPFLAGS'
58202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58205
58206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58207 /* end confdefs.h. */
58208 #include <math.h>
58209 int
58210 main ()
58211 {
58212 atan2l(0, 0);
58213 ;
58214 return 0;
58215 }
58216 _ACEOF
58217 if ac_fn_cxx_try_compile "$LINENO"; then :
58218 glibcxx_cv_func_atan2l_use=yes
58219 else
58220 glibcxx_cv_func_atan2l_use=no
58221 fi
58222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58223 ac_ext=c
58224 ac_cpp='$CPP $CPPFLAGS'
58225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58228
58229
58230 fi
58231
58232 fi
58233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
58234 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
58235
58236 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
58237 for ac_func in atan2l
58238 do :
58239 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
58240 if test "x$ac_cv_func_atan2l" = xyes; then :
58241 cat >>confdefs.h <<_ACEOF
58242 #define HAVE_ATAN2L 1
58243 _ACEOF
58244
58245 fi
58246 done
58247
58248 else
58249
58250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
58251 $as_echo_n "checking for _atan2l declaration... " >&6; }
58252 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
58253 if ${glibcxx_cv_func__atan2l_use+:} false; then :
58254 $as_echo_n "(cached) " >&6
58255 else
58256
58257
58258 ac_ext=cpp
58259 ac_cpp='$CXXCPP $CPPFLAGS'
58260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58263
58264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58265 /* end confdefs.h. */
58266 #include <math.h>
58267 int
58268 main ()
58269 {
58270 _atan2l(0, 0);
58271 ;
58272 return 0;
58273 }
58274 _ACEOF
58275 if ac_fn_cxx_try_compile "$LINENO"; then :
58276 glibcxx_cv_func__atan2l_use=yes
58277 else
58278 glibcxx_cv_func__atan2l_use=no
58279 fi
58280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58281 ac_ext=c
58282 ac_cpp='$CPP $CPPFLAGS'
58283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58286
58287
58288 fi
58289
58290 fi
58291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
58292 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
58293
58294 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
58295 for ac_func in _atan2l
58296 do :
58297 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
58298 if test "x$ac_cv_func__atan2l" = xyes; then :
58299 cat >>confdefs.h <<_ACEOF
58300 #define HAVE__ATAN2L 1
58301 _ACEOF
58302
58303 fi
58304 done
58305
58306 fi
58307 fi
58308
58309
58310
58311
58312
58313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
58314 $as_echo_n "checking for expl declaration... " >&6; }
58315 if test x${glibcxx_cv_func_expl_use+set} != xset; then
58316 if ${glibcxx_cv_func_expl_use+:} false; then :
58317 $as_echo_n "(cached) " >&6
58318 else
58319
58320
58321 ac_ext=cpp
58322 ac_cpp='$CXXCPP $CPPFLAGS'
58323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58326
58327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58328 /* end confdefs.h. */
58329 #include <math.h>
58330 #ifdef HAVE_IEEEFP_H
58331 #include <ieeefp.h>
58332 #endif
58333
58334 int
58335 main ()
58336 {
58337 expl(0);
58338 ;
58339 return 0;
58340 }
58341 _ACEOF
58342 if ac_fn_cxx_try_compile "$LINENO"; then :
58343 glibcxx_cv_func_expl_use=yes
58344 else
58345 glibcxx_cv_func_expl_use=no
58346 fi
58347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58348 ac_ext=c
58349 ac_cpp='$CPP $CPPFLAGS'
58350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58353
58354
58355 fi
58356
58357 fi
58358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
58359 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
58360
58361 if test x$glibcxx_cv_func_expl_use = x"yes"; then
58362 for ac_func in expl
58363 do :
58364 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
58365 if test "x$ac_cv_func_expl" = xyes; then :
58366 cat >>confdefs.h <<_ACEOF
58367 #define HAVE_EXPL 1
58368 _ACEOF
58369
58370 fi
58371 done
58372
58373 else
58374
58375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
58376 $as_echo_n "checking for _expl declaration... " >&6; }
58377 if test x${glibcxx_cv_func__expl_use+set} != xset; then
58378 if ${glibcxx_cv_func__expl_use+:} false; then :
58379 $as_echo_n "(cached) " >&6
58380 else
58381
58382
58383 ac_ext=cpp
58384 ac_cpp='$CXXCPP $CPPFLAGS'
58385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58388
58389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58390 /* end confdefs.h. */
58391 #include <math.h>
58392 #ifdef HAVE_IEEEFP_H
58393 #include <ieeefp.h>
58394 #endif
58395
58396 int
58397 main ()
58398 {
58399 _expl(0);
58400 ;
58401 return 0;
58402 }
58403 _ACEOF
58404 if ac_fn_cxx_try_compile "$LINENO"; then :
58405 glibcxx_cv_func__expl_use=yes
58406 else
58407 glibcxx_cv_func__expl_use=no
58408 fi
58409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58410 ac_ext=c
58411 ac_cpp='$CPP $CPPFLAGS'
58412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58415
58416
58417 fi
58418
58419 fi
58420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
58421 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
58422
58423 if test x$glibcxx_cv_func__expl_use = x"yes"; then
58424 for ac_func in _expl
58425 do :
58426 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
58427 if test "x$ac_cv_func__expl" = xyes; then :
58428 cat >>confdefs.h <<_ACEOF
58429 #define HAVE__EXPL 1
58430 _ACEOF
58431
58432 fi
58433 done
58434
58435 fi
58436 fi
58437
58438
58439
58440
58441
58442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
58443 $as_echo_n "checking for fabsl declaration... " >&6; }
58444 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
58445 if ${glibcxx_cv_func_fabsl_use+:} false; then :
58446 $as_echo_n "(cached) " >&6
58447 else
58448
58449
58450 ac_ext=cpp
58451 ac_cpp='$CXXCPP $CPPFLAGS'
58452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58455
58456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58457 /* end confdefs.h. */
58458 #include <math.h>
58459 #ifdef HAVE_IEEEFP_H
58460 #include <ieeefp.h>
58461 #endif
58462
58463 int
58464 main ()
58465 {
58466 fabsl(0);
58467 ;
58468 return 0;
58469 }
58470 _ACEOF
58471 if ac_fn_cxx_try_compile "$LINENO"; then :
58472 glibcxx_cv_func_fabsl_use=yes
58473 else
58474 glibcxx_cv_func_fabsl_use=no
58475 fi
58476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58477 ac_ext=c
58478 ac_cpp='$CPP $CPPFLAGS'
58479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58482
58483
58484 fi
58485
58486 fi
58487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
58488 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
58489
58490 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
58491 for ac_func in fabsl
58492 do :
58493 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
58494 if test "x$ac_cv_func_fabsl" = xyes; then :
58495 cat >>confdefs.h <<_ACEOF
58496 #define HAVE_FABSL 1
58497 _ACEOF
58498
58499 fi
58500 done
58501
58502 else
58503
58504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
58505 $as_echo_n "checking for _fabsl declaration... " >&6; }
58506 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
58507 if ${glibcxx_cv_func__fabsl_use+:} false; then :
58508 $as_echo_n "(cached) " >&6
58509 else
58510
58511
58512 ac_ext=cpp
58513 ac_cpp='$CXXCPP $CPPFLAGS'
58514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58517
58518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58519 /* end confdefs.h. */
58520 #include <math.h>
58521 #ifdef HAVE_IEEEFP_H
58522 #include <ieeefp.h>
58523 #endif
58524
58525 int
58526 main ()
58527 {
58528 _fabsl(0);
58529 ;
58530 return 0;
58531 }
58532 _ACEOF
58533 if ac_fn_cxx_try_compile "$LINENO"; then :
58534 glibcxx_cv_func__fabsl_use=yes
58535 else
58536 glibcxx_cv_func__fabsl_use=no
58537 fi
58538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58539 ac_ext=c
58540 ac_cpp='$CPP $CPPFLAGS'
58541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58544
58545
58546 fi
58547
58548 fi
58549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
58550 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
58551
58552 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
58553 for ac_func in _fabsl
58554 do :
58555 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
58556 if test "x$ac_cv_func__fabsl" = xyes; then :
58557 cat >>confdefs.h <<_ACEOF
58558 #define HAVE__FABSL 1
58559 _ACEOF
58560
58561 fi
58562 done
58563
58564 fi
58565 fi
58566
58567
58568
58569
58570
58571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
58572 $as_echo_n "checking for fmodl declaration... " >&6; }
58573 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
58574 if ${glibcxx_cv_func_fmodl_use+:} false; then :
58575 $as_echo_n "(cached) " >&6
58576 else
58577
58578
58579 ac_ext=cpp
58580 ac_cpp='$CXXCPP $CPPFLAGS'
58581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58584
58585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58586 /* end confdefs.h. */
58587 #include <math.h>
58588 int
58589 main ()
58590 {
58591 fmodl(0, 0);
58592 ;
58593 return 0;
58594 }
58595 _ACEOF
58596 if ac_fn_cxx_try_compile "$LINENO"; then :
58597 glibcxx_cv_func_fmodl_use=yes
58598 else
58599 glibcxx_cv_func_fmodl_use=no
58600 fi
58601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58602 ac_ext=c
58603 ac_cpp='$CPP $CPPFLAGS'
58604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58607
58608
58609 fi
58610
58611 fi
58612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
58613 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
58614
58615 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
58616 for ac_func in fmodl
58617 do :
58618 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
58619 if test "x$ac_cv_func_fmodl" = xyes; then :
58620 cat >>confdefs.h <<_ACEOF
58621 #define HAVE_FMODL 1
58622 _ACEOF
58623
58624 fi
58625 done
58626
58627 else
58628
58629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
58630 $as_echo_n "checking for _fmodl declaration... " >&6; }
58631 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
58632 if ${glibcxx_cv_func__fmodl_use+:} false; then :
58633 $as_echo_n "(cached) " >&6
58634 else
58635
58636
58637 ac_ext=cpp
58638 ac_cpp='$CXXCPP $CPPFLAGS'
58639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58642
58643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58644 /* end confdefs.h. */
58645 #include <math.h>
58646 int
58647 main ()
58648 {
58649 _fmodl(0, 0);
58650 ;
58651 return 0;
58652 }
58653 _ACEOF
58654 if ac_fn_cxx_try_compile "$LINENO"; then :
58655 glibcxx_cv_func__fmodl_use=yes
58656 else
58657 glibcxx_cv_func__fmodl_use=no
58658 fi
58659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58660 ac_ext=c
58661 ac_cpp='$CPP $CPPFLAGS'
58662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58665
58666
58667 fi
58668
58669 fi
58670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
58671 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
58672
58673 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
58674 for ac_func in _fmodl
58675 do :
58676 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
58677 if test "x$ac_cv_func__fmodl" = xyes; then :
58678 cat >>confdefs.h <<_ACEOF
58679 #define HAVE__FMODL 1
58680 _ACEOF
58681
58682 fi
58683 done
58684
58685 fi
58686 fi
58687
58688
58689
58690
58691
58692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
58693 $as_echo_n "checking for frexpl declaration... " >&6; }
58694 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
58695 if ${glibcxx_cv_func_frexpl_use+:} false; then :
58696 $as_echo_n "(cached) " >&6
58697 else
58698
58699
58700 ac_ext=cpp
58701 ac_cpp='$CXXCPP $CPPFLAGS'
58702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58705
58706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58707 /* end confdefs.h. */
58708 #include <math.h>
58709 int
58710 main ()
58711 {
58712 frexpl(0, 0);
58713 ;
58714 return 0;
58715 }
58716 _ACEOF
58717 if ac_fn_cxx_try_compile "$LINENO"; then :
58718 glibcxx_cv_func_frexpl_use=yes
58719 else
58720 glibcxx_cv_func_frexpl_use=no
58721 fi
58722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58723 ac_ext=c
58724 ac_cpp='$CPP $CPPFLAGS'
58725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58728
58729
58730 fi
58731
58732 fi
58733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
58734 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
58735
58736 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
58737 for ac_func in frexpl
58738 do :
58739 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
58740 if test "x$ac_cv_func_frexpl" = xyes; then :
58741 cat >>confdefs.h <<_ACEOF
58742 #define HAVE_FREXPL 1
58743 _ACEOF
58744
58745 fi
58746 done
58747
58748 else
58749
58750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
58751 $as_echo_n "checking for _frexpl declaration... " >&6; }
58752 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
58753 if ${glibcxx_cv_func__frexpl_use+:} false; then :
58754 $as_echo_n "(cached) " >&6
58755 else
58756
58757
58758 ac_ext=cpp
58759 ac_cpp='$CXXCPP $CPPFLAGS'
58760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58763
58764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58765 /* end confdefs.h. */
58766 #include <math.h>
58767 int
58768 main ()
58769 {
58770 _frexpl(0, 0);
58771 ;
58772 return 0;
58773 }
58774 _ACEOF
58775 if ac_fn_cxx_try_compile "$LINENO"; then :
58776 glibcxx_cv_func__frexpl_use=yes
58777 else
58778 glibcxx_cv_func__frexpl_use=no
58779 fi
58780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58781 ac_ext=c
58782 ac_cpp='$CPP $CPPFLAGS'
58783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58786
58787
58788 fi
58789
58790 fi
58791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
58792 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
58793
58794 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
58795 for ac_func in _frexpl
58796 do :
58797 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
58798 if test "x$ac_cv_func__frexpl" = xyes; then :
58799 cat >>confdefs.h <<_ACEOF
58800 #define HAVE__FREXPL 1
58801 _ACEOF
58802
58803 fi
58804 done
58805
58806 fi
58807 fi
58808
58809
58810
58811
58812
58813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
58814 $as_echo_n "checking for hypotl declaration... " >&6; }
58815 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
58816 if ${glibcxx_cv_func_hypotl_use+:} false; then :
58817 $as_echo_n "(cached) " >&6
58818 else
58819
58820
58821 ac_ext=cpp
58822 ac_cpp='$CXXCPP $CPPFLAGS'
58823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58826
58827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58828 /* end confdefs.h. */
58829 #include <math.h>
58830 int
58831 main ()
58832 {
58833 hypotl(0, 0);
58834 ;
58835 return 0;
58836 }
58837 _ACEOF
58838 if ac_fn_cxx_try_compile "$LINENO"; then :
58839 glibcxx_cv_func_hypotl_use=yes
58840 else
58841 glibcxx_cv_func_hypotl_use=no
58842 fi
58843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58844 ac_ext=c
58845 ac_cpp='$CPP $CPPFLAGS'
58846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58849
58850
58851 fi
58852
58853 fi
58854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
58855 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
58856
58857 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
58858 for ac_func in hypotl
58859 do :
58860 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
58861 if test "x$ac_cv_func_hypotl" = xyes; then :
58862 cat >>confdefs.h <<_ACEOF
58863 #define HAVE_HYPOTL 1
58864 _ACEOF
58865
58866 fi
58867 done
58868
58869 else
58870
58871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
58872 $as_echo_n "checking for _hypotl declaration... " >&6; }
58873 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
58874 if ${glibcxx_cv_func__hypotl_use+:} false; then :
58875 $as_echo_n "(cached) " >&6
58876 else
58877
58878
58879 ac_ext=cpp
58880 ac_cpp='$CXXCPP $CPPFLAGS'
58881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58884
58885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58886 /* end confdefs.h. */
58887 #include <math.h>
58888 int
58889 main ()
58890 {
58891 _hypotl(0, 0);
58892 ;
58893 return 0;
58894 }
58895 _ACEOF
58896 if ac_fn_cxx_try_compile "$LINENO"; then :
58897 glibcxx_cv_func__hypotl_use=yes
58898 else
58899 glibcxx_cv_func__hypotl_use=no
58900 fi
58901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58902 ac_ext=c
58903 ac_cpp='$CPP $CPPFLAGS'
58904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58907
58908
58909 fi
58910
58911 fi
58912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
58913 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
58914
58915 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
58916 for ac_func in _hypotl
58917 do :
58918 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
58919 if test "x$ac_cv_func__hypotl" = xyes; then :
58920 cat >>confdefs.h <<_ACEOF
58921 #define HAVE__HYPOTL 1
58922 _ACEOF
58923
58924 fi
58925 done
58926
58927 fi
58928 fi
58929
58930
58931
58932
58933
58934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
58935 $as_echo_n "checking for ldexpl declaration... " >&6; }
58936 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
58937 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
58938 $as_echo_n "(cached) " >&6
58939 else
58940
58941
58942 ac_ext=cpp
58943 ac_cpp='$CXXCPP $CPPFLAGS'
58944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
58947
58948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
58949 /* end confdefs.h. */
58950 #include <math.h>
58951 int
58952 main ()
58953 {
58954 ldexpl(0, 0);
58955 ;
58956 return 0;
58957 }
58958 _ACEOF
58959 if ac_fn_cxx_try_compile "$LINENO"; then :
58960 glibcxx_cv_func_ldexpl_use=yes
58961 else
58962 glibcxx_cv_func_ldexpl_use=no
58963 fi
58964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
58965 ac_ext=c
58966 ac_cpp='$CPP $CPPFLAGS'
58967 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
58968 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
58969 ac_compiler_gnu=$ac_cv_c_compiler_gnu
58970
58971
58972 fi
58973
58974 fi
58975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
58976 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
58977
58978 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
58979 for ac_func in ldexpl
58980 do :
58981 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
58982 if test "x$ac_cv_func_ldexpl" = xyes; then :
58983 cat >>confdefs.h <<_ACEOF
58984 #define HAVE_LDEXPL 1
58985 _ACEOF
58986
58987 fi
58988 done
58989
58990 else
58991
58992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
58993 $as_echo_n "checking for _ldexpl declaration... " >&6; }
58994 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
58995 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
58996 $as_echo_n "(cached) " >&6
58997 else
58998
58999
59000 ac_ext=cpp
59001 ac_cpp='$CXXCPP $CPPFLAGS'
59002 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59003 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59004 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59005
59006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59007 /* end confdefs.h. */
59008 #include <math.h>
59009 int
59010 main ()
59011 {
59012 _ldexpl(0, 0);
59013 ;
59014 return 0;
59015 }
59016 _ACEOF
59017 if ac_fn_cxx_try_compile "$LINENO"; then :
59018 glibcxx_cv_func__ldexpl_use=yes
59019 else
59020 glibcxx_cv_func__ldexpl_use=no
59021 fi
59022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59023 ac_ext=c
59024 ac_cpp='$CPP $CPPFLAGS'
59025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59028
59029
59030 fi
59031
59032 fi
59033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
59034 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
59035
59036 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
59037 for ac_func in _ldexpl
59038 do :
59039 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
59040 if test "x$ac_cv_func__ldexpl" = xyes; then :
59041 cat >>confdefs.h <<_ACEOF
59042 #define HAVE__LDEXPL 1
59043 _ACEOF
59044
59045 fi
59046 done
59047
59048 fi
59049 fi
59050
59051
59052
59053
59054
59055 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
59056 $as_echo_n "checking for logl declaration... " >&6; }
59057 if test x${glibcxx_cv_func_logl_use+set} != xset; then
59058 if ${glibcxx_cv_func_logl_use+:} false; then :
59059 $as_echo_n "(cached) " >&6
59060 else
59061
59062
59063 ac_ext=cpp
59064 ac_cpp='$CXXCPP $CPPFLAGS'
59065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59068
59069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59070 /* end confdefs.h. */
59071 #include <math.h>
59072 #ifdef HAVE_IEEEFP_H
59073 #include <ieeefp.h>
59074 #endif
59075
59076 int
59077 main ()
59078 {
59079 logl(0);
59080 ;
59081 return 0;
59082 }
59083 _ACEOF
59084 if ac_fn_cxx_try_compile "$LINENO"; then :
59085 glibcxx_cv_func_logl_use=yes
59086 else
59087 glibcxx_cv_func_logl_use=no
59088 fi
59089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59090 ac_ext=c
59091 ac_cpp='$CPP $CPPFLAGS'
59092 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59093 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59094 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59095
59096
59097 fi
59098
59099 fi
59100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
59101 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
59102
59103 if test x$glibcxx_cv_func_logl_use = x"yes"; then
59104 for ac_func in logl
59105 do :
59106 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
59107 if test "x$ac_cv_func_logl" = xyes; then :
59108 cat >>confdefs.h <<_ACEOF
59109 #define HAVE_LOGL 1
59110 _ACEOF
59111
59112 fi
59113 done
59114
59115 else
59116
59117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
59118 $as_echo_n "checking for _logl declaration... " >&6; }
59119 if test x${glibcxx_cv_func__logl_use+set} != xset; then
59120 if ${glibcxx_cv_func__logl_use+:} false; then :
59121 $as_echo_n "(cached) " >&6
59122 else
59123
59124
59125 ac_ext=cpp
59126 ac_cpp='$CXXCPP $CPPFLAGS'
59127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59130
59131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59132 /* end confdefs.h. */
59133 #include <math.h>
59134 #ifdef HAVE_IEEEFP_H
59135 #include <ieeefp.h>
59136 #endif
59137
59138 int
59139 main ()
59140 {
59141 _logl(0);
59142 ;
59143 return 0;
59144 }
59145 _ACEOF
59146 if ac_fn_cxx_try_compile "$LINENO"; then :
59147 glibcxx_cv_func__logl_use=yes
59148 else
59149 glibcxx_cv_func__logl_use=no
59150 fi
59151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59152 ac_ext=c
59153 ac_cpp='$CPP $CPPFLAGS'
59154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59157
59158
59159 fi
59160
59161 fi
59162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
59163 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
59164
59165 if test x$glibcxx_cv_func__logl_use = x"yes"; then
59166 for ac_func in _logl
59167 do :
59168 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
59169 if test "x$ac_cv_func__logl" = xyes; then :
59170 cat >>confdefs.h <<_ACEOF
59171 #define HAVE__LOGL 1
59172 _ACEOF
59173
59174 fi
59175 done
59176
59177 fi
59178 fi
59179
59180
59181
59182
59183
59184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
59185 $as_echo_n "checking for log10l declaration... " >&6; }
59186 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
59187 if ${glibcxx_cv_func_log10l_use+:} false; then :
59188 $as_echo_n "(cached) " >&6
59189 else
59190
59191
59192 ac_ext=cpp
59193 ac_cpp='$CXXCPP $CPPFLAGS'
59194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59197
59198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59199 /* end confdefs.h. */
59200 #include <math.h>
59201 #ifdef HAVE_IEEEFP_H
59202 #include <ieeefp.h>
59203 #endif
59204
59205 int
59206 main ()
59207 {
59208 log10l(0);
59209 ;
59210 return 0;
59211 }
59212 _ACEOF
59213 if ac_fn_cxx_try_compile "$LINENO"; then :
59214 glibcxx_cv_func_log10l_use=yes
59215 else
59216 glibcxx_cv_func_log10l_use=no
59217 fi
59218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59219 ac_ext=c
59220 ac_cpp='$CPP $CPPFLAGS'
59221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59224
59225
59226 fi
59227
59228 fi
59229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
59230 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
59231
59232 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
59233 for ac_func in log10l
59234 do :
59235 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
59236 if test "x$ac_cv_func_log10l" = xyes; then :
59237 cat >>confdefs.h <<_ACEOF
59238 #define HAVE_LOG10L 1
59239 _ACEOF
59240
59241 fi
59242 done
59243
59244 else
59245
59246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
59247 $as_echo_n "checking for _log10l declaration... " >&6; }
59248 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
59249 if ${glibcxx_cv_func__log10l_use+:} false; then :
59250 $as_echo_n "(cached) " >&6
59251 else
59252
59253
59254 ac_ext=cpp
59255 ac_cpp='$CXXCPP $CPPFLAGS'
59256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59259
59260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59261 /* end confdefs.h. */
59262 #include <math.h>
59263 #ifdef HAVE_IEEEFP_H
59264 #include <ieeefp.h>
59265 #endif
59266
59267 int
59268 main ()
59269 {
59270 _log10l(0);
59271 ;
59272 return 0;
59273 }
59274 _ACEOF
59275 if ac_fn_cxx_try_compile "$LINENO"; then :
59276 glibcxx_cv_func__log10l_use=yes
59277 else
59278 glibcxx_cv_func__log10l_use=no
59279 fi
59280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59281 ac_ext=c
59282 ac_cpp='$CPP $CPPFLAGS'
59283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59286
59287
59288 fi
59289
59290 fi
59291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
59292 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
59293
59294 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
59295 for ac_func in _log10l
59296 do :
59297 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
59298 if test "x$ac_cv_func__log10l" = xyes; then :
59299 cat >>confdefs.h <<_ACEOF
59300 #define HAVE__LOG10L 1
59301 _ACEOF
59302
59303 fi
59304 done
59305
59306 fi
59307 fi
59308
59309
59310
59311
59312
59313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
59314 $as_echo_n "checking for modfl declaration... " >&6; }
59315 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
59316 if ${glibcxx_cv_func_modfl_use+:} false; then :
59317 $as_echo_n "(cached) " >&6
59318 else
59319
59320
59321 ac_ext=cpp
59322 ac_cpp='$CXXCPP $CPPFLAGS'
59323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59326
59327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59328 /* end confdefs.h. */
59329 #include <math.h>
59330 int
59331 main ()
59332 {
59333 modfl(0, 0);
59334 ;
59335 return 0;
59336 }
59337 _ACEOF
59338 if ac_fn_cxx_try_compile "$LINENO"; then :
59339 glibcxx_cv_func_modfl_use=yes
59340 else
59341 glibcxx_cv_func_modfl_use=no
59342 fi
59343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59344 ac_ext=c
59345 ac_cpp='$CPP $CPPFLAGS'
59346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59349
59350
59351 fi
59352
59353 fi
59354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
59355 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
59356
59357 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
59358 for ac_func in modfl
59359 do :
59360 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
59361 if test "x$ac_cv_func_modfl" = xyes; then :
59362 cat >>confdefs.h <<_ACEOF
59363 #define HAVE_MODFL 1
59364 _ACEOF
59365
59366 fi
59367 done
59368
59369 else
59370
59371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
59372 $as_echo_n "checking for _modfl declaration... " >&6; }
59373 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
59374 if ${glibcxx_cv_func__modfl_use+:} false; then :
59375 $as_echo_n "(cached) " >&6
59376 else
59377
59378
59379 ac_ext=cpp
59380 ac_cpp='$CXXCPP $CPPFLAGS'
59381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59384
59385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59386 /* end confdefs.h. */
59387 #include <math.h>
59388 int
59389 main ()
59390 {
59391 _modfl(0, 0);
59392 ;
59393 return 0;
59394 }
59395 _ACEOF
59396 if ac_fn_cxx_try_compile "$LINENO"; then :
59397 glibcxx_cv_func__modfl_use=yes
59398 else
59399 glibcxx_cv_func__modfl_use=no
59400 fi
59401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59402 ac_ext=c
59403 ac_cpp='$CPP $CPPFLAGS'
59404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59407
59408
59409 fi
59410
59411 fi
59412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
59413 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
59414
59415 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
59416 for ac_func in _modfl
59417 do :
59418 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
59419 if test "x$ac_cv_func__modfl" = xyes; then :
59420 cat >>confdefs.h <<_ACEOF
59421 #define HAVE__MODFL 1
59422 _ACEOF
59423
59424 fi
59425 done
59426
59427 fi
59428 fi
59429
59430
59431
59432
59433
59434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
59435 $as_echo_n "checking for powl declaration... " >&6; }
59436 if test x${glibcxx_cv_func_powl_use+set} != xset; then
59437 if ${glibcxx_cv_func_powl_use+:} false; then :
59438 $as_echo_n "(cached) " >&6
59439 else
59440
59441
59442 ac_ext=cpp
59443 ac_cpp='$CXXCPP $CPPFLAGS'
59444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59447
59448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59449 /* end confdefs.h. */
59450 #include <math.h>
59451 int
59452 main ()
59453 {
59454 powl(0, 0);
59455 ;
59456 return 0;
59457 }
59458 _ACEOF
59459 if ac_fn_cxx_try_compile "$LINENO"; then :
59460 glibcxx_cv_func_powl_use=yes
59461 else
59462 glibcxx_cv_func_powl_use=no
59463 fi
59464 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59465 ac_ext=c
59466 ac_cpp='$CPP $CPPFLAGS'
59467 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59468 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59469 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59470
59471
59472 fi
59473
59474 fi
59475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
59476 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
59477
59478 if test x$glibcxx_cv_func_powl_use = x"yes"; then
59479 for ac_func in powl
59480 do :
59481 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
59482 if test "x$ac_cv_func_powl" = xyes; then :
59483 cat >>confdefs.h <<_ACEOF
59484 #define HAVE_POWL 1
59485 _ACEOF
59486
59487 fi
59488 done
59489
59490 else
59491
59492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
59493 $as_echo_n "checking for _powl declaration... " >&6; }
59494 if test x${glibcxx_cv_func__powl_use+set} != xset; then
59495 if ${glibcxx_cv_func__powl_use+:} false; then :
59496 $as_echo_n "(cached) " >&6
59497 else
59498
59499
59500 ac_ext=cpp
59501 ac_cpp='$CXXCPP $CPPFLAGS'
59502 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59503 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59504 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59505
59506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59507 /* end confdefs.h. */
59508 #include <math.h>
59509 int
59510 main ()
59511 {
59512 _powl(0, 0);
59513 ;
59514 return 0;
59515 }
59516 _ACEOF
59517 if ac_fn_cxx_try_compile "$LINENO"; then :
59518 glibcxx_cv_func__powl_use=yes
59519 else
59520 glibcxx_cv_func__powl_use=no
59521 fi
59522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59523 ac_ext=c
59524 ac_cpp='$CPP $CPPFLAGS'
59525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59528
59529
59530 fi
59531
59532 fi
59533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
59534 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
59535
59536 if test x$glibcxx_cv_func__powl_use = x"yes"; then
59537 for ac_func in _powl
59538 do :
59539 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
59540 if test "x$ac_cv_func__powl" = xyes; then :
59541 cat >>confdefs.h <<_ACEOF
59542 #define HAVE__POWL 1
59543 _ACEOF
59544
59545 fi
59546 done
59547
59548 fi
59549 fi
59550
59551
59552
59553
59554
59555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
59556 $as_echo_n "checking for sqrtl declaration... " >&6; }
59557 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
59558 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
59559 $as_echo_n "(cached) " >&6
59560 else
59561
59562
59563 ac_ext=cpp
59564 ac_cpp='$CXXCPP $CPPFLAGS'
59565 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59566 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59567 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59568
59569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59570 /* end confdefs.h. */
59571 #include <math.h>
59572 #ifdef HAVE_IEEEFP_H
59573 #include <ieeefp.h>
59574 #endif
59575
59576 int
59577 main ()
59578 {
59579 sqrtl(0);
59580 ;
59581 return 0;
59582 }
59583 _ACEOF
59584 if ac_fn_cxx_try_compile "$LINENO"; then :
59585 glibcxx_cv_func_sqrtl_use=yes
59586 else
59587 glibcxx_cv_func_sqrtl_use=no
59588 fi
59589 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59590 ac_ext=c
59591 ac_cpp='$CPP $CPPFLAGS'
59592 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59593 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59594 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59595
59596
59597 fi
59598
59599 fi
59600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
59601 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
59602
59603 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
59604 for ac_func in sqrtl
59605 do :
59606 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
59607 if test "x$ac_cv_func_sqrtl" = xyes; then :
59608 cat >>confdefs.h <<_ACEOF
59609 #define HAVE_SQRTL 1
59610 _ACEOF
59611
59612 fi
59613 done
59614
59615 else
59616
59617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
59618 $as_echo_n "checking for _sqrtl declaration... " >&6; }
59619 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
59620 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
59621 $as_echo_n "(cached) " >&6
59622 else
59623
59624
59625 ac_ext=cpp
59626 ac_cpp='$CXXCPP $CPPFLAGS'
59627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59630
59631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59632 /* end confdefs.h. */
59633 #include <math.h>
59634 #ifdef HAVE_IEEEFP_H
59635 #include <ieeefp.h>
59636 #endif
59637
59638 int
59639 main ()
59640 {
59641 _sqrtl(0);
59642 ;
59643 return 0;
59644 }
59645 _ACEOF
59646 if ac_fn_cxx_try_compile "$LINENO"; then :
59647 glibcxx_cv_func__sqrtl_use=yes
59648 else
59649 glibcxx_cv_func__sqrtl_use=no
59650 fi
59651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59652 ac_ext=c
59653 ac_cpp='$CPP $CPPFLAGS'
59654 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59655 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59656 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59657
59658
59659 fi
59660
59661 fi
59662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
59663 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
59664
59665 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
59666 for ac_func in _sqrtl
59667 do :
59668 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
59669 if test "x$ac_cv_func__sqrtl" = xyes; then :
59670 cat >>confdefs.h <<_ACEOF
59671 #define HAVE__SQRTL 1
59672 _ACEOF
59673
59674 fi
59675 done
59676
59677 fi
59678 fi
59679
59680
59681
59682
59683
59684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
59685 $as_echo_n "checking for sincosl declaration... " >&6; }
59686 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
59687 if ${glibcxx_cv_func_sincosl_use+:} false; then :
59688 $as_echo_n "(cached) " >&6
59689 else
59690
59691
59692 ac_ext=cpp
59693 ac_cpp='$CXXCPP $CPPFLAGS'
59694 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59695 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59696 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59697
59698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59699 /* end confdefs.h. */
59700 #include <math.h>
59701 int
59702 main ()
59703 {
59704 sincosl(0, 0, 0);
59705 ;
59706 return 0;
59707 }
59708 _ACEOF
59709 if ac_fn_cxx_try_compile "$LINENO"; then :
59710 glibcxx_cv_func_sincosl_use=yes
59711 else
59712 glibcxx_cv_func_sincosl_use=no
59713 fi
59714 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59715 ac_ext=c
59716 ac_cpp='$CPP $CPPFLAGS'
59717 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59718 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59719 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59720
59721
59722 fi
59723
59724 fi
59725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
59726 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
59727
59728 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
59729 for ac_func in sincosl
59730 do :
59731 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
59732 if test "x$ac_cv_func_sincosl" = xyes; then :
59733 cat >>confdefs.h <<_ACEOF
59734 #define HAVE_SINCOSL 1
59735 _ACEOF
59736
59737 fi
59738 done
59739
59740 else
59741
59742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
59743 $as_echo_n "checking for _sincosl declaration... " >&6; }
59744 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
59745 if ${glibcxx_cv_func__sincosl_use+:} false; then :
59746 $as_echo_n "(cached) " >&6
59747 else
59748
59749
59750 ac_ext=cpp
59751 ac_cpp='$CXXCPP $CPPFLAGS'
59752 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59753 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59754 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59755
59756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59757 /* end confdefs.h. */
59758 #include <math.h>
59759 int
59760 main ()
59761 {
59762 _sincosl(0, 0, 0);
59763 ;
59764 return 0;
59765 }
59766 _ACEOF
59767 if ac_fn_cxx_try_compile "$LINENO"; then :
59768 glibcxx_cv_func__sincosl_use=yes
59769 else
59770 glibcxx_cv_func__sincosl_use=no
59771 fi
59772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59773 ac_ext=c
59774 ac_cpp='$CPP $CPPFLAGS'
59775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59778
59779
59780 fi
59781
59782 fi
59783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
59784 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
59785
59786 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
59787 for ac_func in _sincosl
59788 do :
59789 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
59790 if test "x$ac_cv_func__sincosl" = xyes; then :
59791 cat >>confdefs.h <<_ACEOF
59792 #define HAVE__SINCOSL 1
59793 _ACEOF
59794
59795 fi
59796 done
59797
59798 fi
59799 fi
59800
59801
59802
59803
59804
59805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
59806 $as_echo_n "checking for finitel declaration... " >&6; }
59807 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
59808 if ${glibcxx_cv_func_finitel_use+:} false; then :
59809 $as_echo_n "(cached) " >&6
59810 else
59811
59812
59813 ac_ext=cpp
59814 ac_cpp='$CXXCPP $CPPFLAGS'
59815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59818
59819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59820 /* end confdefs.h. */
59821 #include <math.h>
59822 #ifdef HAVE_IEEEFP_H
59823 #include <ieeefp.h>
59824 #endif
59825
59826 int
59827 main ()
59828 {
59829 finitel(0);
59830 ;
59831 return 0;
59832 }
59833 _ACEOF
59834 if ac_fn_cxx_try_compile "$LINENO"; then :
59835 glibcxx_cv_func_finitel_use=yes
59836 else
59837 glibcxx_cv_func_finitel_use=no
59838 fi
59839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59840 ac_ext=c
59841 ac_cpp='$CPP $CPPFLAGS'
59842 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59843 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59844 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59845
59846
59847 fi
59848
59849 fi
59850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
59851 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
59852
59853 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
59854 for ac_func in finitel
59855 do :
59856 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
59857 if test "x$ac_cv_func_finitel" = xyes; then :
59858 cat >>confdefs.h <<_ACEOF
59859 #define HAVE_FINITEL 1
59860 _ACEOF
59861
59862 fi
59863 done
59864
59865 else
59866
59867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
59868 $as_echo_n "checking for _finitel declaration... " >&6; }
59869 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
59870 if ${glibcxx_cv_func__finitel_use+:} false; then :
59871 $as_echo_n "(cached) " >&6
59872 else
59873
59874
59875 ac_ext=cpp
59876 ac_cpp='$CXXCPP $CPPFLAGS'
59877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59880
59881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59882 /* end confdefs.h. */
59883 #include <math.h>
59884 #ifdef HAVE_IEEEFP_H
59885 #include <ieeefp.h>
59886 #endif
59887
59888 int
59889 main ()
59890 {
59891 _finitel(0);
59892 ;
59893 return 0;
59894 }
59895 _ACEOF
59896 if ac_fn_cxx_try_compile "$LINENO"; then :
59897 glibcxx_cv_func__finitel_use=yes
59898 else
59899 glibcxx_cv_func__finitel_use=no
59900 fi
59901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59902 ac_ext=c
59903 ac_cpp='$CPP $CPPFLAGS'
59904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59907
59908
59909 fi
59910
59911 fi
59912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
59913 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
59914
59915 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
59916 for ac_func in _finitel
59917 do :
59918 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
59919 if test "x$ac_cv_func__finitel" = xyes; then :
59920 cat >>confdefs.h <<_ACEOF
59921 #define HAVE__FINITEL 1
59922 _ACEOF
59923
59924 fi
59925 done
59926
59927 fi
59928 fi
59929
59930
59931
59932
59933 LIBS="$ac_save_LIBS"
59934 CXXFLAGS="$ac_save_CXXFLAGS"
59935
59936
59937 ac_test_CXXFLAGS="${CXXFLAGS+set}"
59938 ac_save_CXXFLAGS="$CXXFLAGS"
59939 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
59940
59941
59942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
59943 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
59944 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
59945 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
59946 $as_echo_n "(cached) " >&6
59947 else
59948
59949
59950 ac_ext=cpp
59951 ac_cpp='$CXXCPP $CPPFLAGS'
59952 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59953 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59954 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
59955
59956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
59957 /* end confdefs.h. */
59958 #include <stdlib.h>
59959 int
59960 main ()
59961 {
59962 at_quick_exit(0);
59963 ;
59964 return 0;
59965 }
59966 _ACEOF
59967 if ac_fn_cxx_try_compile "$LINENO"; then :
59968 glibcxx_cv_func_at_quick_exit_use=yes
59969 else
59970 glibcxx_cv_func_at_quick_exit_use=no
59971 fi
59972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
59973 ac_ext=c
59974 ac_cpp='$CPP $CPPFLAGS'
59975 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
59976 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
59977 ac_compiler_gnu=$ac_cv_c_compiler_gnu
59978
59979
59980 fi
59981
59982 fi
59983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
59984 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
59985 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
59986 for ac_func in at_quick_exit
59987 do :
59988 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
59989 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
59990 cat >>confdefs.h <<_ACEOF
59991 #define HAVE_AT_QUICK_EXIT 1
59992 _ACEOF
59993
59994 fi
59995 done
59996
59997 fi
59998
59999
60000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
60001 $as_echo_n "checking for quick_exit declaration... " >&6; }
60002 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
60003 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
60004 $as_echo_n "(cached) " >&6
60005 else
60006
60007
60008 ac_ext=cpp
60009 ac_cpp='$CXXCPP $CPPFLAGS'
60010 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60011 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60012 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60013
60014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60015 /* end confdefs.h. */
60016 #include <stdlib.h>
60017 int
60018 main ()
60019 {
60020 quick_exit(0);
60021 ;
60022 return 0;
60023 }
60024 _ACEOF
60025 if ac_fn_cxx_try_compile "$LINENO"; then :
60026 glibcxx_cv_func_quick_exit_use=yes
60027 else
60028 glibcxx_cv_func_quick_exit_use=no
60029 fi
60030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60031 ac_ext=c
60032 ac_cpp='$CPP $CPPFLAGS'
60033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60036
60037
60038 fi
60039
60040 fi
60041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
60042 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
60043 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
60044 for ac_func in quick_exit
60045 do :
60046 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
60047 if test "x$ac_cv_func_quick_exit" = xyes; then :
60048 cat >>confdefs.h <<_ACEOF
60049 #define HAVE_QUICK_EXIT 1
60050 _ACEOF
60051
60052 fi
60053 done
60054
60055 fi
60056
60057
60058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
60059 $as_echo_n "checking for strtold declaration... " >&6; }
60060 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
60061 if ${glibcxx_cv_func_strtold_use+:} false; then :
60062 $as_echo_n "(cached) " >&6
60063 else
60064
60065
60066 ac_ext=cpp
60067 ac_cpp='$CXXCPP $CPPFLAGS'
60068 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60069 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60070 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60071
60072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60073 /* end confdefs.h. */
60074 #include <stdlib.h>
60075 int
60076 main ()
60077 {
60078 strtold(0, 0);
60079 ;
60080 return 0;
60081 }
60082 _ACEOF
60083 if ac_fn_cxx_try_compile "$LINENO"; then :
60084 glibcxx_cv_func_strtold_use=yes
60085 else
60086 glibcxx_cv_func_strtold_use=no
60087 fi
60088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60089 ac_ext=c
60090 ac_cpp='$CPP $CPPFLAGS'
60091 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60092 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60093 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60094
60095
60096 fi
60097
60098 fi
60099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
60100 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
60101 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
60102 for ac_func in strtold
60103 do :
60104 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
60105 if test "x$ac_cv_func_strtold" = xyes; then :
60106 cat >>confdefs.h <<_ACEOF
60107 #define HAVE_STRTOLD 1
60108 _ACEOF
60109
60110 fi
60111 done
60112
60113 fi
60114
60115
60116
60117
60118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
60119 $as_echo_n "checking for strtof declaration... " >&6; }
60120 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
60121 if ${glibcxx_cv_func_strtof_use+:} false; then :
60122 $as_echo_n "(cached) " >&6
60123 else
60124
60125
60126 ac_ext=cpp
60127 ac_cpp='$CXXCPP $CPPFLAGS'
60128 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60129 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60130 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60131
60132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60133 /* end confdefs.h. */
60134 #include <stdlib.h>
60135 int
60136 main ()
60137 {
60138 strtof(0, 0);
60139 ;
60140 return 0;
60141 }
60142 _ACEOF
60143 if ac_fn_cxx_try_compile "$LINENO"; then :
60144 glibcxx_cv_func_strtof_use=yes
60145 else
60146 glibcxx_cv_func_strtof_use=no
60147 fi
60148 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60149 ac_ext=c
60150 ac_cpp='$CPP $CPPFLAGS'
60151 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60152 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60153 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60154
60155
60156 fi
60157
60158 fi
60159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
60160 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
60161 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
60162 for ac_func in strtof
60163 do :
60164 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
60165 if test "x$ac_cv_func_strtof" = xyes; then :
60166 cat >>confdefs.h <<_ACEOF
60167 #define HAVE_STRTOF 1
60168 _ACEOF
60169
60170 fi
60171 done
60172
60173 fi
60174
60175
60176
60177
60178 CXXFLAGS="$ac_save_CXXFLAGS"
60179
60180 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60181 do :
60182 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60183 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60184 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60185 cat >>confdefs.h <<_ACEOF
60186 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60187 _ACEOF
60188
60189 fi
60190 done
60191
60192 for ac_func in _wfopen
60193 do :
60194 ac_fn_c_check_func "$LINENO" "_wfopen" "ac_cv_func__wfopen"
60195 if test "x$ac_cv_func__wfopen" = xyes; then :
60196 cat >>confdefs.h <<_ACEOF
60197 #define HAVE__WFOPEN 1
60198 _ACEOF
60199
60200 fi
60201 done
60202
60203 ;;
60204 *-netbsd* | *-openbsd*)
60205 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60206
60207
60208 # If we're not using GNU ld, then there's no point in even trying these
60209 # tests. Check for that first. We should have already tested for gld
60210 # by now (in libtool), but require it now just to be safe...
60211 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60212 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60213
60214
60215
60216 # The name set by libtool depends on the version of libtool. Shame on us
60217 # for depending on an impl detail, but c'est la vie. Older versions used
60218 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60219 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60220 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60221 # set (hence we're using an older libtool), then set it.
60222 if test x${with_gnu_ld+set} != xset; then
60223 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60224 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60225 with_gnu_ld=no
60226 else
60227 with_gnu_ld=$ac_cv_prog_gnu_ld
60228 fi
60229 fi
60230
60231 # Start by getting the version number. I think the libtool test already
60232 # does some of this, but throws away the result.
60233 glibcxx_ld_is_gold=no
60234 if test x"$with_gnu_ld" = x"yes"; then
60235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60236 $as_echo_n "checking for ld version... " >&6; }
60237
60238 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60239 glibcxx_ld_is_gold=yes
60240 fi
60241 ldver=`$LD --version 2>/dev/null |
60242 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60243
60244 glibcxx_gnu_ld_version=`echo $ldver | \
60245 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60247 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60248 fi
60249
60250 # Set --gc-sections.
60251 glibcxx_have_gc_sections=no
60252 if test "$glibcxx_ld_is_gold" = "yes"; then
60253 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60254 glibcxx_have_gc_sections=yes
60255 fi
60256 else
60257 glibcxx_gcsections_min_ld=21602
60258 if test x"$with_gnu_ld" = x"yes" &&
60259 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60260 glibcxx_have_gc_sections=yes
60261 fi
60262 fi
60263 if test "$glibcxx_have_gc_sections" = "yes"; then
60264 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60265 # NB: This flag only works reliably after 2.16.1. Configure tests
60266 # for this are difficult, so hard wire a value that should work.
60267
60268 ac_test_CFLAGS="${CFLAGS+set}"
60269 ac_save_CFLAGS="$CFLAGS"
60270 CFLAGS='-Wl,--gc-sections'
60271
60272 # Check for -Wl,--gc-sections
60273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60274 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60275 if test x$gcc_no_link = xyes; then
60276 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60277 fi
60278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60279 /* end confdefs.h. */
60280 int one(void) { return 1; }
60281 int two(void) { return 2; }
60282
60283 int
60284 main ()
60285 {
60286 two();
60287 ;
60288 return 0;
60289 }
60290 _ACEOF
60291 if ac_fn_c_try_link "$LINENO"; then :
60292 ac_gcsections=yes
60293 else
60294 ac_gcsections=no
60295 fi
60296 rm -f core conftest.err conftest.$ac_objext \
60297 conftest$ac_exeext conftest.$ac_ext
60298 if test "$ac_gcsections" = "yes"; then
60299 rm -f conftest.c
60300 touch conftest.c
60301 if $CC -c conftest.c; then
60302 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60303 grep "Warning: gc-sections option ignored" > /dev/null; then
60304 ac_gcsections=no
60305 fi
60306 fi
60307 rm -f conftest.c conftest.o conftest
60308 fi
60309 if test "$ac_gcsections" = "yes"; then
60310 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60311 fi
60312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60313 $as_echo "$ac_gcsections" >&6; }
60314
60315 if test "$ac_test_CFLAGS" = set; then
60316 CFLAGS="$ac_save_CFLAGS"
60317 else
60318 # this is the suspicious part
60319 CFLAGS=''
60320 fi
60321 fi
60322
60323 # Set -z,relro.
60324 # Note this is only for shared objects.
60325 ac_ld_relro=no
60326 if test x"$with_gnu_ld" = x"yes"; then
60327 # cygwin and mingw uses PE, which has no ELF relro support,
60328 # multi target ld may confuse configure machinery
60329 case "$host" in
60330 *-*-cygwin*)
60331 ;;
60332 *-*-mingw*)
60333 ;;
60334 *)
60335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60336 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60337 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60338 if test -n "$cxx_z_relo"; then
60339 OPT_LDFLAGS="-Wl,-z,relro"
60340 ac_ld_relro=yes
60341 fi
60342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60343 $as_echo "$ac_ld_relro" >&6; }
60344 esac
60345 fi
60346
60347 # Set linker optimization flags.
60348 if test x"$with_gnu_ld" = x"yes"; then
60349 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60350 fi
60351
60352
60353
60354
60355 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
60356
60357 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
60358
60359 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
60360
60361 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
60362
60363 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
60364
60365 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
60366
60367 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
60368
60369 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
60370
60371 if test x"long_double_math_on_this_cpu" = x"yes"; then
60372 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
60373
60374 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
60375
60376 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
60377
60378 fi
60379 for ac_func in aligned_alloc posix_memalign memalign _aligned_malloc
60380 do :
60381 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
60382 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
60383 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
60384 cat >>confdefs.h <<_ACEOF
60385 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
60386 _ACEOF
60387
60388 fi
60389 done
60390
60391 for ac_func in timespec_get
60392 do :
60393 ac_fn_c_check_func "$LINENO" "timespec_get" "ac_cv_func_timespec_get"
60394 if test "x$ac_cv_func_timespec_get" = xyes; then :
60395 cat >>confdefs.h <<_ACEOF
60396 #define HAVE_TIMESPEC_GET 1
60397 _ACEOF
60398
60399 fi
60400 done
60401
60402 for ac_func in sockatmark
60403 do :
60404 ac_fn_c_check_func "$LINENO" "sockatmark" "ac_cv_func_sockatmark"
60405 if test "x$ac_cv_func_sockatmark" = xyes; then :
60406 cat >>confdefs.h <<_ACEOF
60407 #define HAVE_SOCKATMARK 1
60408 _ACEOF
60409
60410 fi
60411 done
60412
60413 ;;
60414 *-qnx6.1* | *-qnx6.2*)
60415 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60416
60417
60418 # If we're not using GNU ld, then there's no point in even trying these
60419 # tests. Check for that first. We should have already tested for gld
60420 # by now (in libtool), but require it now just to be safe...
60421 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60422 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60423
60424
60425
60426 # The name set by libtool depends on the version of libtool. Shame on us
60427 # for depending on an impl detail, but c'est la vie. Older versions used
60428 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60429 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60430 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60431 # set (hence we're using an older libtool), then set it.
60432 if test x${with_gnu_ld+set} != xset; then
60433 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60434 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60435 with_gnu_ld=no
60436 else
60437 with_gnu_ld=$ac_cv_prog_gnu_ld
60438 fi
60439 fi
60440
60441 # Start by getting the version number. I think the libtool test already
60442 # does some of this, but throws away the result.
60443 glibcxx_ld_is_gold=no
60444 if test x"$with_gnu_ld" = x"yes"; then
60445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60446 $as_echo_n "checking for ld version... " >&6; }
60447
60448 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60449 glibcxx_ld_is_gold=yes
60450 fi
60451 ldver=`$LD --version 2>/dev/null |
60452 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60453
60454 glibcxx_gnu_ld_version=`echo $ldver | \
60455 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60457 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60458 fi
60459
60460 # Set --gc-sections.
60461 glibcxx_have_gc_sections=no
60462 if test "$glibcxx_ld_is_gold" = "yes"; then
60463 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60464 glibcxx_have_gc_sections=yes
60465 fi
60466 else
60467 glibcxx_gcsections_min_ld=21602
60468 if test x"$with_gnu_ld" = x"yes" &&
60469 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60470 glibcxx_have_gc_sections=yes
60471 fi
60472 fi
60473 if test "$glibcxx_have_gc_sections" = "yes"; then
60474 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60475 # NB: This flag only works reliably after 2.16.1. Configure tests
60476 # for this are difficult, so hard wire a value that should work.
60477
60478 ac_test_CFLAGS="${CFLAGS+set}"
60479 ac_save_CFLAGS="$CFLAGS"
60480 CFLAGS='-Wl,--gc-sections'
60481
60482 # Check for -Wl,--gc-sections
60483 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60484 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60485 if test x$gcc_no_link = xyes; then
60486 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60487 fi
60488 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60489 /* end confdefs.h. */
60490 int one(void) { return 1; }
60491 int two(void) { return 2; }
60492
60493 int
60494 main ()
60495 {
60496 two();
60497 ;
60498 return 0;
60499 }
60500 _ACEOF
60501 if ac_fn_c_try_link "$LINENO"; then :
60502 ac_gcsections=yes
60503 else
60504 ac_gcsections=no
60505 fi
60506 rm -f core conftest.err conftest.$ac_objext \
60507 conftest$ac_exeext conftest.$ac_ext
60508 if test "$ac_gcsections" = "yes"; then
60509 rm -f conftest.c
60510 touch conftest.c
60511 if $CC -c conftest.c; then
60512 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60513 grep "Warning: gc-sections option ignored" > /dev/null; then
60514 ac_gcsections=no
60515 fi
60516 fi
60517 rm -f conftest.c conftest.o conftest
60518 fi
60519 if test "$ac_gcsections" = "yes"; then
60520 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60521 fi
60522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60523 $as_echo "$ac_gcsections" >&6; }
60524
60525 if test "$ac_test_CFLAGS" = set; then
60526 CFLAGS="$ac_save_CFLAGS"
60527 else
60528 # this is the suspicious part
60529 CFLAGS=''
60530 fi
60531 fi
60532
60533 # Set -z,relro.
60534 # Note this is only for shared objects.
60535 ac_ld_relro=no
60536 if test x"$with_gnu_ld" = x"yes"; then
60537 # cygwin and mingw uses PE, which has no ELF relro support,
60538 # multi target ld may confuse configure machinery
60539 case "$host" in
60540 *-*-cygwin*)
60541 ;;
60542 *-*-mingw*)
60543 ;;
60544 *)
60545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60546 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60547 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60548 if test -n "$cxx_z_relo"; then
60549 OPT_LDFLAGS="-Wl,-z,relro"
60550 ac_ld_relro=yes
60551 fi
60552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60553 $as_echo "$ac_ld_relro" >&6; }
60554 esac
60555 fi
60556
60557 # Set linker optimization flags.
60558 if test x"$with_gnu_ld" = x"yes"; then
60559 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60560 fi
60561
60562
60563
60564
60565 $as_echo "#define HAVE_COSF 1" >>confdefs.h
60566
60567 $as_echo "#define HAVE_COSL 1" >>confdefs.h
60568
60569 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
60570
60571 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
60572
60573 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
60574
60575 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
60576
60577 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
60578
60579 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
60580
60581 $as_echo "#define HAVE_SINF 1" >>confdefs.h
60582
60583 $as_echo "#define HAVE_SINL 1" >>confdefs.h
60584
60585 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
60586
60587 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
60588
60589 ;;
60590 *-rtems*)
60591
60592 # All these tests are for C++; save the language and the compiler flags.
60593 # The CXXFLAGS thing is suspicious, but based on similar bits previously
60594 # found in GLIBCXX_CONFIGURE.
60595
60596 ac_ext=cpp
60597 ac_cpp='$CXXCPP $CPPFLAGS'
60598 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60599 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60600 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60601
60602 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60603 ac_save_CXXFLAGS="$CXXFLAGS"
60604
60605 # Check for -ffunction-sections -fdata-sections
60606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for g++ that supports -ffunction-sections -fdata-sections" >&5
60607 $as_echo_n "checking for g++ that supports -ffunction-sections -fdata-sections... " >&6; }
60608 CXXFLAGS='-g -Werror -ffunction-sections -fdata-sections'
60609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60610 /* end confdefs.h. */
60611 int foo; void bar() { };
60612 int
60613 main ()
60614 {
60615
60616 ;
60617 return 0;
60618 }
60619 _ACEOF
60620 if ac_fn_cxx_try_compile "$LINENO"; then :
60621 ac_fdsections=yes
60622 else
60623 ac_fdsections=no
60624 fi
60625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60626 if test "$ac_test_CXXFLAGS" = set; then
60627 CXXFLAGS="$ac_save_CXXFLAGS"
60628 else
60629 # this is the suspicious part
60630 CXXFLAGS=''
60631 fi
60632 if test x"$ac_fdsections" = x"yes"; then
60633 SECTION_FLAGS='-ffunction-sections -fdata-sections'
60634 fi
60635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_fdsections" >&5
60636 $as_echo "$ac_fdsections" >&6; }
60637
60638 ac_ext=c
60639 ac_cpp='$CPP $CPPFLAGS'
60640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60643
60644
60645
60646
60647 # If we're not using GNU ld, then there's no point in even trying these
60648 # tests. Check for that first. We should have already tested for gld
60649 # by now (in libtool), but require it now just to be safe...
60650 test -z "$SECTION_LDFLAGS" && SECTION_LDFLAGS=''
60651 test -z "$OPT_LDFLAGS" && OPT_LDFLAGS=''
60652
60653
60654
60655 # The name set by libtool depends on the version of libtool. Shame on us
60656 # for depending on an impl detail, but c'est la vie. Older versions used
60657 # ac_cv_prog_gnu_ld, but now it's lt_cv_prog_gnu_ld, and is copied back on
60658 # top of with_gnu_ld (which is also set by --with-gnu-ld, so that actually
60659 # makes sense). We'll test with_gnu_ld everywhere else, so if that isn't
60660 # set (hence we're using an older libtool), then set it.
60661 if test x${with_gnu_ld+set} != xset; then
60662 if test x${ac_cv_prog_gnu_ld+set} != xset; then
60663 # We got through "ac_require(ac_prog_ld)" and still not set? Huh?
60664 with_gnu_ld=no
60665 else
60666 with_gnu_ld=$ac_cv_prog_gnu_ld
60667 fi
60668 fi
60669
60670 # Start by getting the version number. I think the libtool test already
60671 # does some of this, but throws away the result.
60672 glibcxx_ld_is_gold=no
60673 if test x"$with_gnu_ld" = x"yes"; then
60674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld version" >&5
60675 $as_echo_n "checking for ld version... " >&6; }
60676
60677 if $LD --version 2>/dev/null | grep 'GNU gold' >/dev/null 2>&1; then
60678 glibcxx_ld_is_gold=yes
60679 fi
60680 ldver=`$LD --version 2>/dev/null |
60681 sed -e 's/[. ][0-9]\{8\}$//;s/.* \([^ ]\{1,\}\)$/\1/; q'`
60682
60683 glibcxx_gnu_ld_version=`echo $ldver | \
60684 $AWK -F. '{ if (NF<3) $3=0; print ($1*100+$2)*100+$3 }'`
60685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_gnu_ld_version" >&5
60686 $as_echo "$glibcxx_gnu_ld_version" >&6; }
60687 fi
60688
60689 # Set --gc-sections.
60690 glibcxx_have_gc_sections=no
60691 if test "$glibcxx_ld_is_gold" = "yes"; then
60692 if $LD --help 2>/dev/null | grep gc-sections >/dev/null 2>&1; then
60693 glibcxx_have_gc_sections=yes
60694 fi
60695 else
60696 glibcxx_gcsections_min_ld=21602
60697 if test x"$with_gnu_ld" = x"yes" &&
60698 test $glibcxx_gnu_ld_version -gt $glibcxx_gcsections_min_ld ; then
60699 glibcxx_have_gc_sections=yes
60700 fi
60701 fi
60702 if test "$glibcxx_have_gc_sections" = "yes"; then
60703 # Sufficiently young GNU ld it is! Joy and bunny rabbits!
60704 # NB: This flag only works reliably after 2.16.1. Configure tests
60705 # for this are difficult, so hard wire a value that should work.
60706
60707 ac_test_CFLAGS="${CFLAGS+set}"
60708 ac_save_CFLAGS="$CFLAGS"
60709 CFLAGS='-Wl,--gc-sections'
60710
60711 # Check for -Wl,--gc-sections
60712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,--gc-sections" >&5
60713 $as_echo_n "checking for ld that supports -Wl,--gc-sections... " >&6; }
60714 if test x$gcc_no_link = xyes; then
60715 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60716 fi
60717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60718 /* end confdefs.h. */
60719 int one(void) { return 1; }
60720 int two(void) { return 2; }
60721
60722 int
60723 main ()
60724 {
60725 two();
60726 ;
60727 return 0;
60728 }
60729 _ACEOF
60730 if ac_fn_c_try_link "$LINENO"; then :
60731 ac_gcsections=yes
60732 else
60733 ac_gcsections=no
60734 fi
60735 rm -f core conftest.err conftest.$ac_objext \
60736 conftest$ac_exeext conftest.$ac_ext
60737 if test "$ac_gcsections" = "yes"; then
60738 rm -f conftest.c
60739 touch conftest.c
60740 if $CC -c conftest.c; then
60741 if $LD --gc-sections -o conftest conftest.o 2>&1 | \
60742 grep "Warning: gc-sections option ignored" > /dev/null; then
60743 ac_gcsections=no
60744 fi
60745 fi
60746 rm -f conftest.c conftest.o conftest
60747 fi
60748 if test "$ac_gcsections" = "yes"; then
60749 SECTION_LDFLAGS="-Wl,--gc-sections $SECTION_LDFLAGS"
60750 fi
60751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_gcsections" >&5
60752 $as_echo "$ac_gcsections" >&6; }
60753
60754 if test "$ac_test_CFLAGS" = set; then
60755 CFLAGS="$ac_save_CFLAGS"
60756 else
60757 # this is the suspicious part
60758 CFLAGS=''
60759 fi
60760 fi
60761
60762 # Set -z,relro.
60763 # Note this is only for shared objects.
60764 ac_ld_relro=no
60765 if test x"$with_gnu_ld" = x"yes"; then
60766 # cygwin and mingw uses PE, which has no ELF relro support,
60767 # multi target ld may confuse configure machinery
60768 case "$host" in
60769 *-*-cygwin*)
60770 ;;
60771 *-*-mingw*)
60772 ;;
60773 *)
60774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ld that supports -Wl,-z,relro" >&5
60775 $as_echo_n "checking for ld that supports -Wl,-z,relro... " >&6; }
60776 cxx_z_relo=`$LD -v --help 2>/dev/null | grep "z relro"`
60777 if test -n "$cxx_z_relo"; then
60778 OPT_LDFLAGS="-Wl,-z,relro"
60779 ac_ld_relro=yes
60780 fi
60781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ld_relro" >&5
60782 $as_echo "$ac_ld_relro" >&6; }
60783 esac
60784 fi
60785
60786 # Set linker optimization flags.
60787 if test x"$with_gnu_ld" = x"yes"; then
60788 OPT_LDFLAGS="-Wl,-O1 $OPT_LDFLAGS"
60789 fi
60790
60791
60792
60793
60794
60795 ac_test_CXXFLAGS="${CXXFLAGS+set}"
60796 ac_save_CXXFLAGS="$CXXFLAGS"
60797 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
60798
60799 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
60800 $as_echo_n "checking for sin in -lm... " >&6; }
60801 if ${ac_cv_lib_m_sin+:} false; then :
60802 $as_echo_n "(cached) " >&6
60803 else
60804 ac_check_lib_save_LIBS=$LIBS
60805 LIBS="-lm $LIBS"
60806 if test x$gcc_no_link = xyes; then
60807 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
60808 fi
60809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60810 /* end confdefs.h. */
60811
60812 /* Override any GCC internal prototype to avoid an error.
60813 Use char because int might match the return type of a GCC
60814 builtin and then its argument prototype would still apply. */
60815 #ifdef __cplusplus
60816 extern "C"
60817 #endif
60818 char sin ();
60819 int
60820 main ()
60821 {
60822 return sin ();
60823 ;
60824 return 0;
60825 }
60826 _ACEOF
60827 if ac_fn_c_try_link "$LINENO"; then :
60828 ac_cv_lib_m_sin=yes
60829 else
60830 ac_cv_lib_m_sin=no
60831 fi
60832 rm -f core conftest.err conftest.$ac_objext \
60833 conftest$ac_exeext conftest.$ac_ext
60834 LIBS=$ac_check_lib_save_LIBS
60835 fi
60836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
60837 $as_echo "$ac_cv_lib_m_sin" >&6; }
60838 if test "x$ac_cv_lib_m_sin" = xyes; then :
60839 libm="-lm"
60840 fi
60841
60842 ac_save_LIBS="$LIBS"
60843 LIBS="$LIBS $libm"
60844
60845
60846
60847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
60848 $as_echo_n "checking for isinf declaration... " >&6; }
60849 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
60850 if ${glibcxx_cv_func_isinf_use+:} false; then :
60851 $as_echo_n "(cached) " >&6
60852 else
60853
60854
60855 ac_ext=cpp
60856 ac_cpp='$CXXCPP $CPPFLAGS'
60857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60860
60861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60862 /* end confdefs.h. */
60863 #include <math.h>
60864 #ifdef HAVE_IEEEFP_H
60865 #include <ieeefp.h>
60866 #endif
60867
60868 int
60869 main ()
60870 {
60871 isinf(0);
60872 ;
60873 return 0;
60874 }
60875 _ACEOF
60876 if ac_fn_cxx_try_compile "$LINENO"; then :
60877 glibcxx_cv_func_isinf_use=yes
60878 else
60879 glibcxx_cv_func_isinf_use=no
60880 fi
60881 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60882 ac_ext=c
60883 ac_cpp='$CPP $CPPFLAGS'
60884 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60885 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60886 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60887
60888
60889 fi
60890
60891 fi
60892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
60893 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
60894
60895 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
60896 for ac_func in isinf
60897 do :
60898 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
60899 if test "x$ac_cv_func_isinf" = xyes; then :
60900 cat >>confdefs.h <<_ACEOF
60901 #define HAVE_ISINF 1
60902 _ACEOF
60903
60904 fi
60905 done
60906
60907 else
60908
60909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
60910 $as_echo_n "checking for _isinf declaration... " >&6; }
60911 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
60912 if ${glibcxx_cv_func__isinf_use+:} false; then :
60913 $as_echo_n "(cached) " >&6
60914 else
60915
60916
60917 ac_ext=cpp
60918 ac_cpp='$CXXCPP $CPPFLAGS'
60919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60922
60923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60924 /* end confdefs.h. */
60925 #include <math.h>
60926 #ifdef HAVE_IEEEFP_H
60927 #include <ieeefp.h>
60928 #endif
60929
60930 int
60931 main ()
60932 {
60933 _isinf(0);
60934 ;
60935 return 0;
60936 }
60937 _ACEOF
60938 if ac_fn_cxx_try_compile "$LINENO"; then :
60939 glibcxx_cv_func__isinf_use=yes
60940 else
60941 glibcxx_cv_func__isinf_use=no
60942 fi
60943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
60944 ac_ext=c
60945 ac_cpp='$CPP $CPPFLAGS'
60946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
60949
60950
60951 fi
60952
60953 fi
60954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
60955 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
60956
60957 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
60958 for ac_func in _isinf
60959 do :
60960 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
60961 if test "x$ac_cv_func__isinf" = xyes; then :
60962 cat >>confdefs.h <<_ACEOF
60963 #define HAVE__ISINF 1
60964 _ACEOF
60965
60966 fi
60967 done
60968
60969 fi
60970 fi
60971
60972
60973
60974
60975
60976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
60977 $as_echo_n "checking for isnan declaration... " >&6; }
60978 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
60979 if ${glibcxx_cv_func_isnan_use+:} false; then :
60980 $as_echo_n "(cached) " >&6
60981 else
60982
60983
60984 ac_ext=cpp
60985 ac_cpp='$CXXCPP $CPPFLAGS'
60986 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
60987 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
60988 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
60989
60990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
60991 /* end confdefs.h. */
60992 #include <math.h>
60993 #ifdef HAVE_IEEEFP_H
60994 #include <ieeefp.h>
60995 #endif
60996
60997 int
60998 main ()
60999 {
61000 isnan(0);
61001 ;
61002 return 0;
61003 }
61004 _ACEOF
61005 if ac_fn_cxx_try_compile "$LINENO"; then :
61006 glibcxx_cv_func_isnan_use=yes
61007 else
61008 glibcxx_cv_func_isnan_use=no
61009 fi
61010 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61011 ac_ext=c
61012 ac_cpp='$CPP $CPPFLAGS'
61013 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61014 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61015 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61016
61017
61018 fi
61019
61020 fi
61021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
61022 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
61023
61024 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
61025 for ac_func in isnan
61026 do :
61027 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
61028 if test "x$ac_cv_func_isnan" = xyes; then :
61029 cat >>confdefs.h <<_ACEOF
61030 #define HAVE_ISNAN 1
61031 _ACEOF
61032
61033 fi
61034 done
61035
61036 else
61037
61038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
61039 $as_echo_n "checking for _isnan declaration... " >&6; }
61040 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
61041 if ${glibcxx_cv_func__isnan_use+:} false; then :
61042 $as_echo_n "(cached) " >&6
61043 else
61044
61045
61046 ac_ext=cpp
61047 ac_cpp='$CXXCPP $CPPFLAGS'
61048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61051
61052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61053 /* end confdefs.h. */
61054 #include <math.h>
61055 #ifdef HAVE_IEEEFP_H
61056 #include <ieeefp.h>
61057 #endif
61058
61059 int
61060 main ()
61061 {
61062 _isnan(0);
61063 ;
61064 return 0;
61065 }
61066 _ACEOF
61067 if ac_fn_cxx_try_compile "$LINENO"; then :
61068 glibcxx_cv_func__isnan_use=yes
61069 else
61070 glibcxx_cv_func__isnan_use=no
61071 fi
61072 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61073 ac_ext=c
61074 ac_cpp='$CPP $CPPFLAGS'
61075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61078
61079
61080 fi
61081
61082 fi
61083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
61084 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
61085
61086 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
61087 for ac_func in _isnan
61088 do :
61089 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
61090 if test "x$ac_cv_func__isnan" = xyes; then :
61091 cat >>confdefs.h <<_ACEOF
61092 #define HAVE__ISNAN 1
61093 _ACEOF
61094
61095 fi
61096 done
61097
61098 fi
61099 fi
61100
61101
61102
61103
61104
61105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
61106 $as_echo_n "checking for finite declaration... " >&6; }
61107 if test x${glibcxx_cv_func_finite_use+set} != xset; then
61108 if ${glibcxx_cv_func_finite_use+:} false; then :
61109 $as_echo_n "(cached) " >&6
61110 else
61111
61112
61113 ac_ext=cpp
61114 ac_cpp='$CXXCPP $CPPFLAGS'
61115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61118
61119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61120 /* end confdefs.h. */
61121 #include <math.h>
61122 #ifdef HAVE_IEEEFP_H
61123 #include <ieeefp.h>
61124 #endif
61125
61126 int
61127 main ()
61128 {
61129 finite(0);
61130 ;
61131 return 0;
61132 }
61133 _ACEOF
61134 if ac_fn_cxx_try_compile "$LINENO"; then :
61135 glibcxx_cv_func_finite_use=yes
61136 else
61137 glibcxx_cv_func_finite_use=no
61138 fi
61139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61140 ac_ext=c
61141 ac_cpp='$CPP $CPPFLAGS'
61142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61145
61146
61147 fi
61148
61149 fi
61150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
61151 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
61152
61153 if test x$glibcxx_cv_func_finite_use = x"yes"; then
61154 for ac_func in finite
61155 do :
61156 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
61157 if test "x$ac_cv_func_finite" = xyes; then :
61158 cat >>confdefs.h <<_ACEOF
61159 #define HAVE_FINITE 1
61160 _ACEOF
61161
61162 fi
61163 done
61164
61165 else
61166
61167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
61168 $as_echo_n "checking for _finite declaration... " >&6; }
61169 if test x${glibcxx_cv_func__finite_use+set} != xset; then
61170 if ${glibcxx_cv_func__finite_use+:} false; then :
61171 $as_echo_n "(cached) " >&6
61172 else
61173
61174
61175 ac_ext=cpp
61176 ac_cpp='$CXXCPP $CPPFLAGS'
61177 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61178 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61179 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61180
61181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61182 /* end confdefs.h. */
61183 #include <math.h>
61184 #ifdef HAVE_IEEEFP_H
61185 #include <ieeefp.h>
61186 #endif
61187
61188 int
61189 main ()
61190 {
61191 _finite(0);
61192 ;
61193 return 0;
61194 }
61195 _ACEOF
61196 if ac_fn_cxx_try_compile "$LINENO"; then :
61197 glibcxx_cv_func__finite_use=yes
61198 else
61199 glibcxx_cv_func__finite_use=no
61200 fi
61201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61202 ac_ext=c
61203 ac_cpp='$CPP $CPPFLAGS'
61204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61207
61208
61209 fi
61210
61211 fi
61212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
61213 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
61214
61215 if test x$glibcxx_cv_func__finite_use = x"yes"; then
61216 for ac_func in _finite
61217 do :
61218 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
61219 if test "x$ac_cv_func__finite" = xyes; then :
61220 cat >>confdefs.h <<_ACEOF
61221 #define HAVE__FINITE 1
61222 _ACEOF
61223
61224 fi
61225 done
61226
61227 fi
61228 fi
61229
61230
61231
61232
61233
61234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
61235 $as_echo_n "checking for sincos declaration... " >&6; }
61236 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
61237 if ${glibcxx_cv_func_sincos_use+:} false; then :
61238 $as_echo_n "(cached) " >&6
61239 else
61240
61241
61242 ac_ext=cpp
61243 ac_cpp='$CXXCPP $CPPFLAGS'
61244 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61245 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61246 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61247
61248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61249 /* end confdefs.h. */
61250 #include <math.h>
61251 int
61252 main ()
61253 {
61254 sincos(0, 0, 0);
61255 ;
61256 return 0;
61257 }
61258 _ACEOF
61259 if ac_fn_cxx_try_compile "$LINENO"; then :
61260 glibcxx_cv_func_sincos_use=yes
61261 else
61262 glibcxx_cv_func_sincos_use=no
61263 fi
61264 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61265 ac_ext=c
61266 ac_cpp='$CPP $CPPFLAGS'
61267 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61268 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61269 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61270
61271
61272 fi
61273
61274 fi
61275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
61276 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
61277
61278 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
61279 for ac_func in sincos
61280 do :
61281 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
61282 if test "x$ac_cv_func_sincos" = xyes; then :
61283 cat >>confdefs.h <<_ACEOF
61284 #define HAVE_SINCOS 1
61285 _ACEOF
61286
61287 fi
61288 done
61289
61290 else
61291
61292 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
61293 $as_echo_n "checking for _sincos declaration... " >&6; }
61294 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
61295 if ${glibcxx_cv_func__sincos_use+:} false; then :
61296 $as_echo_n "(cached) " >&6
61297 else
61298
61299
61300 ac_ext=cpp
61301 ac_cpp='$CXXCPP $CPPFLAGS'
61302 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61303 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61304 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61305
61306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61307 /* end confdefs.h. */
61308 #include <math.h>
61309 int
61310 main ()
61311 {
61312 _sincos(0, 0, 0);
61313 ;
61314 return 0;
61315 }
61316 _ACEOF
61317 if ac_fn_cxx_try_compile "$LINENO"; then :
61318 glibcxx_cv_func__sincos_use=yes
61319 else
61320 glibcxx_cv_func__sincos_use=no
61321 fi
61322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61323 ac_ext=c
61324 ac_cpp='$CPP $CPPFLAGS'
61325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61328
61329
61330 fi
61331
61332 fi
61333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
61334 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
61335
61336 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
61337 for ac_func in _sincos
61338 do :
61339 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
61340 if test "x$ac_cv_func__sincos" = xyes; then :
61341 cat >>confdefs.h <<_ACEOF
61342 #define HAVE__SINCOS 1
61343 _ACEOF
61344
61345 fi
61346 done
61347
61348 fi
61349 fi
61350
61351
61352
61353
61354
61355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
61356 $as_echo_n "checking for fpclass declaration... " >&6; }
61357 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
61358 if ${glibcxx_cv_func_fpclass_use+:} false; then :
61359 $as_echo_n "(cached) " >&6
61360 else
61361
61362
61363 ac_ext=cpp
61364 ac_cpp='$CXXCPP $CPPFLAGS'
61365 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61366 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61367 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61368
61369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61370 /* end confdefs.h. */
61371 #include <math.h>
61372 #ifdef HAVE_IEEEFP_H
61373 #include <ieeefp.h>
61374 #endif
61375
61376 int
61377 main ()
61378 {
61379 fpclass(0);
61380 ;
61381 return 0;
61382 }
61383 _ACEOF
61384 if ac_fn_cxx_try_compile "$LINENO"; then :
61385 glibcxx_cv_func_fpclass_use=yes
61386 else
61387 glibcxx_cv_func_fpclass_use=no
61388 fi
61389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61390 ac_ext=c
61391 ac_cpp='$CPP $CPPFLAGS'
61392 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61393 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61394 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61395
61396
61397 fi
61398
61399 fi
61400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
61401 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
61402
61403 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
61404 for ac_func in fpclass
61405 do :
61406 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
61407 if test "x$ac_cv_func_fpclass" = xyes; then :
61408 cat >>confdefs.h <<_ACEOF
61409 #define HAVE_FPCLASS 1
61410 _ACEOF
61411
61412 fi
61413 done
61414
61415 else
61416
61417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
61418 $as_echo_n "checking for _fpclass declaration... " >&6; }
61419 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
61420 if ${glibcxx_cv_func__fpclass_use+:} false; then :
61421 $as_echo_n "(cached) " >&6
61422 else
61423
61424
61425 ac_ext=cpp
61426 ac_cpp='$CXXCPP $CPPFLAGS'
61427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61430
61431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61432 /* end confdefs.h. */
61433 #include <math.h>
61434 #ifdef HAVE_IEEEFP_H
61435 #include <ieeefp.h>
61436 #endif
61437
61438 int
61439 main ()
61440 {
61441 _fpclass(0);
61442 ;
61443 return 0;
61444 }
61445 _ACEOF
61446 if ac_fn_cxx_try_compile "$LINENO"; then :
61447 glibcxx_cv_func__fpclass_use=yes
61448 else
61449 glibcxx_cv_func__fpclass_use=no
61450 fi
61451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61452 ac_ext=c
61453 ac_cpp='$CPP $CPPFLAGS'
61454 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61455 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61456 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61457
61458
61459 fi
61460
61461 fi
61462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
61463 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
61464
61465 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
61466 for ac_func in _fpclass
61467 do :
61468 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
61469 if test "x$ac_cv_func__fpclass" = xyes; then :
61470 cat >>confdefs.h <<_ACEOF
61471 #define HAVE__FPCLASS 1
61472 _ACEOF
61473
61474 fi
61475 done
61476
61477 fi
61478 fi
61479
61480
61481
61482
61483
61484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
61485 $as_echo_n "checking for qfpclass declaration... " >&6; }
61486 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
61487 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
61488 $as_echo_n "(cached) " >&6
61489 else
61490
61491
61492 ac_ext=cpp
61493 ac_cpp='$CXXCPP $CPPFLAGS'
61494 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61495 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61496 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61497
61498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61499 /* end confdefs.h. */
61500 #include <math.h>
61501 #ifdef HAVE_IEEEFP_H
61502 #include <ieeefp.h>
61503 #endif
61504
61505 int
61506 main ()
61507 {
61508 qfpclass(0);
61509 ;
61510 return 0;
61511 }
61512 _ACEOF
61513 if ac_fn_cxx_try_compile "$LINENO"; then :
61514 glibcxx_cv_func_qfpclass_use=yes
61515 else
61516 glibcxx_cv_func_qfpclass_use=no
61517 fi
61518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61519 ac_ext=c
61520 ac_cpp='$CPP $CPPFLAGS'
61521 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61522 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61523 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61524
61525
61526 fi
61527
61528 fi
61529 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
61530 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
61531
61532 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
61533 for ac_func in qfpclass
61534 do :
61535 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
61536 if test "x$ac_cv_func_qfpclass" = xyes; then :
61537 cat >>confdefs.h <<_ACEOF
61538 #define HAVE_QFPCLASS 1
61539 _ACEOF
61540
61541 fi
61542 done
61543
61544 else
61545
61546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
61547 $as_echo_n "checking for _qfpclass declaration... " >&6; }
61548 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
61549 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
61550 $as_echo_n "(cached) " >&6
61551 else
61552
61553
61554 ac_ext=cpp
61555 ac_cpp='$CXXCPP $CPPFLAGS'
61556 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61557 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61558 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61559
61560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61561 /* end confdefs.h. */
61562 #include <math.h>
61563 #ifdef HAVE_IEEEFP_H
61564 #include <ieeefp.h>
61565 #endif
61566
61567 int
61568 main ()
61569 {
61570 _qfpclass(0);
61571 ;
61572 return 0;
61573 }
61574 _ACEOF
61575 if ac_fn_cxx_try_compile "$LINENO"; then :
61576 glibcxx_cv_func__qfpclass_use=yes
61577 else
61578 glibcxx_cv_func__qfpclass_use=no
61579 fi
61580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61581 ac_ext=c
61582 ac_cpp='$CPP $CPPFLAGS'
61583 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61584 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61585 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61586
61587
61588 fi
61589
61590 fi
61591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
61592 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
61593
61594 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
61595 for ac_func in _qfpclass
61596 do :
61597 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
61598 if test "x$ac_cv_func__qfpclass" = xyes; then :
61599 cat >>confdefs.h <<_ACEOF
61600 #define HAVE__QFPCLASS 1
61601 _ACEOF
61602
61603 fi
61604 done
61605
61606 fi
61607 fi
61608
61609
61610
61611
61612
61613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
61614 $as_echo_n "checking for hypot declaration... " >&6; }
61615 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
61616 if ${glibcxx_cv_func_hypot_use+:} false; then :
61617 $as_echo_n "(cached) " >&6
61618 else
61619
61620
61621 ac_ext=cpp
61622 ac_cpp='$CXXCPP $CPPFLAGS'
61623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61626
61627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61628 /* end confdefs.h. */
61629 #include <math.h>
61630 int
61631 main ()
61632 {
61633 hypot(0, 0);
61634 ;
61635 return 0;
61636 }
61637 _ACEOF
61638 if ac_fn_cxx_try_compile "$LINENO"; then :
61639 glibcxx_cv_func_hypot_use=yes
61640 else
61641 glibcxx_cv_func_hypot_use=no
61642 fi
61643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61644 ac_ext=c
61645 ac_cpp='$CPP $CPPFLAGS'
61646 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61647 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61648 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61649
61650
61651 fi
61652
61653 fi
61654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
61655 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
61656
61657 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
61658 for ac_func in hypot
61659 do :
61660 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
61661 if test "x$ac_cv_func_hypot" = xyes; then :
61662 cat >>confdefs.h <<_ACEOF
61663 #define HAVE_HYPOT 1
61664 _ACEOF
61665
61666 fi
61667 done
61668
61669 else
61670
61671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
61672 $as_echo_n "checking for _hypot declaration... " >&6; }
61673 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
61674 if ${glibcxx_cv_func__hypot_use+:} false; then :
61675 $as_echo_n "(cached) " >&6
61676 else
61677
61678
61679 ac_ext=cpp
61680 ac_cpp='$CXXCPP $CPPFLAGS'
61681 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61682 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61683 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61684
61685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61686 /* end confdefs.h. */
61687 #include <math.h>
61688 int
61689 main ()
61690 {
61691 _hypot(0, 0);
61692 ;
61693 return 0;
61694 }
61695 _ACEOF
61696 if ac_fn_cxx_try_compile "$LINENO"; then :
61697 glibcxx_cv_func__hypot_use=yes
61698 else
61699 glibcxx_cv_func__hypot_use=no
61700 fi
61701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61702 ac_ext=c
61703 ac_cpp='$CPP $CPPFLAGS'
61704 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61705 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61706 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61707
61708
61709 fi
61710
61711 fi
61712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
61713 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
61714
61715 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
61716 for ac_func in _hypot
61717 do :
61718 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
61719 if test "x$ac_cv_func__hypot" = xyes; then :
61720 cat >>confdefs.h <<_ACEOF
61721 #define HAVE__HYPOT 1
61722 _ACEOF
61723
61724 fi
61725 done
61726
61727 fi
61728 fi
61729
61730
61731
61732
61733
61734 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
61735 $as_echo_n "checking for float trig functions... " >&6; }
61736 if ${glibcxx_cv_func_float_trig_use+:} false; then :
61737 $as_echo_n "(cached) " >&6
61738 else
61739
61740
61741 ac_ext=cpp
61742 ac_cpp='$CXXCPP $CPPFLAGS'
61743 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61744 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61745 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61746
61747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61748 /* end confdefs.h. */
61749 #include <math.h>
61750 int
61751 main ()
61752 {
61753 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
61754 ;
61755 return 0;
61756 }
61757 _ACEOF
61758 if ac_fn_cxx_try_compile "$LINENO"; then :
61759 glibcxx_cv_func_float_trig_use=yes
61760 else
61761 glibcxx_cv_func_float_trig_use=no
61762 fi
61763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61764 ac_ext=c
61765 ac_cpp='$CPP $CPPFLAGS'
61766 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61767 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61768 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61769
61770 fi
61771
61772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
61773 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
61774 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
61775 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
61776 do :
61777 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61778 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61779 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61780 cat >>confdefs.h <<_ACEOF
61781 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61782 _ACEOF
61783
61784 fi
61785 done
61786
61787 else
61788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
61789 $as_echo_n "checking for _float trig functions... " >&6; }
61790 if ${glibcxx_cv_func__float_trig_use+:} false; then :
61791 $as_echo_n "(cached) " >&6
61792 else
61793
61794
61795 ac_ext=cpp
61796 ac_cpp='$CXXCPP $CPPFLAGS'
61797 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61798 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61799 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61800
61801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61802 /* end confdefs.h. */
61803 #include <math.h>
61804 int
61805 main ()
61806 {
61807 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
61808 ;
61809 return 0;
61810 }
61811 _ACEOF
61812 if ac_fn_cxx_try_compile "$LINENO"; then :
61813 glibcxx_cv_func__float_trig_use=yes
61814 else
61815 glibcxx_cv_func__float_trig_use=no
61816 fi
61817 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61818 ac_ext=c
61819 ac_cpp='$CPP $CPPFLAGS'
61820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61823
61824 fi
61825
61826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
61827 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
61828 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
61829 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
61830 do :
61831 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61832 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61833 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61834 cat >>confdefs.h <<_ACEOF
61835 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61836 _ACEOF
61837
61838 fi
61839 done
61840
61841 fi
61842 fi
61843
61844
61845
61846
61847
61848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
61849 $as_echo_n "checking for float round functions... " >&6; }
61850 if ${glibcxx_cv_func_float_round_use+:} false; then :
61851 $as_echo_n "(cached) " >&6
61852 else
61853
61854
61855 ac_ext=cpp
61856 ac_cpp='$CXXCPP $CPPFLAGS'
61857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61860
61861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61862 /* end confdefs.h. */
61863 #include <math.h>
61864 int
61865 main ()
61866 {
61867 ceilf (0); floorf (0);
61868 ;
61869 return 0;
61870 }
61871 _ACEOF
61872 if ac_fn_cxx_try_compile "$LINENO"; then :
61873 glibcxx_cv_func_float_round_use=yes
61874 else
61875 glibcxx_cv_func_float_round_use=no
61876 fi
61877 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61878 ac_ext=c
61879 ac_cpp='$CPP $CPPFLAGS'
61880 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61881 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61882 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61883
61884 fi
61885
61886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
61887 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
61888 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
61889 for ac_func in ceilf floorf
61890 do :
61891 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61892 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61893 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61894 cat >>confdefs.h <<_ACEOF
61895 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61896 _ACEOF
61897
61898 fi
61899 done
61900
61901 else
61902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
61903 $as_echo_n "checking for _float round functions... " >&6; }
61904 if ${glibcxx_cv_func__float_round_use+:} false; then :
61905 $as_echo_n "(cached) " >&6
61906 else
61907
61908
61909 ac_ext=cpp
61910 ac_cpp='$CXXCPP $CPPFLAGS'
61911 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61912 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61913 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61914
61915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61916 /* end confdefs.h. */
61917 #include <math.h>
61918 int
61919 main ()
61920 {
61921 _ceilf (0); _floorf (0);
61922 ;
61923 return 0;
61924 }
61925 _ACEOF
61926 if ac_fn_cxx_try_compile "$LINENO"; then :
61927 glibcxx_cv_func__float_round_use=yes
61928 else
61929 glibcxx_cv_func__float_round_use=no
61930 fi
61931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61932 ac_ext=c
61933 ac_cpp='$CPP $CPPFLAGS'
61934 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61935 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61936 ac_compiler_gnu=$ac_cv_c_compiler_gnu
61937
61938 fi
61939
61940 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
61941 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
61942 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
61943 for ac_func in _ceilf _floorf
61944 do :
61945 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
61946 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
61947 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
61948 cat >>confdefs.h <<_ACEOF
61949 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
61950 _ACEOF
61951
61952 fi
61953 done
61954
61955 fi
61956 fi
61957
61958
61959
61960
61961
61962
61963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
61964 $as_echo_n "checking for expf declaration... " >&6; }
61965 if test x${glibcxx_cv_func_expf_use+set} != xset; then
61966 if ${glibcxx_cv_func_expf_use+:} false; then :
61967 $as_echo_n "(cached) " >&6
61968 else
61969
61970
61971 ac_ext=cpp
61972 ac_cpp='$CXXCPP $CPPFLAGS'
61973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
61974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
61975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
61976
61977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
61978 /* end confdefs.h. */
61979 #include <math.h>
61980 #ifdef HAVE_IEEEFP_H
61981 #include <ieeefp.h>
61982 #endif
61983
61984 int
61985 main ()
61986 {
61987 expf(0);
61988 ;
61989 return 0;
61990 }
61991 _ACEOF
61992 if ac_fn_cxx_try_compile "$LINENO"; then :
61993 glibcxx_cv_func_expf_use=yes
61994 else
61995 glibcxx_cv_func_expf_use=no
61996 fi
61997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
61998 ac_ext=c
61999 ac_cpp='$CPP $CPPFLAGS'
62000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62003
62004
62005 fi
62006
62007 fi
62008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
62009 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
62010
62011 if test x$glibcxx_cv_func_expf_use = x"yes"; then
62012 for ac_func in expf
62013 do :
62014 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
62015 if test "x$ac_cv_func_expf" = xyes; then :
62016 cat >>confdefs.h <<_ACEOF
62017 #define HAVE_EXPF 1
62018 _ACEOF
62019
62020 fi
62021 done
62022
62023 else
62024
62025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
62026 $as_echo_n "checking for _expf declaration... " >&6; }
62027 if test x${glibcxx_cv_func__expf_use+set} != xset; then
62028 if ${glibcxx_cv_func__expf_use+:} false; then :
62029 $as_echo_n "(cached) " >&6
62030 else
62031
62032
62033 ac_ext=cpp
62034 ac_cpp='$CXXCPP $CPPFLAGS'
62035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62038
62039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62040 /* end confdefs.h. */
62041 #include <math.h>
62042 #ifdef HAVE_IEEEFP_H
62043 #include <ieeefp.h>
62044 #endif
62045
62046 int
62047 main ()
62048 {
62049 _expf(0);
62050 ;
62051 return 0;
62052 }
62053 _ACEOF
62054 if ac_fn_cxx_try_compile "$LINENO"; then :
62055 glibcxx_cv_func__expf_use=yes
62056 else
62057 glibcxx_cv_func__expf_use=no
62058 fi
62059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62060 ac_ext=c
62061 ac_cpp='$CPP $CPPFLAGS'
62062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62065
62066
62067 fi
62068
62069 fi
62070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
62071 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
62072
62073 if test x$glibcxx_cv_func__expf_use = x"yes"; then
62074 for ac_func in _expf
62075 do :
62076 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
62077 if test "x$ac_cv_func__expf" = xyes; then :
62078 cat >>confdefs.h <<_ACEOF
62079 #define HAVE__EXPF 1
62080 _ACEOF
62081
62082 fi
62083 done
62084
62085 fi
62086 fi
62087
62088
62089
62090
62091
62092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
62093 $as_echo_n "checking for isnanf declaration... " >&6; }
62094 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
62095 if ${glibcxx_cv_func_isnanf_use+:} false; then :
62096 $as_echo_n "(cached) " >&6
62097 else
62098
62099
62100 ac_ext=cpp
62101 ac_cpp='$CXXCPP $CPPFLAGS'
62102 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62103 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62104 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62105
62106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62107 /* end confdefs.h. */
62108 #include <math.h>
62109 #ifdef HAVE_IEEEFP_H
62110 #include <ieeefp.h>
62111 #endif
62112
62113 int
62114 main ()
62115 {
62116 isnanf(0);
62117 ;
62118 return 0;
62119 }
62120 _ACEOF
62121 if ac_fn_cxx_try_compile "$LINENO"; then :
62122 glibcxx_cv_func_isnanf_use=yes
62123 else
62124 glibcxx_cv_func_isnanf_use=no
62125 fi
62126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62127 ac_ext=c
62128 ac_cpp='$CPP $CPPFLAGS'
62129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62132
62133
62134 fi
62135
62136 fi
62137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
62138 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
62139
62140 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
62141 for ac_func in isnanf
62142 do :
62143 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
62144 if test "x$ac_cv_func_isnanf" = xyes; then :
62145 cat >>confdefs.h <<_ACEOF
62146 #define HAVE_ISNANF 1
62147 _ACEOF
62148
62149 fi
62150 done
62151
62152 else
62153
62154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
62155 $as_echo_n "checking for _isnanf declaration... " >&6; }
62156 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
62157 if ${glibcxx_cv_func__isnanf_use+:} false; then :
62158 $as_echo_n "(cached) " >&6
62159 else
62160
62161
62162 ac_ext=cpp
62163 ac_cpp='$CXXCPP $CPPFLAGS'
62164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62167
62168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62169 /* end confdefs.h. */
62170 #include <math.h>
62171 #ifdef HAVE_IEEEFP_H
62172 #include <ieeefp.h>
62173 #endif
62174
62175 int
62176 main ()
62177 {
62178 _isnanf(0);
62179 ;
62180 return 0;
62181 }
62182 _ACEOF
62183 if ac_fn_cxx_try_compile "$LINENO"; then :
62184 glibcxx_cv_func__isnanf_use=yes
62185 else
62186 glibcxx_cv_func__isnanf_use=no
62187 fi
62188 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62189 ac_ext=c
62190 ac_cpp='$CPP $CPPFLAGS'
62191 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62192 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62193 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62194
62195
62196 fi
62197
62198 fi
62199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
62200 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
62201
62202 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
62203 for ac_func in _isnanf
62204 do :
62205 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
62206 if test "x$ac_cv_func__isnanf" = xyes; then :
62207 cat >>confdefs.h <<_ACEOF
62208 #define HAVE__ISNANF 1
62209 _ACEOF
62210
62211 fi
62212 done
62213
62214 fi
62215 fi
62216
62217
62218
62219
62220
62221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
62222 $as_echo_n "checking for isinff declaration... " >&6; }
62223 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
62224 if ${glibcxx_cv_func_isinff_use+:} false; then :
62225 $as_echo_n "(cached) " >&6
62226 else
62227
62228
62229 ac_ext=cpp
62230 ac_cpp='$CXXCPP $CPPFLAGS'
62231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62234
62235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62236 /* end confdefs.h. */
62237 #include <math.h>
62238 #ifdef HAVE_IEEEFP_H
62239 #include <ieeefp.h>
62240 #endif
62241
62242 int
62243 main ()
62244 {
62245 isinff(0);
62246 ;
62247 return 0;
62248 }
62249 _ACEOF
62250 if ac_fn_cxx_try_compile "$LINENO"; then :
62251 glibcxx_cv_func_isinff_use=yes
62252 else
62253 glibcxx_cv_func_isinff_use=no
62254 fi
62255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62256 ac_ext=c
62257 ac_cpp='$CPP $CPPFLAGS'
62258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62261
62262
62263 fi
62264
62265 fi
62266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
62267 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
62268
62269 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
62270 for ac_func in isinff
62271 do :
62272 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
62273 if test "x$ac_cv_func_isinff" = xyes; then :
62274 cat >>confdefs.h <<_ACEOF
62275 #define HAVE_ISINFF 1
62276 _ACEOF
62277
62278 fi
62279 done
62280
62281 else
62282
62283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
62284 $as_echo_n "checking for _isinff declaration... " >&6; }
62285 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
62286 if ${glibcxx_cv_func__isinff_use+:} false; then :
62287 $as_echo_n "(cached) " >&6
62288 else
62289
62290
62291 ac_ext=cpp
62292 ac_cpp='$CXXCPP $CPPFLAGS'
62293 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62294 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62295 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62296
62297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62298 /* end confdefs.h. */
62299 #include <math.h>
62300 #ifdef HAVE_IEEEFP_H
62301 #include <ieeefp.h>
62302 #endif
62303
62304 int
62305 main ()
62306 {
62307 _isinff(0);
62308 ;
62309 return 0;
62310 }
62311 _ACEOF
62312 if ac_fn_cxx_try_compile "$LINENO"; then :
62313 glibcxx_cv_func__isinff_use=yes
62314 else
62315 glibcxx_cv_func__isinff_use=no
62316 fi
62317 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62318 ac_ext=c
62319 ac_cpp='$CPP $CPPFLAGS'
62320 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62321 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62322 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62323
62324
62325 fi
62326
62327 fi
62328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
62329 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
62330
62331 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
62332 for ac_func in _isinff
62333 do :
62334 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
62335 if test "x$ac_cv_func__isinff" = xyes; then :
62336 cat >>confdefs.h <<_ACEOF
62337 #define HAVE__ISINFF 1
62338 _ACEOF
62339
62340 fi
62341 done
62342
62343 fi
62344 fi
62345
62346
62347
62348
62349
62350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
62351 $as_echo_n "checking for atan2f declaration... " >&6; }
62352 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
62353 if ${glibcxx_cv_func_atan2f_use+:} false; then :
62354 $as_echo_n "(cached) " >&6
62355 else
62356
62357
62358 ac_ext=cpp
62359 ac_cpp='$CXXCPP $CPPFLAGS'
62360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62363
62364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62365 /* end confdefs.h. */
62366 #include <math.h>
62367 int
62368 main ()
62369 {
62370 atan2f(0, 0);
62371 ;
62372 return 0;
62373 }
62374 _ACEOF
62375 if ac_fn_cxx_try_compile "$LINENO"; then :
62376 glibcxx_cv_func_atan2f_use=yes
62377 else
62378 glibcxx_cv_func_atan2f_use=no
62379 fi
62380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62381 ac_ext=c
62382 ac_cpp='$CPP $CPPFLAGS'
62383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62386
62387
62388 fi
62389
62390 fi
62391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
62392 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
62393
62394 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
62395 for ac_func in atan2f
62396 do :
62397 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
62398 if test "x$ac_cv_func_atan2f" = xyes; then :
62399 cat >>confdefs.h <<_ACEOF
62400 #define HAVE_ATAN2F 1
62401 _ACEOF
62402
62403 fi
62404 done
62405
62406 else
62407
62408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
62409 $as_echo_n "checking for _atan2f declaration... " >&6; }
62410 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
62411 if ${glibcxx_cv_func__atan2f_use+:} false; then :
62412 $as_echo_n "(cached) " >&6
62413 else
62414
62415
62416 ac_ext=cpp
62417 ac_cpp='$CXXCPP $CPPFLAGS'
62418 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62419 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62420 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62421
62422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62423 /* end confdefs.h. */
62424 #include <math.h>
62425 int
62426 main ()
62427 {
62428 _atan2f(0, 0);
62429 ;
62430 return 0;
62431 }
62432 _ACEOF
62433 if ac_fn_cxx_try_compile "$LINENO"; then :
62434 glibcxx_cv_func__atan2f_use=yes
62435 else
62436 glibcxx_cv_func__atan2f_use=no
62437 fi
62438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62439 ac_ext=c
62440 ac_cpp='$CPP $CPPFLAGS'
62441 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62442 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62443 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62444
62445
62446 fi
62447
62448 fi
62449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
62450 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
62451
62452 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
62453 for ac_func in _atan2f
62454 do :
62455 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
62456 if test "x$ac_cv_func__atan2f" = xyes; then :
62457 cat >>confdefs.h <<_ACEOF
62458 #define HAVE__ATAN2F 1
62459 _ACEOF
62460
62461 fi
62462 done
62463
62464 fi
62465 fi
62466
62467
62468
62469
62470
62471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
62472 $as_echo_n "checking for fabsf declaration... " >&6; }
62473 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
62474 if ${glibcxx_cv_func_fabsf_use+:} false; then :
62475 $as_echo_n "(cached) " >&6
62476 else
62477
62478
62479 ac_ext=cpp
62480 ac_cpp='$CXXCPP $CPPFLAGS'
62481 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62482 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62483 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62484
62485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62486 /* end confdefs.h. */
62487 #include <math.h>
62488 #ifdef HAVE_IEEEFP_H
62489 #include <ieeefp.h>
62490 #endif
62491
62492 int
62493 main ()
62494 {
62495 fabsf(0);
62496 ;
62497 return 0;
62498 }
62499 _ACEOF
62500 if ac_fn_cxx_try_compile "$LINENO"; then :
62501 glibcxx_cv_func_fabsf_use=yes
62502 else
62503 glibcxx_cv_func_fabsf_use=no
62504 fi
62505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62506 ac_ext=c
62507 ac_cpp='$CPP $CPPFLAGS'
62508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62511
62512
62513 fi
62514
62515 fi
62516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
62517 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
62518
62519 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
62520 for ac_func in fabsf
62521 do :
62522 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
62523 if test "x$ac_cv_func_fabsf" = xyes; then :
62524 cat >>confdefs.h <<_ACEOF
62525 #define HAVE_FABSF 1
62526 _ACEOF
62527
62528 fi
62529 done
62530
62531 else
62532
62533 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
62534 $as_echo_n "checking for _fabsf declaration... " >&6; }
62535 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
62536 if ${glibcxx_cv_func__fabsf_use+:} false; then :
62537 $as_echo_n "(cached) " >&6
62538 else
62539
62540
62541 ac_ext=cpp
62542 ac_cpp='$CXXCPP $CPPFLAGS'
62543 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62544 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62545 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62546
62547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62548 /* end confdefs.h. */
62549 #include <math.h>
62550 #ifdef HAVE_IEEEFP_H
62551 #include <ieeefp.h>
62552 #endif
62553
62554 int
62555 main ()
62556 {
62557 _fabsf(0);
62558 ;
62559 return 0;
62560 }
62561 _ACEOF
62562 if ac_fn_cxx_try_compile "$LINENO"; then :
62563 glibcxx_cv_func__fabsf_use=yes
62564 else
62565 glibcxx_cv_func__fabsf_use=no
62566 fi
62567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62568 ac_ext=c
62569 ac_cpp='$CPP $CPPFLAGS'
62570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62573
62574
62575 fi
62576
62577 fi
62578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
62579 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
62580
62581 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
62582 for ac_func in _fabsf
62583 do :
62584 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
62585 if test "x$ac_cv_func__fabsf" = xyes; then :
62586 cat >>confdefs.h <<_ACEOF
62587 #define HAVE__FABSF 1
62588 _ACEOF
62589
62590 fi
62591 done
62592
62593 fi
62594 fi
62595
62596
62597
62598
62599
62600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
62601 $as_echo_n "checking for fmodf declaration... " >&6; }
62602 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
62603 if ${glibcxx_cv_func_fmodf_use+:} false; then :
62604 $as_echo_n "(cached) " >&6
62605 else
62606
62607
62608 ac_ext=cpp
62609 ac_cpp='$CXXCPP $CPPFLAGS'
62610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62613
62614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62615 /* end confdefs.h. */
62616 #include <math.h>
62617 int
62618 main ()
62619 {
62620 fmodf(0, 0);
62621 ;
62622 return 0;
62623 }
62624 _ACEOF
62625 if ac_fn_cxx_try_compile "$LINENO"; then :
62626 glibcxx_cv_func_fmodf_use=yes
62627 else
62628 glibcxx_cv_func_fmodf_use=no
62629 fi
62630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62631 ac_ext=c
62632 ac_cpp='$CPP $CPPFLAGS'
62633 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62634 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62635 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62636
62637
62638 fi
62639
62640 fi
62641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
62642 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
62643
62644 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
62645 for ac_func in fmodf
62646 do :
62647 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
62648 if test "x$ac_cv_func_fmodf" = xyes; then :
62649 cat >>confdefs.h <<_ACEOF
62650 #define HAVE_FMODF 1
62651 _ACEOF
62652
62653 fi
62654 done
62655
62656 else
62657
62658 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
62659 $as_echo_n "checking for _fmodf declaration... " >&6; }
62660 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
62661 if ${glibcxx_cv_func__fmodf_use+:} false; then :
62662 $as_echo_n "(cached) " >&6
62663 else
62664
62665
62666 ac_ext=cpp
62667 ac_cpp='$CXXCPP $CPPFLAGS'
62668 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62669 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62670 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62671
62672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62673 /* end confdefs.h. */
62674 #include <math.h>
62675 int
62676 main ()
62677 {
62678 _fmodf(0, 0);
62679 ;
62680 return 0;
62681 }
62682 _ACEOF
62683 if ac_fn_cxx_try_compile "$LINENO"; then :
62684 glibcxx_cv_func__fmodf_use=yes
62685 else
62686 glibcxx_cv_func__fmodf_use=no
62687 fi
62688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62689 ac_ext=c
62690 ac_cpp='$CPP $CPPFLAGS'
62691 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62692 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62693 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62694
62695
62696 fi
62697
62698 fi
62699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
62700 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
62701
62702 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
62703 for ac_func in _fmodf
62704 do :
62705 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
62706 if test "x$ac_cv_func__fmodf" = xyes; then :
62707 cat >>confdefs.h <<_ACEOF
62708 #define HAVE__FMODF 1
62709 _ACEOF
62710
62711 fi
62712 done
62713
62714 fi
62715 fi
62716
62717
62718
62719
62720
62721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
62722 $as_echo_n "checking for frexpf declaration... " >&6; }
62723 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
62724 if ${glibcxx_cv_func_frexpf_use+:} false; then :
62725 $as_echo_n "(cached) " >&6
62726 else
62727
62728
62729 ac_ext=cpp
62730 ac_cpp='$CXXCPP $CPPFLAGS'
62731 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62732 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62733 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62734
62735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62736 /* end confdefs.h. */
62737 #include <math.h>
62738 int
62739 main ()
62740 {
62741 frexpf(0, 0);
62742 ;
62743 return 0;
62744 }
62745 _ACEOF
62746 if ac_fn_cxx_try_compile "$LINENO"; then :
62747 glibcxx_cv_func_frexpf_use=yes
62748 else
62749 glibcxx_cv_func_frexpf_use=no
62750 fi
62751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62752 ac_ext=c
62753 ac_cpp='$CPP $CPPFLAGS'
62754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62757
62758
62759 fi
62760
62761 fi
62762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
62763 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
62764
62765 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
62766 for ac_func in frexpf
62767 do :
62768 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
62769 if test "x$ac_cv_func_frexpf" = xyes; then :
62770 cat >>confdefs.h <<_ACEOF
62771 #define HAVE_FREXPF 1
62772 _ACEOF
62773
62774 fi
62775 done
62776
62777 else
62778
62779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
62780 $as_echo_n "checking for _frexpf declaration... " >&6; }
62781 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
62782 if ${glibcxx_cv_func__frexpf_use+:} false; then :
62783 $as_echo_n "(cached) " >&6
62784 else
62785
62786
62787 ac_ext=cpp
62788 ac_cpp='$CXXCPP $CPPFLAGS'
62789 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62790 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62791 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62792
62793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62794 /* end confdefs.h. */
62795 #include <math.h>
62796 int
62797 main ()
62798 {
62799 _frexpf(0, 0);
62800 ;
62801 return 0;
62802 }
62803 _ACEOF
62804 if ac_fn_cxx_try_compile "$LINENO"; then :
62805 glibcxx_cv_func__frexpf_use=yes
62806 else
62807 glibcxx_cv_func__frexpf_use=no
62808 fi
62809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62810 ac_ext=c
62811 ac_cpp='$CPP $CPPFLAGS'
62812 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62813 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62814 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62815
62816
62817 fi
62818
62819 fi
62820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
62821 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
62822
62823 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
62824 for ac_func in _frexpf
62825 do :
62826 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
62827 if test "x$ac_cv_func__frexpf" = xyes; then :
62828 cat >>confdefs.h <<_ACEOF
62829 #define HAVE__FREXPF 1
62830 _ACEOF
62831
62832 fi
62833 done
62834
62835 fi
62836 fi
62837
62838
62839
62840
62841
62842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
62843 $as_echo_n "checking for hypotf declaration... " >&6; }
62844 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
62845 if ${glibcxx_cv_func_hypotf_use+:} false; then :
62846 $as_echo_n "(cached) " >&6
62847 else
62848
62849
62850 ac_ext=cpp
62851 ac_cpp='$CXXCPP $CPPFLAGS'
62852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62855
62856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62857 /* end confdefs.h. */
62858 #include <math.h>
62859 int
62860 main ()
62861 {
62862 hypotf(0, 0);
62863 ;
62864 return 0;
62865 }
62866 _ACEOF
62867 if ac_fn_cxx_try_compile "$LINENO"; then :
62868 glibcxx_cv_func_hypotf_use=yes
62869 else
62870 glibcxx_cv_func_hypotf_use=no
62871 fi
62872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62873 ac_ext=c
62874 ac_cpp='$CPP $CPPFLAGS'
62875 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62876 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62877 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62878
62879
62880 fi
62881
62882 fi
62883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
62884 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
62885
62886 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
62887 for ac_func in hypotf
62888 do :
62889 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
62890 if test "x$ac_cv_func_hypotf" = xyes; then :
62891 cat >>confdefs.h <<_ACEOF
62892 #define HAVE_HYPOTF 1
62893 _ACEOF
62894
62895 fi
62896 done
62897
62898 else
62899
62900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
62901 $as_echo_n "checking for _hypotf declaration... " >&6; }
62902 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
62903 if ${glibcxx_cv_func__hypotf_use+:} false; then :
62904 $as_echo_n "(cached) " >&6
62905 else
62906
62907
62908 ac_ext=cpp
62909 ac_cpp='$CXXCPP $CPPFLAGS'
62910 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62911 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62912 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62913
62914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62915 /* end confdefs.h. */
62916 #include <math.h>
62917 int
62918 main ()
62919 {
62920 _hypotf(0, 0);
62921 ;
62922 return 0;
62923 }
62924 _ACEOF
62925 if ac_fn_cxx_try_compile "$LINENO"; then :
62926 glibcxx_cv_func__hypotf_use=yes
62927 else
62928 glibcxx_cv_func__hypotf_use=no
62929 fi
62930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62931 ac_ext=c
62932 ac_cpp='$CPP $CPPFLAGS'
62933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62936
62937
62938 fi
62939
62940 fi
62941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
62942 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
62943
62944 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
62945 for ac_func in _hypotf
62946 do :
62947 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
62948 if test "x$ac_cv_func__hypotf" = xyes; then :
62949 cat >>confdefs.h <<_ACEOF
62950 #define HAVE__HYPOTF 1
62951 _ACEOF
62952
62953 fi
62954 done
62955
62956 fi
62957 fi
62958
62959
62960
62961
62962
62963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
62964 $as_echo_n "checking for ldexpf declaration... " >&6; }
62965 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
62966 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
62967 $as_echo_n "(cached) " >&6
62968 else
62969
62970
62971 ac_ext=cpp
62972 ac_cpp='$CXXCPP $CPPFLAGS'
62973 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62974 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62975 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
62976
62977 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
62978 /* end confdefs.h. */
62979 #include <math.h>
62980 int
62981 main ()
62982 {
62983 ldexpf(0, 0);
62984 ;
62985 return 0;
62986 }
62987 _ACEOF
62988 if ac_fn_cxx_try_compile "$LINENO"; then :
62989 glibcxx_cv_func_ldexpf_use=yes
62990 else
62991 glibcxx_cv_func_ldexpf_use=no
62992 fi
62993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
62994 ac_ext=c
62995 ac_cpp='$CPP $CPPFLAGS'
62996 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
62997 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
62998 ac_compiler_gnu=$ac_cv_c_compiler_gnu
62999
63000
63001 fi
63002
63003 fi
63004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
63005 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
63006
63007 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
63008 for ac_func in ldexpf
63009 do :
63010 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
63011 if test "x$ac_cv_func_ldexpf" = xyes; then :
63012 cat >>confdefs.h <<_ACEOF
63013 #define HAVE_LDEXPF 1
63014 _ACEOF
63015
63016 fi
63017 done
63018
63019 else
63020
63021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
63022 $as_echo_n "checking for _ldexpf declaration... " >&6; }
63023 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
63024 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
63025 $as_echo_n "(cached) " >&6
63026 else
63027
63028
63029 ac_ext=cpp
63030 ac_cpp='$CXXCPP $CPPFLAGS'
63031 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63032 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63033 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63034
63035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63036 /* end confdefs.h. */
63037 #include <math.h>
63038 int
63039 main ()
63040 {
63041 _ldexpf(0, 0);
63042 ;
63043 return 0;
63044 }
63045 _ACEOF
63046 if ac_fn_cxx_try_compile "$LINENO"; then :
63047 glibcxx_cv_func__ldexpf_use=yes
63048 else
63049 glibcxx_cv_func__ldexpf_use=no
63050 fi
63051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63052 ac_ext=c
63053 ac_cpp='$CPP $CPPFLAGS'
63054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63057
63058
63059 fi
63060
63061 fi
63062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
63063 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
63064
63065 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
63066 for ac_func in _ldexpf
63067 do :
63068 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
63069 if test "x$ac_cv_func__ldexpf" = xyes; then :
63070 cat >>confdefs.h <<_ACEOF
63071 #define HAVE__LDEXPF 1
63072 _ACEOF
63073
63074 fi
63075 done
63076
63077 fi
63078 fi
63079
63080
63081
63082
63083
63084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
63085 $as_echo_n "checking for logf declaration... " >&6; }
63086 if test x${glibcxx_cv_func_logf_use+set} != xset; then
63087 if ${glibcxx_cv_func_logf_use+:} false; then :
63088 $as_echo_n "(cached) " >&6
63089 else
63090
63091
63092 ac_ext=cpp
63093 ac_cpp='$CXXCPP $CPPFLAGS'
63094 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63095 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63096 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63097
63098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63099 /* end confdefs.h. */
63100 #include <math.h>
63101 #ifdef HAVE_IEEEFP_H
63102 #include <ieeefp.h>
63103 #endif
63104
63105 int
63106 main ()
63107 {
63108 logf(0);
63109 ;
63110 return 0;
63111 }
63112 _ACEOF
63113 if ac_fn_cxx_try_compile "$LINENO"; then :
63114 glibcxx_cv_func_logf_use=yes
63115 else
63116 glibcxx_cv_func_logf_use=no
63117 fi
63118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63119 ac_ext=c
63120 ac_cpp='$CPP $CPPFLAGS'
63121 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63122 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63123 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63124
63125
63126 fi
63127
63128 fi
63129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
63130 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
63131
63132 if test x$glibcxx_cv_func_logf_use = x"yes"; then
63133 for ac_func in logf
63134 do :
63135 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
63136 if test "x$ac_cv_func_logf" = xyes; then :
63137 cat >>confdefs.h <<_ACEOF
63138 #define HAVE_LOGF 1
63139 _ACEOF
63140
63141 fi
63142 done
63143
63144 else
63145
63146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
63147 $as_echo_n "checking for _logf declaration... " >&6; }
63148 if test x${glibcxx_cv_func__logf_use+set} != xset; then
63149 if ${glibcxx_cv_func__logf_use+:} false; then :
63150 $as_echo_n "(cached) " >&6
63151 else
63152
63153
63154 ac_ext=cpp
63155 ac_cpp='$CXXCPP $CPPFLAGS'
63156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63159
63160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63161 /* end confdefs.h. */
63162 #include <math.h>
63163 #ifdef HAVE_IEEEFP_H
63164 #include <ieeefp.h>
63165 #endif
63166
63167 int
63168 main ()
63169 {
63170 _logf(0);
63171 ;
63172 return 0;
63173 }
63174 _ACEOF
63175 if ac_fn_cxx_try_compile "$LINENO"; then :
63176 glibcxx_cv_func__logf_use=yes
63177 else
63178 glibcxx_cv_func__logf_use=no
63179 fi
63180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63181 ac_ext=c
63182 ac_cpp='$CPP $CPPFLAGS'
63183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63186
63187
63188 fi
63189
63190 fi
63191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
63192 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
63193
63194 if test x$glibcxx_cv_func__logf_use = x"yes"; then
63195 for ac_func in _logf
63196 do :
63197 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
63198 if test "x$ac_cv_func__logf" = xyes; then :
63199 cat >>confdefs.h <<_ACEOF
63200 #define HAVE__LOGF 1
63201 _ACEOF
63202
63203 fi
63204 done
63205
63206 fi
63207 fi
63208
63209
63210
63211
63212
63213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
63214 $as_echo_n "checking for log10f declaration... " >&6; }
63215 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
63216 if ${glibcxx_cv_func_log10f_use+:} false; then :
63217 $as_echo_n "(cached) " >&6
63218 else
63219
63220
63221 ac_ext=cpp
63222 ac_cpp='$CXXCPP $CPPFLAGS'
63223 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63224 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63225 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63226
63227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63228 /* end confdefs.h. */
63229 #include <math.h>
63230 #ifdef HAVE_IEEEFP_H
63231 #include <ieeefp.h>
63232 #endif
63233
63234 int
63235 main ()
63236 {
63237 log10f(0);
63238 ;
63239 return 0;
63240 }
63241 _ACEOF
63242 if ac_fn_cxx_try_compile "$LINENO"; then :
63243 glibcxx_cv_func_log10f_use=yes
63244 else
63245 glibcxx_cv_func_log10f_use=no
63246 fi
63247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63248 ac_ext=c
63249 ac_cpp='$CPP $CPPFLAGS'
63250 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63251 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63252 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63253
63254
63255 fi
63256
63257 fi
63258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
63259 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
63260
63261 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
63262 for ac_func in log10f
63263 do :
63264 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
63265 if test "x$ac_cv_func_log10f" = xyes; then :
63266 cat >>confdefs.h <<_ACEOF
63267 #define HAVE_LOG10F 1
63268 _ACEOF
63269
63270 fi
63271 done
63272
63273 else
63274
63275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
63276 $as_echo_n "checking for _log10f declaration... " >&6; }
63277 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
63278 if ${glibcxx_cv_func__log10f_use+:} false; then :
63279 $as_echo_n "(cached) " >&6
63280 else
63281
63282
63283 ac_ext=cpp
63284 ac_cpp='$CXXCPP $CPPFLAGS'
63285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63288
63289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63290 /* end confdefs.h. */
63291 #include <math.h>
63292 #ifdef HAVE_IEEEFP_H
63293 #include <ieeefp.h>
63294 #endif
63295
63296 int
63297 main ()
63298 {
63299 _log10f(0);
63300 ;
63301 return 0;
63302 }
63303 _ACEOF
63304 if ac_fn_cxx_try_compile "$LINENO"; then :
63305 glibcxx_cv_func__log10f_use=yes
63306 else
63307 glibcxx_cv_func__log10f_use=no
63308 fi
63309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63310 ac_ext=c
63311 ac_cpp='$CPP $CPPFLAGS'
63312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63315
63316
63317 fi
63318
63319 fi
63320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
63321 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
63322
63323 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
63324 for ac_func in _log10f
63325 do :
63326 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
63327 if test "x$ac_cv_func__log10f" = xyes; then :
63328 cat >>confdefs.h <<_ACEOF
63329 #define HAVE__LOG10F 1
63330 _ACEOF
63331
63332 fi
63333 done
63334
63335 fi
63336 fi
63337
63338
63339
63340
63341
63342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
63343 $as_echo_n "checking for modff declaration... " >&6; }
63344 if test x${glibcxx_cv_func_modff_use+set} != xset; then
63345 if ${glibcxx_cv_func_modff_use+:} false; then :
63346 $as_echo_n "(cached) " >&6
63347 else
63348
63349
63350 ac_ext=cpp
63351 ac_cpp='$CXXCPP $CPPFLAGS'
63352 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63353 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63354 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63355
63356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63357 /* end confdefs.h. */
63358 #include <math.h>
63359 int
63360 main ()
63361 {
63362 modff(0, 0);
63363 ;
63364 return 0;
63365 }
63366 _ACEOF
63367 if ac_fn_cxx_try_compile "$LINENO"; then :
63368 glibcxx_cv_func_modff_use=yes
63369 else
63370 glibcxx_cv_func_modff_use=no
63371 fi
63372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63373 ac_ext=c
63374 ac_cpp='$CPP $CPPFLAGS'
63375 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63376 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63377 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63378
63379
63380 fi
63381
63382 fi
63383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
63384 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
63385
63386 if test x$glibcxx_cv_func_modff_use = x"yes"; then
63387 for ac_func in modff
63388 do :
63389 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
63390 if test "x$ac_cv_func_modff" = xyes; then :
63391 cat >>confdefs.h <<_ACEOF
63392 #define HAVE_MODFF 1
63393 _ACEOF
63394
63395 fi
63396 done
63397
63398 else
63399
63400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
63401 $as_echo_n "checking for _modff declaration... " >&6; }
63402 if test x${glibcxx_cv_func__modff_use+set} != xset; then
63403 if ${glibcxx_cv_func__modff_use+:} false; then :
63404 $as_echo_n "(cached) " >&6
63405 else
63406
63407
63408 ac_ext=cpp
63409 ac_cpp='$CXXCPP $CPPFLAGS'
63410 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63411 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63412 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63413
63414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63415 /* end confdefs.h. */
63416 #include <math.h>
63417 int
63418 main ()
63419 {
63420 _modff(0, 0);
63421 ;
63422 return 0;
63423 }
63424 _ACEOF
63425 if ac_fn_cxx_try_compile "$LINENO"; then :
63426 glibcxx_cv_func__modff_use=yes
63427 else
63428 glibcxx_cv_func__modff_use=no
63429 fi
63430 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63431 ac_ext=c
63432 ac_cpp='$CPP $CPPFLAGS'
63433 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63434 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63435 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63436
63437
63438 fi
63439
63440 fi
63441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
63442 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
63443
63444 if test x$glibcxx_cv_func__modff_use = x"yes"; then
63445 for ac_func in _modff
63446 do :
63447 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
63448 if test "x$ac_cv_func__modff" = xyes; then :
63449 cat >>confdefs.h <<_ACEOF
63450 #define HAVE__MODFF 1
63451 _ACEOF
63452
63453 fi
63454 done
63455
63456 fi
63457 fi
63458
63459
63460
63461
63462
63463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
63464 $as_echo_n "checking for modf declaration... " >&6; }
63465 if test x${glibcxx_cv_func_modf_use+set} != xset; then
63466 if ${glibcxx_cv_func_modf_use+:} false; then :
63467 $as_echo_n "(cached) " >&6
63468 else
63469
63470
63471 ac_ext=cpp
63472 ac_cpp='$CXXCPP $CPPFLAGS'
63473 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63474 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63475 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63476
63477 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63478 /* end confdefs.h. */
63479 #include <math.h>
63480 int
63481 main ()
63482 {
63483 modf(0, 0);
63484 ;
63485 return 0;
63486 }
63487 _ACEOF
63488 if ac_fn_cxx_try_compile "$LINENO"; then :
63489 glibcxx_cv_func_modf_use=yes
63490 else
63491 glibcxx_cv_func_modf_use=no
63492 fi
63493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63494 ac_ext=c
63495 ac_cpp='$CPP $CPPFLAGS'
63496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63499
63500
63501 fi
63502
63503 fi
63504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
63505 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
63506
63507 if test x$glibcxx_cv_func_modf_use = x"yes"; then
63508 for ac_func in modf
63509 do :
63510 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
63511 if test "x$ac_cv_func_modf" = xyes; then :
63512 cat >>confdefs.h <<_ACEOF
63513 #define HAVE_MODF 1
63514 _ACEOF
63515
63516 fi
63517 done
63518
63519 else
63520
63521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
63522 $as_echo_n "checking for _modf declaration... " >&6; }
63523 if test x${glibcxx_cv_func__modf_use+set} != xset; then
63524 if ${glibcxx_cv_func__modf_use+:} false; then :
63525 $as_echo_n "(cached) " >&6
63526 else
63527
63528
63529 ac_ext=cpp
63530 ac_cpp='$CXXCPP $CPPFLAGS'
63531 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63532 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63533 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63534
63535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63536 /* end confdefs.h. */
63537 #include <math.h>
63538 int
63539 main ()
63540 {
63541 _modf(0, 0);
63542 ;
63543 return 0;
63544 }
63545 _ACEOF
63546 if ac_fn_cxx_try_compile "$LINENO"; then :
63547 glibcxx_cv_func__modf_use=yes
63548 else
63549 glibcxx_cv_func__modf_use=no
63550 fi
63551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63552 ac_ext=c
63553 ac_cpp='$CPP $CPPFLAGS'
63554 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63555 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63556 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63557
63558
63559 fi
63560
63561 fi
63562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
63563 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
63564
63565 if test x$glibcxx_cv_func__modf_use = x"yes"; then
63566 for ac_func in _modf
63567 do :
63568 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
63569 if test "x$ac_cv_func__modf" = xyes; then :
63570 cat >>confdefs.h <<_ACEOF
63571 #define HAVE__MODF 1
63572 _ACEOF
63573
63574 fi
63575 done
63576
63577 fi
63578 fi
63579
63580
63581
63582
63583
63584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
63585 $as_echo_n "checking for powf declaration... " >&6; }
63586 if test x${glibcxx_cv_func_powf_use+set} != xset; then
63587 if ${glibcxx_cv_func_powf_use+:} false; then :
63588 $as_echo_n "(cached) " >&6
63589 else
63590
63591
63592 ac_ext=cpp
63593 ac_cpp='$CXXCPP $CPPFLAGS'
63594 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63595 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63596 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63597
63598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63599 /* end confdefs.h. */
63600 #include <math.h>
63601 int
63602 main ()
63603 {
63604 powf(0, 0);
63605 ;
63606 return 0;
63607 }
63608 _ACEOF
63609 if ac_fn_cxx_try_compile "$LINENO"; then :
63610 glibcxx_cv_func_powf_use=yes
63611 else
63612 glibcxx_cv_func_powf_use=no
63613 fi
63614 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63615 ac_ext=c
63616 ac_cpp='$CPP $CPPFLAGS'
63617 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63618 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63619 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63620
63621
63622 fi
63623
63624 fi
63625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
63626 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
63627
63628 if test x$glibcxx_cv_func_powf_use = x"yes"; then
63629 for ac_func in powf
63630 do :
63631 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
63632 if test "x$ac_cv_func_powf" = xyes; then :
63633 cat >>confdefs.h <<_ACEOF
63634 #define HAVE_POWF 1
63635 _ACEOF
63636
63637 fi
63638 done
63639
63640 else
63641
63642 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
63643 $as_echo_n "checking for _powf declaration... " >&6; }
63644 if test x${glibcxx_cv_func__powf_use+set} != xset; then
63645 if ${glibcxx_cv_func__powf_use+:} false; then :
63646 $as_echo_n "(cached) " >&6
63647 else
63648
63649
63650 ac_ext=cpp
63651 ac_cpp='$CXXCPP $CPPFLAGS'
63652 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63653 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63654 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63655
63656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63657 /* end confdefs.h. */
63658 #include <math.h>
63659 int
63660 main ()
63661 {
63662 _powf(0, 0);
63663 ;
63664 return 0;
63665 }
63666 _ACEOF
63667 if ac_fn_cxx_try_compile "$LINENO"; then :
63668 glibcxx_cv_func__powf_use=yes
63669 else
63670 glibcxx_cv_func__powf_use=no
63671 fi
63672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63673 ac_ext=c
63674 ac_cpp='$CPP $CPPFLAGS'
63675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63678
63679
63680 fi
63681
63682 fi
63683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
63684 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
63685
63686 if test x$glibcxx_cv_func__powf_use = x"yes"; then
63687 for ac_func in _powf
63688 do :
63689 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
63690 if test "x$ac_cv_func__powf" = xyes; then :
63691 cat >>confdefs.h <<_ACEOF
63692 #define HAVE__POWF 1
63693 _ACEOF
63694
63695 fi
63696 done
63697
63698 fi
63699 fi
63700
63701
63702
63703
63704
63705 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
63706 $as_echo_n "checking for sqrtf declaration... " >&6; }
63707 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
63708 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
63709 $as_echo_n "(cached) " >&6
63710 else
63711
63712
63713 ac_ext=cpp
63714 ac_cpp='$CXXCPP $CPPFLAGS'
63715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63718
63719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63720 /* end confdefs.h. */
63721 #include <math.h>
63722 #ifdef HAVE_IEEEFP_H
63723 #include <ieeefp.h>
63724 #endif
63725
63726 int
63727 main ()
63728 {
63729 sqrtf(0);
63730 ;
63731 return 0;
63732 }
63733 _ACEOF
63734 if ac_fn_cxx_try_compile "$LINENO"; then :
63735 glibcxx_cv_func_sqrtf_use=yes
63736 else
63737 glibcxx_cv_func_sqrtf_use=no
63738 fi
63739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63740 ac_ext=c
63741 ac_cpp='$CPP $CPPFLAGS'
63742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63745
63746
63747 fi
63748
63749 fi
63750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
63751 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
63752
63753 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
63754 for ac_func in sqrtf
63755 do :
63756 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
63757 if test "x$ac_cv_func_sqrtf" = xyes; then :
63758 cat >>confdefs.h <<_ACEOF
63759 #define HAVE_SQRTF 1
63760 _ACEOF
63761
63762 fi
63763 done
63764
63765 else
63766
63767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
63768 $as_echo_n "checking for _sqrtf declaration... " >&6; }
63769 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
63770 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
63771 $as_echo_n "(cached) " >&6
63772 else
63773
63774
63775 ac_ext=cpp
63776 ac_cpp='$CXXCPP $CPPFLAGS'
63777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63780
63781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63782 /* end confdefs.h. */
63783 #include <math.h>
63784 #ifdef HAVE_IEEEFP_H
63785 #include <ieeefp.h>
63786 #endif
63787
63788 int
63789 main ()
63790 {
63791 _sqrtf(0);
63792 ;
63793 return 0;
63794 }
63795 _ACEOF
63796 if ac_fn_cxx_try_compile "$LINENO"; then :
63797 glibcxx_cv_func__sqrtf_use=yes
63798 else
63799 glibcxx_cv_func__sqrtf_use=no
63800 fi
63801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63802 ac_ext=c
63803 ac_cpp='$CPP $CPPFLAGS'
63804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63807
63808
63809 fi
63810
63811 fi
63812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
63813 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
63814
63815 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
63816 for ac_func in _sqrtf
63817 do :
63818 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
63819 if test "x$ac_cv_func__sqrtf" = xyes; then :
63820 cat >>confdefs.h <<_ACEOF
63821 #define HAVE__SQRTF 1
63822 _ACEOF
63823
63824 fi
63825 done
63826
63827 fi
63828 fi
63829
63830
63831
63832
63833
63834 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
63835 $as_echo_n "checking for sincosf declaration... " >&6; }
63836 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
63837 if ${glibcxx_cv_func_sincosf_use+:} false; then :
63838 $as_echo_n "(cached) " >&6
63839 else
63840
63841
63842 ac_ext=cpp
63843 ac_cpp='$CXXCPP $CPPFLAGS'
63844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63847
63848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63849 /* end confdefs.h. */
63850 #include <math.h>
63851 int
63852 main ()
63853 {
63854 sincosf(0, 0, 0);
63855 ;
63856 return 0;
63857 }
63858 _ACEOF
63859 if ac_fn_cxx_try_compile "$LINENO"; then :
63860 glibcxx_cv_func_sincosf_use=yes
63861 else
63862 glibcxx_cv_func_sincosf_use=no
63863 fi
63864 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63865 ac_ext=c
63866 ac_cpp='$CPP $CPPFLAGS'
63867 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63868 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63869 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63870
63871
63872 fi
63873
63874 fi
63875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
63876 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
63877
63878 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
63879 for ac_func in sincosf
63880 do :
63881 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
63882 if test "x$ac_cv_func_sincosf" = xyes; then :
63883 cat >>confdefs.h <<_ACEOF
63884 #define HAVE_SINCOSF 1
63885 _ACEOF
63886
63887 fi
63888 done
63889
63890 else
63891
63892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
63893 $as_echo_n "checking for _sincosf declaration... " >&6; }
63894 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
63895 if ${glibcxx_cv_func__sincosf_use+:} false; then :
63896 $as_echo_n "(cached) " >&6
63897 else
63898
63899
63900 ac_ext=cpp
63901 ac_cpp='$CXXCPP $CPPFLAGS'
63902 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63903 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63904 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63905
63906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63907 /* end confdefs.h. */
63908 #include <math.h>
63909 int
63910 main ()
63911 {
63912 _sincosf(0, 0, 0);
63913 ;
63914 return 0;
63915 }
63916 _ACEOF
63917 if ac_fn_cxx_try_compile "$LINENO"; then :
63918 glibcxx_cv_func__sincosf_use=yes
63919 else
63920 glibcxx_cv_func__sincosf_use=no
63921 fi
63922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63923 ac_ext=c
63924 ac_cpp='$CPP $CPPFLAGS'
63925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63928
63929
63930 fi
63931
63932 fi
63933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
63934 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
63935
63936 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
63937 for ac_func in _sincosf
63938 do :
63939 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
63940 if test "x$ac_cv_func__sincosf" = xyes; then :
63941 cat >>confdefs.h <<_ACEOF
63942 #define HAVE__SINCOSF 1
63943 _ACEOF
63944
63945 fi
63946 done
63947
63948 fi
63949 fi
63950
63951
63952
63953
63954
63955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
63956 $as_echo_n "checking for finitef declaration... " >&6; }
63957 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
63958 if ${glibcxx_cv_func_finitef_use+:} false; then :
63959 $as_echo_n "(cached) " >&6
63960 else
63961
63962
63963 ac_ext=cpp
63964 ac_cpp='$CXXCPP $CPPFLAGS'
63965 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63966 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63967 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
63968
63969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
63970 /* end confdefs.h. */
63971 #include <math.h>
63972 #ifdef HAVE_IEEEFP_H
63973 #include <ieeefp.h>
63974 #endif
63975
63976 int
63977 main ()
63978 {
63979 finitef(0);
63980 ;
63981 return 0;
63982 }
63983 _ACEOF
63984 if ac_fn_cxx_try_compile "$LINENO"; then :
63985 glibcxx_cv_func_finitef_use=yes
63986 else
63987 glibcxx_cv_func_finitef_use=no
63988 fi
63989 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
63990 ac_ext=c
63991 ac_cpp='$CPP $CPPFLAGS'
63992 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
63993 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
63994 ac_compiler_gnu=$ac_cv_c_compiler_gnu
63995
63996
63997 fi
63998
63999 fi
64000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
64001 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
64002
64003 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
64004 for ac_func in finitef
64005 do :
64006 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
64007 if test "x$ac_cv_func_finitef" = xyes; then :
64008 cat >>confdefs.h <<_ACEOF
64009 #define HAVE_FINITEF 1
64010 _ACEOF
64011
64012 fi
64013 done
64014
64015 else
64016
64017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
64018 $as_echo_n "checking for _finitef declaration... " >&6; }
64019 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
64020 if ${glibcxx_cv_func__finitef_use+:} false; then :
64021 $as_echo_n "(cached) " >&6
64022 else
64023
64024
64025 ac_ext=cpp
64026 ac_cpp='$CXXCPP $CPPFLAGS'
64027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64030
64031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64032 /* end confdefs.h. */
64033 #include <math.h>
64034 #ifdef HAVE_IEEEFP_H
64035 #include <ieeefp.h>
64036 #endif
64037
64038 int
64039 main ()
64040 {
64041 _finitef(0);
64042 ;
64043 return 0;
64044 }
64045 _ACEOF
64046 if ac_fn_cxx_try_compile "$LINENO"; then :
64047 glibcxx_cv_func__finitef_use=yes
64048 else
64049 glibcxx_cv_func__finitef_use=no
64050 fi
64051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64052 ac_ext=c
64053 ac_cpp='$CPP $CPPFLAGS'
64054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64057
64058
64059 fi
64060
64061 fi
64062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
64063 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
64064
64065 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
64066 for ac_func in _finitef
64067 do :
64068 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
64069 if test "x$ac_cv_func__finitef" = xyes; then :
64070 cat >>confdefs.h <<_ACEOF
64071 #define HAVE__FINITEF 1
64072 _ACEOF
64073
64074 fi
64075 done
64076
64077 fi
64078 fi
64079
64080
64081
64082
64083
64084 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
64085 $as_echo_n "checking for long double trig functions... " >&6; }
64086 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
64087 $as_echo_n "(cached) " >&6
64088 else
64089
64090
64091 ac_ext=cpp
64092 ac_cpp='$CXXCPP $CPPFLAGS'
64093 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64094 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64095 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64096
64097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64098 /* end confdefs.h. */
64099 #include <math.h>
64100 int
64101 main ()
64102 {
64103 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
64104 ;
64105 return 0;
64106 }
64107 _ACEOF
64108 if ac_fn_cxx_try_compile "$LINENO"; then :
64109 glibcxx_cv_func_long_double_trig_use=yes
64110 else
64111 glibcxx_cv_func_long_double_trig_use=no
64112 fi
64113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64114 ac_ext=c
64115 ac_cpp='$CPP $CPPFLAGS'
64116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64119
64120 fi
64121
64122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
64123 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
64124 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
64125 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
64126 do :
64127 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64128 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64129 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64130 cat >>confdefs.h <<_ACEOF
64131 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64132 _ACEOF
64133
64134 fi
64135 done
64136
64137 else
64138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
64139 $as_echo_n "checking for _long double trig functions... " >&6; }
64140 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
64141 $as_echo_n "(cached) " >&6
64142 else
64143
64144
64145 ac_ext=cpp
64146 ac_cpp='$CXXCPP $CPPFLAGS'
64147 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64148 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64149 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64150
64151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64152 /* end confdefs.h. */
64153 #include <math.h>
64154 int
64155 main ()
64156 {
64157 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
64158 ;
64159 return 0;
64160 }
64161 _ACEOF
64162 if ac_fn_cxx_try_compile "$LINENO"; then :
64163 glibcxx_cv_func__long_double_trig_use=yes
64164 else
64165 glibcxx_cv_func__long_double_trig_use=no
64166 fi
64167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64168 ac_ext=c
64169 ac_cpp='$CPP $CPPFLAGS'
64170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64173
64174 fi
64175
64176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
64177 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
64178 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
64179 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
64180 do :
64181 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64182 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64183 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64184 cat >>confdefs.h <<_ACEOF
64185 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64186 _ACEOF
64187
64188 fi
64189 done
64190
64191 fi
64192 fi
64193
64194
64195
64196
64197
64198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
64199 $as_echo_n "checking for long double round functions... " >&6; }
64200 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
64201 $as_echo_n "(cached) " >&6
64202 else
64203
64204
64205 ac_ext=cpp
64206 ac_cpp='$CXXCPP $CPPFLAGS'
64207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64210
64211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64212 /* end confdefs.h. */
64213 #include <math.h>
64214 int
64215 main ()
64216 {
64217 ceill (0); floorl (0);
64218 ;
64219 return 0;
64220 }
64221 _ACEOF
64222 if ac_fn_cxx_try_compile "$LINENO"; then :
64223 glibcxx_cv_func_long_double_round_use=yes
64224 else
64225 glibcxx_cv_func_long_double_round_use=no
64226 fi
64227 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64228 ac_ext=c
64229 ac_cpp='$CPP $CPPFLAGS'
64230 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64231 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64232 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64233
64234 fi
64235
64236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
64237 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
64238 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
64239 for ac_func in ceill floorl
64240 do :
64241 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64242 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64243 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64244 cat >>confdefs.h <<_ACEOF
64245 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64246 _ACEOF
64247
64248 fi
64249 done
64250
64251 else
64252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
64253 $as_echo_n "checking for _long double round functions... " >&6; }
64254 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
64255 $as_echo_n "(cached) " >&6
64256 else
64257
64258
64259 ac_ext=cpp
64260 ac_cpp='$CXXCPP $CPPFLAGS'
64261 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64262 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64263 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64264
64265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64266 /* end confdefs.h. */
64267 #include <math.h>
64268 int
64269 main ()
64270 {
64271 _ceill (0); _floorl (0);
64272 ;
64273 return 0;
64274 }
64275 _ACEOF
64276 if ac_fn_cxx_try_compile "$LINENO"; then :
64277 glibcxx_cv_func__long_double_round_use=yes
64278 else
64279 glibcxx_cv_func__long_double_round_use=no
64280 fi
64281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64282 ac_ext=c
64283 ac_cpp='$CPP $CPPFLAGS'
64284 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64285 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64286 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64287
64288 fi
64289
64290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
64291 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
64292 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
64293 for ac_func in _ceill _floorl
64294 do :
64295 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
64296 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
64297 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
64298 cat >>confdefs.h <<_ACEOF
64299 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
64300 _ACEOF
64301
64302 fi
64303 done
64304
64305 fi
64306 fi
64307
64308
64309
64310
64311
64312
64313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
64314 $as_echo_n "checking for isnanl declaration... " >&6; }
64315 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
64316 if ${glibcxx_cv_func_isnanl_use+:} false; then :
64317 $as_echo_n "(cached) " >&6
64318 else
64319
64320
64321 ac_ext=cpp
64322 ac_cpp='$CXXCPP $CPPFLAGS'
64323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64326
64327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64328 /* end confdefs.h. */
64329 #include <math.h>
64330 #ifdef HAVE_IEEEFP_H
64331 #include <ieeefp.h>
64332 #endif
64333
64334 int
64335 main ()
64336 {
64337 isnanl(0);
64338 ;
64339 return 0;
64340 }
64341 _ACEOF
64342 if ac_fn_cxx_try_compile "$LINENO"; then :
64343 glibcxx_cv_func_isnanl_use=yes
64344 else
64345 glibcxx_cv_func_isnanl_use=no
64346 fi
64347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64348 ac_ext=c
64349 ac_cpp='$CPP $CPPFLAGS'
64350 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64351 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64352 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64353
64354
64355 fi
64356
64357 fi
64358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
64359 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
64360
64361 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
64362 for ac_func in isnanl
64363 do :
64364 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
64365 if test "x$ac_cv_func_isnanl" = xyes; then :
64366 cat >>confdefs.h <<_ACEOF
64367 #define HAVE_ISNANL 1
64368 _ACEOF
64369
64370 fi
64371 done
64372
64373 else
64374
64375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
64376 $as_echo_n "checking for _isnanl declaration... " >&6; }
64377 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
64378 if ${glibcxx_cv_func__isnanl_use+:} false; then :
64379 $as_echo_n "(cached) " >&6
64380 else
64381
64382
64383 ac_ext=cpp
64384 ac_cpp='$CXXCPP $CPPFLAGS'
64385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64388
64389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64390 /* end confdefs.h. */
64391 #include <math.h>
64392 #ifdef HAVE_IEEEFP_H
64393 #include <ieeefp.h>
64394 #endif
64395
64396 int
64397 main ()
64398 {
64399 _isnanl(0);
64400 ;
64401 return 0;
64402 }
64403 _ACEOF
64404 if ac_fn_cxx_try_compile "$LINENO"; then :
64405 glibcxx_cv_func__isnanl_use=yes
64406 else
64407 glibcxx_cv_func__isnanl_use=no
64408 fi
64409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64410 ac_ext=c
64411 ac_cpp='$CPP $CPPFLAGS'
64412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64415
64416
64417 fi
64418
64419 fi
64420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
64421 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
64422
64423 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
64424 for ac_func in _isnanl
64425 do :
64426 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
64427 if test "x$ac_cv_func__isnanl" = xyes; then :
64428 cat >>confdefs.h <<_ACEOF
64429 #define HAVE__ISNANL 1
64430 _ACEOF
64431
64432 fi
64433 done
64434
64435 fi
64436 fi
64437
64438
64439
64440
64441
64442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
64443 $as_echo_n "checking for isinfl declaration... " >&6; }
64444 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
64445 if ${glibcxx_cv_func_isinfl_use+:} false; then :
64446 $as_echo_n "(cached) " >&6
64447 else
64448
64449
64450 ac_ext=cpp
64451 ac_cpp='$CXXCPP $CPPFLAGS'
64452 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64453 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64454 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64455
64456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64457 /* end confdefs.h. */
64458 #include <math.h>
64459 #ifdef HAVE_IEEEFP_H
64460 #include <ieeefp.h>
64461 #endif
64462
64463 int
64464 main ()
64465 {
64466 isinfl(0);
64467 ;
64468 return 0;
64469 }
64470 _ACEOF
64471 if ac_fn_cxx_try_compile "$LINENO"; then :
64472 glibcxx_cv_func_isinfl_use=yes
64473 else
64474 glibcxx_cv_func_isinfl_use=no
64475 fi
64476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64477 ac_ext=c
64478 ac_cpp='$CPP $CPPFLAGS'
64479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64482
64483
64484 fi
64485
64486 fi
64487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
64488 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
64489
64490 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
64491 for ac_func in isinfl
64492 do :
64493 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
64494 if test "x$ac_cv_func_isinfl" = xyes; then :
64495 cat >>confdefs.h <<_ACEOF
64496 #define HAVE_ISINFL 1
64497 _ACEOF
64498
64499 fi
64500 done
64501
64502 else
64503
64504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
64505 $as_echo_n "checking for _isinfl declaration... " >&6; }
64506 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
64507 if ${glibcxx_cv_func__isinfl_use+:} false; then :
64508 $as_echo_n "(cached) " >&6
64509 else
64510
64511
64512 ac_ext=cpp
64513 ac_cpp='$CXXCPP $CPPFLAGS'
64514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64517
64518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64519 /* end confdefs.h. */
64520 #include <math.h>
64521 #ifdef HAVE_IEEEFP_H
64522 #include <ieeefp.h>
64523 #endif
64524
64525 int
64526 main ()
64527 {
64528 _isinfl(0);
64529 ;
64530 return 0;
64531 }
64532 _ACEOF
64533 if ac_fn_cxx_try_compile "$LINENO"; then :
64534 glibcxx_cv_func__isinfl_use=yes
64535 else
64536 glibcxx_cv_func__isinfl_use=no
64537 fi
64538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64539 ac_ext=c
64540 ac_cpp='$CPP $CPPFLAGS'
64541 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64542 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64543 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64544
64545
64546 fi
64547
64548 fi
64549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
64550 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
64551
64552 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
64553 for ac_func in _isinfl
64554 do :
64555 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
64556 if test "x$ac_cv_func__isinfl" = xyes; then :
64557 cat >>confdefs.h <<_ACEOF
64558 #define HAVE__ISINFL 1
64559 _ACEOF
64560
64561 fi
64562 done
64563
64564 fi
64565 fi
64566
64567
64568
64569
64570
64571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
64572 $as_echo_n "checking for atan2l declaration... " >&6; }
64573 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
64574 if ${glibcxx_cv_func_atan2l_use+:} false; then :
64575 $as_echo_n "(cached) " >&6
64576 else
64577
64578
64579 ac_ext=cpp
64580 ac_cpp='$CXXCPP $CPPFLAGS'
64581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64584
64585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64586 /* end confdefs.h. */
64587 #include <math.h>
64588 int
64589 main ()
64590 {
64591 atan2l(0, 0);
64592 ;
64593 return 0;
64594 }
64595 _ACEOF
64596 if ac_fn_cxx_try_compile "$LINENO"; then :
64597 glibcxx_cv_func_atan2l_use=yes
64598 else
64599 glibcxx_cv_func_atan2l_use=no
64600 fi
64601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64602 ac_ext=c
64603 ac_cpp='$CPP $CPPFLAGS'
64604 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64605 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64606 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64607
64608
64609 fi
64610
64611 fi
64612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
64613 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
64614
64615 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
64616 for ac_func in atan2l
64617 do :
64618 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
64619 if test "x$ac_cv_func_atan2l" = xyes; then :
64620 cat >>confdefs.h <<_ACEOF
64621 #define HAVE_ATAN2L 1
64622 _ACEOF
64623
64624 fi
64625 done
64626
64627 else
64628
64629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
64630 $as_echo_n "checking for _atan2l declaration... " >&6; }
64631 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
64632 if ${glibcxx_cv_func__atan2l_use+:} false; then :
64633 $as_echo_n "(cached) " >&6
64634 else
64635
64636
64637 ac_ext=cpp
64638 ac_cpp='$CXXCPP $CPPFLAGS'
64639 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64640 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64641 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64642
64643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64644 /* end confdefs.h. */
64645 #include <math.h>
64646 int
64647 main ()
64648 {
64649 _atan2l(0, 0);
64650 ;
64651 return 0;
64652 }
64653 _ACEOF
64654 if ac_fn_cxx_try_compile "$LINENO"; then :
64655 glibcxx_cv_func__atan2l_use=yes
64656 else
64657 glibcxx_cv_func__atan2l_use=no
64658 fi
64659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64660 ac_ext=c
64661 ac_cpp='$CPP $CPPFLAGS'
64662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64665
64666
64667 fi
64668
64669 fi
64670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
64671 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
64672
64673 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
64674 for ac_func in _atan2l
64675 do :
64676 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
64677 if test "x$ac_cv_func__atan2l" = xyes; then :
64678 cat >>confdefs.h <<_ACEOF
64679 #define HAVE__ATAN2L 1
64680 _ACEOF
64681
64682 fi
64683 done
64684
64685 fi
64686 fi
64687
64688
64689
64690
64691
64692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
64693 $as_echo_n "checking for expl declaration... " >&6; }
64694 if test x${glibcxx_cv_func_expl_use+set} != xset; then
64695 if ${glibcxx_cv_func_expl_use+:} false; then :
64696 $as_echo_n "(cached) " >&6
64697 else
64698
64699
64700 ac_ext=cpp
64701 ac_cpp='$CXXCPP $CPPFLAGS'
64702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64705
64706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64707 /* end confdefs.h. */
64708 #include <math.h>
64709 #ifdef HAVE_IEEEFP_H
64710 #include <ieeefp.h>
64711 #endif
64712
64713 int
64714 main ()
64715 {
64716 expl(0);
64717 ;
64718 return 0;
64719 }
64720 _ACEOF
64721 if ac_fn_cxx_try_compile "$LINENO"; then :
64722 glibcxx_cv_func_expl_use=yes
64723 else
64724 glibcxx_cv_func_expl_use=no
64725 fi
64726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64727 ac_ext=c
64728 ac_cpp='$CPP $CPPFLAGS'
64729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64732
64733
64734 fi
64735
64736 fi
64737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
64738 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
64739
64740 if test x$glibcxx_cv_func_expl_use = x"yes"; then
64741 for ac_func in expl
64742 do :
64743 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
64744 if test "x$ac_cv_func_expl" = xyes; then :
64745 cat >>confdefs.h <<_ACEOF
64746 #define HAVE_EXPL 1
64747 _ACEOF
64748
64749 fi
64750 done
64751
64752 else
64753
64754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
64755 $as_echo_n "checking for _expl declaration... " >&6; }
64756 if test x${glibcxx_cv_func__expl_use+set} != xset; then
64757 if ${glibcxx_cv_func__expl_use+:} false; then :
64758 $as_echo_n "(cached) " >&6
64759 else
64760
64761
64762 ac_ext=cpp
64763 ac_cpp='$CXXCPP $CPPFLAGS'
64764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64767
64768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64769 /* end confdefs.h. */
64770 #include <math.h>
64771 #ifdef HAVE_IEEEFP_H
64772 #include <ieeefp.h>
64773 #endif
64774
64775 int
64776 main ()
64777 {
64778 _expl(0);
64779 ;
64780 return 0;
64781 }
64782 _ACEOF
64783 if ac_fn_cxx_try_compile "$LINENO"; then :
64784 glibcxx_cv_func__expl_use=yes
64785 else
64786 glibcxx_cv_func__expl_use=no
64787 fi
64788 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64789 ac_ext=c
64790 ac_cpp='$CPP $CPPFLAGS'
64791 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64792 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64793 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64794
64795
64796 fi
64797
64798 fi
64799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
64800 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
64801
64802 if test x$glibcxx_cv_func__expl_use = x"yes"; then
64803 for ac_func in _expl
64804 do :
64805 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
64806 if test "x$ac_cv_func__expl" = xyes; then :
64807 cat >>confdefs.h <<_ACEOF
64808 #define HAVE__EXPL 1
64809 _ACEOF
64810
64811 fi
64812 done
64813
64814 fi
64815 fi
64816
64817
64818
64819
64820
64821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
64822 $as_echo_n "checking for fabsl declaration... " >&6; }
64823 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
64824 if ${glibcxx_cv_func_fabsl_use+:} false; then :
64825 $as_echo_n "(cached) " >&6
64826 else
64827
64828
64829 ac_ext=cpp
64830 ac_cpp='$CXXCPP $CPPFLAGS'
64831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64834
64835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64836 /* end confdefs.h. */
64837 #include <math.h>
64838 #ifdef HAVE_IEEEFP_H
64839 #include <ieeefp.h>
64840 #endif
64841
64842 int
64843 main ()
64844 {
64845 fabsl(0);
64846 ;
64847 return 0;
64848 }
64849 _ACEOF
64850 if ac_fn_cxx_try_compile "$LINENO"; then :
64851 glibcxx_cv_func_fabsl_use=yes
64852 else
64853 glibcxx_cv_func_fabsl_use=no
64854 fi
64855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64856 ac_ext=c
64857 ac_cpp='$CPP $CPPFLAGS'
64858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64861
64862
64863 fi
64864
64865 fi
64866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
64867 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
64868
64869 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
64870 for ac_func in fabsl
64871 do :
64872 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
64873 if test "x$ac_cv_func_fabsl" = xyes; then :
64874 cat >>confdefs.h <<_ACEOF
64875 #define HAVE_FABSL 1
64876 _ACEOF
64877
64878 fi
64879 done
64880
64881 else
64882
64883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
64884 $as_echo_n "checking for _fabsl declaration... " >&6; }
64885 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
64886 if ${glibcxx_cv_func__fabsl_use+:} false; then :
64887 $as_echo_n "(cached) " >&6
64888 else
64889
64890
64891 ac_ext=cpp
64892 ac_cpp='$CXXCPP $CPPFLAGS'
64893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64896
64897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64898 /* end confdefs.h. */
64899 #include <math.h>
64900 #ifdef HAVE_IEEEFP_H
64901 #include <ieeefp.h>
64902 #endif
64903
64904 int
64905 main ()
64906 {
64907 _fabsl(0);
64908 ;
64909 return 0;
64910 }
64911 _ACEOF
64912 if ac_fn_cxx_try_compile "$LINENO"; then :
64913 glibcxx_cv_func__fabsl_use=yes
64914 else
64915 glibcxx_cv_func__fabsl_use=no
64916 fi
64917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64918 ac_ext=c
64919 ac_cpp='$CPP $CPPFLAGS'
64920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64923
64924
64925 fi
64926
64927 fi
64928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
64929 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
64930
64931 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
64932 for ac_func in _fabsl
64933 do :
64934 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
64935 if test "x$ac_cv_func__fabsl" = xyes; then :
64936 cat >>confdefs.h <<_ACEOF
64937 #define HAVE__FABSL 1
64938 _ACEOF
64939
64940 fi
64941 done
64942
64943 fi
64944 fi
64945
64946
64947
64948
64949
64950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
64951 $as_echo_n "checking for fmodl declaration... " >&6; }
64952 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
64953 if ${glibcxx_cv_func_fmodl_use+:} false; then :
64954 $as_echo_n "(cached) " >&6
64955 else
64956
64957
64958 ac_ext=cpp
64959 ac_cpp='$CXXCPP $CPPFLAGS'
64960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
64963
64964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
64965 /* end confdefs.h. */
64966 #include <math.h>
64967 int
64968 main ()
64969 {
64970 fmodl(0, 0);
64971 ;
64972 return 0;
64973 }
64974 _ACEOF
64975 if ac_fn_cxx_try_compile "$LINENO"; then :
64976 glibcxx_cv_func_fmodl_use=yes
64977 else
64978 glibcxx_cv_func_fmodl_use=no
64979 fi
64980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
64981 ac_ext=c
64982 ac_cpp='$CPP $CPPFLAGS'
64983 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
64984 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
64985 ac_compiler_gnu=$ac_cv_c_compiler_gnu
64986
64987
64988 fi
64989
64990 fi
64991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
64992 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
64993
64994 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
64995 for ac_func in fmodl
64996 do :
64997 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
64998 if test "x$ac_cv_func_fmodl" = xyes; then :
64999 cat >>confdefs.h <<_ACEOF
65000 #define HAVE_FMODL 1
65001 _ACEOF
65002
65003 fi
65004 done
65005
65006 else
65007
65008 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
65009 $as_echo_n "checking for _fmodl declaration... " >&6; }
65010 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
65011 if ${glibcxx_cv_func__fmodl_use+:} false; then :
65012 $as_echo_n "(cached) " >&6
65013 else
65014
65015
65016 ac_ext=cpp
65017 ac_cpp='$CXXCPP $CPPFLAGS'
65018 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65019 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65020 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65021
65022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65023 /* end confdefs.h. */
65024 #include <math.h>
65025 int
65026 main ()
65027 {
65028 _fmodl(0, 0);
65029 ;
65030 return 0;
65031 }
65032 _ACEOF
65033 if ac_fn_cxx_try_compile "$LINENO"; then :
65034 glibcxx_cv_func__fmodl_use=yes
65035 else
65036 glibcxx_cv_func__fmodl_use=no
65037 fi
65038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65039 ac_ext=c
65040 ac_cpp='$CPP $CPPFLAGS'
65041 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65042 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65043 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65044
65045
65046 fi
65047
65048 fi
65049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
65050 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
65051
65052 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
65053 for ac_func in _fmodl
65054 do :
65055 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
65056 if test "x$ac_cv_func__fmodl" = xyes; then :
65057 cat >>confdefs.h <<_ACEOF
65058 #define HAVE__FMODL 1
65059 _ACEOF
65060
65061 fi
65062 done
65063
65064 fi
65065 fi
65066
65067
65068
65069
65070
65071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
65072 $as_echo_n "checking for frexpl declaration... " >&6; }
65073 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
65074 if ${glibcxx_cv_func_frexpl_use+:} false; then :
65075 $as_echo_n "(cached) " >&6
65076 else
65077
65078
65079 ac_ext=cpp
65080 ac_cpp='$CXXCPP $CPPFLAGS'
65081 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65082 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65083 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65084
65085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65086 /* end confdefs.h. */
65087 #include <math.h>
65088 int
65089 main ()
65090 {
65091 frexpl(0, 0);
65092 ;
65093 return 0;
65094 }
65095 _ACEOF
65096 if ac_fn_cxx_try_compile "$LINENO"; then :
65097 glibcxx_cv_func_frexpl_use=yes
65098 else
65099 glibcxx_cv_func_frexpl_use=no
65100 fi
65101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65102 ac_ext=c
65103 ac_cpp='$CPP $CPPFLAGS'
65104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65107
65108
65109 fi
65110
65111 fi
65112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
65113 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
65114
65115 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
65116 for ac_func in frexpl
65117 do :
65118 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
65119 if test "x$ac_cv_func_frexpl" = xyes; then :
65120 cat >>confdefs.h <<_ACEOF
65121 #define HAVE_FREXPL 1
65122 _ACEOF
65123
65124 fi
65125 done
65126
65127 else
65128
65129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
65130 $as_echo_n "checking for _frexpl declaration... " >&6; }
65131 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
65132 if ${glibcxx_cv_func__frexpl_use+:} false; then :
65133 $as_echo_n "(cached) " >&6
65134 else
65135
65136
65137 ac_ext=cpp
65138 ac_cpp='$CXXCPP $CPPFLAGS'
65139 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65140 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65141 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65142
65143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65144 /* end confdefs.h. */
65145 #include <math.h>
65146 int
65147 main ()
65148 {
65149 _frexpl(0, 0);
65150 ;
65151 return 0;
65152 }
65153 _ACEOF
65154 if ac_fn_cxx_try_compile "$LINENO"; then :
65155 glibcxx_cv_func__frexpl_use=yes
65156 else
65157 glibcxx_cv_func__frexpl_use=no
65158 fi
65159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65160 ac_ext=c
65161 ac_cpp='$CPP $CPPFLAGS'
65162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65165
65166
65167 fi
65168
65169 fi
65170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
65171 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
65172
65173 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
65174 for ac_func in _frexpl
65175 do :
65176 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
65177 if test "x$ac_cv_func__frexpl" = xyes; then :
65178 cat >>confdefs.h <<_ACEOF
65179 #define HAVE__FREXPL 1
65180 _ACEOF
65181
65182 fi
65183 done
65184
65185 fi
65186 fi
65187
65188
65189
65190
65191
65192 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
65193 $as_echo_n "checking for hypotl declaration... " >&6; }
65194 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
65195 if ${glibcxx_cv_func_hypotl_use+:} false; then :
65196 $as_echo_n "(cached) " >&6
65197 else
65198
65199
65200 ac_ext=cpp
65201 ac_cpp='$CXXCPP $CPPFLAGS'
65202 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65203 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65204 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65205
65206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65207 /* end confdefs.h. */
65208 #include <math.h>
65209 int
65210 main ()
65211 {
65212 hypotl(0, 0);
65213 ;
65214 return 0;
65215 }
65216 _ACEOF
65217 if ac_fn_cxx_try_compile "$LINENO"; then :
65218 glibcxx_cv_func_hypotl_use=yes
65219 else
65220 glibcxx_cv_func_hypotl_use=no
65221 fi
65222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65223 ac_ext=c
65224 ac_cpp='$CPP $CPPFLAGS'
65225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65228
65229
65230 fi
65231
65232 fi
65233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
65234 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
65235
65236 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
65237 for ac_func in hypotl
65238 do :
65239 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
65240 if test "x$ac_cv_func_hypotl" = xyes; then :
65241 cat >>confdefs.h <<_ACEOF
65242 #define HAVE_HYPOTL 1
65243 _ACEOF
65244
65245 fi
65246 done
65247
65248 else
65249
65250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
65251 $as_echo_n "checking for _hypotl declaration... " >&6; }
65252 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
65253 if ${glibcxx_cv_func__hypotl_use+:} false; then :
65254 $as_echo_n "(cached) " >&6
65255 else
65256
65257
65258 ac_ext=cpp
65259 ac_cpp='$CXXCPP $CPPFLAGS'
65260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65263
65264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65265 /* end confdefs.h. */
65266 #include <math.h>
65267 int
65268 main ()
65269 {
65270 _hypotl(0, 0);
65271 ;
65272 return 0;
65273 }
65274 _ACEOF
65275 if ac_fn_cxx_try_compile "$LINENO"; then :
65276 glibcxx_cv_func__hypotl_use=yes
65277 else
65278 glibcxx_cv_func__hypotl_use=no
65279 fi
65280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65281 ac_ext=c
65282 ac_cpp='$CPP $CPPFLAGS'
65283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65286
65287
65288 fi
65289
65290 fi
65291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
65292 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
65293
65294 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
65295 for ac_func in _hypotl
65296 do :
65297 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
65298 if test "x$ac_cv_func__hypotl" = xyes; then :
65299 cat >>confdefs.h <<_ACEOF
65300 #define HAVE__HYPOTL 1
65301 _ACEOF
65302
65303 fi
65304 done
65305
65306 fi
65307 fi
65308
65309
65310
65311
65312
65313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
65314 $as_echo_n "checking for ldexpl declaration... " >&6; }
65315 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
65316 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
65317 $as_echo_n "(cached) " >&6
65318 else
65319
65320
65321 ac_ext=cpp
65322 ac_cpp='$CXXCPP $CPPFLAGS'
65323 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65324 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65325 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65326
65327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65328 /* end confdefs.h. */
65329 #include <math.h>
65330 int
65331 main ()
65332 {
65333 ldexpl(0, 0);
65334 ;
65335 return 0;
65336 }
65337 _ACEOF
65338 if ac_fn_cxx_try_compile "$LINENO"; then :
65339 glibcxx_cv_func_ldexpl_use=yes
65340 else
65341 glibcxx_cv_func_ldexpl_use=no
65342 fi
65343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65344 ac_ext=c
65345 ac_cpp='$CPP $CPPFLAGS'
65346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65349
65350
65351 fi
65352
65353 fi
65354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
65355 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
65356
65357 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
65358 for ac_func in ldexpl
65359 do :
65360 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
65361 if test "x$ac_cv_func_ldexpl" = xyes; then :
65362 cat >>confdefs.h <<_ACEOF
65363 #define HAVE_LDEXPL 1
65364 _ACEOF
65365
65366 fi
65367 done
65368
65369 else
65370
65371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
65372 $as_echo_n "checking for _ldexpl declaration... " >&6; }
65373 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
65374 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
65375 $as_echo_n "(cached) " >&6
65376 else
65377
65378
65379 ac_ext=cpp
65380 ac_cpp='$CXXCPP $CPPFLAGS'
65381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65384
65385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65386 /* end confdefs.h. */
65387 #include <math.h>
65388 int
65389 main ()
65390 {
65391 _ldexpl(0, 0);
65392 ;
65393 return 0;
65394 }
65395 _ACEOF
65396 if ac_fn_cxx_try_compile "$LINENO"; then :
65397 glibcxx_cv_func__ldexpl_use=yes
65398 else
65399 glibcxx_cv_func__ldexpl_use=no
65400 fi
65401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65402 ac_ext=c
65403 ac_cpp='$CPP $CPPFLAGS'
65404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65407
65408
65409 fi
65410
65411 fi
65412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
65413 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
65414
65415 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
65416 for ac_func in _ldexpl
65417 do :
65418 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
65419 if test "x$ac_cv_func__ldexpl" = xyes; then :
65420 cat >>confdefs.h <<_ACEOF
65421 #define HAVE__LDEXPL 1
65422 _ACEOF
65423
65424 fi
65425 done
65426
65427 fi
65428 fi
65429
65430
65431
65432
65433
65434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
65435 $as_echo_n "checking for logl declaration... " >&6; }
65436 if test x${glibcxx_cv_func_logl_use+set} != xset; then
65437 if ${glibcxx_cv_func_logl_use+:} false; then :
65438 $as_echo_n "(cached) " >&6
65439 else
65440
65441
65442 ac_ext=cpp
65443 ac_cpp='$CXXCPP $CPPFLAGS'
65444 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65445 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65446 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65447
65448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65449 /* end confdefs.h. */
65450 #include <math.h>
65451 #ifdef HAVE_IEEEFP_H
65452 #include <ieeefp.h>
65453 #endif
65454
65455 int
65456 main ()
65457 {
65458 logl(0);
65459 ;
65460 return 0;
65461 }
65462 _ACEOF
65463 if ac_fn_cxx_try_compile "$LINENO"; then :
65464 glibcxx_cv_func_logl_use=yes
65465 else
65466 glibcxx_cv_func_logl_use=no
65467 fi
65468 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65469 ac_ext=c
65470 ac_cpp='$CPP $CPPFLAGS'
65471 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65472 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65473 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65474
65475
65476 fi
65477
65478 fi
65479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
65480 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
65481
65482 if test x$glibcxx_cv_func_logl_use = x"yes"; then
65483 for ac_func in logl
65484 do :
65485 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
65486 if test "x$ac_cv_func_logl" = xyes; then :
65487 cat >>confdefs.h <<_ACEOF
65488 #define HAVE_LOGL 1
65489 _ACEOF
65490
65491 fi
65492 done
65493
65494 else
65495
65496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
65497 $as_echo_n "checking for _logl declaration... " >&6; }
65498 if test x${glibcxx_cv_func__logl_use+set} != xset; then
65499 if ${glibcxx_cv_func__logl_use+:} false; then :
65500 $as_echo_n "(cached) " >&6
65501 else
65502
65503
65504 ac_ext=cpp
65505 ac_cpp='$CXXCPP $CPPFLAGS'
65506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65509
65510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65511 /* end confdefs.h. */
65512 #include <math.h>
65513 #ifdef HAVE_IEEEFP_H
65514 #include <ieeefp.h>
65515 #endif
65516
65517 int
65518 main ()
65519 {
65520 _logl(0);
65521 ;
65522 return 0;
65523 }
65524 _ACEOF
65525 if ac_fn_cxx_try_compile "$LINENO"; then :
65526 glibcxx_cv_func__logl_use=yes
65527 else
65528 glibcxx_cv_func__logl_use=no
65529 fi
65530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65531 ac_ext=c
65532 ac_cpp='$CPP $CPPFLAGS'
65533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65536
65537
65538 fi
65539
65540 fi
65541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
65542 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
65543
65544 if test x$glibcxx_cv_func__logl_use = x"yes"; then
65545 for ac_func in _logl
65546 do :
65547 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
65548 if test "x$ac_cv_func__logl" = xyes; then :
65549 cat >>confdefs.h <<_ACEOF
65550 #define HAVE__LOGL 1
65551 _ACEOF
65552
65553 fi
65554 done
65555
65556 fi
65557 fi
65558
65559
65560
65561
65562
65563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
65564 $as_echo_n "checking for log10l declaration... " >&6; }
65565 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
65566 if ${glibcxx_cv_func_log10l_use+:} false; then :
65567 $as_echo_n "(cached) " >&6
65568 else
65569
65570
65571 ac_ext=cpp
65572 ac_cpp='$CXXCPP $CPPFLAGS'
65573 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65574 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65575 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65576
65577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65578 /* end confdefs.h. */
65579 #include <math.h>
65580 #ifdef HAVE_IEEEFP_H
65581 #include <ieeefp.h>
65582 #endif
65583
65584 int
65585 main ()
65586 {
65587 log10l(0);
65588 ;
65589 return 0;
65590 }
65591 _ACEOF
65592 if ac_fn_cxx_try_compile "$LINENO"; then :
65593 glibcxx_cv_func_log10l_use=yes
65594 else
65595 glibcxx_cv_func_log10l_use=no
65596 fi
65597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65598 ac_ext=c
65599 ac_cpp='$CPP $CPPFLAGS'
65600 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65601 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65602 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65603
65604
65605 fi
65606
65607 fi
65608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
65609 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
65610
65611 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
65612 for ac_func in log10l
65613 do :
65614 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
65615 if test "x$ac_cv_func_log10l" = xyes; then :
65616 cat >>confdefs.h <<_ACEOF
65617 #define HAVE_LOG10L 1
65618 _ACEOF
65619
65620 fi
65621 done
65622
65623 else
65624
65625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
65626 $as_echo_n "checking for _log10l declaration... " >&6; }
65627 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
65628 if ${glibcxx_cv_func__log10l_use+:} false; then :
65629 $as_echo_n "(cached) " >&6
65630 else
65631
65632
65633 ac_ext=cpp
65634 ac_cpp='$CXXCPP $CPPFLAGS'
65635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65638
65639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65640 /* end confdefs.h. */
65641 #include <math.h>
65642 #ifdef HAVE_IEEEFP_H
65643 #include <ieeefp.h>
65644 #endif
65645
65646 int
65647 main ()
65648 {
65649 _log10l(0);
65650 ;
65651 return 0;
65652 }
65653 _ACEOF
65654 if ac_fn_cxx_try_compile "$LINENO"; then :
65655 glibcxx_cv_func__log10l_use=yes
65656 else
65657 glibcxx_cv_func__log10l_use=no
65658 fi
65659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65660 ac_ext=c
65661 ac_cpp='$CPP $CPPFLAGS'
65662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65665
65666
65667 fi
65668
65669 fi
65670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
65671 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
65672
65673 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
65674 for ac_func in _log10l
65675 do :
65676 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
65677 if test "x$ac_cv_func__log10l" = xyes; then :
65678 cat >>confdefs.h <<_ACEOF
65679 #define HAVE__LOG10L 1
65680 _ACEOF
65681
65682 fi
65683 done
65684
65685 fi
65686 fi
65687
65688
65689
65690
65691
65692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
65693 $as_echo_n "checking for modfl declaration... " >&6; }
65694 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
65695 if ${glibcxx_cv_func_modfl_use+:} false; then :
65696 $as_echo_n "(cached) " >&6
65697 else
65698
65699
65700 ac_ext=cpp
65701 ac_cpp='$CXXCPP $CPPFLAGS'
65702 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65703 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65704 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65705
65706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65707 /* end confdefs.h. */
65708 #include <math.h>
65709 int
65710 main ()
65711 {
65712 modfl(0, 0);
65713 ;
65714 return 0;
65715 }
65716 _ACEOF
65717 if ac_fn_cxx_try_compile "$LINENO"; then :
65718 glibcxx_cv_func_modfl_use=yes
65719 else
65720 glibcxx_cv_func_modfl_use=no
65721 fi
65722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65723 ac_ext=c
65724 ac_cpp='$CPP $CPPFLAGS'
65725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65728
65729
65730 fi
65731
65732 fi
65733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
65734 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
65735
65736 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
65737 for ac_func in modfl
65738 do :
65739 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
65740 if test "x$ac_cv_func_modfl" = xyes; then :
65741 cat >>confdefs.h <<_ACEOF
65742 #define HAVE_MODFL 1
65743 _ACEOF
65744
65745 fi
65746 done
65747
65748 else
65749
65750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
65751 $as_echo_n "checking for _modfl declaration... " >&6; }
65752 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
65753 if ${glibcxx_cv_func__modfl_use+:} false; then :
65754 $as_echo_n "(cached) " >&6
65755 else
65756
65757
65758 ac_ext=cpp
65759 ac_cpp='$CXXCPP $CPPFLAGS'
65760 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65761 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65762 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65763
65764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65765 /* end confdefs.h. */
65766 #include <math.h>
65767 int
65768 main ()
65769 {
65770 _modfl(0, 0);
65771 ;
65772 return 0;
65773 }
65774 _ACEOF
65775 if ac_fn_cxx_try_compile "$LINENO"; then :
65776 glibcxx_cv_func__modfl_use=yes
65777 else
65778 glibcxx_cv_func__modfl_use=no
65779 fi
65780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65781 ac_ext=c
65782 ac_cpp='$CPP $CPPFLAGS'
65783 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65784 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65785 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65786
65787
65788 fi
65789
65790 fi
65791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
65792 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
65793
65794 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
65795 for ac_func in _modfl
65796 do :
65797 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
65798 if test "x$ac_cv_func__modfl" = xyes; then :
65799 cat >>confdefs.h <<_ACEOF
65800 #define HAVE__MODFL 1
65801 _ACEOF
65802
65803 fi
65804 done
65805
65806 fi
65807 fi
65808
65809
65810
65811
65812
65813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
65814 $as_echo_n "checking for powl declaration... " >&6; }
65815 if test x${glibcxx_cv_func_powl_use+set} != xset; then
65816 if ${glibcxx_cv_func_powl_use+:} false; then :
65817 $as_echo_n "(cached) " >&6
65818 else
65819
65820
65821 ac_ext=cpp
65822 ac_cpp='$CXXCPP $CPPFLAGS'
65823 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65824 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65825 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65826
65827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65828 /* end confdefs.h. */
65829 #include <math.h>
65830 int
65831 main ()
65832 {
65833 powl(0, 0);
65834 ;
65835 return 0;
65836 }
65837 _ACEOF
65838 if ac_fn_cxx_try_compile "$LINENO"; then :
65839 glibcxx_cv_func_powl_use=yes
65840 else
65841 glibcxx_cv_func_powl_use=no
65842 fi
65843 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65844 ac_ext=c
65845 ac_cpp='$CPP $CPPFLAGS'
65846 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65847 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65848 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65849
65850
65851 fi
65852
65853 fi
65854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
65855 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
65856
65857 if test x$glibcxx_cv_func_powl_use = x"yes"; then
65858 for ac_func in powl
65859 do :
65860 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
65861 if test "x$ac_cv_func_powl" = xyes; then :
65862 cat >>confdefs.h <<_ACEOF
65863 #define HAVE_POWL 1
65864 _ACEOF
65865
65866 fi
65867 done
65868
65869 else
65870
65871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
65872 $as_echo_n "checking for _powl declaration... " >&6; }
65873 if test x${glibcxx_cv_func__powl_use+set} != xset; then
65874 if ${glibcxx_cv_func__powl_use+:} false; then :
65875 $as_echo_n "(cached) " >&6
65876 else
65877
65878
65879 ac_ext=cpp
65880 ac_cpp='$CXXCPP $CPPFLAGS'
65881 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65882 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65883 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65884
65885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65886 /* end confdefs.h. */
65887 #include <math.h>
65888 int
65889 main ()
65890 {
65891 _powl(0, 0);
65892 ;
65893 return 0;
65894 }
65895 _ACEOF
65896 if ac_fn_cxx_try_compile "$LINENO"; then :
65897 glibcxx_cv_func__powl_use=yes
65898 else
65899 glibcxx_cv_func__powl_use=no
65900 fi
65901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65902 ac_ext=c
65903 ac_cpp='$CPP $CPPFLAGS'
65904 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65905 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65906 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65907
65908
65909 fi
65910
65911 fi
65912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
65913 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
65914
65915 if test x$glibcxx_cv_func__powl_use = x"yes"; then
65916 for ac_func in _powl
65917 do :
65918 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
65919 if test "x$ac_cv_func__powl" = xyes; then :
65920 cat >>confdefs.h <<_ACEOF
65921 #define HAVE__POWL 1
65922 _ACEOF
65923
65924 fi
65925 done
65926
65927 fi
65928 fi
65929
65930
65931
65932
65933
65934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
65935 $as_echo_n "checking for sqrtl declaration... " >&6; }
65936 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
65937 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
65938 $as_echo_n "(cached) " >&6
65939 else
65940
65941
65942 ac_ext=cpp
65943 ac_cpp='$CXXCPP $CPPFLAGS'
65944 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65945 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65946 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
65947
65948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
65949 /* end confdefs.h. */
65950 #include <math.h>
65951 #ifdef HAVE_IEEEFP_H
65952 #include <ieeefp.h>
65953 #endif
65954
65955 int
65956 main ()
65957 {
65958 sqrtl(0);
65959 ;
65960 return 0;
65961 }
65962 _ACEOF
65963 if ac_fn_cxx_try_compile "$LINENO"; then :
65964 glibcxx_cv_func_sqrtl_use=yes
65965 else
65966 glibcxx_cv_func_sqrtl_use=no
65967 fi
65968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
65969 ac_ext=c
65970 ac_cpp='$CPP $CPPFLAGS'
65971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
65972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
65973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
65974
65975
65976 fi
65977
65978 fi
65979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
65980 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
65981
65982 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
65983 for ac_func in sqrtl
65984 do :
65985 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
65986 if test "x$ac_cv_func_sqrtl" = xyes; then :
65987 cat >>confdefs.h <<_ACEOF
65988 #define HAVE_SQRTL 1
65989 _ACEOF
65990
65991 fi
65992 done
65993
65994 else
65995
65996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
65997 $as_echo_n "checking for _sqrtl declaration... " >&6; }
65998 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
65999 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
66000 $as_echo_n "(cached) " >&6
66001 else
66002
66003
66004 ac_ext=cpp
66005 ac_cpp='$CXXCPP $CPPFLAGS'
66006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66009
66010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66011 /* end confdefs.h. */
66012 #include <math.h>
66013 #ifdef HAVE_IEEEFP_H
66014 #include <ieeefp.h>
66015 #endif
66016
66017 int
66018 main ()
66019 {
66020 _sqrtl(0);
66021 ;
66022 return 0;
66023 }
66024 _ACEOF
66025 if ac_fn_cxx_try_compile "$LINENO"; then :
66026 glibcxx_cv_func__sqrtl_use=yes
66027 else
66028 glibcxx_cv_func__sqrtl_use=no
66029 fi
66030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66031 ac_ext=c
66032 ac_cpp='$CPP $CPPFLAGS'
66033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66036
66037
66038 fi
66039
66040 fi
66041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
66042 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
66043
66044 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
66045 for ac_func in _sqrtl
66046 do :
66047 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
66048 if test "x$ac_cv_func__sqrtl" = xyes; then :
66049 cat >>confdefs.h <<_ACEOF
66050 #define HAVE__SQRTL 1
66051 _ACEOF
66052
66053 fi
66054 done
66055
66056 fi
66057 fi
66058
66059
66060
66061
66062
66063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
66064 $as_echo_n "checking for sincosl declaration... " >&6; }
66065 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
66066 if ${glibcxx_cv_func_sincosl_use+:} false; then :
66067 $as_echo_n "(cached) " >&6
66068 else
66069
66070
66071 ac_ext=cpp
66072 ac_cpp='$CXXCPP $CPPFLAGS'
66073 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66074 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66075 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66076
66077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66078 /* end confdefs.h. */
66079 #include <math.h>
66080 int
66081 main ()
66082 {
66083 sincosl(0, 0, 0);
66084 ;
66085 return 0;
66086 }
66087 _ACEOF
66088 if ac_fn_cxx_try_compile "$LINENO"; then :
66089 glibcxx_cv_func_sincosl_use=yes
66090 else
66091 glibcxx_cv_func_sincosl_use=no
66092 fi
66093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66094 ac_ext=c
66095 ac_cpp='$CPP $CPPFLAGS'
66096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66099
66100
66101 fi
66102
66103 fi
66104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
66105 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
66106
66107 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
66108 for ac_func in sincosl
66109 do :
66110 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
66111 if test "x$ac_cv_func_sincosl" = xyes; then :
66112 cat >>confdefs.h <<_ACEOF
66113 #define HAVE_SINCOSL 1
66114 _ACEOF
66115
66116 fi
66117 done
66118
66119 else
66120
66121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
66122 $as_echo_n "checking for _sincosl declaration... " >&6; }
66123 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
66124 if ${glibcxx_cv_func__sincosl_use+:} false; then :
66125 $as_echo_n "(cached) " >&6
66126 else
66127
66128
66129 ac_ext=cpp
66130 ac_cpp='$CXXCPP $CPPFLAGS'
66131 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66132 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66133 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66134
66135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66136 /* end confdefs.h. */
66137 #include <math.h>
66138 int
66139 main ()
66140 {
66141 _sincosl(0, 0, 0);
66142 ;
66143 return 0;
66144 }
66145 _ACEOF
66146 if ac_fn_cxx_try_compile "$LINENO"; then :
66147 glibcxx_cv_func__sincosl_use=yes
66148 else
66149 glibcxx_cv_func__sincosl_use=no
66150 fi
66151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66152 ac_ext=c
66153 ac_cpp='$CPP $CPPFLAGS'
66154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66157
66158
66159 fi
66160
66161 fi
66162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
66163 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
66164
66165 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
66166 for ac_func in _sincosl
66167 do :
66168 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
66169 if test "x$ac_cv_func__sincosl" = xyes; then :
66170 cat >>confdefs.h <<_ACEOF
66171 #define HAVE__SINCOSL 1
66172 _ACEOF
66173
66174 fi
66175 done
66176
66177 fi
66178 fi
66179
66180
66181
66182
66183
66184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
66185 $as_echo_n "checking for finitel declaration... " >&6; }
66186 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
66187 if ${glibcxx_cv_func_finitel_use+:} false; then :
66188 $as_echo_n "(cached) " >&6
66189 else
66190
66191
66192 ac_ext=cpp
66193 ac_cpp='$CXXCPP $CPPFLAGS'
66194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66197
66198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66199 /* end confdefs.h. */
66200 #include <math.h>
66201 #ifdef HAVE_IEEEFP_H
66202 #include <ieeefp.h>
66203 #endif
66204
66205 int
66206 main ()
66207 {
66208 finitel(0);
66209 ;
66210 return 0;
66211 }
66212 _ACEOF
66213 if ac_fn_cxx_try_compile "$LINENO"; then :
66214 glibcxx_cv_func_finitel_use=yes
66215 else
66216 glibcxx_cv_func_finitel_use=no
66217 fi
66218 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66219 ac_ext=c
66220 ac_cpp='$CPP $CPPFLAGS'
66221 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66222 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66223 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66224
66225
66226 fi
66227
66228 fi
66229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
66230 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
66231
66232 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
66233 for ac_func in finitel
66234 do :
66235 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
66236 if test "x$ac_cv_func_finitel" = xyes; then :
66237 cat >>confdefs.h <<_ACEOF
66238 #define HAVE_FINITEL 1
66239 _ACEOF
66240
66241 fi
66242 done
66243
66244 else
66245
66246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
66247 $as_echo_n "checking for _finitel declaration... " >&6; }
66248 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
66249 if ${glibcxx_cv_func__finitel_use+:} false; then :
66250 $as_echo_n "(cached) " >&6
66251 else
66252
66253
66254 ac_ext=cpp
66255 ac_cpp='$CXXCPP $CPPFLAGS'
66256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66259
66260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66261 /* end confdefs.h. */
66262 #include <math.h>
66263 #ifdef HAVE_IEEEFP_H
66264 #include <ieeefp.h>
66265 #endif
66266
66267 int
66268 main ()
66269 {
66270 _finitel(0);
66271 ;
66272 return 0;
66273 }
66274 _ACEOF
66275 if ac_fn_cxx_try_compile "$LINENO"; then :
66276 glibcxx_cv_func__finitel_use=yes
66277 else
66278 glibcxx_cv_func__finitel_use=no
66279 fi
66280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66281 ac_ext=c
66282 ac_cpp='$CPP $CPPFLAGS'
66283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66286
66287
66288 fi
66289
66290 fi
66291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
66292 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
66293
66294 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
66295 for ac_func in _finitel
66296 do :
66297 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
66298 if test "x$ac_cv_func__finitel" = xyes; then :
66299 cat >>confdefs.h <<_ACEOF
66300 #define HAVE__FINITEL 1
66301 _ACEOF
66302
66303 fi
66304 done
66305
66306 fi
66307 fi
66308
66309
66310
66311
66312 LIBS="$ac_save_LIBS"
66313 CXXFLAGS="$ac_save_CXXFLAGS"
66314
66315
66316 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66317 ac_save_CXXFLAGS="$CXXFLAGS"
66318 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66319
66320
66321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
66322 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
66323 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
66324 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
66325 $as_echo_n "(cached) " >&6
66326 else
66327
66328
66329 ac_ext=cpp
66330 ac_cpp='$CXXCPP $CPPFLAGS'
66331 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66332 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66333 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66334
66335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66336 /* end confdefs.h. */
66337 #include <stdlib.h>
66338 int
66339 main ()
66340 {
66341 at_quick_exit(0);
66342 ;
66343 return 0;
66344 }
66345 _ACEOF
66346 if ac_fn_cxx_try_compile "$LINENO"; then :
66347 glibcxx_cv_func_at_quick_exit_use=yes
66348 else
66349 glibcxx_cv_func_at_quick_exit_use=no
66350 fi
66351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66352 ac_ext=c
66353 ac_cpp='$CPP $CPPFLAGS'
66354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66357
66358
66359 fi
66360
66361 fi
66362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
66363 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
66364 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
66365 for ac_func in at_quick_exit
66366 do :
66367 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
66368 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
66369 cat >>confdefs.h <<_ACEOF
66370 #define HAVE_AT_QUICK_EXIT 1
66371 _ACEOF
66372
66373 fi
66374 done
66375
66376 fi
66377
66378
66379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
66380 $as_echo_n "checking for quick_exit declaration... " >&6; }
66381 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
66382 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
66383 $as_echo_n "(cached) " >&6
66384 else
66385
66386
66387 ac_ext=cpp
66388 ac_cpp='$CXXCPP $CPPFLAGS'
66389 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66390 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66391 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66392
66393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66394 /* end confdefs.h. */
66395 #include <stdlib.h>
66396 int
66397 main ()
66398 {
66399 quick_exit(0);
66400 ;
66401 return 0;
66402 }
66403 _ACEOF
66404 if ac_fn_cxx_try_compile "$LINENO"; then :
66405 glibcxx_cv_func_quick_exit_use=yes
66406 else
66407 glibcxx_cv_func_quick_exit_use=no
66408 fi
66409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66410 ac_ext=c
66411 ac_cpp='$CPP $CPPFLAGS'
66412 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66413 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66414 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66415
66416
66417 fi
66418
66419 fi
66420 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
66421 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
66422 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
66423 for ac_func in quick_exit
66424 do :
66425 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
66426 if test "x$ac_cv_func_quick_exit" = xyes; then :
66427 cat >>confdefs.h <<_ACEOF
66428 #define HAVE_QUICK_EXIT 1
66429 _ACEOF
66430
66431 fi
66432 done
66433
66434 fi
66435
66436
66437 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
66438 $as_echo_n "checking for strtold declaration... " >&6; }
66439 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
66440 if ${glibcxx_cv_func_strtold_use+:} false; then :
66441 $as_echo_n "(cached) " >&6
66442 else
66443
66444
66445 ac_ext=cpp
66446 ac_cpp='$CXXCPP $CPPFLAGS'
66447 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66448 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66449 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66450
66451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66452 /* end confdefs.h. */
66453 #include <stdlib.h>
66454 int
66455 main ()
66456 {
66457 strtold(0, 0);
66458 ;
66459 return 0;
66460 }
66461 _ACEOF
66462 if ac_fn_cxx_try_compile "$LINENO"; then :
66463 glibcxx_cv_func_strtold_use=yes
66464 else
66465 glibcxx_cv_func_strtold_use=no
66466 fi
66467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66468 ac_ext=c
66469 ac_cpp='$CPP $CPPFLAGS'
66470 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66471 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66472 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66473
66474
66475 fi
66476
66477 fi
66478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
66479 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
66480 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
66481 for ac_func in strtold
66482 do :
66483 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
66484 if test "x$ac_cv_func_strtold" = xyes; then :
66485 cat >>confdefs.h <<_ACEOF
66486 #define HAVE_STRTOLD 1
66487 _ACEOF
66488
66489 fi
66490 done
66491
66492 fi
66493
66494
66495
66496
66497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
66498 $as_echo_n "checking for strtof declaration... " >&6; }
66499 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
66500 if ${glibcxx_cv_func_strtof_use+:} false; then :
66501 $as_echo_n "(cached) " >&6
66502 else
66503
66504
66505 ac_ext=cpp
66506 ac_cpp='$CXXCPP $CPPFLAGS'
66507 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66508 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66509 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66510
66511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66512 /* end confdefs.h. */
66513 #include <stdlib.h>
66514 int
66515 main ()
66516 {
66517 strtof(0, 0);
66518 ;
66519 return 0;
66520 }
66521 _ACEOF
66522 if ac_fn_cxx_try_compile "$LINENO"; then :
66523 glibcxx_cv_func_strtof_use=yes
66524 else
66525 glibcxx_cv_func_strtof_use=no
66526 fi
66527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66528 ac_ext=c
66529 ac_cpp='$CPP $CPPFLAGS'
66530 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66531 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66532 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66533
66534
66535 fi
66536
66537 fi
66538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
66539 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
66540 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
66541 for ac_func in strtof
66542 do :
66543 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
66544 if test "x$ac_cv_func_strtof" = xyes; then :
66545 cat >>confdefs.h <<_ACEOF
66546 #define HAVE_STRTOF 1
66547 _ACEOF
66548
66549 fi
66550 done
66551
66552 fi
66553
66554
66555
66556
66557 CXXFLAGS="$ac_save_CXXFLAGS"
66558
66559 ;;
66560 *-tpf)
66561 SECTION_FLAGS='-ffunction-sections -fdata-sections'
66562 SECTION_LDFLAGS='-Wl,--gc-sections $SECTION_LDFLAGS'
66563
66564 $as_echo "#define HAVE_FINITE 1" >>confdefs.h
66565
66566 $as_echo "#define HAVE_FINITEF 1" >>confdefs.h
66567
66568 $as_echo "#define HAVE_FREXPF 1" >>confdefs.h
66569
66570 $as_echo "#define HAVE_HYPOTF 1" >>confdefs.h
66571
66572 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
66573
66574 $as_echo "#define HAVE_ISINFF 1" >>confdefs.h
66575
66576 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
66577
66578 $as_echo "#define HAVE_ISNANF 1" >>confdefs.h
66579
66580 $as_echo "#define HAVE_SINCOS 1" >>confdefs.h
66581
66582 $as_echo "#define HAVE_SINCOSF 1" >>confdefs.h
66583
66584 if test x"long_double_math_on_this_cpu" = x"yes"; then
66585 $as_echo "#define HAVE_FINITEL 1" >>confdefs.h
66586
66587 $as_echo "#define HAVE_HYPOTL 1" >>confdefs.h
66588
66589 $as_echo "#define HAVE_ISINFL 1" >>confdefs.h
66590
66591 $as_echo "#define HAVE_ISNANL 1" >>confdefs.h
66592
66593 fi
66594 ;;
66595 *-*vms*)
66596 # Check for available headers.
66597 # Don't call GLIBCXX_CHECK_LINKER_FEATURES, VMS doesn't have a GNU ld
66598
66599 ac_test_CXXFLAGS="${CXXFLAGS+set}"
66600 ac_save_CXXFLAGS="$CXXFLAGS"
66601 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
66602
66603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sin in -lm" >&5
66604 $as_echo_n "checking for sin in -lm... " >&6; }
66605 if ${ac_cv_lib_m_sin+:} false; then :
66606 $as_echo_n "(cached) " >&6
66607 else
66608 ac_check_lib_save_LIBS=$LIBS
66609 LIBS="-lm $LIBS"
66610 if test x$gcc_no_link = xyes; then
66611 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
66612 fi
66613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66614 /* end confdefs.h. */
66615
66616 /* Override any GCC internal prototype to avoid an error.
66617 Use char because int might match the return type of a GCC
66618 builtin and then its argument prototype would still apply. */
66619 #ifdef __cplusplus
66620 extern "C"
66621 #endif
66622 char sin ();
66623 int
66624 main ()
66625 {
66626 return sin ();
66627 ;
66628 return 0;
66629 }
66630 _ACEOF
66631 if ac_fn_c_try_link "$LINENO"; then :
66632 ac_cv_lib_m_sin=yes
66633 else
66634 ac_cv_lib_m_sin=no
66635 fi
66636 rm -f core conftest.err conftest.$ac_objext \
66637 conftest$ac_exeext conftest.$ac_ext
66638 LIBS=$ac_check_lib_save_LIBS
66639 fi
66640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m_sin" >&5
66641 $as_echo "$ac_cv_lib_m_sin" >&6; }
66642 if test "x$ac_cv_lib_m_sin" = xyes; then :
66643 libm="-lm"
66644 fi
66645
66646 ac_save_LIBS="$LIBS"
66647 LIBS="$LIBS $libm"
66648
66649
66650
66651 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf declaration" >&5
66652 $as_echo_n "checking for isinf declaration... " >&6; }
66653 if test x${glibcxx_cv_func_isinf_use+set} != xset; then
66654 if ${glibcxx_cv_func_isinf_use+:} false; then :
66655 $as_echo_n "(cached) " >&6
66656 else
66657
66658
66659 ac_ext=cpp
66660 ac_cpp='$CXXCPP $CPPFLAGS'
66661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66664
66665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66666 /* end confdefs.h. */
66667 #include <math.h>
66668 #ifdef HAVE_IEEEFP_H
66669 #include <ieeefp.h>
66670 #endif
66671
66672 int
66673 main ()
66674 {
66675 isinf(0);
66676 ;
66677 return 0;
66678 }
66679 _ACEOF
66680 if ac_fn_cxx_try_compile "$LINENO"; then :
66681 glibcxx_cv_func_isinf_use=yes
66682 else
66683 glibcxx_cv_func_isinf_use=no
66684 fi
66685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66686 ac_ext=c
66687 ac_cpp='$CPP $CPPFLAGS'
66688 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66689 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66690 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66691
66692
66693 fi
66694
66695 fi
66696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinf_use" >&5
66697 $as_echo "$glibcxx_cv_func_isinf_use" >&6; }
66698
66699 if test x$glibcxx_cv_func_isinf_use = x"yes"; then
66700 for ac_func in isinf
66701 do :
66702 ac_fn_c_check_func "$LINENO" "isinf" "ac_cv_func_isinf"
66703 if test "x$ac_cv_func_isinf" = xyes; then :
66704 cat >>confdefs.h <<_ACEOF
66705 #define HAVE_ISINF 1
66706 _ACEOF
66707
66708 fi
66709 done
66710
66711 else
66712
66713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinf declaration" >&5
66714 $as_echo_n "checking for _isinf declaration... " >&6; }
66715 if test x${glibcxx_cv_func__isinf_use+set} != xset; then
66716 if ${glibcxx_cv_func__isinf_use+:} false; then :
66717 $as_echo_n "(cached) " >&6
66718 else
66719
66720
66721 ac_ext=cpp
66722 ac_cpp='$CXXCPP $CPPFLAGS'
66723 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66724 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66725 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66726
66727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66728 /* end confdefs.h. */
66729 #include <math.h>
66730 #ifdef HAVE_IEEEFP_H
66731 #include <ieeefp.h>
66732 #endif
66733
66734 int
66735 main ()
66736 {
66737 _isinf(0);
66738 ;
66739 return 0;
66740 }
66741 _ACEOF
66742 if ac_fn_cxx_try_compile "$LINENO"; then :
66743 glibcxx_cv_func__isinf_use=yes
66744 else
66745 glibcxx_cv_func__isinf_use=no
66746 fi
66747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66748 ac_ext=c
66749 ac_cpp='$CPP $CPPFLAGS'
66750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66753
66754
66755 fi
66756
66757 fi
66758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinf_use" >&5
66759 $as_echo "$glibcxx_cv_func__isinf_use" >&6; }
66760
66761 if test x$glibcxx_cv_func__isinf_use = x"yes"; then
66762 for ac_func in _isinf
66763 do :
66764 ac_fn_c_check_func "$LINENO" "_isinf" "ac_cv_func__isinf"
66765 if test "x$ac_cv_func__isinf" = xyes; then :
66766 cat >>confdefs.h <<_ACEOF
66767 #define HAVE__ISINF 1
66768 _ACEOF
66769
66770 fi
66771 done
66772
66773 fi
66774 fi
66775
66776
66777
66778
66779
66780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan declaration" >&5
66781 $as_echo_n "checking for isnan declaration... " >&6; }
66782 if test x${glibcxx_cv_func_isnan_use+set} != xset; then
66783 if ${glibcxx_cv_func_isnan_use+:} false; then :
66784 $as_echo_n "(cached) " >&6
66785 else
66786
66787
66788 ac_ext=cpp
66789 ac_cpp='$CXXCPP $CPPFLAGS'
66790 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66791 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66792 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66793
66794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66795 /* end confdefs.h. */
66796 #include <math.h>
66797 #ifdef HAVE_IEEEFP_H
66798 #include <ieeefp.h>
66799 #endif
66800
66801 int
66802 main ()
66803 {
66804 isnan(0);
66805 ;
66806 return 0;
66807 }
66808 _ACEOF
66809 if ac_fn_cxx_try_compile "$LINENO"; then :
66810 glibcxx_cv_func_isnan_use=yes
66811 else
66812 glibcxx_cv_func_isnan_use=no
66813 fi
66814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66815 ac_ext=c
66816 ac_cpp='$CPP $CPPFLAGS'
66817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66820
66821
66822 fi
66823
66824 fi
66825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnan_use" >&5
66826 $as_echo "$glibcxx_cv_func_isnan_use" >&6; }
66827
66828 if test x$glibcxx_cv_func_isnan_use = x"yes"; then
66829 for ac_func in isnan
66830 do :
66831 ac_fn_c_check_func "$LINENO" "isnan" "ac_cv_func_isnan"
66832 if test "x$ac_cv_func_isnan" = xyes; then :
66833 cat >>confdefs.h <<_ACEOF
66834 #define HAVE_ISNAN 1
66835 _ACEOF
66836
66837 fi
66838 done
66839
66840 else
66841
66842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnan declaration" >&5
66843 $as_echo_n "checking for _isnan declaration... " >&6; }
66844 if test x${glibcxx_cv_func__isnan_use+set} != xset; then
66845 if ${glibcxx_cv_func__isnan_use+:} false; then :
66846 $as_echo_n "(cached) " >&6
66847 else
66848
66849
66850 ac_ext=cpp
66851 ac_cpp='$CXXCPP $CPPFLAGS'
66852 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66853 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66854 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66855
66856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66857 /* end confdefs.h. */
66858 #include <math.h>
66859 #ifdef HAVE_IEEEFP_H
66860 #include <ieeefp.h>
66861 #endif
66862
66863 int
66864 main ()
66865 {
66866 _isnan(0);
66867 ;
66868 return 0;
66869 }
66870 _ACEOF
66871 if ac_fn_cxx_try_compile "$LINENO"; then :
66872 glibcxx_cv_func__isnan_use=yes
66873 else
66874 glibcxx_cv_func__isnan_use=no
66875 fi
66876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66877 ac_ext=c
66878 ac_cpp='$CPP $CPPFLAGS'
66879 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66880 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66881 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66882
66883
66884 fi
66885
66886 fi
66887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnan_use" >&5
66888 $as_echo "$glibcxx_cv_func__isnan_use" >&6; }
66889
66890 if test x$glibcxx_cv_func__isnan_use = x"yes"; then
66891 for ac_func in _isnan
66892 do :
66893 ac_fn_c_check_func "$LINENO" "_isnan" "ac_cv_func__isnan"
66894 if test "x$ac_cv_func__isnan" = xyes; then :
66895 cat >>confdefs.h <<_ACEOF
66896 #define HAVE__ISNAN 1
66897 _ACEOF
66898
66899 fi
66900 done
66901
66902 fi
66903 fi
66904
66905
66906
66907
66908
66909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finite declaration" >&5
66910 $as_echo_n "checking for finite declaration... " >&6; }
66911 if test x${glibcxx_cv_func_finite_use+set} != xset; then
66912 if ${glibcxx_cv_func_finite_use+:} false; then :
66913 $as_echo_n "(cached) " >&6
66914 else
66915
66916
66917 ac_ext=cpp
66918 ac_cpp='$CXXCPP $CPPFLAGS'
66919 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66920 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66921 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66922
66923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66924 /* end confdefs.h. */
66925 #include <math.h>
66926 #ifdef HAVE_IEEEFP_H
66927 #include <ieeefp.h>
66928 #endif
66929
66930 int
66931 main ()
66932 {
66933 finite(0);
66934 ;
66935 return 0;
66936 }
66937 _ACEOF
66938 if ac_fn_cxx_try_compile "$LINENO"; then :
66939 glibcxx_cv_func_finite_use=yes
66940 else
66941 glibcxx_cv_func_finite_use=no
66942 fi
66943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
66944 ac_ext=c
66945 ac_cpp='$CPP $CPPFLAGS'
66946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
66949
66950
66951 fi
66952
66953 fi
66954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finite_use" >&5
66955 $as_echo "$glibcxx_cv_func_finite_use" >&6; }
66956
66957 if test x$glibcxx_cv_func_finite_use = x"yes"; then
66958 for ac_func in finite
66959 do :
66960 ac_fn_c_check_func "$LINENO" "finite" "ac_cv_func_finite"
66961 if test "x$ac_cv_func_finite" = xyes; then :
66962 cat >>confdefs.h <<_ACEOF
66963 #define HAVE_FINITE 1
66964 _ACEOF
66965
66966 fi
66967 done
66968
66969 else
66970
66971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finite declaration" >&5
66972 $as_echo_n "checking for _finite declaration... " >&6; }
66973 if test x${glibcxx_cv_func__finite_use+set} != xset; then
66974 if ${glibcxx_cv_func__finite_use+:} false; then :
66975 $as_echo_n "(cached) " >&6
66976 else
66977
66978
66979 ac_ext=cpp
66980 ac_cpp='$CXXCPP $CPPFLAGS'
66981 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
66982 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
66983 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
66984
66985 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
66986 /* end confdefs.h. */
66987 #include <math.h>
66988 #ifdef HAVE_IEEEFP_H
66989 #include <ieeefp.h>
66990 #endif
66991
66992 int
66993 main ()
66994 {
66995 _finite(0);
66996 ;
66997 return 0;
66998 }
66999 _ACEOF
67000 if ac_fn_cxx_try_compile "$LINENO"; then :
67001 glibcxx_cv_func__finite_use=yes
67002 else
67003 glibcxx_cv_func__finite_use=no
67004 fi
67005 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67006 ac_ext=c
67007 ac_cpp='$CPP $CPPFLAGS'
67008 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67009 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67010 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67011
67012
67013 fi
67014
67015 fi
67016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finite_use" >&5
67017 $as_echo "$glibcxx_cv_func__finite_use" >&6; }
67018
67019 if test x$glibcxx_cv_func__finite_use = x"yes"; then
67020 for ac_func in _finite
67021 do :
67022 ac_fn_c_check_func "$LINENO" "_finite" "ac_cv_func__finite"
67023 if test "x$ac_cv_func__finite" = xyes; then :
67024 cat >>confdefs.h <<_ACEOF
67025 #define HAVE__FINITE 1
67026 _ACEOF
67027
67028 fi
67029 done
67030
67031 fi
67032 fi
67033
67034
67035
67036
67037
67038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincos declaration" >&5
67039 $as_echo_n "checking for sincos declaration... " >&6; }
67040 if test x${glibcxx_cv_func_sincos_use+set} != xset; then
67041 if ${glibcxx_cv_func_sincos_use+:} false; then :
67042 $as_echo_n "(cached) " >&6
67043 else
67044
67045
67046 ac_ext=cpp
67047 ac_cpp='$CXXCPP $CPPFLAGS'
67048 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67049 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67050 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67051
67052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67053 /* end confdefs.h. */
67054 #include <math.h>
67055 int
67056 main ()
67057 {
67058 sincos(0, 0, 0);
67059 ;
67060 return 0;
67061 }
67062 _ACEOF
67063 if ac_fn_cxx_try_compile "$LINENO"; then :
67064 glibcxx_cv_func_sincos_use=yes
67065 else
67066 glibcxx_cv_func_sincos_use=no
67067 fi
67068 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67069 ac_ext=c
67070 ac_cpp='$CPP $CPPFLAGS'
67071 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67072 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67073 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67074
67075
67076 fi
67077
67078 fi
67079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincos_use" >&5
67080 $as_echo "$glibcxx_cv_func_sincos_use" >&6; }
67081
67082 if test x$glibcxx_cv_func_sincos_use = x"yes"; then
67083 for ac_func in sincos
67084 do :
67085 ac_fn_c_check_func "$LINENO" "sincos" "ac_cv_func_sincos"
67086 if test "x$ac_cv_func_sincos" = xyes; then :
67087 cat >>confdefs.h <<_ACEOF
67088 #define HAVE_SINCOS 1
67089 _ACEOF
67090
67091 fi
67092 done
67093
67094 else
67095
67096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincos declaration" >&5
67097 $as_echo_n "checking for _sincos declaration... " >&6; }
67098 if test x${glibcxx_cv_func__sincos_use+set} != xset; then
67099 if ${glibcxx_cv_func__sincos_use+:} false; then :
67100 $as_echo_n "(cached) " >&6
67101 else
67102
67103
67104 ac_ext=cpp
67105 ac_cpp='$CXXCPP $CPPFLAGS'
67106 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67107 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67108 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67109
67110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67111 /* end confdefs.h. */
67112 #include <math.h>
67113 int
67114 main ()
67115 {
67116 _sincos(0, 0, 0);
67117 ;
67118 return 0;
67119 }
67120 _ACEOF
67121 if ac_fn_cxx_try_compile "$LINENO"; then :
67122 glibcxx_cv_func__sincos_use=yes
67123 else
67124 glibcxx_cv_func__sincos_use=no
67125 fi
67126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67127 ac_ext=c
67128 ac_cpp='$CPP $CPPFLAGS'
67129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67132
67133
67134 fi
67135
67136 fi
67137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincos_use" >&5
67138 $as_echo "$glibcxx_cv_func__sincos_use" >&6; }
67139
67140 if test x$glibcxx_cv_func__sincos_use = x"yes"; then
67141 for ac_func in _sincos
67142 do :
67143 ac_fn_c_check_func "$LINENO" "_sincos" "ac_cv_func__sincos"
67144 if test "x$ac_cv_func__sincos" = xyes; then :
67145 cat >>confdefs.h <<_ACEOF
67146 #define HAVE__SINCOS 1
67147 _ACEOF
67148
67149 fi
67150 done
67151
67152 fi
67153 fi
67154
67155
67156
67157
67158
67159 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fpclass declaration" >&5
67160 $as_echo_n "checking for fpclass declaration... " >&6; }
67161 if test x${glibcxx_cv_func_fpclass_use+set} != xset; then
67162 if ${glibcxx_cv_func_fpclass_use+:} false; then :
67163 $as_echo_n "(cached) " >&6
67164 else
67165
67166
67167 ac_ext=cpp
67168 ac_cpp='$CXXCPP $CPPFLAGS'
67169 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67170 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67171 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67172
67173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67174 /* end confdefs.h. */
67175 #include <math.h>
67176 #ifdef HAVE_IEEEFP_H
67177 #include <ieeefp.h>
67178 #endif
67179
67180 int
67181 main ()
67182 {
67183 fpclass(0);
67184 ;
67185 return 0;
67186 }
67187 _ACEOF
67188 if ac_fn_cxx_try_compile "$LINENO"; then :
67189 glibcxx_cv_func_fpclass_use=yes
67190 else
67191 glibcxx_cv_func_fpclass_use=no
67192 fi
67193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67194 ac_ext=c
67195 ac_cpp='$CPP $CPPFLAGS'
67196 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67197 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67198 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67199
67200
67201 fi
67202
67203 fi
67204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fpclass_use" >&5
67205 $as_echo "$glibcxx_cv_func_fpclass_use" >&6; }
67206
67207 if test x$glibcxx_cv_func_fpclass_use = x"yes"; then
67208 for ac_func in fpclass
67209 do :
67210 ac_fn_c_check_func "$LINENO" "fpclass" "ac_cv_func_fpclass"
67211 if test "x$ac_cv_func_fpclass" = xyes; then :
67212 cat >>confdefs.h <<_ACEOF
67213 #define HAVE_FPCLASS 1
67214 _ACEOF
67215
67216 fi
67217 done
67218
67219 else
67220
67221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fpclass declaration" >&5
67222 $as_echo_n "checking for _fpclass declaration... " >&6; }
67223 if test x${glibcxx_cv_func__fpclass_use+set} != xset; then
67224 if ${glibcxx_cv_func__fpclass_use+:} false; then :
67225 $as_echo_n "(cached) " >&6
67226 else
67227
67228
67229 ac_ext=cpp
67230 ac_cpp='$CXXCPP $CPPFLAGS'
67231 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67232 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67233 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67234
67235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67236 /* end confdefs.h. */
67237 #include <math.h>
67238 #ifdef HAVE_IEEEFP_H
67239 #include <ieeefp.h>
67240 #endif
67241
67242 int
67243 main ()
67244 {
67245 _fpclass(0);
67246 ;
67247 return 0;
67248 }
67249 _ACEOF
67250 if ac_fn_cxx_try_compile "$LINENO"; then :
67251 glibcxx_cv_func__fpclass_use=yes
67252 else
67253 glibcxx_cv_func__fpclass_use=no
67254 fi
67255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67256 ac_ext=c
67257 ac_cpp='$CPP $CPPFLAGS'
67258 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67259 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67260 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67261
67262
67263 fi
67264
67265 fi
67266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fpclass_use" >&5
67267 $as_echo "$glibcxx_cv_func__fpclass_use" >&6; }
67268
67269 if test x$glibcxx_cv_func__fpclass_use = x"yes"; then
67270 for ac_func in _fpclass
67271 do :
67272 ac_fn_c_check_func "$LINENO" "_fpclass" "ac_cv_func__fpclass"
67273 if test "x$ac_cv_func__fpclass" = xyes; then :
67274 cat >>confdefs.h <<_ACEOF
67275 #define HAVE__FPCLASS 1
67276 _ACEOF
67277
67278 fi
67279 done
67280
67281 fi
67282 fi
67283
67284
67285
67286
67287
67288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for qfpclass declaration" >&5
67289 $as_echo_n "checking for qfpclass declaration... " >&6; }
67290 if test x${glibcxx_cv_func_qfpclass_use+set} != xset; then
67291 if ${glibcxx_cv_func_qfpclass_use+:} false; then :
67292 $as_echo_n "(cached) " >&6
67293 else
67294
67295
67296 ac_ext=cpp
67297 ac_cpp='$CXXCPP $CPPFLAGS'
67298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67301
67302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67303 /* end confdefs.h. */
67304 #include <math.h>
67305 #ifdef HAVE_IEEEFP_H
67306 #include <ieeefp.h>
67307 #endif
67308
67309 int
67310 main ()
67311 {
67312 qfpclass(0);
67313 ;
67314 return 0;
67315 }
67316 _ACEOF
67317 if ac_fn_cxx_try_compile "$LINENO"; then :
67318 glibcxx_cv_func_qfpclass_use=yes
67319 else
67320 glibcxx_cv_func_qfpclass_use=no
67321 fi
67322 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67323 ac_ext=c
67324 ac_cpp='$CPP $CPPFLAGS'
67325 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67326 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67327 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67328
67329
67330 fi
67331
67332 fi
67333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_qfpclass_use" >&5
67334 $as_echo "$glibcxx_cv_func_qfpclass_use" >&6; }
67335
67336 if test x$glibcxx_cv_func_qfpclass_use = x"yes"; then
67337 for ac_func in qfpclass
67338 do :
67339 ac_fn_c_check_func "$LINENO" "qfpclass" "ac_cv_func_qfpclass"
67340 if test "x$ac_cv_func_qfpclass" = xyes; then :
67341 cat >>confdefs.h <<_ACEOF
67342 #define HAVE_QFPCLASS 1
67343 _ACEOF
67344
67345 fi
67346 done
67347
67348 else
67349
67350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _qfpclass declaration" >&5
67351 $as_echo_n "checking for _qfpclass declaration... " >&6; }
67352 if test x${glibcxx_cv_func__qfpclass_use+set} != xset; then
67353 if ${glibcxx_cv_func__qfpclass_use+:} false; then :
67354 $as_echo_n "(cached) " >&6
67355 else
67356
67357
67358 ac_ext=cpp
67359 ac_cpp='$CXXCPP $CPPFLAGS'
67360 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67361 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67362 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67363
67364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67365 /* end confdefs.h. */
67366 #include <math.h>
67367 #ifdef HAVE_IEEEFP_H
67368 #include <ieeefp.h>
67369 #endif
67370
67371 int
67372 main ()
67373 {
67374 _qfpclass(0);
67375 ;
67376 return 0;
67377 }
67378 _ACEOF
67379 if ac_fn_cxx_try_compile "$LINENO"; then :
67380 glibcxx_cv_func__qfpclass_use=yes
67381 else
67382 glibcxx_cv_func__qfpclass_use=no
67383 fi
67384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67385 ac_ext=c
67386 ac_cpp='$CPP $CPPFLAGS'
67387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67390
67391
67392 fi
67393
67394 fi
67395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__qfpclass_use" >&5
67396 $as_echo "$glibcxx_cv_func__qfpclass_use" >&6; }
67397
67398 if test x$glibcxx_cv_func__qfpclass_use = x"yes"; then
67399 for ac_func in _qfpclass
67400 do :
67401 ac_fn_c_check_func "$LINENO" "_qfpclass" "ac_cv_func__qfpclass"
67402 if test "x$ac_cv_func__qfpclass" = xyes; then :
67403 cat >>confdefs.h <<_ACEOF
67404 #define HAVE__QFPCLASS 1
67405 _ACEOF
67406
67407 fi
67408 done
67409
67410 fi
67411 fi
67412
67413
67414
67415
67416
67417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypot declaration" >&5
67418 $as_echo_n "checking for hypot declaration... " >&6; }
67419 if test x${glibcxx_cv_func_hypot_use+set} != xset; then
67420 if ${glibcxx_cv_func_hypot_use+:} false; then :
67421 $as_echo_n "(cached) " >&6
67422 else
67423
67424
67425 ac_ext=cpp
67426 ac_cpp='$CXXCPP $CPPFLAGS'
67427 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67428 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67429 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67430
67431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67432 /* end confdefs.h. */
67433 #include <math.h>
67434 int
67435 main ()
67436 {
67437 hypot(0, 0);
67438 ;
67439 return 0;
67440 }
67441 _ACEOF
67442 if ac_fn_cxx_try_compile "$LINENO"; then :
67443 glibcxx_cv_func_hypot_use=yes
67444 else
67445 glibcxx_cv_func_hypot_use=no
67446 fi
67447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67448 ac_ext=c
67449 ac_cpp='$CPP $CPPFLAGS'
67450 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67451 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67452 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67453
67454
67455 fi
67456
67457 fi
67458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypot_use" >&5
67459 $as_echo "$glibcxx_cv_func_hypot_use" >&6; }
67460
67461 if test x$glibcxx_cv_func_hypot_use = x"yes"; then
67462 for ac_func in hypot
67463 do :
67464 ac_fn_c_check_func "$LINENO" "hypot" "ac_cv_func_hypot"
67465 if test "x$ac_cv_func_hypot" = xyes; then :
67466 cat >>confdefs.h <<_ACEOF
67467 #define HAVE_HYPOT 1
67468 _ACEOF
67469
67470 fi
67471 done
67472
67473 else
67474
67475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypot declaration" >&5
67476 $as_echo_n "checking for _hypot declaration... " >&6; }
67477 if test x${glibcxx_cv_func__hypot_use+set} != xset; then
67478 if ${glibcxx_cv_func__hypot_use+:} false; then :
67479 $as_echo_n "(cached) " >&6
67480 else
67481
67482
67483 ac_ext=cpp
67484 ac_cpp='$CXXCPP $CPPFLAGS'
67485 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67486 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67487 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67488
67489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67490 /* end confdefs.h. */
67491 #include <math.h>
67492 int
67493 main ()
67494 {
67495 _hypot(0, 0);
67496 ;
67497 return 0;
67498 }
67499 _ACEOF
67500 if ac_fn_cxx_try_compile "$LINENO"; then :
67501 glibcxx_cv_func__hypot_use=yes
67502 else
67503 glibcxx_cv_func__hypot_use=no
67504 fi
67505 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67506 ac_ext=c
67507 ac_cpp='$CPP $CPPFLAGS'
67508 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67509 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67510 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67511
67512
67513 fi
67514
67515 fi
67516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypot_use" >&5
67517 $as_echo "$glibcxx_cv_func__hypot_use" >&6; }
67518
67519 if test x$glibcxx_cv_func__hypot_use = x"yes"; then
67520 for ac_func in _hypot
67521 do :
67522 ac_fn_c_check_func "$LINENO" "_hypot" "ac_cv_func__hypot"
67523 if test "x$ac_cv_func__hypot" = xyes; then :
67524 cat >>confdefs.h <<_ACEOF
67525 #define HAVE__HYPOT 1
67526 _ACEOF
67527
67528 fi
67529 done
67530
67531 fi
67532 fi
67533
67534
67535
67536
67537
67538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float trig functions" >&5
67539 $as_echo_n "checking for float trig functions... " >&6; }
67540 if ${glibcxx_cv_func_float_trig_use+:} false; then :
67541 $as_echo_n "(cached) " >&6
67542 else
67543
67544
67545 ac_ext=cpp
67546 ac_cpp='$CXXCPP $CPPFLAGS'
67547 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67548 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67549 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67550
67551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67552 /* end confdefs.h. */
67553 #include <math.h>
67554 int
67555 main ()
67556 {
67557 acosf (0); asinf (0); atanf (0); cosf (0); sinf (0); tanf (0); coshf (0); sinhf (0); tanhf (0);
67558 ;
67559 return 0;
67560 }
67561 _ACEOF
67562 if ac_fn_cxx_try_compile "$LINENO"; then :
67563 glibcxx_cv_func_float_trig_use=yes
67564 else
67565 glibcxx_cv_func_float_trig_use=no
67566 fi
67567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67568 ac_ext=c
67569 ac_cpp='$CPP $CPPFLAGS'
67570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67573
67574 fi
67575
67576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_trig_use" >&5
67577 $as_echo "$glibcxx_cv_func_float_trig_use" >&6; }
67578 if test x$glibcxx_cv_func_float_trig_use = x"yes"; then
67579 for ac_func in acosf asinf atanf cosf sinf tanf coshf sinhf tanhf
67580 do :
67581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67584 cat >>confdefs.h <<_ACEOF
67585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67586 _ACEOF
67587
67588 fi
67589 done
67590
67591 else
67592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float trig functions" >&5
67593 $as_echo_n "checking for _float trig functions... " >&6; }
67594 if ${glibcxx_cv_func__float_trig_use+:} false; then :
67595 $as_echo_n "(cached) " >&6
67596 else
67597
67598
67599 ac_ext=cpp
67600 ac_cpp='$CXXCPP $CPPFLAGS'
67601 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67602 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67603 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67604
67605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67606 /* end confdefs.h. */
67607 #include <math.h>
67608 int
67609 main ()
67610 {
67611 _acosf (0); _asinf (0); _atanf (0); _cosf (0); _sinf (0); _tanf (0); _coshf (0); _sinhf (0); _tanhf (0);
67612 ;
67613 return 0;
67614 }
67615 _ACEOF
67616 if ac_fn_cxx_try_compile "$LINENO"; then :
67617 glibcxx_cv_func__float_trig_use=yes
67618 else
67619 glibcxx_cv_func__float_trig_use=no
67620 fi
67621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67622 ac_ext=c
67623 ac_cpp='$CPP $CPPFLAGS'
67624 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67625 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67626 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67627
67628 fi
67629
67630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_trig_use" >&5
67631 $as_echo "$glibcxx_cv_func__float_trig_use" >&6; }
67632 if test x$glibcxx_cv_func__float_trig_use = x"yes"; then
67633 for ac_func in _acosf _asinf _atanf _cosf _sinf _tanf _coshf _sinhf _tanhf
67634 do :
67635 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67636 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67637 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67638 cat >>confdefs.h <<_ACEOF
67639 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67640 _ACEOF
67641
67642 fi
67643 done
67644
67645 fi
67646 fi
67647
67648
67649
67650
67651
67652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for float round functions" >&5
67653 $as_echo_n "checking for float round functions... " >&6; }
67654 if ${glibcxx_cv_func_float_round_use+:} false; then :
67655 $as_echo_n "(cached) " >&6
67656 else
67657
67658
67659 ac_ext=cpp
67660 ac_cpp='$CXXCPP $CPPFLAGS'
67661 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67662 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67663 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67664
67665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67666 /* end confdefs.h. */
67667 #include <math.h>
67668 int
67669 main ()
67670 {
67671 ceilf (0); floorf (0);
67672 ;
67673 return 0;
67674 }
67675 _ACEOF
67676 if ac_fn_cxx_try_compile "$LINENO"; then :
67677 glibcxx_cv_func_float_round_use=yes
67678 else
67679 glibcxx_cv_func_float_round_use=no
67680 fi
67681 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67682 ac_ext=c
67683 ac_cpp='$CPP $CPPFLAGS'
67684 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67685 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67686 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67687
67688 fi
67689
67690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_float_round_use" >&5
67691 $as_echo "$glibcxx_cv_func_float_round_use" >&6; }
67692 if test x$glibcxx_cv_func_float_round_use = x"yes"; then
67693 for ac_func in ceilf floorf
67694 do :
67695 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67696 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67697 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67698 cat >>confdefs.h <<_ACEOF
67699 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67700 _ACEOF
67701
67702 fi
67703 done
67704
67705 else
67706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _float round functions" >&5
67707 $as_echo_n "checking for _float round functions... " >&6; }
67708 if ${glibcxx_cv_func__float_round_use+:} false; then :
67709 $as_echo_n "(cached) " >&6
67710 else
67711
67712
67713 ac_ext=cpp
67714 ac_cpp='$CXXCPP $CPPFLAGS'
67715 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67716 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67717 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67718
67719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67720 /* end confdefs.h. */
67721 #include <math.h>
67722 int
67723 main ()
67724 {
67725 _ceilf (0); _floorf (0);
67726 ;
67727 return 0;
67728 }
67729 _ACEOF
67730 if ac_fn_cxx_try_compile "$LINENO"; then :
67731 glibcxx_cv_func__float_round_use=yes
67732 else
67733 glibcxx_cv_func__float_round_use=no
67734 fi
67735 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67736 ac_ext=c
67737 ac_cpp='$CPP $CPPFLAGS'
67738 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67739 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67740 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67741
67742 fi
67743
67744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__float_round_use" >&5
67745 $as_echo "$glibcxx_cv_func__float_round_use" >&6; }
67746 if test x$glibcxx_cv_func__float_round_use = x"yes"; then
67747 for ac_func in _ceilf _floorf
67748 do :
67749 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
67750 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
67751 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
67752 cat >>confdefs.h <<_ACEOF
67753 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
67754 _ACEOF
67755
67756 fi
67757 done
67758
67759 fi
67760 fi
67761
67762
67763
67764
67765
67766
67767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expf declaration" >&5
67768 $as_echo_n "checking for expf declaration... " >&6; }
67769 if test x${glibcxx_cv_func_expf_use+set} != xset; then
67770 if ${glibcxx_cv_func_expf_use+:} false; then :
67771 $as_echo_n "(cached) " >&6
67772 else
67773
67774
67775 ac_ext=cpp
67776 ac_cpp='$CXXCPP $CPPFLAGS'
67777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67780
67781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67782 /* end confdefs.h. */
67783 #include <math.h>
67784 #ifdef HAVE_IEEEFP_H
67785 #include <ieeefp.h>
67786 #endif
67787
67788 int
67789 main ()
67790 {
67791 expf(0);
67792 ;
67793 return 0;
67794 }
67795 _ACEOF
67796 if ac_fn_cxx_try_compile "$LINENO"; then :
67797 glibcxx_cv_func_expf_use=yes
67798 else
67799 glibcxx_cv_func_expf_use=no
67800 fi
67801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67802 ac_ext=c
67803 ac_cpp='$CPP $CPPFLAGS'
67804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67807
67808
67809 fi
67810
67811 fi
67812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expf_use" >&5
67813 $as_echo "$glibcxx_cv_func_expf_use" >&6; }
67814
67815 if test x$glibcxx_cv_func_expf_use = x"yes"; then
67816 for ac_func in expf
67817 do :
67818 ac_fn_c_check_func "$LINENO" "expf" "ac_cv_func_expf"
67819 if test "x$ac_cv_func_expf" = xyes; then :
67820 cat >>confdefs.h <<_ACEOF
67821 #define HAVE_EXPF 1
67822 _ACEOF
67823
67824 fi
67825 done
67826
67827 else
67828
67829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expf declaration" >&5
67830 $as_echo_n "checking for _expf declaration... " >&6; }
67831 if test x${glibcxx_cv_func__expf_use+set} != xset; then
67832 if ${glibcxx_cv_func__expf_use+:} false; then :
67833 $as_echo_n "(cached) " >&6
67834 else
67835
67836
67837 ac_ext=cpp
67838 ac_cpp='$CXXCPP $CPPFLAGS'
67839 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67840 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67841 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67842
67843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67844 /* end confdefs.h. */
67845 #include <math.h>
67846 #ifdef HAVE_IEEEFP_H
67847 #include <ieeefp.h>
67848 #endif
67849
67850 int
67851 main ()
67852 {
67853 _expf(0);
67854 ;
67855 return 0;
67856 }
67857 _ACEOF
67858 if ac_fn_cxx_try_compile "$LINENO"; then :
67859 glibcxx_cv_func__expf_use=yes
67860 else
67861 glibcxx_cv_func__expf_use=no
67862 fi
67863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67864 ac_ext=c
67865 ac_cpp='$CPP $CPPFLAGS'
67866 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67867 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67868 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67869
67870
67871 fi
67872
67873 fi
67874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expf_use" >&5
67875 $as_echo "$glibcxx_cv_func__expf_use" >&6; }
67876
67877 if test x$glibcxx_cv_func__expf_use = x"yes"; then
67878 for ac_func in _expf
67879 do :
67880 ac_fn_c_check_func "$LINENO" "_expf" "ac_cv_func__expf"
67881 if test "x$ac_cv_func__expf" = xyes; then :
67882 cat >>confdefs.h <<_ACEOF
67883 #define HAVE__EXPF 1
67884 _ACEOF
67885
67886 fi
67887 done
67888
67889 fi
67890 fi
67891
67892
67893
67894
67895
67896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanf declaration" >&5
67897 $as_echo_n "checking for isnanf declaration... " >&6; }
67898 if test x${glibcxx_cv_func_isnanf_use+set} != xset; then
67899 if ${glibcxx_cv_func_isnanf_use+:} false; then :
67900 $as_echo_n "(cached) " >&6
67901 else
67902
67903
67904 ac_ext=cpp
67905 ac_cpp='$CXXCPP $CPPFLAGS'
67906 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67907 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67908 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67909
67910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67911 /* end confdefs.h. */
67912 #include <math.h>
67913 #ifdef HAVE_IEEEFP_H
67914 #include <ieeefp.h>
67915 #endif
67916
67917 int
67918 main ()
67919 {
67920 isnanf(0);
67921 ;
67922 return 0;
67923 }
67924 _ACEOF
67925 if ac_fn_cxx_try_compile "$LINENO"; then :
67926 glibcxx_cv_func_isnanf_use=yes
67927 else
67928 glibcxx_cv_func_isnanf_use=no
67929 fi
67930 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67931 ac_ext=c
67932 ac_cpp='$CPP $CPPFLAGS'
67933 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67934 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67935 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67936
67937
67938 fi
67939
67940 fi
67941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanf_use" >&5
67942 $as_echo "$glibcxx_cv_func_isnanf_use" >&6; }
67943
67944 if test x$glibcxx_cv_func_isnanf_use = x"yes"; then
67945 for ac_func in isnanf
67946 do :
67947 ac_fn_c_check_func "$LINENO" "isnanf" "ac_cv_func_isnanf"
67948 if test "x$ac_cv_func_isnanf" = xyes; then :
67949 cat >>confdefs.h <<_ACEOF
67950 #define HAVE_ISNANF 1
67951 _ACEOF
67952
67953 fi
67954 done
67955
67956 else
67957
67958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanf declaration" >&5
67959 $as_echo_n "checking for _isnanf declaration... " >&6; }
67960 if test x${glibcxx_cv_func__isnanf_use+set} != xset; then
67961 if ${glibcxx_cv_func__isnanf_use+:} false; then :
67962 $as_echo_n "(cached) " >&6
67963 else
67964
67965
67966 ac_ext=cpp
67967 ac_cpp='$CXXCPP $CPPFLAGS'
67968 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67969 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67970 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
67971
67972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
67973 /* end confdefs.h. */
67974 #include <math.h>
67975 #ifdef HAVE_IEEEFP_H
67976 #include <ieeefp.h>
67977 #endif
67978
67979 int
67980 main ()
67981 {
67982 _isnanf(0);
67983 ;
67984 return 0;
67985 }
67986 _ACEOF
67987 if ac_fn_cxx_try_compile "$LINENO"; then :
67988 glibcxx_cv_func__isnanf_use=yes
67989 else
67990 glibcxx_cv_func__isnanf_use=no
67991 fi
67992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
67993 ac_ext=c
67994 ac_cpp='$CPP $CPPFLAGS'
67995 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
67996 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
67997 ac_compiler_gnu=$ac_cv_c_compiler_gnu
67998
67999
68000 fi
68001
68002 fi
68003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanf_use" >&5
68004 $as_echo "$glibcxx_cv_func__isnanf_use" >&6; }
68005
68006 if test x$glibcxx_cv_func__isnanf_use = x"yes"; then
68007 for ac_func in _isnanf
68008 do :
68009 ac_fn_c_check_func "$LINENO" "_isnanf" "ac_cv_func__isnanf"
68010 if test "x$ac_cv_func__isnanf" = xyes; then :
68011 cat >>confdefs.h <<_ACEOF
68012 #define HAVE__ISNANF 1
68013 _ACEOF
68014
68015 fi
68016 done
68017
68018 fi
68019 fi
68020
68021
68022
68023
68024
68025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinff declaration" >&5
68026 $as_echo_n "checking for isinff declaration... " >&6; }
68027 if test x${glibcxx_cv_func_isinff_use+set} != xset; then
68028 if ${glibcxx_cv_func_isinff_use+:} false; then :
68029 $as_echo_n "(cached) " >&6
68030 else
68031
68032
68033 ac_ext=cpp
68034 ac_cpp='$CXXCPP $CPPFLAGS'
68035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68038
68039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68040 /* end confdefs.h. */
68041 #include <math.h>
68042 #ifdef HAVE_IEEEFP_H
68043 #include <ieeefp.h>
68044 #endif
68045
68046 int
68047 main ()
68048 {
68049 isinff(0);
68050 ;
68051 return 0;
68052 }
68053 _ACEOF
68054 if ac_fn_cxx_try_compile "$LINENO"; then :
68055 glibcxx_cv_func_isinff_use=yes
68056 else
68057 glibcxx_cv_func_isinff_use=no
68058 fi
68059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68060 ac_ext=c
68061 ac_cpp='$CPP $CPPFLAGS'
68062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68065
68066
68067 fi
68068
68069 fi
68070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinff_use" >&5
68071 $as_echo "$glibcxx_cv_func_isinff_use" >&6; }
68072
68073 if test x$glibcxx_cv_func_isinff_use = x"yes"; then
68074 for ac_func in isinff
68075 do :
68076 ac_fn_c_check_func "$LINENO" "isinff" "ac_cv_func_isinff"
68077 if test "x$ac_cv_func_isinff" = xyes; then :
68078 cat >>confdefs.h <<_ACEOF
68079 #define HAVE_ISINFF 1
68080 _ACEOF
68081
68082 fi
68083 done
68084
68085 else
68086
68087 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinff declaration" >&5
68088 $as_echo_n "checking for _isinff declaration... " >&6; }
68089 if test x${glibcxx_cv_func__isinff_use+set} != xset; then
68090 if ${glibcxx_cv_func__isinff_use+:} false; then :
68091 $as_echo_n "(cached) " >&6
68092 else
68093
68094
68095 ac_ext=cpp
68096 ac_cpp='$CXXCPP $CPPFLAGS'
68097 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68098 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68099 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68100
68101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68102 /* end confdefs.h. */
68103 #include <math.h>
68104 #ifdef HAVE_IEEEFP_H
68105 #include <ieeefp.h>
68106 #endif
68107
68108 int
68109 main ()
68110 {
68111 _isinff(0);
68112 ;
68113 return 0;
68114 }
68115 _ACEOF
68116 if ac_fn_cxx_try_compile "$LINENO"; then :
68117 glibcxx_cv_func__isinff_use=yes
68118 else
68119 glibcxx_cv_func__isinff_use=no
68120 fi
68121 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68122 ac_ext=c
68123 ac_cpp='$CPP $CPPFLAGS'
68124 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68125 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68126 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68127
68128
68129 fi
68130
68131 fi
68132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinff_use" >&5
68133 $as_echo "$glibcxx_cv_func__isinff_use" >&6; }
68134
68135 if test x$glibcxx_cv_func__isinff_use = x"yes"; then
68136 for ac_func in _isinff
68137 do :
68138 ac_fn_c_check_func "$LINENO" "_isinff" "ac_cv_func__isinff"
68139 if test "x$ac_cv_func__isinff" = xyes; then :
68140 cat >>confdefs.h <<_ACEOF
68141 #define HAVE__ISINFF 1
68142 _ACEOF
68143
68144 fi
68145 done
68146
68147 fi
68148 fi
68149
68150
68151
68152
68153
68154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2f declaration" >&5
68155 $as_echo_n "checking for atan2f declaration... " >&6; }
68156 if test x${glibcxx_cv_func_atan2f_use+set} != xset; then
68157 if ${glibcxx_cv_func_atan2f_use+:} false; then :
68158 $as_echo_n "(cached) " >&6
68159 else
68160
68161
68162 ac_ext=cpp
68163 ac_cpp='$CXXCPP $CPPFLAGS'
68164 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68165 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68166 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68167
68168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68169 /* end confdefs.h. */
68170 #include <math.h>
68171 int
68172 main ()
68173 {
68174 atan2f(0, 0);
68175 ;
68176 return 0;
68177 }
68178 _ACEOF
68179 if ac_fn_cxx_try_compile "$LINENO"; then :
68180 glibcxx_cv_func_atan2f_use=yes
68181 else
68182 glibcxx_cv_func_atan2f_use=no
68183 fi
68184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68185 ac_ext=c
68186 ac_cpp='$CPP $CPPFLAGS'
68187 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68188 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68189 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68190
68191
68192 fi
68193
68194 fi
68195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2f_use" >&5
68196 $as_echo "$glibcxx_cv_func_atan2f_use" >&6; }
68197
68198 if test x$glibcxx_cv_func_atan2f_use = x"yes"; then
68199 for ac_func in atan2f
68200 do :
68201 ac_fn_c_check_func "$LINENO" "atan2f" "ac_cv_func_atan2f"
68202 if test "x$ac_cv_func_atan2f" = xyes; then :
68203 cat >>confdefs.h <<_ACEOF
68204 #define HAVE_ATAN2F 1
68205 _ACEOF
68206
68207 fi
68208 done
68209
68210 else
68211
68212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2f declaration" >&5
68213 $as_echo_n "checking for _atan2f declaration... " >&6; }
68214 if test x${glibcxx_cv_func__atan2f_use+set} != xset; then
68215 if ${glibcxx_cv_func__atan2f_use+:} false; then :
68216 $as_echo_n "(cached) " >&6
68217 else
68218
68219
68220 ac_ext=cpp
68221 ac_cpp='$CXXCPP $CPPFLAGS'
68222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68225
68226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68227 /* end confdefs.h. */
68228 #include <math.h>
68229 int
68230 main ()
68231 {
68232 _atan2f(0, 0);
68233 ;
68234 return 0;
68235 }
68236 _ACEOF
68237 if ac_fn_cxx_try_compile "$LINENO"; then :
68238 glibcxx_cv_func__atan2f_use=yes
68239 else
68240 glibcxx_cv_func__atan2f_use=no
68241 fi
68242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68243 ac_ext=c
68244 ac_cpp='$CPP $CPPFLAGS'
68245 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68246 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68247 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68248
68249
68250 fi
68251
68252 fi
68253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2f_use" >&5
68254 $as_echo "$glibcxx_cv_func__atan2f_use" >&6; }
68255
68256 if test x$glibcxx_cv_func__atan2f_use = x"yes"; then
68257 for ac_func in _atan2f
68258 do :
68259 ac_fn_c_check_func "$LINENO" "_atan2f" "ac_cv_func__atan2f"
68260 if test "x$ac_cv_func__atan2f" = xyes; then :
68261 cat >>confdefs.h <<_ACEOF
68262 #define HAVE__ATAN2F 1
68263 _ACEOF
68264
68265 fi
68266 done
68267
68268 fi
68269 fi
68270
68271
68272
68273
68274
68275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsf declaration" >&5
68276 $as_echo_n "checking for fabsf declaration... " >&6; }
68277 if test x${glibcxx_cv_func_fabsf_use+set} != xset; then
68278 if ${glibcxx_cv_func_fabsf_use+:} false; then :
68279 $as_echo_n "(cached) " >&6
68280 else
68281
68282
68283 ac_ext=cpp
68284 ac_cpp='$CXXCPP $CPPFLAGS'
68285 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68286 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68287 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68288
68289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68290 /* end confdefs.h. */
68291 #include <math.h>
68292 #ifdef HAVE_IEEEFP_H
68293 #include <ieeefp.h>
68294 #endif
68295
68296 int
68297 main ()
68298 {
68299 fabsf(0);
68300 ;
68301 return 0;
68302 }
68303 _ACEOF
68304 if ac_fn_cxx_try_compile "$LINENO"; then :
68305 glibcxx_cv_func_fabsf_use=yes
68306 else
68307 glibcxx_cv_func_fabsf_use=no
68308 fi
68309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68310 ac_ext=c
68311 ac_cpp='$CPP $CPPFLAGS'
68312 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68313 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68314 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68315
68316
68317 fi
68318
68319 fi
68320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsf_use" >&5
68321 $as_echo "$glibcxx_cv_func_fabsf_use" >&6; }
68322
68323 if test x$glibcxx_cv_func_fabsf_use = x"yes"; then
68324 for ac_func in fabsf
68325 do :
68326 ac_fn_c_check_func "$LINENO" "fabsf" "ac_cv_func_fabsf"
68327 if test "x$ac_cv_func_fabsf" = xyes; then :
68328 cat >>confdefs.h <<_ACEOF
68329 #define HAVE_FABSF 1
68330 _ACEOF
68331
68332 fi
68333 done
68334
68335 else
68336
68337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsf declaration" >&5
68338 $as_echo_n "checking for _fabsf declaration... " >&6; }
68339 if test x${glibcxx_cv_func__fabsf_use+set} != xset; then
68340 if ${glibcxx_cv_func__fabsf_use+:} false; then :
68341 $as_echo_n "(cached) " >&6
68342 else
68343
68344
68345 ac_ext=cpp
68346 ac_cpp='$CXXCPP $CPPFLAGS'
68347 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68348 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68349 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68350
68351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68352 /* end confdefs.h. */
68353 #include <math.h>
68354 #ifdef HAVE_IEEEFP_H
68355 #include <ieeefp.h>
68356 #endif
68357
68358 int
68359 main ()
68360 {
68361 _fabsf(0);
68362 ;
68363 return 0;
68364 }
68365 _ACEOF
68366 if ac_fn_cxx_try_compile "$LINENO"; then :
68367 glibcxx_cv_func__fabsf_use=yes
68368 else
68369 glibcxx_cv_func__fabsf_use=no
68370 fi
68371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68372 ac_ext=c
68373 ac_cpp='$CPP $CPPFLAGS'
68374 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68375 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68376 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68377
68378
68379 fi
68380
68381 fi
68382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsf_use" >&5
68383 $as_echo "$glibcxx_cv_func__fabsf_use" >&6; }
68384
68385 if test x$glibcxx_cv_func__fabsf_use = x"yes"; then
68386 for ac_func in _fabsf
68387 do :
68388 ac_fn_c_check_func "$LINENO" "_fabsf" "ac_cv_func__fabsf"
68389 if test "x$ac_cv_func__fabsf" = xyes; then :
68390 cat >>confdefs.h <<_ACEOF
68391 #define HAVE__FABSF 1
68392 _ACEOF
68393
68394 fi
68395 done
68396
68397 fi
68398 fi
68399
68400
68401
68402
68403
68404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodf declaration" >&5
68405 $as_echo_n "checking for fmodf declaration... " >&6; }
68406 if test x${glibcxx_cv_func_fmodf_use+set} != xset; then
68407 if ${glibcxx_cv_func_fmodf_use+:} false; then :
68408 $as_echo_n "(cached) " >&6
68409 else
68410
68411
68412 ac_ext=cpp
68413 ac_cpp='$CXXCPP $CPPFLAGS'
68414 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68415 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68416 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68417
68418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68419 /* end confdefs.h. */
68420 #include <math.h>
68421 int
68422 main ()
68423 {
68424 fmodf(0, 0);
68425 ;
68426 return 0;
68427 }
68428 _ACEOF
68429 if ac_fn_cxx_try_compile "$LINENO"; then :
68430 glibcxx_cv_func_fmodf_use=yes
68431 else
68432 glibcxx_cv_func_fmodf_use=no
68433 fi
68434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68435 ac_ext=c
68436 ac_cpp='$CPP $CPPFLAGS'
68437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68440
68441
68442 fi
68443
68444 fi
68445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodf_use" >&5
68446 $as_echo "$glibcxx_cv_func_fmodf_use" >&6; }
68447
68448 if test x$glibcxx_cv_func_fmodf_use = x"yes"; then
68449 for ac_func in fmodf
68450 do :
68451 ac_fn_c_check_func "$LINENO" "fmodf" "ac_cv_func_fmodf"
68452 if test "x$ac_cv_func_fmodf" = xyes; then :
68453 cat >>confdefs.h <<_ACEOF
68454 #define HAVE_FMODF 1
68455 _ACEOF
68456
68457 fi
68458 done
68459
68460 else
68461
68462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodf declaration" >&5
68463 $as_echo_n "checking for _fmodf declaration... " >&6; }
68464 if test x${glibcxx_cv_func__fmodf_use+set} != xset; then
68465 if ${glibcxx_cv_func__fmodf_use+:} false; then :
68466 $as_echo_n "(cached) " >&6
68467 else
68468
68469
68470 ac_ext=cpp
68471 ac_cpp='$CXXCPP $CPPFLAGS'
68472 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68473 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68474 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68475
68476 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68477 /* end confdefs.h. */
68478 #include <math.h>
68479 int
68480 main ()
68481 {
68482 _fmodf(0, 0);
68483 ;
68484 return 0;
68485 }
68486 _ACEOF
68487 if ac_fn_cxx_try_compile "$LINENO"; then :
68488 glibcxx_cv_func__fmodf_use=yes
68489 else
68490 glibcxx_cv_func__fmodf_use=no
68491 fi
68492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68493 ac_ext=c
68494 ac_cpp='$CPP $CPPFLAGS'
68495 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68496 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68497 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68498
68499
68500 fi
68501
68502 fi
68503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodf_use" >&5
68504 $as_echo "$glibcxx_cv_func__fmodf_use" >&6; }
68505
68506 if test x$glibcxx_cv_func__fmodf_use = x"yes"; then
68507 for ac_func in _fmodf
68508 do :
68509 ac_fn_c_check_func "$LINENO" "_fmodf" "ac_cv_func__fmodf"
68510 if test "x$ac_cv_func__fmodf" = xyes; then :
68511 cat >>confdefs.h <<_ACEOF
68512 #define HAVE__FMODF 1
68513 _ACEOF
68514
68515 fi
68516 done
68517
68518 fi
68519 fi
68520
68521
68522
68523
68524
68525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
68526 $as_echo_n "checking for frexpf declaration... " >&6; }
68527 if test x${glibcxx_cv_func_frexpf_use+set} != xset; then
68528 if ${glibcxx_cv_func_frexpf_use+:} false; then :
68529 $as_echo_n "(cached) " >&6
68530 else
68531
68532
68533 ac_ext=cpp
68534 ac_cpp='$CXXCPP $CPPFLAGS'
68535 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68536 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68537 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68538
68539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68540 /* end confdefs.h. */
68541 #include <math.h>
68542 int
68543 main ()
68544 {
68545 frexpf(0, 0);
68546 ;
68547 return 0;
68548 }
68549 _ACEOF
68550 if ac_fn_cxx_try_compile "$LINENO"; then :
68551 glibcxx_cv_func_frexpf_use=yes
68552 else
68553 glibcxx_cv_func_frexpf_use=no
68554 fi
68555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68556 ac_ext=c
68557 ac_cpp='$CPP $CPPFLAGS'
68558 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68559 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68560 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68561
68562
68563 fi
68564
68565 fi
68566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
68567 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
68568
68569 if test x$glibcxx_cv_func_frexpf_use = x"yes"; then
68570 for ac_func in frexpf
68571 do :
68572 ac_fn_c_check_func "$LINENO" "frexpf" "ac_cv_func_frexpf"
68573 if test "x$ac_cv_func_frexpf" = xyes; then :
68574 cat >>confdefs.h <<_ACEOF
68575 #define HAVE_FREXPF 1
68576 _ACEOF
68577
68578 fi
68579 done
68580
68581 else
68582
68583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpf declaration" >&5
68584 $as_echo_n "checking for _frexpf declaration... " >&6; }
68585 if test x${glibcxx_cv_func__frexpf_use+set} != xset; then
68586 if ${glibcxx_cv_func__frexpf_use+:} false; then :
68587 $as_echo_n "(cached) " >&6
68588 else
68589
68590
68591 ac_ext=cpp
68592 ac_cpp='$CXXCPP $CPPFLAGS'
68593 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68594 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68595 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68596
68597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68598 /* end confdefs.h. */
68599 #include <math.h>
68600 int
68601 main ()
68602 {
68603 _frexpf(0, 0);
68604 ;
68605 return 0;
68606 }
68607 _ACEOF
68608 if ac_fn_cxx_try_compile "$LINENO"; then :
68609 glibcxx_cv_func__frexpf_use=yes
68610 else
68611 glibcxx_cv_func__frexpf_use=no
68612 fi
68613 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68614 ac_ext=c
68615 ac_cpp='$CPP $CPPFLAGS'
68616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68619
68620
68621 fi
68622
68623 fi
68624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpf_use" >&5
68625 $as_echo "$glibcxx_cv_func__frexpf_use" >&6; }
68626
68627 if test x$glibcxx_cv_func__frexpf_use = x"yes"; then
68628 for ac_func in _frexpf
68629 do :
68630 ac_fn_c_check_func "$LINENO" "_frexpf" "ac_cv_func__frexpf"
68631 if test "x$ac_cv_func__frexpf" = xyes; then :
68632 cat >>confdefs.h <<_ACEOF
68633 #define HAVE__FREXPF 1
68634 _ACEOF
68635
68636 fi
68637 done
68638
68639 fi
68640 fi
68641
68642
68643
68644
68645
68646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
68647 $as_echo_n "checking for hypotf declaration... " >&6; }
68648 if test x${glibcxx_cv_func_hypotf_use+set} != xset; then
68649 if ${glibcxx_cv_func_hypotf_use+:} false; then :
68650 $as_echo_n "(cached) " >&6
68651 else
68652
68653
68654 ac_ext=cpp
68655 ac_cpp='$CXXCPP $CPPFLAGS'
68656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68659
68660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68661 /* end confdefs.h. */
68662 #include <math.h>
68663 int
68664 main ()
68665 {
68666 hypotf(0, 0);
68667 ;
68668 return 0;
68669 }
68670 _ACEOF
68671 if ac_fn_cxx_try_compile "$LINENO"; then :
68672 glibcxx_cv_func_hypotf_use=yes
68673 else
68674 glibcxx_cv_func_hypotf_use=no
68675 fi
68676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68677 ac_ext=c
68678 ac_cpp='$CPP $CPPFLAGS'
68679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68682
68683
68684 fi
68685
68686 fi
68687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
68688 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
68689
68690 if test x$glibcxx_cv_func_hypotf_use = x"yes"; then
68691 for ac_func in hypotf
68692 do :
68693 ac_fn_c_check_func "$LINENO" "hypotf" "ac_cv_func_hypotf"
68694 if test "x$ac_cv_func_hypotf" = xyes; then :
68695 cat >>confdefs.h <<_ACEOF
68696 #define HAVE_HYPOTF 1
68697 _ACEOF
68698
68699 fi
68700 done
68701
68702 else
68703
68704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotf declaration" >&5
68705 $as_echo_n "checking for _hypotf declaration... " >&6; }
68706 if test x${glibcxx_cv_func__hypotf_use+set} != xset; then
68707 if ${glibcxx_cv_func__hypotf_use+:} false; then :
68708 $as_echo_n "(cached) " >&6
68709 else
68710
68711
68712 ac_ext=cpp
68713 ac_cpp='$CXXCPP $CPPFLAGS'
68714 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68715 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68716 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68717
68718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68719 /* end confdefs.h. */
68720 #include <math.h>
68721 int
68722 main ()
68723 {
68724 _hypotf(0, 0);
68725 ;
68726 return 0;
68727 }
68728 _ACEOF
68729 if ac_fn_cxx_try_compile "$LINENO"; then :
68730 glibcxx_cv_func__hypotf_use=yes
68731 else
68732 glibcxx_cv_func__hypotf_use=no
68733 fi
68734 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68735 ac_ext=c
68736 ac_cpp='$CPP $CPPFLAGS'
68737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68740
68741
68742 fi
68743
68744 fi
68745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotf_use" >&5
68746 $as_echo "$glibcxx_cv_func__hypotf_use" >&6; }
68747
68748 if test x$glibcxx_cv_func__hypotf_use = x"yes"; then
68749 for ac_func in _hypotf
68750 do :
68751 ac_fn_c_check_func "$LINENO" "_hypotf" "ac_cv_func__hypotf"
68752 if test "x$ac_cv_func__hypotf" = xyes; then :
68753 cat >>confdefs.h <<_ACEOF
68754 #define HAVE__HYPOTF 1
68755 _ACEOF
68756
68757 fi
68758 done
68759
68760 fi
68761 fi
68762
68763
68764
68765
68766
68767 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
68768 $as_echo_n "checking for ldexpf declaration... " >&6; }
68769 if test x${glibcxx_cv_func_ldexpf_use+set} != xset; then
68770 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
68771 $as_echo_n "(cached) " >&6
68772 else
68773
68774
68775 ac_ext=cpp
68776 ac_cpp='$CXXCPP $CPPFLAGS'
68777 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68778 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68779 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68780
68781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68782 /* end confdefs.h. */
68783 #include <math.h>
68784 int
68785 main ()
68786 {
68787 ldexpf(0, 0);
68788 ;
68789 return 0;
68790 }
68791 _ACEOF
68792 if ac_fn_cxx_try_compile "$LINENO"; then :
68793 glibcxx_cv_func_ldexpf_use=yes
68794 else
68795 glibcxx_cv_func_ldexpf_use=no
68796 fi
68797 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68798 ac_ext=c
68799 ac_cpp='$CPP $CPPFLAGS'
68800 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68801 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68802 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68803
68804
68805 fi
68806
68807 fi
68808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
68809 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
68810
68811 if test x$glibcxx_cv_func_ldexpf_use = x"yes"; then
68812 for ac_func in ldexpf
68813 do :
68814 ac_fn_c_check_func "$LINENO" "ldexpf" "ac_cv_func_ldexpf"
68815 if test "x$ac_cv_func_ldexpf" = xyes; then :
68816 cat >>confdefs.h <<_ACEOF
68817 #define HAVE_LDEXPF 1
68818 _ACEOF
68819
68820 fi
68821 done
68822
68823 else
68824
68825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpf declaration" >&5
68826 $as_echo_n "checking for _ldexpf declaration... " >&6; }
68827 if test x${glibcxx_cv_func__ldexpf_use+set} != xset; then
68828 if ${glibcxx_cv_func__ldexpf_use+:} false; then :
68829 $as_echo_n "(cached) " >&6
68830 else
68831
68832
68833 ac_ext=cpp
68834 ac_cpp='$CXXCPP $CPPFLAGS'
68835 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68836 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68837 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68838
68839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68840 /* end confdefs.h. */
68841 #include <math.h>
68842 int
68843 main ()
68844 {
68845 _ldexpf(0, 0);
68846 ;
68847 return 0;
68848 }
68849 _ACEOF
68850 if ac_fn_cxx_try_compile "$LINENO"; then :
68851 glibcxx_cv_func__ldexpf_use=yes
68852 else
68853 glibcxx_cv_func__ldexpf_use=no
68854 fi
68855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68856 ac_ext=c
68857 ac_cpp='$CPP $CPPFLAGS'
68858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68861
68862
68863 fi
68864
68865 fi
68866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpf_use" >&5
68867 $as_echo "$glibcxx_cv_func__ldexpf_use" >&6; }
68868
68869 if test x$glibcxx_cv_func__ldexpf_use = x"yes"; then
68870 for ac_func in _ldexpf
68871 do :
68872 ac_fn_c_check_func "$LINENO" "_ldexpf" "ac_cv_func__ldexpf"
68873 if test "x$ac_cv_func__ldexpf" = xyes; then :
68874 cat >>confdefs.h <<_ACEOF
68875 #define HAVE__LDEXPF 1
68876 _ACEOF
68877
68878 fi
68879 done
68880
68881 fi
68882 fi
68883
68884
68885
68886
68887
68888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logf declaration" >&5
68889 $as_echo_n "checking for logf declaration... " >&6; }
68890 if test x${glibcxx_cv_func_logf_use+set} != xset; then
68891 if ${glibcxx_cv_func_logf_use+:} false; then :
68892 $as_echo_n "(cached) " >&6
68893 else
68894
68895
68896 ac_ext=cpp
68897 ac_cpp='$CXXCPP $CPPFLAGS'
68898 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68899 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68900 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68901
68902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68903 /* end confdefs.h. */
68904 #include <math.h>
68905 #ifdef HAVE_IEEEFP_H
68906 #include <ieeefp.h>
68907 #endif
68908
68909 int
68910 main ()
68911 {
68912 logf(0);
68913 ;
68914 return 0;
68915 }
68916 _ACEOF
68917 if ac_fn_cxx_try_compile "$LINENO"; then :
68918 glibcxx_cv_func_logf_use=yes
68919 else
68920 glibcxx_cv_func_logf_use=no
68921 fi
68922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68923 ac_ext=c
68924 ac_cpp='$CPP $CPPFLAGS'
68925 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68926 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68927 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68928
68929
68930 fi
68931
68932 fi
68933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logf_use" >&5
68934 $as_echo "$glibcxx_cv_func_logf_use" >&6; }
68935
68936 if test x$glibcxx_cv_func_logf_use = x"yes"; then
68937 for ac_func in logf
68938 do :
68939 ac_fn_c_check_func "$LINENO" "logf" "ac_cv_func_logf"
68940 if test "x$ac_cv_func_logf" = xyes; then :
68941 cat >>confdefs.h <<_ACEOF
68942 #define HAVE_LOGF 1
68943 _ACEOF
68944
68945 fi
68946 done
68947
68948 else
68949
68950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logf declaration" >&5
68951 $as_echo_n "checking for _logf declaration... " >&6; }
68952 if test x${glibcxx_cv_func__logf_use+set} != xset; then
68953 if ${glibcxx_cv_func__logf_use+:} false; then :
68954 $as_echo_n "(cached) " >&6
68955 else
68956
68957
68958 ac_ext=cpp
68959 ac_cpp='$CXXCPP $CPPFLAGS'
68960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
68963
68964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
68965 /* end confdefs.h. */
68966 #include <math.h>
68967 #ifdef HAVE_IEEEFP_H
68968 #include <ieeefp.h>
68969 #endif
68970
68971 int
68972 main ()
68973 {
68974 _logf(0);
68975 ;
68976 return 0;
68977 }
68978 _ACEOF
68979 if ac_fn_cxx_try_compile "$LINENO"; then :
68980 glibcxx_cv_func__logf_use=yes
68981 else
68982 glibcxx_cv_func__logf_use=no
68983 fi
68984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
68985 ac_ext=c
68986 ac_cpp='$CPP $CPPFLAGS'
68987 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
68988 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
68989 ac_compiler_gnu=$ac_cv_c_compiler_gnu
68990
68991
68992 fi
68993
68994 fi
68995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logf_use" >&5
68996 $as_echo "$glibcxx_cv_func__logf_use" >&6; }
68997
68998 if test x$glibcxx_cv_func__logf_use = x"yes"; then
68999 for ac_func in _logf
69000 do :
69001 ac_fn_c_check_func "$LINENO" "_logf" "ac_cv_func__logf"
69002 if test "x$ac_cv_func__logf" = xyes; then :
69003 cat >>confdefs.h <<_ACEOF
69004 #define HAVE__LOGF 1
69005 _ACEOF
69006
69007 fi
69008 done
69009
69010 fi
69011 fi
69012
69013
69014
69015
69016
69017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10f declaration" >&5
69018 $as_echo_n "checking for log10f declaration... " >&6; }
69019 if test x${glibcxx_cv_func_log10f_use+set} != xset; then
69020 if ${glibcxx_cv_func_log10f_use+:} false; then :
69021 $as_echo_n "(cached) " >&6
69022 else
69023
69024
69025 ac_ext=cpp
69026 ac_cpp='$CXXCPP $CPPFLAGS'
69027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69030
69031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69032 /* end confdefs.h. */
69033 #include <math.h>
69034 #ifdef HAVE_IEEEFP_H
69035 #include <ieeefp.h>
69036 #endif
69037
69038 int
69039 main ()
69040 {
69041 log10f(0);
69042 ;
69043 return 0;
69044 }
69045 _ACEOF
69046 if ac_fn_cxx_try_compile "$LINENO"; then :
69047 glibcxx_cv_func_log10f_use=yes
69048 else
69049 glibcxx_cv_func_log10f_use=no
69050 fi
69051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69052 ac_ext=c
69053 ac_cpp='$CPP $CPPFLAGS'
69054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69057
69058
69059 fi
69060
69061 fi
69062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10f_use" >&5
69063 $as_echo "$glibcxx_cv_func_log10f_use" >&6; }
69064
69065 if test x$glibcxx_cv_func_log10f_use = x"yes"; then
69066 for ac_func in log10f
69067 do :
69068 ac_fn_c_check_func "$LINENO" "log10f" "ac_cv_func_log10f"
69069 if test "x$ac_cv_func_log10f" = xyes; then :
69070 cat >>confdefs.h <<_ACEOF
69071 #define HAVE_LOG10F 1
69072 _ACEOF
69073
69074 fi
69075 done
69076
69077 else
69078
69079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10f declaration" >&5
69080 $as_echo_n "checking for _log10f declaration... " >&6; }
69081 if test x${glibcxx_cv_func__log10f_use+set} != xset; then
69082 if ${glibcxx_cv_func__log10f_use+:} false; then :
69083 $as_echo_n "(cached) " >&6
69084 else
69085
69086
69087 ac_ext=cpp
69088 ac_cpp='$CXXCPP $CPPFLAGS'
69089 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69090 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69091 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69092
69093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69094 /* end confdefs.h. */
69095 #include <math.h>
69096 #ifdef HAVE_IEEEFP_H
69097 #include <ieeefp.h>
69098 #endif
69099
69100 int
69101 main ()
69102 {
69103 _log10f(0);
69104 ;
69105 return 0;
69106 }
69107 _ACEOF
69108 if ac_fn_cxx_try_compile "$LINENO"; then :
69109 glibcxx_cv_func__log10f_use=yes
69110 else
69111 glibcxx_cv_func__log10f_use=no
69112 fi
69113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69114 ac_ext=c
69115 ac_cpp='$CPP $CPPFLAGS'
69116 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69117 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69118 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69119
69120
69121 fi
69122
69123 fi
69124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10f_use" >&5
69125 $as_echo "$glibcxx_cv_func__log10f_use" >&6; }
69126
69127 if test x$glibcxx_cv_func__log10f_use = x"yes"; then
69128 for ac_func in _log10f
69129 do :
69130 ac_fn_c_check_func "$LINENO" "_log10f" "ac_cv_func__log10f"
69131 if test "x$ac_cv_func__log10f" = xyes; then :
69132 cat >>confdefs.h <<_ACEOF
69133 #define HAVE__LOG10F 1
69134 _ACEOF
69135
69136 fi
69137 done
69138
69139 fi
69140 fi
69141
69142
69143
69144
69145
69146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
69147 $as_echo_n "checking for modff declaration... " >&6; }
69148 if test x${glibcxx_cv_func_modff_use+set} != xset; then
69149 if ${glibcxx_cv_func_modff_use+:} false; then :
69150 $as_echo_n "(cached) " >&6
69151 else
69152
69153
69154 ac_ext=cpp
69155 ac_cpp='$CXXCPP $CPPFLAGS'
69156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69159
69160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69161 /* end confdefs.h. */
69162 #include <math.h>
69163 int
69164 main ()
69165 {
69166 modff(0, 0);
69167 ;
69168 return 0;
69169 }
69170 _ACEOF
69171 if ac_fn_cxx_try_compile "$LINENO"; then :
69172 glibcxx_cv_func_modff_use=yes
69173 else
69174 glibcxx_cv_func_modff_use=no
69175 fi
69176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69177 ac_ext=c
69178 ac_cpp='$CPP $CPPFLAGS'
69179 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69180 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69181 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69182
69183
69184 fi
69185
69186 fi
69187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
69188 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
69189
69190 if test x$glibcxx_cv_func_modff_use = x"yes"; then
69191 for ac_func in modff
69192 do :
69193 ac_fn_c_check_func "$LINENO" "modff" "ac_cv_func_modff"
69194 if test "x$ac_cv_func_modff" = xyes; then :
69195 cat >>confdefs.h <<_ACEOF
69196 #define HAVE_MODFF 1
69197 _ACEOF
69198
69199 fi
69200 done
69201
69202 else
69203
69204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modff declaration" >&5
69205 $as_echo_n "checking for _modff declaration... " >&6; }
69206 if test x${glibcxx_cv_func__modff_use+set} != xset; then
69207 if ${glibcxx_cv_func__modff_use+:} false; then :
69208 $as_echo_n "(cached) " >&6
69209 else
69210
69211
69212 ac_ext=cpp
69213 ac_cpp='$CXXCPP $CPPFLAGS'
69214 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69215 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69216 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69217
69218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69219 /* end confdefs.h. */
69220 #include <math.h>
69221 int
69222 main ()
69223 {
69224 _modff(0, 0);
69225 ;
69226 return 0;
69227 }
69228 _ACEOF
69229 if ac_fn_cxx_try_compile "$LINENO"; then :
69230 glibcxx_cv_func__modff_use=yes
69231 else
69232 glibcxx_cv_func__modff_use=no
69233 fi
69234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69235 ac_ext=c
69236 ac_cpp='$CPP $CPPFLAGS'
69237 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69238 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69239 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69240
69241
69242 fi
69243
69244 fi
69245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modff_use" >&5
69246 $as_echo "$glibcxx_cv_func__modff_use" >&6; }
69247
69248 if test x$glibcxx_cv_func__modff_use = x"yes"; then
69249 for ac_func in _modff
69250 do :
69251 ac_fn_c_check_func "$LINENO" "_modff" "ac_cv_func__modff"
69252 if test "x$ac_cv_func__modff" = xyes; then :
69253 cat >>confdefs.h <<_ACEOF
69254 #define HAVE__MODFF 1
69255 _ACEOF
69256
69257 fi
69258 done
69259
69260 fi
69261 fi
69262
69263
69264
69265
69266
69267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modf declaration" >&5
69268 $as_echo_n "checking for modf declaration... " >&6; }
69269 if test x${glibcxx_cv_func_modf_use+set} != xset; then
69270 if ${glibcxx_cv_func_modf_use+:} false; then :
69271 $as_echo_n "(cached) " >&6
69272 else
69273
69274
69275 ac_ext=cpp
69276 ac_cpp='$CXXCPP $CPPFLAGS'
69277 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69278 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69279 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69280
69281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69282 /* end confdefs.h. */
69283 #include <math.h>
69284 int
69285 main ()
69286 {
69287 modf(0, 0);
69288 ;
69289 return 0;
69290 }
69291 _ACEOF
69292 if ac_fn_cxx_try_compile "$LINENO"; then :
69293 glibcxx_cv_func_modf_use=yes
69294 else
69295 glibcxx_cv_func_modf_use=no
69296 fi
69297 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69298 ac_ext=c
69299 ac_cpp='$CPP $CPPFLAGS'
69300 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69301 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69302 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69303
69304
69305 fi
69306
69307 fi
69308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modf_use" >&5
69309 $as_echo "$glibcxx_cv_func_modf_use" >&6; }
69310
69311 if test x$glibcxx_cv_func_modf_use = x"yes"; then
69312 for ac_func in modf
69313 do :
69314 ac_fn_c_check_func "$LINENO" "modf" "ac_cv_func_modf"
69315 if test "x$ac_cv_func_modf" = xyes; then :
69316 cat >>confdefs.h <<_ACEOF
69317 #define HAVE_MODF 1
69318 _ACEOF
69319
69320 fi
69321 done
69322
69323 else
69324
69325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modf declaration" >&5
69326 $as_echo_n "checking for _modf declaration... " >&6; }
69327 if test x${glibcxx_cv_func__modf_use+set} != xset; then
69328 if ${glibcxx_cv_func__modf_use+:} false; then :
69329 $as_echo_n "(cached) " >&6
69330 else
69331
69332
69333 ac_ext=cpp
69334 ac_cpp='$CXXCPP $CPPFLAGS'
69335 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69336 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69337 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69338
69339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69340 /* end confdefs.h. */
69341 #include <math.h>
69342 int
69343 main ()
69344 {
69345 _modf(0, 0);
69346 ;
69347 return 0;
69348 }
69349 _ACEOF
69350 if ac_fn_cxx_try_compile "$LINENO"; then :
69351 glibcxx_cv_func__modf_use=yes
69352 else
69353 glibcxx_cv_func__modf_use=no
69354 fi
69355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69356 ac_ext=c
69357 ac_cpp='$CPP $CPPFLAGS'
69358 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69359 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69361
69362
69363 fi
69364
69365 fi
69366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modf_use" >&5
69367 $as_echo "$glibcxx_cv_func__modf_use" >&6; }
69368
69369 if test x$glibcxx_cv_func__modf_use = x"yes"; then
69370 for ac_func in _modf
69371 do :
69372 ac_fn_c_check_func "$LINENO" "_modf" "ac_cv_func__modf"
69373 if test "x$ac_cv_func__modf" = xyes; then :
69374 cat >>confdefs.h <<_ACEOF
69375 #define HAVE__MODF 1
69376 _ACEOF
69377
69378 fi
69379 done
69380
69381 fi
69382 fi
69383
69384
69385
69386
69387
69388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powf declaration" >&5
69389 $as_echo_n "checking for powf declaration... " >&6; }
69390 if test x${glibcxx_cv_func_powf_use+set} != xset; then
69391 if ${glibcxx_cv_func_powf_use+:} false; then :
69392 $as_echo_n "(cached) " >&6
69393 else
69394
69395
69396 ac_ext=cpp
69397 ac_cpp='$CXXCPP $CPPFLAGS'
69398 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69399 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69400 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69401
69402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69403 /* end confdefs.h. */
69404 #include <math.h>
69405 int
69406 main ()
69407 {
69408 powf(0, 0);
69409 ;
69410 return 0;
69411 }
69412 _ACEOF
69413 if ac_fn_cxx_try_compile "$LINENO"; then :
69414 glibcxx_cv_func_powf_use=yes
69415 else
69416 glibcxx_cv_func_powf_use=no
69417 fi
69418 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69419 ac_ext=c
69420 ac_cpp='$CPP $CPPFLAGS'
69421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69424
69425
69426 fi
69427
69428 fi
69429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powf_use" >&5
69430 $as_echo "$glibcxx_cv_func_powf_use" >&6; }
69431
69432 if test x$glibcxx_cv_func_powf_use = x"yes"; then
69433 for ac_func in powf
69434 do :
69435 ac_fn_c_check_func "$LINENO" "powf" "ac_cv_func_powf"
69436 if test "x$ac_cv_func_powf" = xyes; then :
69437 cat >>confdefs.h <<_ACEOF
69438 #define HAVE_POWF 1
69439 _ACEOF
69440
69441 fi
69442 done
69443
69444 else
69445
69446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powf declaration" >&5
69447 $as_echo_n "checking for _powf declaration... " >&6; }
69448 if test x${glibcxx_cv_func__powf_use+set} != xset; then
69449 if ${glibcxx_cv_func__powf_use+:} false; then :
69450 $as_echo_n "(cached) " >&6
69451 else
69452
69453
69454 ac_ext=cpp
69455 ac_cpp='$CXXCPP $CPPFLAGS'
69456 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69457 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69458 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69459
69460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69461 /* end confdefs.h. */
69462 #include <math.h>
69463 int
69464 main ()
69465 {
69466 _powf(0, 0);
69467 ;
69468 return 0;
69469 }
69470 _ACEOF
69471 if ac_fn_cxx_try_compile "$LINENO"; then :
69472 glibcxx_cv_func__powf_use=yes
69473 else
69474 glibcxx_cv_func__powf_use=no
69475 fi
69476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69477 ac_ext=c
69478 ac_cpp='$CPP $CPPFLAGS'
69479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69482
69483
69484 fi
69485
69486 fi
69487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powf_use" >&5
69488 $as_echo "$glibcxx_cv_func__powf_use" >&6; }
69489
69490 if test x$glibcxx_cv_func__powf_use = x"yes"; then
69491 for ac_func in _powf
69492 do :
69493 ac_fn_c_check_func "$LINENO" "_powf" "ac_cv_func__powf"
69494 if test "x$ac_cv_func__powf" = xyes; then :
69495 cat >>confdefs.h <<_ACEOF
69496 #define HAVE__POWF 1
69497 _ACEOF
69498
69499 fi
69500 done
69501
69502 fi
69503 fi
69504
69505
69506
69507
69508
69509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtf declaration" >&5
69510 $as_echo_n "checking for sqrtf declaration... " >&6; }
69511 if test x${glibcxx_cv_func_sqrtf_use+set} != xset; then
69512 if ${glibcxx_cv_func_sqrtf_use+:} false; then :
69513 $as_echo_n "(cached) " >&6
69514 else
69515
69516
69517 ac_ext=cpp
69518 ac_cpp='$CXXCPP $CPPFLAGS'
69519 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69520 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69521 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69522
69523 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69524 /* end confdefs.h. */
69525 #include <math.h>
69526 #ifdef HAVE_IEEEFP_H
69527 #include <ieeefp.h>
69528 #endif
69529
69530 int
69531 main ()
69532 {
69533 sqrtf(0);
69534 ;
69535 return 0;
69536 }
69537 _ACEOF
69538 if ac_fn_cxx_try_compile "$LINENO"; then :
69539 glibcxx_cv_func_sqrtf_use=yes
69540 else
69541 glibcxx_cv_func_sqrtf_use=no
69542 fi
69543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69544 ac_ext=c
69545 ac_cpp='$CPP $CPPFLAGS'
69546 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69547 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69548 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69549
69550
69551 fi
69552
69553 fi
69554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtf_use" >&5
69555 $as_echo "$glibcxx_cv_func_sqrtf_use" >&6; }
69556
69557 if test x$glibcxx_cv_func_sqrtf_use = x"yes"; then
69558 for ac_func in sqrtf
69559 do :
69560 ac_fn_c_check_func "$LINENO" "sqrtf" "ac_cv_func_sqrtf"
69561 if test "x$ac_cv_func_sqrtf" = xyes; then :
69562 cat >>confdefs.h <<_ACEOF
69563 #define HAVE_SQRTF 1
69564 _ACEOF
69565
69566 fi
69567 done
69568
69569 else
69570
69571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtf declaration" >&5
69572 $as_echo_n "checking for _sqrtf declaration... " >&6; }
69573 if test x${glibcxx_cv_func__sqrtf_use+set} != xset; then
69574 if ${glibcxx_cv_func__sqrtf_use+:} false; then :
69575 $as_echo_n "(cached) " >&6
69576 else
69577
69578
69579 ac_ext=cpp
69580 ac_cpp='$CXXCPP $CPPFLAGS'
69581 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69582 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69583 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69584
69585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69586 /* end confdefs.h. */
69587 #include <math.h>
69588 #ifdef HAVE_IEEEFP_H
69589 #include <ieeefp.h>
69590 #endif
69591
69592 int
69593 main ()
69594 {
69595 _sqrtf(0);
69596 ;
69597 return 0;
69598 }
69599 _ACEOF
69600 if ac_fn_cxx_try_compile "$LINENO"; then :
69601 glibcxx_cv_func__sqrtf_use=yes
69602 else
69603 glibcxx_cv_func__sqrtf_use=no
69604 fi
69605 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69606 ac_ext=c
69607 ac_cpp='$CPP $CPPFLAGS'
69608 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69609 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69610 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69611
69612
69613 fi
69614
69615 fi
69616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtf_use" >&5
69617 $as_echo "$glibcxx_cv_func__sqrtf_use" >&6; }
69618
69619 if test x$glibcxx_cv_func__sqrtf_use = x"yes"; then
69620 for ac_func in _sqrtf
69621 do :
69622 ac_fn_c_check_func "$LINENO" "_sqrtf" "ac_cv_func__sqrtf"
69623 if test "x$ac_cv_func__sqrtf" = xyes; then :
69624 cat >>confdefs.h <<_ACEOF
69625 #define HAVE__SQRTF 1
69626 _ACEOF
69627
69628 fi
69629 done
69630
69631 fi
69632 fi
69633
69634
69635
69636
69637
69638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosf declaration" >&5
69639 $as_echo_n "checking for sincosf declaration... " >&6; }
69640 if test x${glibcxx_cv_func_sincosf_use+set} != xset; then
69641 if ${glibcxx_cv_func_sincosf_use+:} false; then :
69642 $as_echo_n "(cached) " >&6
69643 else
69644
69645
69646 ac_ext=cpp
69647 ac_cpp='$CXXCPP $CPPFLAGS'
69648 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69649 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69650 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69651
69652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69653 /* end confdefs.h. */
69654 #include <math.h>
69655 int
69656 main ()
69657 {
69658 sincosf(0, 0, 0);
69659 ;
69660 return 0;
69661 }
69662 _ACEOF
69663 if ac_fn_cxx_try_compile "$LINENO"; then :
69664 glibcxx_cv_func_sincosf_use=yes
69665 else
69666 glibcxx_cv_func_sincosf_use=no
69667 fi
69668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69669 ac_ext=c
69670 ac_cpp='$CPP $CPPFLAGS'
69671 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69672 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69673 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69674
69675
69676 fi
69677
69678 fi
69679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosf_use" >&5
69680 $as_echo "$glibcxx_cv_func_sincosf_use" >&6; }
69681
69682 if test x$glibcxx_cv_func_sincosf_use = x"yes"; then
69683 for ac_func in sincosf
69684 do :
69685 ac_fn_c_check_func "$LINENO" "sincosf" "ac_cv_func_sincosf"
69686 if test "x$ac_cv_func_sincosf" = xyes; then :
69687 cat >>confdefs.h <<_ACEOF
69688 #define HAVE_SINCOSF 1
69689 _ACEOF
69690
69691 fi
69692 done
69693
69694 else
69695
69696 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosf declaration" >&5
69697 $as_echo_n "checking for _sincosf declaration... " >&6; }
69698 if test x${glibcxx_cv_func__sincosf_use+set} != xset; then
69699 if ${glibcxx_cv_func__sincosf_use+:} false; then :
69700 $as_echo_n "(cached) " >&6
69701 else
69702
69703
69704 ac_ext=cpp
69705 ac_cpp='$CXXCPP $CPPFLAGS'
69706 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69707 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69708 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69709
69710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69711 /* end confdefs.h. */
69712 #include <math.h>
69713 int
69714 main ()
69715 {
69716 _sincosf(0, 0, 0);
69717 ;
69718 return 0;
69719 }
69720 _ACEOF
69721 if ac_fn_cxx_try_compile "$LINENO"; then :
69722 glibcxx_cv_func__sincosf_use=yes
69723 else
69724 glibcxx_cv_func__sincosf_use=no
69725 fi
69726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69727 ac_ext=c
69728 ac_cpp='$CPP $CPPFLAGS'
69729 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69730 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69731 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69732
69733
69734 fi
69735
69736 fi
69737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosf_use" >&5
69738 $as_echo "$glibcxx_cv_func__sincosf_use" >&6; }
69739
69740 if test x$glibcxx_cv_func__sincosf_use = x"yes"; then
69741 for ac_func in _sincosf
69742 do :
69743 ac_fn_c_check_func "$LINENO" "_sincosf" "ac_cv_func__sincosf"
69744 if test "x$ac_cv_func__sincosf" = xyes; then :
69745 cat >>confdefs.h <<_ACEOF
69746 #define HAVE__SINCOSF 1
69747 _ACEOF
69748
69749 fi
69750 done
69751
69752 fi
69753 fi
69754
69755
69756
69757
69758
69759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitef declaration" >&5
69760 $as_echo_n "checking for finitef declaration... " >&6; }
69761 if test x${glibcxx_cv_func_finitef_use+set} != xset; then
69762 if ${glibcxx_cv_func_finitef_use+:} false; then :
69763 $as_echo_n "(cached) " >&6
69764 else
69765
69766
69767 ac_ext=cpp
69768 ac_cpp='$CXXCPP $CPPFLAGS'
69769 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69770 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69771 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69772
69773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69774 /* end confdefs.h. */
69775 #include <math.h>
69776 #ifdef HAVE_IEEEFP_H
69777 #include <ieeefp.h>
69778 #endif
69779
69780 int
69781 main ()
69782 {
69783 finitef(0);
69784 ;
69785 return 0;
69786 }
69787 _ACEOF
69788 if ac_fn_cxx_try_compile "$LINENO"; then :
69789 glibcxx_cv_func_finitef_use=yes
69790 else
69791 glibcxx_cv_func_finitef_use=no
69792 fi
69793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69794 ac_ext=c
69795 ac_cpp='$CPP $CPPFLAGS'
69796 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69797 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69798 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69799
69800
69801 fi
69802
69803 fi
69804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitef_use" >&5
69805 $as_echo "$glibcxx_cv_func_finitef_use" >&6; }
69806
69807 if test x$glibcxx_cv_func_finitef_use = x"yes"; then
69808 for ac_func in finitef
69809 do :
69810 ac_fn_c_check_func "$LINENO" "finitef" "ac_cv_func_finitef"
69811 if test "x$ac_cv_func_finitef" = xyes; then :
69812 cat >>confdefs.h <<_ACEOF
69813 #define HAVE_FINITEF 1
69814 _ACEOF
69815
69816 fi
69817 done
69818
69819 else
69820
69821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitef declaration" >&5
69822 $as_echo_n "checking for _finitef declaration... " >&6; }
69823 if test x${glibcxx_cv_func__finitef_use+set} != xset; then
69824 if ${glibcxx_cv_func__finitef_use+:} false; then :
69825 $as_echo_n "(cached) " >&6
69826 else
69827
69828
69829 ac_ext=cpp
69830 ac_cpp='$CXXCPP $CPPFLAGS'
69831 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69832 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69833 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69834
69835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69836 /* end confdefs.h. */
69837 #include <math.h>
69838 #ifdef HAVE_IEEEFP_H
69839 #include <ieeefp.h>
69840 #endif
69841
69842 int
69843 main ()
69844 {
69845 _finitef(0);
69846 ;
69847 return 0;
69848 }
69849 _ACEOF
69850 if ac_fn_cxx_try_compile "$LINENO"; then :
69851 glibcxx_cv_func__finitef_use=yes
69852 else
69853 glibcxx_cv_func__finitef_use=no
69854 fi
69855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69856 ac_ext=c
69857 ac_cpp='$CPP $CPPFLAGS'
69858 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69859 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69860 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69861
69862
69863 fi
69864
69865 fi
69866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitef_use" >&5
69867 $as_echo "$glibcxx_cv_func__finitef_use" >&6; }
69868
69869 if test x$glibcxx_cv_func__finitef_use = x"yes"; then
69870 for ac_func in _finitef
69871 do :
69872 ac_fn_c_check_func "$LINENO" "_finitef" "ac_cv_func__finitef"
69873 if test "x$ac_cv_func__finitef" = xyes; then :
69874 cat >>confdefs.h <<_ACEOF
69875 #define HAVE__FINITEF 1
69876 _ACEOF
69877
69878 fi
69879 done
69880
69881 fi
69882 fi
69883
69884
69885
69886
69887
69888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double trig functions" >&5
69889 $as_echo_n "checking for long double trig functions... " >&6; }
69890 if ${glibcxx_cv_func_long_double_trig_use+:} false; then :
69891 $as_echo_n "(cached) " >&6
69892 else
69893
69894
69895 ac_ext=cpp
69896 ac_cpp='$CXXCPP $CPPFLAGS'
69897 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69898 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69899 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69900
69901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69902 /* end confdefs.h. */
69903 #include <math.h>
69904 int
69905 main ()
69906 {
69907 acosl (0); asinl (0); atanl (0); cosl (0); sinl (0); tanl (0); coshl (0); sinhl (0); tanhl (0);
69908 ;
69909 return 0;
69910 }
69911 _ACEOF
69912 if ac_fn_cxx_try_compile "$LINENO"; then :
69913 glibcxx_cv_func_long_double_trig_use=yes
69914 else
69915 glibcxx_cv_func_long_double_trig_use=no
69916 fi
69917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69918 ac_ext=c
69919 ac_cpp='$CPP $CPPFLAGS'
69920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69923
69924 fi
69925
69926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_trig_use" >&5
69927 $as_echo "$glibcxx_cv_func_long_double_trig_use" >&6; }
69928 if test x$glibcxx_cv_func_long_double_trig_use = x"yes"; then
69929 for ac_func in acosl asinl atanl cosl sinl tanl coshl sinhl tanhl
69930 do :
69931 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69932 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69933 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
69934 cat >>confdefs.h <<_ACEOF
69935 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69936 _ACEOF
69937
69938 fi
69939 done
69940
69941 else
69942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double trig functions" >&5
69943 $as_echo_n "checking for _long double trig functions... " >&6; }
69944 if ${glibcxx_cv_func__long_double_trig_use+:} false; then :
69945 $as_echo_n "(cached) " >&6
69946 else
69947
69948
69949 ac_ext=cpp
69950 ac_cpp='$CXXCPP $CPPFLAGS'
69951 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69952 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69953 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
69954
69955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
69956 /* end confdefs.h. */
69957 #include <math.h>
69958 int
69959 main ()
69960 {
69961 _acosl (0); _asinl (0); _atanl (0); _cosl (0); _sinl (0); _tanl (0); _coshl (0); _sinhl (0); _tanhl (0);
69962 ;
69963 return 0;
69964 }
69965 _ACEOF
69966 if ac_fn_cxx_try_compile "$LINENO"; then :
69967 glibcxx_cv_func__long_double_trig_use=yes
69968 else
69969 glibcxx_cv_func__long_double_trig_use=no
69970 fi
69971 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
69972 ac_ext=c
69973 ac_cpp='$CPP $CPPFLAGS'
69974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
69975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
69976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
69977
69978 fi
69979
69980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_trig_use" >&5
69981 $as_echo "$glibcxx_cv_func__long_double_trig_use" >&6; }
69982 if test x$glibcxx_cv_func__long_double_trig_use = x"yes"; then
69983 for ac_func in _acosl _asinl _atanl _cosl _sinl _tanl _coshl _sinhl _tanhl
69984 do :
69985 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
69986 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
69987 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
69988 cat >>confdefs.h <<_ACEOF
69989 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
69990 _ACEOF
69991
69992 fi
69993 done
69994
69995 fi
69996 fi
69997
69998
69999
70000
70001
70002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for long double round functions" >&5
70003 $as_echo_n "checking for long double round functions... " >&6; }
70004 if ${glibcxx_cv_func_long_double_round_use+:} false; then :
70005 $as_echo_n "(cached) " >&6
70006 else
70007
70008
70009 ac_ext=cpp
70010 ac_cpp='$CXXCPP $CPPFLAGS'
70011 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70012 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70013 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70014
70015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70016 /* end confdefs.h. */
70017 #include <math.h>
70018 int
70019 main ()
70020 {
70021 ceill (0); floorl (0);
70022 ;
70023 return 0;
70024 }
70025 _ACEOF
70026 if ac_fn_cxx_try_compile "$LINENO"; then :
70027 glibcxx_cv_func_long_double_round_use=yes
70028 else
70029 glibcxx_cv_func_long_double_round_use=no
70030 fi
70031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70032 ac_ext=c
70033 ac_cpp='$CPP $CPPFLAGS'
70034 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70035 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70036 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70037
70038 fi
70039
70040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_long_double_round_use" >&5
70041 $as_echo "$glibcxx_cv_func_long_double_round_use" >&6; }
70042 if test x$glibcxx_cv_func_long_double_round_use = x"yes"; then
70043 for ac_func in ceill floorl
70044 do :
70045 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70046 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70047 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70048 cat >>confdefs.h <<_ACEOF
70049 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70050 _ACEOF
70051
70052 fi
70053 done
70054
70055 else
70056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _long double round functions" >&5
70057 $as_echo_n "checking for _long double round functions... " >&6; }
70058 if ${glibcxx_cv_func__long_double_round_use+:} false; then :
70059 $as_echo_n "(cached) " >&6
70060 else
70061
70062
70063 ac_ext=cpp
70064 ac_cpp='$CXXCPP $CPPFLAGS'
70065 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70066 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70067 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70068
70069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70070 /* end confdefs.h. */
70071 #include <math.h>
70072 int
70073 main ()
70074 {
70075 _ceill (0); _floorl (0);
70076 ;
70077 return 0;
70078 }
70079 _ACEOF
70080 if ac_fn_cxx_try_compile "$LINENO"; then :
70081 glibcxx_cv_func__long_double_round_use=yes
70082 else
70083 glibcxx_cv_func__long_double_round_use=no
70084 fi
70085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70086 ac_ext=c
70087 ac_cpp='$CPP $CPPFLAGS'
70088 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70089 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70090 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70091
70092 fi
70093
70094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__long_double_round_use" >&5
70095 $as_echo "$glibcxx_cv_func__long_double_round_use" >&6; }
70096 if test x$glibcxx_cv_func__long_double_round_use = x"yes"; then
70097 for ac_func in _ceill _floorl
70098 do :
70099 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
70100 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
70101 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
70102 cat >>confdefs.h <<_ACEOF
70103 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
70104 _ACEOF
70105
70106 fi
70107 done
70108
70109 fi
70110 fi
70111
70112
70113
70114
70115
70116
70117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnanl declaration" >&5
70118 $as_echo_n "checking for isnanl declaration... " >&6; }
70119 if test x${glibcxx_cv_func_isnanl_use+set} != xset; then
70120 if ${glibcxx_cv_func_isnanl_use+:} false; then :
70121 $as_echo_n "(cached) " >&6
70122 else
70123
70124
70125 ac_ext=cpp
70126 ac_cpp='$CXXCPP $CPPFLAGS'
70127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70130
70131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70132 /* end confdefs.h. */
70133 #include <math.h>
70134 #ifdef HAVE_IEEEFP_H
70135 #include <ieeefp.h>
70136 #endif
70137
70138 int
70139 main ()
70140 {
70141 isnanl(0);
70142 ;
70143 return 0;
70144 }
70145 _ACEOF
70146 if ac_fn_cxx_try_compile "$LINENO"; then :
70147 glibcxx_cv_func_isnanl_use=yes
70148 else
70149 glibcxx_cv_func_isnanl_use=no
70150 fi
70151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70152 ac_ext=c
70153 ac_cpp='$CPP $CPPFLAGS'
70154 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70155 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70156 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70157
70158
70159 fi
70160
70161 fi
70162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isnanl_use" >&5
70163 $as_echo "$glibcxx_cv_func_isnanl_use" >&6; }
70164
70165 if test x$glibcxx_cv_func_isnanl_use = x"yes"; then
70166 for ac_func in isnanl
70167 do :
70168 ac_fn_c_check_func "$LINENO" "isnanl" "ac_cv_func_isnanl"
70169 if test "x$ac_cv_func_isnanl" = xyes; then :
70170 cat >>confdefs.h <<_ACEOF
70171 #define HAVE_ISNANL 1
70172 _ACEOF
70173
70174 fi
70175 done
70176
70177 else
70178
70179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isnanl declaration" >&5
70180 $as_echo_n "checking for _isnanl declaration... " >&6; }
70181 if test x${glibcxx_cv_func__isnanl_use+set} != xset; then
70182 if ${glibcxx_cv_func__isnanl_use+:} false; then :
70183 $as_echo_n "(cached) " >&6
70184 else
70185
70186
70187 ac_ext=cpp
70188 ac_cpp='$CXXCPP $CPPFLAGS'
70189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70192
70193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70194 /* end confdefs.h. */
70195 #include <math.h>
70196 #ifdef HAVE_IEEEFP_H
70197 #include <ieeefp.h>
70198 #endif
70199
70200 int
70201 main ()
70202 {
70203 _isnanl(0);
70204 ;
70205 return 0;
70206 }
70207 _ACEOF
70208 if ac_fn_cxx_try_compile "$LINENO"; then :
70209 glibcxx_cv_func__isnanl_use=yes
70210 else
70211 glibcxx_cv_func__isnanl_use=no
70212 fi
70213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70214 ac_ext=c
70215 ac_cpp='$CPP $CPPFLAGS'
70216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70219
70220
70221 fi
70222
70223 fi
70224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isnanl_use" >&5
70225 $as_echo "$glibcxx_cv_func__isnanl_use" >&6; }
70226
70227 if test x$glibcxx_cv_func__isnanl_use = x"yes"; then
70228 for ac_func in _isnanl
70229 do :
70230 ac_fn_c_check_func "$LINENO" "_isnanl" "ac_cv_func__isnanl"
70231 if test "x$ac_cv_func__isnanl" = xyes; then :
70232 cat >>confdefs.h <<_ACEOF
70233 #define HAVE__ISNANL 1
70234 _ACEOF
70235
70236 fi
70237 done
70238
70239 fi
70240 fi
70241
70242
70243
70244
70245
70246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinfl declaration" >&5
70247 $as_echo_n "checking for isinfl declaration... " >&6; }
70248 if test x${glibcxx_cv_func_isinfl_use+set} != xset; then
70249 if ${glibcxx_cv_func_isinfl_use+:} false; then :
70250 $as_echo_n "(cached) " >&6
70251 else
70252
70253
70254 ac_ext=cpp
70255 ac_cpp='$CXXCPP $CPPFLAGS'
70256 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70257 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70258 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70259
70260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70261 /* end confdefs.h. */
70262 #include <math.h>
70263 #ifdef HAVE_IEEEFP_H
70264 #include <ieeefp.h>
70265 #endif
70266
70267 int
70268 main ()
70269 {
70270 isinfl(0);
70271 ;
70272 return 0;
70273 }
70274 _ACEOF
70275 if ac_fn_cxx_try_compile "$LINENO"; then :
70276 glibcxx_cv_func_isinfl_use=yes
70277 else
70278 glibcxx_cv_func_isinfl_use=no
70279 fi
70280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70281 ac_ext=c
70282 ac_cpp='$CPP $CPPFLAGS'
70283 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70284 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70285 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70286
70287
70288 fi
70289
70290 fi
70291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_isinfl_use" >&5
70292 $as_echo "$glibcxx_cv_func_isinfl_use" >&6; }
70293
70294 if test x$glibcxx_cv_func_isinfl_use = x"yes"; then
70295 for ac_func in isinfl
70296 do :
70297 ac_fn_c_check_func "$LINENO" "isinfl" "ac_cv_func_isinfl"
70298 if test "x$ac_cv_func_isinfl" = xyes; then :
70299 cat >>confdefs.h <<_ACEOF
70300 #define HAVE_ISINFL 1
70301 _ACEOF
70302
70303 fi
70304 done
70305
70306 else
70307
70308 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _isinfl declaration" >&5
70309 $as_echo_n "checking for _isinfl declaration... " >&6; }
70310 if test x${glibcxx_cv_func__isinfl_use+set} != xset; then
70311 if ${glibcxx_cv_func__isinfl_use+:} false; then :
70312 $as_echo_n "(cached) " >&6
70313 else
70314
70315
70316 ac_ext=cpp
70317 ac_cpp='$CXXCPP $CPPFLAGS'
70318 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70319 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70320 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70321
70322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70323 /* end confdefs.h. */
70324 #include <math.h>
70325 #ifdef HAVE_IEEEFP_H
70326 #include <ieeefp.h>
70327 #endif
70328
70329 int
70330 main ()
70331 {
70332 _isinfl(0);
70333 ;
70334 return 0;
70335 }
70336 _ACEOF
70337 if ac_fn_cxx_try_compile "$LINENO"; then :
70338 glibcxx_cv_func__isinfl_use=yes
70339 else
70340 glibcxx_cv_func__isinfl_use=no
70341 fi
70342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70343 ac_ext=c
70344 ac_cpp='$CPP $CPPFLAGS'
70345 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70346 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70347 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70348
70349
70350 fi
70351
70352 fi
70353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__isinfl_use" >&5
70354 $as_echo "$glibcxx_cv_func__isinfl_use" >&6; }
70355
70356 if test x$glibcxx_cv_func__isinfl_use = x"yes"; then
70357 for ac_func in _isinfl
70358 do :
70359 ac_fn_c_check_func "$LINENO" "_isinfl" "ac_cv_func__isinfl"
70360 if test "x$ac_cv_func__isinfl" = xyes; then :
70361 cat >>confdefs.h <<_ACEOF
70362 #define HAVE__ISINFL 1
70363 _ACEOF
70364
70365 fi
70366 done
70367
70368 fi
70369 fi
70370
70371
70372
70373
70374
70375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
70376 $as_echo_n "checking for atan2l declaration... " >&6; }
70377 if test x${glibcxx_cv_func_atan2l_use+set} != xset; then
70378 if ${glibcxx_cv_func_atan2l_use+:} false; then :
70379 $as_echo_n "(cached) " >&6
70380 else
70381
70382
70383 ac_ext=cpp
70384 ac_cpp='$CXXCPP $CPPFLAGS'
70385 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70386 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70387 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70388
70389 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70390 /* end confdefs.h. */
70391 #include <math.h>
70392 int
70393 main ()
70394 {
70395 atan2l(0, 0);
70396 ;
70397 return 0;
70398 }
70399 _ACEOF
70400 if ac_fn_cxx_try_compile "$LINENO"; then :
70401 glibcxx_cv_func_atan2l_use=yes
70402 else
70403 glibcxx_cv_func_atan2l_use=no
70404 fi
70405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70406 ac_ext=c
70407 ac_cpp='$CPP $CPPFLAGS'
70408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70411
70412
70413 fi
70414
70415 fi
70416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
70417 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
70418
70419 if test x$glibcxx_cv_func_atan2l_use = x"yes"; then
70420 for ac_func in atan2l
70421 do :
70422 ac_fn_c_check_func "$LINENO" "atan2l" "ac_cv_func_atan2l"
70423 if test "x$ac_cv_func_atan2l" = xyes; then :
70424 cat >>confdefs.h <<_ACEOF
70425 #define HAVE_ATAN2L 1
70426 _ACEOF
70427
70428 fi
70429 done
70430
70431 else
70432
70433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _atan2l declaration" >&5
70434 $as_echo_n "checking for _atan2l declaration... " >&6; }
70435 if test x${glibcxx_cv_func__atan2l_use+set} != xset; then
70436 if ${glibcxx_cv_func__atan2l_use+:} false; then :
70437 $as_echo_n "(cached) " >&6
70438 else
70439
70440
70441 ac_ext=cpp
70442 ac_cpp='$CXXCPP $CPPFLAGS'
70443 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70444 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70445 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70446
70447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70448 /* end confdefs.h. */
70449 #include <math.h>
70450 int
70451 main ()
70452 {
70453 _atan2l(0, 0);
70454 ;
70455 return 0;
70456 }
70457 _ACEOF
70458 if ac_fn_cxx_try_compile "$LINENO"; then :
70459 glibcxx_cv_func__atan2l_use=yes
70460 else
70461 glibcxx_cv_func__atan2l_use=no
70462 fi
70463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70464 ac_ext=c
70465 ac_cpp='$CPP $CPPFLAGS'
70466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70469
70470
70471 fi
70472
70473 fi
70474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__atan2l_use" >&5
70475 $as_echo "$glibcxx_cv_func__atan2l_use" >&6; }
70476
70477 if test x$glibcxx_cv_func__atan2l_use = x"yes"; then
70478 for ac_func in _atan2l
70479 do :
70480 ac_fn_c_check_func "$LINENO" "_atan2l" "ac_cv_func__atan2l"
70481 if test "x$ac_cv_func__atan2l" = xyes; then :
70482 cat >>confdefs.h <<_ACEOF
70483 #define HAVE__ATAN2L 1
70484 _ACEOF
70485
70486 fi
70487 done
70488
70489 fi
70490 fi
70491
70492
70493
70494
70495
70496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
70497 $as_echo_n "checking for expl declaration... " >&6; }
70498 if test x${glibcxx_cv_func_expl_use+set} != xset; then
70499 if ${glibcxx_cv_func_expl_use+:} false; then :
70500 $as_echo_n "(cached) " >&6
70501 else
70502
70503
70504 ac_ext=cpp
70505 ac_cpp='$CXXCPP $CPPFLAGS'
70506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70509
70510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70511 /* end confdefs.h. */
70512 #include <math.h>
70513 #ifdef HAVE_IEEEFP_H
70514 #include <ieeefp.h>
70515 #endif
70516
70517 int
70518 main ()
70519 {
70520 expl(0);
70521 ;
70522 return 0;
70523 }
70524 _ACEOF
70525 if ac_fn_cxx_try_compile "$LINENO"; then :
70526 glibcxx_cv_func_expl_use=yes
70527 else
70528 glibcxx_cv_func_expl_use=no
70529 fi
70530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70531 ac_ext=c
70532 ac_cpp='$CPP $CPPFLAGS'
70533 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70534 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70535 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70536
70537
70538 fi
70539
70540 fi
70541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
70542 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
70543
70544 if test x$glibcxx_cv_func_expl_use = x"yes"; then
70545 for ac_func in expl
70546 do :
70547 ac_fn_c_check_func "$LINENO" "expl" "ac_cv_func_expl"
70548 if test "x$ac_cv_func_expl" = xyes; then :
70549 cat >>confdefs.h <<_ACEOF
70550 #define HAVE_EXPL 1
70551 _ACEOF
70552
70553 fi
70554 done
70555
70556 else
70557
70558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _expl declaration" >&5
70559 $as_echo_n "checking for _expl declaration... " >&6; }
70560 if test x${glibcxx_cv_func__expl_use+set} != xset; then
70561 if ${glibcxx_cv_func__expl_use+:} false; then :
70562 $as_echo_n "(cached) " >&6
70563 else
70564
70565
70566 ac_ext=cpp
70567 ac_cpp='$CXXCPP $CPPFLAGS'
70568 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70569 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70570 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70571
70572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70573 /* end confdefs.h. */
70574 #include <math.h>
70575 #ifdef HAVE_IEEEFP_H
70576 #include <ieeefp.h>
70577 #endif
70578
70579 int
70580 main ()
70581 {
70582 _expl(0);
70583 ;
70584 return 0;
70585 }
70586 _ACEOF
70587 if ac_fn_cxx_try_compile "$LINENO"; then :
70588 glibcxx_cv_func__expl_use=yes
70589 else
70590 glibcxx_cv_func__expl_use=no
70591 fi
70592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70593 ac_ext=c
70594 ac_cpp='$CPP $CPPFLAGS'
70595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70598
70599
70600 fi
70601
70602 fi
70603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__expl_use" >&5
70604 $as_echo "$glibcxx_cv_func__expl_use" >&6; }
70605
70606 if test x$glibcxx_cv_func__expl_use = x"yes"; then
70607 for ac_func in _expl
70608 do :
70609 ac_fn_c_check_func "$LINENO" "_expl" "ac_cv_func__expl"
70610 if test "x$ac_cv_func__expl" = xyes; then :
70611 cat >>confdefs.h <<_ACEOF
70612 #define HAVE__EXPL 1
70613 _ACEOF
70614
70615 fi
70616 done
70617
70618 fi
70619 fi
70620
70621
70622
70623
70624
70625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
70626 $as_echo_n "checking for fabsl declaration... " >&6; }
70627 if test x${glibcxx_cv_func_fabsl_use+set} != xset; then
70628 if ${glibcxx_cv_func_fabsl_use+:} false; then :
70629 $as_echo_n "(cached) " >&6
70630 else
70631
70632
70633 ac_ext=cpp
70634 ac_cpp='$CXXCPP $CPPFLAGS'
70635 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70636 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70637 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70638
70639 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70640 /* end confdefs.h. */
70641 #include <math.h>
70642 #ifdef HAVE_IEEEFP_H
70643 #include <ieeefp.h>
70644 #endif
70645
70646 int
70647 main ()
70648 {
70649 fabsl(0);
70650 ;
70651 return 0;
70652 }
70653 _ACEOF
70654 if ac_fn_cxx_try_compile "$LINENO"; then :
70655 glibcxx_cv_func_fabsl_use=yes
70656 else
70657 glibcxx_cv_func_fabsl_use=no
70658 fi
70659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70660 ac_ext=c
70661 ac_cpp='$CPP $CPPFLAGS'
70662 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70663 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70664 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70665
70666
70667 fi
70668
70669 fi
70670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
70671 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
70672
70673 if test x$glibcxx_cv_func_fabsl_use = x"yes"; then
70674 for ac_func in fabsl
70675 do :
70676 ac_fn_c_check_func "$LINENO" "fabsl" "ac_cv_func_fabsl"
70677 if test "x$ac_cv_func_fabsl" = xyes; then :
70678 cat >>confdefs.h <<_ACEOF
70679 #define HAVE_FABSL 1
70680 _ACEOF
70681
70682 fi
70683 done
70684
70685 else
70686
70687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fabsl declaration" >&5
70688 $as_echo_n "checking for _fabsl declaration... " >&6; }
70689 if test x${glibcxx_cv_func__fabsl_use+set} != xset; then
70690 if ${glibcxx_cv_func__fabsl_use+:} false; then :
70691 $as_echo_n "(cached) " >&6
70692 else
70693
70694
70695 ac_ext=cpp
70696 ac_cpp='$CXXCPP $CPPFLAGS'
70697 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70698 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70699 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70700
70701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70702 /* end confdefs.h. */
70703 #include <math.h>
70704 #ifdef HAVE_IEEEFP_H
70705 #include <ieeefp.h>
70706 #endif
70707
70708 int
70709 main ()
70710 {
70711 _fabsl(0);
70712 ;
70713 return 0;
70714 }
70715 _ACEOF
70716 if ac_fn_cxx_try_compile "$LINENO"; then :
70717 glibcxx_cv_func__fabsl_use=yes
70718 else
70719 glibcxx_cv_func__fabsl_use=no
70720 fi
70721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70722 ac_ext=c
70723 ac_cpp='$CPP $CPPFLAGS'
70724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70727
70728
70729 fi
70730
70731 fi
70732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fabsl_use" >&5
70733 $as_echo "$glibcxx_cv_func__fabsl_use" >&6; }
70734
70735 if test x$glibcxx_cv_func__fabsl_use = x"yes"; then
70736 for ac_func in _fabsl
70737 do :
70738 ac_fn_c_check_func "$LINENO" "_fabsl" "ac_cv_func__fabsl"
70739 if test "x$ac_cv_func__fabsl" = xyes; then :
70740 cat >>confdefs.h <<_ACEOF
70741 #define HAVE__FABSL 1
70742 _ACEOF
70743
70744 fi
70745 done
70746
70747 fi
70748 fi
70749
70750
70751
70752
70753
70754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
70755 $as_echo_n "checking for fmodl declaration... " >&6; }
70756 if test x${glibcxx_cv_func_fmodl_use+set} != xset; then
70757 if ${glibcxx_cv_func_fmodl_use+:} false; then :
70758 $as_echo_n "(cached) " >&6
70759 else
70760
70761
70762 ac_ext=cpp
70763 ac_cpp='$CXXCPP $CPPFLAGS'
70764 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70765 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70766 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70767
70768 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70769 /* end confdefs.h. */
70770 #include <math.h>
70771 int
70772 main ()
70773 {
70774 fmodl(0, 0);
70775 ;
70776 return 0;
70777 }
70778 _ACEOF
70779 if ac_fn_cxx_try_compile "$LINENO"; then :
70780 glibcxx_cv_func_fmodl_use=yes
70781 else
70782 glibcxx_cv_func_fmodl_use=no
70783 fi
70784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70785 ac_ext=c
70786 ac_cpp='$CPP $CPPFLAGS'
70787 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70788 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70789 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70790
70791
70792 fi
70793
70794 fi
70795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
70796 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
70797
70798 if test x$glibcxx_cv_func_fmodl_use = x"yes"; then
70799 for ac_func in fmodl
70800 do :
70801 ac_fn_c_check_func "$LINENO" "fmodl" "ac_cv_func_fmodl"
70802 if test "x$ac_cv_func_fmodl" = xyes; then :
70803 cat >>confdefs.h <<_ACEOF
70804 #define HAVE_FMODL 1
70805 _ACEOF
70806
70807 fi
70808 done
70809
70810 else
70811
70812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _fmodl declaration" >&5
70813 $as_echo_n "checking for _fmodl declaration... " >&6; }
70814 if test x${glibcxx_cv_func__fmodl_use+set} != xset; then
70815 if ${glibcxx_cv_func__fmodl_use+:} false; then :
70816 $as_echo_n "(cached) " >&6
70817 else
70818
70819
70820 ac_ext=cpp
70821 ac_cpp='$CXXCPP $CPPFLAGS'
70822 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70823 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70824 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70825
70826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70827 /* end confdefs.h. */
70828 #include <math.h>
70829 int
70830 main ()
70831 {
70832 _fmodl(0, 0);
70833 ;
70834 return 0;
70835 }
70836 _ACEOF
70837 if ac_fn_cxx_try_compile "$LINENO"; then :
70838 glibcxx_cv_func__fmodl_use=yes
70839 else
70840 glibcxx_cv_func__fmodl_use=no
70841 fi
70842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70843 ac_ext=c
70844 ac_cpp='$CPP $CPPFLAGS'
70845 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70846 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70847 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70848
70849
70850 fi
70851
70852 fi
70853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__fmodl_use" >&5
70854 $as_echo "$glibcxx_cv_func__fmodl_use" >&6; }
70855
70856 if test x$glibcxx_cv_func__fmodl_use = x"yes"; then
70857 for ac_func in _fmodl
70858 do :
70859 ac_fn_c_check_func "$LINENO" "_fmodl" "ac_cv_func__fmodl"
70860 if test "x$ac_cv_func__fmodl" = xyes; then :
70861 cat >>confdefs.h <<_ACEOF
70862 #define HAVE__FMODL 1
70863 _ACEOF
70864
70865 fi
70866 done
70867
70868 fi
70869 fi
70870
70871
70872
70873
70874
70875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
70876 $as_echo_n "checking for frexpl declaration... " >&6; }
70877 if test x${glibcxx_cv_func_frexpl_use+set} != xset; then
70878 if ${glibcxx_cv_func_frexpl_use+:} false; then :
70879 $as_echo_n "(cached) " >&6
70880 else
70881
70882
70883 ac_ext=cpp
70884 ac_cpp='$CXXCPP $CPPFLAGS'
70885 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70886 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70887 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70888
70889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70890 /* end confdefs.h. */
70891 #include <math.h>
70892 int
70893 main ()
70894 {
70895 frexpl(0, 0);
70896 ;
70897 return 0;
70898 }
70899 _ACEOF
70900 if ac_fn_cxx_try_compile "$LINENO"; then :
70901 glibcxx_cv_func_frexpl_use=yes
70902 else
70903 glibcxx_cv_func_frexpl_use=no
70904 fi
70905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70906 ac_ext=c
70907 ac_cpp='$CPP $CPPFLAGS'
70908 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70909 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70910 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70911
70912
70913 fi
70914
70915 fi
70916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
70917 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
70918
70919 if test x$glibcxx_cv_func_frexpl_use = x"yes"; then
70920 for ac_func in frexpl
70921 do :
70922 ac_fn_c_check_func "$LINENO" "frexpl" "ac_cv_func_frexpl"
70923 if test "x$ac_cv_func_frexpl" = xyes; then :
70924 cat >>confdefs.h <<_ACEOF
70925 #define HAVE_FREXPL 1
70926 _ACEOF
70927
70928 fi
70929 done
70930
70931 else
70932
70933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _frexpl declaration" >&5
70934 $as_echo_n "checking for _frexpl declaration... " >&6; }
70935 if test x${glibcxx_cv_func__frexpl_use+set} != xset; then
70936 if ${glibcxx_cv_func__frexpl_use+:} false; then :
70937 $as_echo_n "(cached) " >&6
70938 else
70939
70940
70941 ac_ext=cpp
70942 ac_cpp='$CXXCPP $CPPFLAGS'
70943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
70946
70947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
70948 /* end confdefs.h. */
70949 #include <math.h>
70950 int
70951 main ()
70952 {
70953 _frexpl(0, 0);
70954 ;
70955 return 0;
70956 }
70957 _ACEOF
70958 if ac_fn_cxx_try_compile "$LINENO"; then :
70959 glibcxx_cv_func__frexpl_use=yes
70960 else
70961 glibcxx_cv_func__frexpl_use=no
70962 fi
70963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
70964 ac_ext=c
70965 ac_cpp='$CPP $CPPFLAGS'
70966 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
70967 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
70968 ac_compiler_gnu=$ac_cv_c_compiler_gnu
70969
70970
70971 fi
70972
70973 fi
70974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__frexpl_use" >&5
70975 $as_echo "$glibcxx_cv_func__frexpl_use" >&6; }
70976
70977 if test x$glibcxx_cv_func__frexpl_use = x"yes"; then
70978 for ac_func in _frexpl
70979 do :
70980 ac_fn_c_check_func "$LINENO" "_frexpl" "ac_cv_func__frexpl"
70981 if test "x$ac_cv_func__frexpl" = xyes; then :
70982 cat >>confdefs.h <<_ACEOF
70983 #define HAVE__FREXPL 1
70984 _ACEOF
70985
70986 fi
70987 done
70988
70989 fi
70990 fi
70991
70992
70993
70994
70995
70996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
70997 $as_echo_n "checking for hypotl declaration... " >&6; }
70998 if test x${glibcxx_cv_func_hypotl_use+set} != xset; then
70999 if ${glibcxx_cv_func_hypotl_use+:} false; then :
71000 $as_echo_n "(cached) " >&6
71001 else
71002
71003
71004 ac_ext=cpp
71005 ac_cpp='$CXXCPP $CPPFLAGS'
71006 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71007 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71008 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71009
71010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71011 /* end confdefs.h. */
71012 #include <math.h>
71013 int
71014 main ()
71015 {
71016 hypotl(0, 0);
71017 ;
71018 return 0;
71019 }
71020 _ACEOF
71021 if ac_fn_cxx_try_compile "$LINENO"; then :
71022 glibcxx_cv_func_hypotl_use=yes
71023 else
71024 glibcxx_cv_func_hypotl_use=no
71025 fi
71026 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71027 ac_ext=c
71028 ac_cpp='$CPP $CPPFLAGS'
71029 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71030 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71031 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71032
71033
71034 fi
71035
71036 fi
71037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
71038 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
71039
71040 if test x$glibcxx_cv_func_hypotl_use = x"yes"; then
71041 for ac_func in hypotl
71042 do :
71043 ac_fn_c_check_func "$LINENO" "hypotl" "ac_cv_func_hypotl"
71044 if test "x$ac_cv_func_hypotl" = xyes; then :
71045 cat >>confdefs.h <<_ACEOF
71046 #define HAVE_HYPOTL 1
71047 _ACEOF
71048
71049 fi
71050 done
71051
71052 else
71053
71054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _hypotl declaration" >&5
71055 $as_echo_n "checking for _hypotl declaration... " >&6; }
71056 if test x${glibcxx_cv_func__hypotl_use+set} != xset; then
71057 if ${glibcxx_cv_func__hypotl_use+:} false; then :
71058 $as_echo_n "(cached) " >&6
71059 else
71060
71061
71062 ac_ext=cpp
71063 ac_cpp='$CXXCPP $CPPFLAGS'
71064 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71065 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71066 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71067
71068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71069 /* end confdefs.h. */
71070 #include <math.h>
71071 int
71072 main ()
71073 {
71074 _hypotl(0, 0);
71075 ;
71076 return 0;
71077 }
71078 _ACEOF
71079 if ac_fn_cxx_try_compile "$LINENO"; then :
71080 glibcxx_cv_func__hypotl_use=yes
71081 else
71082 glibcxx_cv_func__hypotl_use=no
71083 fi
71084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71085 ac_ext=c
71086 ac_cpp='$CPP $CPPFLAGS'
71087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71090
71091
71092 fi
71093
71094 fi
71095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__hypotl_use" >&5
71096 $as_echo "$glibcxx_cv_func__hypotl_use" >&6; }
71097
71098 if test x$glibcxx_cv_func__hypotl_use = x"yes"; then
71099 for ac_func in _hypotl
71100 do :
71101 ac_fn_c_check_func "$LINENO" "_hypotl" "ac_cv_func__hypotl"
71102 if test "x$ac_cv_func__hypotl" = xyes; then :
71103 cat >>confdefs.h <<_ACEOF
71104 #define HAVE__HYPOTL 1
71105 _ACEOF
71106
71107 fi
71108 done
71109
71110 fi
71111 fi
71112
71113
71114
71115
71116
71117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
71118 $as_echo_n "checking for ldexpl declaration... " >&6; }
71119 if test x${glibcxx_cv_func_ldexpl_use+set} != xset; then
71120 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
71121 $as_echo_n "(cached) " >&6
71122 else
71123
71124
71125 ac_ext=cpp
71126 ac_cpp='$CXXCPP $CPPFLAGS'
71127 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71128 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71129 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71130
71131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71132 /* end confdefs.h. */
71133 #include <math.h>
71134 int
71135 main ()
71136 {
71137 ldexpl(0, 0);
71138 ;
71139 return 0;
71140 }
71141 _ACEOF
71142 if ac_fn_cxx_try_compile "$LINENO"; then :
71143 glibcxx_cv_func_ldexpl_use=yes
71144 else
71145 glibcxx_cv_func_ldexpl_use=no
71146 fi
71147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71148 ac_ext=c
71149 ac_cpp='$CPP $CPPFLAGS'
71150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71153
71154
71155 fi
71156
71157 fi
71158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
71159 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
71160
71161 if test x$glibcxx_cv_func_ldexpl_use = x"yes"; then
71162 for ac_func in ldexpl
71163 do :
71164 ac_fn_c_check_func "$LINENO" "ldexpl" "ac_cv_func_ldexpl"
71165 if test "x$ac_cv_func_ldexpl" = xyes; then :
71166 cat >>confdefs.h <<_ACEOF
71167 #define HAVE_LDEXPL 1
71168 _ACEOF
71169
71170 fi
71171 done
71172
71173 else
71174
71175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _ldexpl declaration" >&5
71176 $as_echo_n "checking for _ldexpl declaration... " >&6; }
71177 if test x${glibcxx_cv_func__ldexpl_use+set} != xset; then
71178 if ${glibcxx_cv_func__ldexpl_use+:} false; then :
71179 $as_echo_n "(cached) " >&6
71180 else
71181
71182
71183 ac_ext=cpp
71184 ac_cpp='$CXXCPP $CPPFLAGS'
71185 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71186 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71187 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71188
71189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71190 /* end confdefs.h. */
71191 #include <math.h>
71192 int
71193 main ()
71194 {
71195 _ldexpl(0, 0);
71196 ;
71197 return 0;
71198 }
71199 _ACEOF
71200 if ac_fn_cxx_try_compile "$LINENO"; then :
71201 glibcxx_cv_func__ldexpl_use=yes
71202 else
71203 glibcxx_cv_func__ldexpl_use=no
71204 fi
71205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71206 ac_ext=c
71207 ac_cpp='$CPP $CPPFLAGS'
71208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71211
71212
71213 fi
71214
71215 fi
71216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__ldexpl_use" >&5
71217 $as_echo "$glibcxx_cv_func__ldexpl_use" >&6; }
71218
71219 if test x$glibcxx_cv_func__ldexpl_use = x"yes"; then
71220 for ac_func in _ldexpl
71221 do :
71222 ac_fn_c_check_func "$LINENO" "_ldexpl" "ac_cv_func__ldexpl"
71223 if test "x$ac_cv_func__ldexpl" = xyes; then :
71224 cat >>confdefs.h <<_ACEOF
71225 #define HAVE__LDEXPL 1
71226 _ACEOF
71227
71228 fi
71229 done
71230
71231 fi
71232 fi
71233
71234
71235
71236
71237
71238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
71239 $as_echo_n "checking for logl declaration... " >&6; }
71240 if test x${glibcxx_cv_func_logl_use+set} != xset; then
71241 if ${glibcxx_cv_func_logl_use+:} false; then :
71242 $as_echo_n "(cached) " >&6
71243 else
71244
71245
71246 ac_ext=cpp
71247 ac_cpp='$CXXCPP $CPPFLAGS'
71248 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71249 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71250 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71251
71252 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71253 /* end confdefs.h. */
71254 #include <math.h>
71255 #ifdef HAVE_IEEEFP_H
71256 #include <ieeefp.h>
71257 #endif
71258
71259 int
71260 main ()
71261 {
71262 logl(0);
71263 ;
71264 return 0;
71265 }
71266 _ACEOF
71267 if ac_fn_cxx_try_compile "$LINENO"; then :
71268 glibcxx_cv_func_logl_use=yes
71269 else
71270 glibcxx_cv_func_logl_use=no
71271 fi
71272 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71273 ac_ext=c
71274 ac_cpp='$CPP $CPPFLAGS'
71275 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71276 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71277 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71278
71279
71280 fi
71281
71282 fi
71283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
71284 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
71285
71286 if test x$glibcxx_cv_func_logl_use = x"yes"; then
71287 for ac_func in logl
71288 do :
71289 ac_fn_c_check_func "$LINENO" "logl" "ac_cv_func_logl"
71290 if test "x$ac_cv_func_logl" = xyes; then :
71291 cat >>confdefs.h <<_ACEOF
71292 #define HAVE_LOGL 1
71293 _ACEOF
71294
71295 fi
71296 done
71297
71298 else
71299
71300 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _logl declaration" >&5
71301 $as_echo_n "checking for _logl declaration... " >&6; }
71302 if test x${glibcxx_cv_func__logl_use+set} != xset; then
71303 if ${glibcxx_cv_func__logl_use+:} false; then :
71304 $as_echo_n "(cached) " >&6
71305 else
71306
71307
71308 ac_ext=cpp
71309 ac_cpp='$CXXCPP $CPPFLAGS'
71310 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71311 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71312 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71313
71314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71315 /* end confdefs.h. */
71316 #include <math.h>
71317 #ifdef HAVE_IEEEFP_H
71318 #include <ieeefp.h>
71319 #endif
71320
71321 int
71322 main ()
71323 {
71324 _logl(0);
71325 ;
71326 return 0;
71327 }
71328 _ACEOF
71329 if ac_fn_cxx_try_compile "$LINENO"; then :
71330 glibcxx_cv_func__logl_use=yes
71331 else
71332 glibcxx_cv_func__logl_use=no
71333 fi
71334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71335 ac_ext=c
71336 ac_cpp='$CPP $CPPFLAGS'
71337 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71338 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71339 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71340
71341
71342 fi
71343
71344 fi
71345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__logl_use" >&5
71346 $as_echo "$glibcxx_cv_func__logl_use" >&6; }
71347
71348 if test x$glibcxx_cv_func__logl_use = x"yes"; then
71349 for ac_func in _logl
71350 do :
71351 ac_fn_c_check_func "$LINENO" "_logl" "ac_cv_func__logl"
71352 if test "x$ac_cv_func__logl" = xyes; then :
71353 cat >>confdefs.h <<_ACEOF
71354 #define HAVE__LOGL 1
71355 _ACEOF
71356
71357 fi
71358 done
71359
71360 fi
71361 fi
71362
71363
71364
71365
71366
71367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
71368 $as_echo_n "checking for log10l declaration... " >&6; }
71369 if test x${glibcxx_cv_func_log10l_use+set} != xset; then
71370 if ${glibcxx_cv_func_log10l_use+:} false; then :
71371 $as_echo_n "(cached) " >&6
71372 else
71373
71374
71375 ac_ext=cpp
71376 ac_cpp='$CXXCPP $CPPFLAGS'
71377 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71378 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71379 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71380
71381 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71382 /* end confdefs.h. */
71383 #include <math.h>
71384 #ifdef HAVE_IEEEFP_H
71385 #include <ieeefp.h>
71386 #endif
71387
71388 int
71389 main ()
71390 {
71391 log10l(0);
71392 ;
71393 return 0;
71394 }
71395 _ACEOF
71396 if ac_fn_cxx_try_compile "$LINENO"; then :
71397 glibcxx_cv_func_log10l_use=yes
71398 else
71399 glibcxx_cv_func_log10l_use=no
71400 fi
71401 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71402 ac_ext=c
71403 ac_cpp='$CPP $CPPFLAGS'
71404 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71405 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71406 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71407
71408
71409 fi
71410
71411 fi
71412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
71413 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
71414
71415 if test x$glibcxx_cv_func_log10l_use = x"yes"; then
71416 for ac_func in log10l
71417 do :
71418 ac_fn_c_check_func "$LINENO" "log10l" "ac_cv_func_log10l"
71419 if test "x$ac_cv_func_log10l" = xyes; then :
71420 cat >>confdefs.h <<_ACEOF
71421 #define HAVE_LOG10L 1
71422 _ACEOF
71423
71424 fi
71425 done
71426
71427 else
71428
71429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _log10l declaration" >&5
71430 $as_echo_n "checking for _log10l declaration... " >&6; }
71431 if test x${glibcxx_cv_func__log10l_use+set} != xset; then
71432 if ${glibcxx_cv_func__log10l_use+:} false; then :
71433 $as_echo_n "(cached) " >&6
71434 else
71435
71436
71437 ac_ext=cpp
71438 ac_cpp='$CXXCPP $CPPFLAGS'
71439 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71440 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71441 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71442
71443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71444 /* end confdefs.h. */
71445 #include <math.h>
71446 #ifdef HAVE_IEEEFP_H
71447 #include <ieeefp.h>
71448 #endif
71449
71450 int
71451 main ()
71452 {
71453 _log10l(0);
71454 ;
71455 return 0;
71456 }
71457 _ACEOF
71458 if ac_fn_cxx_try_compile "$LINENO"; then :
71459 glibcxx_cv_func__log10l_use=yes
71460 else
71461 glibcxx_cv_func__log10l_use=no
71462 fi
71463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71464 ac_ext=c
71465 ac_cpp='$CPP $CPPFLAGS'
71466 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71467 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71468 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71469
71470
71471 fi
71472
71473 fi
71474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__log10l_use" >&5
71475 $as_echo "$glibcxx_cv_func__log10l_use" >&6; }
71476
71477 if test x$glibcxx_cv_func__log10l_use = x"yes"; then
71478 for ac_func in _log10l
71479 do :
71480 ac_fn_c_check_func "$LINENO" "_log10l" "ac_cv_func__log10l"
71481 if test "x$ac_cv_func__log10l" = xyes; then :
71482 cat >>confdefs.h <<_ACEOF
71483 #define HAVE__LOG10L 1
71484 _ACEOF
71485
71486 fi
71487 done
71488
71489 fi
71490 fi
71491
71492
71493
71494
71495
71496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
71497 $as_echo_n "checking for modfl declaration... " >&6; }
71498 if test x${glibcxx_cv_func_modfl_use+set} != xset; then
71499 if ${glibcxx_cv_func_modfl_use+:} false; then :
71500 $as_echo_n "(cached) " >&6
71501 else
71502
71503
71504 ac_ext=cpp
71505 ac_cpp='$CXXCPP $CPPFLAGS'
71506 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71507 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71508 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71509
71510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71511 /* end confdefs.h. */
71512 #include <math.h>
71513 int
71514 main ()
71515 {
71516 modfl(0, 0);
71517 ;
71518 return 0;
71519 }
71520 _ACEOF
71521 if ac_fn_cxx_try_compile "$LINENO"; then :
71522 glibcxx_cv_func_modfl_use=yes
71523 else
71524 glibcxx_cv_func_modfl_use=no
71525 fi
71526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71527 ac_ext=c
71528 ac_cpp='$CPP $CPPFLAGS'
71529 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71530 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71531 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71532
71533
71534 fi
71535
71536 fi
71537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
71538 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
71539
71540 if test x$glibcxx_cv_func_modfl_use = x"yes"; then
71541 for ac_func in modfl
71542 do :
71543 ac_fn_c_check_func "$LINENO" "modfl" "ac_cv_func_modfl"
71544 if test "x$ac_cv_func_modfl" = xyes; then :
71545 cat >>confdefs.h <<_ACEOF
71546 #define HAVE_MODFL 1
71547 _ACEOF
71548
71549 fi
71550 done
71551
71552 else
71553
71554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _modfl declaration" >&5
71555 $as_echo_n "checking for _modfl declaration... " >&6; }
71556 if test x${glibcxx_cv_func__modfl_use+set} != xset; then
71557 if ${glibcxx_cv_func__modfl_use+:} false; then :
71558 $as_echo_n "(cached) " >&6
71559 else
71560
71561
71562 ac_ext=cpp
71563 ac_cpp='$CXXCPP $CPPFLAGS'
71564 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71565 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71566 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71567
71568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71569 /* end confdefs.h. */
71570 #include <math.h>
71571 int
71572 main ()
71573 {
71574 _modfl(0, 0);
71575 ;
71576 return 0;
71577 }
71578 _ACEOF
71579 if ac_fn_cxx_try_compile "$LINENO"; then :
71580 glibcxx_cv_func__modfl_use=yes
71581 else
71582 glibcxx_cv_func__modfl_use=no
71583 fi
71584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71585 ac_ext=c
71586 ac_cpp='$CPP $CPPFLAGS'
71587 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71588 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71589 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71590
71591
71592 fi
71593
71594 fi
71595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__modfl_use" >&5
71596 $as_echo "$glibcxx_cv_func__modfl_use" >&6; }
71597
71598 if test x$glibcxx_cv_func__modfl_use = x"yes"; then
71599 for ac_func in _modfl
71600 do :
71601 ac_fn_c_check_func "$LINENO" "_modfl" "ac_cv_func__modfl"
71602 if test "x$ac_cv_func__modfl" = xyes; then :
71603 cat >>confdefs.h <<_ACEOF
71604 #define HAVE__MODFL 1
71605 _ACEOF
71606
71607 fi
71608 done
71609
71610 fi
71611 fi
71612
71613
71614
71615
71616
71617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
71618 $as_echo_n "checking for powl declaration... " >&6; }
71619 if test x${glibcxx_cv_func_powl_use+set} != xset; then
71620 if ${glibcxx_cv_func_powl_use+:} false; then :
71621 $as_echo_n "(cached) " >&6
71622 else
71623
71624
71625 ac_ext=cpp
71626 ac_cpp='$CXXCPP $CPPFLAGS'
71627 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71628 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71629 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71630
71631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71632 /* end confdefs.h. */
71633 #include <math.h>
71634 int
71635 main ()
71636 {
71637 powl(0, 0);
71638 ;
71639 return 0;
71640 }
71641 _ACEOF
71642 if ac_fn_cxx_try_compile "$LINENO"; then :
71643 glibcxx_cv_func_powl_use=yes
71644 else
71645 glibcxx_cv_func_powl_use=no
71646 fi
71647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71648 ac_ext=c
71649 ac_cpp='$CPP $CPPFLAGS'
71650 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71651 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71652 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71653
71654
71655 fi
71656
71657 fi
71658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
71659 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
71660
71661 if test x$glibcxx_cv_func_powl_use = x"yes"; then
71662 for ac_func in powl
71663 do :
71664 ac_fn_c_check_func "$LINENO" "powl" "ac_cv_func_powl"
71665 if test "x$ac_cv_func_powl" = xyes; then :
71666 cat >>confdefs.h <<_ACEOF
71667 #define HAVE_POWL 1
71668 _ACEOF
71669
71670 fi
71671 done
71672
71673 else
71674
71675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _powl declaration" >&5
71676 $as_echo_n "checking for _powl declaration... " >&6; }
71677 if test x${glibcxx_cv_func__powl_use+set} != xset; then
71678 if ${glibcxx_cv_func__powl_use+:} false; then :
71679 $as_echo_n "(cached) " >&6
71680 else
71681
71682
71683 ac_ext=cpp
71684 ac_cpp='$CXXCPP $CPPFLAGS'
71685 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71686 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71687 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71688
71689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71690 /* end confdefs.h. */
71691 #include <math.h>
71692 int
71693 main ()
71694 {
71695 _powl(0, 0);
71696 ;
71697 return 0;
71698 }
71699 _ACEOF
71700 if ac_fn_cxx_try_compile "$LINENO"; then :
71701 glibcxx_cv_func__powl_use=yes
71702 else
71703 glibcxx_cv_func__powl_use=no
71704 fi
71705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71706 ac_ext=c
71707 ac_cpp='$CPP $CPPFLAGS'
71708 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71709 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71710 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71711
71712
71713 fi
71714
71715 fi
71716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__powl_use" >&5
71717 $as_echo "$glibcxx_cv_func__powl_use" >&6; }
71718
71719 if test x$glibcxx_cv_func__powl_use = x"yes"; then
71720 for ac_func in _powl
71721 do :
71722 ac_fn_c_check_func "$LINENO" "_powl" "ac_cv_func__powl"
71723 if test "x$ac_cv_func__powl" = xyes; then :
71724 cat >>confdefs.h <<_ACEOF
71725 #define HAVE__POWL 1
71726 _ACEOF
71727
71728 fi
71729 done
71730
71731 fi
71732 fi
71733
71734
71735
71736
71737
71738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
71739 $as_echo_n "checking for sqrtl declaration... " >&6; }
71740 if test x${glibcxx_cv_func_sqrtl_use+set} != xset; then
71741 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
71742 $as_echo_n "(cached) " >&6
71743 else
71744
71745
71746 ac_ext=cpp
71747 ac_cpp='$CXXCPP $CPPFLAGS'
71748 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71749 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71750 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71751
71752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71753 /* end confdefs.h. */
71754 #include <math.h>
71755 #ifdef HAVE_IEEEFP_H
71756 #include <ieeefp.h>
71757 #endif
71758
71759 int
71760 main ()
71761 {
71762 sqrtl(0);
71763 ;
71764 return 0;
71765 }
71766 _ACEOF
71767 if ac_fn_cxx_try_compile "$LINENO"; then :
71768 glibcxx_cv_func_sqrtl_use=yes
71769 else
71770 glibcxx_cv_func_sqrtl_use=no
71771 fi
71772 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71773 ac_ext=c
71774 ac_cpp='$CPP $CPPFLAGS'
71775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71778
71779
71780 fi
71781
71782 fi
71783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
71784 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
71785
71786 if test x$glibcxx_cv_func_sqrtl_use = x"yes"; then
71787 for ac_func in sqrtl
71788 do :
71789 ac_fn_c_check_func "$LINENO" "sqrtl" "ac_cv_func_sqrtl"
71790 if test "x$ac_cv_func_sqrtl" = xyes; then :
71791 cat >>confdefs.h <<_ACEOF
71792 #define HAVE_SQRTL 1
71793 _ACEOF
71794
71795 fi
71796 done
71797
71798 else
71799
71800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sqrtl declaration" >&5
71801 $as_echo_n "checking for _sqrtl declaration... " >&6; }
71802 if test x${glibcxx_cv_func__sqrtl_use+set} != xset; then
71803 if ${glibcxx_cv_func__sqrtl_use+:} false; then :
71804 $as_echo_n "(cached) " >&6
71805 else
71806
71807
71808 ac_ext=cpp
71809 ac_cpp='$CXXCPP $CPPFLAGS'
71810 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71811 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71812 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71813
71814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71815 /* end confdefs.h. */
71816 #include <math.h>
71817 #ifdef HAVE_IEEEFP_H
71818 #include <ieeefp.h>
71819 #endif
71820
71821 int
71822 main ()
71823 {
71824 _sqrtl(0);
71825 ;
71826 return 0;
71827 }
71828 _ACEOF
71829 if ac_fn_cxx_try_compile "$LINENO"; then :
71830 glibcxx_cv_func__sqrtl_use=yes
71831 else
71832 glibcxx_cv_func__sqrtl_use=no
71833 fi
71834 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71835 ac_ext=c
71836 ac_cpp='$CPP $CPPFLAGS'
71837 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71838 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71839 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71840
71841
71842 fi
71843
71844 fi
71845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sqrtl_use" >&5
71846 $as_echo "$glibcxx_cv_func__sqrtl_use" >&6; }
71847
71848 if test x$glibcxx_cv_func__sqrtl_use = x"yes"; then
71849 for ac_func in _sqrtl
71850 do :
71851 ac_fn_c_check_func "$LINENO" "_sqrtl" "ac_cv_func__sqrtl"
71852 if test "x$ac_cv_func__sqrtl" = xyes; then :
71853 cat >>confdefs.h <<_ACEOF
71854 #define HAVE__SQRTL 1
71855 _ACEOF
71856
71857 fi
71858 done
71859
71860 fi
71861 fi
71862
71863
71864
71865
71866
71867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sincosl declaration" >&5
71868 $as_echo_n "checking for sincosl declaration... " >&6; }
71869 if test x${glibcxx_cv_func_sincosl_use+set} != xset; then
71870 if ${glibcxx_cv_func_sincosl_use+:} false; then :
71871 $as_echo_n "(cached) " >&6
71872 else
71873
71874
71875 ac_ext=cpp
71876 ac_cpp='$CXXCPP $CPPFLAGS'
71877 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71878 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71879 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71880
71881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71882 /* end confdefs.h. */
71883 #include <math.h>
71884 int
71885 main ()
71886 {
71887 sincosl(0, 0, 0);
71888 ;
71889 return 0;
71890 }
71891 _ACEOF
71892 if ac_fn_cxx_try_compile "$LINENO"; then :
71893 glibcxx_cv_func_sincosl_use=yes
71894 else
71895 glibcxx_cv_func_sincosl_use=no
71896 fi
71897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71898 ac_ext=c
71899 ac_cpp='$CPP $CPPFLAGS'
71900 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71901 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71902 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71903
71904
71905 fi
71906
71907 fi
71908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sincosl_use" >&5
71909 $as_echo "$glibcxx_cv_func_sincosl_use" >&6; }
71910
71911 if test x$glibcxx_cv_func_sincosl_use = x"yes"; then
71912 for ac_func in sincosl
71913 do :
71914 ac_fn_c_check_func "$LINENO" "sincosl" "ac_cv_func_sincosl"
71915 if test "x$ac_cv_func_sincosl" = xyes; then :
71916 cat >>confdefs.h <<_ACEOF
71917 #define HAVE_SINCOSL 1
71918 _ACEOF
71919
71920 fi
71921 done
71922
71923 else
71924
71925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _sincosl declaration" >&5
71926 $as_echo_n "checking for _sincosl declaration... " >&6; }
71927 if test x${glibcxx_cv_func__sincosl_use+set} != xset; then
71928 if ${glibcxx_cv_func__sincosl_use+:} false; then :
71929 $as_echo_n "(cached) " >&6
71930 else
71931
71932
71933 ac_ext=cpp
71934 ac_cpp='$CXXCPP $CPPFLAGS'
71935 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71936 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71937 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
71938
71939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
71940 /* end confdefs.h. */
71941 #include <math.h>
71942 int
71943 main ()
71944 {
71945 _sincosl(0, 0, 0);
71946 ;
71947 return 0;
71948 }
71949 _ACEOF
71950 if ac_fn_cxx_try_compile "$LINENO"; then :
71951 glibcxx_cv_func__sincosl_use=yes
71952 else
71953 glibcxx_cv_func__sincosl_use=no
71954 fi
71955 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
71956 ac_ext=c
71957 ac_cpp='$CPP $CPPFLAGS'
71958 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71959 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
71960 ac_compiler_gnu=$ac_cv_c_compiler_gnu
71961
71962
71963 fi
71964
71965 fi
71966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__sincosl_use" >&5
71967 $as_echo "$glibcxx_cv_func__sincosl_use" >&6; }
71968
71969 if test x$glibcxx_cv_func__sincosl_use = x"yes"; then
71970 for ac_func in _sincosl
71971 do :
71972 ac_fn_c_check_func "$LINENO" "_sincosl" "ac_cv_func__sincosl"
71973 if test "x$ac_cv_func__sincosl" = xyes; then :
71974 cat >>confdefs.h <<_ACEOF
71975 #define HAVE__SINCOSL 1
71976 _ACEOF
71977
71978 fi
71979 done
71980
71981 fi
71982 fi
71983
71984
71985
71986
71987
71988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for finitel declaration" >&5
71989 $as_echo_n "checking for finitel declaration... " >&6; }
71990 if test x${glibcxx_cv_func_finitel_use+set} != xset; then
71991 if ${glibcxx_cv_func_finitel_use+:} false; then :
71992 $as_echo_n "(cached) " >&6
71993 else
71994
71995
71996 ac_ext=cpp
71997 ac_cpp='$CXXCPP $CPPFLAGS'
71998 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
71999 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72000 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72001
72002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72003 /* end confdefs.h. */
72004 #include <math.h>
72005 #ifdef HAVE_IEEEFP_H
72006 #include <ieeefp.h>
72007 #endif
72008
72009 int
72010 main ()
72011 {
72012 finitel(0);
72013 ;
72014 return 0;
72015 }
72016 _ACEOF
72017 if ac_fn_cxx_try_compile "$LINENO"; then :
72018 glibcxx_cv_func_finitel_use=yes
72019 else
72020 glibcxx_cv_func_finitel_use=no
72021 fi
72022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72023 ac_ext=c
72024 ac_cpp='$CPP $CPPFLAGS'
72025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72028
72029
72030 fi
72031
72032 fi
72033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_finitel_use" >&5
72034 $as_echo "$glibcxx_cv_func_finitel_use" >&6; }
72035
72036 if test x$glibcxx_cv_func_finitel_use = x"yes"; then
72037 for ac_func in finitel
72038 do :
72039 ac_fn_c_check_func "$LINENO" "finitel" "ac_cv_func_finitel"
72040 if test "x$ac_cv_func_finitel" = xyes; then :
72041 cat >>confdefs.h <<_ACEOF
72042 #define HAVE_FINITEL 1
72043 _ACEOF
72044
72045 fi
72046 done
72047
72048 else
72049
72050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _finitel declaration" >&5
72051 $as_echo_n "checking for _finitel declaration... " >&6; }
72052 if test x${glibcxx_cv_func__finitel_use+set} != xset; then
72053 if ${glibcxx_cv_func__finitel_use+:} false; then :
72054 $as_echo_n "(cached) " >&6
72055 else
72056
72057
72058 ac_ext=cpp
72059 ac_cpp='$CXXCPP $CPPFLAGS'
72060 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72061 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72062 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72063
72064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72065 /* end confdefs.h. */
72066 #include <math.h>
72067 #ifdef HAVE_IEEEFP_H
72068 #include <ieeefp.h>
72069 #endif
72070
72071 int
72072 main ()
72073 {
72074 _finitel(0);
72075 ;
72076 return 0;
72077 }
72078 _ACEOF
72079 if ac_fn_cxx_try_compile "$LINENO"; then :
72080 glibcxx_cv_func__finitel_use=yes
72081 else
72082 glibcxx_cv_func__finitel_use=no
72083 fi
72084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72085 ac_ext=c
72086 ac_cpp='$CPP $CPPFLAGS'
72087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72090
72091
72092 fi
72093
72094 fi
72095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func__finitel_use" >&5
72096 $as_echo "$glibcxx_cv_func__finitel_use" >&6; }
72097
72098 if test x$glibcxx_cv_func__finitel_use = x"yes"; then
72099 for ac_func in _finitel
72100 do :
72101 ac_fn_c_check_func "$LINENO" "_finitel" "ac_cv_func__finitel"
72102 if test "x$ac_cv_func__finitel" = xyes; then :
72103 cat >>confdefs.h <<_ACEOF
72104 #define HAVE__FINITEL 1
72105 _ACEOF
72106
72107 fi
72108 done
72109
72110 fi
72111 fi
72112
72113
72114
72115
72116 LIBS="$ac_save_LIBS"
72117 CXXFLAGS="$ac_save_CXXFLAGS"
72118
72119
72120 ac_test_CXXFLAGS="${CXXFLAGS+set}"
72121 ac_save_CXXFLAGS="$CXXFLAGS"
72122 CXXFLAGS='-fno-builtin -D_GNU_SOURCE'
72123
72124
72125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for at_quick_exit declaration" >&5
72126 $as_echo_n "checking for at_quick_exit declaration... " >&6; }
72127 if test x${glibcxx_cv_func_at_quick_exit_use+set} != xset; then
72128 if ${glibcxx_cv_func_at_quick_exit_use+:} false; then :
72129 $as_echo_n "(cached) " >&6
72130 else
72131
72132
72133 ac_ext=cpp
72134 ac_cpp='$CXXCPP $CPPFLAGS'
72135 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72136 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72137 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72138
72139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72140 /* end confdefs.h. */
72141 #include <stdlib.h>
72142 int
72143 main ()
72144 {
72145 at_quick_exit(0);
72146 ;
72147 return 0;
72148 }
72149 _ACEOF
72150 if ac_fn_cxx_try_compile "$LINENO"; then :
72151 glibcxx_cv_func_at_quick_exit_use=yes
72152 else
72153 glibcxx_cv_func_at_quick_exit_use=no
72154 fi
72155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72156 ac_ext=c
72157 ac_cpp='$CPP $CPPFLAGS'
72158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72161
72162
72163 fi
72164
72165 fi
72166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_at_quick_exit_use" >&5
72167 $as_echo "$glibcxx_cv_func_at_quick_exit_use" >&6; }
72168 if test x$glibcxx_cv_func_at_quick_exit_use = x"yes"; then
72169 for ac_func in at_quick_exit
72170 do :
72171 ac_fn_c_check_func "$LINENO" "at_quick_exit" "ac_cv_func_at_quick_exit"
72172 if test "x$ac_cv_func_at_quick_exit" = xyes; then :
72173 cat >>confdefs.h <<_ACEOF
72174 #define HAVE_AT_QUICK_EXIT 1
72175 _ACEOF
72176
72177 fi
72178 done
72179
72180 fi
72181
72182
72183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for quick_exit declaration" >&5
72184 $as_echo_n "checking for quick_exit declaration... " >&6; }
72185 if test x${glibcxx_cv_func_quick_exit_use+set} != xset; then
72186 if ${glibcxx_cv_func_quick_exit_use+:} false; then :
72187 $as_echo_n "(cached) " >&6
72188 else
72189
72190
72191 ac_ext=cpp
72192 ac_cpp='$CXXCPP $CPPFLAGS'
72193 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72194 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72195 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72196
72197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72198 /* end confdefs.h. */
72199 #include <stdlib.h>
72200 int
72201 main ()
72202 {
72203 quick_exit(0);
72204 ;
72205 return 0;
72206 }
72207 _ACEOF
72208 if ac_fn_cxx_try_compile "$LINENO"; then :
72209 glibcxx_cv_func_quick_exit_use=yes
72210 else
72211 glibcxx_cv_func_quick_exit_use=no
72212 fi
72213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72214 ac_ext=c
72215 ac_cpp='$CPP $CPPFLAGS'
72216 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72217 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72218 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72219
72220
72221 fi
72222
72223 fi
72224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_quick_exit_use" >&5
72225 $as_echo "$glibcxx_cv_func_quick_exit_use" >&6; }
72226 if test x$glibcxx_cv_func_quick_exit_use = x"yes"; then
72227 for ac_func in quick_exit
72228 do :
72229 ac_fn_c_check_func "$LINENO" "quick_exit" "ac_cv_func_quick_exit"
72230 if test "x$ac_cv_func_quick_exit" = xyes; then :
72231 cat >>confdefs.h <<_ACEOF
72232 #define HAVE_QUICK_EXIT 1
72233 _ACEOF
72234
72235 fi
72236 done
72237
72238 fi
72239
72240
72241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtold declaration" >&5
72242 $as_echo_n "checking for strtold declaration... " >&6; }
72243 if test x${glibcxx_cv_func_strtold_use+set} != xset; then
72244 if ${glibcxx_cv_func_strtold_use+:} false; then :
72245 $as_echo_n "(cached) " >&6
72246 else
72247
72248
72249 ac_ext=cpp
72250 ac_cpp='$CXXCPP $CPPFLAGS'
72251 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72252 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72253 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72254
72255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72256 /* end confdefs.h. */
72257 #include <stdlib.h>
72258 int
72259 main ()
72260 {
72261 strtold(0, 0);
72262 ;
72263 return 0;
72264 }
72265 _ACEOF
72266 if ac_fn_cxx_try_compile "$LINENO"; then :
72267 glibcxx_cv_func_strtold_use=yes
72268 else
72269 glibcxx_cv_func_strtold_use=no
72270 fi
72271 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72272 ac_ext=c
72273 ac_cpp='$CPP $CPPFLAGS'
72274 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72275 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72276 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72277
72278
72279 fi
72280
72281 fi
72282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtold_use" >&5
72283 $as_echo "$glibcxx_cv_func_strtold_use" >&6; }
72284 if test x$glibcxx_cv_func_strtold_use = x"yes"; then
72285 for ac_func in strtold
72286 do :
72287 ac_fn_c_check_func "$LINENO" "strtold" "ac_cv_func_strtold"
72288 if test "x$ac_cv_func_strtold" = xyes; then :
72289 cat >>confdefs.h <<_ACEOF
72290 #define HAVE_STRTOLD 1
72291 _ACEOF
72292
72293 fi
72294 done
72295
72296 fi
72297
72298
72299
72300
72301 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for strtof declaration" >&5
72302 $as_echo_n "checking for strtof declaration... " >&6; }
72303 if test x${glibcxx_cv_func_strtof_use+set} != xset; then
72304 if ${glibcxx_cv_func_strtof_use+:} false; then :
72305 $as_echo_n "(cached) " >&6
72306 else
72307
72308
72309 ac_ext=cpp
72310 ac_cpp='$CXXCPP $CPPFLAGS'
72311 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72312 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72313 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
72314
72315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72316 /* end confdefs.h. */
72317 #include <stdlib.h>
72318 int
72319 main ()
72320 {
72321 strtof(0, 0);
72322 ;
72323 return 0;
72324 }
72325 _ACEOF
72326 if ac_fn_cxx_try_compile "$LINENO"; then :
72327 glibcxx_cv_func_strtof_use=yes
72328 else
72329 glibcxx_cv_func_strtof_use=no
72330 fi
72331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72332 ac_ext=c
72333 ac_cpp='$CPP $CPPFLAGS'
72334 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72335 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72336 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72337
72338
72339 fi
72340
72341 fi
72342 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_strtof_use" >&5
72343 $as_echo "$glibcxx_cv_func_strtof_use" >&6; }
72344 if test x$glibcxx_cv_func_strtof_use = x"yes"; then
72345 for ac_func in strtof
72346 do :
72347 ac_fn_c_check_func "$LINENO" "strtof" "ac_cv_func_strtof"
72348 if test "x$ac_cv_func_strtof" = xyes; then :
72349 cat >>confdefs.h <<_ACEOF
72350 #define HAVE_STRTOF 1
72351 _ACEOF
72352
72353 fi
72354 done
72355
72356 fi
72357
72358
72359
72360
72361 CXXFLAGS="$ac_save_CXXFLAGS"
72362
72363 ;;
72364 *-vxworks*)
72365 $as_echo "#define HAVE_ACOSF 1" >>confdefs.h
72366
72367 $as_echo "#define HAVE_ASINF 1" >>confdefs.h
72368
72369 $as_echo "#define HAVE_ATAN2F 1" >>confdefs.h
72370
72371 $as_echo "#define HAVE_ATANF 1" >>confdefs.h
72372
72373 $as_echo "#define HAVE_CEILF 1" >>confdefs.h
72374
72375 $as_echo "#define HAVE_COSF 1" >>confdefs.h
72376
72377 $as_echo "#define HAVE_COSHF 1" >>confdefs.h
72378
72379 $as_echo "#define HAVE_EXPF 1" >>confdefs.h
72380
72381 $as_echo "#define HAVE_FABSF 1" >>confdefs.h
72382
72383 $as_echo "#define HAVE_FLOORF 1" >>confdefs.h
72384
72385 $as_echo "#define HAVE_FMODF 1" >>confdefs.h
72386
72387 $as_echo "#define HAVE_HYPOT 1" >>confdefs.h
72388
72389 $as_echo "#define HAVE_LOG10F 1" >>confdefs.h
72390
72391 $as_echo "#define HAVE_LOGF 1" >>confdefs.h
72392
72393 $as_echo "#define HAVE_POWF 1" >>confdefs.h
72394
72395 $as_echo "#define HAVE_SINF 1" >>confdefs.h
72396
72397 $as_echo "#define HAVE_SINHF 1" >>confdefs.h
72398
72399 $as_echo "#define HAVE_SQRTF 1" >>confdefs.h
72400
72401 $as_echo "#define HAVE_TANF 1" >>confdefs.h
72402
72403 $as_echo "#define HAVE_TANHF 1" >>confdefs.h
72404
72405
72406
72407
72408
72409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for acosl declaration" >&5
72410 $as_echo_n "checking for acosl declaration... " >&6; }
72411 if ${glibcxx_cv_func_acosl_use+:} false; then :
72412 $as_echo_n "(cached) " >&6
72413 else
72414
72415
72416 ac_ext=c
72417 ac_cpp='$CPP $CPPFLAGS'
72418 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72419 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72420 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72421
72422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72423 /* end confdefs.h. */
72424
72425 #include <math.h>
72426 #ifdef HAVE_IEEEFP_H
72427 # include <ieeefp.h>
72428 #endif
72429 #undef acosl
72430
72431 int
72432 main ()
72433 {
72434
72435 void (*f)(void) = (void (*)(void))acosl;
72436
72437 ;
72438 return 0;
72439 }
72440 _ACEOF
72441 if ac_fn_c_try_compile "$LINENO"; then :
72442 glibcxx_cv_func_acosl_use=yes
72443
72444 else
72445 glibcxx_cv_func_acosl_use=no
72446 fi
72447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72448 fi
72449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_acosl_use" >&5
72450 $as_echo "$glibcxx_cv_func_acosl_use" >&6; }
72451 if test "x$glibcxx_cv_func_acosl_use" = xyes; then
72452 cat >>confdefs.h <<_ACEOF
72453 #define HAVE_ACOSL 1
72454 _ACEOF
72455
72456 fi
72457
72458
72459
72460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for asinl declaration" >&5
72461 $as_echo_n "checking for asinl declaration... " >&6; }
72462 if ${glibcxx_cv_func_asinl_use+:} false; then :
72463 $as_echo_n "(cached) " >&6
72464 else
72465
72466
72467 ac_ext=c
72468 ac_cpp='$CPP $CPPFLAGS'
72469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72472
72473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72474 /* end confdefs.h. */
72475
72476 #include <math.h>
72477 #ifdef HAVE_IEEEFP_H
72478 # include <ieeefp.h>
72479 #endif
72480 #undef asinl
72481
72482 int
72483 main ()
72484 {
72485
72486 void (*f)(void) = (void (*)(void))asinl;
72487
72488 ;
72489 return 0;
72490 }
72491 _ACEOF
72492 if ac_fn_c_try_compile "$LINENO"; then :
72493 glibcxx_cv_func_asinl_use=yes
72494
72495 else
72496 glibcxx_cv_func_asinl_use=no
72497 fi
72498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72499 fi
72500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_asinl_use" >&5
72501 $as_echo "$glibcxx_cv_func_asinl_use" >&6; }
72502 if test "x$glibcxx_cv_func_asinl_use" = xyes; then
72503 cat >>confdefs.h <<_ACEOF
72504 #define HAVE_ASINL 1
72505 _ACEOF
72506
72507 fi
72508
72509
72510
72511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atan2l declaration" >&5
72512 $as_echo_n "checking for atan2l declaration... " >&6; }
72513 if ${glibcxx_cv_func_atan2l_use+:} false; then :
72514 $as_echo_n "(cached) " >&6
72515 else
72516
72517
72518 ac_ext=c
72519 ac_cpp='$CPP $CPPFLAGS'
72520 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72521 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72522 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72523
72524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72525 /* end confdefs.h. */
72526
72527 #include <math.h>
72528 #ifdef HAVE_IEEEFP_H
72529 # include <ieeefp.h>
72530 #endif
72531 #undef atan2l
72532
72533 int
72534 main ()
72535 {
72536
72537 void (*f)(void) = (void (*)(void))atan2l;
72538
72539 ;
72540 return 0;
72541 }
72542 _ACEOF
72543 if ac_fn_c_try_compile "$LINENO"; then :
72544 glibcxx_cv_func_atan2l_use=yes
72545
72546 else
72547 glibcxx_cv_func_atan2l_use=no
72548 fi
72549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72550 fi
72551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atan2l_use" >&5
72552 $as_echo "$glibcxx_cv_func_atan2l_use" >&6; }
72553 if test "x$glibcxx_cv_func_atan2l_use" = xyes; then
72554 cat >>confdefs.h <<_ACEOF
72555 #define HAVE_ATAN2L 1
72556 _ACEOF
72557
72558 fi
72559
72560
72561
72562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for atanl declaration" >&5
72563 $as_echo_n "checking for atanl declaration... " >&6; }
72564 if ${glibcxx_cv_func_atanl_use+:} false; then :
72565 $as_echo_n "(cached) " >&6
72566 else
72567
72568
72569 ac_ext=c
72570 ac_cpp='$CPP $CPPFLAGS'
72571 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72572 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72573 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72574
72575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72576 /* end confdefs.h. */
72577
72578 #include <math.h>
72579 #ifdef HAVE_IEEEFP_H
72580 # include <ieeefp.h>
72581 #endif
72582 #undef atanl
72583
72584 int
72585 main ()
72586 {
72587
72588 void (*f)(void) = (void (*)(void))atanl;
72589
72590 ;
72591 return 0;
72592 }
72593 _ACEOF
72594 if ac_fn_c_try_compile "$LINENO"; then :
72595 glibcxx_cv_func_atanl_use=yes
72596
72597 else
72598 glibcxx_cv_func_atanl_use=no
72599 fi
72600 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72601 fi
72602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_atanl_use" >&5
72603 $as_echo "$glibcxx_cv_func_atanl_use" >&6; }
72604 if test "x$glibcxx_cv_func_atanl_use" = xyes; then
72605 cat >>confdefs.h <<_ACEOF
72606 #define HAVE_ATANL 1
72607 _ACEOF
72608
72609 fi
72610
72611
72612
72613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ceill declaration" >&5
72614 $as_echo_n "checking for ceill declaration... " >&6; }
72615 if ${glibcxx_cv_func_ceill_use+:} false; then :
72616 $as_echo_n "(cached) " >&6
72617 else
72618
72619
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 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72627 /* end confdefs.h. */
72628
72629 #include <math.h>
72630 #ifdef HAVE_IEEEFP_H
72631 # include <ieeefp.h>
72632 #endif
72633 #undef ceill
72634
72635 int
72636 main ()
72637 {
72638
72639 void (*f)(void) = (void (*)(void))ceill;
72640
72641 ;
72642 return 0;
72643 }
72644 _ACEOF
72645 if ac_fn_c_try_compile "$LINENO"; then :
72646 glibcxx_cv_func_ceill_use=yes
72647
72648 else
72649 glibcxx_cv_func_ceill_use=no
72650 fi
72651 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72652 fi
72653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ceill_use" >&5
72654 $as_echo "$glibcxx_cv_func_ceill_use" >&6; }
72655 if test "x$glibcxx_cv_func_ceill_use" = xyes; then
72656 cat >>confdefs.h <<_ACEOF
72657 #define HAVE_CEILL 1
72658 _ACEOF
72659
72660 fi
72661
72662
72663
72664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cosl declaration" >&5
72665 $as_echo_n "checking for cosl declaration... " >&6; }
72666 if ${glibcxx_cv_func_cosl_use+:} false; then :
72667 $as_echo_n "(cached) " >&6
72668 else
72669
72670
72671 ac_ext=c
72672 ac_cpp='$CPP $CPPFLAGS'
72673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72676
72677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72678 /* end confdefs.h. */
72679
72680 #include <math.h>
72681 #ifdef HAVE_IEEEFP_H
72682 # include <ieeefp.h>
72683 #endif
72684 #undef cosl
72685
72686 int
72687 main ()
72688 {
72689
72690 void (*f)(void) = (void (*)(void))cosl;
72691
72692 ;
72693 return 0;
72694 }
72695 _ACEOF
72696 if ac_fn_c_try_compile "$LINENO"; then :
72697 glibcxx_cv_func_cosl_use=yes
72698
72699 else
72700 glibcxx_cv_func_cosl_use=no
72701 fi
72702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72703 fi
72704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_cosl_use" >&5
72705 $as_echo "$glibcxx_cv_func_cosl_use" >&6; }
72706 if test "x$glibcxx_cv_func_cosl_use" = xyes; then
72707 cat >>confdefs.h <<_ACEOF
72708 #define HAVE_COSL 1
72709 _ACEOF
72710
72711 fi
72712
72713
72714
72715 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for coshl declaration" >&5
72716 $as_echo_n "checking for coshl declaration... " >&6; }
72717 if ${glibcxx_cv_func_coshl_use+:} false; then :
72718 $as_echo_n "(cached) " >&6
72719 else
72720
72721
72722 ac_ext=c
72723 ac_cpp='$CPP $CPPFLAGS'
72724 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72725 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72726 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72727
72728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72729 /* end confdefs.h. */
72730
72731 #include <math.h>
72732 #ifdef HAVE_IEEEFP_H
72733 # include <ieeefp.h>
72734 #endif
72735 #undef coshl
72736
72737 int
72738 main ()
72739 {
72740
72741 void (*f)(void) = (void (*)(void))coshl;
72742
72743 ;
72744 return 0;
72745 }
72746 _ACEOF
72747 if ac_fn_c_try_compile "$LINENO"; then :
72748 glibcxx_cv_func_coshl_use=yes
72749
72750 else
72751 glibcxx_cv_func_coshl_use=no
72752 fi
72753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72754 fi
72755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_coshl_use" >&5
72756 $as_echo "$glibcxx_cv_func_coshl_use" >&6; }
72757 if test "x$glibcxx_cv_func_coshl_use" = xyes; then
72758 cat >>confdefs.h <<_ACEOF
72759 #define HAVE_COSHL 1
72760 _ACEOF
72761
72762 fi
72763
72764
72765
72766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for expl declaration" >&5
72767 $as_echo_n "checking for expl declaration... " >&6; }
72768 if ${glibcxx_cv_func_expl_use+:} false; then :
72769 $as_echo_n "(cached) " >&6
72770 else
72771
72772
72773 ac_ext=c
72774 ac_cpp='$CPP $CPPFLAGS'
72775 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72776 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72777 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72778
72779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72780 /* end confdefs.h. */
72781
72782 #include <math.h>
72783 #ifdef HAVE_IEEEFP_H
72784 # include <ieeefp.h>
72785 #endif
72786 #undef expl
72787
72788 int
72789 main ()
72790 {
72791
72792 void (*f)(void) = (void (*)(void))expl;
72793
72794 ;
72795 return 0;
72796 }
72797 _ACEOF
72798 if ac_fn_c_try_compile "$LINENO"; then :
72799 glibcxx_cv_func_expl_use=yes
72800
72801 else
72802 glibcxx_cv_func_expl_use=no
72803 fi
72804 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72805 fi
72806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_expl_use" >&5
72807 $as_echo "$glibcxx_cv_func_expl_use" >&6; }
72808 if test "x$glibcxx_cv_func_expl_use" = xyes; then
72809 cat >>confdefs.h <<_ACEOF
72810 #define HAVE_EXPL 1
72811 _ACEOF
72812
72813 fi
72814
72815
72816
72817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fabsl declaration" >&5
72818 $as_echo_n "checking for fabsl declaration... " >&6; }
72819 if ${glibcxx_cv_func_fabsl_use+:} false; then :
72820 $as_echo_n "(cached) " >&6
72821 else
72822
72823
72824 ac_ext=c
72825 ac_cpp='$CPP $CPPFLAGS'
72826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72829
72830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72831 /* end confdefs.h. */
72832
72833 #include <math.h>
72834 #ifdef HAVE_IEEEFP_H
72835 # include <ieeefp.h>
72836 #endif
72837 #undef fabsl
72838
72839 int
72840 main ()
72841 {
72842
72843 void (*f)(void) = (void (*)(void))fabsl;
72844
72845 ;
72846 return 0;
72847 }
72848 _ACEOF
72849 if ac_fn_c_try_compile "$LINENO"; then :
72850 glibcxx_cv_func_fabsl_use=yes
72851
72852 else
72853 glibcxx_cv_func_fabsl_use=no
72854 fi
72855 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72856 fi
72857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fabsl_use" >&5
72858 $as_echo "$glibcxx_cv_func_fabsl_use" >&6; }
72859 if test "x$glibcxx_cv_func_fabsl_use" = xyes; then
72860 cat >>confdefs.h <<_ACEOF
72861 #define HAVE_FABSL 1
72862 _ACEOF
72863
72864 fi
72865
72866
72867
72868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for floorl declaration" >&5
72869 $as_echo_n "checking for floorl declaration... " >&6; }
72870 if ${glibcxx_cv_func_floorl_use+:} false; then :
72871 $as_echo_n "(cached) " >&6
72872 else
72873
72874
72875 ac_ext=c
72876 ac_cpp='$CPP $CPPFLAGS'
72877 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72878 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72879 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72880
72881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72882 /* end confdefs.h. */
72883
72884 #include <math.h>
72885 #ifdef HAVE_IEEEFP_H
72886 # include <ieeefp.h>
72887 #endif
72888 #undef floorl
72889
72890 int
72891 main ()
72892 {
72893
72894 void (*f)(void) = (void (*)(void))floorl;
72895
72896 ;
72897 return 0;
72898 }
72899 _ACEOF
72900 if ac_fn_c_try_compile "$LINENO"; then :
72901 glibcxx_cv_func_floorl_use=yes
72902
72903 else
72904 glibcxx_cv_func_floorl_use=no
72905 fi
72906 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72907 fi
72908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_floorl_use" >&5
72909 $as_echo "$glibcxx_cv_func_floorl_use" >&6; }
72910 if test "x$glibcxx_cv_func_floorl_use" = xyes; then
72911 cat >>confdefs.h <<_ACEOF
72912 #define HAVE_FLOORL 1
72913 _ACEOF
72914
72915 fi
72916
72917
72918
72919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fmodl declaration" >&5
72920 $as_echo_n "checking for fmodl declaration... " >&6; }
72921 if ${glibcxx_cv_func_fmodl_use+:} false; then :
72922 $as_echo_n "(cached) " >&6
72923 else
72924
72925
72926 ac_ext=c
72927 ac_cpp='$CPP $CPPFLAGS'
72928 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72929 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72930 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72931
72932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72933 /* end confdefs.h. */
72934
72935 #include <math.h>
72936 #ifdef HAVE_IEEEFP_H
72937 # include <ieeefp.h>
72938 #endif
72939 #undef fmodl
72940
72941 int
72942 main ()
72943 {
72944
72945 void (*f)(void) = (void (*)(void))fmodl;
72946
72947 ;
72948 return 0;
72949 }
72950 _ACEOF
72951 if ac_fn_c_try_compile "$LINENO"; then :
72952 glibcxx_cv_func_fmodl_use=yes
72953
72954 else
72955 glibcxx_cv_func_fmodl_use=no
72956 fi
72957 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
72958 fi
72959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_fmodl_use" >&5
72960 $as_echo "$glibcxx_cv_func_fmodl_use" >&6; }
72961 if test "x$glibcxx_cv_func_fmodl_use" = xyes; then
72962 cat >>confdefs.h <<_ACEOF
72963 #define HAVE_FMODL 1
72964 _ACEOF
72965
72966 fi
72967
72968
72969
72970 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpl declaration" >&5
72971 $as_echo_n "checking for frexpl declaration... " >&6; }
72972 if ${glibcxx_cv_func_frexpl_use+:} false; then :
72973 $as_echo_n "(cached) " >&6
72974 else
72975
72976
72977 ac_ext=c
72978 ac_cpp='$CPP $CPPFLAGS'
72979 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
72980 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
72981 ac_compiler_gnu=$ac_cv_c_compiler_gnu
72982
72983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
72984 /* end confdefs.h. */
72985
72986 #include <math.h>
72987 #ifdef HAVE_IEEEFP_H
72988 # include <ieeefp.h>
72989 #endif
72990 #undef frexpl
72991
72992 int
72993 main ()
72994 {
72995
72996 void (*f)(void) = (void (*)(void))frexpl;
72997
72998 ;
72999 return 0;
73000 }
73001 _ACEOF
73002 if ac_fn_c_try_compile "$LINENO"; then :
73003 glibcxx_cv_func_frexpl_use=yes
73004
73005 else
73006 glibcxx_cv_func_frexpl_use=no
73007 fi
73008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73009 fi
73010 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpl_use" >&5
73011 $as_echo "$glibcxx_cv_func_frexpl_use" >&6; }
73012 if test "x$glibcxx_cv_func_frexpl_use" = xyes; then
73013 cat >>confdefs.h <<_ACEOF
73014 #define HAVE_FREXPL 1
73015 _ACEOF
73016
73017 fi
73018
73019
73020
73021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpl declaration" >&5
73022 $as_echo_n "checking for ldexpl declaration... " >&6; }
73023 if ${glibcxx_cv_func_ldexpl_use+:} false; then :
73024 $as_echo_n "(cached) " >&6
73025 else
73026
73027
73028 ac_ext=c
73029 ac_cpp='$CPP $CPPFLAGS'
73030 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73031 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73032 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73033
73034 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73035 /* end confdefs.h. */
73036
73037 #include <math.h>
73038 #ifdef HAVE_IEEEFP_H
73039 # include <ieeefp.h>
73040 #endif
73041 #undef ldexpl
73042
73043 int
73044 main ()
73045 {
73046
73047 void (*f)(void) = (void (*)(void))ldexpl;
73048
73049 ;
73050 return 0;
73051 }
73052 _ACEOF
73053 if ac_fn_c_try_compile "$LINENO"; then :
73054 glibcxx_cv_func_ldexpl_use=yes
73055
73056 else
73057 glibcxx_cv_func_ldexpl_use=no
73058 fi
73059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73060 fi
73061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpl_use" >&5
73062 $as_echo "$glibcxx_cv_func_ldexpl_use" >&6; }
73063 if test "x$glibcxx_cv_func_ldexpl_use" = xyes; then
73064 cat >>confdefs.h <<_ACEOF
73065 #define HAVE_LDEXPL 1
73066 _ACEOF
73067
73068 fi
73069
73070
73071
73072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for log10l declaration" >&5
73073 $as_echo_n "checking for log10l declaration... " >&6; }
73074 if ${glibcxx_cv_func_log10l_use+:} false; then :
73075 $as_echo_n "(cached) " >&6
73076 else
73077
73078
73079 ac_ext=c
73080 ac_cpp='$CPP $CPPFLAGS'
73081 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73082 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73083 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73084
73085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73086 /* end confdefs.h. */
73087
73088 #include <math.h>
73089 #ifdef HAVE_IEEEFP_H
73090 # include <ieeefp.h>
73091 #endif
73092 #undef log10l
73093
73094 int
73095 main ()
73096 {
73097
73098 void (*f)(void) = (void (*)(void))log10l;
73099
73100 ;
73101 return 0;
73102 }
73103 _ACEOF
73104 if ac_fn_c_try_compile "$LINENO"; then :
73105 glibcxx_cv_func_log10l_use=yes
73106
73107 else
73108 glibcxx_cv_func_log10l_use=no
73109 fi
73110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73111 fi
73112 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_log10l_use" >&5
73113 $as_echo "$glibcxx_cv_func_log10l_use" >&6; }
73114 if test "x$glibcxx_cv_func_log10l_use" = xyes; then
73115 cat >>confdefs.h <<_ACEOF
73116 #define HAVE_LOG10L 1
73117 _ACEOF
73118
73119 fi
73120
73121
73122
73123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for logl declaration" >&5
73124 $as_echo_n "checking for logl declaration... " >&6; }
73125 if ${glibcxx_cv_func_logl_use+:} false; then :
73126 $as_echo_n "(cached) " >&6
73127 else
73128
73129
73130 ac_ext=c
73131 ac_cpp='$CPP $CPPFLAGS'
73132 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73133 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73134 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73135
73136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73137 /* end confdefs.h. */
73138
73139 #include <math.h>
73140 #ifdef HAVE_IEEEFP_H
73141 # include <ieeefp.h>
73142 #endif
73143 #undef logl
73144
73145 int
73146 main ()
73147 {
73148
73149 void (*f)(void) = (void (*)(void))logl;
73150
73151 ;
73152 return 0;
73153 }
73154 _ACEOF
73155 if ac_fn_c_try_compile "$LINENO"; then :
73156 glibcxx_cv_func_logl_use=yes
73157
73158 else
73159 glibcxx_cv_func_logl_use=no
73160 fi
73161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73162 fi
73163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_logl_use" >&5
73164 $as_echo "$glibcxx_cv_func_logl_use" >&6; }
73165 if test "x$glibcxx_cv_func_logl_use" = xyes; then
73166 cat >>confdefs.h <<_ACEOF
73167 #define HAVE_LOGL 1
73168 _ACEOF
73169
73170 fi
73171
73172
73173
73174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modfl declaration" >&5
73175 $as_echo_n "checking for modfl declaration... " >&6; }
73176 if ${glibcxx_cv_func_modfl_use+:} false; then :
73177 $as_echo_n "(cached) " >&6
73178 else
73179
73180
73181 ac_ext=c
73182 ac_cpp='$CPP $CPPFLAGS'
73183 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73184 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73185 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73186
73187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73188 /* end confdefs.h. */
73189
73190 #include <math.h>
73191 #ifdef HAVE_IEEEFP_H
73192 # include <ieeefp.h>
73193 #endif
73194 #undef modfl
73195
73196 int
73197 main ()
73198 {
73199
73200 void (*f)(void) = (void (*)(void))modfl;
73201
73202 ;
73203 return 0;
73204 }
73205 _ACEOF
73206 if ac_fn_c_try_compile "$LINENO"; then :
73207 glibcxx_cv_func_modfl_use=yes
73208
73209 else
73210 glibcxx_cv_func_modfl_use=no
73211 fi
73212 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73213 fi
73214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modfl_use" >&5
73215 $as_echo "$glibcxx_cv_func_modfl_use" >&6; }
73216 if test "x$glibcxx_cv_func_modfl_use" = xyes; then
73217 cat >>confdefs.h <<_ACEOF
73218 #define HAVE_MODFL 1
73219 _ACEOF
73220
73221 fi
73222
73223
73224
73225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for powl declaration" >&5
73226 $as_echo_n "checking for powl declaration... " >&6; }
73227 if ${glibcxx_cv_func_powl_use+:} false; then :
73228 $as_echo_n "(cached) " >&6
73229 else
73230
73231
73232 ac_ext=c
73233 ac_cpp='$CPP $CPPFLAGS'
73234 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73235 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73236 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73237
73238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73239 /* end confdefs.h. */
73240
73241 #include <math.h>
73242 #ifdef HAVE_IEEEFP_H
73243 # include <ieeefp.h>
73244 #endif
73245 #undef powl
73246
73247 int
73248 main ()
73249 {
73250
73251 void (*f)(void) = (void (*)(void))powl;
73252
73253 ;
73254 return 0;
73255 }
73256 _ACEOF
73257 if ac_fn_c_try_compile "$LINENO"; then :
73258 glibcxx_cv_func_powl_use=yes
73259
73260 else
73261 glibcxx_cv_func_powl_use=no
73262 fi
73263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73264 fi
73265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_powl_use" >&5
73266 $as_echo "$glibcxx_cv_func_powl_use" >&6; }
73267 if test "x$glibcxx_cv_func_powl_use" = xyes; then
73268 cat >>confdefs.h <<_ACEOF
73269 #define HAVE_POWL 1
73270 _ACEOF
73271
73272 fi
73273
73274
73275
73276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinl declaration" >&5
73277 $as_echo_n "checking for sinl declaration... " >&6; }
73278 if ${glibcxx_cv_func_sinl_use+:} false; then :
73279 $as_echo_n "(cached) " >&6
73280 else
73281
73282
73283 ac_ext=c
73284 ac_cpp='$CPP $CPPFLAGS'
73285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73288
73289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73290 /* end confdefs.h. */
73291
73292 #include <math.h>
73293 #ifdef HAVE_IEEEFP_H
73294 # include <ieeefp.h>
73295 #endif
73296 #undef sinl
73297
73298 int
73299 main ()
73300 {
73301
73302 void (*f)(void) = (void (*)(void))sinl;
73303
73304 ;
73305 return 0;
73306 }
73307 _ACEOF
73308 if ac_fn_c_try_compile "$LINENO"; then :
73309 glibcxx_cv_func_sinl_use=yes
73310
73311 else
73312 glibcxx_cv_func_sinl_use=no
73313 fi
73314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73315 fi
73316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinl_use" >&5
73317 $as_echo "$glibcxx_cv_func_sinl_use" >&6; }
73318 if test "x$glibcxx_cv_func_sinl_use" = xyes; then
73319 cat >>confdefs.h <<_ACEOF
73320 #define HAVE_SINL 1
73321 _ACEOF
73322
73323 fi
73324
73325
73326
73327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sinhl declaration" >&5
73328 $as_echo_n "checking for sinhl declaration... " >&6; }
73329 if ${glibcxx_cv_func_sinhl_use+:} false; then :
73330 $as_echo_n "(cached) " >&6
73331 else
73332
73333
73334 ac_ext=c
73335 ac_cpp='$CPP $CPPFLAGS'
73336 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73337 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73338 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73339
73340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73341 /* end confdefs.h. */
73342
73343 #include <math.h>
73344 #ifdef HAVE_IEEEFP_H
73345 # include <ieeefp.h>
73346 #endif
73347 #undef sinhl
73348
73349 int
73350 main ()
73351 {
73352
73353 void (*f)(void) = (void (*)(void))sinhl;
73354
73355 ;
73356 return 0;
73357 }
73358 _ACEOF
73359 if ac_fn_c_try_compile "$LINENO"; then :
73360 glibcxx_cv_func_sinhl_use=yes
73361
73362 else
73363 glibcxx_cv_func_sinhl_use=no
73364 fi
73365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73366 fi
73367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sinhl_use" >&5
73368 $as_echo "$glibcxx_cv_func_sinhl_use" >&6; }
73369 if test "x$glibcxx_cv_func_sinhl_use" = xyes; then
73370 cat >>confdefs.h <<_ACEOF
73371 #define HAVE_SINHL 1
73372 _ACEOF
73373
73374 fi
73375
73376
73377
73378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sqrtl declaration" >&5
73379 $as_echo_n "checking for sqrtl declaration... " >&6; }
73380 if ${glibcxx_cv_func_sqrtl_use+:} false; then :
73381 $as_echo_n "(cached) " >&6
73382 else
73383
73384
73385 ac_ext=c
73386 ac_cpp='$CPP $CPPFLAGS'
73387 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73388 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73389 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73390
73391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73392 /* end confdefs.h. */
73393
73394 #include <math.h>
73395 #ifdef HAVE_IEEEFP_H
73396 # include <ieeefp.h>
73397 #endif
73398 #undef sqrtl
73399
73400 int
73401 main ()
73402 {
73403
73404 void (*f)(void) = (void (*)(void))sqrtl;
73405
73406 ;
73407 return 0;
73408 }
73409 _ACEOF
73410 if ac_fn_c_try_compile "$LINENO"; then :
73411 glibcxx_cv_func_sqrtl_use=yes
73412
73413 else
73414 glibcxx_cv_func_sqrtl_use=no
73415 fi
73416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73417 fi
73418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_sqrtl_use" >&5
73419 $as_echo "$glibcxx_cv_func_sqrtl_use" >&6; }
73420 if test "x$glibcxx_cv_func_sqrtl_use" = xyes; then
73421 cat >>confdefs.h <<_ACEOF
73422 #define HAVE_SQRTL 1
73423 _ACEOF
73424
73425 fi
73426
73427
73428
73429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanl declaration" >&5
73430 $as_echo_n "checking for tanl declaration... " >&6; }
73431 if ${glibcxx_cv_func_tanl_use+:} false; then :
73432 $as_echo_n "(cached) " >&6
73433 else
73434
73435
73436 ac_ext=c
73437 ac_cpp='$CPP $CPPFLAGS'
73438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73441
73442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73443 /* end confdefs.h. */
73444
73445 #include <math.h>
73446 #ifdef HAVE_IEEEFP_H
73447 # include <ieeefp.h>
73448 #endif
73449 #undef tanl
73450
73451 int
73452 main ()
73453 {
73454
73455 void (*f)(void) = (void (*)(void))tanl;
73456
73457 ;
73458 return 0;
73459 }
73460 _ACEOF
73461 if ac_fn_c_try_compile "$LINENO"; then :
73462 glibcxx_cv_func_tanl_use=yes
73463
73464 else
73465 glibcxx_cv_func_tanl_use=no
73466 fi
73467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73468 fi
73469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanl_use" >&5
73470 $as_echo "$glibcxx_cv_func_tanl_use" >&6; }
73471 if test "x$glibcxx_cv_func_tanl_use" = xyes; then
73472 cat >>confdefs.h <<_ACEOF
73473 #define HAVE_TANL 1
73474 _ACEOF
73475
73476 fi
73477
73478
73479
73480 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tanhl declaration" >&5
73481 $as_echo_n "checking for tanhl declaration... " >&6; }
73482 if ${glibcxx_cv_func_tanhl_use+:} false; then :
73483 $as_echo_n "(cached) " >&6
73484 else
73485
73486
73487 ac_ext=c
73488 ac_cpp='$CPP $CPPFLAGS'
73489 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73490 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73491 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73492
73493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73494 /* end confdefs.h. */
73495
73496 #include <math.h>
73497 #ifdef HAVE_IEEEFP_H
73498 # include <ieeefp.h>
73499 #endif
73500 #undef tanhl
73501
73502 int
73503 main ()
73504 {
73505
73506 void (*f)(void) = (void (*)(void))tanhl;
73507
73508 ;
73509 return 0;
73510 }
73511 _ACEOF
73512 if ac_fn_c_try_compile "$LINENO"; then :
73513 glibcxx_cv_func_tanhl_use=yes
73514
73515 else
73516 glibcxx_cv_func_tanhl_use=no
73517 fi
73518 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73519 fi
73520 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_tanhl_use" >&5
73521 $as_echo "$glibcxx_cv_func_tanhl_use" >&6; }
73522 if test "x$glibcxx_cv_func_tanhl_use" = xyes; then
73523 cat >>confdefs.h <<_ACEOF
73524 #define HAVE_TANHL 1
73525 _ACEOF
73526
73527 fi
73528
73529
73530
73531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotl declaration" >&5
73532 $as_echo_n "checking for hypotl declaration... " >&6; }
73533 if ${glibcxx_cv_func_hypotl_use+:} false; then :
73534 $as_echo_n "(cached) " >&6
73535 else
73536
73537
73538 ac_ext=c
73539 ac_cpp='$CPP $CPPFLAGS'
73540 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73541 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73542 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73543
73544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73545 /* end confdefs.h. */
73546
73547 #include <math.h>
73548 #ifdef HAVE_IEEEFP_H
73549 # include <ieeefp.h>
73550 #endif
73551 #undef hypotl
73552
73553 int
73554 main ()
73555 {
73556
73557 void (*f)(void) = (void (*)(void))hypotl;
73558
73559 ;
73560 return 0;
73561 }
73562 _ACEOF
73563 if ac_fn_c_try_compile "$LINENO"; then :
73564 glibcxx_cv_func_hypotl_use=yes
73565
73566 else
73567 glibcxx_cv_func_hypotl_use=no
73568 fi
73569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73570 fi
73571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotl_use" >&5
73572 $as_echo "$glibcxx_cv_func_hypotl_use" >&6; }
73573 if test "x$glibcxx_cv_func_hypotl_use" = xyes; then
73574 cat >>confdefs.h <<_ACEOF
73575 #define HAVE_HYPOTL 1
73576 _ACEOF
73577
73578 fi
73579
73580
73581
73582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldexpf declaration" >&5
73583 $as_echo_n "checking for ldexpf declaration... " >&6; }
73584 if ${glibcxx_cv_func_ldexpf_use+:} false; then :
73585 $as_echo_n "(cached) " >&6
73586 else
73587
73588
73589 ac_ext=c
73590 ac_cpp='$CPP $CPPFLAGS'
73591 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73592 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73593 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73594
73595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73596 /* end confdefs.h. */
73597
73598 #include <math.h>
73599 #ifdef HAVE_IEEEFP_H
73600 # include <ieeefp.h>
73601 #endif
73602 #undef ldexpf
73603
73604 int
73605 main ()
73606 {
73607
73608 void (*f)(void) = (void (*)(void))ldexpf;
73609
73610 ;
73611 return 0;
73612 }
73613 _ACEOF
73614 if ac_fn_c_try_compile "$LINENO"; then :
73615 glibcxx_cv_func_ldexpf_use=yes
73616
73617 else
73618 glibcxx_cv_func_ldexpf_use=no
73619 fi
73620 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73621 fi
73622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_ldexpf_use" >&5
73623 $as_echo "$glibcxx_cv_func_ldexpf_use" >&6; }
73624 if test "x$glibcxx_cv_func_ldexpf_use" = xyes; then
73625 cat >>confdefs.h <<_ACEOF
73626 #define HAVE_LDEXPF 1
73627 _ACEOF
73628
73629 fi
73630
73631
73632
73633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modff declaration" >&5
73634 $as_echo_n "checking for modff declaration... " >&6; }
73635 if ${glibcxx_cv_func_modff_use+:} false; then :
73636 $as_echo_n "(cached) " >&6
73637 else
73638
73639
73640 ac_ext=c
73641 ac_cpp='$CPP $CPPFLAGS'
73642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73645
73646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73647 /* end confdefs.h. */
73648
73649 #include <math.h>
73650 #ifdef HAVE_IEEEFP_H
73651 # include <ieeefp.h>
73652 #endif
73653 #undef modff
73654
73655 int
73656 main ()
73657 {
73658
73659 void (*f)(void) = (void (*)(void))modff;
73660
73661 ;
73662 return 0;
73663 }
73664 _ACEOF
73665 if ac_fn_c_try_compile "$LINENO"; then :
73666 glibcxx_cv_func_modff_use=yes
73667
73668 else
73669 glibcxx_cv_func_modff_use=no
73670 fi
73671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73672 fi
73673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_modff_use" >&5
73674 $as_echo "$glibcxx_cv_func_modff_use" >&6; }
73675 if test "x$glibcxx_cv_func_modff_use" = xyes; then
73676 cat >>confdefs.h <<_ACEOF
73677 #define HAVE_MODFF 1
73678 _ACEOF
73679
73680 fi
73681
73682
73683
73684 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for hypotf declaration" >&5
73685 $as_echo_n "checking for hypotf declaration... " >&6; }
73686 if ${glibcxx_cv_func_hypotf_use+:} false; then :
73687 $as_echo_n "(cached) " >&6
73688 else
73689
73690
73691 ac_ext=c
73692 ac_cpp='$CPP $CPPFLAGS'
73693 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73694 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73695 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73696
73697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73698 /* end confdefs.h. */
73699
73700 #include <math.h>
73701 #ifdef HAVE_IEEEFP_H
73702 # include <ieeefp.h>
73703 #endif
73704 #undef hypotf
73705
73706 int
73707 main ()
73708 {
73709
73710 void (*f)(void) = (void (*)(void))hypotf;
73711
73712 ;
73713 return 0;
73714 }
73715 _ACEOF
73716 if ac_fn_c_try_compile "$LINENO"; then :
73717 glibcxx_cv_func_hypotf_use=yes
73718
73719 else
73720 glibcxx_cv_func_hypotf_use=no
73721 fi
73722 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73723 fi
73724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_hypotf_use" >&5
73725 $as_echo "$glibcxx_cv_func_hypotf_use" >&6; }
73726 if test "x$glibcxx_cv_func_hypotf_use" = xyes; then
73727 cat >>confdefs.h <<_ACEOF
73728 #define HAVE_HYPOTF 1
73729 _ACEOF
73730
73731 fi
73732
73733
73734
73735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for frexpf declaration" >&5
73736 $as_echo_n "checking for frexpf declaration... " >&6; }
73737 if ${glibcxx_cv_func_frexpf_use+:} false; then :
73738 $as_echo_n "(cached) " >&6
73739 else
73740
73741
73742 ac_ext=c
73743 ac_cpp='$CPP $CPPFLAGS'
73744 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
73745 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
73746 ac_compiler_gnu=$ac_cv_c_compiler_gnu
73747
73748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73749 /* end confdefs.h. */
73750
73751 #include <math.h>
73752 #ifdef HAVE_IEEEFP_H
73753 # include <ieeefp.h>
73754 #endif
73755 #undef frexpf
73756
73757 int
73758 main ()
73759 {
73760
73761 void (*f)(void) = (void (*)(void))frexpf;
73762
73763 ;
73764 return 0;
73765 }
73766 _ACEOF
73767 if ac_fn_c_try_compile "$LINENO"; then :
73768 glibcxx_cv_func_frexpf_use=yes
73769
73770 else
73771 glibcxx_cv_func_frexpf_use=no
73772 fi
73773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
73774 fi
73775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_frexpf_use" >&5
73776 $as_echo "$glibcxx_cv_func_frexpf_use" >&6; }
73777 if test "x$glibcxx_cv_func_frexpf_use" = xyes; then
73778 cat >>confdefs.h <<_ACEOF
73779 #define HAVE_FREXPF 1
73780 _ACEOF
73781
73782 fi
73783
73784
73785
73786 ;;
73787 *)
73788 as_fn_error $? "No support for this host/target combination." "$LINENO" 5
73789 ;;
73790 esac
73791
73792 fi
73793
73794 # At some point, we should differentiate between architectures
73795 # like x86, which have long double versions, and alpha/powerpc/etc.,
73796 # which don't. For the time being, punt.
73797 if test x"long_double_math_on_this_cpu" = x"yes"; then
73798 $as_echo "#define HAVE_ACOSL 1" >>confdefs.h
73799
73800 $as_echo "#define HAVE_ASINL 1" >>confdefs.h
73801
73802 $as_echo "#define HAVE_ATAN2L 1" >>confdefs.h
73803
73804 $as_echo "#define HAVE_ATANL 1" >>confdefs.h
73805
73806 $as_echo "#define HAVE_CEILL 1" >>confdefs.h
73807
73808 $as_echo "#define HAVE_COSL 1" >>confdefs.h
73809
73810 $as_echo "#define HAVE_COSHL 1" >>confdefs.h
73811
73812 $as_echo "#define HAVE_EXPL 1" >>confdefs.h
73813
73814 $as_echo "#define HAVE_FABSL 1" >>confdefs.h
73815
73816 $as_echo "#define HAVE_FLOORL 1" >>confdefs.h
73817
73818 $as_echo "#define HAVE_FMODL 1" >>confdefs.h
73819
73820 $as_echo "#define HAVE_FREXPL 1" >>confdefs.h
73821
73822 $as_echo "#define HAVE_LDEXPL 1" >>confdefs.h
73823
73824 $as_echo "#define HAVE_LOG10L 1" >>confdefs.h
73825
73826 $as_echo "#define HAVE_LOGL 1" >>confdefs.h
73827
73828 $as_echo "#define HAVE_MODFL 1" >>confdefs.h
73829
73830 $as_echo "#define HAVE_POWL 1" >>confdefs.h
73831
73832 $as_echo "#define HAVE_SINCOSL 1" >>confdefs.h
73833
73834 $as_echo "#define HAVE_SINL 1" >>confdefs.h
73835
73836 $as_echo "#define HAVE_SINHL 1" >>confdefs.h
73837
73838 $as_echo "#define HAVE_SQRTL 1" >>confdefs.h
73839
73840 $as_echo "#define HAVE_TANL 1" >>confdefs.h
73841
73842 $as_echo "#define HAVE_TANHL 1" >>confdefs.h
73843
73844 fi
73845 fi
73846
73847 # Check for _Unwind_GetIPInfo.
73848
73849
73850 # Check whether --with-system-libunwind was given.
73851 if test "${with_system_libunwind+set}" = set; then :
73852 withval=$with_system_libunwind;
73853 fi
73854
73855 # If system-libunwind was not specifically set, pick a default setting.
73856 if test x$with_system_libunwind = x; then
73857 case ${target} in
73858 ia64-*-hpux*) with_system_libunwind=yes ;;
73859 *) with_system_libunwind=no ;;
73860 esac
73861 fi
73862 # Based on system-libunwind and target, do we have ipinfo?
73863 if test x$with_system_libunwind = xyes; then
73864 case ${target} in
73865 ia64-*-*) have_unwind_getipinfo=no ;;
73866 *) have_unwind_getipinfo=yes ;;
73867 esac
73868 else
73869 # Darwin before version 9 does not have _Unwind_GetIPInfo.
73870
73871 case ${target} in
73872 *-*-darwin[3-8]|*-*-darwin[3-8].*) have_unwind_getipinfo=no ;;
73873 *) have_unwind_getipinfo=yes ;;
73874 esac
73875
73876 fi
73877
73878 if test x$have_unwind_getipinfo = xyes; then
73879
73880 $as_echo "#define HAVE_GETIPINFO 1" >>confdefs.h
73881
73882 fi
73883
73884
73885 # Check whether --enable-linux-futex was given.
73886 if test "${enable_linux_futex+set}" = set; then :
73887 enableval=$enable_linux_futex;
73888 case "$enableval" in
73889 yes|no|default) ;;
73890 *) as_fn_error $? "Unknown argument to enable/disable linux-futex" "$LINENO" 5 ;;
73891 esac
73892
73893 else
73894 enable_linux_futex=default
73895 fi
73896
73897
73898 case "$target" in
73899 *-linux* | *-uclinux*)
73900 case "$enable_linux_futex" in
73901 default)
73902 # If headers don't have gettid/futex syscalls definition, then
73903 # default to no, otherwise there will be compile time failures.
73904 # Otherwise, default to yes. If we don't detect we are
73905 # compiled/linked against NPTL and not cross-compiling, check
73906 # if programs are run by default against NPTL and if not, issue
73907 # a warning.
73908 enable_linux_futex=no
73909 if test x$gcc_no_link = xyes; then
73910 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73911 fi
73912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73913 /* end confdefs.h. */
73914 #include <sys/syscall.h>
73915 #include <unistd.h>
73916 int lk;
73917 int
73918 main ()
73919 {
73920 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
73921 ;
73922 return 0;
73923 }
73924 _ACEOF
73925 if ac_fn_c_try_link "$LINENO"; then :
73926 save_LIBS="$LIBS"
73927 LIBS="-lpthread $LIBS"
73928 if test x$gcc_no_link = xyes; then
73929 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73930 fi
73931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73932 /* end confdefs.h. */
73933 #ifndef _GNU_SOURCE
73934 #define _GNU_SOURCE 1
73935 #endif
73936 #include <pthread.h>
73937 pthread_t th; void *status;
73938 int
73939 main ()
73940 {
73941 pthread_tryjoin_np (th, &status);
73942 ;
73943 return 0;
73944 }
73945 _ACEOF
73946 if ac_fn_c_try_link "$LINENO"; then :
73947 enable_linux_futex=yes
73948 else
73949 if test x$cross_compiling = xno; then
73950 if getconf GNU_LIBPTHREAD_VERSION 2>/dev/null \
73951 | LC_ALL=C grep -i NPTL > /dev/null 2>/dev/null; then :; else
73952 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: The kernel might not support futex or gettid syscalls.
73953 If so, please configure with --disable-linux-futex" >&5
73954 $as_echo "$as_me: WARNING: The kernel might not support futex or gettid syscalls.
73955 If so, please configure with --disable-linux-futex" >&2;}
73956 fi
73957 fi
73958 enable_linux_futex=yes
73959 fi
73960 rm -f core conftest.err conftest.$ac_objext \
73961 conftest$ac_exeext conftest.$ac_ext
73962 LIBS="$save_LIBS"
73963 fi
73964 rm -f core conftest.err conftest.$ac_objext \
73965 conftest$ac_exeext conftest.$ac_ext
73966 ;;
73967 yes)
73968 if test x$gcc_no_link = xyes; then
73969 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
73970 fi
73971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
73972 /* end confdefs.h. */
73973 #include <sys/syscall.h>
73974 #include <unistd.h>
73975 int lk;
73976 int
73977 main ()
73978 {
73979 syscall (SYS_gettid); syscall (SYS_futex, &lk, 0, 0, 0);
73980 ;
73981 return 0;
73982 }
73983 _ACEOF
73984 if ac_fn_c_try_link "$LINENO"; then :
73985
73986 else
73987 as_fn_error $? "SYS_gettid and SYS_futex required for --enable-linux-futex" "$LINENO" 5
73988 fi
73989 rm -f core conftest.err conftest.$ac_objext \
73990 conftest$ac_exeext conftest.$ac_ext
73991 ;;
73992 esac
73993 ;;
73994 *)
73995 enable_linux_futex=no
73996 ;;
73997 esac
73998 if test x$enable_linux_futex = xyes; then
73999
74000 $as_echo "#define HAVE_LINUX_FUTEX 1" >>confdefs.h
74001
74002 fi
74003
74004
74005
74006
74007 inttype_headers=`echo inttypes.h sys/inttypes.h | sed -e 's/,/ /g'`
74008
74009 acx_cv_header_stdint=stddef.h
74010 acx_cv_header_stdint_kind="(already complete)"
74011 for i in stdint.h $inttype_headers; do
74012 unset ac_cv_type_uintptr_t
74013 unset ac_cv_type_uintmax_t
74014 unset ac_cv_type_int_least32_t
74015 unset ac_cv_type_int_fast32_t
74016 unset ac_cv_type_uint64_t
74017 $as_echo_n "looking for a compliant stdint.h in $i, " >&6
74018 ac_fn_c_check_type "$LINENO" "uintmax_t" "ac_cv_type_uintmax_t" "#include <sys/types.h>
74019 #include <$i>
74020 "
74021 if test "x$ac_cv_type_uintmax_t" = xyes; then :
74022 acx_cv_header_stdint=$i
74023 else
74024 continue
74025 fi
74026
74027 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74028 #include <$i>
74029 "
74030 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74031
74032 else
74033 acx_cv_header_stdint_kind="(mostly complete)"
74034 fi
74035
74036 ac_fn_c_check_type "$LINENO" "int_least32_t" "ac_cv_type_int_least32_t" "#include <sys/types.h>
74037 #include <$i>
74038 "
74039 if test "x$ac_cv_type_int_least32_t" = xyes; then :
74040
74041 else
74042 acx_cv_header_stdint_kind="(mostly complete)"
74043 fi
74044
74045 ac_fn_c_check_type "$LINENO" "int_fast32_t" "ac_cv_type_int_fast32_t" "#include <sys/types.h>
74046 #include <$i>
74047 "
74048 if test "x$ac_cv_type_int_fast32_t" = xyes; then :
74049
74050 else
74051 acx_cv_header_stdint_kind="(mostly complete)"
74052 fi
74053
74054 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74055 #include <$i>
74056 "
74057 if test "x$ac_cv_type_uint64_t" = xyes; then :
74058
74059 else
74060 acx_cv_header_stdint_kind="(lacks uint64_t)"
74061 fi
74062
74063 break
74064 done
74065 if test "$acx_cv_header_stdint" = stddef.h; then
74066 acx_cv_header_stdint_kind="(lacks uintmax_t)"
74067 for i in stdint.h $inttype_headers; do
74068 unset ac_cv_type_uintptr_t
74069 unset ac_cv_type_uint32_t
74070 unset ac_cv_type_uint64_t
74071 $as_echo_n "looking for an incomplete stdint.h in $i, " >&6
74072 ac_fn_c_check_type "$LINENO" "uint32_t" "ac_cv_type_uint32_t" "#include <sys/types.h>
74073 #include <$i>
74074 "
74075 if test "x$ac_cv_type_uint32_t" = xyes; then :
74076 acx_cv_header_stdint=$i
74077 else
74078 continue
74079 fi
74080
74081 ac_fn_c_check_type "$LINENO" "uint64_t" "ac_cv_type_uint64_t" "#include <sys/types.h>
74082 #include <$i>
74083 "
74084 if test "x$ac_cv_type_uint64_t" = xyes; then :
74085
74086 fi
74087
74088 ac_fn_c_check_type "$LINENO" "uintptr_t" "ac_cv_type_uintptr_t" "#include <sys/types.h>
74089 #include <$i>
74090 "
74091 if test "x$ac_cv_type_uintptr_t" = xyes; then :
74092
74093 fi
74094
74095 break
74096 done
74097 fi
74098 if test "$acx_cv_header_stdint" = stddef.h; then
74099 acx_cv_header_stdint_kind="(u_intXX_t style)"
74100 for i in sys/types.h $inttype_headers; do
74101 unset ac_cv_type_u_int32_t
74102 unset ac_cv_type_u_int64_t
74103 $as_echo_n "looking for u_intXX_t types in $i, " >&6
74104 ac_fn_c_check_type "$LINENO" "u_int32_t" "ac_cv_type_u_int32_t" "#include <sys/types.h>
74105 #include <$i>
74106 "
74107 if test "x$ac_cv_type_u_int32_t" = xyes; then :
74108 acx_cv_header_stdint=$i
74109 else
74110 continue
74111 fi
74112
74113 ac_fn_c_check_type "$LINENO" "u_int64_t" "ac_cv_type_u_int64_t" "#include <sys/types.h>
74114 #include <$i>
74115 "
74116 if test "x$ac_cv_type_u_int64_t" = xyes; then :
74117
74118 fi
74119
74120 break
74121 done
74122 fi
74123 if test "$acx_cv_header_stdint" = stddef.h; then
74124 acx_cv_header_stdint_kind="(using manual detection)"
74125 fi
74126
74127 test -z "$ac_cv_type_uintptr_t" && ac_cv_type_uintptr_t=no
74128 test -z "$ac_cv_type_uint64_t" && ac_cv_type_uint64_t=no
74129 test -z "$ac_cv_type_u_int64_t" && ac_cv_type_u_int64_t=no
74130 test -z "$ac_cv_type_int_least32_t" && ac_cv_type_int_least32_t=no
74131 test -z "$ac_cv_type_int_fast32_t" && ac_cv_type_int_fast32_t=no
74132
74133 # ----------------- Summarize what we found so far
74134
74135 { $as_echo "$as_me:${as_lineno-$LINENO}: checking what to include in include/gstdint.h" >&5
74136 $as_echo_n "checking what to include in include/gstdint.h... " >&6; }
74137
74138 case `$as_basename -- include/gstdint.h ||
74139 $as_expr X/include/gstdint.h : '.*/\([^/][^/]*\)/*$' \| \
74140 Xinclude/gstdint.h : 'X\(//\)$' \| \
74141 Xinclude/gstdint.h : 'X\(/\)' \| . 2>/dev/null ||
74142 $as_echo X/include/gstdint.h |
74143 sed '/^.*\/\([^/][^/]*\)\/*$/{
74144 s//\1/
74145 q
74146 }
74147 /^X\/\(\/\/\)$/{
74148 s//\1/
74149 q
74150 }
74151 /^X\/\(\/\).*/{
74152 s//\1/
74153 q
74154 }
74155 s/.*/./; q'` in
74156 stdint.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74157 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74158 inttypes.h) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: are you sure you want it there?" >&5
74159 $as_echo "$as_me: WARNING: are you sure you want it there?" >&2;} ;;
74160 *) ;;
74161 esac
74162
74163 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_header_stdint $acx_cv_header_stdint_kind" >&5
74164 $as_echo "$acx_cv_header_stdint $acx_cv_header_stdint_kind" >&6; }
74165
74166 # ----------------- done included file, check C basic types --------
74167
74168 # Lacking an uintptr_t? Test size of void *
74169 case "$acx_cv_header_stdint:$ac_cv_type_uintptr_t" in
74170 stddef.h:* | *:no) # The cast to long int works around a bug in the HP C Compiler
74171 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74172 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74173 # This bug is HP SR number 8606223364.
74174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
74175 $as_echo_n "checking size of void *... " >&6; }
74176 if ${ac_cv_sizeof_void_p+:} false; then :
74177 $as_echo_n "(cached) " >&6
74178 else
74179 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
74180
74181 else
74182 if test "$ac_cv_type_void_p" = yes; then
74183 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74184 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74185 as_fn_error 77 "cannot compute sizeof (void *)
74186 See \`config.log' for more details" "$LINENO" 5; }
74187 else
74188 ac_cv_sizeof_void_p=0
74189 fi
74190 fi
74191
74192 fi
74193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
74194 $as_echo "$ac_cv_sizeof_void_p" >&6; }
74195
74196
74197
74198 cat >>confdefs.h <<_ACEOF
74199 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
74200 _ACEOF
74201
74202 ;;
74203 esac
74204
74205 # Lacking an uint64_t? Test size of long
74206 case "$acx_cv_header_stdint:$ac_cv_type_uint64_t:$ac_cv_type_u_int64_t" in
74207 stddef.h:*:* | *:no:no) # The cast to long int works around a bug in the HP C Compiler
74208 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74209 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74210 # This bug is HP SR number 8606223364.
74211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
74212 $as_echo_n "checking size of long... " >&6; }
74213 if ${ac_cv_sizeof_long+:} false; then :
74214 $as_echo_n "(cached) " >&6
74215 else
74216 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
74217
74218 else
74219 if test "$ac_cv_type_long" = yes; then
74220 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74221 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74222 as_fn_error 77 "cannot compute sizeof (long)
74223 See \`config.log' for more details" "$LINENO" 5; }
74224 else
74225 ac_cv_sizeof_long=0
74226 fi
74227 fi
74228
74229 fi
74230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
74231 $as_echo "$ac_cv_sizeof_long" >&6; }
74232
74233
74234
74235 cat >>confdefs.h <<_ACEOF
74236 #define SIZEOF_LONG $ac_cv_sizeof_long
74237 _ACEOF
74238
74239 ;;
74240 esac
74241
74242 if test $acx_cv_header_stdint = stddef.h; then
74243 # Lacking a good header? Test size of everything and deduce all types.
74244 # The cast to long int works around a bug in the HP C Compiler
74245 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74246 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74247 # This bug is HP SR number 8606223364.
74248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
74249 $as_echo_n "checking size of int... " >&6; }
74250 if ${ac_cv_sizeof_int+:} false; then :
74251 $as_echo_n "(cached) " >&6
74252 else
74253 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
74254
74255 else
74256 if test "$ac_cv_type_int" = yes; then
74257 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74258 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74259 as_fn_error 77 "cannot compute sizeof (int)
74260 See \`config.log' for more details" "$LINENO" 5; }
74261 else
74262 ac_cv_sizeof_int=0
74263 fi
74264 fi
74265
74266 fi
74267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
74268 $as_echo "$ac_cv_sizeof_int" >&6; }
74269
74270
74271
74272 cat >>confdefs.h <<_ACEOF
74273 #define SIZEOF_INT $ac_cv_sizeof_int
74274 _ACEOF
74275
74276
74277 # The cast to long int works around a bug in the HP C Compiler
74278 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74279 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74280 # This bug is HP SR number 8606223364.
74281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
74282 $as_echo_n "checking size of short... " >&6; }
74283 if ${ac_cv_sizeof_short+:} false; then :
74284 $as_echo_n "(cached) " >&6
74285 else
74286 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
74287
74288 else
74289 if test "$ac_cv_type_short" = yes; then
74290 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74291 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74292 as_fn_error 77 "cannot compute sizeof (short)
74293 See \`config.log' for more details" "$LINENO" 5; }
74294 else
74295 ac_cv_sizeof_short=0
74296 fi
74297 fi
74298
74299 fi
74300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
74301 $as_echo "$ac_cv_sizeof_short" >&6; }
74302
74303
74304
74305 cat >>confdefs.h <<_ACEOF
74306 #define SIZEOF_SHORT $ac_cv_sizeof_short
74307 _ACEOF
74308
74309
74310 # The cast to long int works around a bug in the HP C Compiler
74311 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
74312 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
74313 # This bug is HP SR number 8606223364.
74314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of char" >&5
74315 $as_echo_n "checking size of char... " >&6; }
74316 if ${ac_cv_sizeof_char+:} false; then :
74317 $as_echo_n "(cached) " >&6
74318 else
74319 if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (char))" "ac_cv_sizeof_char" "$ac_includes_default"; then :
74320
74321 else
74322 if test "$ac_cv_type_char" = yes; then
74323 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
74324 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
74325 as_fn_error 77 "cannot compute sizeof (char)
74326 See \`config.log' for more details" "$LINENO" 5; }
74327 else
74328 ac_cv_sizeof_char=0
74329 fi
74330 fi
74331
74332 fi
74333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_char" >&5
74334 $as_echo "$ac_cv_sizeof_char" >&6; }
74335
74336
74337
74338 cat >>confdefs.h <<_ACEOF
74339 #define SIZEOF_CHAR $ac_cv_sizeof_char
74340 _ACEOF
74341
74342
74343
74344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int8_t" >&5
74345 $as_echo_n "checking for type equivalent to int8_t... " >&6; }
74346 case "$ac_cv_sizeof_char" in
74347 1) acx_cv_type_int8_t=char ;;
74348 *) as_fn_error $? "no 8-bit type, please report a bug" "$LINENO" 5
74349 esac
74350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int8_t" >&5
74351 $as_echo "$acx_cv_type_int8_t" >&6; }
74352
74353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int16_t" >&5
74354 $as_echo_n "checking for type equivalent to int16_t... " >&6; }
74355 case "$ac_cv_sizeof_int:$ac_cv_sizeof_short" in
74356 2:*) acx_cv_type_int16_t=int ;;
74357 *:2) acx_cv_type_int16_t=short ;;
74358 *) as_fn_error $? "no 16-bit type, please report a bug" "$LINENO" 5
74359 esac
74360 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int16_t" >&5
74361 $as_echo "$acx_cv_type_int16_t" >&6; }
74362
74363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int32_t" >&5
74364 $as_echo_n "checking for type equivalent to int32_t... " >&6; }
74365 case "$ac_cv_sizeof_int:$ac_cv_sizeof_long" in
74366 4:*) acx_cv_type_int32_t=int ;;
74367 *:4) acx_cv_type_int32_t=long ;;
74368 *) as_fn_error $? "no 32-bit type, please report a bug" "$LINENO" 5
74369 esac
74370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_int32_t" >&5
74371 $as_echo "$acx_cv_type_int32_t" >&6; }
74372 fi
74373
74374 # These tests are here to make the output prettier
74375
74376 if test "$ac_cv_type_uint64_t" != yes && test "$ac_cv_type_u_int64_t" != yes; then
74377 case "$ac_cv_sizeof_long" in
74378 8) acx_cv_type_int64_t=long ;;
74379 esac
74380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to int64_t" >&5
74381 $as_echo_n "checking for type equivalent to int64_t... " >&6; }
74382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${acx_cv_type_int64_t-'using preprocessor symbols'}" >&5
74383 $as_echo "${acx_cv_type_int64_t-'using preprocessor symbols'}" >&6; }
74384 fi
74385
74386 # Now we can use the above types
74387
74388 if test "$ac_cv_type_uintptr_t" != yes; then
74389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type equivalent to intptr_t" >&5
74390 $as_echo_n "checking for type equivalent to intptr_t... " >&6; }
74391 case $ac_cv_sizeof_void_p in
74392 2) acx_cv_type_intptr_t=int16_t ;;
74393 4) acx_cv_type_intptr_t=int32_t ;;
74394 8) acx_cv_type_intptr_t=int64_t ;;
74395 *) as_fn_error $? "no equivalent for intptr_t, please report a bug" "$LINENO" 5
74396 esac
74397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $acx_cv_type_intptr_t" >&5
74398 $as_echo "$acx_cv_type_intptr_t" >&6; }
74399 fi
74400
74401 # ----------------- done all checks, emit header -------------
74402 ac_config_commands="$ac_config_commands include/gstdint.h"
74403
74404
74405
74406
74407
74408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU c++filt" >&5
74409 $as_echo_n "checking for GNU c++filt... " >&6; }
74410 if ${ac_cv_path_CXXFILT+:} false; then :
74411 $as_echo_n "(cached) " >&6
74412 else
74413 if test -z "$CXXFILT"; then
74414 ac_path_CXXFILT_found=false
74415 # Loop through the user's path and test for each of PROGNAME-LIST
74416 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
74417 for as_dir in $PATH
74418 do
74419 IFS=$as_save_IFS
74420 test -z "$as_dir" && as_dir=.
74421 for ac_prog in c++filt gc++filt; do
74422 for ac_exec_ext in '' $ac_executable_extensions; do
74423 ac_path_CXXFILT="$as_dir/$ac_prog$ac_exec_ext"
74424 as_fn_executable_p "$ac_path_CXXFILT" || continue
74425 # Check for GNU $ac_path_CXXFILT
74426 case `"$ac_path_CXXFILT" --version 2>&1` in
74427 *GNU*)
74428 ac_cv_path_CXXFILT=$ac_path_CXXFILT && ac_path_CXXFILT_found=:;;
74429 esac
74430
74431 $ac_path_CXXFILT_found && break 3
74432 done
74433 done
74434 done
74435 IFS=$as_save_IFS
74436 if test -z "$ac_cv_path_CXXFILT"; then
74437 :
74438 fi
74439 else
74440 ac_cv_path_CXXFILT=$CXXFILT
74441 fi
74442
74443 fi
74444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_CXXFILT" >&5
74445 $as_echo "$ac_cv_path_CXXFILT" >&6; }
74446 CXXFILT=$ac_cv_path_CXXFILT
74447
74448
74449
74450 # Check whether --enable-symvers was given.
74451 if test "${enable_symvers+set}" = set; then :
74452 enableval=$enable_symvers;
74453 case "$enableval" in
74454 yes|no|gnu|gnu-versioned-namespace|darwin|darwin-export|sun) ;;
74455 *) as_fn_error $? "Unknown argument to enable/disable symvers" "$LINENO" 5 ;;
74456 esac
74457
74458 else
74459 enable_symvers=yes
74460 fi
74461
74462
74463
74464 # If we never went through the GLIBCXX_CHECK_LINKER_FEATURES macro, then we
74465 # don't know enough about $LD to do tricks...
74466
74467 # Sun style symbol versions needs GNU c++filt for make_sunver.pl to work
74468 # with extern "C++" in version scripts.
74469
74470
74471 # Turn a 'yes' into a suitable default.
74472 if test x$enable_symvers = xyes ; then
74473 if test $enable_shared = no || test "x$LD" = x || test x$gcc_no_link = xyes; then
74474 enable_symvers=no
74475 else
74476 if test $with_gnu_ld = yes ; then
74477 case ${target_os} in
74478 hpux*)
74479 enable_symvers=no ;;
74480 *)
74481 enable_symvers=gnu ;;
74482 esac
74483 else
74484 case ${target_os} in
74485 darwin*)
74486 enable_symvers=darwin ;;
74487 # Sun symbol versioning exists since Solaris 2.5.
74488 solaris2.[5-9]* | solaris2.1[0-9]*)
74489 # make_sunver.pl needs GNU c++filt to support extern "C++" in
74490 # version scripts, so disable symbol versioning if none can be
74491 # found.
74492 if test -z "$ac_cv_path_CXXFILT"; then
74493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74494 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74495 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === no GNU c++filt could be found." >&5
74496 $as_echo "$as_me: WARNING: === no GNU c++filt could be found." >&2;}
74497 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74498 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74499 enable_symvers=no
74500 else
74501 enable_symvers=sun
74502 fi
74503 ;;
74504 *)
74505 enable_symvers=no ;;
74506 esac
74507 fi
74508 fi
74509 fi
74510
74511 # Check to see if 'darwin' or 'darwin-export' can win.
74512 if test x$enable_symvers = xdarwin-export ; then
74513 enable_symvers=darwin
74514 fi
74515
74516 # Check if 'sun' was requested on non-Solaris 2 platforms.
74517 if test x$enable_symvers = xsun ; then
74518 case ${target_os} in
74519 solaris2*)
74520 # All fine.
74521 ;;
74522 *)
74523 # Unlikely to work.
74524 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested Sun symbol versioning, but" >&5
74525 $as_echo "$as_me: WARNING: === You have requested Sun symbol versioning, but" >&2;}
74526 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not targetting Solaris 2." >&5
74527 $as_echo "$as_me: WARNING: === you are not targetting Solaris 2." >&2;}
74528 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74529 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74530 enable_symvers=no
74531 ;;
74532 esac
74533 fi
74534
74535 # Check to see if 'gnu' can win.
74536 if test $enable_symvers = gnu ||
74537 test $enable_symvers = gnu-versioned-namespace ||
74538 test $enable_symvers = sun; then
74539 # Check to see if libgcc_s exists, indicating that shared libgcc is possible.
74540 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shared libgcc" >&5
74541 $as_echo_n "checking for shared libgcc... " >&6; }
74542 ac_save_CFLAGS="$CFLAGS"
74543 CFLAGS=' -lgcc_s'
74544 if test x$gcc_no_link = xyes; then
74545 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74546 fi
74547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74548 /* end confdefs.h. */
74549
74550 int
74551 main ()
74552 {
74553 return 0;
74554 ;
74555 return 0;
74556 }
74557 _ACEOF
74558 if ac_fn_c_try_link "$LINENO"; then :
74559 glibcxx_shared_libgcc=yes
74560 else
74561 glibcxx_shared_libgcc=no
74562 fi
74563 rm -f core conftest.err conftest.$ac_objext \
74564 conftest$ac_exeext conftest.$ac_ext
74565 CFLAGS="$ac_save_CFLAGS"
74566 if test $glibcxx_shared_libgcc = no; then
74567 cat > conftest.c <<EOF
74568 int main (void) { return 0; }
74569 EOF
74570 glibcxx_libgcc_s_suffix=`${CC-cc} $CFLAGS $CPPFLAGS $LDFLAGS \
74571 -shared -shared-libgcc -o conftest.so \
74572 conftest.c -v 2>&1 >/dev/null \
74573 | sed -n 's/^.* -lgcc_s\([^ ]*\) .*$/\1/p'`
74574 rm -f conftest.c conftest.so
74575 if test x${glibcxx_libgcc_s_suffix+set} = xset; then
74576 CFLAGS=" -lgcc_s$glibcxx_libgcc_s_suffix"
74577 if test x$gcc_no_link = xyes; then
74578 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74579 fi
74580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74581 /* end confdefs.h. */
74582
74583 int
74584 main ()
74585 {
74586 return 0;
74587 ;
74588 return 0;
74589 }
74590 _ACEOF
74591 if ac_fn_c_try_link "$LINENO"; then :
74592 glibcxx_shared_libgcc=yes
74593 fi
74594 rm -f core conftest.err conftest.$ac_objext \
74595 conftest$ac_exeext conftest.$ac_ext
74596 CFLAGS="$ac_save_CFLAGS"
74597 fi
74598 fi
74599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_shared_libgcc" >&5
74600 $as_echo "$glibcxx_shared_libgcc" >&6; }
74601
74602 # For GNU ld, we need at least this version. The format is described in
74603 # GLIBCXX_CHECK_LINKER_FEATURES above.
74604 glibcxx_min_gnu_ld_version=21400
74605
74606 # If no shared libgcc, can't win.
74607 if test $glibcxx_shared_libgcc != yes; then
74608 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74609 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74610 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not building a shared libgcc_s." >&5
74611 $as_echo "$as_me: WARNING: === you are not building a shared libgcc_s." >&2;}
74612 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74613 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74614 enable_symvers=no
74615 elif test $with_gnu_ld != yes && test $enable_symvers = sun; then
74616 : All interesting versions of Sun ld support sun style symbol versioning.
74617 elif test $with_gnu_ld != yes ; then
74618 # just fail for now
74619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You have requested GNU symbol versioning, but" >&5
74620 $as_echo "$as_me: WARNING: === You have requested GNU symbol versioning, but" >&2;}
74621 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === you are not using the GNU linker." >&5
74622 $as_echo "$as_me: WARNING: === you are not using the GNU linker." >&2;}
74623 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74624 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74625 enable_symvers=no
74626 elif test $glibcxx_ld_is_gold = yes ; then
74627 : All versions of gold support symbol versioning.
74628 elif test $glibcxx_gnu_ld_version -lt $glibcxx_min_gnu_ld_version ; then
74629 # The right tools, the right setup, but too old. Fallbacks?
74630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&5
74631 $as_echo "$as_me: WARNING: === Linker version $glibcxx_gnu_ld_version is too old for" >&2;}
74632 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === full symbol versioning support in this release of GCC." >&5
74633 $as_echo "$as_me: WARNING: === full symbol versioning support in this release of GCC." >&2;}
74634 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === You would need to upgrade your binutils to version" >&5
74635 $as_echo "$as_me: WARNING: === You would need to upgrade your binutils to version" >&2;}
74636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&5
74637 $as_echo "$as_me: WARNING: === $glibcxx_min_gnu_ld_version or later and rebuild GCC." >&2;}
74638 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: === Symbol versioning will be disabled." >&5
74639 $as_echo "$as_me: WARNING: === Symbol versioning will be disabled." >&2;}
74640 enable_symvers=no
74641 fi
74642 fi
74643
74644 # For libtool versioning info, format is CURRENT:REVISION:AGE
74645 libtool_VERSION=6:29:0
74646
74647 # Everything parsed; figure out what files and settings to use.
74648 case $enable_symvers in
74649 no)
74650 SYMVER_FILE=config/abi/pre/none.ver
74651 ;;
74652 gnu)
74653 SYMVER_FILE=config/abi/pre/gnu.ver
74654
74655 $as_echo "#define _GLIBCXX_SYMVER_GNU 1" >>confdefs.h
74656
74657 ;;
74658 gnu-versioned-namespace)
74659 libtool_VERSION=8:0:0
74660 SYMVER_FILE=config/abi/pre/gnu-versioned-namespace.ver
74661
74662 $as_echo "#define _GLIBCXX_SYMVER_GNU_NAMESPACE 1" >>confdefs.h
74663
74664 ;;
74665 darwin)
74666 SYMVER_FILE=config/abi/pre/gnu.ver
74667
74668 $as_echo "#define _GLIBCXX_SYMVER_DARWIN 1" >>confdefs.h
74669
74670 ;;
74671 sun)
74672 SYMVER_FILE=config/abi/pre/gnu.ver
74673
74674 $as_echo "#define _GLIBCXX_SYMVER_SUN 1" >>confdefs.h
74675
74676 ;;
74677 esac
74678
74679 if test x$enable_symvers != xno ; then
74680
74681 $as_echo "#define _GLIBCXX_SYMVER 1" >>confdefs.h
74682
74683 fi
74684
74685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports .symver directive" >&5
74686 $as_echo_n "checking whether the target supports .symver directive... " >&6; }
74687 if ${glibcxx_cv_have_as_symver_directive+:} false; then :
74688 $as_echo_n "(cached) " >&6
74689 else
74690
74691 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74692 /* end confdefs.h. */
74693 void foo (void); __asm (".symver foo, bar@SYMVER");
74694 int
74695 main ()
74696 {
74697
74698 ;
74699 return 0;
74700 }
74701 _ACEOF
74702 if ac_fn_c_try_compile "$LINENO"; then :
74703 glibcxx_cv_have_as_symver_directive=yes
74704 else
74705 glibcxx_cv_have_as_symver_directive=no
74706 fi
74707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74708 fi
74709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_as_symver_directive" >&5
74710 $as_echo "$glibcxx_cv_have_as_symver_directive" >&6; }
74711 if test $glibcxx_cv_have_as_symver_directive = yes; then
74712
74713 $as_echo "#define HAVE_AS_SYMVER_DIRECTIVE 1" >>confdefs.h
74714
74715 fi
74716
74717
74718
74719
74720
74721
74722
74723
74724 { $as_echo "$as_me:${as_lineno-$LINENO}: versioning on shared library symbols is $enable_symvers" >&5
74725 $as_echo "$as_me: versioning on shared library symbols is $enable_symvers" >&6;}
74726
74727 if test $enable_symvers != no ; then
74728 case ${target_os} in
74729 # The Solaris 2 runtime linker doesn't support the GNU extension of
74730 # binding the same symbol to different versions
74731 solaris2*)
74732 ;;
74733 # Other platforms with GNU symbol versioning (GNU/Linux, more?) do.
74734 *)
74735
74736 $as_echo "#define HAVE_SYMVER_SYMBOL_RENAMING_RUNTIME_SUPPORT 1" >>confdefs.h
74737
74738 ;;
74739 esac
74740 fi
74741
74742 # Now, set up compatibility support, if any.
74743 # In addition, need this to deal with std::size_t mangling in
74744 # src/compatibility.cc. In a perfect world, could use
74745 # typeid(std::size_t).name()[0] to do direct substitution.
74746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for size_t as unsigned int" >&5
74747 $as_echo_n "checking for size_t as unsigned int... " >&6; }
74748 ac_save_CFLAGS="$CFLAGS"
74749 CFLAGS="-Werror"
74750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74751 /* end confdefs.h. */
74752
74753 int
74754 main ()
74755 {
74756 __SIZE_TYPE__* stp; unsigned int* uip; stp = uip;
74757 ;
74758 return 0;
74759 }
74760 _ACEOF
74761 if ac_fn_c_try_compile "$LINENO"; then :
74762 glibcxx_size_t_is_i=yes
74763 else
74764 glibcxx_size_t_is_i=no
74765 fi
74766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74767 CFLAGS=$ac_save_CFLAGS
74768 if test "$glibcxx_size_t_is_i" = yes; then
74769
74770 $as_echo "#define _GLIBCXX_SIZE_T_IS_UINT 1" >>confdefs.h
74771
74772 fi
74773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_size_t_is_i" >&5
74774 $as_echo "$glibcxx_size_t_is_i" >&6; }
74775
74776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ptrdiff_t as int" >&5
74777 $as_echo_n "checking for ptrdiff_t as int... " >&6; }
74778 ac_save_CFLAGS="$CFLAGS"
74779 CFLAGS="-Werror"
74780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74781 /* end confdefs.h. */
74782
74783 int
74784 main ()
74785 {
74786 __PTRDIFF_TYPE__* ptp; int* ip; ptp = ip;
74787 ;
74788 return 0;
74789 }
74790 _ACEOF
74791 if ac_fn_c_try_compile "$LINENO"; then :
74792 glibcxx_ptrdiff_t_is_i=yes
74793 else
74794 glibcxx_ptrdiff_t_is_i=no
74795 fi
74796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74797 CFLAGS=$ac_save_CFLAGS
74798 if test "$glibcxx_ptrdiff_t_is_i" = yes; then
74799
74800 $as_echo "#define _GLIBCXX_PTRDIFF_T_IS_INT 1" >>confdefs.h
74801
74802 fi
74803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_ptrdiff_t_is_i" >&5
74804 $as_echo "$glibcxx_ptrdiff_t_is_i" >&6; }
74805
74806
74807
74808
74809 # Check whether --enable-libstdcxx-visibility was given.
74810 if test "${enable_libstdcxx_visibility+set}" = set; then :
74811 enableval=$enable_libstdcxx_visibility;
74812 case "$enableval" in
74813 yes|no) ;;
74814 *) as_fn_error $? "Argument to enable/disable libstdcxx-visibility must be yes or no" "$LINENO" 5 ;;
74815 esac
74816
74817 else
74818 enable_libstdcxx_visibility=yes
74819 fi
74820
74821
74822
74823 if test x$enable_libstdcxx_visibility = xyes ; then
74824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the target supports hidden visibility" >&5
74825 $as_echo_n "checking whether the target supports hidden visibility... " >&6; }
74826 if ${glibcxx_cv_have_attribute_visibility+:} false; then :
74827 $as_echo_n "(cached) " >&6
74828 else
74829
74830 save_CFLAGS="$CFLAGS"
74831 CFLAGS="$CFLAGS -Werror"
74832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74833 /* end confdefs.h. */
74834 void __attribute__((visibility("hidden"))) foo(void) { }
74835 int
74836 main ()
74837 {
74838
74839 ;
74840 return 0;
74841 }
74842 _ACEOF
74843 if ac_fn_c_try_compile "$LINENO"; then :
74844 glibcxx_cv_have_attribute_visibility=yes
74845 else
74846 glibcxx_cv_have_attribute_visibility=no
74847 fi
74848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74849 CFLAGS="$save_CFLAGS"
74850 fi
74851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_have_attribute_visibility" >&5
74852 $as_echo "$glibcxx_cv_have_attribute_visibility" >&6; }
74853 if test $glibcxx_cv_have_attribute_visibility = no; then
74854 enable_libstdcxx_visibility=no
74855 fi
74856 fi
74857
74858
74859 { $as_echo "$as_me:${as_lineno-$LINENO}: visibility supported: $enable_libstdcxx_visibility" >&5
74860 $as_echo "$as_me: visibility supported: $enable_libstdcxx_visibility" >&6;}
74861
74862
74863
74864 # Check whether --enable-libstdcxx-dual-abi was given.
74865 if test "${enable_libstdcxx_dual_abi+set}" = set; then :
74866 enableval=$enable_libstdcxx_dual_abi;
74867 case "$enableval" in
74868 yes|no) ;;
74869 *) as_fn_error $? "Argument to enable/disable libstdcxx-dual-abi must be yes or no" "$LINENO" 5 ;;
74870 esac
74871
74872 else
74873 enable_libstdcxx_dual_abi=yes
74874 fi
74875
74876
74877 if test x$enable_symvers = xgnu-versioned-namespace; then
74878 # gnu-versioned-namespace is incompatible with the dual ABI.
74879 enable_libstdcxx_dual_abi="no"
74880 fi
74881 if test x"$enable_libstdcxx_dual_abi" != xyes; then
74882 { $as_echo "$as_me:${as_lineno-$LINENO}: dual ABI is disabled" >&5
74883 $as_echo "$as_me: dual ABI is disabled" >&6;}
74884 default_libstdcxx_abi="gcc4-compatible"
74885 fi
74886
74887
74888
74889 if test x$enable_libstdcxx_dual_abi = xyes; then
74890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for default std::string ABI to use" >&5
74891 $as_echo_n "checking for default std::string ABI to use... " >&6; }
74892
74893 # Check whether --with-default-libstdcxx-abi was given.
74894 if test "${with_default_libstdcxx_abi+set}" = set; then :
74895 withval=$with_default_libstdcxx_abi; case "$withval" in
74896 gcc4-compatible) default_libstdcxx_abi="gcc4-compatible" ;;
74897 new|cxx11) default_libstdcxx_abi="new" ;;
74898 c++*|gnu++*) as_fn_error $? "Supported arguments for --with-default-libstdcxx-abi have changed, use \"new\" or \"gcc4-compatible\"" "$LINENO" 5 ;;
74899 *) as_fn_error $? "Invalid argument for --with-default-libstdcxx-abi" "$LINENO" 5 ;;
74900 esac
74901
74902 else
74903 default_libstdcxx_abi="new"
74904 fi
74905
74906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${default_libstdcxx_abi}" >&5
74907 $as_echo "${default_libstdcxx_abi}" >&6; }
74908 fi
74909 if test $default_libstdcxx_abi = "new"; then
74910 glibcxx_cxx11_abi=1
74911 glibcxx_cxx98_abi=0
74912 else
74913 glibcxx_cxx11_abi=0
74914 glibcxx_cxx98_abi=1
74915 fi
74916
74917
74918
74919
74920 ac_ldbl_compat=no
74921 ac_ldbl_alt128_compat=no
74922 ac_ldbl_ieee128_default=no
74923 LONG_DOUBLE_COMPAT_FLAGS="-mlong-double-64"
74924 LONG_DOUBLE_128_FLAGS=
74925 LONG_DOUBLE_ALT128_COMPAT_FLAGS=
74926 case "$target" in
74927 powerpc*-*-linux* | \
74928 sparc*-*-linux* | \
74929 s390*-*-linux* | \
74930 alpha*-*-linux*)
74931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74932 /* end confdefs.h. */
74933
74934 int
74935 main ()
74936 {
74937
74938 #if !defined __LONG_DOUBLE_128__ || (defined(__sparc__) && defined(__arch64__))
74939 #error no need for long double compatibility
74940 #endif
74941
74942 ;
74943 return 0;
74944 }
74945 _ACEOF
74946 if ac_fn_c_try_compile "$LINENO"; then :
74947 ac_ldbl_compat=yes
74948 else
74949 ac_ldbl_compat=no
74950 fi
74951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
74952 if test "$ac_ldbl_compat" = yes; then
74953
74954 $as_echo "#define _GLIBCXX_LONG_DOUBLE_COMPAT 1" >>confdefs.h
74955
74956 port_specific_symbol_files="\$(top_srcdir)/config/os/gnu-linux/ldbl-extra.ver"
74957 case "$target" in
74958 powerpc*-*-linux*)
74959 LONG_DOUBLE_COMPAT_FLAGS="$LONG_DOUBLE_COMPAT_FLAGS -mno-gnu-attribute"
74960 # Check for IEEE128 support in libm:
74961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __frexpieee128 in -lm" >&5
74962 $as_echo_n "checking for __frexpieee128 in -lm... " >&6; }
74963 if ${ac_cv_lib_m___frexpieee128+:} false; then :
74964 $as_echo_n "(cached) " >&6
74965 else
74966 ac_check_lib_save_LIBS=$LIBS
74967 LIBS="-lm $LIBS"
74968 if test x$gcc_no_link = xyes; then
74969 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
74970 fi
74971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
74972 /* end confdefs.h. */
74973
74974 /* Override any GCC internal prototype to avoid an error.
74975 Use char because int might match the return type of a GCC
74976 builtin and then its argument prototype would still apply. */
74977 #ifdef __cplusplus
74978 extern "C"
74979 #endif
74980 char __frexpieee128 ();
74981 int
74982 main ()
74983 {
74984 return __frexpieee128 ();
74985 ;
74986 return 0;
74987 }
74988 _ACEOF
74989 if ac_fn_c_try_link "$LINENO"; then :
74990 ac_cv_lib_m___frexpieee128=yes
74991 else
74992 ac_cv_lib_m___frexpieee128=no
74993 fi
74994 rm -f core conftest.err conftest.$ac_objext \
74995 conftest$ac_exeext conftest.$ac_ext
74996 LIBS=$ac_check_lib_save_LIBS
74997 fi
74998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_m___frexpieee128" >&5
74999 $as_echo "$ac_cv_lib_m___frexpieee128" >&6; }
75000 if test "x$ac_cv_lib_m___frexpieee128" = xyes; then :
75001 ac_ldbl_ieee128_in_libc=yes
75002 else
75003 ac_ldbl_ieee128_in_libc=no
75004 fi
75005
75006 if test $ac_ldbl_ieee128_in_libc = yes; then
75007 # Determine which long double format is the compiler's default:
75008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75009 /* end confdefs.h. */
75010
75011 int
75012 main ()
75013 {
75014
75015 #ifndef __LONG_DOUBLE_IEEE128__
75016 #error compiler defaults to ibm128
75017 #endif
75018
75019 ;
75020 return 0;
75021 }
75022 _ACEOF
75023 if ac_fn_c_try_compile "$LINENO"; then :
75024 ac_ldbl_ieee128_default=yes
75025 else
75026 ac_ldbl_ieee128_default=no
75027 fi
75028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75029 # Library objects should use default long double format.
75030 if test "$ac_ldbl_ieee128_default" = yes; then
75031 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75032 # Except for the ones that explicitly use these flags:
75033 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ibmlongdouble -mno-gnu-attribute -Wno-psabi"
75034 else
75035 LONG_DOUBLE_128_FLAGS="-mno-gnu-attribute"
75036 LONG_DOUBLE_ALT128_COMPAT_FLAGS="-mabi=ieeelongdouble -mno-gnu-attribute -Wno-psabi"
75037 fi
75038
75039 $as_echo "#define _GLIBCXX_LONG_DOUBLE_ALT128_COMPAT 1" >>confdefs.h
75040
75041 port_specific_symbol_files="$port_specific_symbol_files \$(top_srcdir)/config/os/gnu-linux/ldbl-ieee128-extra.ver"
75042 ac_ldbl_alt128_compat=yes
75043 else
75044 ac_ldbl_alt128_compat=no
75045 fi
75046 ;;
75047 esac
75048 fi
75049 esac
75050
75051
75052
75053
75054
75055
75056 # Check if assembler supports disabling hardware capability support.
75057
75058 test -z "$HWCAP_CFLAGS" && HWCAP_CFLAGS=''
75059
75060 # Restrict the test to Solaris, other assemblers (e.g. AIX as) have -nH
75061 # with a different meaning.
75062 case ${target_os} in
75063 solaris2*)
75064 ac_save_CFLAGS="$CFLAGS"
75065 CFLAGS="$CFLAGS -Wa,-nH"
75066
75067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for as that supports -Wa,-nH" >&5
75068 $as_echo_n "checking for as that supports -Wa,-nH... " >&6; }
75069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75070 /* end confdefs.h. */
75071
75072 int
75073 main ()
75074 {
75075 return 0;
75076 ;
75077 return 0;
75078 }
75079 _ACEOF
75080 if ac_fn_c_try_compile "$LINENO"; then :
75081 ac_hwcap_flags=yes
75082 else
75083 ac_hwcap_flags=no
75084 fi
75085 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75086 if test "$ac_hwcap_flags" = "yes"; then
75087 HWCAP_CFLAGS="-Wa,-nH $HWCAP_CFLAGS"
75088 fi
75089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_hwcap_flags" >&5
75090 $as_echo "$ac_hwcap_flags" >&6; }
75091
75092 CFLAGS="$ac_save_CFLAGS"
75093 ;;
75094 esac
75095
75096
75097
75098
75099 # Check if assembler supports rdrand opcode.
75100
75101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdrand support in assembler" >&5
75102 $as_echo_n "checking for rdrand support in assembler... " >&6; }
75103 if ${ac_cv_x86_rdrand+:} false; then :
75104 $as_echo_n "(cached) " >&6
75105 else
75106
75107 ac_cv_x86_rdrand=no
75108 case "$target" in
75109 i?86-*-* | \
75110 x86_64-*-*)
75111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75112 /* end confdefs.h. */
75113
75114 int
75115 main ()
75116 {
75117 asm("rdrand %eax");
75118 ;
75119 return 0;
75120 }
75121 _ACEOF
75122 if ac_fn_c_try_compile "$LINENO"; then :
75123 ac_cv_x86_rdrand=yes
75124 else
75125 ac_cv_x86_rdrand=no
75126 fi
75127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75128 esac
75129
75130 fi
75131
75132 if test $ac_cv_x86_rdrand = yes; then
75133
75134 $as_echo "#define _GLIBCXX_X86_RDRAND 1" >>confdefs.h
75135
75136 fi
75137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdrand" >&5
75138 $as_echo "$ac_cv_x86_rdrand" >&6; }
75139
75140 # Check if assembler supports rdseed opcode.
75141
75142 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for rdseed support in assembler" >&5
75143 $as_echo_n "checking for rdseed support in assembler... " >&6; }
75144 if ${ac_cv_x86_rdseed+:} false; then :
75145 $as_echo_n "(cached) " >&6
75146 else
75147
75148 ac_cv_x86_rdseed=no
75149 case "$target" in
75150 i?86-*-* | \
75151 x86_64-*-*)
75152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75153 /* end confdefs.h. */
75154
75155 int
75156 main ()
75157 {
75158 asm("rdseed %eax");
75159 ;
75160 return 0;
75161 }
75162 _ACEOF
75163 if ac_fn_c_try_compile "$LINENO"; then :
75164 ac_cv_x86_rdseed=yes
75165 else
75166 ac_cv_x86_rdseed=no
75167 fi
75168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75169 esac
75170
75171 fi
75172
75173 if test $ac_cv_x86_rdseed = yes; then
75174
75175 $as_echo "#define _GLIBCXX_X86_RDSEED 1" >>confdefs.h
75176
75177 fi
75178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_x86_rdseed" >&5
75179 $as_echo "$ac_cv_x86_rdseed" >&6; }
75180
75181
75182 # This depends on GLIBCXX_ENABLE_SYMVERS and GLIBCXX_IS_NATIVE.
75183
75184 # Do checks for resource limit functions.
75185
75186
75187 ac_ext=cpp
75188 ac_cpp='$CXXCPP $CPPFLAGS'
75189 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75190 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75191 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75192
75193 setrlimit_have_headers=yes
75194 for ac_header in unistd.h sys/time.h sys/resource.h
75195 do :
75196 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75197 ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75198 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75199 cat >>confdefs.h <<_ACEOF
75200 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75201 _ACEOF
75202
75203 else
75204 setrlimit_have_headers=no
75205 fi
75206
75207 done
75208
75209 # If don't have the headers, then we can't run the tests now, and we
75210 # won't be seeing any of these during testsuite compilation.
75211 if test $setrlimit_have_headers = yes; then
75212 # Can't do these in a loop, else the resulting syntax is wrong.
75213
75214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_DATA" >&5
75215 $as_echo_n "checking for RLIMIT_DATA... " >&6; }
75216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75217 /* end confdefs.h. */
75218 #include <unistd.h>
75219 #include <sys/time.h>
75220 #include <sys/resource.h>
75221
75222 int
75223 main ()
75224 {
75225 int f = RLIMIT_DATA ;
75226 ;
75227 return 0;
75228 }
75229 _ACEOF
75230 if ac_fn_cxx_try_compile "$LINENO"; then :
75231 glibcxx_mresult=1
75232 else
75233 glibcxx_mresult=0
75234 fi
75235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75236
75237 cat >>confdefs.h <<_ACEOF
75238 #define HAVE_LIMIT_DATA $glibcxx_mresult
75239 _ACEOF
75240
75241 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75243 $as_echo "$res" >&6; }
75244
75245
75246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_RSS" >&5
75247 $as_echo_n "checking for RLIMIT_RSS... " >&6; }
75248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75249 /* end confdefs.h. */
75250 #include <unistd.h>
75251 #include <sys/time.h>
75252 #include <sys/resource.h>
75253
75254 int
75255 main ()
75256 {
75257 int f = RLIMIT_RSS ;
75258 ;
75259 return 0;
75260 }
75261 _ACEOF
75262 if ac_fn_cxx_try_compile "$LINENO"; then :
75263 glibcxx_mresult=1
75264 else
75265 glibcxx_mresult=0
75266 fi
75267 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75268
75269 cat >>confdefs.h <<_ACEOF
75270 #define HAVE_LIMIT_RSS $glibcxx_mresult
75271 _ACEOF
75272
75273 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75275 $as_echo "$res" >&6; }
75276
75277
75278 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_VMEM" >&5
75279 $as_echo_n "checking for RLIMIT_VMEM... " >&6; }
75280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75281 /* end confdefs.h. */
75282 #include <unistd.h>
75283 #include <sys/time.h>
75284 #include <sys/resource.h>
75285
75286 int
75287 main ()
75288 {
75289 int f = RLIMIT_VMEM ;
75290 ;
75291 return 0;
75292 }
75293 _ACEOF
75294 if ac_fn_cxx_try_compile "$LINENO"; then :
75295 glibcxx_mresult=1
75296 else
75297 glibcxx_mresult=0
75298 fi
75299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75300
75301 cat >>confdefs.h <<_ACEOF
75302 #define HAVE_LIMIT_VMEM $glibcxx_mresult
75303 _ACEOF
75304
75305 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75307 $as_echo "$res" >&6; }
75308
75309
75310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_AS" >&5
75311 $as_echo_n "checking for RLIMIT_AS... " >&6; }
75312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75313 /* end confdefs.h. */
75314 #include <unistd.h>
75315 #include <sys/time.h>
75316 #include <sys/resource.h>
75317
75318 int
75319 main ()
75320 {
75321 int f = RLIMIT_AS ;
75322 ;
75323 return 0;
75324 }
75325 _ACEOF
75326 if ac_fn_cxx_try_compile "$LINENO"; then :
75327 glibcxx_mresult=1
75328 else
75329 glibcxx_mresult=0
75330 fi
75331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75332
75333 cat >>confdefs.h <<_ACEOF
75334 #define HAVE_LIMIT_AS $glibcxx_mresult
75335 _ACEOF
75336
75337 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75339 $as_echo "$res" >&6; }
75340
75341
75342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for RLIMIT_FSIZE" >&5
75343 $as_echo_n "checking for RLIMIT_FSIZE... " >&6; }
75344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75345 /* end confdefs.h. */
75346 #include <unistd.h>
75347 #include <sys/time.h>
75348 #include <sys/resource.h>
75349
75350 int
75351 main ()
75352 {
75353 int f = RLIMIT_FSIZE ;
75354 ;
75355 return 0;
75356 }
75357 _ACEOF
75358 if ac_fn_cxx_try_compile "$LINENO"; then :
75359 glibcxx_mresult=1
75360 else
75361 glibcxx_mresult=0
75362 fi
75363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75364
75365 cat >>confdefs.h <<_ACEOF
75366 #define HAVE_LIMIT_FSIZE $glibcxx_mresult
75367 _ACEOF
75368
75369 if test $glibcxx_mresult = 1 ; then res=yes ; else res=no ; fi
75370 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res" >&5
75371 $as_echo "$res" >&6; }
75372
75373
75374 # Check for rlimit, setrlimit.
75375 if ${glibcxx_cv_setrlimit+:} false; then :
75376 $as_echo_n "(cached) " >&6
75377 else
75378
75379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75380 /* end confdefs.h. */
75381 #include <unistd.h>
75382 #include <sys/time.h>
75383 #include <sys/resource.h>
75384
75385 int
75386 main ()
75387 {
75388 struct rlimit r;
75389 setrlimit(0, &r);
75390 ;
75391 return 0;
75392 }
75393 _ACEOF
75394 if ac_fn_cxx_try_compile "$LINENO"; then :
75395 glibcxx_cv_setrlimit=yes
75396 else
75397 glibcxx_cv_setrlimit=no
75398 fi
75399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75400
75401 fi
75402
75403 fi
75404
75405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for testsuite resource limits support" >&5
75406 $as_echo_n "checking for testsuite resource limits support... " >&6; }
75407 if test $setrlimit_have_headers = yes && test $glibcxx_cv_setrlimit = yes; then
75408 ac_res_limits=yes
75409
75410 $as_echo "#define _GLIBCXX_RES_LIMITS 1" >>confdefs.h
75411
75412 else
75413 ac_res_limits=no
75414 fi
75415 ac_ext=c
75416 ac_cpp='$CPP $CPPFLAGS'
75417 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75418 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75419 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75420
75421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res_limits" >&5
75422 $as_echo "$ac_res_limits" >&6; }
75423
75424
75425 if $GLIBCXX_IS_NATIVE ; then
75426 # Look for setenv, so that extended locale tests can be performed.
75427
75428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for setenv declaration" >&5
75429 $as_echo_n "checking for setenv declaration... " >&6; }
75430 if test x${glibcxx_cv_func_setenv_use+set} != xset; then
75431 if ${glibcxx_cv_func_setenv_use+:} false; then :
75432 $as_echo_n "(cached) " >&6
75433 else
75434
75435
75436 ac_ext=cpp
75437 ac_cpp='$CXXCPP $CPPFLAGS'
75438 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75439 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75440 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75441
75442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75443 /* end confdefs.h. */
75444 #include <stdlib.h>
75445 int
75446 main ()
75447 {
75448 setenv(0, 0, 0);
75449 ;
75450 return 0;
75451 }
75452 _ACEOF
75453 if ac_fn_cxx_try_compile "$LINENO"; then :
75454 glibcxx_cv_func_setenv_use=yes
75455 else
75456 glibcxx_cv_func_setenv_use=no
75457 fi
75458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75459 ac_ext=c
75460 ac_cpp='$CPP $CPPFLAGS'
75461 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75462 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75463 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75464
75465
75466 fi
75467
75468 fi
75469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_func_setenv_use" >&5
75470 $as_echo "$glibcxx_cv_func_setenv_use" >&6; }
75471 if test x$glibcxx_cv_func_setenv_use = x"yes"; then
75472 for ac_func in setenv
75473 do :
75474 ac_fn_c_check_func "$LINENO" "setenv" "ac_cv_func_setenv"
75475 if test "x$ac_cv_func_setenv" = xyes; then :
75476 cat >>confdefs.h <<_ACEOF
75477 #define HAVE_SETENV 1
75478 _ACEOF
75479
75480 fi
75481 done
75482
75483 fi
75484
75485 fi
75486
75487 if $GLIBCXX_IS_NATIVE && test $is_hosted = yes &&
75488 test $enable_symvers != no; then
75489 case "$host" in
75490 *-*-cygwin*)
75491 enable_abi_check=no ;;
75492 *)
75493 enable_abi_check=yes ;;
75494 esac
75495 else
75496 # Only build this as native, since automake does not understand
75497 # CXX_FOR_BUILD.
75498 enable_abi_check=no
75499 fi
75500
75501 # Export file names for ABI checking.
75502 baseline_dir="$glibcxx_srcdir/config/abi/post/${abi_baseline_pair}"
75503
75504 baseline_subdir_switch="$abi_baseline_subdir_switch"
75505
75506
75507
75508 # For gthread support. Depends on GLIBCXX_ENABLE_SYMVERS.
75509
75510 # Check whether --enable-libstdcxx-threads was given.
75511 if test "${enable_libstdcxx_threads+set}" = set; then :
75512 enableval=$enable_libstdcxx_threads;
75513 case "$enableval" in
75514 yes|no) ;;
75515 *) as_fn_error $? "Argument to enable/disable libstdcxx-threads must be yes or no" "$LINENO" 5 ;;
75516 esac
75517
75518 else
75519 enable_libstdcxx_threads=auto
75520 fi
75521
75522
75523
75524 if test x$enable_libstdcxx_threads = xauto ||
75525 test x$enable_libstdcxx_threads = xyes; then
75526
75527
75528 ac_ext=cpp
75529 ac_cpp='$CXXCPP $CPPFLAGS'
75530 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75531 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75532 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75533
75534
75535 ac_save_CXXFLAGS="$CXXFLAGS"
75536 CXXFLAGS="$CXXFLAGS -fno-exceptions \
75537 -I${toplevel_srcdir}/libgcc -I${toplevel_builddir}/libgcc"
75538
75539 target_thread_file=`$CXX -v 2>&1 | sed -n 's/^Thread model: //p'`
75540 case $target_thread_file in
75541 posix)
75542 CXXFLAGS="$CXXFLAGS -DSUPPORTS_WEAK -DGTHREAD_USE_WEAK -D_PTHREADS"
75543 esac
75544
75545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether it can be safely assumed that mutex_timedlock is available" >&5
75546 $as_echo_n "checking whether it can be safely assumed that mutex_timedlock is available... " >&6; }
75547
75548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75549 /* end confdefs.h. */
75550 #include <unistd.h>
75551 int
75552 main ()
75553 {
75554
75555 // In case of POSIX threads check _POSIX_TIMEOUTS.
75556 #if (defined(_PTHREADS) \
75557 && (!defined(_POSIX_TIMEOUTS) || _POSIX_TIMEOUTS <= 0))
75558 #error
75559 #endif
75560
75561 ;
75562 return 0;
75563 }
75564 _ACEOF
75565 if ac_fn_cxx_try_compile "$LINENO"; then :
75566 ac_gthread_use_mutex_timedlock=1
75567 else
75568 ac_gthread_use_mutex_timedlock=0
75569 fi
75570 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75571
75572
75573 cat >>confdefs.h <<_ACEOF
75574 #define _GTHREAD_USE_MUTEX_TIMEDLOCK $ac_gthread_use_mutex_timedlock
75575 _ACEOF
75576
75577
75578 if test $ac_gthread_use_mutex_timedlock = 1 ; then res_mutex_timedlock=yes ;
75579 else res_mutex_timedlock=no ; fi
75580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $res_mutex_timedlock" >&5
75581 $as_echo "$res_mutex_timedlock" >&6; }
75582
75583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gthreads library" >&5
75584 $as_echo_n "checking for gthreads library... " >&6; }
75585
75586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75587 /* end confdefs.h. */
75588 #include "gthr.h"
75589 int
75590 main ()
75591 {
75592
75593 #ifndef __GTHREADS_CXX0X
75594 #error
75595 #endif
75596
75597 ;
75598 return 0;
75599 }
75600 _ACEOF
75601 if ac_fn_cxx_try_compile "$LINENO"; then :
75602 ac_has_gthreads=yes
75603 else
75604 ac_has_gthreads=no
75605 fi
75606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75607 else
75608 ac_has_gthreads=no
75609 fi
75610
75611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_has_gthreads" >&5
75612 $as_echo "$ac_has_gthreads" >&6; }
75613
75614 if test x"$ac_has_gthreads" = x"yes"; then
75615
75616 $as_echo "#define _GLIBCXX_HAS_GTHREADS 1" >>confdefs.h
75617
75618
75619 # Also check for pthread_rwlock_t for std::shared_timed_mutex in C++14
75620 # but only do so if we're using pthread in the gthread library.
75621 # On VxWorks for example, pthread_rwlock_t is defined in sys/types.h
75622 # but the pthread library is not there by default and the gthread library
75623 # does not use it.
75624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75625 /* end confdefs.h. */
75626 #include "gthr.h"
75627 int
75628 main ()
75629 {
75630
75631 #if (!defined(_PTHREADS))
75632 #error
75633 #endif
75634
75635 ;
75636 return 0;
75637 }
75638 _ACEOF
75639 if ac_fn_cxx_try_compile "$LINENO"; then :
75640 ac_gthread_use_pthreads=yes
75641 else
75642 ac_gthread_use_pthreads=no
75643 fi
75644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75645 if test x"$ac_gthread_use_pthreads" = x"yes"; then
75646 ac_fn_cxx_check_type "$LINENO" "pthread_rwlock_t" "ac_cv_type_pthread_rwlock_t" "#include \"gthr.h\"
75647 "
75648 if test "x$ac_cv_type_pthread_rwlock_t" = xyes; then :
75649
75650 $as_echo "#define _GLIBCXX_USE_PTHREAD_RWLOCK_T 1" >>confdefs.h
75651
75652 fi
75653
75654 fi
75655 fi
75656
75657 ac_fn_cxx_check_header_mongrel "$LINENO" "semaphore.h" "ac_cv_header_semaphore_h" "$ac_includes_default"
75658 if test "x$ac_cv_header_semaphore_h" = xyes; then :
75659
75660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for POSIX Semaphores and sem_timedwait" >&5
75661 $as_echo_n "checking for POSIX Semaphores and sem_timedwait... " >&6; }
75662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75663 /* end confdefs.h. */
75664
75665 #include <unistd.h>
75666 #include <semaphore.h>
75667 #include <limits.h>
75668
75669 int
75670 main ()
75671 {
75672
75673 #if !defined _POSIX_TIMEOUTS || _POSIX_TIMEOUTS <= 0
75674 # error "POSIX Timeouts option not supported"
75675 #elif !defined _POSIX_SEMAPHORES || _POSIX_SEMAPHORES <= 0
75676 # error "POSIX Semaphores option not supported"
75677 #else
75678 #if defined SEM_VALUE_MAX
75679 constexpr int sem_value_max = SEM_VALUE_MAX;
75680 #elif defined _POSIX_SEM_VALUE_MAX
75681 constexpr int sem_value_max = _POSIX_SEM_VALUE_MAX;
75682 #else
75683 # error "SEM_VALUE_MAX not available"
75684 #endif
75685 sem_t sem;
75686 sem_init(&sem, 0, sem_value_max);
75687 struct timespec ts = { 0 };
75688 sem_timedwait(&sem, &ts);
75689 #endif
75690
75691 ;
75692 return 0;
75693 }
75694 _ACEOF
75695 if ac_fn_cxx_try_compile "$LINENO"; then :
75696 ac_have_posix_semaphore=yes
75697 else
75698 ac_have_posix_semaphore=no
75699 fi
75700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75701 else
75702 ac_have_posix_semaphore=no
75703 fi
75704
75705
75706
75707 if test $ac_have_posix_semaphore = yes ; then
75708
75709 $as_echo "#define HAVE_POSIX_SEMAPHORE 1" >>confdefs.h
75710
75711 fi
75712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_have_posix_semaphore" >&5
75713 $as_echo "$ac_have_posix_semaphore" >&6; }
75714
75715 CXXFLAGS="$ac_save_CXXFLAGS"
75716 ac_ext=c
75717 ac_cpp='$CPP $CPPFLAGS'
75718 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75719 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75720 ac_compiler_gnu=$ac_cv_c_compiler_gnu
75721
75722
75723
75724 # For Filesystem TS.
75725 for ac_header in fcntl.h dirent.h sys/statvfs.h utime.h
75726 do :
75727 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
75728 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
75729 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
75730 cat >>confdefs.h <<_ACEOF
75731 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
75732 _ACEOF
75733
75734 fi
75735
75736 done
75737
75738
75739 # Check whether --enable-libstdcxx-filesystem-ts was given.
75740 if test "${enable_libstdcxx_filesystem_ts+set}" = set; then :
75741 enableval=$enable_libstdcxx_filesystem_ts;
75742 case "$enableval" in
75743 yes|no|auto) ;;
75744 *) as_fn_error $? "Unknown argument to enable/disable libstdcxx-filesystem-ts" "$LINENO" 5 ;;
75745 esac
75746
75747 else
75748 enable_libstdcxx_filesystem_ts=auto
75749 fi
75750
75751
75752
75753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether to build Filesystem TS support" >&5
75754 $as_echo_n "checking whether to build Filesystem TS support... " >&6; }
75755 if test x"$ac_cv_header_dirent_h" != x"yes"; then
75756 enable_libstdcxx_filesystem_ts=no
75757 fi
75758 if test x"$enable_libstdcxx_filesystem_ts" = x"auto"; then
75759 case "${target_os}" in
75760 freebsd*|netbsd*|openbsd*|dragonfly*|darwin*)
75761 enable_libstdcxx_filesystem_ts=yes
75762 ;;
75763 gnu* | linux* | kfreebsd*-gnu | knetbsd*-gnu | uclinux*)
75764 enable_libstdcxx_filesystem_ts=yes
75765 ;;
75766 rtems*)
75767 enable_libstdcxx_filesystem_ts=yes
75768 ;;
75769 solaris*)
75770 enable_libstdcxx_filesystem_ts=yes
75771 ;;
75772 mingw*)
75773 enable_libstdcxx_filesystem_ts=yes
75774 ;;
75775 *)
75776 enable_libstdcxx_filesystem_ts=no
75777 ;;
75778 esac
75779 fi
75780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $enable_libstdcxx_filesystem_ts" >&5
75781 $as_echo "$enable_libstdcxx_filesystem_ts" >&6; }
75782
75783
75784
75785 ac_ext=cpp
75786 ac_cpp='$CXXCPP $CPPFLAGS'
75787 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
75788 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
75789 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
75790
75791 ac_save_CXXFLAGS="$CXXFLAGS"
75792 CXXFLAGS="$CXXFLAGS -fno-exceptions"
75793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct dirent.d_type" >&5
75794 $as_echo_n "checking for struct dirent.d_type... " >&6; }
75795 if ${glibcxx_cv_dirent_d_type+:} false; then :
75796 $as_echo_n "(cached) " >&6
75797 else
75798 if test x$gcc_no_link = xyes; then
75799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75800 /* end confdefs.h. */
75801 #include <dirent.h>
75802 int
75803 main ()
75804 {
75805
75806 struct dirent d;
75807 if (sizeof d.d_type) return 0;
75808
75809 ;
75810 return 0;
75811 }
75812 _ACEOF
75813 if ac_fn_cxx_try_compile "$LINENO"; then :
75814 glibcxx_cv_dirent_d_type=yes
75815 else
75816 glibcxx_cv_dirent_d_type=no
75817 fi
75818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75819 else
75820 if test x$gcc_no_link = xyes; then
75821 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75822 fi
75823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75824 /* end confdefs.h. */
75825 #include <dirent.h>
75826 int
75827 main ()
75828 {
75829
75830 struct dirent d;
75831 if (sizeof d.d_type) return 0;
75832
75833 ;
75834 return 0;
75835 }
75836 _ACEOF
75837 if ac_fn_cxx_try_link "$LINENO"; then :
75838 glibcxx_cv_dirent_d_type=yes
75839 else
75840 glibcxx_cv_dirent_d_type=no
75841 fi
75842 rm -f core conftest.err conftest.$ac_objext \
75843 conftest$ac_exeext conftest.$ac_ext
75844 fi
75845
75846 fi
75847
75848 if test $glibcxx_cv_dirent_d_type = yes; then
75849
75850 $as_echo "#define HAVE_STRUCT_DIRENT_D_TYPE 1" >>confdefs.h
75851
75852 fi
75853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_dirent_d_type" >&5
75854 $as_echo "$glibcxx_cv_dirent_d_type" >&6; }
75855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for realpath" >&5
75856 $as_echo_n "checking for realpath... " >&6; }
75857 if ${glibcxx_cv_realpath+:} false; then :
75858 $as_echo_n "(cached) " >&6
75859 else
75860 if test x$gcc_no_link = xyes; then
75861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75862 /* end confdefs.h. */
75863
75864 #include <limits.h>
75865 #include <stdlib.h>
75866 #include <unistd.h>
75867
75868 int
75869 main ()
75870 {
75871
75872 #if _XOPEN_VERSION < 500
75873 #error
75874 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
75875 char *tmp = realpath((const char*)NULL, (char*)NULL);
75876 #else
75877 #error
75878 #endif
75879
75880 ;
75881 return 0;
75882 }
75883 _ACEOF
75884 if ac_fn_cxx_try_compile "$LINENO"; then :
75885 glibcxx_cv_realpath=yes
75886 else
75887 glibcxx_cv_realpath=no
75888 fi
75889 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75890 else
75891 if test x$gcc_no_link = xyes; then
75892 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75893 fi
75894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75895 /* end confdefs.h. */
75896
75897 #include <limits.h>
75898 #include <stdlib.h>
75899 #include <unistd.h>
75900
75901 int
75902 main ()
75903 {
75904
75905 #if _XOPEN_VERSION < 500
75906 #error
75907 #elif _XOPEN_VERSION >= 700 || defined(PATH_MAX)
75908 char *tmp = realpath((const char*)NULL, (char*)NULL);
75909 #else
75910 #error
75911 #endif
75912
75913 ;
75914 return 0;
75915 }
75916 _ACEOF
75917 if ac_fn_cxx_try_link "$LINENO"; then :
75918 glibcxx_cv_realpath=yes
75919 else
75920 glibcxx_cv_realpath=no
75921 fi
75922 rm -f core conftest.err conftest.$ac_objext \
75923 conftest$ac_exeext conftest.$ac_ext
75924 fi
75925
75926 fi
75927
75928 if test $glibcxx_cv_realpath = yes; then
75929
75930 $as_echo "#define _GLIBCXX_USE_REALPATH 1" >>confdefs.h
75931
75932 fi
75933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_realpath" >&5
75934 $as_echo "$glibcxx_cv_realpath" >&6; }
75935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utimensat" >&5
75936 $as_echo_n "checking for utimensat... " >&6; }
75937 if ${glibcxx_cv_utimensat+:} false; then :
75938 $as_echo_n "(cached) " >&6
75939 else
75940 if test x$gcc_no_link = xyes; then
75941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75942 /* end confdefs.h. */
75943
75944 #include <fcntl.h>
75945 #include <sys/stat.h>
75946
75947 int
75948 main ()
75949 {
75950
75951 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
75952 int i = utimensat(AT_FDCWD, "path", ts, 0);
75953
75954 ;
75955 return 0;
75956 }
75957 _ACEOF
75958 if ac_fn_cxx_try_compile "$LINENO"; then :
75959 glibcxx_cv_utimensat=yes
75960 else
75961 glibcxx_cv_utimensat=no
75962 fi
75963 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
75964 else
75965 if test x$gcc_no_link = xyes; then
75966 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
75967 fi
75968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
75969 /* end confdefs.h. */
75970
75971 #include <fcntl.h>
75972 #include <sys/stat.h>
75973
75974 int
75975 main ()
75976 {
75977
75978 struct timespec ts[2] = { { 0, UTIME_OMIT }, { 1, 1 } };
75979 int i = utimensat(AT_FDCWD, "path", ts, 0);
75980
75981 ;
75982 return 0;
75983 }
75984 _ACEOF
75985 if ac_fn_cxx_try_link "$LINENO"; then :
75986 glibcxx_cv_utimensat=yes
75987 else
75988 glibcxx_cv_utimensat=no
75989 fi
75990 rm -f core conftest.err conftest.$ac_objext \
75991 conftest$ac_exeext conftest.$ac_ext
75992 fi
75993
75994 fi
75995
75996 if test $glibcxx_cv_utimensat = yes; then
75997
75998 $as_echo "#define _GLIBCXX_USE_UTIMENSAT 1" >>confdefs.h
75999
76000 fi
76001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utimensat" >&5
76002 $as_echo "$glibcxx_cv_utimensat" >&6; }
76003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for utime" >&5
76004 $as_echo_n "checking for utime... " >&6; }
76005 if ${glibcxx_cv_utime+:} false; then :
76006 $as_echo_n "(cached) " >&6
76007 else
76008 if test x$gcc_no_link = xyes; then
76009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76010 /* end confdefs.h. */
76011
76012 #include <utime.h>
76013
76014 int
76015 main ()
76016 {
76017
76018 struct utimbuf t = { 1, 1 };
76019 int i = utime("path", &t);
76020
76021 ;
76022 return 0;
76023 }
76024 _ACEOF
76025 if ac_fn_cxx_try_compile "$LINENO"; then :
76026 glibcxx_cv_utime=yes
76027 else
76028 glibcxx_cv_utime=no
76029 fi
76030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76031 else
76032 if test x$gcc_no_link = xyes; then
76033 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76034 fi
76035 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76036 /* end confdefs.h. */
76037
76038 #include <utime.h>
76039
76040 int
76041 main ()
76042 {
76043
76044 struct utimbuf t = { 1, 1 };
76045 int i = utime("path", &t);
76046
76047 ;
76048 return 0;
76049 }
76050 _ACEOF
76051 if ac_fn_cxx_try_link "$LINENO"; then :
76052 glibcxx_cv_utime=yes
76053 else
76054 glibcxx_cv_utime=no
76055 fi
76056 rm -f core conftest.err conftest.$ac_objext \
76057 conftest$ac_exeext conftest.$ac_ext
76058 fi
76059
76060 fi
76061
76062 if test $glibcxx_cv_utime = yes; then
76063
76064 $as_echo "#define _GLIBCXX_USE_UTIME 1" >>confdefs.h
76065
76066 fi
76067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_utime" >&5
76068 $as_echo "$glibcxx_cv_utime" >&6; }
76069 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lstat" >&5
76070 $as_echo_n "checking for lstat... " >&6; }
76071 if ${glibcxx_cv_lstat+:} false; then :
76072 $as_echo_n "(cached) " >&6
76073 else
76074 if test x$gcc_no_link = xyes; then
76075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76076 /* end confdefs.h. */
76077 #include <sys/stat.h>
76078 int
76079 main ()
76080 {
76081
76082 struct stat st;
76083 int i = lstat("path", &st);
76084
76085 ;
76086 return 0;
76087 }
76088 _ACEOF
76089 if ac_fn_cxx_try_compile "$LINENO"; then :
76090 glibcxx_cv_lstat=yes
76091 else
76092 glibcxx_cv_lstat=no
76093 fi
76094 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76095 else
76096 if test x$gcc_no_link = xyes; then
76097 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76098 fi
76099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76100 /* end confdefs.h. */
76101 #include <sys/stat.h>
76102 int
76103 main ()
76104 {
76105
76106 struct stat st;
76107 int i = lstat("path", &st);
76108
76109 ;
76110 return 0;
76111 }
76112 _ACEOF
76113 if ac_fn_cxx_try_link "$LINENO"; then :
76114 glibcxx_cv_lstat=yes
76115 else
76116 glibcxx_cv_lstat=no
76117 fi
76118 rm -f core conftest.err conftest.$ac_objext \
76119 conftest$ac_exeext conftest.$ac_ext
76120 fi
76121
76122 fi
76123
76124 if test $glibcxx_cv_lstat = yes; then
76125
76126 $as_echo "#define _GLIBCXX_USE_LSTAT 1" >>confdefs.h
76127
76128 fi
76129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_lstat" >&5
76130 $as_echo "$glibcxx_cv_lstat" >&6; }
76131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for struct stat.st_mtim.tv_nsec" >&5
76132 $as_echo_n "checking for struct stat.st_mtim.tv_nsec... " >&6; }
76133 if ${glibcxx_cv_st_mtim+:} false; then :
76134 $as_echo_n "(cached) " >&6
76135 else
76136 if test x$gcc_no_link = xyes; then
76137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76138 /* end confdefs.h. */
76139 #include <sys/stat.h>
76140 int
76141 main ()
76142 {
76143
76144 struct stat st;
76145 return st.st_mtim.tv_nsec;
76146
76147 ;
76148 return 0;
76149 }
76150 _ACEOF
76151 if ac_fn_cxx_try_compile "$LINENO"; then :
76152 glibcxx_cv_st_mtim=yes
76153 else
76154 glibcxx_cv_st_mtim=no
76155 fi
76156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76157 else
76158 if test x$gcc_no_link = xyes; then
76159 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76160 fi
76161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76162 /* end confdefs.h. */
76163 #include <sys/stat.h>
76164 int
76165 main ()
76166 {
76167
76168 struct stat st;
76169 return st.st_mtim.tv_nsec;
76170
76171 ;
76172 return 0;
76173 }
76174 _ACEOF
76175 if ac_fn_cxx_try_link "$LINENO"; then :
76176 glibcxx_cv_st_mtim=yes
76177 else
76178 glibcxx_cv_st_mtim=no
76179 fi
76180 rm -f core conftest.err conftest.$ac_objext \
76181 conftest$ac_exeext conftest.$ac_ext
76182 fi
76183
76184 fi
76185
76186 if test $glibcxx_cv_st_mtim = yes; then
76187
76188 $as_echo "#define _GLIBCXX_USE_ST_MTIM 1" >>confdefs.h
76189
76190 fi
76191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_st_mtim" >&5
76192 $as_echo "$glibcxx_cv_st_mtim" >&6; }
76193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmod" >&5
76194 $as_echo_n "checking for fchmod... " >&6; }
76195 if ${glibcxx_cv_fchmod+:} false; then :
76196 $as_echo_n "(cached) " >&6
76197 else
76198 if test x$gcc_no_link = xyes; then
76199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76200 /* end confdefs.h. */
76201 #include <sys/stat.h>
76202 int
76203 main ()
76204 {
76205 fchmod(1, S_IWUSR);
76206 ;
76207 return 0;
76208 }
76209 _ACEOF
76210 if ac_fn_cxx_try_compile "$LINENO"; then :
76211 glibcxx_cv_fchmod=yes
76212 else
76213 glibcxx_cv_fchmod=no
76214 fi
76215 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76216 else
76217 if test x$gcc_no_link = xyes; then
76218 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76219 fi
76220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76221 /* end confdefs.h. */
76222 #include <sys/stat.h>
76223 int
76224 main ()
76225 {
76226 fchmod(1, S_IWUSR);
76227 ;
76228 return 0;
76229 }
76230 _ACEOF
76231 if ac_fn_cxx_try_link "$LINENO"; then :
76232 glibcxx_cv_fchmod=yes
76233 else
76234 glibcxx_cv_fchmod=no
76235 fi
76236 rm -f core conftest.err conftest.$ac_objext \
76237 conftest$ac_exeext conftest.$ac_ext
76238 fi
76239
76240 fi
76241
76242 if test $glibcxx_cv_fchmod = yes; then
76243
76244 $as_echo "#define _GLIBCXX_USE_FCHMOD 1" >>confdefs.h
76245
76246 fi
76247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmod" >&5
76248 $as_echo "$glibcxx_cv_fchmod" >&6; }
76249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fchmodat" >&5
76250 $as_echo_n "checking for fchmodat... " >&6; }
76251 if ${glibcxx_cv_fchmodat+:} false; then :
76252 $as_echo_n "(cached) " >&6
76253 else
76254 if test x$gcc_no_link = xyes; then
76255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76256 /* end confdefs.h. */
76257
76258 #include <fcntl.h>
76259 #include <sys/stat.h>
76260
76261 int
76262 main ()
76263 {
76264 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76265 ;
76266 return 0;
76267 }
76268 _ACEOF
76269 if ac_fn_cxx_try_compile "$LINENO"; then :
76270 glibcxx_cv_fchmodat=yes
76271 else
76272 glibcxx_cv_fchmodat=no
76273 fi
76274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76275 else
76276 if test x$gcc_no_link = xyes; then
76277 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76278 fi
76279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76280 /* end confdefs.h. */
76281
76282 #include <fcntl.h>
76283 #include <sys/stat.h>
76284
76285 int
76286 main ()
76287 {
76288 fchmodat(AT_FDCWD, "", 0, AT_SYMLINK_NOFOLLOW);
76289 ;
76290 return 0;
76291 }
76292 _ACEOF
76293 if ac_fn_cxx_try_link "$LINENO"; then :
76294 glibcxx_cv_fchmodat=yes
76295 else
76296 glibcxx_cv_fchmodat=no
76297 fi
76298 rm -f core conftest.err conftest.$ac_objext \
76299 conftest$ac_exeext conftest.$ac_ext
76300 fi
76301
76302 fi
76303
76304 if test $glibcxx_cv_fchmodat = yes; then
76305
76306 $as_echo "#define _GLIBCXX_USE_FCHMODAT 1" >>confdefs.h
76307
76308 fi
76309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_fchmodat" >&5
76310 $as_echo "$glibcxx_cv_fchmodat" >&6; }
76311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sendfile that can copy files" >&5
76312 $as_echo_n "checking for sendfile that can copy files... " >&6; }
76313 if ${glibcxx_cv_sendfile+:} false; then :
76314 $as_echo_n "(cached) " >&6
76315 else
76316 case "${target_os}" in
76317 gnu* | linux* | solaris* | uclinux*)
76318 if test x$gcc_no_link = xyes; then
76319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76320 /* end confdefs.h. */
76321 #include <sys/sendfile.h>
76322 int
76323 main ()
76324 {
76325 sendfile(1, 2, (off_t*)0, sizeof 1);
76326 ;
76327 return 0;
76328 }
76329 _ACEOF
76330 if ac_fn_cxx_try_compile "$LINENO"; then :
76331 glibcxx_cv_sendfile=yes
76332 else
76333 glibcxx_cv_sendfile=no
76334 fi
76335 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76336 else
76337 if test x$gcc_no_link = xyes; then
76338 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76339 fi
76340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76341 /* end confdefs.h. */
76342 #include <sys/sendfile.h>
76343 int
76344 main ()
76345 {
76346 sendfile(1, 2, (off_t*)0, sizeof 1);
76347 ;
76348 return 0;
76349 }
76350 _ACEOF
76351 if ac_fn_cxx_try_link "$LINENO"; then :
76352 glibcxx_cv_sendfile=yes
76353 else
76354 glibcxx_cv_sendfile=no
76355 fi
76356 rm -f core conftest.err conftest.$ac_objext \
76357 conftest$ac_exeext conftest.$ac_ext
76358 fi
76359 ;;
76360 *)
76361 glibcxx_cv_sendfile=no
76362 ;;
76363 esac
76364
76365 fi
76366
76367 if test $glibcxx_cv_sendfile = yes; then
76368
76369 $as_echo "#define _GLIBCXX_USE_SENDFILE 1" >>confdefs.h
76370
76371 fi
76372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_sendfile" >&5
76373 $as_echo "$glibcxx_cv_sendfile" >&6; }
76374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for link" >&5
76375 $as_echo_n "checking for link... " >&6; }
76376 if ${glibcxx_cv_link+:} false; then :
76377 $as_echo_n "(cached) " >&6
76378 else
76379 if test x$gcc_no_link = xyes; then
76380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76381 /* end confdefs.h. */
76382 #include <unistd.h>
76383 int
76384 main ()
76385 {
76386 link("", "");
76387 ;
76388 return 0;
76389 }
76390 _ACEOF
76391 if ac_fn_cxx_try_compile "$LINENO"; then :
76392 glibcxx_cv_link=yes
76393 else
76394 glibcxx_cv_link=no
76395 fi
76396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76397 else
76398 if test x$gcc_no_link = xyes; then
76399 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76400 fi
76401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76402 /* end confdefs.h. */
76403 #include <unistd.h>
76404 int
76405 main ()
76406 {
76407 link("", "");
76408 ;
76409 return 0;
76410 }
76411 _ACEOF
76412 if ac_fn_cxx_try_link "$LINENO"; then :
76413 glibcxx_cv_link=yes
76414 else
76415 glibcxx_cv_link=no
76416 fi
76417 rm -f core conftest.err conftest.$ac_objext \
76418 conftest$ac_exeext conftest.$ac_ext
76419 fi
76420
76421 fi
76422
76423 if test $glibcxx_cv_link = yes; then
76424
76425 $as_echo "#define HAVE_LINK 1" >>confdefs.h
76426
76427 fi
76428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_link" >&5
76429 $as_echo "$glibcxx_cv_link" >&6; }
76430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for readlink" >&5
76431 $as_echo_n "checking for readlink... " >&6; }
76432 if ${glibcxx_cv_readlink+:} false; then :
76433 $as_echo_n "(cached) " >&6
76434 else
76435 if test x$gcc_no_link = xyes; then
76436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76437 /* end confdefs.h. */
76438 #include <unistd.h>
76439 int
76440 main ()
76441 {
76442 char buf[32]; readlink("", buf, sizeof(buf));
76443 ;
76444 return 0;
76445 }
76446 _ACEOF
76447 if ac_fn_cxx_try_compile "$LINENO"; then :
76448 glibcxx_cv_readlink=yes
76449 else
76450 glibcxx_cv_readlink=no
76451 fi
76452 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76453 else
76454 if test x$gcc_no_link = xyes; then
76455 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76456 fi
76457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76458 /* end confdefs.h. */
76459 #include <unistd.h>
76460 int
76461 main ()
76462 {
76463 char buf[32]; readlink("", buf, sizeof(buf));
76464 ;
76465 return 0;
76466 }
76467 _ACEOF
76468 if ac_fn_cxx_try_link "$LINENO"; then :
76469 glibcxx_cv_readlink=yes
76470 else
76471 glibcxx_cv_readlink=no
76472 fi
76473 rm -f core conftest.err conftest.$ac_objext \
76474 conftest$ac_exeext conftest.$ac_ext
76475 fi
76476
76477 fi
76478
76479 if test $glibcxx_cv_readlink = yes; then
76480
76481 $as_echo "#define HAVE_READLINK 1" >>confdefs.h
76482
76483 fi
76484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_readlink" >&5
76485 $as_echo "$glibcxx_cv_readlink" >&6; }
76486 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symlink" >&5
76487 $as_echo_n "checking for symlink... " >&6; }
76488 if ${glibcxx_cv_symlink+:} false; then :
76489 $as_echo_n "(cached) " >&6
76490 else
76491 if test x$gcc_no_link = xyes; then
76492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76493 /* end confdefs.h. */
76494 #include <unistd.h>
76495 int
76496 main ()
76497 {
76498 symlink("", "");
76499 ;
76500 return 0;
76501 }
76502 _ACEOF
76503 if ac_fn_cxx_try_compile "$LINENO"; then :
76504 glibcxx_cv_symlink=yes
76505 else
76506 glibcxx_cv_symlink=no
76507 fi
76508 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76509 else
76510 if test x$gcc_no_link = xyes; then
76511 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76512 fi
76513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76514 /* end confdefs.h. */
76515 #include <unistd.h>
76516 int
76517 main ()
76518 {
76519 symlink("", "");
76520 ;
76521 return 0;
76522 }
76523 _ACEOF
76524 if ac_fn_cxx_try_link "$LINENO"; then :
76525 glibcxx_cv_symlink=yes
76526 else
76527 glibcxx_cv_symlink=no
76528 fi
76529 rm -f core conftest.err conftest.$ac_objext \
76530 conftest$ac_exeext conftest.$ac_ext
76531 fi
76532
76533 fi
76534
76535 if test $glibcxx_cv_symlink = yes; then
76536
76537 $as_echo "#define HAVE_SYMLINK 1" >>confdefs.h
76538
76539 fi
76540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_symlink" >&5
76541 $as_echo "$glibcxx_cv_symlink" >&6; }
76542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for truncate" >&5
76543 $as_echo_n "checking for truncate... " >&6; }
76544 if ${glibcxx_cv_truncate+:} false; then :
76545 $as_echo_n "(cached) " >&6
76546 else
76547 if test x$gcc_no_link = xyes; then
76548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76549 /* end confdefs.h. */
76550 #include <unistd.h>
76551 int
76552 main ()
76553 {
76554 truncate("", 99);
76555 ;
76556 return 0;
76557 }
76558 _ACEOF
76559 if ac_fn_cxx_try_compile "$LINENO"; then :
76560 glibcxx_cv_truncate=yes
76561 else
76562 glibcxx_cv_truncate=no
76563 fi
76564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76565 else
76566 if test x$gcc_no_link = xyes; then
76567 as_fn_error $? "Link tests are not allowed after GCC_NO_EXECUTABLES." "$LINENO" 5
76568 fi
76569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76570 /* end confdefs.h. */
76571 #include <unistd.h>
76572 int
76573 main ()
76574 {
76575 truncate("", 99);
76576 ;
76577 return 0;
76578 }
76579 _ACEOF
76580 if ac_fn_cxx_try_link "$LINENO"; then :
76581 glibcxx_cv_truncate=yes
76582 else
76583 glibcxx_cv_truncate=no
76584 fi
76585 rm -f core conftest.err conftest.$ac_objext \
76586 conftest$ac_exeext conftest.$ac_ext
76587 fi
76588
76589 fi
76590
76591 if test $glibcxx_cv_truncate = yes; then
76592
76593 $as_echo "#define HAVE_TRUNCATE 1" >>confdefs.h
76594
76595 fi
76596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_truncate" >&5
76597 $as_echo "$glibcxx_cv_truncate" >&6; }
76598 CXXFLAGS="$ac_save_CXXFLAGS"
76599 ac_ext=c
76600 ac_cpp='$CPP $CPPFLAGS'
76601 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
76602 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
76603 ac_compiler_gnu=$ac_cv_c_compiler_gnu
76604
76605
76606
76607 # For Networking TS.
76608 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
76609 do :
76610 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
76611 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
76612 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
76613 cat >>confdefs.h <<_ACEOF
76614 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
76615 _ACEOF
76616
76617 fi
76618
76619 done
76620
76621
76622 # For Transactional Memory TS
76623
76624 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how size_t is mangled" >&5
76625 $as_echo_n "checking how size_t is mangled... " >&6; }
76626 if ${glibcxx_cv_size_t_mangling+:} false; then :
76627 $as_echo_n "(cached) " >&6
76628 else
76629
76630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76631 /* end confdefs.h. */
76632
76633 int
76634 main ()
76635 {
76636 extern __SIZE_TYPE__ x; extern unsigned long x;
76637 ;
76638 return 0;
76639 }
76640 _ACEOF
76641 if ac_fn_c_try_compile "$LINENO"; then :
76642 glibcxx_cv_size_t_mangling=m
76643 else
76644
76645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76646 /* end confdefs.h. */
76647
76648 int
76649 main ()
76650 {
76651 extern __SIZE_TYPE__ x; extern unsigned int x;
76652 ;
76653 return 0;
76654 }
76655 _ACEOF
76656 if ac_fn_c_try_compile "$LINENO"; then :
76657 glibcxx_cv_size_t_mangling=j
76658 else
76659
76660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76661 /* end confdefs.h. */
76662
76663 int
76664 main ()
76665 {
76666 extern __SIZE_TYPE__ x; extern unsigned long long x;
76667 ;
76668 return 0;
76669 }
76670 _ACEOF
76671 if ac_fn_c_try_compile "$LINENO"; then :
76672 glibcxx_cv_size_t_mangling=y
76673 else
76674
76675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76676 /* end confdefs.h. */
76677
76678 int
76679 main ()
76680 {
76681 extern __SIZE_TYPE__ x; extern unsigned short x;
76682 ;
76683 return 0;
76684 }
76685 _ACEOF
76686 if ac_fn_c_try_compile "$LINENO"; then :
76687 glibcxx_cv_size_t_mangling=t
76688 else
76689
76690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76691 /* end confdefs.h. */
76692
76693 int
76694 main ()
76695 {
76696 extern __SIZE_TYPE__ x; extern __int20 unsigned x;
76697 ;
76698 return 0;
76699 }
76700 _ACEOF
76701 if ac_fn_c_try_compile "$LINENO"; then :
76702 glibcxx_cv_size_t_mangling=u6uint20
76703 else
76704 glibcxx_cv_size_t_mangling=x
76705 fi
76706 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76707
76708 fi
76709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76710
76711 fi
76712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76713
76714 fi
76715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76716
76717 fi
76718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76719
76720 fi
76721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_cv_size_t_mangling" >&5
76722 $as_echo "$glibcxx_cv_size_t_mangling" >&6; }
76723 if test $glibcxx_cv_size_t_mangling = x; then
76724 as_fn_error $? "Unknown underlying type for size_t" "$LINENO" 5
76725 fi
76726
76727 cat >>confdefs.h <<_ACEOF
76728 #define _GLIBCXX_MANGLE_SIZE_T $glibcxx_cv_size_t_mangling
76729 _ACEOF
76730
76731
76732
76733 # Check which release added std::exception_ptr for the target
76734
76735 if test $enable_symvers != no; then
76736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for first version to support std::exception_ptr" >&5
76737 $as_echo_n "checking for first version to support std::exception_ptr... " >&6; }
76738 case ${target} in
76739 aarch64-*-* | alpha-*-* | hppa*-*-* | i?86-*-* | x86_64-*-* | \
76740 m68k-*-* | powerpc*-*-* | s390*-*-* | *-*-solaris* )
76741 ac_exception_ptr_since_gcc46=yes
76742 ;;
76743 *)
76744 # If the value of this macro changes then we will need to hardcode
76745 # yes/no here for additional targets based on the original value.
76746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
76747 /* end confdefs.h. */
76748
76749 int
76750 main ()
76751 {
76752
76753 #if __GCC_ATOMIC_INT_LOCK_FREE <= 1
76754 # error atomic int not always lock free
76755 #endif
76756
76757 ;
76758 return 0;
76759 }
76760 _ACEOF
76761 if ac_fn_c_try_compile "$LINENO"; then :
76762 ac_exception_ptr_since_gcc46=yes
76763 else
76764 ac_exception_ptr_since_gcc46=no
76765 fi
76766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
76767 ;;
76768 esac
76769 if test x"$ac_exception_ptr_since_gcc46" = x"yes" ; then
76770
76771 $as_echo "#define HAVE_EXCEPTION_PTR_SINCE_GCC46 1" >>confdefs.h
76772
76773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 4.6.0" >&5
76774 $as_echo "4.6.0" >&6; }
76775 else
76776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: 7.1.0" >&5
76777 $as_echo "7.1.0" >&6; }
76778 fi
76779 fi
76780
76781
76782 # Define documentation rules conditionally.
76783
76784 # See if makeinfo has been installed and is modern enough
76785 # that we can use it.
76786
76787 # Extract the first word of "makeinfo", so it can be a program name with args.
76788 set dummy makeinfo; ac_word=$2
76789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76790 $as_echo_n "checking for $ac_word... " >&6; }
76791 if ${ac_cv_prog_MAKEINFO+:} false; then :
76792 $as_echo_n "(cached) " >&6
76793 else
76794 if test -n "$MAKEINFO"; then
76795 ac_cv_prog_MAKEINFO="$MAKEINFO" # Let the user override the test.
76796 else
76797 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76798 for as_dir in $PATH
76799 do
76800 IFS=$as_save_IFS
76801 test -z "$as_dir" && as_dir=.
76802 for ac_exec_ext in '' $ac_executable_extensions; do
76803 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76804 ac_cv_prog_MAKEINFO="makeinfo"
76805 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76806 break 2
76807 fi
76808 done
76809 done
76810 IFS=$as_save_IFS
76811
76812 fi
76813 fi
76814 MAKEINFO=$ac_cv_prog_MAKEINFO
76815 if test -n "$MAKEINFO"; then
76816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MAKEINFO" >&5
76817 $as_echo "$MAKEINFO" >&6; }
76818 else
76819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76820 $as_echo "no" >&6; }
76821 fi
76822
76823
76824 if test -n "$MAKEINFO"; then
76825 # Found it, now check the version.
76826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for modern makeinfo" >&5
76827 $as_echo_n "checking for modern makeinfo... " >&6; }
76828 if ${gcc_cv_prog_makeinfo_modern+:} false; then :
76829 $as_echo_n "(cached) " >&6
76830 else
76831 ac_prog_version=`eval $MAKEINFO --version 2>&1 |
76832 sed -n 's/^.*GNU texinfo.* \([0-9][0-9.]*\).*$/\1/p'`
76833
76834 case $ac_prog_version in
76835 '') gcc_cv_prog_makeinfo_modern=no;;
76836 4.[4-9]*|4.[1-9][0-9]*|[5-9]*|[1-9][0-9]*) gcc_cv_prog_makeinfo_modern=yes;;
76837 *) gcc_cv_prog_makeinfo_modern=no;;
76838 esac
76839
76840 fi
76841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_cv_prog_makeinfo_modern" >&5
76842 $as_echo "$gcc_cv_prog_makeinfo_modern" >&6; }
76843 else
76844 gcc_cv_prog_makeinfo_modern=no
76845 fi
76846 if test $gcc_cv_prog_makeinfo_modern = no; then
76847 MAKEINFO="${CONFIG_SHELL-/bin/sh} $ac_aux_dir/missing makeinfo"
76848 fi
76849
76850 if test $gcc_cv_prog_makeinfo_modern = "yes"; then
76851 BUILD_INFO_TRUE=
76852 BUILD_INFO_FALSE='#'
76853 else
76854 BUILD_INFO_TRUE='#'
76855 BUILD_INFO_FALSE=
76856 fi
76857
76858
76859 # Check for doxygen
76860 # Extract the first word of "doxygen", so it can be a program name with args.
76861 set dummy doxygen; ac_word=$2
76862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76863 $as_echo_n "checking for $ac_word... " >&6; }
76864 if ${ac_cv_prog_DOXYGEN+:} false; then :
76865 $as_echo_n "(cached) " >&6
76866 else
76867 if test -n "$DOXYGEN"; then
76868 ac_cv_prog_DOXYGEN="$DOXYGEN" # Let the user override the test.
76869 else
76870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76871 for as_dir in $PATH
76872 do
76873 IFS=$as_save_IFS
76874 test -z "$as_dir" && as_dir=.
76875 for ac_exec_ext in '' $ac_executable_extensions; do
76876 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76877 ac_cv_prog_DOXYGEN="yes"
76878 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76879 break 2
76880 fi
76881 done
76882 done
76883 IFS=$as_save_IFS
76884
76885 test -z "$ac_cv_prog_DOXYGEN" && ac_cv_prog_DOXYGEN="no"
76886 fi
76887 fi
76888 DOXYGEN=$ac_cv_prog_DOXYGEN
76889 if test -n "$DOXYGEN"; then
76890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOXYGEN" >&5
76891 $as_echo "$DOXYGEN" >&6; }
76892 else
76893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76894 $as_echo "no" >&6; }
76895 fi
76896
76897
76898 # Extract the first word of "dot", so it can be a program name with args.
76899 set dummy dot; ac_word=$2
76900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76901 $as_echo_n "checking for $ac_word... " >&6; }
76902 if ${ac_cv_prog_DOT+:} false; then :
76903 $as_echo_n "(cached) " >&6
76904 else
76905 if test -n "$DOT"; then
76906 ac_cv_prog_DOT="$DOT" # Let the user override the test.
76907 else
76908 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76909 for as_dir in $PATH
76910 do
76911 IFS=$as_save_IFS
76912 test -z "$as_dir" && as_dir=.
76913 for ac_exec_ext in '' $ac_executable_extensions; do
76914 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76915 ac_cv_prog_DOT="yes"
76916 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76917 break 2
76918 fi
76919 done
76920 done
76921 IFS=$as_save_IFS
76922
76923 test -z "$ac_cv_prog_DOT" && ac_cv_prog_DOT="no"
76924 fi
76925 fi
76926 DOT=$ac_cv_prog_DOT
76927 if test -n "$DOT"; then
76928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DOT" >&5
76929 $as_echo "$DOT" >&6; }
76930 else
76931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76932 $as_echo "no" >&6; }
76933 fi
76934
76935
76936
76937 # Check for docbook
76938 # Extract the first word of "xmlcatalog", so it can be a program name with args.
76939 set dummy xmlcatalog; ac_word=$2
76940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76941 $as_echo_n "checking for $ac_word... " >&6; }
76942 if ${ac_cv_prog_XMLCATALOG+:} false; then :
76943 $as_echo_n "(cached) " >&6
76944 else
76945 if test -n "$XMLCATALOG"; then
76946 ac_cv_prog_XMLCATALOG="$XMLCATALOG" # Let the user override the test.
76947 else
76948 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76949 for as_dir in $PATH
76950 do
76951 IFS=$as_save_IFS
76952 test -z "$as_dir" && as_dir=.
76953 for ac_exec_ext in '' $ac_executable_extensions; do
76954 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76955 ac_cv_prog_XMLCATALOG="yes"
76956 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76957 break 2
76958 fi
76959 done
76960 done
76961 IFS=$as_save_IFS
76962
76963 test -z "$ac_cv_prog_XMLCATALOG" && ac_cv_prog_XMLCATALOG="no"
76964 fi
76965 fi
76966 XMLCATALOG=$ac_cv_prog_XMLCATALOG
76967 if test -n "$XMLCATALOG"; then
76968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLCATALOG" >&5
76969 $as_echo "$XMLCATALOG" >&6; }
76970 else
76971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
76972 $as_echo "no" >&6; }
76973 fi
76974
76975
76976 # Extract the first word of "xsltproc", so it can be a program name with args.
76977 set dummy xsltproc; ac_word=$2
76978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
76979 $as_echo_n "checking for $ac_word... " >&6; }
76980 if ${ac_cv_prog_XSLTPROC+:} false; then :
76981 $as_echo_n "(cached) " >&6
76982 else
76983 if test -n "$XSLTPROC"; then
76984 ac_cv_prog_XSLTPROC="$XSLTPROC" # Let the user override the test.
76985 else
76986 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
76987 for as_dir in $PATH
76988 do
76989 IFS=$as_save_IFS
76990 test -z "$as_dir" && as_dir=.
76991 for ac_exec_ext in '' $ac_executable_extensions; do
76992 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
76993 ac_cv_prog_XSLTPROC="yes"
76994 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
76995 break 2
76996 fi
76997 done
76998 done
76999 IFS=$as_save_IFS
77000
77001 test -z "$ac_cv_prog_XSLTPROC" && ac_cv_prog_XSLTPROC="no"
77002 fi
77003 fi
77004 XSLTPROC=$ac_cv_prog_XSLTPROC
77005 if test -n "$XSLTPROC"; then
77006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XSLTPROC" >&5
77007 $as_echo "$XSLTPROC" >&6; }
77008 else
77009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77010 $as_echo "no" >&6; }
77011 fi
77012
77013
77014 # Extract the first word of "xmllint", so it can be a program name with args.
77015 set dummy xmllint; ac_word=$2
77016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77017 $as_echo_n "checking for $ac_word... " >&6; }
77018 if ${ac_cv_prog_XMLLINT+:} false; then :
77019 $as_echo_n "(cached) " >&6
77020 else
77021 if test -n "$XMLLINT"; then
77022 ac_cv_prog_XMLLINT="$XMLLINT" # Let the user override the test.
77023 else
77024 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77025 for as_dir in $PATH
77026 do
77027 IFS=$as_save_IFS
77028 test -z "$as_dir" && as_dir=.
77029 for ac_exec_ext in '' $ac_executable_extensions; do
77030 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77031 ac_cv_prog_XMLLINT="yes"
77032 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77033 break 2
77034 fi
77035 done
77036 done
77037 IFS=$as_save_IFS
77038
77039 test -z "$ac_cv_prog_XMLLINT" && ac_cv_prog_XMLLINT="no"
77040 fi
77041 fi
77042 XMLLINT=$ac_cv_prog_XMLLINT
77043 if test -n "$XMLLINT"; then
77044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $XMLLINT" >&5
77045 $as_echo "$XMLLINT" >&6; }
77046 else
77047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77048 $as_echo "no" >&6; }
77049 fi
77050
77051
77052
77053
77054 glibcxx_docbook_url=http://docbook.sourceforge.net/release/xsl-ns/current/
77055
77056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for local stylesheet directory" >&5
77057 $as_echo_n "checking for local stylesheet directory... " >&6; }
77058 glibcxx_local_stylesheets=no
77059 if test x${XMLCATALOG} = xyes && xsl_style_dir=`xmlcatalog "" $glibcxx_docbook_url 2>/dev/null`
77060 then
77061 XSL_STYLE_DIR=`echo $xsl_style_dir | sed -n 's;^file://;;p'`
77062 glibcxx_local_stylesheets=yes
77063 else
77064 for dir in \
77065 /usr/share/sgml/docbook/xsl-ns-stylesheets \
77066 /usr/share/xml/docbook/stylesheet/docbook-xsl-ns \
77067 /usr/share/xml/docbook/stylesheet/nwalsh5/current \
77068 /usr/share/xml/docbook/stylesheet/nwalsh/current
77069 do
77070 if test -d $dir; then
77071 glibcxx_local_stylesheets=yes
77072 XSL_STYLE_DIR=$dir
77073 break
77074 fi
77075 done
77076 fi
77077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_local_stylesheets" >&5
77078 $as_echo "$glibcxx_local_stylesheets" >&6; }
77079
77080 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77081
77082 { $as_echo "$as_me:${as_lineno-$LINENO}: $XSL_STYLE_DIR" >&5
77083 $as_echo "$as_me: $XSL_STYLE_DIR" >&6;}
77084
77085 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for docbook stylesheets for documentation creation" >&5
77086 $as_echo_n "checking for docbook stylesheets for documentation creation... " >&6; }
77087 glibcxx_stylesheets=no
77088 if test x${XMLCATALOG} = xno || xmlcatalog "" $glibcxx_docbook_url/xhtml/docbook.xsl >/dev/null 2>&1; then
77089 if test x${XSLTPROC} = xyes && echo '<title/>' | xsltproc --noout --nonet --xinclude $glibcxx_docbook_url/xhtml/docbook.xsl - 2>/dev/null; then
77090 glibcxx_stylesheets=yes
77091 fi
77092 fi
77093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_stylesheets" >&5
77094 $as_echo "$glibcxx_stylesheets" >&6; }
77095
77096 else
77097 glibcxx_stylesheets=no
77098 fi
77099
77100 # Check for epub3 dependencies.
77101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for epub3 stylesheets for documentation creation" >&5
77102 $as_echo_n "checking for epub3 stylesheets for documentation creation... " >&6; }
77103 glibcxx_epub_stylesheets=no
77104 if test x"$glibcxx_local_stylesheets" = x"yes"; then
77105 if test -f "$XSL_STYLE_DIR/epub3/chunk.xsl"; then
77106 glibcxx_epub_stylesheets=yes
77107 fi
77108 fi
77109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $glibcxx_epub_stylesheets" >&5
77110 $as_echo "$glibcxx_epub_stylesheets" >&6; }
77111 if test x"$glibcxx_epub_stylesheets" = x"yes"; then
77112 BUILD_EPUB_TRUE=
77113 BUILD_EPUB_FALSE='#'
77114 else
77115 BUILD_EPUB_TRUE='#'
77116 BUILD_EPUB_FALSE=
77117 fi
77118
77119
77120
77121
77122 # Check for xml/html dependencies.
77123 if test $ac_cv_prog_DOXYGEN = "yes" &&
77124 test $ac_cv_prog_DOT = "yes" &&
77125 test $ac_cv_prog_XSLTPROC = "yes" &&
77126 test $ac_cv_prog_XMLLINT = "yes" &&
77127 test $glibcxx_stylesheets = "yes"; then
77128 BUILD_XML_TRUE=
77129 BUILD_XML_FALSE='#'
77130 else
77131 BUILD_XML_TRUE='#'
77132 BUILD_XML_FALSE=
77133 fi
77134
77135
77136 if test $ac_cv_prog_DOXYGEN = "yes" &&
77137 test $ac_cv_prog_DOT = "yes" &&
77138 test $ac_cv_prog_XSLTPROC = "yes" &&
77139 test $ac_cv_prog_XMLLINT = "yes" &&
77140 test $glibcxx_stylesheets = "yes"; then
77141 BUILD_HTML_TRUE=
77142 BUILD_HTML_FALSE='#'
77143 else
77144 BUILD_HTML_TRUE='#'
77145 BUILD_HTML_FALSE=
77146 fi
77147
77148
77149 # Check for man dependencies.
77150 if test $ac_cv_prog_DOXYGEN = "yes" &&
77151 test $ac_cv_prog_DOT = "yes"; then
77152 BUILD_MAN_TRUE=
77153 BUILD_MAN_FALSE='#'
77154 else
77155 BUILD_MAN_TRUE='#'
77156 BUILD_MAN_FALSE=
77157 fi
77158
77159
77160 # Check for pdf dependencies.
77161 # Extract the first word of "dblatex", so it can be a program name with args.
77162 set dummy dblatex; ac_word=$2
77163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77164 $as_echo_n "checking for $ac_word... " >&6; }
77165 if ${ac_cv_prog_DBLATEX+:} false; then :
77166 $as_echo_n "(cached) " >&6
77167 else
77168 if test -n "$DBLATEX"; then
77169 ac_cv_prog_DBLATEX="$DBLATEX" # Let the user override the test.
77170 else
77171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77172 for as_dir in $PATH
77173 do
77174 IFS=$as_save_IFS
77175 test -z "$as_dir" && as_dir=.
77176 for ac_exec_ext in '' $ac_executable_extensions; do
77177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77178 ac_cv_prog_DBLATEX="yes"
77179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77180 break 2
77181 fi
77182 done
77183 done
77184 IFS=$as_save_IFS
77185
77186 test -z "$ac_cv_prog_DBLATEX" && ac_cv_prog_DBLATEX="no"
77187 fi
77188 fi
77189 DBLATEX=$ac_cv_prog_DBLATEX
77190 if test -n "$DBLATEX"; then
77191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DBLATEX" >&5
77192 $as_echo "$DBLATEX" >&6; }
77193 else
77194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77195 $as_echo "no" >&6; }
77196 fi
77197
77198
77199 # Extract the first word of "pdflatex", so it can be a program name with args.
77200 set dummy pdflatex; ac_word=$2
77201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
77202 $as_echo_n "checking for $ac_word... " >&6; }
77203 if ${ac_cv_prog_PDFLATEX+:} false; then :
77204 $as_echo_n "(cached) " >&6
77205 else
77206 if test -n "$PDFLATEX"; then
77207 ac_cv_prog_PDFLATEX="$PDFLATEX" # Let the user override the test.
77208 else
77209 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
77210 for as_dir in $PATH
77211 do
77212 IFS=$as_save_IFS
77213 test -z "$as_dir" && as_dir=.
77214 for ac_exec_ext in '' $ac_executable_extensions; do
77215 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
77216 ac_cv_prog_PDFLATEX="yes"
77217 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
77218 break 2
77219 fi
77220 done
77221 done
77222 IFS=$as_save_IFS
77223
77224 test -z "$ac_cv_prog_PDFLATEX" && ac_cv_prog_PDFLATEX="no"
77225 fi
77226 fi
77227 PDFLATEX=$ac_cv_prog_PDFLATEX
77228 if test -n "$PDFLATEX"; then
77229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PDFLATEX" >&5
77230 $as_echo "$PDFLATEX" >&6; }
77231 else
77232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77233 $as_echo "no" >&6; }
77234 fi
77235
77236
77237 if test $ac_cv_prog_DOXYGEN = "yes" &&
77238 test $ac_cv_prog_DOT = "yes" &&
77239 test $ac_cv_prog_XSLTPROC = "yes" &&
77240 test $ac_cv_prog_XMLLINT = "yes" &&
77241 test $ac_cv_prog_DBLATEX = "yes" &&
77242 test $ac_cv_prog_PDFLATEX = "yes"; then
77243 BUILD_PDF_TRUE=
77244 BUILD_PDF_FALSE='#'
77245 else
77246 BUILD_PDF_TRUE='#'
77247 BUILD_PDF_FALSE=
77248 fi
77249
77250
77251 case "$build" in
77252 *-*-darwin* ) glibcxx_include_dir_notparallel=yes ;;
77253 * ) glibcxx_include_dir_notparallel=no ;;
77254 esac
77255 if test $glibcxx_include_dir_notparallel = "yes"; then
77256 INCLUDE_DIR_NOTPARALLEL_TRUE=
77257 INCLUDE_DIR_NOTPARALLEL_FALSE='#'
77258 else
77259 INCLUDE_DIR_NOTPARALLEL_TRUE='#'
77260 INCLUDE_DIR_NOTPARALLEL_FALSE=
77261 fi
77262
77263
77264 # Propagate the target-specific source directories through the build chain.
77265 ATOMICITY_SRCDIR=config/${atomicity_dir}
77266 ATOMIC_WORD_SRCDIR=config/${atomic_word_dir}
77267 ATOMIC_FLAGS=${atomic_flags}
77268 CPU_DEFINES_SRCDIR=config/${cpu_defines_dir}
77269 OS_INC_SRCDIR=config/${os_include_dir}
77270 ERROR_CONSTANTS_SRCDIR=config/${error_constants_dir}
77271 ABI_TWEAKS_SRCDIR=config/${abi_tweaks_dir}
77272 CPU_OPT_EXT_RANDOM=config/${cpu_opt_ext_random}
77273 CPU_OPT_BITS_RANDOM=config/${cpu_opt_bits_random}
77274
77275
77276
77277
77278
77279
77280
77281
77282
77283
77284 # Conditionalize the makefile for this target machine.
77285 tmake_file_=
77286 for f in ${tmake_file}
77287 do
77288 if test -f ${srcdir}/config/$f
77289 then
77290 tmake_file_="${tmake_file_} \$(srcdir)/config/$f"
77291 fi
77292 done
77293 tmake_file="${tmake_file_}"
77294
77295
77296 # Add CET specific flags if Intel CET is enabled.
77297 # Check whether --enable-cet was given.
77298 if test "${enable_cet+set}" = set; then :
77299 enableval=$enable_cet;
77300 case "$enableval" in
77301 yes|no|auto) ;;
77302 *) as_fn_error $? "Unknown argument to enable/disable cet" "$LINENO" 5 ;;
77303 esac
77304
77305 else
77306 enable_cet=auto
77307 fi
77308
77309
77310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CET support" >&5
77311 $as_echo_n "checking for CET support... " >&6; }
77312
77313 # NB: Avoid nested save_CFLAGS and save_LDFLAGS.
77314 case "$host" in
77315 i[34567]86-*-linux* | x86_64-*-linux*)
77316 case "$enable_cet" in
77317 auto)
77318 # Check if target supports multi-byte NOPs
77319 # and if compiler and assembler support CET insn.
77320 cet_save_CFLAGS="$CFLAGS"
77321 CFLAGS="$CFLAGS -fcf-protection"
77322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77323 /* end confdefs.h. */
77324
77325 int
77326 main ()
77327 {
77328
77329 #if !defined(__SSE2__)
77330 #error target does not support multi-byte NOPs
77331 #else
77332 asm ("setssbsy");
77333 #endif
77334
77335 ;
77336 return 0;
77337 }
77338 _ACEOF
77339 if ac_fn_c_try_compile "$LINENO"; then :
77340 enable_cet=yes
77341 else
77342 enable_cet=no
77343 fi
77344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77345 CFLAGS="$cet_save_CFLAGS"
77346 ;;
77347 yes)
77348 # Check if assembler supports CET.
77349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
77350 /* end confdefs.h. */
77351
77352 int
77353 main ()
77354 {
77355 asm ("setssbsy");
77356 ;
77357 return 0;
77358 }
77359 _ACEOF
77360 if ac_fn_c_try_compile "$LINENO"; then :
77361
77362 else
77363 as_fn_error $? "assembler with CET support is required for --enable-cet" "$LINENO" 5
77364 fi
77365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
77366 ;;
77367 esac
77368 ;;
77369 *)
77370 enable_cet=no
77371 ;;
77372 esac
77373 if test x$enable_cet = xyes; then
77374 CET_FLAGS="-fcf-protection -mshstk"
77375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
77376 $as_echo "yes" >&6; }
77377 else
77378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
77379 $as_echo "no" >&6; }
77380 fi
77381
77382 EXTRA_CXX_FLAGS="$EXTRA_CXX_FLAGS $CET_FLAGS"
77383 EXTRA_CFLAGS="$EXTRA_CFLAGS $CET_FLAGS"
77384
77385
77386
77387 # Determine cross-compile flags and AM_CONDITIONALs.
77388 #AC_SUBST(GLIBCXX_IS_NATIVE)
77389 #AM_CONDITIONAL(CANADIAN, test $CANADIAN = yes)
77390 if test $is_hosted = yes; then
77391 GLIBCXX_HOSTED_TRUE=
77392 GLIBCXX_HOSTED_FALSE='#'
77393 else
77394 GLIBCXX_HOSTED_TRUE='#'
77395 GLIBCXX_HOSTED_FALSE=
77396 fi
77397
77398
77399 if test $enable_libstdcxx_pch = yes; then
77400 GLIBCXX_BUILD_PCH_TRUE=
77401 GLIBCXX_BUILD_PCH_FALSE='#'
77402 else
77403 GLIBCXX_BUILD_PCH_TRUE='#'
77404 GLIBCXX_BUILD_PCH_FALSE=
77405 fi
77406
77407
77408 if test $enable_float128 = yes; then
77409 ENABLE_FLOAT128_TRUE=
77410 ENABLE_FLOAT128_FALSE='#'
77411 else
77412 ENABLE_FLOAT128_TRUE='#'
77413 ENABLE_FLOAT128_FALSE=
77414 fi
77415
77416
77417 if test $enable_libstdcxx_allocator_flag = new; then
77418 ENABLE_ALLOCATOR_NEW_TRUE=
77419 ENABLE_ALLOCATOR_NEW_FALSE='#'
77420 else
77421 ENABLE_ALLOCATOR_NEW_TRUE='#'
77422 ENABLE_ALLOCATOR_NEW_FALSE=
77423 fi
77424
77425
77426 if test $enable_cheaders = c; then
77427 GLIBCXX_C_HEADERS_C_TRUE=
77428 GLIBCXX_C_HEADERS_C_FALSE='#'
77429 else
77430 GLIBCXX_C_HEADERS_C_TRUE='#'
77431 GLIBCXX_C_HEADERS_C_FALSE=
77432 fi
77433
77434
77435 if test $enable_cheaders = c_std; then
77436 GLIBCXX_C_HEADERS_C_STD_TRUE=
77437 GLIBCXX_C_HEADERS_C_STD_FALSE='#'
77438 else
77439 GLIBCXX_C_HEADERS_C_STD_TRUE='#'
77440 GLIBCXX_C_HEADERS_C_STD_FALSE=
77441 fi
77442
77443
77444 if test $enable_cheaders = c_global; then
77445 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE=
77446 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE='#'
77447 else
77448 GLIBCXX_C_HEADERS_C_GLOBAL_TRUE='#'
77449 GLIBCXX_C_HEADERS_C_GLOBAL_FALSE=
77450 fi
77451
77452
77453 if test $c_compatibility = yes; then
77454 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE=
77455 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE='#'
77456 else
77457 GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE='#'
77458 GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE=
77459 fi
77460
77461
77462 if test $enable_libstdcxx_debug = yes; then
77463 GLIBCXX_BUILD_DEBUG_TRUE=
77464 GLIBCXX_BUILD_DEBUG_FALSE='#'
77465 else
77466 GLIBCXX_BUILD_DEBUG_TRUE='#'
77467 GLIBCXX_BUILD_DEBUG_FALSE=
77468 fi
77469
77470
77471 if test $enable_extern_template = yes; then
77472 ENABLE_EXTERN_TEMPLATE_TRUE=
77473 ENABLE_EXTERN_TEMPLATE_FALSE='#'
77474 else
77475 ENABLE_EXTERN_TEMPLATE_TRUE='#'
77476 ENABLE_EXTERN_TEMPLATE_FALSE=
77477 fi
77478
77479
77480 if test $python_mod_dir != no; then
77481 ENABLE_PYTHONDIR_TRUE=
77482 ENABLE_PYTHONDIR_FALSE='#'
77483 else
77484 ENABLE_PYTHONDIR_TRUE='#'
77485 ENABLE_PYTHONDIR_FALSE=
77486 fi
77487
77488
77489 if test $enable_werror = yes; then
77490 ENABLE_WERROR_TRUE=
77491 ENABLE_WERROR_FALSE='#'
77492 else
77493 ENABLE_WERROR_TRUE='#'
77494 ENABLE_WERROR_FALSE=
77495 fi
77496
77497
77498 if test $enable_vtable_verify = yes; then
77499 ENABLE_VTABLE_VERIFY_TRUE=
77500 ENABLE_VTABLE_VERIFY_FALSE='#'
77501 else
77502 ENABLE_VTABLE_VERIFY_TRUE='#'
77503 ENABLE_VTABLE_VERIFY_FALSE=
77504 fi
77505
77506
77507 if test $enable_symvers != no; then
77508 ENABLE_SYMVERS_TRUE=
77509 ENABLE_SYMVERS_FALSE='#'
77510 else
77511 ENABLE_SYMVERS_TRUE='#'
77512 ENABLE_SYMVERS_FALSE=
77513 fi
77514
77515
77516 if test $enable_symvers = gnu; then
77517 ENABLE_SYMVERS_GNU_TRUE=
77518 ENABLE_SYMVERS_GNU_FALSE='#'
77519 else
77520 ENABLE_SYMVERS_GNU_TRUE='#'
77521 ENABLE_SYMVERS_GNU_FALSE=
77522 fi
77523
77524
77525 if test $enable_symvers = gnu-versioned-namespace; then
77526 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE=
77527 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE='#'
77528 else
77529 ENABLE_SYMVERS_GNU_NAMESPACE_TRUE='#'
77530 ENABLE_SYMVERS_GNU_NAMESPACE_FALSE=
77531 fi
77532
77533
77534 if test $enable_symvers = darwin; then
77535 ENABLE_SYMVERS_DARWIN_TRUE=
77536 ENABLE_SYMVERS_DARWIN_FALSE='#'
77537 else
77538 ENABLE_SYMVERS_DARWIN_TRUE='#'
77539 ENABLE_SYMVERS_DARWIN_FALSE=
77540 fi
77541
77542
77543 if test $enable_symvers = sun; then
77544 ENABLE_SYMVERS_SUN_TRUE=
77545 ENABLE_SYMVERS_SUN_FALSE='#'
77546 else
77547 ENABLE_SYMVERS_SUN_TRUE='#'
77548 ENABLE_SYMVERS_SUN_FALSE=
77549 fi
77550
77551
77552 if test $enable_libstdcxx_visibility = yes; then
77553 ENABLE_VISIBILITY_TRUE=
77554 ENABLE_VISIBILITY_FALSE='#'
77555 else
77556 ENABLE_VISIBILITY_TRUE='#'
77557 ENABLE_VISIBILITY_FALSE=
77558 fi
77559
77560
77561 if test $enable_libstdcxx_dual_abi = yes; then
77562 ENABLE_DUAL_ABI_TRUE=
77563 ENABLE_DUAL_ABI_FALSE='#'
77564 else
77565 ENABLE_DUAL_ABI_TRUE='#'
77566 ENABLE_DUAL_ABI_FALSE=
77567 fi
77568
77569
77570 if test $glibcxx_cxx11_abi = 1; then
77571 ENABLE_CXX11_ABI_TRUE=
77572 ENABLE_CXX11_ABI_FALSE='#'
77573 else
77574 ENABLE_CXX11_ABI_TRUE='#'
77575 ENABLE_CXX11_ABI_FALSE=
77576 fi
77577
77578
77579 if test $ac_ldbl_compat = yes; then
77580 GLIBCXX_LDBL_COMPAT_TRUE=
77581 GLIBCXX_LDBL_COMPAT_FALSE='#'
77582 else
77583 GLIBCXX_LDBL_COMPAT_TRUE='#'
77584 GLIBCXX_LDBL_COMPAT_FALSE=
77585 fi
77586
77587
77588 if test $ac_ldbl_alt128_compat = yes; then
77589 GLIBCXX_LDBL_ALT128_COMPAT_TRUE=
77590 GLIBCXX_LDBL_ALT128_COMPAT_FALSE='#'
77591 else
77592 GLIBCXX_LDBL_ALT128_COMPAT_TRUE='#'
77593 GLIBCXX_LDBL_ALT128_COMPAT_FALSE=
77594 fi
77595
77596
77597 if test $enable_libstdcxx_filesystem_ts = yes; then
77598 ENABLE_FILESYSTEM_TS_TRUE=
77599 ENABLE_FILESYSTEM_TS_FALSE='#'
77600 else
77601 ENABLE_FILESYSTEM_TS_TRUE='#'
77602 ENABLE_FILESYSTEM_TS_FALSE=
77603 fi
77604
77605
77606
77607
77608 cat >confcache <<\_ACEOF
77609 # This file is a shell script that caches the results of configure
77610 # tests run on this system so they can be shared between configure
77611 # scripts and configure runs, see configure's option --config-cache.
77612 # It is not useful on other systems. If it contains results you don't
77613 # want to keep, you may remove or edit it.
77614 #
77615 # config.status only pays attention to the cache file if you give it
77616 # the --recheck option to rerun configure.
77617 #
77618 # `ac_cv_env_foo' variables (set or unset) will be overridden when
77619 # loading this file, other *unset* `ac_cv_foo' will be assigned the
77620 # following values.
77621
77622 _ACEOF
77623
77624 # The following way of writing the cache mishandles newlines in values,
77625 # but we know of no workaround that is simple, portable, and efficient.
77626 # So, we kill variables containing newlines.
77627 # Ultrix sh set writes to stderr and can't be redirected directly,
77628 # and sets the high bit in the cache file unless we assign to the vars.
77629 (
77630 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77631 eval ac_val=\$$ac_var
77632 case $ac_val in #(
77633 *${as_nl}*)
77634 case $ac_var in #(
77635 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77636 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77637 esac
77638 case $ac_var in #(
77639 _ | IFS | as_nl) ;; #(
77640 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77641 *) { eval $ac_var=; unset $ac_var;} ;;
77642 esac ;;
77643 esac
77644 done
77645
77646 (set) 2>&1 |
77647 case $as_nl`(ac_space=' '; set) 2>&1` in #(
77648 *${as_nl}ac_space=\ *)
77649 # `set' does not quote correctly, so add quotes: double-quote
77650 # substitution turns \\\\ into \\, and sed turns \\ into \.
77651 sed -n \
77652 "s/'/'\\\\''/g;
77653 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77654 ;; #(
77655 *)
77656 # `set' quotes correctly as required by POSIX, so do not add quotes.
77657 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77658 ;;
77659 esac |
77660 sort
77661 ) |
77662 sed '
77663 /^ac_cv_env_/b end
77664 t clear
77665 :clear
77666 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77667 t end
77668 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77669 :end' >>confcache
77670 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
77671 if test -w "$cache_file"; then
77672 if test "x$cache_file" != "x/dev/null"; then
77673 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
77674 $as_echo "$as_me: updating cache $cache_file" >&6;}
77675 if test ! -f "$cache_file" || test -h "$cache_file"; then
77676 cat confcache >"$cache_file"
77677 else
77678 case $cache_file in #(
77679 */* | ?:*)
77680 mv -f confcache "$cache_file"$$ &&
77681 mv -f "$cache_file"$$ "$cache_file" ;; #(
77682 *)
77683 mv -f confcache "$cache_file" ;;
77684 esac
77685 fi
77686 fi
77687 else
77688 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
77689 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
77690 fi
77691 fi
77692 rm -f confcache
77693
77694 if test ${multilib} = yes; then
77695 multilib_arg="--enable-multilib"
77696 else
77697 multilib_arg=
77698 fi
77699
77700 # Export all the install information.
77701
77702 glibcxx_toolexecdir=no
77703 glibcxx_toolexeclibdir=no
77704 glibcxx_prefixdir=$prefix
77705
77706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gxx-include-dir" >&5
77707 $as_echo_n "checking for gxx-include-dir... " >&6; }
77708
77709 # Check whether --with-gxx-include-dir was given.
77710 if test "${with_gxx_include_dir+set}" = set; then :
77711 withval=$with_gxx_include_dir; case "$withval" in
77712 yes) as_fn_error $? "Missing directory for --with-gxx-include-dir" "$LINENO" 5 ;;
77713 no) gxx_include_dir=no ;;
77714 *) gxx_include_dir=$withval ;;
77715 esac
77716 else
77717 gxx_include_dir=no
77718 fi
77719
77720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77721 $as_echo "$gxx_include_dir" >&6; }
77722
77723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-version-specific-runtime-libs" >&5
77724 $as_echo_n "checking for --enable-version-specific-runtime-libs... " >&6; }
77725 # Check whether --enable-version-specific-runtime-libs was given.
77726 if test "${enable_version_specific_runtime_libs+set}" = set; then :
77727 enableval=$enable_version_specific_runtime_libs; case "$enableval" in
77728 yes) version_specific_libs=yes ;;
77729 no) version_specific_libs=no ;;
77730 *) as_fn_error $? "Unknown argument to enable/disable version-specific libs" "$LINENO" 5;;
77731 esac
77732 else
77733 version_specific_libs=no
77734 fi
77735
77736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $version_specific_libs" >&5
77737 $as_echo "$version_specific_libs" >&6; }
77738
77739
77740 # Check whether --with-toolexeclibdir was given.
77741 if test "${with_toolexeclibdir+set}" = set; then :
77742 withval=$with_toolexeclibdir; case ${with_toolexeclibdir} in
77743 /)
77744 ;;
77745 */)
77746 with_toolexeclibdir=`echo $with_toolexeclibdir | sed 's,/$,,'`
77747 ;;
77748 esac
77749 else
77750 with_toolexeclibdir=no
77751 fi
77752
77753
77754
77755 # Default case for install directory for include files.
77756 if test $version_specific_libs = no && test $gxx_include_dir = no; then
77757 gxx_include_dir='include/c++/${gcc_version}'
77758 if test -n "$with_cross_host" &&
77759 test x"$with_cross_host" != x"no"; then
77760 gxx_include_dir='${prefix}/${target_alias}/'"$gxx_include_dir"
77761 else
77762 gxx_include_dir='${prefix}/'"$gxx_include_dir"
77763 fi
77764 fi
77765
77766 # Version-specific runtime libs processing.
77767 if test $version_specific_libs = yes; then
77768 # Need the gcc compiler version to know where to install libraries
77769 # and header files if --enable-version-specific-runtime-libs option
77770 # is selected. FIXME: these variables are misnamed, there are
77771 # no executables installed in _toolexecdir or _toolexeclibdir.
77772 if test x"$gxx_include_dir" = x"no"; then
77773 gxx_include_dir='${libdir}/gcc/${host_alias}/${gcc_version}/include/c++'
77774 fi
77775 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77776 glibcxx_toolexeclibdir='${toolexecdir}/${gcc_version}$(MULTISUBDIR)'
77777 fi
77778
77779 # Calculate glibcxx_toolexecdir, glibcxx_toolexeclibdir
77780 # Install a library built with a cross compiler in tooldir, not libdir.
77781 if test x"$glibcxx_toolexecdir" = x"no"; then
77782 if test -n "$with_cross_host" &&
77783 test x"$with_cross_host" != x"no"; then
77784 glibcxx_toolexecdir='${exec_prefix}/${host_alias}'
77785 case ${with_toolexeclibdir} in
77786 no)
77787 glibcxx_toolexeclibdir='${toolexecdir}/lib'
77788 ;;
77789 *)
77790 glibcxx_toolexeclibdir=${with_toolexeclibdir}
77791 ;;
77792 esac
77793 else
77794 glibcxx_toolexecdir='${libdir}/gcc/${host_alias}'
77795 glibcxx_toolexeclibdir='${libdir}'
77796 fi
77797 multi_os_directory=`$CXX -print-multi-os-directory`
77798 case $multi_os_directory in
77799 .) ;; # Avoid trailing /.
77800 *) glibcxx_toolexeclibdir=$glibcxx_toolexeclibdir/$multi_os_directory ;;
77801 esac
77802 fi
77803
77804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for install location" >&5
77805 $as_echo_n "checking for install location... " >&6; }
77806 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $gxx_include_dir" >&5
77807 $as_echo "$gxx_include_dir" >&6; }
77808
77809
77810
77811
77812
77813
77814
77815 # Export all the include and flag information to Makefiles.
77816
77817 # Used for every C++ compile we perform.
77818 GLIBCXX_INCLUDES="\
77819 -I$glibcxx_builddir/include/$host_alias \
77820 -I$glibcxx_builddir/include \
77821 -I$glibcxx_srcdir/libsupc++"
77822
77823 # For Canadian crosses, pick this up too.
77824 if test $CANADIAN = yes; then
77825 GLIBCXX_INCLUDES="$GLIBCXX_INCLUDES -I\${includedir}"
77826 fi
77827
77828 # Stuff in the actual top level. Currently only used by libsupc++ to
77829 # get unwind* headers from the libgcc dir.
77830 #TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc -I$(toplevel_srcdir)/include'
77831 TOPLEVEL_INCLUDES='-I$(toplevel_srcdir)/libgcc'
77832
77833 # Now, export this to all the little Makefiles....
77834
77835
77836
77837
77838 # Optimization flags that are probably a good idea for thrill-seekers. Just
77839 # uncomment the lines below and make, everything else is ready to go...
77840 # Alternatively OPTIMIZE_CXXFLAGS can be set in configure.host.
77841 # OPTIMIZE_CXXFLAGS = -O3 -fstrict-aliasing -fvtable-gc
77842
77843
77844 WARN_FLAGS="-Wall -Wextra -Wwrite-strings -Wcast-qual -Wabi=2"
77845
77846
77847
77848 # Determine what GCC version number to use in filesystem paths.
77849
77850 get_gcc_base_ver="cat"
77851
77852 # Check whether --with-gcc-major-version-only was given.
77853 if test "${with_gcc_major_version_only+set}" = set; then :
77854 withval=$with_gcc_major_version_only; if test x$with_gcc_major_version_only = xyes ; then
77855 get_gcc_base_ver="sed -e 's/^\([0-9]*\).*/\1/'"
77856 fi
77857
77858 fi
77859
77860
77861
77862
77863 ac_config_files="$ac_config_files Makefile"
77864
77865 ac_config_files="$ac_config_files scripts/testsuite_flags"
77866
77867 ac_config_files="$ac_config_files scripts/extract_symvers"
77868
77869 ac_config_files="$ac_config_files doc/xsl/customization.xsl"
77870
77871
77872 # Multilibs need MULTISUBDIR defined correctly in certain makefiles so
77873 # that multilib installs will end up installed in the correct place.
77874 # The testsuite needs it for multilib-aware ABI baseline files.
77875 # To work around this not being passed down from config-ml.in ->
77876 # srcdir/Makefile.am -> srcdir/{src,libsupc++,...}/Makefile.am, manually
77877 # append it here. Only modify Makefiles that have just been created.
77878 #
77879 # Also, get rid of this simulated-VPATH thing that automake does.
77880 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/c++20/Makefile src/filesystem/Makefile doc/Makefile po/Makefile testsuite/Makefile python/Makefile"
77881
77882
77883 ac_config_commands="$ac_config_commands generate-headers"
77884
77885
77886 cat >confcache <<\_ACEOF
77887 # This file is a shell script that caches the results of configure
77888 # tests run on this system so they can be shared between configure
77889 # scripts and configure runs, see configure's option --config-cache.
77890 # It is not useful on other systems. If it contains results you don't
77891 # want to keep, you may remove or edit it.
77892 #
77893 # config.status only pays attention to the cache file if you give it
77894 # the --recheck option to rerun configure.
77895 #
77896 # `ac_cv_env_foo' variables (set or unset) will be overridden when
77897 # loading this file, other *unset* `ac_cv_foo' will be assigned the
77898 # following values.
77899
77900 _ACEOF
77901
77902 # The following way of writing the cache mishandles newlines in values,
77903 # but we know of no workaround that is simple, portable, and efficient.
77904 # So, we kill variables containing newlines.
77905 # Ultrix sh set writes to stderr and can't be redirected directly,
77906 # and sets the high bit in the cache file unless we assign to the vars.
77907 (
77908 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
77909 eval ac_val=\$$ac_var
77910 case $ac_val in #(
77911 *${as_nl}*)
77912 case $ac_var in #(
77913 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
77914 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
77915 esac
77916 case $ac_var in #(
77917 _ | IFS | as_nl) ;; #(
77918 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
77919 *) { eval $ac_var=; unset $ac_var;} ;;
77920 esac ;;
77921 esac
77922 done
77923
77924 (set) 2>&1 |
77925 case $as_nl`(ac_space=' '; set) 2>&1` in #(
77926 *${as_nl}ac_space=\ *)
77927 # `set' does not quote correctly, so add quotes: double-quote
77928 # substitution turns \\\\ into \\, and sed turns \\ into \.
77929 sed -n \
77930 "s/'/'\\\\''/g;
77931 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
77932 ;; #(
77933 *)
77934 # `set' quotes correctly as required by POSIX, so do not add quotes.
77935 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
77936 ;;
77937 esac |
77938 sort
77939 ) |
77940 sed '
77941 /^ac_cv_env_/b end
77942 t clear
77943 :clear
77944 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
77945 t end
77946 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
77947 :end' >>confcache
77948 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
77949 if test -w "$cache_file"; then
77950 if test "x$cache_file" != "x/dev/null"; then
77951 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
77952 $as_echo "$as_me: updating cache $cache_file" >&6;}
77953 if test ! -f "$cache_file" || test -h "$cache_file"; then
77954 cat confcache >"$cache_file"
77955 else
77956 case $cache_file in #(
77957 */* | ?:*)
77958 mv -f confcache "$cache_file"$$ &&
77959 mv -f "$cache_file"$$ "$cache_file" ;; #(
77960 *)
77961 mv -f confcache "$cache_file" ;;
77962 esac
77963 fi
77964 fi
77965 else
77966 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
77967 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
77968 fi
77969 fi
77970 rm -f confcache
77971
77972 test "x$prefix" = xNONE && prefix=$ac_default_prefix
77973 # Let make expand exec_prefix.
77974 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
77975
77976 DEFS=-DHAVE_CONFIG_H
77977
77978 ac_libobjs=
77979 ac_ltlibobjs=
77980 U=
77981 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
77982 # 1. Remove the extension, and $U if already installed.
77983 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
77984 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
77985 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
77986 # will be set to the directory where LIBOBJS objects are built.
77987 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
77988 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
77989 done
77990 LIBOBJS=$ac_libobjs
77991
77992 LTLIBOBJS=$ac_ltlibobjs
77993
77994
77995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking that generated files are newer than configure" >&5
77996 $as_echo_n "checking that generated files are newer than configure... " >&6; }
77997 if test -n "$am_sleep_pid"; then
77998 # Hide warnings about reused PIDs.
77999 wait $am_sleep_pid 2>/dev/null
78000 fi
78001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: done" >&5
78002 $as_echo "done" >&6; }
78003 if test -n "$EXEEXT"; then
78004 am__EXEEXT_TRUE=
78005 am__EXEEXT_FALSE='#'
78006 else
78007 am__EXEEXT_TRUE='#'
78008 am__EXEEXT_FALSE=
78009 fi
78010
78011 if test -z "${MAINTAINER_MODE_TRUE}" && test -z "${MAINTAINER_MODE_FALSE}"; then
78012 as_fn_error $? "conditional \"MAINTAINER_MODE\" was never defined.
78013 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78014 fi
78015 if test -z "${GLIBCXX_HOSTED_TRUE}" && test -z "${GLIBCXX_HOSTED_FALSE}"; then
78016 as_fn_error $? "conditional \"GLIBCXX_HOSTED\" was never defined.
78017 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78018 fi
78019 if test -z "${GLIBCXX_BUILD_PCH_TRUE}" && test -z "${GLIBCXX_BUILD_PCH_FALSE}"; then
78020 as_fn_error $? "conditional \"GLIBCXX_BUILD_PCH\" was never defined.
78021 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78022 fi
78023 if test -z "${ENABLE_FLOAT128_TRUE}" && test -z "${ENABLE_FLOAT128_FALSE}"; then
78024 as_fn_error $? "conditional \"ENABLE_FLOAT128\" was never defined.
78025 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78026 fi
78027 if test -z "${ENABLE_ALLOCATOR_NEW_TRUE}" && test -z "${ENABLE_ALLOCATOR_NEW_FALSE}"; then
78028 as_fn_error $? "conditional \"ENABLE_ALLOCATOR_NEW\" was never defined.
78029 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78030 fi
78031 if test -z "${GLIBCXX_C_HEADERS_C_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_FALSE}"; then
78032 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C\" was never defined.
78033 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78034 fi
78035 if test -z "${GLIBCXX_C_HEADERS_C_STD_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_STD_FALSE}"; then
78036 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_STD\" was never defined.
78037 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78038 fi
78039 if test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_TRUE}" && test -z "${GLIBCXX_C_HEADERS_C_GLOBAL_FALSE}"; then
78040 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_C_GLOBAL\" was never defined.
78041 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78042 fi
78043 if test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_TRUE}" && test -z "${GLIBCXX_C_HEADERS_COMPATIBILITY_FALSE}"; then
78044 as_fn_error $? "conditional \"GLIBCXX_C_HEADERS_COMPATIBILITY\" was never defined.
78045 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78046 fi
78047 if test -z "${GLIBCXX_BUILD_DEBUG_TRUE}" && test -z "${GLIBCXX_BUILD_DEBUG_FALSE}"; then
78048 as_fn_error $? "conditional \"GLIBCXX_BUILD_DEBUG\" was never defined.
78049 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78050 fi
78051 if test -z "${ENABLE_EXTERN_TEMPLATE_TRUE}" && test -z "${ENABLE_EXTERN_TEMPLATE_FALSE}"; then
78052 as_fn_error $? "conditional \"ENABLE_EXTERN_TEMPLATE\" was never defined.
78053 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78054 fi
78055 if test -z "${ENABLE_PYTHONDIR_TRUE}" && test -z "${ENABLE_PYTHONDIR_FALSE}"; then
78056 as_fn_error $? "conditional \"ENABLE_PYTHONDIR\" was never defined.
78057 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78058 fi
78059 if test -z "${ENABLE_WERROR_TRUE}" && test -z "${ENABLE_WERROR_FALSE}"; then
78060 as_fn_error $? "conditional \"ENABLE_WERROR\" was never defined.
78061 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78062 fi
78063 if test -z "${VTV_CYGMIN_TRUE}" && test -z "${VTV_CYGMIN_FALSE}"; then
78064 as_fn_error $? "conditional \"VTV_CYGMIN\" was never defined.
78065 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78066 fi
78067 if test -z "${ENABLE_VTABLE_VERIFY_TRUE}" && test -z "${ENABLE_VTABLE_VERIFY_FALSE}"; then
78068 as_fn_error $? "conditional \"ENABLE_VTABLE_VERIFY\" was never defined.
78069 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78070 fi
78071 if test -z "${ENABLE_SYMVERS_TRUE}" && test -z "${ENABLE_SYMVERS_FALSE}"; then
78072 as_fn_error $? "conditional \"ENABLE_SYMVERS\" was never defined.
78073 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78074 fi
78075 if test -z "${ENABLE_SYMVERS_GNU_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_FALSE}"; then
78076 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU\" was never defined.
78077 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78078 fi
78079 if test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_TRUE}" && test -z "${ENABLE_SYMVERS_GNU_NAMESPACE_FALSE}"; then
78080 as_fn_error $? "conditional \"ENABLE_SYMVERS_GNU_NAMESPACE\" was never defined.
78081 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78082 fi
78083 if test -z "${ENABLE_SYMVERS_DARWIN_TRUE}" && test -z "${ENABLE_SYMVERS_DARWIN_FALSE}"; then
78084 as_fn_error $? "conditional \"ENABLE_SYMVERS_DARWIN\" was never defined.
78085 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78086 fi
78087 if test -z "${ENABLE_SYMVERS_SUN_TRUE}" && test -z "${ENABLE_SYMVERS_SUN_FALSE}"; then
78088 as_fn_error $? "conditional \"ENABLE_SYMVERS_SUN\" was never defined.
78089 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78090 fi
78091 if test -z "${ENABLE_VISIBILITY_TRUE}" && test -z "${ENABLE_VISIBILITY_FALSE}"; then
78092 as_fn_error $? "conditional \"ENABLE_VISIBILITY\" was never defined.
78093 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78094 fi
78095 if test -z "${ENABLE_DUAL_ABI_TRUE}" && test -z "${ENABLE_DUAL_ABI_FALSE}"; then
78096 as_fn_error $? "conditional \"ENABLE_DUAL_ABI\" was never defined.
78097 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78098 fi
78099 if test -z "${ENABLE_CXX11_ABI_TRUE}" && test -z "${ENABLE_CXX11_ABI_FALSE}"; then
78100 as_fn_error $? "conditional \"ENABLE_CXX11_ABI\" was never defined.
78101 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78102 fi
78103 if test -z "${GLIBCXX_LDBL_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_COMPAT_FALSE}"; then
78104 as_fn_error $? "conditional \"GLIBCXX_LDBL_COMPAT\" was never defined.
78105 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78106 fi
78107 if test -z "${GLIBCXX_LDBL_ALT128_COMPAT_TRUE}" && test -z "${GLIBCXX_LDBL_ALT128_COMPAT_FALSE}"; then
78108 as_fn_error $? "conditional \"GLIBCXX_LDBL_ALT128_COMPAT\" was never defined.
78109 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78110 fi
78111 if test -z "${ENABLE_FILESYSTEM_TS_TRUE}" && test -z "${ENABLE_FILESYSTEM_TS_FALSE}"; then
78112 as_fn_error $? "conditional \"ENABLE_FILESYSTEM_TS\" was never defined.
78113 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78114 fi
78115 if test -z "${BUILD_INFO_TRUE}" && test -z "${BUILD_INFO_FALSE}"; then
78116 as_fn_error $? "conditional \"BUILD_INFO\" was never defined.
78117 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78118 fi
78119 if test -z "${BUILD_EPUB_TRUE}" && test -z "${BUILD_EPUB_FALSE}"; then
78120 as_fn_error $? "conditional \"BUILD_EPUB\" was never defined.
78121 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78122 fi
78123 if test -z "${BUILD_XML_TRUE}" && test -z "${BUILD_XML_FALSE}"; then
78124 as_fn_error $? "conditional \"BUILD_XML\" was never defined.
78125 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78126 fi
78127 if test -z "${BUILD_HTML_TRUE}" && test -z "${BUILD_HTML_FALSE}"; then
78128 as_fn_error $? "conditional \"BUILD_HTML\" was never defined.
78129 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78130 fi
78131 if test -z "${BUILD_MAN_TRUE}" && test -z "${BUILD_MAN_FALSE}"; then
78132 as_fn_error $? "conditional \"BUILD_MAN\" was never defined.
78133 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78134 fi
78135 if test -z "${BUILD_PDF_TRUE}" && test -z "${BUILD_PDF_FALSE}"; then
78136 as_fn_error $? "conditional \"BUILD_PDF\" was never defined.
78137 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78138 fi
78139 if test -z "${INCLUDE_DIR_NOTPARALLEL_TRUE}" && test -z "${INCLUDE_DIR_NOTPARALLEL_FALSE}"; then
78140 as_fn_error $? "conditional \"INCLUDE_DIR_NOTPARALLEL\" was never defined.
78141 Usually this means the macro was only invoked conditionally." "$LINENO" 5
78142 fi
78143
78144 : "${CONFIG_STATUS=./config.status}"
78145 ac_write_fail=0
78146 ac_clean_files_save=$ac_clean_files
78147 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
78148 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
78149 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
78150 as_write_fail=0
78151 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
78152 #! $SHELL
78153 # Generated by $as_me.
78154 # Run this file to recreate the current configuration.
78155 # Compiler output produced by configure, useful for debugging
78156 # configure, is in config.log if it exists.
78157
78158 debug=false
78159 ac_cs_recheck=false
78160 ac_cs_silent=false
78161
78162 SHELL=\${CONFIG_SHELL-$SHELL}
78163 export SHELL
78164 _ASEOF
78165 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
78166 ## -------------------- ##
78167 ## M4sh Initialization. ##
78168 ## -------------------- ##
78169
78170 # Be more Bourne compatible
78171 DUALCASE=1; export DUALCASE # for MKS sh
78172 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
78173 emulate sh
78174 NULLCMD=:
78175 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
78176 # is contrary to our usage. Disable this feature.
78177 alias -g '${1+"$@"}'='"$@"'
78178 setopt NO_GLOB_SUBST
78179 else
78180 case `(set -o) 2>/dev/null` in #(
78181 *posix*) :
78182 set -o posix ;; #(
78183 *) :
78184 ;;
78185 esac
78186 fi
78187
78188
78189 as_nl='
78190 '
78191 export as_nl
78192 # Printing a long string crashes Solaris 7 /usr/bin/printf.
78193 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
78194 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
78195 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
78196 # Prefer a ksh shell builtin over an external printf program on Solaris,
78197 # but without wasting forks for bash or zsh.
78198 if test -z "$BASH_VERSION$ZSH_VERSION" \
78199 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
78200 as_echo='print -r --'
78201 as_echo_n='print -rn --'
78202 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
78203 as_echo='printf %s\n'
78204 as_echo_n='printf %s'
78205 else
78206 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
78207 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
78208 as_echo_n='/usr/ucb/echo -n'
78209 else
78210 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
78211 as_echo_n_body='eval
78212 arg=$1;
78213 case $arg in #(
78214 *"$as_nl"*)
78215 expr "X$arg" : "X\\(.*\\)$as_nl";
78216 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
78217 esac;
78218 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
78219 '
78220 export as_echo_n_body
78221 as_echo_n='sh -c $as_echo_n_body as_echo'
78222 fi
78223 export as_echo_body
78224 as_echo='sh -c $as_echo_body as_echo'
78225 fi
78226
78227 # The user is always right.
78228 if test "${PATH_SEPARATOR+set}" != set; then
78229 PATH_SEPARATOR=:
78230 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78231 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
78232 PATH_SEPARATOR=';'
78233 }
78234 fi
78235
78236
78237 # IFS
78238 # We need space, tab and new line, in precisely that order. Quoting is
78239 # there to prevent editors from complaining about space-tab.
78240 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
78241 # splitting by setting IFS to empty value.)
78242 IFS=" "" $as_nl"
78243
78244 # Find who we are. Look in the path if we contain no directory separator.
78245 as_myself=
78246 case $0 in #((
78247 *[\\/]* ) as_myself=$0 ;;
78248 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
78249 for as_dir in $PATH
78250 do
78251 IFS=$as_save_IFS
78252 test -z "$as_dir" && as_dir=.
78253 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
78254 done
78255 IFS=$as_save_IFS
78256
78257 ;;
78258 esac
78259 # We did not find ourselves, most probably we were run as `sh COMMAND'
78260 # in which case we are not to be found in the path.
78261 if test "x$as_myself" = x; then
78262 as_myself=$0
78263 fi
78264 if test ! -f "$as_myself"; then
78265 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
78266 exit 1
78267 fi
78268
78269 # Unset variables that we do not need and which cause bugs (e.g. in
78270 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
78271 # suppresses any "Segmentation fault" message there. '((' could
78272 # trigger a bug in pdksh 5.2.14.
78273 for as_var in BASH_ENV ENV MAIL MAILPATH
78274 do eval test x\${$as_var+set} = xset \
78275 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
78276 done
78277 PS1='$ '
78278 PS2='> '
78279 PS4='+ '
78280
78281 # NLS nuisances.
78282 LC_ALL=C
78283 export LC_ALL
78284 LANGUAGE=C
78285 export LANGUAGE
78286
78287 # CDPATH.
78288 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78289
78290
78291 # as_fn_error STATUS ERROR [LINENO LOG_FD]
78292 # ----------------------------------------
78293 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
78294 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
78295 # script with STATUS, using 1 if that was 0.
78296 as_fn_error ()
78297 {
78298 as_status=$1; test $as_status -eq 0 && as_status=1
78299 if test "$4"; then
78300 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
78301 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
78302 fi
78303 $as_echo "$as_me: error: $2" >&2
78304 as_fn_exit $as_status
78305 } # as_fn_error
78306
78307
78308 # as_fn_set_status STATUS
78309 # -----------------------
78310 # Set $? to STATUS, without forking.
78311 as_fn_set_status ()
78312 {
78313 return $1
78314 } # as_fn_set_status
78315
78316 # as_fn_exit STATUS
78317 # -----------------
78318 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
78319 as_fn_exit ()
78320 {
78321 set +e
78322 as_fn_set_status $1
78323 exit $1
78324 } # as_fn_exit
78325
78326 # as_fn_unset VAR
78327 # ---------------
78328 # Portably unset VAR.
78329 as_fn_unset ()
78330 {
78331 { eval $1=; unset $1;}
78332 }
78333 as_unset=as_fn_unset
78334 # as_fn_append VAR VALUE
78335 # ----------------------
78336 # Append the text in VALUE to the end of the definition contained in VAR. Take
78337 # advantage of any shell optimizations that allow amortized linear growth over
78338 # repeated appends, instead of the typical quadratic growth present in naive
78339 # implementations.
78340 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
78341 eval 'as_fn_append ()
78342 {
78343 eval $1+=\$2
78344 }'
78345 else
78346 as_fn_append ()
78347 {
78348 eval $1=\$$1\$2
78349 }
78350 fi # as_fn_append
78351
78352 # as_fn_arith ARG...
78353 # ------------------
78354 # Perform arithmetic evaluation on the ARGs, and store the result in the
78355 # global $as_val. Take advantage of shells that can avoid forks. The arguments
78356 # must be portable across $(()) and expr.
78357 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
78358 eval 'as_fn_arith ()
78359 {
78360 as_val=$(( $* ))
78361 }'
78362 else
78363 as_fn_arith ()
78364 {
78365 as_val=`expr "$@" || test $? -eq 1`
78366 }
78367 fi # as_fn_arith
78368
78369
78370 if expr a : '\(a\)' >/dev/null 2>&1 &&
78371 test "X`expr 00001 : '.*\(...\)'`" = X001; then
78372 as_expr=expr
78373 else
78374 as_expr=false
78375 fi
78376
78377 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
78378 as_basename=basename
78379 else
78380 as_basename=false
78381 fi
78382
78383 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
78384 as_dirname=dirname
78385 else
78386 as_dirname=false
78387 fi
78388
78389 as_me=`$as_basename -- "$0" ||
78390 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
78391 X"$0" : 'X\(//\)$' \| \
78392 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
78393 $as_echo X/"$0" |
78394 sed '/^.*\/\([^/][^/]*\)\/*$/{
78395 s//\1/
78396 q
78397 }
78398 /^X\/\(\/\/\)$/{
78399 s//\1/
78400 q
78401 }
78402 /^X\/\(\/\).*/{
78403 s//\1/
78404 q
78405 }
78406 s/.*/./; q'`
78407
78408 # Avoid depending upon Character Ranges.
78409 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
78410 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
78411 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
78412 as_cr_digits='0123456789'
78413 as_cr_alnum=$as_cr_Letters$as_cr_digits
78414
78415 ECHO_C= ECHO_N= ECHO_T=
78416 case `echo -n x` in #(((((
78417 -n*)
78418 case `echo 'xy\c'` in
78419 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
78420 xy) ECHO_C='\c';;
78421 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
78422 ECHO_T=' ';;
78423 esac;;
78424 *)
78425 ECHO_N='-n';;
78426 esac
78427
78428 rm -f conf$$ conf$$.exe conf$$.file
78429 if test -d conf$$.dir; then
78430 rm -f conf$$.dir/conf$$.file
78431 else
78432 rm -f conf$$.dir
78433 mkdir conf$$.dir 2>/dev/null
78434 fi
78435 if (echo >conf$$.file) 2>/dev/null; then
78436 if ln -s conf$$.file conf$$ 2>/dev/null; then
78437 as_ln_s='ln -s'
78438 # ... but there are two gotchas:
78439 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
78440 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
78441 # In both cases, we have to default to `cp -pR'.
78442 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
78443 as_ln_s='cp -pR'
78444 elif ln conf$$.file conf$$ 2>/dev/null; then
78445 as_ln_s=ln
78446 else
78447 as_ln_s='cp -pR'
78448 fi
78449 else
78450 as_ln_s='cp -pR'
78451 fi
78452 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
78453 rmdir conf$$.dir 2>/dev/null
78454
78455
78456 # as_fn_mkdir_p
78457 # -------------
78458 # Create "$as_dir" as a directory, including parents if necessary.
78459 as_fn_mkdir_p ()
78460 {
78461
78462 case $as_dir in #(
78463 -*) as_dir=./$as_dir;;
78464 esac
78465 test -d "$as_dir" || eval $as_mkdir_p || {
78466 as_dirs=
78467 while :; do
78468 case $as_dir in #(
78469 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
78470 *) as_qdir=$as_dir;;
78471 esac
78472 as_dirs="'$as_qdir' $as_dirs"
78473 as_dir=`$as_dirname -- "$as_dir" ||
78474 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
78475 X"$as_dir" : 'X\(//\)[^/]' \| \
78476 X"$as_dir" : 'X\(//\)$' \| \
78477 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
78478 $as_echo X"$as_dir" |
78479 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
78480 s//\1/
78481 q
78482 }
78483 /^X\(\/\/\)[^/].*/{
78484 s//\1/
78485 q
78486 }
78487 /^X\(\/\/\)$/{
78488 s//\1/
78489 q
78490 }
78491 /^X\(\/\).*/{
78492 s//\1/
78493 q
78494 }
78495 s/.*/./; q'`
78496 test -d "$as_dir" && break
78497 done
78498 test -z "$as_dirs" || eval "mkdir $as_dirs"
78499 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
78500
78501
78502 } # as_fn_mkdir_p
78503 if mkdir -p . 2>/dev/null; then
78504 as_mkdir_p='mkdir -p "$as_dir"'
78505 else
78506 test -d ./-p && rmdir ./-p
78507 as_mkdir_p=false
78508 fi
78509
78510
78511 # as_fn_executable_p FILE
78512 # -----------------------
78513 # Test if FILE is an executable regular file.
78514 as_fn_executable_p ()
78515 {
78516 test -f "$1" && test -x "$1"
78517 } # as_fn_executable_p
78518 as_test_x='test -x'
78519 as_executable_p=as_fn_executable_p
78520
78521 # Sed expression to map a string onto a valid CPP name.
78522 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
78523
78524 # Sed expression to map a string onto a valid variable name.
78525 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
78526
78527
78528 exec 6>&1
78529 ## ----------------------------------- ##
78530 ## Main body of $CONFIG_STATUS script. ##
78531 ## ----------------------------------- ##
78532 _ASEOF
78533 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
78534
78535 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78536 # Save the log message, to keep $0 and so on meaningful, and to
78537 # report actual input values of CONFIG_FILES etc. instead of their
78538 # values after options handling.
78539 ac_log="
78540 This file was extended by package-unused $as_me version-unused, which was
78541 generated by GNU Autoconf 2.69. Invocation command line was
78542
78543 CONFIG_FILES = $CONFIG_FILES
78544 CONFIG_HEADERS = $CONFIG_HEADERS
78545 CONFIG_LINKS = $CONFIG_LINKS
78546 CONFIG_COMMANDS = $CONFIG_COMMANDS
78547 $ $0 $@
78548
78549 on `(hostname || uname -n) 2>/dev/null | sed 1q`
78550 "
78551
78552 _ACEOF
78553
78554 case $ac_config_files in *"
78555 "*) set x $ac_config_files; shift; ac_config_files=$*;;
78556 esac
78557
78558 case $ac_config_headers in *"
78559 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
78560 esac
78561
78562
78563 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78564 # Files that config.status was made for.
78565 config_files="$ac_config_files"
78566 config_headers="$ac_config_headers"
78567 config_commands="$ac_config_commands"
78568
78569 _ACEOF
78570
78571 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78572 ac_cs_usage="\
78573 \`$as_me' instantiates files and other configuration actions
78574 from templates according to the current configuration. Unless the files
78575 and actions are specified as TAGs, all are instantiated by default.
78576
78577 Usage: $0 [OPTION]... [TAG]...
78578
78579 -h, --help print this help, then exit
78580 -V, --version print version number and configuration settings, then exit
78581 --config print configuration, then exit
78582 -q, --quiet, --silent
78583 do not print progress messages
78584 -d, --debug don't remove temporary files
78585 --recheck update $as_me by reconfiguring in the same conditions
78586 --file=FILE[:TEMPLATE]
78587 instantiate the configuration file FILE
78588 --header=FILE[:TEMPLATE]
78589 instantiate the configuration header FILE
78590
78591 Configuration files:
78592 $config_files
78593
78594 Configuration headers:
78595 $config_headers
78596
78597 Configuration commands:
78598 $config_commands
78599
78600 Report bugs to the package provider."
78601
78602 _ACEOF
78603 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78604 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
78605 ac_cs_version="\\
78606 package-unused config.status version-unused
78607 configured by $0, generated by GNU Autoconf 2.69,
78608 with options \\"\$ac_cs_config\\"
78609
78610 Copyright (C) 2012 Free Software Foundation, Inc.
78611 This config.status script is free software; the Free Software Foundation
78612 gives unlimited permission to copy, distribute and modify it."
78613
78614 ac_pwd='$ac_pwd'
78615 srcdir='$srcdir'
78616 INSTALL='$INSTALL'
78617 MKDIR_P='$MKDIR_P'
78618 AWK='$AWK'
78619 test -n "\$AWK" || AWK=awk
78620 _ACEOF
78621
78622 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78623 # The default lists apply if the user does not specify any file.
78624 ac_need_defaults=:
78625 while test $# != 0
78626 do
78627 case $1 in
78628 --*=?*)
78629 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78630 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
78631 ac_shift=:
78632 ;;
78633 --*=)
78634 ac_option=`expr "X$1" : 'X\([^=]*\)='`
78635 ac_optarg=
78636 ac_shift=:
78637 ;;
78638 *)
78639 ac_option=$1
78640 ac_optarg=$2
78641 ac_shift=shift
78642 ;;
78643 esac
78644
78645 case $ac_option in
78646 # Handling of the options.
78647 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
78648 ac_cs_recheck=: ;;
78649 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
78650 $as_echo "$ac_cs_version"; exit ;;
78651 --config | --confi | --conf | --con | --co | --c )
78652 $as_echo "$ac_cs_config"; exit ;;
78653 --debug | --debu | --deb | --de | --d | -d )
78654 debug=: ;;
78655 --file | --fil | --fi | --f )
78656 $ac_shift
78657 case $ac_optarg in
78658 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78659 '') as_fn_error $? "missing file argument" ;;
78660 esac
78661 as_fn_append CONFIG_FILES " '$ac_optarg'"
78662 ac_need_defaults=false;;
78663 --header | --heade | --head | --hea )
78664 $ac_shift
78665 case $ac_optarg in
78666 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
78667 esac
78668 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
78669 ac_need_defaults=false;;
78670 --he | --h)
78671 # Conflict between --help and --header
78672 as_fn_error $? "ambiguous option: \`$1'
78673 Try \`$0 --help' for more information.";;
78674 --help | --hel | -h )
78675 $as_echo "$ac_cs_usage"; exit ;;
78676 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
78677 | -silent | --silent | --silen | --sile | --sil | --si | --s)
78678 ac_cs_silent=: ;;
78679
78680 # This is an error.
78681 -*) as_fn_error $? "unrecognized option: \`$1'
78682 Try \`$0 --help' for more information." ;;
78683
78684 *) as_fn_append ac_config_targets " $1"
78685 ac_need_defaults=false ;;
78686
78687 esac
78688 shift
78689 done
78690
78691 ac_configure_extra_args=
78692
78693 if $ac_cs_silent; then
78694 exec 6>/dev/null
78695 ac_configure_extra_args="$ac_configure_extra_args --silent"
78696 fi
78697
78698 _ACEOF
78699 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78700 if \$ac_cs_recheck; then
78701 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
78702 shift
78703 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
78704 CONFIG_SHELL='$SHELL'
78705 export CONFIG_SHELL
78706 exec "\$@"
78707 fi
78708
78709 _ACEOF
78710 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
78711 exec 5>>config.log
78712 {
78713 echo
78714 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
78715 ## Running $as_me. ##
78716 _ASBOX
78717 $as_echo "$ac_log"
78718 } >&5
78719
78720 _ACEOF
78721 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
78722 #
78723 # INIT-COMMANDS
78724 #
78725
78726 srcdir="$srcdir"
78727 host="$host"
78728 target="$target"
78729 with_multisubdir="$with_multisubdir"
78730 with_multisrctop="$with_multisrctop"
78731 with_target_subdir="$with_target_subdir"
78732 ac_configure_args="${multilib_arg} ${ac_configure_args}"
78733 multi_basedir="$multi_basedir"
78734 CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
78735 CC="$CC"
78736 CXX="$CXX"
78737 GFORTRAN="$GFORTRAN"
78738 GDC="$GDC"
78739
78740
78741 # The HP-UX ksh and POSIX shell print the target directory to stdout
78742 # if CDPATH is set.
78743 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
78744
78745 sed_quote_subst='$sed_quote_subst'
78746 double_quote_subst='$double_quote_subst'
78747 delay_variable_subst='$delay_variable_subst'
78748 macro_version='`$ECHO "$macro_version" | $SED "$delay_single_quote_subst"`'
78749 macro_revision='`$ECHO "$macro_revision" | $SED "$delay_single_quote_subst"`'
78750 enable_shared='`$ECHO "$enable_shared" | $SED "$delay_single_quote_subst"`'
78751 enable_static='`$ECHO "$enable_static" | $SED "$delay_single_quote_subst"`'
78752 pic_mode='`$ECHO "$pic_mode" | $SED "$delay_single_quote_subst"`'
78753 enable_fast_install='`$ECHO "$enable_fast_install" | $SED "$delay_single_quote_subst"`'
78754 SHELL='`$ECHO "$SHELL" | $SED "$delay_single_quote_subst"`'
78755 ECHO='`$ECHO "$ECHO" | $SED "$delay_single_quote_subst"`'
78756 host_alias='`$ECHO "$host_alias" | $SED "$delay_single_quote_subst"`'
78757 host='`$ECHO "$host" | $SED "$delay_single_quote_subst"`'
78758 host_os='`$ECHO "$host_os" | $SED "$delay_single_quote_subst"`'
78759 build_alias='`$ECHO "$build_alias" | $SED "$delay_single_quote_subst"`'
78760 build='`$ECHO "$build" | $SED "$delay_single_quote_subst"`'
78761 build_os='`$ECHO "$build_os" | $SED "$delay_single_quote_subst"`'
78762 SED='`$ECHO "$SED" | $SED "$delay_single_quote_subst"`'
78763 Xsed='`$ECHO "$Xsed" | $SED "$delay_single_quote_subst"`'
78764 GREP='`$ECHO "$GREP" | $SED "$delay_single_quote_subst"`'
78765 EGREP='`$ECHO "$EGREP" | $SED "$delay_single_quote_subst"`'
78766 FGREP='`$ECHO "$FGREP" | $SED "$delay_single_quote_subst"`'
78767 LD='`$ECHO "$LD" | $SED "$delay_single_quote_subst"`'
78768 NM='`$ECHO "$NM" | $SED "$delay_single_quote_subst"`'
78769 LN_S='`$ECHO "$LN_S" | $SED "$delay_single_quote_subst"`'
78770 max_cmd_len='`$ECHO "$max_cmd_len" | $SED "$delay_single_quote_subst"`'
78771 ac_objext='`$ECHO "$ac_objext" | $SED "$delay_single_quote_subst"`'
78772 exeext='`$ECHO "$exeext" | $SED "$delay_single_quote_subst"`'
78773 lt_unset='`$ECHO "$lt_unset" | $SED "$delay_single_quote_subst"`'
78774 lt_SP2NL='`$ECHO "$lt_SP2NL" | $SED "$delay_single_quote_subst"`'
78775 lt_NL2SP='`$ECHO "$lt_NL2SP" | $SED "$delay_single_quote_subst"`'
78776 reload_flag='`$ECHO "$reload_flag" | $SED "$delay_single_quote_subst"`'
78777 reload_cmds='`$ECHO "$reload_cmds" | $SED "$delay_single_quote_subst"`'
78778 OBJDUMP='`$ECHO "$OBJDUMP" | $SED "$delay_single_quote_subst"`'
78779 deplibs_check_method='`$ECHO "$deplibs_check_method" | $SED "$delay_single_quote_subst"`'
78780 file_magic_cmd='`$ECHO "$file_magic_cmd" | $SED "$delay_single_quote_subst"`'
78781 AR='`$ECHO "$AR" | $SED "$delay_single_quote_subst"`'
78782 AR_FLAGS='`$ECHO "$AR_FLAGS" | $SED "$delay_single_quote_subst"`'
78783 STRIP='`$ECHO "$STRIP" | $SED "$delay_single_quote_subst"`'
78784 RANLIB='`$ECHO "$RANLIB" | $SED "$delay_single_quote_subst"`'
78785 old_postinstall_cmds='`$ECHO "$old_postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78786 old_postuninstall_cmds='`$ECHO "$old_postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78787 old_archive_cmds='`$ECHO "$old_archive_cmds" | $SED "$delay_single_quote_subst"`'
78788 lock_old_archive_extraction='`$ECHO "$lock_old_archive_extraction" | $SED "$delay_single_quote_subst"`'
78789 CC='`$ECHO "$CC" | $SED "$delay_single_quote_subst"`'
78790 CFLAGS='`$ECHO "$CFLAGS" | $SED "$delay_single_quote_subst"`'
78791 compiler='`$ECHO "$compiler" | $SED "$delay_single_quote_subst"`'
78792 GCC='`$ECHO "$GCC" | $SED "$delay_single_quote_subst"`'
78793 lt_cv_sys_global_symbol_pipe='`$ECHO "$lt_cv_sys_global_symbol_pipe" | $SED "$delay_single_quote_subst"`'
78794 lt_cv_sys_global_symbol_to_cdecl='`$ECHO "$lt_cv_sys_global_symbol_to_cdecl" | $SED "$delay_single_quote_subst"`'
78795 lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "$lt_cv_sys_global_symbol_to_c_name_address" | $SED "$delay_single_quote_subst"`'
78796 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"`'
78797 objdir='`$ECHO "$objdir" | $SED "$delay_single_quote_subst"`'
78798 MAGIC_CMD='`$ECHO "$MAGIC_CMD" | $SED "$delay_single_quote_subst"`'
78799 lt_prog_compiler_no_builtin_flag='`$ECHO "$lt_prog_compiler_no_builtin_flag" | $SED "$delay_single_quote_subst"`'
78800 lt_prog_compiler_wl='`$ECHO "$lt_prog_compiler_wl" | $SED "$delay_single_quote_subst"`'
78801 lt_prog_compiler_pic='`$ECHO "$lt_prog_compiler_pic" | $SED "$delay_single_quote_subst"`'
78802 lt_prog_compiler_static='`$ECHO "$lt_prog_compiler_static" | $SED "$delay_single_quote_subst"`'
78803 lt_cv_prog_compiler_c_o='`$ECHO "$lt_cv_prog_compiler_c_o" | $SED "$delay_single_quote_subst"`'
78804 need_locks='`$ECHO "$need_locks" | $SED "$delay_single_quote_subst"`'
78805 DSYMUTIL='`$ECHO "$DSYMUTIL" | $SED "$delay_single_quote_subst"`'
78806 NMEDIT='`$ECHO "$NMEDIT" | $SED "$delay_single_quote_subst"`'
78807 LIPO='`$ECHO "$LIPO" | $SED "$delay_single_quote_subst"`'
78808 OTOOL='`$ECHO "$OTOOL" | $SED "$delay_single_quote_subst"`'
78809 OTOOL64='`$ECHO "$OTOOL64" | $SED "$delay_single_quote_subst"`'
78810 libext='`$ECHO "$libext" | $SED "$delay_single_quote_subst"`'
78811 shrext_cmds='`$ECHO "$shrext_cmds" | $SED "$delay_single_quote_subst"`'
78812 extract_expsyms_cmds='`$ECHO "$extract_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78813 archive_cmds_need_lc='`$ECHO "$archive_cmds_need_lc" | $SED "$delay_single_quote_subst"`'
78814 enable_shared_with_static_runtimes='`$ECHO "$enable_shared_with_static_runtimes" | $SED "$delay_single_quote_subst"`'
78815 export_dynamic_flag_spec='`$ECHO "$export_dynamic_flag_spec" | $SED "$delay_single_quote_subst"`'
78816 whole_archive_flag_spec='`$ECHO "$whole_archive_flag_spec" | $SED "$delay_single_quote_subst"`'
78817 compiler_needs_object='`$ECHO "$compiler_needs_object" | $SED "$delay_single_quote_subst"`'
78818 old_archive_from_new_cmds='`$ECHO "$old_archive_from_new_cmds" | $SED "$delay_single_quote_subst"`'
78819 old_archive_from_expsyms_cmds='`$ECHO "$old_archive_from_expsyms_cmds" | $SED "$delay_single_quote_subst"`'
78820 archive_cmds='`$ECHO "$archive_cmds" | $SED "$delay_single_quote_subst"`'
78821 archive_expsym_cmds='`$ECHO "$archive_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78822 module_cmds='`$ECHO "$module_cmds" | $SED "$delay_single_quote_subst"`'
78823 module_expsym_cmds='`$ECHO "$module_expsym_cmds" | $SED "$delay_single_quote_subst"`'
78824 with_gnu_ld='`$ECHO "$with_gnu_ld" | $SED "$delay_single_quote_subst"`'
78825 allow_undefined_flag='`$ECHO "$allow_undefined_flag" | $SED "$delay_single_quote_subst"`'
78826 no_undefined_flag='`$ECHO "$no_undefined_flag" | $SED "$delay_single_quote_subst"`'
78827 hardcode_libdir_flag_spec='`$ECHO "$hardcode_libdir_flag_spec" | $SED "$delay_single_quote_subst"`'
78828 hardcode_libdir_flag_spec_ld='`$ECHO "$hardcode_libdir_flag_spec_ld" | $SED "$delay_single_quote_subst"`'
78829 hardcode_libdir_separator='`$ECHO "$hardcode_libdir_separator" | $SED "$delay_single_quote_subst"`'
78830 hardcode_direct='`$ECHO "$hardcode_direct" | $SED "$delay_single_quote_subst"`'
78831 hardcode_direct_absolute='`$ECHO "$hardcode_direct_absolute" | $SED "$delay_single_quote_subst"`'
78832 hardcode_minus_L='`$ECHO "$hardcode_minus_L" | $SED "$delay_single_quote_subst"`'
78833 hardcode_shlibpath_var='`$ECHO "$hardcode_shlibpath_var" | $SED "$delay_single_quote_subst"`'
78834 hardcode_automatic='`$ECHO "$hardcode_automatic" | $SED "$delay_single_quote_subst"`'
78835 inherit_rpath='`$ECHO "$inherit_rpath" | $SED "$delay_single_quote_subst"`'
78836 link_all_deplibs='`$ECHO "$link_all_deplibs" | $SED "$delay_single_quote_subst"`'
78837 fix_srcfile_path='`$ECHO "$fix_srcfile_path" | $SED "$delay_single_quote_subst"`'
78838 always_export_symbols='`$ECHO "$always_export_symbols" | $SED "$delay_single_quote_subst"`'
78839 export_symbols_cmds='`$ECHO "$export_symbols_cmds" | $SED "$delay_single_quote_subst"`'
78840 exclude_expsyms='`$ECHO "$exclude_expsyms" | $SED "$delay_single_quote_subst"`'
78841 include_expsyms='`$ECHO "$include_expsyms" | $SED "$delay_single_quote_subst"`'
78842 prelink_cmds='`$ECHO "$prelink_cmds" | $SED "$delay_single_quote_subst"`'
78843 file_list_spec='`$ECHO "$file_list_spec" | $SED "$delay_single_quote_subst"`'
78844 variables_saved_for_relink='`$ECHO "$variables_saved_for_relink" | $SED "$delay_single_quote_subst"`'
78845 need_lib_prefix='`$ECHO "$need_lib_prefix" | $SED "$delay_single_quote_subst"`'
78846 need_version='`$ECHO "$need_version" | $SED "$delay_single_quote_subst"`'
78847 version_type='`$ECHO "$version_type" | $SED "$delay_single_quote_subst"`'
78848 runpath_var='`$ECHO "$runpath_var" | $SED "$delay_single_quote_subst"`'
78849 shlibpath_var='`$ECHO "$shlibpath_var" | $SED "$delay_single_quote_subst"`'
78850 shlibpath_overrides_runpath='`$ECHO "$shlibpath_overrides_runpath" | $SED "$delay_single_quote_subst"`'
78851 libname_spec='`$ECHO "$libname_spec" | $SED "$delay_single_quote_subst"`'
78852 library_names_spec='`$ECHO "$library_names_spec" | $SED "$delay_single_quote_subst"`'
78853 soname_spec='`$ECHO "$soname_spec" | $SED "$delay_single_quote_subst"`'
78854 install_override_mode='`$ECHO "$install_override_mode" | $SED "$delay_single_quote_subst"`'
78855 postinstall_cmds='`$ECHO "$postinstall_cmds" | $SED "$delay_single_quote_subst"`'
78856 postuninstall_cmds='`$ECHO "$postuninstall_cmds" | $SED "$delay_single_quote_subst"`'
78857 finish_cmds='`$ECHO "$finish_cmds" | $SED "$delay_single_quote_subst"`'
78858 finish_eval='`$ECHO "$finish_eval" | $SED "$delay_single_quote_subst"`'
78859 hardcode_into_libs='`$ECHO "$hardcode_into_libs" | $SED "$delay_single_quote_subst"`'
78860 sys_lib_search_path_spec='`$ECHO "$sys_lib_search_path_spec" | $SED "$delay_single_quote_subst"`'
78861 sys_lib_dlsearch_path_spec='`$ECHO "$sys_lib_dlsearch_path_spec" | $SED "$delay_single_quote_subst"`'
78862 hardcode_action='`$ECHO "$hardcode_action" | $SED "$delay_single_quote_subst"`'
78863 enable_dlopen='`$ECHO "$enable_dlopen" | $SED "$delay_single_quote_subst"`'
78864 enable_dlopen_self='`$ECHO "$enable_dlopen_self" | $SED "$delay_single_quote_subst"`'
78865 enable_dlopen_self_static='`$ECHO "$enable_dlopen_self_static" | $SED "$delay_single_quote_subst"`'
78866 old_striplib='`$ECHO "$old_striplib" | $SED "$delay_single_quote_subst"`'
78867 striplib='`$ECHO "$striplib" | $SED "$delay_single_quote_subst"`'
78868 compiler_lib_search_dirs='`$ECHO "$compiler_lib_search_dirs" | $SED "$delay_single_quote_subst"`'
78869 predep_objects='`$ECHO "$predep_objects" | $SED "$delay_single_quote_subst"`'
78870 postdep_objects='`$ECHO "$postdep_objects" | $SED "$delay_single_quote_subst"`'
78871 predeps='`$ECHO "$predeps" | $SED "$delay_single_quote_subst"`'
78872 postdeps='`$ECHO "$postdeps" | $SED "$delay_single_quote_subst"`'
78873 compiler_lib_search_path='`$ECHO "$compiler_lib_search_path" | $SED "$delay_single_quote_subst"`'
78874 LD_CXX='`$ECHO "$LD_CXX" | $SED "$delay_single_quote_subst"`'
78875 reload_flag_CXX='`$ECHO "$reload_flag_CXX" | $SED "$delay_single_quote_subst"`'
78876 reload_cmds_CXX='`$ECHO "$reload_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78877 old_archive_cmds_CXX='`$ECHO "$old_archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78878 compiler_CXX='`$ECHO "$compiler_CXX" | $SED "$delay_single_quote_subst"`'
78879 GCC_CXX='`$ECHO "$GCC_CXX" | $SED "$delay_single_quote_subst"`'
78880 lt_prog_compiler_no_builtin_flag_CXX='`$ECHO "$lt_prog_compiler_no_builtin_flag_CXX" | $SED "$delay_single_quote_subst"`'
78881 lt_prog_compiler_wl_CXX='`$ECHO "$lt_prog_compiler_wl_CXX" | $SED "$delay_single_quote_subst"`'
78882 lt_prog_compiler_pic_CXX='`$ECHO "$lt_prog_compiler_pic_CXX" | $SED "$delay_single_quote_subst"`'
78883 lt_prog_compiler_static_CXX='`$ECHO "$lt_prog_compiler_static_CXX" | $SED "$delay_single_quote_subst"`'
78884 lt_cv_prog_compiler_c_o_CXX='`$ECHO "$lt_cv_prog_compiler_c_o_CXX" | $SED "$delay_single_quote_subst"`'
78885 archive_cmds_need_lc_CXX='`$ECHO "$archive_cmds_need_lc_CXX" | $SED "$delay_single_quote_subst"`'
78886 enable_shared_with_static_runtimes_CXX='`$ECHO "$enable_shared_with_static_runtimes_CXX" | $SED "$delay_single_quote_subst"`'
78887 export_dynamic_flag_spec_CXX='`$ECHO "$export_dynamic_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
78888 whole_archive_flag_spec_CXX='`$ECHO "$whole_archive_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
78889 compiler_needs_object_CXX='`$ECHO "$compiler_needs_object_CXX" | $SED "$delay_single_quote_subst"`'
78890 old_archive_from_new_cmds_CXX='`$ECHO "$old_archive_from_new_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78891 old_archive_from_expsyms_cmds_CXX='`$ECHO "$old_archive_from_expsyms_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78892 archive_cmds_CXX='`$ECHO "$archive_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78893 archive_expsym_cmds_CXX='`$ECHO "$archive_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78894 module_cmds_CXX='`$ECHO "$module_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78895 module_expsym_cmds_CXX='`$ECHO "$module_expsym_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78896 with_gnu_ld_CXX='`$ECHO "$with_gnu_ld_CXX" | $SED "$delay_single_quote_subst"`'
78897 allow_undefined_flag_CXX='`$ECHO "$allow_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
78898 no_undefined_flag_CXX='`$ECHO "$no_undefined_flag_CXX" | $SED "$delay_single_quote_subst"`'
78899 hardcode_libdir_flag_spec_CXX='`$ECHO "$hardcode_libdir_flag_spec_CXX" | $SED "$delay_single_quote_subst"`'
78900 hardcode_libdir_flag_spec_ld_CXX='`$ECHO "$hardcode_libdir_flag_spec_ld_CXX" | $SED "$delay_single_quote_subst"`'
78901 hardcode_libdir_separator_CXX='`$ECHO "$hardcode_libdir_separator_CXX" | $SED "$delay_single_quote_subst"`'
78902 hardcode_direct_CXX='`$ECHO "$hardcode_direct_CXX" | $SED "$delay_single_quote_subst"`'
78903 hardcode_direct_absolute_CXX='`$ECHO "$hardcode_direct_absolute_CXX" | $SED "$delay_single_quote_subst"`'
78904 hardcode_minus_L_CXX='`$ECHO "$hardcode_minus_L_CXX" | $SED "$delay_single_quote_subst"`'
78905 hardcode_shlibpath_var_CXX='`$ECHO "$hardcode_shlibpath_var_CXX" | $SED "$delay_single_quote_subst"`'
78906 hardcode_automatic_CXX='`$ECHO "$hardcode_automatic_CXX" | $SED "$delay_single_quote_subst"`'
78907 inherit_rpath_CXX='`$ECHO "$inherit_rpath_CXX" | $SED "$delay_single_quote_subst"`'
78908 link_all_deplibs_CXX='`$ECHO "$link_all_deplibs_CXX" | $SED "$delay_single_quote_subst"`'
78909 fix_srcfile_path_CXX='`$ECHO "$fix_srcfile_path_CXX" | $SED "$delay_single_quote_subst"`'
78910 always_export_symbols_CXX='`$ECHO "$always_export_symbols_CXX" | $SED "$delay_single_quote_subst"`'
78911 export_symbols_cmds_CXX='`$ECHO "$export_symbols_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78912 exclude_expsyms_CXX='`$ECHO "$exclude_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
78913 include_expsyms_CXX='`$ECHO "$include_expsyms_CXX" | $SED "$delay_single_quote_subst"`'
78914 prelink_cmds_CXX='`$ECHO "$prelink_cmds_CXX" | $SED "$delay_single_quote_subst"`'
78915 file_list_spec_CXX='`$ECHO "$file_list_spec_CXX" | $SED "$delay_single_quote_subst"`'
78916 hardcode_action_CXX='`$ECHO "$hardcode_action_CXX" | $SED "$delay_single_quote_subst"`'
78917 compiler_lib_search_dirs_CXX='`$ECHO "$compiler_lib_search_dirs_CXX" | $SED "$delay_single_quote_subst"`'
78918 predep_objects_CXX='`$ECHO "$predep_objects_CXX" | $SED "$delay_single_quote_subst"`'
78919 postdep_objects_CXX='`$ECHO "$postdep_objects_CXX" | $SED "$delay_single_quote_subst"`'
78920 predeps_CXX='`$ECHO "$predeps_CXX" | $SED "$delay_single_quote_subst"`'
78921 postdeps_CXX='`$ECHO "$postdeps_CXX" | $SED "$delay_single_quote_subst"`'
78922 compiler_lib_search_path_CXX='`$ECHO "$compiler_lib_search_path_CXX" | $SED "$delay_single_quote_subst"`'
78923
78924 LTCC='$LTCC'
78925 LTCFLAGS='$LTCFLAGS'
78926 compiler='$compiler_DEFAULT'
78927
78928 # A function that is used when there is no print builtin or printf.
78929 func_fallback_echo ()
78930 {
78931 eval 'cat <<_LTECHO_EOF
78932 \$1
78933 _LTECHO_EOF'
78934 }
78935
78936 # Quote evaled strings.
78937 for var in SHELL \
78938 ECHO \
78939 SED \
78940 GREP \
78941 EGREP \
78942 FGREP \
78943 LD \
78944 NM \
78945 LN_S \
78946 lt_SP2NL \
78947 lt_NL2SP \
78948 reload_flag \
78949 OBJDUMP \
78950 deplibs_check_method \
78951 file_magic_cmd \
78952 AR \
78953 AR_FLAGS \
78954 STRIP \
78955 RANLIB \
78956 CC \
78957 CFLAGS \
78958 compiler \
78959 lt_cv_sys_global_symbol_pipe \
78960 lt_cv_sys_global_symbol_to_cdecl \
78961 lt_cv_sys_global_symbol_to_c_name_address \
78962 lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
78963 lt_prog_compiler_no_builtin_flag \
78964 lt_prog_compiler_wl \
78965 lt_prog_compiler_pic \
78966 lt_prog_compiler_static \
78967 lt_cv_prog_compiler_c_o \
78968 need_locks \
78969 DSYMUTIL \
78970 NMEDIT \
78971 LIPO \
78972 OTOOL \
78973 OTOOL64 \
78974 shrext_cmds \
78975 export_dynamic_flag_spec \
78976 whole_archive_flag_spec \
78977 compiler_needs_object \
78978 with_gnu_ld \
78979 allow_undefined_flag \
78980 no_undefined_flag \
78981 hardcode_libdir_flag_spec \
78982 hardcode_libdir_flag_spec_ld \
78983 hardcode_libdir_separator \
78984 fix_srcfile_path \
78985 exclude_expsyms \
78986 include_expsyms \
78987 file_list_spec \
78988 variables_saved_for_relink \
78989 libname_spec \
78990 library_names_spec \
78991 soname_spec \
78992 install_override_mode \
78993 finish_eval \
78994 old_striplib \
78995 striplib \
78996 compiler_lib_search_dirs \
78997 predep_objects \
78998 postdep_objects \
78999 predeps \
79000 postdeps \
79001 compiler_lib_search_path \
79002 LD_CXX \
79003 reload_flag_CXX \
79004 compiler_CXX \
79005 lt_prog_compiler_no_builtin_flag_CXX \
79006 lt_prog_compiler_wl_CXX \
79007 lt_prog_compiler_pic_CXX \
79008 lt_prog_compiler_static_CXX \
79009 lt_cv_prog_compiler_c_o_CXX \
79010 export_dynamic_flag_spec_CXX \
79011 whole_archive_flag_spec_CXX \
79012 compiler_needs_object_CXX \
79013 with_gnu_ld_CXX \
79014 allow_undefined_flag_CXX \
79015 no_undefined_flag_CXX \
79016 hardcode_libdir_flag_spec_CXX \
79017 hardcode_libdir_flag_spec_ld_CXX \
79018 hardcode_libdir_separator_CXX \
79019 fix_srcfile_path_CXX \
79020 exclude_expsyms_CXX \
79021 include_expsyms_CXX \
79022 file_list_spec_CXX \
79023 compiler_lib_search_dirs_CXX \
79024 predep_objects_CXX \
79025 postdep_objects_CXX \
79026 predeps_CXX \
79027 postdeps_CXX \
79028 compiler_lib_search_path_CXX; do
79029 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79030 *[\\\\\\\`\\"\\\$]*)
79031 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
79032 ;;
79033 *)
79034 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79035 ;;
79036 esac
79037 done
79038
79039 # Double-quote double-evaled strings.
79040 for var in reload_cmds \
79041 old_postinstall_cmds \
79042 old_postuninstall_cmds \
79043 old_archive_cmds \
79044 extract_expsyms_cmds \
79045 old_archive_from_new_cmds \
79046 old_archive_from_expsyms_cmds \
79047 archive_cmds \
79048 archive_expsym_cmds \
79049 module_cmds \
79050 module_expsym_cmds \
79051 export_symbols_cmds \
79052 prelink_cmds \
79053 postinstall_cmds \
79054 postuninstall_cmds \
79055 finish_cmds \
79056 sys_lib_search_path_spec \
79057 sys_lib_dlsearch_path_spec \
79058 reload_cmds_CXX \
79059 old_archive_cmds_CXX \
79060 old_archive_from_new_cmds_CXX \
79061 old_archive_from_expsyms_cmds_CXX \
79062 archive_cmds_CXX \
79063 archive_expsym_cmds_CXX \
79064 module_cmds_CXX \
79065 module_expsym_cmds_CXX \
79066 export_symbols_cmds_CXX \
79067 prelink_cmds_CXX; do
79068 case \`eval \\\\\$ECHO \\\\""\\\\\$\$var"\\\\"\` in
79069 *[\\\\\\\`\\"\\\$]*)
79070 eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"\\\$\$var\\" | \\\$SED -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
79071 ;;
79072 *)
79073 eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
79074 ;;
79075 esac
79076 done
79077
79078 ac_aux_dir='$ac_aux_dir'
79079 xsi_shell='$xsi_shell'
79080 lt_shell_append='$lt_shell_append'
79081
79082 # See if we are running on zsh, and set the options which allow our
79083 # commands through without removal of \ escapes INIT.
79084 if test -n "\${ZSH_VERSION+set}" ; then
79085 setopt NO_GLOB_SUBST
79086 fi
79087
79088
79089 PACKAGE='$PACKAGE'
79090 VERSION='$VERSION'
79091 TIMESTAMP='$TIMESTAMP'
79092 RM='$RM'
79093 ofile='$ofile'
79094
79095
79096
79097
79098
79099
79100 GCC="$GCC"
79101 CC="$CC"
79102 acx_cv_header_stdint="$acx_cv_header_stdint"
79103 acx_cv_type_int8_t="$acx_cv_type_int8_t"
79104 acx_cv_type_int16_t="$acx_cv_type_int16_t"
79105 acx_cv_type_int32_t="$acx_cv_type_int32_t"
79106 acx_cv_type_int64_t="$acx_cv_type_int64_t"
79107 acx_cv_type_intptr_t="$acx_cv_type_intptr_t"
79108 ac_cv_type_uintmax_t="$ac_cv_type_uintmax_t"
79109 ac_cv_type_uintptr_t="$ac_cv_type_uintptr_t"
79110 ac_cv_type_uint64_t="$ac_cv_type_uint64_t"
79111 ac_cv_type_u_int64_t="$ac_cv_type_u_int64_t"
79112 ac_cv_type_u_int32_t="$ac_cv_type_u_int32_t"
79113 ac_cv_type_int_least32_t="$ac_cv_type_int_least32_t"
79114 ac_cv_type_int_fast32_t="$ac_cv_type_int_fast32_t"
79115 ac_cv_sizeof_void_p="$ac_cv_sizeof_void_p"
79116
79117
79118 _ACEOF
79119
79120 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79121
79122 # Handling of arguments.
79123 for ac_config_target in $ac_config_targets
79124 do
79125 case $ac_config_target in
79126 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
79127 "default-1") CONFIG_COMMANDS="$CONFIG_COMMANDS default-1" ;;
79128 "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
79129 "include/gstdint.h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/gstdint.h" ;;
79130 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
79131 "scripts/testsuite_flags") CONFIG_FILES="$CONFIG_FILES scripts/testsuite_flags" ;;
79132 "scripts/extract_symvers") CONFIG_FILES="$CONFIG_FILES scripts/extract_symvers" ;;
79133 "doc/xsl/customization.xsl") CONFIG_FILES="$CONFIG_FILES doc/xsl/customization.xsl" ;;
79134 "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
79135 "libsupc++/Makefile") CONFIG_FILES="$CONFIG_FILES libsupc++/Makefile" ;;
79136 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
79137 "src/c++98/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++98/Makefile" ;;
79138 "src/c++11/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++11/Makefile" ;;
79139 "src/c++17/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++17/Makefile" ;;
79140 "src/c++20/Makefile") CONFIG_FILES="$CONFIG_FILES src/c++20/Makefile" ;;
79141 "src/filesystem/Makefile") CONFIG_FILES="$CONFIG_FILES src/filesystem/Makefile" ;;
79142 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
79143 "po/Makefile") CONFIG_FILES="$CONFIG_FILES po/Makefile" ;;
79144 "testsuite/Makefile") CONFIG_FILES="$CONFIG_FILES testsuite/Makefile" ;;
79145 "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
79146 "generate-headers") CONFIG_COMMANDS="$CONFIG_COMMANDS generate-headers" ;;
79147
79148 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
79149 esac
79150 done
79151
79152
79153 # If the user did not use the arguments to specify the items to instantiate,
79154 # then the envvar interface is used. Set only those that are not.
79155 # We use the long form for the default assignment because of an extremely
79156 # bizarre bug on SunOS 4.1.3.
79157 if $ac_need_defaults; then
79158 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
79159 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
79160 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
79161 fi
79162
79163 # Have a temporary directory for convenience. Make it in the build tree
79164 # simply because there is no reason against having it here, and in addition,
79165 # creating and moving files from /tmp can sometimes cause problems.
79166 # Hook for its removal unless debugging.
79167 # Note that there is a small window in which the directory will not be cleaned:
79168 # after its creation but before its name has been assigned to `$tmp'.
79169 $debug ||
79170 {
79171 tmp= ac_tmp=
79172 trap 'exit_status=$?
79173 : "${ac_tmp:=$tmp}"
79174 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
79175 ' 0
79176 trap 'as_fn_exit 1' 1 2 13 15
79177 }
79178 # Create a (secure) tmp directory for tmp files.
79179
79180 {
79181 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
79182 test -d "$tmp"
79183 } ||
79184 {
79185 tmp=./conf$$-$RANDOM
79186 (umask 077 && mkdir "$tmp")
79187 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
79188 ac_tmp=$tmp
79189
79190 # Set up the scripts for CONFIG_FILES section.
79191 # No need to generate them if there are no CONFIG_FILES.
79192 # This happens for instance with `./config.status config.h'.
79193 if test -n "$CONFIG_FILES"; then
79194
79195
79196 ac_cr=`echo X | tr X '\015'`
79197 # On cygwin, bash can eat \r inside `` if the user requested igncr.
79198 # But we know of no other shell where ac_cr would be empty at this
79199 # point, so we can use a bashism as a fallback.
79200 if test "x$ac_cr" = x; then
79201 eval ac_cr=\$\'\\r\'
79202 fi
79203 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
79204 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
79205 ac_cs_awk_cr='\\r'
79206 else
79207 ac_cs_awk_cr=$ac_cr
79208 fi
79209
79210 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
79211 _ACEOF
79212
79213
79214 {
79215 echo "cat >conf$$subs.awk <<_ACEOF" &&
79216 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
79217 echo "_ACEOF"
79218 } >conf$$subs.sh ||
79219 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79220 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
79221 ac_delim='%!_!# '
79222 for ac_last_try in false false false false false :; do
79223 . ./conf$$subs.sh ||
79224 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79225
79226 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
79227 if test $ac_delim_n = $ac_delim_num; then
79228 break
79229 elif $ac_last_try; then
79230 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
79231 else
79232 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79233 fi
79234 done
79235 rm -f conf$$subs.sh
79236
79237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79238 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
79239 _ACEOF
79240 sed -n '
79241 h
79242 s/^/S["/; s/!.*/"]=/
79243 p
79244 g
79245 s/^[^!]*!//
79246 :repl
79247 t repl
79248 s/'"$ac_delim"'$//
79249 t delim
79250 :nl
79251 h
79252 s/\(.\{148\}\)..*/\1/
79253 t more1
79254 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
79255 p
79256 n
79257 b repl
79258 :more1
79259 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79260 p
79261 g
79262 s/.\{148\}//
79263 t nl
79264 :delim
79265 h
79266 s/\(.\{148\}\)..*/\1/
79267 t more2
79268 s/["\\]/\\&/g; s/^/"/; s/$/"/
79269 p
79270 b
79271 :more2
79272 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
79273 p
79274 g
79275 s/.\{148\}//
79276 t delim
79277 ' <conf$$subs.awk | sed '
79278 /^[^""]/{
79279 N
79280 s/\n//
79281 }
79282 ' >>$CONFIG_STATUS || ac_write_fail=1
79283 rm -f conf$$subs.awk
79284 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79285 _ACAWK
79286 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
79287 for (key in S) S_is_set[key] = 1
79288 FS = "\a"
79289
79290 }
79291 {
79292 line = $ 0
79293 nfields = split(line, field, "@")
79294 substed = 0
79295 len = length(field[1])
79296 for (i = 2; i < nfields; i++) {
79297 key = field[i]
79298 keylen = length(key)
79299 if (S_is_set[key]) {
79300 value = S[key]
79301 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
79302 len += length(value) + length(field[++i])
79303 substed = 1
79304 } else
79305 len += 1 + keylen
79306 }
79307
79308 print line
79309 }
79310
79311 _ACAWK
79312 _ACEOF
79313 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79314 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
79315 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
79316 else
79317 cat
79318 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
79319 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
79320 _ACEOF
79321
79322 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
79323 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
79324 # trailing colons and then remove the whole line if VPATH becomes empty
79325 # (actually we leave an empty line to preserve line numbers).
79326 if test "x$srcdir" = x.; then
79327 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
79328 h
79329 s///
79330 s/^/:/
79331 s/[ ]*$/:/
79332 s/:\$(srcdir):/:/g
79333 s/:\${srcdir}:/:/g
79334 s/:@srcdir@:/:/g
79335 s/^:*//
79336 s/:*$//
79337 x
79338 s/\(=[ ]*\).*/\1/
79339 G
79340 s/\n//
79341 s/^[^=]*=[ ]*$//
79342 }'
79343 fi
79344
79345 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79346 fi # test -n "$CONFIG_FILES"
79347
79348 # Set up the scripts for CONFIG_HEADERS section.
79349 # No need to generate them if there are no CONFIG_HEADERS.
79350 # This happens for instance with `./config.status Makefile'.
79351 if test -n "$CONFIG_HEADERS"; then
79352 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
79353 BEGIN {
79354 _ACEOF
79355
79356 # Transform confdefs.h into an awk script `defines.awk', embedded as
79357 # here-document in config.status, that substitutes the proper values into
79358 # config.h.in to produce config.h.
79359
79360 # Create a delimiter string that does not exist in confdefs.h, to ease
79361 # handling of long lines.
79362 ac_delim='%!_!# '
79363 for ac_last_try in false false :; do
79364 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
79365 if test -z "$ac_tt"; then
79366 break
79367 elif $ac_last_try; then
79368 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
79369 else
79370 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
79371 fi
79372 done
79373
79374 # For the awk script, D is an array of macro values keyed by name,
79375 # likewise P contains macro parameters if any. Preserve backslash
79376 # newline sequences.
79377
79378 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
79379 sed -n '
79380 s/.\{148\}/&'"$ac_delim"'/g
79381 t rset
79382 :rset
79383 s/^[ ]*#[ ]*define[ ][ ]*/ /
79384 t def
79385 d
79386 :def
79387 s/\\$//
79388 t bsnl
79389 s/["\\]/\\&/g
79390 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79391 D["\1"]=" \3"/p
79392 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
79393 d
79394 :bsnl
79395 s/["\\]/\\&/g
79396 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
79397 D["\1"]=" \3\\\\\\n"\\/p
79398 t cont
79399 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
79400 t cont
79401 d
79402 :cont
79403 n
79404 s/.\{148\}/&'"$ac_delim"'/g
79405 t clear
79406 :clear
79407 s/\\$//
79408 t bsnlc
79409 s/["\\]/\\&/g; s/^/"/; s/$/"/p
79410 d
79411 :bsnlc
79412 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
79413 b cont
79414 ' <confdefs.h | sed '
79415 s/'"$ac_delim"'/"\\\
79416 "/g' >>$CONFIG_STATUS || ac_write_fail=1
79417
79418 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79419 for (key in D) D_is_set[key] = 1
79420 FS = "\a"
79421 }
79422 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
79423 line = \$ 0
79424 split(line, arg, " ")
79425 if (arg[1] == "#") {
79426 defundef = arg[2]
79427 mac1 = arg[3]
79428 } else {
79429 defundef = substr(arg[1], 2)
79430 mac1 = arg[2]
79431 }
79432 split(mac1, mac2, "(") #)
79433 macro = mac2[1]
79434 prefix = substr(line, 1, index(line, defundef) - 1)
79435 if (D_is_set[macro]) {
79436 # Preserve the white space surrounding the "#".
79437 print prefix "define", macro P[macro] D[macro]
79438 next
79439 } else {
79440 # Replace #undef with comments. This is necessary, for example,
79441 # in the case of _POSIX_SOURCE, which is predefined and required
79442 # on some systems where configure will not decide to define it.
79443 if (defundef == "undef") {
79444 print "/*", prefix defundef, macro, "*/"
79445 next
79446 }
79447 }
79448 }
79449 { print }
79450 _ACAWK
79451 _ACEOF
79452 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79453 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
79454 fi # test -n "$CONFIG_HEADERS"
79455
79456
79457 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
79458 shift
79459 for ac_tag
79460 do
79461 case $ac_tag in
79462 :[FHLC]) ac_mode=$ac_tag; continue;;
79463 esac
79464 case $ac_mode$ac_tag in
79465 :[FHL]*:*);;
79466 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
79467 :[FH]-) ac_tag=-:-;;
79468 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
79469 esac
79470 ac_save_IFS=$IFS
79471 IFS=:
79472 set x $ac_tag
79473 IFS=$ac_save_IFS
79474 shift
79475 ac_file=$1
79476 shift
79477
79478 case $ac_mode in
79479 :L) ac_source=$1;;
79480 :[FH])
79481 ac_file_inputs=
79482 for ac_f
79483 do
79484 case $ac_f in
79485 -) ac_f="$ac_tmp/stdin";;
79486 *) # Look for the file first in the build tree, then in the source tree
79487 # (if the path is not absolute). The absolute path cannot be DOS-style,
79488 # because $ac_f cannot contain `:'.
79489 test -f "$ac_f" ||
79490 case $ac_f in
79491 [\\/$]*) false;;
79492 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
79493 esac ||
79494 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
79495 esac
79496 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
79497 as_fn_append ac_file_inputs " '$ac_f'"
79498 done
79499
79500 # Let's still pretend it is `configure' which instantiates (i.e., don't
79501 # use $as_me), people would be surprised to read:
79502 # /* config.h. Generated by config.status. */
79503 configure_input='Generated from '`
79504 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
79505 `' by configure.'
79506 if test x"$ac_file" != x-; then
79507 configure_input="$ac_file. $configure_input"
79508 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
79509 $as_echo "$as_me: creating $ac_file" >&6;}
79510 fi
79511 # Neutralize special characters interpreted by sed in replacement strings.
79512 case $configure_input in #(
79513 *\&* | *\|* | *\\* )
79514 ac_sed_conf_input=`$as_echo "$configure_input" |
79515 sed 's/[\\\\&|]/\\\\&/g'`;; #(
79516 *) ac_sed_conf_input=$configure_input;;
79517 esac
79518
79519 case $ac_tag in
79520 *:-:* | *:-) cat >"$ac_tmp/stdin" \
79521 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
79522 esac
79523 ;;
79524 esac
79525
79526 ac_dir=`$as_dirname -- "$ac_file" ||
79527 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79528 X"$ac_file" : 'X\(//\)[^/]' \| \
79529 X"$ac_file" : 'X\(//\)$' \| \
79530 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
79531 $as_echo X"$ac_file" |
79532 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79533 s//\1/
79534 q
79535 }
79536 /^X\(\/\/\)[^/].*/{
79537 s//\1/
79538 q
79539 }
79540 /^X\(\/\/\)$/{
79541 s//\1/
79542 q
79543 }
79544 /^X\(\/\).*/{
79545 s//\1/
79546 q
79547 }
79548 s/.*/./; q'`
79549 as_dir="$ac_dir"; as_fn_mkdir_p
79550 ac_builddir=.
79551
79552 case "$ac_dir" in
79553 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
79554 *)
79555 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
79556 # A ".." for each directory in $ac_dir_suffix.
79557 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
79558 case $ac_top_builddir_sub in
79559 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
79560 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
79561 esac ;;
79562 esac
79563 ac_abs_top_builddir=$ac_pwd
79564 ac_abs_builddir=$ac_pwd$ac_dir_suffix
79565 # for backward compatibility:
79566 ac_top_builddir=$ac_top_build_prefix
79567
79568 case $srcdir in
79569 .) # We are building in place.
79570 ac_srcdir=.
79571 ac_top_srcdir=$ac_top_builddir_sub
79572 ac_abs_top_srcdir=$ac_pwd ;;
79573 [\\/]* | ?:[\\/]* ) # Absolute name.
79574 ac_srcdir=$srcdir$ac_dir_suffix;
79575 ac_top_srcdir=$srcdir
79576 ac_abs_top_srcdir=$srcdir ;;
79577 *) # Relative name.
79578 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
79579 ac_top_srcdir=$ac_top_build_prefix$srcdir
79580 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
79581 esac
79582 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
79583
79584
79585 case $ac_mode in
79586 :F)
79587 #
79588 # CONFIG_FILE
79589 #
79590
79591 case $INSTALL in
79592 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
79593 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
79594 esac
79595 ac_MKDIR_P=$MKDIR_P
79596 case $MKDIR_P in
79597 [\\/$]* | ?:[\\/]* ) ;;
79598 */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
79599 esac
79600 _ACEOF
79601
79602 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79603 # If the template does not know about datarootdir, expand it.
79604 # FIXME: This hack should be removed a few years after 2.60.
79605 ac_datarootdir_hack=; ac_datarootdir_seen=
79606 ac_sed_dataroot='
79607 /datarootdir/ {
79608 p
79609 q
79610 }
79611 /@datadir@/p
79612 /@docdir@/p
79613 /@infodir@/p
79614 /@localedir@/p
79615 /@mandir@/p'
79616 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
79617 *datarootdir*) ac_datarootdir_seen=yes;;
79618 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
79619 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
79620 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
79621 _ACEOF
79622 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79623 ac_datarootdir_hack='
79624 s&@datadir@&$datadir&g
79625 s&@docdir@&$docdir&g
79626 s&@infodir@&$infodir&g
79627 s&@localedir@&$localedir&g
79628 s&@mandir@&$mandir&g
79629 s&\\\${datarootdir}&$datarootdir&g' ;;
79630 esac
79631 _ACEOF
79632
79633 # Neutralize VPATH when `$srcdir' = `.'.
79634 # Shell code in configure.ac might set extrasub.
79635 # FIXME: do we really want to maintain this feature?
79636 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
79637 ac_sed_extra="$ac_vpsub
79638 $extrasub
79639 _ACEOF
79640 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
79641 :t
79642 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
79643 s|@configure_input@|$ac_sed_conf_input|;t t
79644 s&@top_builddir@&$ac_top_builddir_sub&;t t
79645 s&@top_build_prefix@&$ac_top_build_prefix&;t t
79646 s&@srcdir@&$ac_srcdir&;t t
79647 s&@abs_srcdir@&$ac_abs_srcdir&;t t
79648 s&@top_srcdir@&$ac_top_srcdir&;t t
79649 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
79650 s&@builddir@&$ac_builddir&;t t
79651 s&@abs_builddir@&$ac_abs_builddir&;t t
79652 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
79653 s&@INSTALL@&$ac_INSTALL&;t t
79654 s&@MKDIR_P@&$ac_MKDIR_P&;t t
79655 $ac_datarootdir_hack
79656 "
79657 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
79658 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79659
79660 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
79661 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
79662 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
79663 "$ac_tmp/out"`; test -z "$ac_out"; } &&
79664 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79665 which seems to be undefined. Please make sure it is defined" >&5
79666 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
79667 which seems to be undefined. Please make sure it is defined" >&2;}
79668
79669 rm -f "$ac_tmp/stdin"
79670 case $ac_file in
79671 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
79672 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
79673 esac \
79674 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79675 ;;
79676 :H)
79677 #
79678 # CONFIG_HEADER
79679 #
79680 if test x"$ac_file" != x-; then
79681 {
79682 $as_echo "/* $configure_input */" \
79683 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
79684 } >"$ac_tmp/config.h" \
79685 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79686 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
79687 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
79688 $as_echo "$as_me: $ac_file is unchanged" >&6;}
79689 else
79690 rm -f "$ac_file"
79691 mv "$ac_tmp/config.h" "$ac_file" \
79692 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
79693 fi
79694 else
79695 $as_echo "/* $configure_input */" \
79696 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
79697 || as_fn_error $? "could not create -" "$LINENO" 5
79698 fi
79699 # Compute "$ac_file"'s index in $config_headers.
79700 _am_arg="$ac_file"
79701 _am_stamp_count=1
79702 for _am_header in $config_headers :; do
79703 case $_am_header in
79704 $_am_arg | $_am_arg:* )
79705 break ;;
79706 * )
79707 _am_stamp_count=`expr $_am_stamp_count + 1` ;;
79708 esac
79709 done
79710 echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
79711 $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
79712 X"$_am_arg" : 'X\(//\)[^/]' \| \
79713 X"$_am_arg" : 'X\(//\)$' \| \
79714 X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
79715 $as_echo X"$_am_arg" |
79716 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
79717 s//\1/
79718 q
79719 }
79720 /^X\(\/\/\)[^/].*/{
79721 s//\1/
79722 q
79723 }
79724 /^X\(\/\/\)$/{
79725 s//\1/
79726 q
79727 }
79728 /^X\(\/\).*/{
79729 s//\1/
79730 q
79731 }
79732 s/.*/./; q'`/stamp-h$_am_stamp_count
79733 ;;
79734
79735 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
79736 $as_echo "$as_me: executing $ac_file commands" >&6;}
79737 ;;
79738 esac
79739
79740
79741 case $ac_file$ac_mode in
79742 "default-1":C)
79743 # Only add multilib support code if we just rebuilt the top-level
79744 # Makefile.
79745 case " $CONFIG_FILES " in
79746 *" Makefile "*)
79747 ac_file=Makefile . ${multi_basedir}/config-ml.in
79748 ;;
79749 esac ;;
79750 "libtool":C)
79751
79752 # See if we are running on zsh, and set the options which allow our
79753 # commands through without removal of \ escapes.
79754 if test -n "${ZSH_VERSION+set}" ; then
79755 setopt NO_GLOB_SUBST
79756 fi
79757
79758 cfgfile="${ofile}T"
79759 trap "$RM \"$cfgfile\"; exit 1" 1 2 15
79760 $RM "$cfgfile"
79761
79762 cat <<_LT_EOF >> "$cfgfile"
79763 #! $SHELL
79764
79765 # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
79766 # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
79767 # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
79768 # NOTE: Changes made to this file will be lost: look at ltmain.sh.
79769 #
79770 # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
79771 # 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
79772 # Written by Gordon Matzigkeit, 1996
79773 #
79774 # This file is part of GNU Libtool.
79775 #
79776 # GNU Libtool is free software; you can redistribute it and/or
79777 # modify it under the terms of the GNU General Public License as
79778 # published by the Free Software Foundation; either version 2 of
79779 # the License, or (at your option) any later version.
79780 #
79781 # As a special exception to the GNU General Public License,
79782 # if you distribute this file as part of a program or library that
79783 # is built using GNU Libtool, you may include this file under the
79784 # same distribution terms that you use for the rest of that program.
79785 #
79786 # GNU Libtool is distributed in the hope that it will be useful,
79787 # but WITHOUT ANY WARRANTY; without even the implied warranty of
79788 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
79789 # GNU General Public License for more details.
79790 #
79791 # You should have received a copy of the GNU General Public License
79792 # along with GNU Libtool; see the file COPYING. If not, a copy
79793 # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
79794 # obtained by writing to the Free Software Foundation, Inc.,
79795 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
79796
79797
79798 # The names of the tagged configurations supported by this script.
79799 available_tags="CXX "
79800
79801 # ### BEGIN LIBTOOL CONFIG
79802
79803 # Which release of libtool.m4 was used?
79804 macro_version=$macro_version
79805 macro_revision=$macro_revision
79806
79807 # Whether or not to build shared libraries.
79808 build_libtool_libs=$enable_shared
79809
79810 # Whether or not to build static libraries.
79811 build_old_libs=$enable_static
79812
79813 # What type of objects to build.
79814 pic_mode=$pic_mode
79815
79816 # Whether or not to optimize for fast installation.
79817 fast_install=$enable_fast_install
79818
79819 # Shell to use when invoking shell scripts.
79820 SHELL=$lt_SHELL
79821
79822 # An echo program that protects backslashes.
79823 ECHO=$lt_ECHO
79824
79825 # The host system.
79826 host_alias=$host_alias
79827 host=$host
79828 host_os=$host_os
79829
79830 # The build system.
79831 build_alias=$build_alias
79832 build=$build
79833 build_os=$build_os
79834
79835 # A sed program that does not truncate output.
79836 SED=$lt_SED
79837
79838 # Sed that helps us avoid accidentally triggering echo(1) options like -n.
79839 Xsed="\$SED -e 1s/^X//"
79840
79841 # A grep program that handles long lines.
79842 GREP=$lt_GREP
79843
79844 # An ERE matcher.
79845 EGREP=$lt_EGREP
79846
79847 # A literal string matcher.
79848 FGREP=$lt_FGREP
79849
79850 # A BSD- or MS-compatible name lister.
79851 NM=$lt_NM
79852
79853 # Whether we need soft or hard links.
79854 LN_S=$lt_LN_S
79855
79856 # What is the maximum length of a command?
79857 max_cmd_len=$max_cmd_len
79858
79859 # Object file suffix (normally "o").
79860 objext=$ac_objext
79861
79862 # Executable file suffix (normally "").
79863 exeext=$exeext
79864
79865 # whether the shell understands "unset".
79866 lt_unset=$lt_unset
79867
79868 # turn spaces into newlines.
79869 SP2NL=$lt_lt_SP2NL
79870
79871 # turn newlines into spaces.
79872 NL2SP=$lt_lt_NL2SP
79873
79874 # An object symbol dumper.
79875 OBJDUMP=$lt_OBJDUMP
79876
79877 # Method to check whether dependent libraries are shared objects.
79878 deplibs_check_method=$lt_deplibs_check_method
79879
79880 # Command to use when deplibs_check_method == "file_magic".
79881 file_magic_cmd=$lt_file_magic_cmd
79882
79883 # The archiver.
79884 AR=$lt_AR
79885 AR_FLAGS=$lt_AR_FLAGS
79886
79887 # A symbol stripping program.
79888 STRIP=$lt_STRIP
79889
79890 # Commands used to install an old-style archive.
79891 RANLIB=$lt_RANLIB
79892 old_postinstall_cmds=$lt_old_postinstall_cmds
79893 old_postuninstall_cmds=$lt_old_postuninstall_cmds
79894
79895 # Whether to use a lock for old archive extraction.
79896 lock_old_archive_extraction=$lock_old_archive_extraction
79897
79898 # A C compiler.
79899 LTCC=$lt_CC
79900
79901 # LTCC compiler flags.
79902 LTCFLAGS=$lt_CFLAGS
79903
79904 # Take the output of nm and produce a listing of raw symbols and C names.
79905 global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
79906
79907 # Transform the output of nm in a proper C declaration.
79908 global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
79909
79910 # Transform the output of nm in a C name address pair.
79911 global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
79912
79913 # Transform the output of nm in a C name address pair when lib prefix is needed.
79914 global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
79915
79916 # The name of the directory that contains temporary libtool files.
79917 objdir=$objdir
79918
79919 # Used to examine libraries when file_magic_cmd begins with "file".
79920 MAGIC_CMD=$MAGIC_CMD
79921
79922 # Must we lock files when doing compilation?
79923 need_locks=$lt_need_locks
79924
79925 # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
79926 DSYMUTIL=$lt_DSYMUTIL
79927
79928 # Tool to change global to local symbols on Mac OS X.
79929 NMEDIT=$lt_NMEDIT
79930
79931 # Tool to manipulate fat objects and archives on Mac OS X.
79932 LIPO=$lt_LIPO
79933
79934 # ldd/readelf like tool for Mach-O binaries on Mac OS X.
79935 OTOOL=$lt_OTOOL
79936
79937 # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
79938 OTOOL64=$lt_OTOOL64
79939
79940 # Old archive suffix (normally "a").
79941 libext=$libext
79942
79943 # Shared library suffix (normally ".so").
79944 shrext_cmds=$lt_shrext_cmds
79945
79946 # The commands to extract the exported symbol list from a shared archive.
79947 extract_expsyms_cmds=$lt_extract_expsyms_cmds
79948
79949 # Variables whose values should be saved in libtool wrapper scripts and
79950 # restored at link time.
79951 variables_saved_for_relink=$lt_variables_saved_for_relink
79952
79953 # Do we need the "lib" prefix for modules?
79954 need_lib_prefix=$need_lib_prefix
79955
79956 # Do we need a version for libraries?
79957 need_version=$need_version
79958
79959 # Library versioning type.
79960 version_type=$version_type
79961
79962 # Shared library runtime path variable.
79963 runpath_var=$runpath_var
79964
79965 # Shared library path variable.
79966 shlibpath_var=$shlibpath_var
79967
79968 # Is shlibpath searched before the hard-coded library search path?
79969 shlibpath_overrides_runpath=$shlibpath_overrides_runpath
79970
79971 # Format of library name prefix.
79972 libname_spec=$lt_libname_spec
79973
79974 # List of archive names. First name is the real one, the rest are links.
79975 # The last name is the one that the linker finds with -lNAME
79976 library_names_spec=$lt_library_names_spec
79977
79978 # The coded name of the library, if different from the real name.
79979 soname_spec=$lt_soname_spec
79980
79981 # Permission mode override for installation of shared libraries.
79982 install_override_mode=$lt_install_override_mode
79983
79984 # Command to use after installation of a shared archive.
79985 postinstall_cmds=$lt_postinstall_cmds
79986
79987 # Command to use after uninstallation of a shared archive.
79988 postuninstall_cmds=$lt_postuninstall_cmds
79989
79990 # Commands used to finish a libtool library installation in a directory.
79991 finish_cmds=$lt_finish_cmds
79992
79993 # As "finish_cmds", except a single script fragment to be evaled but
79994 # not shown.
79995 finish_eval=$lt_finish_eval
79996
79997 # Whether we should hardcode library paths into libraries.
79998 hardcode_into_libs=$hardcode_into_libs
79999
80000 # Compile-time system search path for libraries.
80001 sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
80002
80003 # Run-time system search path for libraries.
80004 sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
80005
80006 # Whether dlopen is supported.
80007 dlopen_support=$enable_dlopen
80008
80009 # Whether dlopen of programs is supported.
80010 dlopen_self=$enable_dlopen_self
80011
80012 # Whether dlopen of statically linked programs is supported.
80013 dlopen_self_static=$enable_dlopen_self_static
80014
80015 # Commands to strip libraries.
80016 old_striplib=$lt_old_striplib
80017 striplib=$lt_striplib
80018
80019
80020 # The linker used to build libraries.
80021 LD=$lt_LD
80022
80023 # How to create reloadable object files.
80024 reload_flag=$lt_reload_flag
80025 reload_cmds=$lt_reload_cmds
80026
80027 # Commands used to build an old-style archive.
80028 old_archive_cmds=$lt_old_archive_cmds
80029
80030 # A language specific compiler.
80031 CC=$lt_compiler
80032
80033 # Is the compiler the GNU compiler?
80034 with_gcc=$GCC
80035
80036 # Compiler flag to turn off builtin functions.
80037 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
80038
80039 # How to pass a linker flag through the compiler.
80040 wl=$lt_lt_prog_compiler_wl
80041
80042 # Additional compiler flags for building library objects.
80043 pic_flag=$lt_lt_prog_compiler_pic
80044
80045 # Compiler flag to prevent dynamic linking.
80046 link_static_flag=$lt_lt_prog_compiler_static
80047
80048 # Does compiler simultaneously support -c and -o options?
80049 compiler_c_o=$lt_lt_cv_prog_compiler_c_o
80050
80051 # Whether or not to add -lc for building shared libraries.
80052 build_libtool_need_lc=$archive_cmds_need_lc
80053
80054 # Whether or not to disallow shared libs when runtime libs are static.
80055 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
80056
80057 # Compiler flag to allow reflexive dlopens.
80058 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
80059
80060 # Compiler flag to generate shared objects directly from archives.
80061 whole_archive_flag_spec=$lt_whole_archive_flag_spec
80062
80063 # Whether the compiler copes with passing no objects directly.
80064 compiler_needs_object=$lt_compiler_needs_object
80065
80066 # Create an old-style archive from a shared archive.
80067 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
80068
80069 # Create a temporary old-style archive to link instead of a shared archive.
80070 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
80071
80072 # Commands used to build a shared archive.
80073 archive_cmds=$lt_archive_cmds
80074 archive_expsym_cmds=$lt_archive_expsym_cmds
80075
80076 # Commands used to build a loadable module if different from building
80077 # a shared archive.
80078 module_cmds=$lt_module_cmds
80079 module_expsym_cmds=$lt_module_expsym_cmds
80080
80081 # Whether we are building with GNU ld or not.
80082 with_gnu_ld=$lt_with_gnu_ld
80083
80084 # Flag that allows shared libraries with undefined symbols to be built.
80085 allow_undefined_flag=$lt_allow_undefined_flag
80086
80087 # Flag that enforces no undefined symbols.
80088 no_undefined_flag=$lt_no_undefined_flag
80089
80090 # Flag to hardcode \$libdir into a binary during linking.
80091 # This must work even if \$libdir does not exist
80092 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
80093
80094 # If ld is used when linking, flag to hardcode \$libdir into a binary
80095 # during linking. This must work even if \$libdir does not exist.
80096 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
80097
80098 # Whether we need a single "-rpath" flag with a separated argument.
80099 hardcode_libdir_separator=$lt_hardcode_libdir_separator
80100
80101 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80102 # DIR into the resulting binary.
80103 hardcode_direct=$hardcode_direct
80104
80105 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80106 # DIR into the resulting binary and the resulting library dependency is
80107 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80108 # library is relocated.
80109 hardcode_direct_absolute=$hardcode_direct_absolute
80110
80111 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80112 # into the resulting binary.
80113 hardcode_minus_L=$hardcode_minus_L
80114
80115 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80116 # into the resulting binary.
80117 hardcode_shlibpath_var=$hardcode_shlibpath_var
80118
80119 # Set to "yes" if building a shared library automatically hardcodes DIR
80120 # into the library and all subsequent libraries and executables linked
80121 # against it.
80122 hardcode_automatic=$hardcode_automatic
80123
80124 # Set to yes if linker adds runtime paths of dependent libraries
80125 # to runtime path list.
80126 inherit_rpath=$inherit_rpath
80127
80128 # Whether libtool must link a program against all its dependency libraries.
80129 link_all_deplibs=$link_all_deplibs
80130
80131 # Fix the shell variable \$srcfile for the compiler.
80132 fix_srcfile_path=$lt_fix_srcfile_path
80133
80134 # Set to "yes" if exported symbols are required.
80135 always_export_symbols=$always_export_symbols
80136
80137 # The commands to list exported symbols.
80138 export_symbols_cmds=$lt_export_symbols_cmds
80139
80140 # Symbols that should not be listed in the preloaded symbols.
80141 exclude_expsyms=$lt_exclude_expsyms
80142
80143 # Symbols that must always be exported.
80144 include_expsyms=$lt_include_expsyms
80145
80146 # Commands necessary for linking programs (against libraries) with templates.
80147 prelink_cmds=$lt_prelink_cmds
80148
80149 # Specify filename containing input files.
80150 file_list_spec=$lt_file_list_spec
80151
80152 # How to hardcode a shared library path into an executable.
80153 hardcode_action=$hardcode_action
80154
80155 # The directories searched by this compiler when creating a shared library.
80156 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs
80157
80158 # Dependencies to place before and after the objects being linked to
80159 # create a shared library.
80160 predep_objects=$lt_predep_objects
80161 postdep_objects=$lt_postdep_objects
80162 predeps=$lt_predeps
80163 postdeps=$lt_postdeps
80164
80165 # The library search path used internally by the compiler when linking
80166 # a shared library.
80167 compiler_lib_search_path=$lt_compiler_lib_search_path
80168
80169 # ### END LIBTOOL CONFIG
80170
80171 _LT_EOF
80172
80173 case $host_os in
80174 aix3*)
80175 cat <<\_LT_EOF >> "$cfgfile"
80176 # AIX sometimes has problems with the GCC collect2 program. For some
80177 # reason, if we set the COLLECT_NAMES environment variable, the problems
80178 # vanish in a puff of smoke.
80179 if test "X${COLLECT_NAMES+set}" != Xset; then
80180 COLLECT_NAMES=
80181 export COLLECT_NAMES
80182 fi
80183 _LT_EOF
80184 ;;
80185 esac
80186
80187
80188 ltmain="$ac_aux_dir/ltmain.sh"
80189
80190
80191 # We use sed instead of cat because bash on DJGPP gets confused if
80192 # if finds mixed CR/LF and LF-only lines. Since sed operates in
80193 # text mode, it properly converts lines to CR/LF. This bash problem
80194 # is reportedly fixed, but why not run on old versions too?
80195 sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
80196 || (rm -f "$cfgfile"; exit 1)
80197
80198 case $xsi_shell in
80199 yes)
80200 cat << \_LT_EOF >> "$cfgfile"
80201
80202 # func_dirname file append nondir_replacement
80203 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80204 # otherwise set result to NONDIR_REPLACEMENT.
80205 func_dirname ()
80206 {
80207 case ${1} in
80208 */*) func_dirname_result="${1%/*}${2}" ;;
80209 * ) func_dirname_result="${3}" ;;
80210 esac
80211 }
80212
80213 # func_basename file
80214 func_basename ()
80215 {
80216 func_basename_result="${1##*/}"
80217 }
80218
80219 # func_dirname_and_basename file append nondir_replacement
80220 # perform func_basename and func_dirname in a single function
80221 # call:
80222 # dirname: Compute the dirname of FILE. If nonempty,
80223 # add APPEND to the result, otherwise set result
80224 # to NONDIR_REPLACEMENT.
80225 # value returned in "$func_dirname_result"
80226 # basename: Compute filename of FILE.
80227 # value retuned in "$func_basename_result"
80228 # Implementation must be kept synchronized with func_dirname
80229 # and func_basename. For efficiency, we do not delegate to
80230 # those functions but instead duplicate the functionality here.
80231 func_dirname_and_basename ()
80232 {
80233 case ${1} in
80234 */*) func_dirname_result="${1%/*}${2}" ;;
80235 * ) func_dirname_result="${3}" ;;
80236 esac
80237 func_basename_result="${1##*/}"
80238 }
80239
80240 # func_stripname prefix suffix name
80241 # strip PREFIX and SUFFIX off of NAME.
80242 # PREFIX and SUFFIX must not contain globbing or regex special
80243 # characters, hashes, percent signs, but SUFFIX may contain a leading
80244 # dot (in which case that matches only a dot).
80245 func_stripname ()
80246 {
80247 # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
80248 # positional parameters, so assign one to ordinary parameter first.
80249 func_stripname_result=${3}
80250 func_stripname_result=${func_stripname_result#"${1}"}
80251 func_stripname_result=${func_stripname_result%"${2}"}
80252 }
80253
80254 # func_opt_split
80255 func_opt_split ()
80256 {
80257 func_opt_split_opt=${1%%=*}
80258 func_opt_split_arg=${1#*=}
80259 }
80260
80261 # func_lo2o object
80262 func_lo2o ()
80263 {
80264 case ${1} in
80265 *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
80266 *) func_lo2o_result=${1} ;;
80267 esac
80268 }
80269
80270 # func_xform libobj-or-source
80271 func_xform ()
80272 {
80273 func_xform_result=${1%.*}.lo
80274 }
80275
80276 # func_arith arithmetic-term...
80277 func_arith ()
80278 {
80279 func_arith_result=$(( $* ))
80280 }
80281
80282 # func_len string
80283 # STRING may not start with a hyphen.
80284 func_len ()
80285 {
80286 func_len_result=${#1}
80287 }
80288
80289 _LT_EOF
80290 ;;
80291 *) # Bourne compatible functions.
80292 cat << \_LT_EOF >> "$cfgfile"
80293
80294 # func_dirname file append nondir_replacement
80295 # Compute the dirname of FILE. If nonempty, add APPEND to the result,
80296 # otherwise set result to NONDIR_REPLACEMENT.
80297 func_dirname ()
80298 {
80299 # Extract subdirectory from the argument.
80300 func_dirname_result=`$ECHO "${1}" | $SED "$dirname"`
80301 if test "X$func_dirname_result" = "X${1}"; then
80302 func_dirname_result="${3}"
80303 else
80304 func_dirname_result="$func_dirname_result${2}"
80305 fi
80306 }
80307
80308 # func_basename file
80309 func_basename ()
80310 {
80311 func_basename_result=`$ECHO "${1}" | $SED "$basename"`
80312 }
80313
80314
80315 # func_stripname prefix suffix name
80316 # strip PREFIX and SUFFIX off of NAME.
80317 # PREFIX and SUFFIX must not contain globbing or regex special
80318 # characters, hashes, percent signs, but SUFFIX may contain a leading
80319 # dot (in which case that matches only a dot).
80320 # func_strip_suffix prefix name
80321 func_stripname ()
80322 {
80323 case ${2} in
80324 .*) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%\\\\${2}\$%%"`;;
80325 *) func_stripname_result=`$ECHO "${3}" | $SED "s%^${1}%%; s%${2}\$%%"`;;
80326 esac
80327 }
80328
80329 # sed scripts:
80330 my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
80331 my_sed_long_arg='1s/^-[^=]*=//'
80332
80333 # func_opt_split
80334 func_opt_split ()
80335 {
80336 func_opt_split_opt=`$ECHO "${1}" | $SED "$my_sed_long_opt"`
80337 func_opt_split_arg=`$ECHO "${1}" | $SED "$my_sed_long_arg"`
80338 }
80339
80340 # func_lo2o object
80341 func_lo2o ()
80342 {
80343 func_lo2o_result=`$ECHO "${1}" | $SED "$lo2o"`
80344 }
80345
80346 # func_xform libobj-or-source
80347 func_xform ()
80348 {
80349 func_xform_result=`$ECHO "${1}" | $SED 's/\.[^.]*$/.lo/'`
80350 }
80351
80352 # func_arith arithmetic-term...
80353 func_arith ()
80354 {
80355 func_arith_result=`expr "$@"`
80356 }
80357
80358 # func_len string
80359 # STRING may not start with a hyphen.
80360 func_len ()
80361 {
80362 func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
80363 }
80364
80365 _LT_EOF
80366 esac
80367
80368 case $lt_shell_append in
80369 yes)
80370 cat << \_LT_EOF >> "$cfgfile"
80371
80372 # func_append var value
80373 # Append VALUE to the end of shell variable VAR.
80374 func_append ()
80375 {
80376 eval "$1+=\$2"
80377 }
80378 _LT_EOF
80379 ;;
80380 *)
80381 cat << \_LT_EOF >> "$cfgfile"
80382
80383 # func_append var value
80384 # Append VALUE to the end of shell variable VAR.
80385 func_append ()
80386 {
80387 eval "$1=\$$1\$2"
80388 }
80389
80390 _LT_EOF
80391 ;;
80392 esac
80393
80394
80395 sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
80396 || (rm -f "$cfgfile"; exit 1)
80397
80398 mv -f "$cfgfile" "$ofile" ||
80399 (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
80400 chmod +x "$ofile"
80401
80402
80403 cat <<_LT_EOF >> "$ofile"
80404
80405 # ### BEGIN LIBTOOL TAG CONFIG: CXX
80406
80407 # The linker used to build libraries.
80408 LD=$lt_LD_CXX
80409
80410 # How to create reloadable object files.
80411 reload_flag=$lt_reload_flag_CXX
80412 reload_cmds=$lt_reload_cmds_CXX
80413
80414 # Commands used to build an old-style archive.
80415 old_archive_cmds=$lt_old_archive_cmds_CXX
80416
80417 # A language specific compiler.
80418 CC=$lt_compiler_CXX
80419
80420 # Is the compiler the GNU compiler?
80421 with_gcc=$GCC_CXX
80422
80423 # Compiler flag to turn off builtin functions.
80424 no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag_CXX
80425
80426 # How to pass a linker flag through the compiler.
80427 wl=$lt_lt_prog_compiler_wl_CXX
80428
80429 # Additional compiler flags for building library objects.
80430 pic_flag=$lt_lt_prog_compiler_pic_CXX
80431
80432 # Compiler flag to prevent dynamic linking.
80433 link_static_flag=$lt_lt_prog_compiler_static_CXX
80434
80435 # Does compiler simultaneously support -c and -o options?
80436 compiler_c_o=$lt_lt_cv_prog_compiler_c_o_CXX
80437
80438 # Whether or not to add -lc for building shared libraries.
80439 build_libtool_need_lc=$archive_cmds_need_lc_CXX
80440
80441 # Whether or not to disallow shared libs when runtime libs are static.
80442 allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes_CXX
80443
80444 # Compiler flag to allow reflexive dlopens.
80445 export_dynamic_flag_spec=$lt_export_dynamic_flag_spec_CXX
80446
80447 # Compiler flag to generate shared objects directly from archives.
80448 whole_archive_flag_spec=$lt_whole_archive_flag_spec_CXX
80449
80450 # Whether the compiler copes with passing no objects directly.
80451 compiler_needs_object=$lt_compiler_needs_object_CXX
80452
80453 # Create an old-style archive from a shared archive.
80454 old_archive_from_new_cmds=$lt_old_archive_from_new_cmds_CXX
80455
80456 # Create a temporary old-style archive to link instead of a shared archive.
80457 old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds_CXX
80458
80459 # Commands used to build a shared archive.
80460 archive_cmds=$lt_archive_cmds_CXX
80461 archive_expsym_cmds=$lt_archive_expsym_cmds_CXX
80462
80463 # Commands used to build a loadable module if different from building
80464 # a shared archive.
80465 module_cmds=$lt_module_cmds_CXX
80466 module_expsym_cmds=$lt_module_expsym_cmds_CXX
80467
80468 # Whether we are building with GNU ld or not.
80469 with_gnu_ld=$lt_with_gnu_ld_CXX
80470
80471 # Flag that allows shared libraries with undefined symbols to be built.
80472 allow_undefined_flag=$lt_allow_undefined_flag_CXX
80473
80474 # Flag that enforces no undefined symbols.
80475 no_undefined_flag=$lt_no_undefined_flag_CXX
80476
80477 # Flag to hardcode \$libdir into a binary during linking.
80478 # This must work even if \$libdir does not exist
80479 hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec_CXX
80480
80481 # If ld is used when linking, flag to hardcode \$libdir into a binary
80482 # during linking. This must work even if \$libdir does not exist.
80483 hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld_CXX
80484
80485 # Whether we need a single "-rpath" flag with a separated argument.
80486 hardcode_libdir_separator=$lt_hardcode_libdir_separator_CXX
80487
80488 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80489 # DIR into the resulting binary.
80490 hardcode_direct=$hardcode_direct_CXX
80491
80492 # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
80493 # DIR into the resulting binary and the resulting library dependency is
80494 # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
80495 # library is relocated.
80496 hardcode_direct_absolute=$hardcode_direct_absolute_CXX
80497
80498 # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
80499 # into the resulting binary.
80500 hardcode_minus_L=$hardcode_minus_L_CXX
80501
80502 # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
80503 # into the resulting binary.
80504 hardcode_shlibpath_var=$hardcode_shlibpath_var_CXX
80505
80506 # Set to "yes" if building a shared library automatically hardcodes DIR
80507 # into the library and all subsequent libraries and executables linked
80508 # against it.
80509 hardcode_automatic=$hardcode_automatic_CXX
80510
80511 # Set to yes if linker adds runtime paths of dependent libraries
80512 # to runtime path list.
80513 inherit_rpath=$inherit_rpath_CXX
80514
80515 # Whether libtool must link a program against all its dependency libraries.
80516 link_all_deplibs=$link_all_deplibs_CXX
80517
80518 # Fix the shell variable \$srcfile for the compiler.
80519 fix_srcfile_path=$lt_fix_srcfile_path_CXX
80520
80521 # Set to "yes" if exported symbols are required.
80522 always_export_symbols=$always_export_symbols_CXX
80523
80524 # The commands to list exported symbols.
80525 export_symbols_cmds=$lt_export_symbols_cmds_CXX
80526
80527 # Symbols that should not be listed in the preloaded symbols.
80528 exclude_expsyms=$lt_exclude_expsyms_CXX
80529
80530 # Symbols that must always be exported.
80531 include_expsyms=$lt_include_expsyms_CXX
80532
80533 # Commands necessary for linking programs (against libraries) with templates.
80534 prelink_cmds=$lt_prelink_cmds_CXX
80535
80536 # Specify filename containing input files.
80537 file_list_spec=$lt_file_list_spec_CXX
80538
80539 # How to hardcode a shared library path into an executable.
80540 hardcode_action=$hardcode_action_CXX
80541
80542 # The directories searched by this compiler when creating a shared library.
80543 compiler_lib_search_dirs=$lt_compiler_lib_search_dirs_CXX
80544
80545 # Dependencies to place before and after the objects being linked to
80546 # create a shared library.
80547 predep_objects=$lt_predep_objects_CXX
80548 postdep_objects=$lt_postdep_objects_CXX
80549 predeps=$lt_predeps_CXX
80550 postdeps=$lt_postdeps_CXX
80551
80552 # The library search path used internally by the compiler when linking
80553 # a shared library.
80554 compiler_lib_search_path=$lt_compiler_lib_search_path_CXX
80555
80556 # ### END LIBTOOL TAG CONFIG: CXX
80557 _LT_EOF
80558
80559 ;;
80560 "include/gstdint.h":C)
80561 if test "$GCC" = yes; then
80562 echo "/* generated for " `$CC --version | sed 1q` "*/" > tmp-stdint.h
80563 else
80564 echo "/* generated for $CC */" > tmp-stdint.h
80565 fi
80566
80567 sed 's/^ *//' >> tmp-stdint.h <<EOF
80568
80569 #ifndef GCC_GENERATED_STDINT_H
80570 #define GCC_GENERATED_STDINT_H 1
80571
80572 #include <sys/types.h>
80573 EOF
80574
80575 if test "$acx_cv_header_stdint" != stdint.h; then
80576 echo "#include <stddef.h>" >> tmp-stdint.h
80577 fi
80578 if test "$acx_cv_header_stdint" != stddef.h; then
80579 echo "#include <$acx_cv_header_stdint>" >> tmp-stdint.h
80580 fi
80581
80582 sed 's/^ *//' >> tmp-stdint.h <<EOF
80583 /* glibc uses these symbols as guards to prevent redefinitions. */
80584 #ifdef __int8_t_defined
80585 #define _INT8_T
80586 #define _INT16_T
80587 #define _INT32_T
80588 #endif
80589 #ifdef __uint32_t_defined
80590 #define _UINT32_T
80591 #endif
80592
80593 EOF
80594
80595 # ----------------- done header, emit basic int types -------------
80596 if test "$acx_cv_header_stdint" = stddef.h; then
80597 sed 's/^ *//' >> tmp-stdint.h <<EOF
80598
80599 #ifndef _UINT8_T
80600 #define _UINT8_T
80601 #ifndef __uint8_t_defined
80602 #define __uint8_t_defined
80603 #ifndef uint8_t
80604 typedef unsigned $acx_cv_type_int8_t uint8_t;
80605 #endif
80606 #endif
80607 #endif
80608
80609 #ifndef _UINT16_T
80610 #define _UINT16_T
80611 #ifndef __uint16_t_defined
80612 #define __uint16_t_defined
80613 #ifndef uint16_t
80614 typedef unsigned $acx_cv_type_int16_t uint16_t;
80615 #endif
80616 #endif
80617 #endif
80618
80619 #ifndef _UINT32_T
80620 #define _UINT32_T
80621 #ifndef __uint32_t_defined
80622 #define __uint32_t_defined
80623 #ifndef uint32_t
80624 typedef unsigned $acx_cv_type_int32_t uint32_t;
80625 #endif
80626 #endif
80627 #endif
80628
80629 #ifndef _INT8_T
80630 #define _INT8_T
80631 #ifndef __int8_t_defined
80632 #define __int8_t_defined
80633 #ifndef int8_t
80634 typedef $acx_cv_type_int8_t int8_t;
80635 #endif
80636 #endif
80637 #endif
80638
80639 #ifndef _INT16_T
80640 #define _INT16_T
80641 #ifndef __int16_t_defined
80642 #define __int16_t_defined
80643 #ifndef int16_t
80644 typedef $acx_cv_type_int16_t int16_t;
80645 #endif
80646 #endif
80647 #endif
80648
80649 #ifndef _INT32_T
80650 #define _INT32_T
80651 #ifndef __int32_t_defined
80652 #define __int32_t_defined
80653 #ifndef int32_t
80654 typedef $acx_cv_type_int32_t int32_t;
80655 #endif
80656 #endif
80657 #endif
80658 EOF
80659 elif test "$ac_cv_type_u_int32_t" = yes; then
80660 sed 's/^ *//' >> tmp-stdint.h <<EOF
80661
80662 /* int8_t int16_t int32_t defined by inet code, we do the u_intXX types */
80663 #ifndef _INT8_T
80664 #define _INT8_T
80665 #endif
80666 #ifndef _INT16_T
80667 #define _INT16_T
80668 #endif
80669 #ifndef _INT32_T
80670 #define _INT32_T
80671 #endif
80672
80673 #ifndef _UINT8_T
80674 #define _UINT8_T
80675 #ifndef __uint8_t_defined
80676 #define __uint8_t_defined
80677 #ifndef uint8_t
80678 typedef u_int8_t uint8_t;
80679 #endif
80680 #endif
80681 #endif
80682
80683 #ifndef _UINT16_T
80684 #define _UINT16_T
80685 #ifndef __uint16_t_defined
80686 #define __uint16_t_defined
80687 #ifndef uint16_t
80688 typedef u_int16_t uint16_t;
80689 #endif
80690 #endif
80691 #endif
80692
80693 #ifndef _UINT32_T
80694 #define _UINT32_T
80695 #ifndef __uint32_t_defined
80696 #define __uint32_t_defined
80697 #ifndef uint32_t
80698 typedef u_int32_t uint32_t;
80699 #endif
80700 #endif
80701 #endif
80702 EOF
80703 else
80704 sed 's/^ *//' >> tmp-stdint.h <<EOF
80705
80706 /* Some systems have guard macros to prevent redefinitions, define them. */
80707 #ifndef _INT8_T
80708 #define _INT8_T
80709 #endif
80710 #ifndef _INT16_T
80711 #define _INT16_T
80712 #endif
80713 #ifndef _INT32_T
80714 #define _INT32_T
80715 #endif
80716 #ifndef _UINT8_T
80717 #define _UINT8_T
80718 #endif
80719 #ifndef _UINT16_T
80720 #define _UINT16_T
80721 #endif
80722 #ifndef _UINT32_T
80723 #define _UINT32_T
80724 #endif
80725 EOF
80726 fi
80727
80728 # ------------- done basic int types, emit int64_t types ------------
80729 if test "$ac_cv_type_uint64_t" = yes; then
80730 sed 's/^ *//' >> tmp-stdint.h <<EOF
80731
80732 /* system headers have good uint64_t and int64_t */
80733 #ifndef _INT64_T
80734 #define _INT64_T
80735 #endif
80736 #ifndef _UINT64_T
80737 #define _UINT64_T
80738 #endif
80739 EOF
80740 elif test "$ac_cv_type_u_int64_t" = yes; then
80741 sed 's/^ *//' >> tmp-stdint.h <<EOF
80742
80743 /* system headers have an u_int64_t (and int64_t) */
80744 #ifndef _INT64_T
80745 #define _INT64_T
80746 #endif
80747 #ifndef _UINT64_T
80748 #define _UINT64_T
80749 #ifndef __uint64_t_defined
80750 #define __uint64_t_defined
80751 #ifndef uint64_t
80752 typedef u_int64_t uint64_t;
80753 #endif
80754 #endif
80755 #endif
80756 EOF
80757 elif test -n "$acx_cv_type_int64_t"; then
80758 sed 's/^ *//' >> tmp-stdint.h <<EOF
80759
80760 /* architecture has a 64-bit type, $acx_cv_type_int64_t */
80761 #ifndef _INT64_T
80762 #define _INT64_T
80763 #ifndef int64_t
80764 typedef $acx_cv_type_int64_t int64_t;
80765 #endif
80766 #endif
80767 #ifndef _UINT64_T
80768 #define _UINT64_T
80769 #ifndef __uint64_t_defined
80770 #define __uint64_t_defined
80771 #ifndef uint64_t
80772 typedef unsigned $acx_cv_type_int64_t uint64_t;
80773 #endif
80774 #endif
80775 #endif
80776 EOF
80777 else
80778 sed 's/^ *//' >> tmp-stdint.h <<EOF
80779
80780 /* some common heuristics for int64_t, using compiler-specific tests */
80781 #if defined __STDC_VERSION__ && (__STDC_VERSION__-0) >= 199901L
80782 #ifndef _INT64_T
80783 #define _INT64_T
80784 #ifndef __int64_t_defined
80785 #ifndef int64_t
80786 typedef long long int64_t;
80787 #endif
80788 #endif
80789 #endif
80790 #ifndef _UINT64_T
80791 #define _UINT64_T
80792 #ifndef uint64_t
80793 typedef unsigned long long uint64_t;
80794 #endif
80795 #endif
80796
80797 #elif defined __GNUC__ && defined (__STDC__) && __STDC__-0
80798 /* NextStep 2.0 cc is really gcc 1.93 but it defines __GNUC__ = 2 and
80799 does not implement __extension__. But that compiler doesn't define
80800 __GNUC_MINOR__. */
80801 # if __GNUC__ < 2 || (__NeXT__ && !__GNUC_MINOR__)
80802 # define __extension__
80803 # endif
80804
80805 # ifndef _INT64_T
80806 # define _INT64_T
80807 # ifndef int64_t
80808 __extension__ typedef long long int64_t;
80809 # endif
80810 # endif
80811 # ifndef _UINT64_T
80812 # define _UINT64_T
80813 # ifndef uint64_t
80814 __extension__ typedef unsigned long long uint64_t;
80815 # endif
80816 # endif
80817
80818 #elif !defined __STRICT_ANSI__
80819 # if defined _MSC_VER || defined __WATCOMC__ || defined __BORLANDC__
80820
80821 # ifndef _INT64_T
80822 # define _INT64_T
80823 # ifndef int64_t
80824 typedef __int64 int64_t;
80825 # endif
80826 # endif
80827 # ifndef _UINT64_T
80828 # define _UINT64_T
80829 # ifndef uint64_t
80830 typedef unsigned __int64 uint64_t;
80831 # endif
80832 # endif
80833 # endif /* compiler */
80834
80835 #endif /* ANSI version */
80836 EOF
80837 fi
80838
80839 # ------------- done int64_t types, emit intptr types ------------
80840 if test "$ac_cv_type_uintptr_t" != yes; then
80841 sed 's/^ *//' >> tmp-stdint.h <<EOF
80842
80843 /* Define intptr_t based on sizeof(void*) = $ac_cv_sizeof_void_p */
80844 #ifndef __uintptr_t_defined
80845 #ifndef uintptr_t
80846 typedef u$acx_cv_type_intptr_t uintptr_t;
80847 #endif
80848 #endif
80849 #ifndef __intptr_t_defined
80850 #ifndef intptr_t
80851 typedef $acx_cv_type_intptr_t intptr_t;
80852 #endif
80853 #endif
80854 EOF
80855 fi
80856
80857 # ------------- done intptr types, emit int_least types ------------
80858 if test "$ac_cv_type_int_least32_t" != yes; then
80859 sed 's/^ *//' >> tmp-stdint.h <<EOF
80860
80861 /* Define int_least types */
80862 typedef int8_t int_least8_t;
80863 typedef int16_t int_least16_t;
80864 typedef int32_t int_least32_t;
80865 #ifdef _INT64_T
80866 typedef int64_t int_least64_t;
80867 #endif
80868
80869 typedef uint8_t uint_least8_t;
80870 typedef uint16_t uint_least16_t;
80871 typedef uint32_t uint_least32_t;
80872 #ifdef _UINT64_T
80873 typedef uint64_t uint_least64_t;
80874 #endif
80875 EOF
80876 fi
80877
80878 # ------------- done intptr types, emit int_fast types ------------
80879 if test "$ac_cv_type_int_fast32_t" != yes; then
80880 sed 's/^ *//' >> tmp-stdint.h <<EOF
80881
80882 /* Define int_fast types. short is often slow */
80883 typedef int8_t int_fast8_t;
80884 typedef int int_fast16_t;
80885 typedef int32_t int_fast32_t;
80886 #ifdef _INT64_T
80887 typedef int64_t int_fast64_t;
80888 #endif
80889
80890 typedef uint8_t uint_fast8_t;
80891 typedef unsigned int uint_fast16_t;
80892 typedef uint32_t uint_fast32_t;
80893 #ifdef _UINT64_T
80894 typedef uint64_t uint_fast64_t;
80895 #endif
80896 EOF
80897 fi
80898
80899 if test "$ac_cv_type_uintmax_t" != yes; then
80900 sed 's/^ *//' >> tmp-stdint.h <<EOF
80901
80902 /* Define intmax based on what we found */
80903 #ifndef intmax_t
80904 #ifdef _INT64_T
80905 typedef int64_t intmax_t;
80906 #else
80907 typedef long intmax_t;
80908 #endif
80909 #endif
80910 #ifndef uintmax_t
80911 #ifdef _UINT64_T
80912 typedef uint64_t uintmax_t;
80913 #else
80914 typedef unsigned long uintmax_t;
80915 #endif
80916 #endif
80917 EOF
80918 fi
80919
80920 sed 's/^ *//' >> tmp-stdint.h <<EOF
80921
80922 #endif /* GCC_GENERATED_STDINT_H */
80923 EOF
80924
80925 if test -r include/gstdint.h && cmp -s tmp-stdint.h include/gstdint.h; then
80926 rm -f tmp-stdint.h
80927 else
80928 mv -f tmp-stdint.h include/gstdint.h
80929 fi
80930
80931 ;;
80932 "scripts/testsuite_flags":F) chmod +x scripts/testsuite_flags ;;
80933 "scripts/extract_symvers":F) chmod +x scripts/extract_symvers ;;
80934 "include/Makefile":F) cat > vpsed$$ << \_EOF
80935 s!`test -f '$<' || echo '$(srcdir)/'`!!
80936 _EOF
80937 sed -f vpsed$$ $ac_file > tmp$$
80938 mv tmp$$ $ac_file
80939 rm vpsed$$
80940 echo 'MULTISUBDIR =' >> $ac_file
80941 ml_norecursion=yes
80942 . ${multi_basedir}/config-ml.in
80943 { ml_norecursion=; unset ml_norecursion;}
80944 ;;
80945 "libsupc++/Makefile":F) cat > vpsed$$ << \_EOF
80946 s!`test -f '$<' || echo '$(srcdir)/'`!!
80947 _EOF
80948 sed -f vpsed$$ $ac_file > tmp$$
80949 mv tmp$$ $ac_file
80950 rm vpsed$$
80951 echo 'MULTISUBDIR =' >> $ac_file
80952 ml_norecursion=yes
80953 . ${multi_basedir}/config-ml.in
80954 { ml_norecursion=; unset ml_norecursion;}
80955 ;;
80956 "src/Makefile":F) cat > vpsed$$ << \_EOF
80957 s!`test -f '$<' || echo '$(srcdir)/'`!!
80958 _EOF
80959 sed -f vpsed$$ $ac_file > tmp$$
80960 mv tmp$$ $ac_file
80961 rm vpsed$$
80962 echo 'MULTISUBDIR =' >> $ac_file
80963 ml_norecursion=yes
80964 . ${multi_basedir}/config-ml.in
80965 { ml_norecursion=; unset ml_norecursion;}
80966 ;;
80967 "src/c++98/Makefile":F) cat > vpsed$$ << \_EOF
80968 s!`test -f '$<' || echo '$(srcdir)/'`!!
80969 _EOF
80970 sed -f vpsed$$ $ac_file > tmp$$
80971 mv tmp$$ $ac_file
80972 rm vpsed$$
80973 echo 'MULTISUBDIR =' >> $ac_file
80974 ml_norecursion=yes
80975 . ${multi_basedir}/config-ml.in
80976 { ml_norecursion=; unset ml_norecursion;}
80977 ;;
80978 "src/c++11/Makefile":F) cat > vpsed$$ << \_EOF
80979 s!`test -f '$<' || echo '$(srcdir)/'`!!
80980 _EOF
80981 sed -f vpsed$$ $ac_file > tmp$$
80982 mv tmp$$ $ac_file
80983 rm vpsed$$
80984 echo 'MULTISUBDIR =' >> $ac_file
80985 ml_norecursion=yes
80986 . ${multi_basedir}/config-ml.in
80987 { ml_norecursion=; unset ml_norecursion;}
80988 ;;
80989 "src/c++17/Makefile":F) cat > vpsed$$ << \_EOF
80990 s!`test -f '$<' || echo '$(srcdir)/'`!!
80991 _EOF
80992 sed -f vpsed$$ $ac_file > tmp$$
80993 mv tmp$$ $ac_file
80994 rm vpsed$$
80995 echo 'MULTISUBDIR =' >> $ac_file
80996 ml_norecursion=yes
80997 . ${multi_basedir}/config-ml.in
80998 { ml_norecursion=; unset ml_norecursion;}
80999 ;;
81000 "src/c++20/Makefile":F) cat > vpsed$$ << \_EOF
81001 s!`test -f '$<' || echo '$(srcdir)/'`!!
81002 _EOF
81003 sed -f vpsed$$ $ac_file > tmp$$
81004 mv tmp$$ $ac_file
81005 rm vpsed$$
81006 echo 'MULTISUBDIR =' >> $ac_file
81007 ml_norecursion=yes
81008 . ${multi_basedir}/config-ml.in
81009 { ml_norecursion=; unset ml_norecursion;}
81010 ;;
81011 "src/filesystem/Makefile":F) cat > vpsed$$ << \_EOF
81012 s!`test -f '$<' || echo '$(srcdir)/'`!!
81013 _EOF
81014 sed -f vpsed$$ $ac_file > tmp$$
81015 mv tmp$$ $ac_file
81016 rm vpsed$$
81017 echo 'MULTISUBDIR =' >> $ac_file
81018 ml_norecursion=yes
81019 . ${multi_basedir}/config-ml.in
81020 { ml_norecursion=; unset ml_norecursion;}
81021 ;;
81022 "doc/Makefile":F) cat > vpsed$$ << \_EOF
81023 s!`test -f '$<' || echo '$(srcdir)/'`!!
81024 _EOF
81025 sed -f vpsed$$ $ac_file > tmp$$
81026 mv tmp$$ $ac_file
81027 rm vpsed$$
81028 echo 'MULTISUBDIR =' >> $ac_file
81029 ml_norecursion=yes
81030 . ${multi_basedir}/config-ml.in
81031 { ml_norecursion=; unset ml_norecursion;}
81032 ;;
81033 "po/Makefile":F) cat > vpsed$$ << \_EOF
81034 s!`test -f '$<' || echo '$(srcdir)/'`!!
81035 _EOF
81036 sed -f vpsed$$ $ac_file > tmp$$
81037 mv tmp$$ $ac_file
81038 rm vpsed$$
81039 echo 'MULTISUBDIR =' >> $ac_file
81040 ml_norecursion=yes
81041 . ${multi_basedir}/config-ml.in
81042 { ml_norecursion=; unset ml_norecursion;}
81043 ;;
81044 "testsuite/Makefile":F) cat > vpsed$$ << \_EOF
81045 s!`test -f '$<' || echo '$(srcdir)/'`!!
81046 _EOF
81047 sed -f vpsed$$ $ac_file > tmp$$
81048 mv tmp$$ $ac_file
81049 rm vpsed$$
81050 echo 'MULTISUBDIR =' >> $ac_file
81051 ml_norecursion=yes
81052 . ${multi_basedir}/config-ml.in
81053 { ml_norecursion=; unset ml_norecursion;}
81054 ;;
81055 "python/Makefile":F) cat > vpsed$$ << \_EOF
81056 s!`test -f '$<' || echo '$(srcdir)/'`!!
81057 _EOF
81058 sed -f vpsed$$ $ac_file > tmp$$
81059 mv tmp$$ $ac_file
81060 rm vpsed$$
81061 echo 'MULTISUBDIR =' >> $ac_file
81062 ml_norecursion=yes
81063 . ${multi_basedir}/config-ml.in
81064 { ml_norecursion=; unset ml_norecursion;}
81065 ;;
81066 "generate-headers":C) (cd include && ${MAKE-make} pch_build= ) ;;
81067
81068 esac
81069 done # for ac_tag
81070
81071
81072 as_fn_exit 0
81073 _ACEOF
81074 ac_clean_files=$ac_clean_files_save
81075
81076 test $ac_write_fail = 0 ||
81077 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
81078
81079
81080 # configure is writing to config.log, and then calls config.status.
81081 # config.status does its own redirection, appending to config.log.
81082 # Unfortunately, on DOS this fails, as config.log is still kept open
81083 # by configure, so config.status won't be able to write to it; its
81084 # output is simply discarded. So we exec the FD to /dev/null,
81085 # effectively closing config.log, so it can be properly (re)opened and
81086 # appended to by config.status. When coming back to configure, we
81087 # need to make the FD available again.
81088 if test "$no_create" != yes; then
81089 ac_cs_success=:
81090 ac_config_status_args=
81091 test "$silent" = yes &&
81092 ac_config_status_args="$ac_config_status_args --quiet"
81093 exec 5>/dev/null
81094 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
81095 exec 5>>config.log
81096 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
81097 # would make configure fail if this is the last instruction.
81098 $ac_cs_success || as_fn_exit 1
81099 fi
81100 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
81101 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
81102 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
81103 fi
81104
This page took 3.932207 seconds and 6 git commands to generate.